10 #ifndef RL_DISCIPLINE_H 11 #define RL_DISCIPLINE_H 27 class MdpConfiguration;
34 class RlDisciplineBuilder;
41 static constexpr
const char *configKey =
"rlDiscipline";
45 std::shared_ptr<Scheduler::Process> selectNextTask(
Scheduler::Queue *readyQueue,
46 std::shared_ptr<Scheduler::Process> running,
unsigned int deadlineMisses);
48 std::string
getName(){
return "Reinforcement learning real-time discipline";};
53 std::shared_ptr<DomainModel> model;
55 unsigned int previousDeadlineMisses{0};
56 unsigned int currentDeadlineMisses{0};
57 std::shared_ptr<Mdp::MdpConfiguration> mdpConf;
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
The main class of the MDP framework.
std::string getName()
returns the name of that discipline
def deadlineMisses(reportsFolder, configFilename, reportFilename, runningTime)