Scheduler
Public Member Functions | List of all members
Mdp::ActionSpaceBuilder Class Reference

Builds the action space. More...

#include <actionSpaceBuilder.h>

Public Member Functions

void setDomainModel (std::shared_ptr< DomainModel > model)
 sets the domain model used by the actions to act on the environment More...
 
void addAction (Action *action)
 add an action to the actino space More...
 
std::shared_ptr< ActionSpacegetActionSpace ()
 get the action space More...
 
void addActionDimension (ActionDimension *)
 

Detailed Description

Builds the action space.

Definition at line 28 of file actionSpaceBuilder.h.

Member Function Documentation

void ActionSpaceBuilder::addAction ( Action action)

add an action to the actino space

Parameters
actionthe action to add
See also
Action

Definition at line 60 of file actionSpaceBuilder.cpp.

void ActionSpaceBuilder::addActionDimension ( ActionDimension dim)

Definition at line 72 of file actionSpaceBuilder.cpp.

std::shared_ptr< ActionSpace > ActionSpaceBuilder::getActionSpace ( )

get the action space

Returns
the action space to be given to the MdpModel constructor
See also
MdpModel

Definition at line 23 of file actionSpaceBuilder.cpp.

void ActionSpaceBuilder::setDomainModel ( std::shared_ptr< DomainModel model)

sets the domain model used by the actions to act on the environment

Parameters
modela pointer to the domain model
See also
DomainModel

Definition at line 67 of file actionSpaceBuilder.cpp.


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