Public Member Functions | Private Attributes
actasp::PartialPolicyExecutor Class Reference

#include <PartialPolicyExecutor.h>

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

List of all members.

Public Member Functions

void addExecutionObserver (ExecutionObserver *observer) throw ()
void executeActionStep ()
bool failed () const throw ()
bool goalReached () const throw ()
 PartialPolicyExecutor (AspKR *kr, MultiPlanner *planner, ActionSelector *selector, const std::map< std::string, Action * > &actionMap, double suboptimality)
void removeExecutionObserver (ExecutionObserver *observer) throw ()
void setGoal (const std::vector< actasp::AspRule > &goalRules) throw ()
 ~PartialPolicyExecutor ()

Private Attributes

unsigned int actionCounter
std::map< std::string, Action * > actionMap
Actionactive
std::list< ExecutionObserver * > executionObservers
std::vector< actasp::AspRulegoalRules
bool hasFailed
bool isGoalReached
AspKRkr
bool newAction
MultiPlannerplanner
PartialPolicypolicy
ActionSelectorselector
double suboptimality

Detailed Description

Definition at line 21 of file PartialPolicyExecutor.h.


Constructor & Destructor Documentation

actasp::PartialPolicyExecutor::PartialPolicyExecutor ( AspKR kr,
MultiPlanner planner,
ActionSelector selector,
const std::map< std::string, Action * > &  actionMap,
double  suboptimality 
)

Definition at line 19 of file PartialPolicyExecutor.cpp.

Definition at line 39 of file PartialPolicyExecutor.cpp.


Member Function Documentation

Implements actasp::ActionExecutor.

Definition at line 145 of file PartialPolicyExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 86 of file PartialPolicyExecutor.cpp.

bool actasp::PartialPolicyExecutor::failed ( ) const throw () [virtual]

Implements actasp::ActionExecutor.

Definition at line 72 of file PartialPolicyExecutor.cpp.

bool actasp::PartialPolicyExecutor::goalReached ( ) const throw () [virtual]

Implements actasp::ActionExecutor.

Definition at line 69 of file PartialPolicyExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 149 of file PartialPolicyExecutor.cpp.

void actasp::PartialPolicyExecutor::setGoal ( const std::vector< actasp::AspRule > &  goalRules) throw () [virtual]

Implements actasp::ActionExecutor.

Definition at line 46 of file PartialPolicyExecutor.cpp.


Member Data Documentation

Definition at line 45 of file PartialPolicyExecutor.h.

std::map<std::string, Action * > actasp::PartialPolicyExecutor::actionMap [private]

Definition at line 59 of file PartialPolicyExecutor.h.

Definition at line 47 of file PartialPolicyExecutor.h.

Definition at line 62 of file PartialPolicyExecutor.h.

Definition at line 52 of file PartialPolicyExecutor.h.

Definition at line 44 of file PartialPolicyExecutor.h.

Definition at line 43 of file PartialPolicyExecutor.h.

Definition at line 50 of file PartialPolicyExecutor.h.

Definition at line 46 of file PartialPolicyExecutor.h.

Definition at line 51 of file PartialPolicyExecutor.h.

Definition at line 54 of file PartialPolicyExecutor.h.

Definition at line 58 of file PartialPolicyExecutor.h.

Definition at line 57 of file PartialPolicyExecutor.h.


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


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