#include <runtime.h>
◆ Runtime()
Runtime constructor.
- Parameters
-
| scheduler | scheduler to execute |
◆ run() [1/2]
| void fpmas::runtime::Runtime::run |
( |
Date |
end | ) |
|
|
overridevirtual |
◆ run() [2/2]
| void fpmas::runtime::Runtime::run |
( |
Date |
start, |
|
|
Date |
end |
|
) |
| |
|
overridevirtual |
Runs jobs from start, included, to end, excluded.
The Runtime is currently based on a unit time step. In consequence, the Runtime will execute jobs at dates start, start+1 and start+n for any integer n such that start+n < end.
At the end of the execution, currentDate() is reinitialized to 0.
- Parameters
-
| start | start date |
| end | end date |
Implements fpmas::api::runtime::Runtime.
◆ execute() [1/2]
◆ execute() [2/2]
Sequentially executes the jobs contained in the provided job_list.
- Parameters
-
| job_list | list of jobs to execute sequentially |
Implements fpmas::api::runtime::Runtime.
◆ currentDate()
| Date fpmas::runtime::Runtime::currentDate |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setCurrentDate()
| void fpmas::runtime::Runtime::setCurrentDate |
( |
Date |
date | ) |
|
|
inlineoverridevirtual |
◆ seed()
Seeds the internal static random number generator used to produce execution sequences at each epoch.
- Parameters
-
The documentation for this class was generated from the following files:
- src/fpmas/runtime/runtime.h
- src/fpmas/runtime/runtime.cpp