KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
TimeObjective Class Reference

An objective that measures path execution time. Accumulated time is assumed to be part of the state, specifically the element indexed by timeIndex. More...

#include <Objective.h>

Inheritance diagram for TimeObjective:
ObjectiveFunctionalBase

Public Member Functions

 TimeObjective (int timeIndex=0)
 
virtual const char * TypeString ()
 Subclasses: return an identifier for this goal type.
 
virtual Real IncrementalCost (const Interpolator *path)
 
- Public Member Functions inherited from ObjectiveFunctionalBase
virtual std::string Description ()
 Subclasses: return a string for printing (optional)
 
virtual Real IncrementalCost (const ControlInput &u, const Interpolator *path)
 
virtual Real IncrementalCost (const KinodynamicMilestonePath &path)
 
virtual Real TerminalCost (const Config &qend)
 Subclasses: return the cost of a terminal state.
 
virtual bool PathInvariant () const
 Subclasses: planners may exploit path-invariant costs for faster performance.
 
virtual Real PathCost (const MilestonePath &path)
 
virtual Real PathCost (const KinodynamicMilestonePath &path)
 
virtual bool SaveParams (AnyCollection &collection)
 Subclasses: read and write parameters to collection.
 
virtual bool LoadParams (AnyCollection &collection)
 

Public Attributes

int timeIndex
 

Detailed Description

An objective that measures path execution time. Accumulated time is assumed to be part of the state, specifically the element indexed by timeIndex.

Member Function Documentation

Real TimeObjective::IncrementalCost ( const Interpolator path)
virtual

Subclasses: return the incremental cost of undertaking the given path. This should be equal to the integral of the differential cost, or at least a good approximation

Reimplemented from ObjectiveFunctionalBase.


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