equal
deleted
inserted
replaced
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 && |