Scheduler
learningStrategy.h
Go to the documentation of this file.
1 
10 #ifndef MDPLEARNINGSTRATEGY_H
11 #define MDPLEARNINGSTRATEGY_H
12 
13 #include <memory>
14 
15 namespace Mdp
16 {
17 struct Context;
18 struct MdpConfiguration;
19 
20 
22 {
23 public:
24  LearningStrategy(std::shared_ptr<Context> context);
25  virtual ~LearningStrategy();
26  virtual void initializeModel()=0;
27  virtual void updateModel()=0;
28  virtual void end(){};
29 protected:
30  std::shared_ptr<Context> context;
31 };
32 
33 
34 }
35 #endif
virtual void updateModel()=0
virtual void initializeModel()=0
Definition: action.h:18
LearningStrategy(std::shared_ptr< Context > context)
std::shared_ptr< Context > context