Link Class Reference¶
|
API
|
cTopology::Link Class Reference
Inheritance diagram for cTopology::Link:
Public Member Functions | |
| Link (double weight=1) | |
| double | getWeight () const |
| void | setWeight (double d) |
| bool | isEnabled () const |
| void | enable () |
| void | disable () |
Description
Supporting class for cTopology, represents a link in the graph.
Constructor & Destructor Documentation
◆ Link()
|
inline |
Constructor.
Member Function Documentation
◆ getWeight()
|
inline |
Returns the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.
◆ setWeight()
|
inline |
Sets the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.
◆ isEnabled()
|
inline |
Returns true of this link is enabled. This has significance with the shortest path finder methods of cTopology.
◆ enable()
|
inline |
Enables this link. This has significance with the shortest path finder methods of cTopology.
◆ disable()
|
inline |
Disables this link. This has significance with the shortest path finder methods of cTopology.
Generated on for API by