
#include <Beobot/Edge.H>
Collaboration diagram for Edge:

Definition at line 53 of file Edge.H.
Public Member Functions | |
Constructor, assigment and destructor | |
| Edge (float cost=1.0F, const std::string label=std::string("")) | |
| Constructor: generate a blank edge (no end-nodes). | |
| Edge (rutz::shared_ptr< Node > sourceNode, rutz::shared_ptr< Node > destNode, float cost=1.0F, const std::string label=std::string("")) | |
| Constructor: generate a directed edge with two nodes. | |
| ~Edge () | |
| Destructor. | |
| float | getCost () |
| void | setCost (float cost) |
| set the cost of the edge | |
| rutz::shared_ptr< Node > | getSourceNode () |
| get the source node | |
| rutz::shared_ptr< Node > | getDestNode () |
| get the destination node | |
| void | setSourceNode (rutz::shared_ptr< Node > sourceNode) |
| set the source node | |
| void | setDestNode (rutz::shared_ptr< Node > destNode) |
| set the destination node | |
| std::string | getLabel () |
| get the label of the edge | |
|
||||||||||||
|
Constructor: generate a blank edge (no end-nodes).
|
|
||||||||||||||||||||
|
Constructor: generate a directed edge with two nodes.
|
|
|
Destructor.
|
|
|
cost of traversing the edge default: 1.0 |
|
|
get the destination node
|
|
|
get the label of the edge
|
|
|
get the source node
|
|
|
set the cost of the edge
|
|
|
set the destination node
|
|
|
set the source node
|
1.4.4