This class chooses the successor with the lowest cost until an upper limit on distance is reached. More...
#include <borderaccumulator.h>
Public Member Functions | |
BASFollowNavigation (Border *border, BorderSet *borderSet, BorderCostMap *borderID2Cost, double max_distance) | |
Construct a new BASFollowNavigation object. More... | |
void | setContinueOnIncreasingCost (bool value) |
set continuation on increasing cost More... | |
virtual void | getNextBorder (Border *&border, bool &inverted) override |
Get the next border. More... | |
Public Member Functions inherited from adore::env::BorderBased::BorderAccumulationStrategy | |
BorderAccumulationStrategy () | |
bool | borderValid (Border *b) |
Check whether a border is valid. More... | |
Private Attributes | |
Border * | m_current |
double | m_distance |
BorderCostMap * | m_borderID2Cost |
bool | m_continueOnIncreasingCost |
Additional Inherited Members | |
Protected Attributes inherited from adore::env::BorderBased::BorderAccumulationStrategy | |
BorderSet * | m_borderSet |
This class chooses the successor with the lowest cost until an upper limit on distance is reached.
|
inline |
Construct a new BASFollowNavigation object.
border | starting border |
borderSet | set of borders to consider |
borderID2Cost | connects costs with borders |
max_distance | upper bound for distance |
|
inlineoverridevirtual |
Get the next border.
border | next border |
inverted | describes whether order is inverted (check again NiM) |
Implements adore::env::BorderBased::BorderAccumulationStrategy.
|
inline |
set continuation on increasing cost
value |
|
private |
map of borders with associated cost
|
private |
|
private |
upper bound distance