for (i = 0; i + 1 < f->n_elines; i++) {
el0 = f->elines[i];
+ if (el0->n_pins <= 4)
+ continue;
+
v0 = ses_vertex_add(graph, el0);
if (!v0)
return -ENOMEM;
for (j = i + 1; j < f->n_elines; j++) {
el1 = f->elines[j];
+ if (el1->n_pins <= 4)
+ continue;
+
for (k = 0; k < el0->n_conns; k++) {
ec = el0->conns[k];
printf("\n");
}
- for (i = 0; i < graph->size; i++) {
- v = graph->data[i];
+ for (j = 0; j < colors->size; j++) {
- el = v->data;
- scf_logi("j: %ld, i: %ld, l%ld->color: %ld\n", j, i, el->id, el->color);
+ for (i = 0; i < graph->size; i++) {
+ v = graph->data[i];
+
+ el = v->data;
+
+ if (j == el->color)
+ scf_logi("j: %ld, l%ld->color: %ld\n", j, el->id, el->color);
+ }
+ printf("\n");
}
scf_vector_clear(graph, ( void (*)(void*) )ses_vertex_free);