#include <GraphRep.h>
Inheritance diagram for GraphEdge:
Public Member Functions | |
GraphEdge () | |
GraphEdge (int t) | |
bool | operator< (const GraphEdge &e) const |
bool | operator== (const GraphEdge &e) const |
GraphEdge (int t) | |
Constructor for an edge. Argument t is a number of the target. | |
GraphEdge () | |
Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge. | |
GraphEdge | inverse (int origin) |
Invert an edge. | |
bool | operator< (const GraphEdge &e) const |
Check if one edge is less than the other. | |
bool | operator== (const GraphEdge &e) const |
Check if two edges equal. | |
bool | operator!= (const GraphEdge &e) const |
Check if two edges are not equal. | |
Public Attributes | |
int | target |
int | theTarget |
The target of the edge (for out edges), or origin of the vertex (for in edges). |
The order on edges must be defined so that the edges with the least labels go first for folding to be correct.
Definition at line 26 of file GraphRep.h.
|
Definition at line 29 of file GraphRep.h. Referenced by inverse(). |
|
Definition at line 32 of file GraphRep.h. |
|
Constructor for an edge. Argument t is a number of the target.
Definition at line 41 of file GraphType.h. |
|
Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge.
Definition at line 44 of file GraphType.h. |
|
Invert an edge.
Reimplemented in IntLabeledEdge, PlanarGraphEdge, and PlanarGraphIntLabelledEdge. Definition at line 49 of file GraphType.h. References GraphEdge(). |
|
Check if two edges are not equal.
Definition at line 61 of file GraphType.h. References theTarget. Referenced by IntLabeledEdge::operator!=(). |
|
Check if one edge is less than the other.
Definition at line 53 of file GraphType.h. References theTarget. |
|
Definition at line 34 of file GraphRep.h. References target. |
|
Check if two edges equal.
Definition at line 57 of file GraphType.h. References theTarget. |
|
Definition at line 35 of file GraphRep.h. References target. Referenced by IntLabeledEdge::operator==(). |
|
Definition at line 37 of file GraphRep.h. Referenced by operator<(), and operator==(). |
|
The target of the edge (for out edges), or origin of the vertex (for in edges).
Definition at line 65 of file GraphType.h. Referenced by PlanarGraphIntLabelledEdge::operator!=(), PlanarGraphEdge::operator!=(), operator!=(), PlanarGraphIntLabelledEdge::operator<(), PlanarGraphEdge::operator<(), IntLabeledEdge::operator<(), operator<(), PlanarGraphIntLabelledEdge::operator==(), PlanarGraphEdge::operator==(), and operator==(). |