ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::BorderBased::BASFollowNavigation Class Reference

This class chooses the successor with the lowest cost until an upper limit on distance is reached. More...

#include <borderaccumulator.h>

Inheritance diagram for adore::env::BorderBased::BASFollowNavigation:
Inheritance graph
Collaboration diagram for adore::env::BorderBased::BASFollowNavigation:
Collaboration graph

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

Borderm_current
 
double m_distance
 
BorderCostMapm_borderID2Cost
 
bool m_continueOnIncreasingCost
 

Additional Inherited Members

- Protected Attributes inherited from adore::env::BorderBased::BorderAccumulationStrategy
BorderSetm_borderSet
 

Detailed Description

This class chooses the successor with the lowest cost until an upper limit on distance is reached.

Constructor & Destructor Documentation

◆ BASFollowNavigation()

adore::env::BorderBased::BASFollowNavigation::BASFollowNavigation ( Border border,
BorderSet borderSet,
BorderCostMap borderID2Cost,
double  max_distance 
)
inline

Construct a new BASFollowNavigation object.

Parameters
borderstarting border
borderSetset of borders to consider
borderID2Costconnects costs with borders
max_distanceupper bound for distance

Member Function Documentation

◆ getNextBorder()

virtual void adore::env::BorderBased::BASFollowNavigation::getNextBorder ( Border *&  border,
bool &  inverted 
)
inlineoverridevirtual

Get the next border.

Parameters
bordernext border
inverteddescribes whether order is inverted (check again NiM)

Implements adore::env::BorderBased::BorderAccumulationStrategy.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setContinueOnIncreasingCost()

void adore::env::BorderBased::BASFollowNavigation::setContinueOnIncreasingCost ( bool  value)
inline

set continuation on increasing cost

Parameters
value
Here is the caller graph for this function:

Member Data Documentation

◆ m_borderID2Cost

BorderCostMap* adore::env::BorderBased::BASFollowNavigation::m_borderID2Cost
private

map of borders with associated cost

◆ m_continueOnIncreasingCost

bool adore::env::BorderBased::BASFollowNavigation::m_continueOnIncreasingCost
private

◆ m_current

Border* adore::env::BorderBased::BASFollowNavigation::m_current
private

current Border

◆ m_distance

double adore::env::BorderBased::BASFollowNavigation::m_distance
private

upper bound distance


The documentation for this class was generated from the following file: