Class ParentData
Defined in File lpscheduler.h
Class Documentation
-
class ParentData
Public Functions
-
inline ~ParentData()
-
inline void setWhetherNeedsLP(const bool &b)
-
inline const vector<double> &getDistFromZero() const
-
inline const vector<double> &getDistToZero() const
-
inline const vector<int> &getPairWith() const
-
inline const map<int, IncomingAndOutgoing> &getTemporaryEdges() const
-
inline void setRawDistToFromZero(const int &i, const double &t, const double &f)
-
inline void setPairWith(const int &i, const int &w)
-
inline void setTIL(const int &i)
-
inline void setNonTemporal(const int &i)
-
inline IncomingAndOutgoing &makeEdgeListFor(const int &i)
Return the temporal separation constraints for the specified step.
- Parameters:
i – The step for which to obtain the constraints
- Returns:
A pair of sets: the first defines steps that must follow step i, the second defines steps that must precede step i.
-
inline void startGapIsStep(const int &i)
-
inline void endGapIsStep(const int &i)
-
inline const int &whereIsStartGap() const
-
inline const int &whereIsEndGap() const
-
ChildData *spawnChildData(list<StartEvent> &seq, list<FFEvent> &header, list<FFEvent> &succ, const bool &includeMetric, const TemporalConstraints *const cons, const int &stepID)
Helper function for the incremental Bellman Ford implementation. From the current object, reached by the plan steps
header, derive aChildDataobject corresponding to either the application of the actions insucc, or by activating the end snap-action at indexstepID.- Parameters:
seq – The list of actions that have not yet finished in the child state
header – The actions to reach the parent state
succ – Any new actions added to reach the child state
includeMetric – Whether effects on metric tracking variables should be included - affects whether or not the LP is considered necessary.
cons – The temporal constraints on the steps in the child’s plan
stepID – The index into the child’s plan of the new step added.
- Returns:
An object capturing the temporal constraints in place on the child’s plan.
-
inline void sanityCheck()
Public Members
-
inline ~ParentData()