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

An objective that measures path length. More...

#include <Objective.h>

Inheritance diagram for LengthObjective:
ObjectiveFunctionalBase

Public Member Functions

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)
 

Detailed Description

An objective that measures path length.

Member Function Documentation

virtual Real LengthObjective::IncrementalCost ( const Interpolator path)
inlinevirtual

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 file: