#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 MultiPolicy &otherPolicy) |
MultiPolicy (const ActionSet &actions) | |
Private Attributes | |
ActionSet | allActions |
std::map< std::set< AspFluent > , ActionSet, StateComparator < AspFluent > > | policy |
Definition at line 14 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 () |
Definition at line 14 of file MultiPolicy.cpp.
bool actasp::MultiPolicy::empty | ( | ) | const throw () |
Definition at line 82 of file MultiPolicy.cpp.
void actasp::MultiPolicy::merge | ( | const AnswerSet & | plan | ) | throw (std::logic_error) |
Definition at line 25 of file MultiPolicy.cpp.
void actasp::MultiPolicy::merge | ( | const MultiPolicy & | otherPolicy | ) |
Definition at line 73 of file MultiPolicy.cpp.
ActionSet actasp::MultiPolicy::allActions [private] |
Definition at line 28 of file MultiPolicy.h.
std::map<std::set<AspFluent>, ActionSet, StateComparator<AspFluent> > actasp::MultiPolicy::policy [private] |
Definition at line 27 of file MultiPolicy.h.