#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 39 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 42 of file GraphType.h. |
|
Invert an edge.
Reimplemented in IntLabeledEdge. Definition at line 47 of file GraphType.h. References GraphEdge(). |
|
Check if two edges are not equal.
Definition at line 59 of file GraphType.h. References theTarget. Referenced by IntLabeledEdge::operator!=(). |
|
Check if one edge is less than the other.
Definition at line 51 of file GraphType.h. References theTarget. |
|
Definition at line 34 of file GraphRep.h. References target. |
|
Check if two edges equal.
Definition at line 55 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 63 of file GraphType.h. Referenced by operator!=(), IntLabeledEdge::operator<(), operator<(), and operator==(). |