Lines Matching defs:head
45 else if(e1->head != e2->head)
46 return e1->head < e2->head ? -1 : 1;
88 gredge(gr, e->tail, e->head, e->label, -1);
92 gredge(gr, e->tail, e->head, e->label, -1);
118 Gredge_t* gredge(Graph_t* gr, Grnode_t* tail, Grnode_t* head, Void_t* label, int type)
124 if(gr->type == GR_UNDIRECTED) /* enforce tail <= head */
125 if(tail > head)
126 { nd = tail; tail = head; head = nd; }
128 if(!(edge.tail = tail) || !(edge.head = head) )
145 for(pe = NIL(Gredge_t*), e = ed->head->iedge; e; pe = e, e = e->inext)
149 else ed->head->iedge->inext = e->inext;
169 ed->head = edge.head;
170 ed->inext = edge.head->iedge; edge.head->iedge = ed;
217 ed->inext = ed->head->iedge; ed->head->iedge = ed;