Supporting class for cTopology, represents a link in the graph. More...
#include <ctopology.h>
Public Member Functions | |
double | getWeight () const |
void | setWeight (double d) |
bool | isEnabled () const |
void | enable () |
void | disable () |
Friends | |
class | cTopology |
Supporting class for cTopology, represents a link in the graph.
void cTopology::Link::disable | ( | ) | [inline] |
Disables this link.
This has significance with the shortest path finder methods of cTopology.
void cTopology::Link::enable | ( | ) | [inline] |
Enables this link.
This has significance with the shortest path finder methods of cTopology.
double cTopology::Link::getWeight | ( | ) | const [inline] |
Returns the weight of this link.
Weight is used with the weighted shortest path finder methods of cTopology.
bool cTopology::Link::isEnabled | ( | ) | const [inline] |
Returns true of this link is enabled.
This has significance with the shortest path finder methods of cTopology.
void cTopology::Link::setWeight | ( | double | d | ) | [inline] |
Sets the weight of this link.
Weight is used with the weighted shortest path finder methods of cTopology.