Class PartialOrderTransformer

Inheritance Relationships

Base Type

Class Documentation

class PartialOrderTransformer : public Planner::StateTransformer

Public Functions

inline PartialOrderTransformer()
inline virtual ~PartialOrderTransformer()
virtual TemporalConstraints *cloneTemporalConstraints(const TemporalConstraints*const, const int extendBy = 0)
virtual TemporalConstraints *emptyTemporalConstraints()
virtual MinimalState &applyAction(MinimalState &s, const ActionSegment &a, const bool &inPlace, const double &minDur, const double &maxDur)

Apply a given action in the given state.

Parameters:
  • s – The state in which to apply the action a

  • a – The action to apply in the state s

  • inPlace – If false, a copy of s is made, and a is applied to this. Otherwise, a is applied directly to s.

  • minDur – An optimistic minimum duration of a

  • maxDur – An optimistic maximum duration of a

Returns:

The state reached following the application of a. If inPlace=true, this refers to the same state as s.