Class ProblemExpert
Defined in File ProblemExpert.hpp
Inheritance Relationships
Base Type
public plansys2::ProblemExpertInterface
(Class ProblemExpertInterface)
Class Documentation
-
class ProblemExpert : public plansys2::ProblemExpertInterface
Public Functions
-
virtual std::vector<plansys2::Instance> getInstances()
-
virtual bool addInstance(const plansys2::Instance &instance)
-
virtual bool removeInstance(const plansys2::Instance &instance)
-
virtual std::optional<plansys2::Instance> getInstance(const std::string &name)
-
virtual std::vector<plansys2::Predicate> getPredicates()
-
virtual bool addPredicate(const plansys2::Predicate &predicate)
-
virtual bool removePredicate(const plansys2::Predicate &predicate)
-
virtual bool existPredicate(const plansys2::Predicate &predicate)
-
virtual std::optional<plansys2::Predicate> getPredicate(const std::string &expr)
-
virtual std::vector<plansys2::Function> getFunctions()
-
virtual bool addFunction(const plansys2::Function &function)
-
virtual bool removeFunction(const plansys2::Function &function)
-
virtual bool existFunction(const plansys2::Function &function)
-
virtual bool updateFunction(const plansys2::Function &function)
-
virtual std::optional<plansys2::Function> getFunction(const std::string &expr)
-
virtual plansys2::Goal getGoal()
-
virtual bool setGoal(const plansys2::Goal &goal)
-
virtual bool isGoalSatisfied(const plansys2::Goal &goal)
-
virtual bool clearGoal()
-
virtual bool clearKnowledge()
-
virtual std::string getProblem()
-
virtual bool addProblem(const std::string &problem_str)
-
bool existInstance(const std::string &name)
-
bool isValidType(const std::string &type)
-
bool isValidPredicate(const plansys2::Predicate &predicate)
-
bool isValidFunction(const plansys2::Function &function)
-
bool isValidGoal(const plansys2::Goal &goal)
-
virtual std::vector<plansys2::Instance> getInstances()