21 #ifndef _PLUGINS_CLIPS_PDDL_PARSER_EFFECT_VISITOR_H_
22 #define _PLUGINS_CLIPS_PDDL_PARSER_EFFECT_VISITOR_H_
24 #include <pddl_parser/pddl_parser.h>
26 #include <boost/variant/variant.hpp>
34 std::vector<std::string>
operator()(pddl_parser::Atom &a)
const;
38 std::string pddl_operator_;
39 bool positive_effect_;
Translate a PDDL effect into CLIPS facts.
std::vector< std::string > operator()(pddl_parser::Atom &a) const
Translate an Atom into a vector of strings.
EffectToCLIPSFactVisitor(const std::string &pddl_operator, bool positive)
Constructor.
A PDDL formula (either part of a precondition or an effect(.