|
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... | |
Public Member Functions inherited from Mdp::Action | |
| virtual | ~Action () |
Protected Member Functions | |
| Action () | |
Protected Member Functions inherited from Mdp::Action | |
| template<typename T > | |
| std::shared_ptr< T > | getModel () |
Protected Attributes | |
| int | id |
Protected Attributes inherited from Mdp::Action | |
| 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.
1.8.11