equal
deleted
inserted
replaced
106 /// |
106 /// |
107 /// \todo reference to the corresponding point of the undirected graph |
107 /// \todo reference to the corresponding point of the undirected graph |
108 /// concept. "What does the direction of an undirected edge mean?" |
108 /// concept. "What does the direction of an undirected edge mean?" |
109 bool forward(const Edge &e) const { return e.forward; } |
109 bool forward(const Edge &e) const { return e.forward; } |
110 |
110 |
111 Node oppsiteNode(const Node &n, const Edge &e) const { |
111 Node oppositeNode(const Node &n, const UndirEdge &e) const { |
112 if( n == Parent::source(e)) |
112 if( n == Parent::source(e)) |
113 return Parent::target(e); |
113 return Parent::target(e); |
114 else if( n == Parent::target(e)) |
114 else if( n == Parent::target(e)) |
115 return Parent::source(e); |
115 return Parent::source(e); |
116 else |
116 else |