26 using namespace YACS::ENGINE;
78 std::list<AbstractPoint *> l; l.push_back(
this);
135 std::list<AbstractPoint *> l; l.push_back(
this);
136 for(std::list<AbstractPoint *>::const_iterator it=lp.begin();it!=lp.end();it++)
140 Node *curFirst((*it)->getFirstNode()),*curEnd((*it)->getLastNode());
145 if(bb2==bb3 && ee2==ee3)
162 std::list<AbstractPoint *> l; l.push_back(
this);
163 for(std::list<AbstractPoint *>::const_iterator it=lp.begin();it!=lp.end();it++)
167 Node *curFirst((*it)->getFirstNode()),*curEnd((*it)->getLastNode());
189 std::list<AbstractPoint *> l; l.push_back(
this);
190 for(std::list<AbstractPoint *>::const_iterator it=lp.begin();it!=lp.end();it++)
194 Node *curFirst((*it)->getFirstNode()),*curEnd((*it)->getLastNode());
219 std::list<InGate *> ings(oug->edSetInGate());
243 std::list<OutGate *> outgs(ing->getBackLinks());
273 std::list<OutGate *> bl(ing->getBackLinks());
275 throw Exception(
"AbstractPoint::GetNodeB4 : precond not OK !");
278 return bl.front()->getNode();
284 std::list<InGate *> fl(oug->edSetInGate());
286 throw Exception(
"AbstractPoint::GetNodeAfter : precond not OK !");
289 return (*fl.begin())->getNode();
295 while(curFath && curFath!=refFather)
301 throw YACS::Exception(
"AbstractPoint::GetDirectSonOf : not in the same family !");
308 throw YACS::Exception(
"AbstractPoint::GetCommonDirectSonOf1 : not enough !");
309 std::list<OutGate *>::const_iterator it(outgs.begin());
312 for(;it!=outgs.end();it++)
314 if(!ref2->contains((*it)->getNode()))
324 throw YACS::Exception(
"AbstractPoint::GetCommonDirectSonOf2 : not enough !");
325 std::list<InGate *>::const_iterator it(ings.begin());
328 for(;it!=ings.end();it++)
330 if(!ref2->contains((*it)->getNode()))