Scheduler
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Mdp::TwoPhases Class Reference

#include <twoPhases.h>

Inheritance diagram for Mdp::TwoPhases:
Mdp::LearningStrategy

Public Member Functions

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

Static Public Attributes

static constexpr const char * configKey = "twoPhases"
 

Protected Attributes

int count {0}
 
const int learningIterations {100}
 
LearningStrategylearning
 
LearningStrategyacting
 
- Protected Attributes inherited from Mdp::LearningStrategy
std::shared_ptr< Contextcontext
 

Detailed Description

Definition at line 21 of file twoPhases.h.

Constructor & Destructor Documentation

TwoPhases::TwoPhases ( std::shared_ptr< Context context)

Definition at line 21 of file twoPhases.cpp.

TwoPhases::~TwoPhases ( )

Definition at line 26 of file twoPhases.cpp.

Member Function Documentation

void TwoPhases::initializeModel ( )
virtual

Implements Mdp::LearningStrategy.

Definition at line 33 of file twoPhases.cpp.

void TwoPhases::updateModel ( )
virtual

Implements Mdp::LearningStrategy.

Definition at line 42 of file twoPhases.cpp.

Member Data Documentation

LearningStrategy* Mdp::TwoPhases::acting
protected

Definition at line 34 of file twoPhases.h.

constexpr const char* Mdp::TwoPhases::configKey = "twoPhases"
static

Definition at line 24 of file twoPhases.h.

int Mdp::TwoPhases::count {0}
protected

Definition at line 31 of file twoPhases.h.

LearningStrategy* Mdp::TwoPhases::learning
protected

Definition at line 33 of file twoPhases.h.

const int Mdp::TwoPhases::learningIterations {100}
protected

Definition at line 32 of file twoPhases.h.


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