Scheduler
|
#include <actions.h>
Public Member Functions | |
Action (int processId) | |
void | performAction () override |
std::string | getName () override |
virtual std::shared_ptr< Scheduler::Process > | getProcessToRun () |
returns the process to run according to the RL algorithm More... | |
![]() | |
virtual | ~Action () |
Protected Member Functions | |
Action () | |
![]() | |
template<typename T > | |
std::shared_ptr< T > | getModel () |
Protected Attributes | |
int | id |
![]() | |
std::shared_ptr< DomainModel > | domainModel {nullptr} |
Action::Action | ( | int | processId | ) |
processId | is the ID of the process to be run when this action is selected |
Definition at line 22 of file actions.cpp.
|
overridevirtual |
Implements Mdp::Action.
Reimplemented in RlScheduler::SleepAction.
Definition at line 48 of file actions.cpp.
|
virtual |
returns the process to run according to the RL algorithm
Reimplemented in RlScheduler::SleepAction.
Definition at line 32 of file actions.cpp.
|
overridevirtual |
Implements Mdp::Action.
Reimplemented in RlScheduler::SleepAction.
Definition at line 27 of file actions.cpp.