 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef EffortCalculator_h
18 #define EffortCalculator_h
38 virtual void init(
const std::vector<std::string>& edges) = 0;
44 virtual double getEffort(
const int numericalID)
const = 0;
47 virtual void update(
const int edge,
const int prev,
const double length) = 0;
53 virtual std::string
output(
const int edge)
const = 0;
An upper class for objects with additional parameters.
virtual std::string output(const int edge) const =0
virtual void update(const int edge, const int prev, const double length)=0
virtual void init(const std::vector< std::string > &edges)=0
virtual void addStop(const int stopEdge, const Parameterised ¶ms)=0
the effort calculator interface
virtual void setInitialState(const int edge)=0
virtual double getEffort(const int numericalID) const =0