FinanceSim 0.1.0
Financial Simulation Library
Loading...
Searching...
No Matches
time.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace financesim {
4
6using SimTime = double;
7
9enum class ExecutionTiming {
12};
13
16struct Schedule {
17 SimTime start_time = 0.0; // When the model starts executing (days)
18 SimTime stop_time = -1.0; // When the model stops (-1 = never)
19 SimTime rate = 1.0; // Execution interval in days
21};
22
23} // namespace financesim
double SimTime
Represents a point in simulation time (continuous, in days)
Definition time.hpp:6
ExecutionTiming
Configuration for when a model executes within its period.
Definition time.hpp:9
ExecutionTiming timing
Definition time.hpp:20
SimTime start_time
Definition time.hpp:17
SimTime stop_time
Definition time.hpp:18