Class Action

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Action : public parser::pddl::ParamCond

Subclassed by parser::pddl::TemporalAction

Public Functions

inline explicit Action(const std::string &s)
inline explicit Action(ParamCond *c)
inline Action(const Action *a, Domain &d)
inline virtual ~Action()
inline virtual void print(std::ostream &s) const
inline virtual double duration()
virtual void PDDLPrint(std::ostream &s, unsigned indent, const TokenStruct<std::string> &ts, const Domain &d) const override
virtual plansys2_msgs::msg::Node::SharedPtr getTree(plansys2_msgs::msg::Tree &tree, const Domain &d, const std::vector<std::string> &replace = {}) const override
void parseConditions(Stringreader &f, TokenStruct<std::string> &ts, Domain &d)
virtual void parse(Stringreader &f, TokenStruct<std::string> &ts, Domain &d)
inline virtual void addParams(int m, unsigned n)
inline void addParams(const IntVec &v)
inline virtual Condition *copy(Domain &d)
CondVec precons()
CondVec effects()
GroundVec addEffects()
GroundVec deleteEffects()

Public Members

Condition *pre
Condition *eff

Protected Functions

CondVec getSubconditionsFromCondition(Condition *c)
GroundVec getGroundsFromCondition(Condition *c, bool neg)