Scheduler
Public Member Functions | List of all members
CustomStateSpace Class Reference
Inheritance diagram for CustomStateSpace:
Mdp::StateSpace Mdp::StateSpace

Public Member Functions

 CustomStateSpace ()
 
size_t size () override
 
state_t getState () override
 
void updateCurrentState () override
 
double getReward () override
 
 CustomStateSpace ()
 
size_t size () override
 
state_t getState () override
 
void updateCurrentState () override
 
double getReward () override
 
- Public Member Functions inherited from Mdp::StateSpace
 StateSpace (const StateSpace &)=delete
 
StateSpaceoperator= (const StateSpace &)=delete
 
 ~StateSpace ()
 
virtual size_t getNbOfDimensions ()
 
virtual std::vector< size_t > * factorize (state_t state)
 
virtual std::vector< size_t > getDimensionSizes ()
 

Additional Inherited Members

- Protected Member Functions inherited from Mdp::StateSpace
 StateSpace ()
 
void updateInternalState ()
 
int getPriorityStateInternal ()
 
 StateSpace (size_t nbOfStates, size_t nbOfPriorityStates, std::vector< StateSpaceDimension * > dimensions, std::vector< PriorityState * > priorityStates)
 
state_t convertState (StateInternal)
 
- Protected Attributes inherited from Mdp::StateSpace
size_t nbOfStates {0}
 
size_t nbOfPriorityStates {0}
 
std::vector< StateSpaceDimension * > dimensions
 
std::vector< PriorityState * > priorityStates
 
StateInternal currentState
 
std::shared_ptr< DomainModeldomainModel {nullptr}
 
state_t currentExternalState {0}
 
StateInternal internalState
 

Detailed Description

Definition at line 30 of file reinforcedLearningTest.cpp.

Constructor & Destructor Documentation

CustomStateSpace::CustomStateSpace ( )
inline

Definition at line 33 of file reinforcedLearningTest.cpp.

CustomStateSpace::CustomStateSpace ( )
inline

Definition at line 36 of file reinforcementPerformanceTest.cpp.

Member Function Documentation

double CustomStateSpace::getReward ( )
inlineoverridevirtual

Return the immediate reward corresponding to the current state

Reimplemented from Mdp::StateSpace.

Definition at line 37 of file reinforcedLearningTest.cpp.

double CustomStateSpace::getReward ( )
inlineoverridevirtual

Return the immediate reward corresponding to the current state

Reimplemented from Mdp::StateSpace.

Definition at line 40 of file reinforcementPerformanceTest.cpp.

state_t CustomStateSpace::getState ( )
inlineoverridevirtual

Reimplemented from Mdp::StateSpace.

Definition at line 35 of file reinforcedLearningTest.cpp.

state_t CustomStateSpace::getState ( )
inlineoverridevirtual

Reimplemented from Mdp::StateSpace.

Definition at line 38 of file reinforcementPerformanceTest.cpp.

size_t CustomStateSpace::size ( )
inlineoverridevirtual

Reimplemented from Mdp::StateSpace.

Definition at line 34 of file reinforcedLearningTest.cpp.

size_t CustomStateSpace::size ( )
inlineoverridevirtual

Reimplemented from Mdp::StateSpace.

Definition at line 37 of file reinforcementPerformanceTest.cpp.

void CustomStateSpace::updateCurrentState ( )
inlineoverridevirtual

The only reason why getState and updateCurrentState are two different functions is for performance

Reimplemented from Mdp::StateSpace.

Definition at line 36 of file reinforcedLearningTest.cpp.

void CustomStateSpace::updateCurrentState ( )
inlineoverridevirtual

The only reason why getState and updateCurrentState are two different functions is for performance

Reimplemented from Mdp::StateSpace.

Definition at line 39 of file reinforcementPerformanceTest.cpp.


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