#include <lemon/concepts/graph_components.h>
Classes | |
class | UEdge |
Undirected edge class of the graph. More... | |
Public Member Functions | |
bool | direction (const Edge &) const |
Returns the direction of the edge. | |
Edge | direct (const UEdge &, bool) const |
Returns the directed edge. | |
Edge | direct (const UEdge &, const Node &) const |
Returns the directed edge. | |
Edge | oppositeEdge (const Edge &) const |
Returns the opposite edge. | |
Node | target (const UEdge &) const |
Gives back the target node of an undirected edge. | |
Node | source (const UEdge &) const |
Gives back the source node of an undirected edge. |
bool direction | ( | const Edge & | ) | const [inline] |
Returns the direction of the edge. Each edge represents an undirected edge with a direction. It gives back the direction.
Returns the directed edge from its direction and the represented undirected edge.
Returns the directed edge from its source and the represented undirected edge.
Returns the opposite edge. It is the edge representing the same undirected edge and has opposite direction.
Gives back the target node of an undirected edge. The name target is a little confusing because the undirected edge does not have target but it just means that one of the end node.
Gives back the source node of an undirected edge. The name source is a little confusing because the undirected edge does not have source but it just means that one of the end node.