Public Member Functions | Private Types | Private Attributes
actasp::GraphPolicy Struct Reference

#include <GraphPolicy.h>

Inheritance diagram for actasp::GraphPolicy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ActionSet actions (const std::set< AspFluent > &state) const throw ()
bool empty () const throw ()
 GraphPolicy (const ActionSet &actions)
void merge (const AnswerSet &plan) throw (std::logic_error)
void merge (const PartialPolicy *otherPolicy)
void merge (const GraphPolicy *otherPolicy)
std::vector< actasp::AnswerSetplansFrom (const std::set< AspFluent > &state) throw ()

Private Types

typedef std::map< std::set
< AspFluent >, PlanReference,
StateComparator< AspFluent > > 
PlanIndex
typedef std::list< std::list
< AspFluent > > 
PlanList
typedef std::list< std::pair
< PlanList::const_iterator,
std::list< AspFluent >
::const_iterator > > 
PlanReference
typedef std::map< std::set
< AspFluent >, ActionSet,
StateComparator< AspFluent > > 
PolicyMap

Private Attributes

ActionSet allActions
PlanIndex planIndex
PlanList plans
PolicyMap policy

Detailed Description

Definition at line 15 of file GraphPolicy.h.


Member Typedef Documentation

Definition at line 37 of file GraphPolicy.h.

typedef std::list< std::list< AspFluent> > actasp::GraphPolicy::PlanList [private]

Definition at line 35 of file GraphPolicy.h.

typedef std::list< std::pair< PlanList::const_iterator, std::list< AspFluent>::const_iterator> > actasp::GraphPolicy::PlanReference [private]

Definition at line 36 of file GraphPolicy.h.

Definition at line 34 of file GraphPolicy.h.


Constructor & Destructor Documentation

Definition at line 15 of file GraphPolicy.cpp.


Member Function Documentation

ActionSet actasp::GraphPolicy::actions ( const std::set< AspFluent > &  state) const throw () [virtual]

Implements actasp::PartialPolicy.

Definition at line 17 of file GraphPolicy.cpp.

bool actasp::GraphPolicy::empty ( ) const throw () [virtual]

Implements actasp::PartialPolicy.

Definition at line 135 of file GraphPolicy.cpp.

void actasp::GraphPolicy::merge ( const AnswerSet plan) throw (std::logic_error) [virtual]

Implements actasp::PartialPolicy.

Definition at line 36 of file GraphPolicy.cpp.

void actasp::GraphPolicy::merge ( const PartialPolicy otherPolicy) [virtual]

Implements actasp::PartialPolicy.

Definition at line 28 of file GraphPolicy.cpp.

void actasp::GraphPolicy::merge ( const GraphPolicy otherPolicy)

Definition at line 94 of file GraphPolicy.cpp.

std::vector< actasp::AnswerSet > actasp::GraphPolicy::plansFrom ( const std::set< AspFluent > &  state) throw ()

Definition at line 139 of file GraphPolicy.cpp.


Member Data Documentation

Definition at line 40 of file GraphPolicy.h.

Definition at line 42 of file GraphPolicy.h.

Definition at line 41 of file GraphPolicy.h.

Definition at line 39 of file GraphPolicy.h.


The documentation for this struct was generated from the following files:


bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Thu Jun 6 2019 17:57:37