![]() |
FireSTARR
|
A stream of weather that gets used by a Scenario every Iteration. More...
#include <FireWeather.h>
Public Member Functions | |
virtual | ~FireWeather () |
Destructor. | |
FireWeather (FireWeather &&rhs)=default | |
Move constructor. | |
FireWeather (const FireWeather &rhs)=delete | |
FireWeather & | operator= (FireWeather &&rhs) noexcept=default |
Move assignment. | |
FireWeather & | operator= (const FireWeather &rhs)=delete |
const FwiWeather * | at (const DurationSize time) const |
Get FwiWeather for given time. | |
ThresholdSize | survivalProbability (const DurationSize time, const FuelCodeSize &in_fuel) const |
Probability of survival in given fuel at given time. | |
constexpr Day | minDate () const |
Minimum date present in FireWeather. | |
constexpr Day | maxDate () const |
Maximum date present in FireWeather. | |
constexpr size_t | weightedDsr () const noexcept |
Weighted Danger Severity Rating for the stream. | |
const vector< const FwiWeather * > * | getWeather () |
Weather by hour by day. | |
FireWeather (const set< const fuel::FuelType * > &used_fuels, Day min_date, Day max_date, vector< const FwiWeather * > *weather_by_hour_by_day) | |
Constructor. | |
Private Attributes | |
const vector< const FwiWeather * > * | weather_by_hour_by_day_ |
FwiWeather by hour by Day. | |
const SurvivalMap * | survival_probability_ |
Probability of survival for fuels fuel at each time. | |
Day | min_date_ |
Minimum date present in stream. | |
Day | max_date_ |
Maximum date present in stream. | |
size_t | weighted_dsr_ |
Weighted Danger Severity Rating for the stream. | |
A stream of weather that gets used by a Scenario every Iteration.
|
default |
Move constructor.
rhs | FireWeather to move from |
fs::wx::FireWeather::FireWeather | ( | const set< const fuel::FuelType * > & | used_fuels, |
Day | min_date, | ||
Day | max_date, | ||
vector< const FwiWeather * > * | weather_by_hour_by_day ) |
Constructor.
used_fuels | set of FuelTypes that are used in the simulation |
min_date | Minimum date present in stream |
max_date | Maximum date present in stream |
weather_by_hour_by_day | FwiWeather by hour by Day |
|
inlinenodiscard |
Get FwiWeather for given time.
time | Time to get weather for |
|
inlinenodiscard |
|
inlinenodiscardconstexpr |
Maximum date present in FireWeather.
|
inlinenodiscardconstexpr |
Minimum date present in FireWeather.
|
defaultnoexcept |
|
inlinenodiscard |
Probability of survival in given fuel at given time.
time | Time to get survival probability for |
in_fuel | FuelCodeSize of FuelType to use |
|
inlinenodiscardconstexprnoexcept |
Weighted Danger Severity Rating for the stream.