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

#include <ReplanningActionExecutor.h>

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

List of all members.

Public Member Functions

void addExecutionObserver (ExecutionObserver *observer) throw ()
void addPlanningObserver (PlanningObserver *observer) throw ()
void executeActionStep ()
bool failed () const throw ()
bool goalReached () const throw ()
void removeExecutionObserver (ExecutionObserver *observer) throw ()
void removePlanningObserver (PlanningObserver *observer) throw ()
 ReplanningActionExecutor (actasp::AspKR *reasoner, actasp::Planner *planner, const std::map< std::string, Action * > &actionMap) throw (std::invalid_argument)
void setGoal (const std::vector< actasp::AspRule > &goalRules) throw ()
 ~ReplanningActionExecutor ()

Private Member Functions

void computePlan ()

Private Attributes

unsigned int actionCounter
std::map< std::string, Action * > actionMap
std::list< ExecutionObserver * > executionObservers
std::vector< actasp::AspRulegoalRules
bool hasFailed
bool isGoalReached
AspKRkr
bool newAction
std::list< Action * > plan
Plannerplanner
std::list< PlanningObserver * > planningObservers

Detailed Description

Definition at line 18 of file ReplanningActionExecutor.h.


Constructor & Destructor Documentation

actasp::ReplanningActionExecutor::ReplanningActionExecutor ( actasp::AspKR reasoner,
actasp::Planner planner,
const std::map< std::string, Action * > &  actionMap 
) throw (std::invalid_argument)

Definition at line 23 of file ReplanningActionExecutor.cpp.

Definition at line 46 of file ReplanningActionExecutor.cpp.


Member Function Documentation

Implements actasp::ActionExecutor.

Definition at line 132 of file ReplanningActionExecutor.cpp.

Definition at line 140 of file ReplanningActionExecutor.cpp.

Definition at line 62 of file ReplanningActionExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 86 of file ReplanningActionExecutor.cpp.

bool actasp::ReplanningActionExecutor::failed ( ) const throw () [inline, virtual]

Implements actasp::ActionExecutor.

Definition at line 34 of file ReplanningActionExecutor.h.

bool actasp::ReplanningActionExecutor::goalReached ( ) const throw () [inline, virtual]

Implements actasp::ActionExecutor.

Definition at line 30 of file ReplanningActionExecutor.h.

Implements actasp::ActionExecutor.

Definition at line 136 of file ReplanningActionExecutor.cpp.

Definition at line 144 of file ReplanningActionExecutor.cpp.

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

Implements actasp::ActionExecutor.

Definition at line 77 of file ReplanningActionExecutor.cpp.


Member Data Documentation

Definition at line 56 of file ReplanningActionExecutor.h.

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

Definition at line 53 of file ReplanningActionExecutor.h.

Definition at line 62 of file ReplanningActionExecutor.h.

Definition at line 50 of file ReplanningActionExecutor.h.

Definition at line 52 of file ReplanningActionExecutor.h.

Definition at line 51 of file ReplanningActionExecutor.h.

Definition at line 59 of file ReplanningActionExecutor.h.

Definition at line 57 of file ReplanningActionExecutor.h.

Definition at line 55 of file ReplanningActionExecutor.h.

Definition at line 60 of file ReplanningActionExecutor.h.

Definition at line 63 of file ReplanningActionExecutor.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