FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Models::FMTmodelstats Class Reference

#include <FMTmodelstats.hpp>

Public Member Functions

 FMTmodelstats (const size_t &lthemes, const size_t &lthemesdata, const size_t &lactions, const size_t &lactionsdata, const size_t &ltransitions, const size_t &ltransitionsdata, const size_t &lyieldsdata, const size_t &llifespansdata, const size_t &loutputs, const size_t &loutputsdata, const size_t &lconstraints, const size_t &lconstraintsdata)
 
 FMTmodelstats ()=default
 
 FMTmodelstats (const FMTmodelstats &rhs)=default
 
 ~FMTmodelstats ()=default
 
FMTmodelstatsoperator= (const FMTmodelstats &rhs)=default
 
FMTmodelstatsoperator+= (const FMTmodelstats &rhs)
 
FMTmodelstatsoperator-= (const FMTmodelstats &rhs)
 
FMTmodelstats operator+ (const FMTmodelstats &rhs)
 
FMTmodelstats operator- (const FMTmodelstats &rhs)
 
bool operator== (const FMTmodelstats &rhs) const
 
bool operator!= (const FMTmodelstats &rhs) const
 
 operator std::string () const
 

Public Attributes

int themes
 The number of themes the FMTmodel.
 
int themesdata
 The themes's data size.
 
int actions
 The number of actions of the FMTmodel.
 
int actionsdata
 The actions's data size.
 
int transitions
 The number of transitions of the FMTmodel.
 
int transitionsdata
 The transitions's data size.
 
int yieldsdata
 The yields's data size.
 
int lifespansdata
 The lifespans's data size.
 
int outputs
 The number of outputs of the FMTmodel.
 
int outputsdata
 The outputsdata's data size.
 
int constraints
 The number of constraints of the FMTmodel.
 
int constraintsdata
 The constraintsdata's data size.
 

Friends

class boost::serialization::access
 

Detailed Description

This class is used to report the stats of a FMTmodel. Used alot with the presolve and postsolve functions. Calling presolve or postsolve will changes the model stats.

Constructor & Destructor Documentation

◆ FMTmodelstats() [1/3]

Models::FMTmodelstats::FMTmodelstats ( const size_t &  lthemes,
const size_t &  lthemesdata,
const size_t &  lactions,
const size_t &  lactionsdata,
const size_t &  ltransitions,
const size_t &  ltransitionsdata,
const size_t &  lyieldsdata,
const size_t &  llifespansdata,
const size_t &  loutputs,
const size_t &  loutputsdata,
const size_t &  lconstraints,
const size_t &  lconstraintsdata 
)

FMTmodelstats constructor for complete stats.

◆ FMTmodelstats() [2/3]

Models::FMTmodelstats::FMTmodelstats ( )
default

FMTmodelstats default constructor.

◆ FMTmodelstats() [3/3]

Models::FMTmodelstats::FMTmodelstats ( const FMTmodelstats rhs)
default

FMTmodelstats default copy constructor.

◆ ~FMTmodelstats()

Models::FMTmodelstats::~FMTmodelstats ( )
default

FMTmodelstats destructor.

Member Function Documentation

◆ operator std::string()

Models::FMTmodelstats::operator std::string ( ) const

FMTmodelstats to string operator.

◆ operator!=()

bool Models::FMTmodelstats::operator!= ( const FMTmodelstats rhs) const

FMTmodelstats non equality operator.

◆ operator+()

FMTmodelstats Models::FMTmodelstats::operator+ ( const FMTmodelstats rhs)

FMTmodelstats copy addition assignment with an other FMTmodelstats (rhs)

◆ operator+=()

FMTmodelstats & Models::FMTmodelstats::operator+= ( const FMTmodelstats rhs)

FMTmodelstats addition assignment with an other FMTmodelstats (rhs)

◆ operator-()

FMTmodelstats Models::FMTmodelstats::operator- ( const FMTmodelstats rhs)

FMTmodelstats copy substraction assignment with an other FMTmodelstats (rhs)

◆ operator-=()

FMTmodelstats & Models::FMTmodelstats::operator-= ( const FMTmodelstats rhs)

FMTmodelstats substraction assignment with an other FMTmodelstats (rhs)

◆ operator=()

FMTmodelstats & Models::FMTmodelstats::operator= ( const FMTmodelstats rhs)
default

FMTmodelstats default copy assignment.

◆ operator==()

bool Models::FMTmodelstats::operator== ( const FMTmodelstats rhs) const

FMTmodelstats equality operator.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ actions

int Models::FMTmodelstats::actions

The number of actions of the FMTmodel.

◆ actionsdata

int Models::FMTmodelstats::actionsdata

The actions's data size.

◆ constraints

int Models::FMTmodelstats::constraints

The number of constraints of the FMTmodel.

◆ constraintsdata

int Models::FMTmodelstats::constraintsdata

The constraintsdata's data size.

◆ lifespansdata

int Models::FMTmodelstats::lifespansdata

The lifespans's data size.

◆ outputs

int Models::FMTmodelstats::outputs

The number of outputs of the FMTmodel.

◆ outputsdata

int Models::FMTmodelstats::outputsdata

The outputsdata's data size.

◆ themes

int Models::FMTmodelstats::themes

The number of themes the FMTmodel.

◆ themesdata

int Models::FMTmodelstats::themesdata

The themes's data size.

◆ transitions

int Models::FMTmodelstats::transitions

The number of transitions of the FMTmodel.

◆ transitionsdata

int Models::FMTmodelstats::transitionsdata

The transitions's data size.

◆ yieldsdata

int Models::FMTmodelstats::yieldsdata

The yields's data size.


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