#include <MultiPolicy.h>
Public Member Functions | |
ActionSet | actions (const std::set< AspFluent > &state) const throw () |
bool | empty () const throw () |
void | merge (const AnswerSet &plan) throw (std::logic_error) |
void | merge (const PartialPolicy *otherPolicy) |
void | merge (const MultiPolicy *otherPolicy) |
MultiPolicy (const ActionSet &actions) | |
Private Attributes | |
ActionSet | allActions |
std::map< std::set< AspFluent > , ActionSet, StateComparator < AspFluent > > | policy |
Definition at line 15 of file MultiPolicy.h.
actasp::MultiPolicy::MultiPolicy | ( | const ActionSet & | actions | ) |
Definition at line 12 of file MultiPolicy.cpp.
ActionSet actasp::MultiPolicy::actions | ( | const std::set< AspFluent > & | state | ) | const throw () [virtual] |
Implements actasp::PartialPolicy.
Definition at line 14 of file MultiPolicy.cpp.
bool actasp::MultiPolicy::empty | ( | ) | const throw () [virtual] |
Implements actasp::PartialPolicy.
Definition at line 95 of file MultiPolicy.cpp.
void actasp::MultiPolicy::merge | ( | const AnswerSet & | plan | ) | throw (std::logic_error) [virtual] |
Implements actasp::PartialPolicy.
Definition at line 33 of file MultiPolicy.cpp.
void actasp::MultiPolicy::merge | ( | const PartialPolicy * | otherPolicy | ) | [virtual] |
Implements actasp::PartialPolicy.
Definition at line 25 of file MultiPolicy.cpp.
void actasp::MultiPolicy::merge | ( | const MultiPolicy * | otherPolicy | ) |
Definition at line 86 of file MultiPolicy.cpp.
ActionSet actasp::MultiPolicy::allActions [private] |
Definition at line 30 of file MultiPolicy.h.
std::map<std::set<AspFluent>, ActionSet, StateComparator<AspFluent> > actasp::MultiPolicy::policy [private] |
Definition at line 29 of file MultiPolicy.h.