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

#include <RLActionExecutor.h>

Inheritance diagram for actasp::RLActionExecutor:
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 ()
void removeExecutionObserver (ExecutionObserver *observer) throw ()
 RLActionExecutor (AspKR *kr, ActionSelector *selector, const std::map< std::string, Action * > &actionMap)
void setGoal (const std::vector< actasp::AspRule > &goalRules) throw ()
 ~RLActionExecutor ()

Private Attributes

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

Detailed Description

Definition at line 20 of file RLActionExecutor.h.


Constructor & Destructor Documentation

actasp::RLActionExecutor::RLActionExecutor ( AspKR kr,
ActionSelector selector,
const std::map< std::string, Action * > &  actionMap 
)

Definition at line 17 of file RLActionExecutor.cpp.

Definition at line 33 of file RLActionExecutor.cpp.


Member Function Documentation

void actasp::RLActionExecutor::addExecutionObserver ( ExecutionObserver observer) throw () [virtual]

Implements actasp::ActionExecutor.

Definition at line 110 of file RLActionExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 70 of file RLActionExecutor.cpp.

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

Implements actasp::ActionExecutor.

Definition at line 56 of file RLActionExecutor.cpp.

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

Implements actasp::ActionExecutor.

Definition at line 52 of file RLActionExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 114 of file RLActionExecutor.cpp.

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

Implements actasp::ActionExecutor.

Definition at line 39 of file RLActionExecutor.cpp.


Member Data Documentation

Definition at line 42 of file RLActionExecutor.h.

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

Definition at line 52 of file RLActionExecutor.h.

Definition at line 44 of file RLActionExecutor.h.

Definition at line 55 of file RLActionExecutor.h.

Definition at line 48 of file RLActionExecutor.h.

Definition at line 41 of file RLActionExecutor.h.

Definition at line 47 of file RLActionExecutor.h.

Definition at line 43 of file RLActionExecutor.h.

Definition at line 51 of file RLActionExecutor.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