DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
FishfarmsStats Class Reference

#include <fishfarmsstats.h>

Classes

struct  StatData
 

Public Member Functions

 FishfarmsStats ()
 
 ~FishfarmsStats () noexcept=default
 
 FishfarmsStats (const FishfarmsStats &b)
 
 FishfarmsStats (FishfarmsStats &&b)
 
FishfarmsStatsoperator= (const FishfarmsStats &b)
 
FishfarmsStatsoperator= (FishfarmsStats &&b)
 
bool dirty () const
 
void setDirty (bool dirty=true)
 
void clear ()
 
void collectMeanWeightKg (int step, int farmid, int farmtypeid, double meanw_kg)
 
void collectFishHarvestedKg (int step, int farmid, int farmtypeid, double fish_harvested_kg)
 
void collectEggsHarvestedKg (int step, int farmid, int farmtypeid, double eggs_harvested_kg)
 
void collectFishfarmAnnualProfit (int step, int farmid, int farmtypeid, double fishfarm_annual_profit)
 
void collectNetDischargeN (int step, int farmid, int farmtypeid, double net_discharge_N)
 
void collectNetDischargeP (int step, int farmid, int farmtypeid, double net_discharge_P)
 
void collectCumulNetDischargeN (int step, int farmid, int farmtypeid, double cumul_net_discharge_N)
 
void collectCumulNetDischargeP (int step, int farmid, int farmtypeid, double cumul_net_discharge_P)
 
double meanwForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double fishharvestedkgForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double eggsharvestedkgForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double annualprofitForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double netdischargeNForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double netdischargePForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double cumulnetdischargeNForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 
double cumulnetdischargePForFishfarmAndFarmGroup (int farmid, int farmtypeid) const
 

Static Public Attributes

static const FishfarmsStats::StatData NoData
 

Constructor & Destructor Documentation

◆ FishfarmsStats() [1/3]

FishfarmsStats::FishfarmsStats ( )

◆ ~FishfarmsStats()

FishfarmsStats::~FishfarmsStats ( )
defaultnoexcept

◆ FishfarmsStats() [2/3]

FishfarmsStats::FishfarmsStats ( const FishfarmsStats b)

◆ FishfarmsStats() [3/3]

FishfarmsStats::FishfarmsStats ( FishfarmsStats &&  b)

Member Function Documentation

◆ annualprofitForFishfarmAndFarmGroup()

double FishfarmsStats::annualprofitForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ clear()

void FishfarmsStats::clear ( )

◆ collectCumulNetDischargeN()

void FishfarmsStats::collectCumulNetDischargeN ( int  step,
int  farmid,
int  farmtypeid,
double  cumul_net_discharge_N 
)

◆ collectCumulNetDischargeP()

void FishfarmsStats::collectCumulNetDischargeP ( int  step,
int  farmid,
int  farmtypeid,
double  cumul_net_discharge_P 
)

◆ collectEggsHarvestedKg()

void FishfarmsStats::collectEggsHarvestedKg ( int  step,
int  farmid,
int  farmtypeid,
double  eggs_harvested_kg 
)

◆ collectFishfarmAnnualProfit()

void FishfarmsStats::collectFishfarmAnnualProfit ( int  step,
int  farmid,
int  farmtypeid,
double  fishfarm_annual_profit 
)

◆ collectFishHarvestedKg()

void FishfarmsStats::collectFishHarvestedKg ( int  step,
int  farmid,
int  farmtypeid,
double  fish_harvested_kg 
)

◆ collectMeanWeightKg()

void FishfarmsStats::collectMeanWeightKg ( int  step,
int  farmid,
int  farmtypeid,
double  meanw_kg 
)

◆ collectNetDischargeN()

void FishfarmsStats::collectNetDischargeN ( int  step,
int  farmid,
int  farmtypeid,
double  net_discharge_N 
)

◆ collectNetDischargeP()

void FishfarmsStats::collectNetDischargeP ( int  step,
int  farmid,
int  farmtypeid,
double  net_discharge_P 
)

◆ cumulnetdischargeNForFishfarmAndFarmGroup()

double FishfarmsStats::cumulnetdischargeNForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ cumulnetdischargePForFishfarmAndFarmGroup()

double FishfarmsStats::cumulnetdischargePForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ dirty()

bool FishfarmsStats::dirty ( ) const
inline

◆ eggsharvestedkgForFishfarmAndFarmGroup()

double FishfarmsStats::eggsharvestedkgForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ fishharvestedkgForFishfarmAndFarmGroup()

double FishfarmsStats::fishharvestedkgForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ meanwForFishfarmAndFarmGroup()

double FishfarmsStats::meanwForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ netdischargeNForFishfarmAndFarmGroup()

double FishfarmsStats::netdischargeNForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ netdischargePForFishfarmAndFarmGroup()

double FishfarmsStats::netdischargePForFishfarmAndFarmGroup ( int  farmid,
int  farmtypeid 
) const

◆ operator=() [1/2]

FishfarmsStats & FishfarmsStats::operator= ( const FishfarmsStats b)

◆ operator=() [2/2]

FishfarmsStats & FishfarmsStats::operator= ( FishfarmsStats &&  b)

◆ setDirty()

void FishfarmsStats::setDirty ( bool  dirty = true)
inline

Member Data Documentation

◆ NoData

const FishfarmsStats::StatData FishfarmsStats::NoData
static

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