DecompGraph::Edge Class Reference
#include <decomp.h>
List of all members.
Detailed Description
Definition at line 38 of file decomp.h.
Constructor & Destructor Documentation
DecompGraph::Edge::Edge |
( |
int |
weight_ = 0 |
) |
[inline] |
DecompGraph::Edge::Edge |
( |
map< int, Node >::iterator |
node1_, |
|
|
map< int, Node >::iterator |
node2_, |
|
|
int |
weight_ = 0 | |
|
) |
| | [inline] |
Member Function Documentation
Node& DecompGraph::Edge::neighbour |
( |
const Node & |
node |
) |
const [inline] |
Gives neighbour.
- Parameters:
-
| index | Needs to be the index one of the nodes, which are adjacent to this edge. |
- Returns:
- The neighbour of node with number index.
Definition at line 59 of file decomp.h.
bool DecompGraph::Edge::operator< |
( |
const Edge & |
e |
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: