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

Struct to organize navigation cost. More...

#include <navigationcost.h>

Collaboration diagram for adore::env::NavigationCost:
Collaboration graph

Public Member Functions

bool operator< (const NavigationCost &other) const
 
bool operator== (const NavigationCost &other) const
 
 NavigationCost ()
 Construct a new NavigationCost object. More...
 
 NavigationCost (double distanceToGoal)
 Construct a new NavigationCost object. More...
 
double getDistanceToGoal ()
 Get the distance to goal. More...
 
void setDistanceToGoal (double value)
 Set the distance to goal. More...
 
double getCombinedCost ()
 Get combined cost. More...
 

Static Public Member Functions

static double maximum_cost ()
 

Private Attributes

double distanceToGoal_
 

Detailed Description

Struct to organize navigation cost.

Constructor & Destructor Documentation

◆ NavigationCost() [1/2]

adore::env::NavigationCost::NavigationCost ( )
inline

Construct a new NavigationCost object.

◆ NavigationCost() [2/2]

adore::env::NavigationCost::NavigationCost ( double  distanceToGoal)
inline

Construct a new NavigationCost object.

Parameters
distanceToGoaldistance to goal for the new NavigationCost object

Member Function Documentation

◆ getCombinedCost()

double adore::env::NavigationCost::getCombinedCost ( )
inline

Get combined cost.

Returns
double combined cost
Here is the caller graph for this function:

◆ getDistanceToGoal()

double adore::env::NavigationCost::getDistanceToGoal ( )
inline

Get the distance to goal.

Returns
double distance to goal

◆ maximum_cost()

static double adore::env::NavigationCost::maximum_cost ( )
inlinestatic
Here is the caller graph for this function:

◆ operator<()

bool adore::env::NavigationCost::operator< ( const NavigationCost other) const
inline

◆ operator==()

bool adore::env::NavigationCost::operator== ( const NavigationCost other) const
inline

◆ setDistanceToGoal()

void adore::env::NavigationCost::setDistanceToGoal ( double  value)
inline

Set the distance to goal.

Parameters
valuedistance to goal

Member Data Documentation

◆ distanceToGoal_

double adore::env::NavigationCost::distanceToGoal_
private

distance to goal


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