#include <potential_calculator.h>
Public Member Functions | |
| float | CalculatePotential (const Vertex &_vertex) const |
| calculates the potential for a vertex More... | |
| float | CalculatePotential (const Segment &_segment) const |
| calculates the potential for a segment More... | |
| PotentialCalculator () | |
| constructor More... | |
| PotentialCalculator (const float &_multiplier) | |
| constructor More... | |
| void | SetMultiplier (const float &_multiplier) |
| sets the Potential multiplier More... | |
Private Attributes | |
| float | multiplier_ |
Definition at line 36 of file potential_calculator.h.
| multi_robot_router::PotentialCalculator::PotentialCalculator | ( | ) |
constructor
Definition at line 33 of file potential_calculator.cpp.
| multi_robot_router::PotentialCalculator::PotentialCalculator | ( | const float & | _multiplier | ) |
constructor
| _multiplier | the multiplier used to multiply the potential with (used for reducing robots speeds) |
Definition at line 37 of file potential_calculator.cpp.
| float multi_robot_router::PotentialCalculator::CalculatePotential | ( | const Vertex & | _vertex | ) | const |
calculates the potential for a vertex
| _vertex | the vertext used for the calculation |
Definition at line 41 of file potential_calculator.cpp.
| float multi_robot_router::PotentialCalculator::CalculatePotential | ( | const Segment & | _segment | ) | const |
calculates the potential for a segment
| _segment | the segment used for the calculation |
Definition at line 46 of file potential_calculator.cpp.
| void multi_robot_router::PotentialCalculator::SetMultiplier | ( | const float & | _multiplier | ) |
sets the Potential multiplier
| _multiplier | the multiplier used to multiply the potential with (used for reducing robots speeds) |
Definition at line 51 of file potential_calculator.cpp.
|
private |
Definition at line 67 of file potential_calculator.h.