#include <ctopo.h>
Public Member Functions | |
Node attributes: weight, enabled state, correspondence to modules. | |
| int | moduleId () const |
| cModule * | module () const |
| double | weight () const |
| void | setWeight (double d) |
| bool | enabled () const |
| void | enable () |
| void | disable () |
Node connectivity. | |
| int | inLinks () const |
| LinkIn * | in (int i) |
| int | outLinks () const |
| LinkOut * | out (int i) |
Result of shortest path extraction. | |
| double | distanceToTarget () const |
| int | paths () const |
| LinkOut * | path (int) const |
Friends | |
| class | cTopology |
|
|
Disable this node. This has significance with the shortest path finder methods of cTopology. |
|
|
Returns the distance of this node to the target node.
|
|
|
Enable this node. This has significance with the shortest path finder methods of cTopology. |
|
|
Returns true of this node is enabled. This has significance with the shortest path finder methods of cTopology. |
|
|
Returns ith incoming link of graph node.
|
|
|
Returns the number of incoming links to this graph node.
|
|
|
Returns the pointer to the network module to which this node corresponds.
|
|
|
Returns the ID of the network module to which this node corresponds.
|
|
|
Returns ith outgoing link of graph node.
|
|
|
Returns the number of outgoing links from this graph node.
|
|
|
Returns the next link in the ith shortest paths towards the target node. (There might be several paths with the same lengths.) |
|
|
Returns the number of shortest paths towards the target node. (There might be several paths with the same lengths.) |
|
|
Sets the weight of this node. Weight is used with the weighted shortest path finder methods of cTopology. |
|
|
Returns the weight of this node. Weight is used with the weighted shortest path finder methods of cTopology. |
1.4.1