FireSTARR
Loading...
Searching...
No Matches
fs::wx::FireWeatherDaily Class Reference

A stream of weather that gets used by a Scenario every Iteration. More...

#include <FireWeatherDaily.h>

Inheritance diagram for fs::wx::FireWeatherDaily:
Collaboration diagram for fs::wx::FireWeatherDaily:

Public Member Functions

virtual ~FireWeatherDaily ()=default
 Destructor.
 
 FireWeatherDaily (const set< const fuel::FuelType * > &used_fuels, const map< Day, FwiWeather > &data)
 Constructor.
 
 FireWeatherDaily (FireWeatherDaily &&rhs)=default
 Move constructor.
 
 FireWeatherDaily (const FireWeatherDaily &rhs)=delete
 
FireWeatherDailyoperator= (FireWeatherDaily &&rhs) noexcept=default
 Move assignment.
 
FireWeatherDailyoperator= (const FireWeatherDaily &rhs)=delete
 
- Public Member Functions inherited from fs::wx::FireWeather
virtual ~FireWeather ()
 Destructor.
 
 FireWeather (FireWeather &&rhs)=default
 Move constructor.
 
 FireWeather (const FireWeather &rhs)=delete
 
FireWeatheroperator= (FireWeather &&rhs) noexcept=default
 Move assignment.
 
FireWeatheroperator= (const FireWeather &rhs)=delete
 
const FwiWeatherat (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.
 

Detailed Description

A stream of weather that gets used by a Scenario every Iteration.

Constructor & Destructor Documentation

◆ FireWeatherDaily() [1/2]

fs::wx::FireWeatherDaily::FireWeatherDaily ( const set< const fuel::FuelType * > & used_fuels,
const map< Day, FwiWeather > & data )

Constructor.

Parameters
used_fuelsset of FuelTypes that are used in the simulation
datamap of Day to FwiWeather to use for weather stream

◆ FireWeatherDaily() [2/2]

fs::wx::FireWeatherDaily::FireWeatherDaily ( FireWeatherDaily && rhs)
default

Move constructor.

Parameters
rhsFireWeatherDaily to move from

Member Function Documentation

◆ operator=()

FireWeatherDaily & fs::wx::FireWeatherDaily::operator= ( FireWeatherDaily && rhs)
defaultnoexcept

Move assignment.

Parameters
rhsFireWeatherDaily to move from
Returns
This, after assignment

The documentation for this class was generated from the following files: