#include <ctopology.h>
Supporting class for cTopology, represents a link in the graph.
◆ Link()
Link |
( |
double |
weight = 1 | ) |
|
|
inline |
◆ getWeight()
double getWeight |
( |
| ) |
const |
|
inline |
Returns the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.
◆ setWeight()
void setWeight |
( |
double |
d | ) |
|
|
inline |
Sets the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.
◆ isEnabled()
Returns true of this link is enabled. This has significance with the shortest path finder methods of cTopology.
◆ enable()
Enables this link. This has significance with the shortest path finder methods of cTopology.
◆ disable()
Disables this link. This has significance with the shortest path finder methods of cTopology.
The documentation for this class was generated from the following file: