Lines Matching refs:lastNode
264 Node* lastNode=NULL;
272 if(lastNode!=NULL) {
273 //printf(" Rule A: Constraint: v%d +g <= v%d\n",lastNode->id,(*i)->id);
274 cs.push_back(createConstraint(lastNode,*i,dim));
276 lastNode=*i;
280 lastNode=NULL;
286 lastNode=NULL;
290 if(lastNode!=NULL) {
291 if((*i)->edge->isEnd(lastNode->id)) {
306 lastNode=*i;
311 lastNode=NULL;
315 if(lastNode!=NULL) {
316 if((*i)->edge->isEnd(lastNode->id)) {
331 lastNode=*i;