Scheduler
Public Member Functions | List of all members
RlTester Class Reference
Inheritance diagram for RlTester:
Mdp::ReinforcedLearning Mdp::ReinforcedLearning Mdp::LearningStrategy Mdp::LearningStrategy

Public Member Functions

 RlTester (std::shared_ptr< Context > context)
 
 RlTester (std::shared_ptr< Context > context)
 
- Public Member Functions inherited from Mdp::ReinforcedLearning
 ReinforcedLearning (std::shared_ptr< Context > context)
 
 ~ReinforcedLearning ()
 
void initializeModel ()
 
void updateModel ()
 
void end ()
 
- Public Member Functions inherited from Mdp::LearningStrategy
 LearningStrategy (std::shared_ptr< Context > context)
 
virtual ~LearningStrategy ()
 

Additional Inherited Members

- Static Public Attributes inherited from Mdp::ReinforcedLearning
static constexpr const char * configKey = "reinforcedLearning"
 
- Protected Member Functions inherited from Mdp::ReinforcedLearning
void initializePolicy ()
 
void initializeActionSelectionStrategy ()
 
void updatePolicy (state_t state)
 
void updateLongTermReward (double reward, double discountFactor)
 
void epsilonGreedyPolicyUpdate (state_t state)
 
action_t getBestAction (state_t state)
 
RlBackupAlgorithmgetBackupAlgorithm ()
 
void printAVRecord ()
 
void updateEpsilon ()
 
void updateActualDiscountedReward (double reward)
 
void printActionValuesToFile (std::string folder)
 
action_t getBestActionFromInitialPolicy (state_t s)
 
void printStateSpace ()
 
- Protected Attributes inherited from Mdp::ReinforcedLearning
size_t S {0}
 
size_t A {0}
 
ActionValuesFunctionactionValues {nullptr}
 
double discountFactor {0.1}
 
double alpha {0.1}
 
double alphaDecaySpeed {0.99}
 
state_t previousState
 
action_t previousAction
 
RlBackupAlgorithmbackupAlgo {nullptr}
 
ActionValuesRecord actionValuesRecord
 
long long unsigned int epsilonTimeOut {0}
 
double actualDiscountedReward {0.0}
 
Utils::Record rewardRecord
 
ActionSelectionStrategyactionSelectionStrategy {nullptr}
 
double longTermReward {0.0}
 
- Protected Attributes inherited from Mdp::LearningStrategy
std::shared_ptr< Contextcontext
 

Detailed Description

Definition at line 21 of file reinforcedLearningTest.cpp.

Constructor & Destructor Documentation

RlTester::RlTester ( std::shared_ptr< Context context)
inline

Definition at line 24 of file reinforcedLearningTest.cpp.

RlTester::RlTester ( std::shared_ptr< Context context)
inline

Definition at line 27 of file reinforcementPerformanceTest.cpp.


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