Home | Documentation | Download | Platforms | Projects | Mailing Lists | Version History
Public Member Functions | |
| edge () | |
| node | source () const |
| node | target () const |
| void | reverse () |
| void | change_source (node n) |
| void | change_target (node n) |
| const node & | opposite (node n) const |
| bool | is_hidden () const |
Friends | |
| class | graph |
| class | node |
| edge::edge | ( | ) |
Default constructor. Creates an invalid edge. The only way to obtain a valid edge is through graph::new_edge. Example:
graph g; node n1, n2; edge e;
n1 = g.new_node(); n2 = g.new_node(); e = g.new_edge(n1, n2);
| void edge::reverse | ( | ) |
Changes the direction of this edge.
| void edge::change_source | ( | node | n | ) |
| void edge::change_target | ( | node | n | ) |
| bool edge::is_hidden | ( | ) | const |
University of Passau - FMI - Theoretical Computer Science