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

#include <FMTfuturdevelopment.hpp>

Inheritance diagram for Core::FMTfuturdevelopment:
[legend]
Collaboration diagram for Core::FMTfuturdevelopment:
[legend]

Public Member Functions

 FMTfuturdevelopment ()
 
 ~FMTfuturdevelopment ()=default
 
 FMTfuturdevelopment (const FMTdevelopment &dev)
 
 FMTfuturdevelopment (const FMTfuturdevelopment &rhs)
 
bool operator== (const FMTfuturdevelopment &rhs) const
 
FMTfuturdevelopmentoperator= (const FMTfuturdevelopment &rhs)
 
std::unique_ptr< FMTdevelopmentClone () const override
 
double getarea () const override
 
- Public Member Functions inherited from Core::FMTdevelopment
int getage () const
 
int getlock () const
 
int getperiod () const
 
const Core::FMTmaskgetmask () const
 
Core::FMTmask getmaskcopy () const
 
void setage (const int &lage)
 
void setlock (const int &llock)
 
void setperiod (const int &lperiod)
 
void setmask (const Core::FMTmask &lmask)
 
 FMTdevelopment ()
 
virtual ~FMTdevelopment ()=default
 
 FMTdevelopment (const FMTmask &mask, const int &age, const int &lock)
 
 FMTdevelopment (const FMTmask &lmask, const int &lage, const int &llock, const int &lperiod)
 
 FMTdevelopment (const FMTdevelopment &rhs)
 
virtual std::unique_ptr< FMTdevelopmentClone () const
 
FMTdevelopmentoperator= (const FMTdevelopment &rhs)
 
bool operator== (const FMTdevelopment &rhs) const
 
bool operator!= (const FMTdevelopment &rhs) const
 
bool operator< (const FMTdevelopment &rhs) const
 
FMTfuturdevelopment grow () const
 
FMTyieldrequest getyieldrequest (const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
bool operable (const FMTaction &action, const Core::FMTyields &ylds, const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
bool anyoperable (const std::vector< const FMTaction * > &actions, const Core::FMTyields &ylds, const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
virtual operator std::string () const
 
virtual double getarea () const
 
FMTdevelopment clearlock () const
 
std::vector< FMTdevelopmentpathoperate (const FMTaction &action, const FMTtransition &Transition, const Core::FMTyields &ylds, const std::vector< FMTtheme > &themes) const
 
double getinventorycoef (const Core::FMTyields &ylds, const std::string &target_yield, const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
double getharvestcoef (const std::vector< FMTdevelopmentpath > &topaths, const FMTaction &action, const Core::FMTyields &ylds, const std::string &target_yield, const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
bool is (const FMTspec &specification, const Core::FMTyields &ylds, const Graph::FMTgraphvertextoyield *graphyieldrequest=nullptr) const
 
bool worthtestingoperability (const FMTaction &action) const
 
std::vector< int > anyworthtestingoperability (const std::vector< const FMTaction * > &actions, const FMTaction &firstaction) const
 
std::vector< bool > isanyworthtestingoperability (const std::vector< const FMTaction * > &actions, const std::vector< FMTaction > &allactions) const noexcept
 
size_t hash () const
 
- Public Member Functions inherited from Core::FMTobject
 FMTobject ()
 
virtual ~FMTobject ()
 
 FMTobject (const std::shared_ptr< Exception::FMTexceptionhandler > exhandler)
 
 FMTobject (const FMTobject &rhs)
 
FMTobjectoperator= (const FMTobject &rhs)
 
virtual void passinlogger (const std::shared_ptr< Logging::FMTlogger > &logger)
 
void passinexceptionhandler (const std::shared_ptr< Exception::FMTexceptionhandler > &exhandler)
 
void redirectlogtofile (const std::string &location)
 
virtual void setdefaultlogger ()
 
virtual void setquietlogger ()
 
virtual void settasklogger ()
 
virtual void setdebuglogger ()
 
void setdefaultexceptionhandler ()
 
void setquietexceptionhandler ()
 
void setdebugexceptionhandler ()
 
void setfreeexceptionhandler ()
 
void disablenestedexceptions ()
 
void enablenestedexceptions ()
 
void seterrorstowarnings (const std::vector< Exception::FMTexc > &errors)
 
void setmaxwarningsbeforesilenced (const size_t &maxwarningcount)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Static Public Member Functions inherited from Core::FMTobject
static std::string getruntimelocation ()
 
static unsigned long long getavailablememory ()
 
- Protected Member Functions inherited from Core::FMTobject
template<class Archive >
void forcesave (Archive &ar, const unsigned int version) const
 
template<class Archive >
void forceload (Archive &ar, const unsigned int version)
 
void checksignals () const
 
void setCPLhandler ()
 
- Static Protected Member Functions inherited from Core::FMTobject
static std::chrono::time_point< std::chrono::high_resolution_clock > getclock ()
 
template<class chrono >
static double getduration (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock)
 
static std::string getdurationinseconds (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock)
 
- Static Protected Attributes inherited from Core::FMTobject
static std::shared_ptr< Exception::FMTexceptionhandler_exhandler
 A shared pointer to the exception handler.
 
static std::shared_ptr< Logging::FMTlogger_logger
 A shared pointer to the logger.
 

Detailed Description

FMTfuturdevelopement is the child class of FMTdevelopement. It represent the description of a futur stand that does not exist in the actual forest and is generated by growth or by transition.

Constructor & Destructor Documentation

◆ FMTfuturdevelopment() [1/3]

Core::FMTfuturdevelopment::FMTfuturdevelopment ( )

Default constructor for FMTfuturdevelopement

◆ ~FMTfuturdevelopment()

Core::FMTfuturdevelopment::~FMTfuturdevelopment ( )
default

Default destructor for FMTfuturdevelopement.

◆ FMTfuturdevelopment() [2/3]

Core::FMTfuturdevelopment::FMTfuturdevelopment ( const FMTdevelopment dev)

FMTdevelopement constructor using a FMTdevelopment.

◆ FMTfuturdevelopment() [3/3]

Core::FMTfuturdevelopment::FMTfuturdevelopment ( const FMTfuturdevelopment rhs)

FMTfuturdevelopement copy constructor.

Member Function Documentation

◆ Clone()

std::unique_ptr< FMTdevelopment > Core::FMTfuturdevelopment::Clone ( ) const
overridevirtual

FMTfuturdevelopement copy assignment.

Reimplemented from Core::FMTdevelopment.

◆ getarea()

double Core::FMTfuturdevelopment::getarea ( ) const
overridevirtual

Return the area of the futur developement 0.

Reimplemented from Core::FMTdevelopment.

◆ operator=()

FMTfuturdevelopment & Core::FMTfuturdevelopment::operator= ( const FMTfuturdevelopment rhs)

FMTfuturdevelopement copy assignment.

◆ operator==()

bool Core::FMTfuturdevelopment::operator== ( const FMTfuturdevelopment rhs) const

FMTfuturdevelopement equality operator.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Serialize function is for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)


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