src/work/marci/graph_wrapper.h
changeset 310 76c005b15354
parent 305 6720705c9095
child 311 6635b11938fe
equal deleted inserted replaced
26:80091eb10982 27:a1c8a9b54c19
   899     public:
   899     public:
   900       OutEdgeIt() { }
   900       OutEdgeIt() { }
   901       //FIXME
   901       //FIXME
   902       OutEdgeIt(const Edge& e) : Edge(e) { }
   902       OutEdgeIt(const Edge& e) : Edge(e) { }
   903       OutEdgeIt(const Invalid& i) : Edge(i) { }
   903       OutEdgeIt(const Invalid& i) : Edge(i) { }
   904     protected:
       
   905       OutEdgeIt(const ResGraphWrapper<Graph, Number, FlowMap, CapacityMap>& resG, Node v) : Edge() { 
   904       OutEdgeIt(const ResGraphWrapper<Graph, Number, FlowMap, CapacityMap>& resG, Node v) : Edge() { 
   906 	resG.graph->first(out, v);
   905 	resG.graph->first(out, v);
   907 	while( resG.graph->valid(out) && !(resG.resCap(out)>0) ) { resG.graph->next(out); }
   906 	while( resG.graph->valid(out) && !(resG.resCap(out)>0) ) { resG.graph->next(out); }
   908 	if (!resG.graph->valid(out)) {
   907 	if (!resG.graph->valid(out)) {
   909 	  out_or_in=0;
   908 	  out_or_in=0;