|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
One can imagine that every edge has two touch points, so call adjacencies,
that connect nodes and edge together. Each node is connected to the edge
through one adjacency. Because of effectivity, the representation of
adjacency contains only the pair . The access to the nodeA
is solved outside of the this class.
Parent Classes:
Variables:
- GraphNodeRepC * otherNode;
-
adjacent node
- GraphEdgeRepC * me;
-
the edge joining both nodes
Methods:
- GraphAdjRepC(GraphNodeRepC & node,GraphEdgeRepC & edge)
-
Initializes the graph link.
- const GraphNodeRepC & OtherNode() const
-
Access to the constant adjacent node.
- GraphNodeRepC & OtherNode()
-
Returns the adjacent node.
- const GraphEdgeRepC & Edge() const
-
Access to the constant edge joining the node possessing the list of
adjacent nodes and the adjacent node.
- GraphEdgeRepC & Edge()
-
Returns the edge joining the node possessing the list of
adjacent nodes and the adjacent node.
- void DebugPrint(ostream & s) const
-
Print content of addresses contained in this adjacency.
- void SwapNodes(GraphAdjRepC & adj)
-
Swaps the pointers to the nodes.
- void operatordelete(void *,size_t)
-
The function cannot be used.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|