DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <shipsstats.h>
Classes | |
struct | StatData |
Public Member Functions | |
ShipsStats () | |
~ShipsStats () noexcept=default | |
ShipsStats (const ShipsStats &b) | |
ShipsStats (ShipsStats &&b) | |
ShipsStats & | operator= (const ShipsStats &b) |
ShipsStats & | operator= (ShipsStats &&b) |
bool | dirty () const |
void | setDirty (bool dirty=true) |
void | clear () |
void | collectNbTransportedUnits (int step, int shipid, int shiptypeid, double nb_transported_units) |
void | collectFuelUseHour (int step, int shipid, int shiptypeid, double fuel_use_h) |
void | collectNOxEmissiongPerkW (int step, int shipid, int shiptypeid, double NOx_emission_gperkW) |
void | collectSOxEmissionPercentPerTotalFuelmass (int step, int shipid, int shiptypeid, double SOx_emission_percentpertotalfuelmass) |
void | collectGHGemissiongPerkW (int step, int shipid, int shiptypeid, double GHG_emission_gperkW) |
void | collectPMEemissiongPerkW (int step, int shipid, int shiptypeid, double PME_emission_gperkW) |
void | collectfuelUseLitre (int step, int shipid, int shiptypeid, double fuel_use_litre) |
void | collectNOxEmission (int step, int shipid, int shiptypeid, double NOx_emission) |
void | collectSOxEmission (int step, int shipid, int shiptypeid, double SOx_emission) |
void | collectGHGemission (int step, int shipid, int shiptypeid, double GHG_emission) |
void | collectPMEemission (int step, int shipid, int shiptypeid, double PME_emission) |
double | NbTransportedUnitsForShipAndShipGroup (int shipid, int shiptypeid) const |
double | FuelPerHourForShipAndShipGroup (int shipid, int shiptypeid) const |
double | NOxEmissionFactorForShipAndShipGroup (int shipid, int shiptypeid) const |
double | SOxEmissionFactorForShipAndShipGroup (int shipid, int shiptypeid) const |
double | GHGEmissionFactorForShipAndShipGroup (int shipid, int shiptypeid) const |
double | PMEEmissionFactorForShipAndShipGroup (int shipid, int shiptypeid) const |
double | FuelUseLitreForShipAndShipGroup (int shipid, int shiptypeid) const |
double | NOxEmissionForShipAndShipGroup (int shipid, int shiptypeid) const |
double | SOxEmissionForShipAndShipGroup (int shipid, int shiptypeid) const |
double | GHGEmissionForShipAndShipGroup (int shipid, int shiptypeid) const |
double | PMEEmissionForShipAndShipGroup (int shipid, int shiptypeid) const |
Static Public Attributes | |
static const ShipsStats::StatData | NoData |
ShipsStats::ShipsStats | ( | ) |
|
defaultnoexcept |
ShipsStats::ShipsStats | ( | const ShipsStats & | b | ) |
ShipsStats::ShipsStats | ( | ShipsStats && | b | ) |
void ShipsStats::clear | ( | ) |
void ShipsStats::collectFuelUseHour | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | fuel_use_h | ||
) |
void ShipsStats::collectfuelUseLitre | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | fuel_use_litre | ||
) |
void ShipsStats::collectGHGemission | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | GHG_emission | ||
) |
void ShipsStats::collectGHGemissiongPerkW | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | GHG_emission_gperkW | ||
) |
void ShipsStats::collectNbTransportedUnits | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | nb_transported_units | ||
) |
void ShipsStats::collectNOxEmission | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | NOx_emission | ||
) |
void ShipsStats::collectNOxEmissiongPerkW | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | NOx_emission_gperkW | ||
) |
void ShipsStats::collectPMEemission | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | PME_emission | ||
) |
void ShipsStats::collectPMEemissiongPerkW | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | PME_emission_gperkW | ||
) |
void ShipsStats::collectSOxEmission | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | SOx_emission | ||
) |
void ShipsStats::collectSOxEmissionPercentPerTotalFuelmass | ( | int | step, |
int | shipid, | ||
int | shiptypeid, | ||
double | SOx_emission_percentpertotalfuelmass | ||
) |
|
inline |
double ShipsStats::FuelPerHourForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::FuelUseLitreForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::GHGEmissionFactorForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::GHGEmissionForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::NbTransportedUnitsForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::NOxEmissionFactorForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::NOxEmissionForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
ShipsStats & ShipsStats::operator= | ( | const ShipsStats & | b | ) |
ShipsStats & ShipsStats::operator= | ( | ShipsStats && | b | ) |
double ShipsStats::PMEEmissionFactorForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::PMEEmissionForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
|
inline |
double ShipsStats::SOxEmissionFactorForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
double ShipsStats::SOxEmissionForShipAndShipGroup | ( | int | shipid, |
int | shiptypeid | ||
) | const |
|
static |