40 static int cmpDegree(
Dt_t * d,
int *key1,
int *key2,
Dtdisc_t * disc)
44 else if (*key1 > *key2)
115 while (np && (np != n)) {
150 fprintf(stderr,
" dl:\n");
154 fprintf(stderr,
" (%d)", ip->
deg);
156 fprintf(stderr,
" %s",
agnameof(np));
158 fprintf(stderr,
"\n");
int(* Dtcompar_f)(Dt_t *, void *, void *, Dtdisc_t *)
unsigned int(* Dthash_f)(Dt_t *, void *, Dtdisc_t *)
CDT_API int dtclose(Dt_t *)
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
CDT_API Dtmethod_t * Dtoset
Agnode_t * firstDeglist(deglist_t *list)
void insertDeglist(deglist_t *ns, Agnode_t *n)
void freeDeglist(deglist_t *s)
CDT_API Dt_t * dtopen(Dtdisc_t *, Dtmethod_t *)
CGRAPH_API char * agnameof(void *)
void *(* Dtmemory_f)(Dt_t *, void *, size_t, Dtdisc_t *)
int(* Dtevent_f)(Dt_t *, int, void *, Dtdisc_t *)
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
void removeDeglist(deglist_t *list, Agnode_t *n)
deglist_t * mkDeglist(void)