Scheduler
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Mdp::ActionSpace Class Reference

#include <actionSpace.h>

Inheritance diagram for Mdp::ActionSpace:
CustomActionSpace CustomActionSpace

Public Member Functions

virtual size_t size ()
 
 ~ActionSpace ()
 
ActiongetAction (action_t action)
 
void updateLastAction (action_t a)
 
action_t getLastAction ()
 

Protected Member Functions

 ActionSpace ()
 
void setDomainModelOfActions ()
 

Protected Attributes

std::vector< Action * > actions
 
std::shared_ptr< DomainModeldomainModel {nullptr}
 
action_t lastAction {0}
 
std::vector< ActionDimensiondimensions
 

Detailed Description

Definition at line 30 of file actionSpace.h.

Constructor & Destructor Documentation

ActionSpace::~ActionSpace ( )

Definition at line 24 of file actionSpace.cpp.

ActionSpace::ActionSpace ( )
protected

Definition at line 19 of file actionSpace.cpp.

Member Function Documentation

Action * ActionSpace::getAction ( action_t  action)

Definition at line 49 of file actionSpace.cpp.

action_t ActionSpace::getLastAction ( )

Definition at line 61 of file actionSpace.cpp.

void ActionSpace::setDomainModelOfActions ( )
protected

Definition at line 38 of file actionSpace.cpp.

size_t ActionSpace::size ( )
virtual

Reimplemented in CustomActionSpace, and CustomActionSpace.

Definition at line 32 of file actionSpace.cpp.

void ActionSpace::updateLastAction ( action_t  a)

Definition at line 56 of file actionSpace.cpp.

Member Data Documentation

std::vector<Action*> Mdp::ActionSpace::actions
protected

Definition at line 44 of file actionSpace.h.

std::vector<ActionDimension> Mdp::ActionSpace::dimensions
protected

Definition at line 47 of file actionSpace.h.

std::shared_ptr<DomainModel> Mdp::ActionSpace::domainModel {nullptr}
protected

Definition at line 45 of file actionSpace.h.

action_t Mdp::ActionSpace::lastAction {0}
protected

Definition at line 46 of file actionSpace.h.


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