Class ProblemExpertInterface
Defined in File ProblemExpertInterface.hpp
Inheritance Relationships
Derived Types
public plansys2::ProblemExpert
(Class ProblemExpert)public plansys2::ProblemExpertClient
(Class ProblemExpertClient)
Class Documentation
-
class ProblemExpertInterface
Subclassed by plansys2::ProblemExpert, plansys2::ProblemExpertClient
Public Functions
-
inline ProblemExpertInterface()
-
virtual std::vector<plansys2::Instance> getInstances() = 0
-
virtual bool addInstance(const plansys2::Instance &instance) = 0
-
virtual bool removeInstance(const plansys2::Instance &instance) = 0
-
virtual std::optional<plansys2::Instance> getInstance(const std::string &name) = 0
-
virtual std::vector<plansys2::Predicate> getPredicates() = 0
-
virtual bool addPredicate(const plansys2::Predicate &predicate) = 0
-
virtual bool removePredicate(const plansys2::Predicate &predicate) = 0
-
virtual bool existPredicate(const plansys2::Predicate &predicate) = 0
-
virtual std::optional<plansys2::Predicate> getPredicate(const std::string &expr) = 0
-
virtual std::vector<plansys2::Function> getFunctions() = 0
-
virtual bool addFunction(const plansys2::Function &function) = 0
-
virtual bool removeFunction(const plansys2::Function &function) = 0
-
virtual bool existFunction(const plansys2::Function &function) = 0
-
virtual bool updateFunction(const plansys2::Function &function) = 0
-
virtual std::optional<plansys2::Function> getFunction(const std::string &expr) = 0
-
virtual plansys2::Goal getGoal() = 0
-
virtual bool setGoal(const plansys2::Goal &goal) = 0
-
virtual bool isGoalSatisfied(const plansys2::Goal &goal) = 0
-
virtual bool clearGoal() = 0
-
virtual bool clearKnowledge() = 0
-
virtual std::string getProblem() = 0
-
virtual bool addProblem(const std::string &problem_str) = 0
-
inline ProblemExpertInterface()