src/hugo/graph_wrapper.h
changeset 647 19dd325da0e8
parent 625 28634fadbf9a
child 650 588ff2ca55bd
equal deleted inserted replaced
15:b311f86abca5 16:80d2f67e4b41
   639     protected:
   639     protected:
   640       bool backward; //true, iff backward
   640       bool backward; //true, iff backward
   641 //      typename Graph::Edge e;
   641 //      typename Graph::Edge e;
   642     public:
   642     public:
   643       Edge() { }
   643       Edge() { }
   644       Edge(const typename Graph::Edge& _e, bool _backward) : 
   644       ///\bug =false kell-e? zsoltnak kell az addEdge miatt
       
   645       Edge(const typename Graph::Edge& _e, bool _backward=false) : 
   645 	Graph::Edge(_e), backward(_backward) { }
   646 	Graph::Edge(_e), backward(_backward) { }
   646       Edge(const Invalid& i) : Graph::Edge(i), backward(true) { }
   647       Edge(const Invalid& i) : Graph::Edge(i), backward(true) { }
   647 //the unique invalid iterator
   648 //the unique invalid iterator
   648       friend bool operator==(const Edge& u, const Edge& v) { 
   649       friend bool operator==(const Edge& u, const Edge& v) { 
   649 	return (v.backward==u.backward && 
   650 	return (v.backward==u.backward &&