00001 00002 #ifndef actasp_AnyPlan_h__guard 00003 #define actasp_AnyPlan_h__guard 00004 00005 #include <actasp/Planner.h> 00006 00007 00008 namespace actasp { 00009 00010 class MultiPlanner; 00011 00012 class AnyPlan : public Planner { 00013 public: 00014 00015 //doesn't own 00016 AnyPlan(actasp::MultiPlanner *actualPlanner, double suboptimality = 1.); 00017 00018 AnswerSet computePlan(const std::vector<actasp::AspRule>& goal) const throw (std::logic_error); 00019 private: 00020 MultiPlanner *actualPlanner; 00021 double suboptimality; 00022 00023 }; 00024 00025 } 00026 00027 00028 #endif