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

#include <basicsetpointrequestevaluators.h>

Inheritance diagram for adore::fun::SPRAverageProgressLoss:
Inheritance graph
Collaboration diagram for adore::fun::SPRAverageProgressLoss:
Collaboration graph

Public Member Functions

 SPRAverageProgressLoss (adore::params::APTacticalPlanner *params)
 
virtual std::string getName () const override
 
virtual double getCost (const adore::fun::SetPointRequest &spr) const override
 

Private Attributes

adore::params::APTacticalPlannerparams_
 

Detailed Description

computes average of lost progress for a plan: lost progress wrt moving at global_speed_limit

Constructor & Destructor Documentation

◆ SPRAverageProgressLoss()

adore::fun::SPRAverageProgressLoss::SPRAverageProgressLoss ( adore::params::APTacticalPlanner params)
inline

Member Function Documentation

◆ getCost()

virtual double adore::fun::SPRAverageProgressLoss::getCost ( const adore::fun::SetPointRequest spr) const
inlineoverridevirtual
Returns
positive double value for given SetPointRequest

Implements adore::fun::ASPRCost.

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

◆ getName()

virtual std::string adore::fun::SPRAverageProgressLoss::getName ( ) const
inlineoverridevirtual
Returns
name of cost function or objective

Implements adore::fun::ASPRCost.

Here is the caller graph for this function:

Member Data Documentation

◆ params_

adore::params::APTacticalPlanner* adore::fun::SPRAverageProgressLoss::params_
private

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