![]() |
FireSTARR
|
Represents a full set of simulations using all available weather streams. More...
#include <Iteration.h>

Public Member Functions | |
| Iteration (vector< Scenario * > scenarios) noexcept | |
| Constructor. | |
| Iteration (const Iteration &rhs)=default | |
| Iteration (Iteration &&rhs)=default | |
| Iteration & | operator= (const Iteration &rhs)=default |
| Iteration & | operator= (Iteration &&rhs)=default |
| Iteration * | reset_with_new_start (const XYIdx &start_cell) |
| Assign start Cell and create new thresholds for use in each Scenario. | |
| Iteration * | reset (mt19937_64 *mt_extinction, mt19937_64 *mt_spread) |
| Create new thresholds for use in each Scenario. | |
| const vector< Scenario * > & | getScenarios () const noexcept |
| List of Scenarios this Iteration contains. | |
| void | cancel (bool show_warning) noexcept |
| vector< DurationSize > | savePoints () const |
| Points in time that ProbabilityMaps get saved for. | |
| DurationSize | startTime () const |
| Time that simulations start. | |
| size_t | size () const noexcept |
| Number of Scenarios in this Iteration. | |
| SafeVector | finalSizes () const |
| SafeVector of sizes that Scenarios have resulted in. | |
Private Attributes | |
| vector< Scenario * > | scenarios_ |
| List of Scenarios this Iteration contains. | |
| SafeVector | final_sizes_ {} |
| SafeVector of sizes that Scenarios have resulted in. | |
| bool | cancelled_ = false |
| Whether this has been cancelled and should stop computing. | |
Represents a full set of simulations using all available weather streams.
|
explicitnoexcept |
Constructor.
| scenarios | List of Scenarios to wrap into Iteration |
|
noexcept |
Mark as cancelled so it stops computing on next event.
| Whether | to log a warning about this being cancelled |
|
nodiscard |
SafeVector of sizes that Scenarios have resulted in.
|
inlinenodiscardnoexcept |
| Iteration * fs::Iteration::reset | ( | mt19937_64 * | mt_extinction, |
| mt19937_64 * | mt_spread ) |
Create new thresholds for use in each Scenario.
| mt_extinction | Extinction thresholds |
| mt_spread | Spread thresholds |
|
nodiscard |
Points in time that ProbabilityMaps get saved for.
|
nodiscardnoexcept |
|
nodiscard |
Time that simulations start.