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

#include <FMToutputnode.hpp>

Collaboration diagram for Core::FMToutputnode:
[legend]

Public Member Functions

 FMToutputnode ()
 
 FMToutputnode (const FMToutputsource &lsource, const FMToutputsource &lfactor, const double &lconstant)
 
 FMToutputnode (const FMToutputnode &rhs)
 
 FMToutputnode (const Core::FMTmask &generalmask, const std::string &actionaggregate)
 
size_t hash () const
 
size_t hashforvalue () const
 
bool allowcashdeduction () const
 
bool singleperiod () const
 
bool multiperiod () const
 
bool ispastperiod () const
 
bool isnull () const
 
bool operator< (const FMToutputnode &rhs) const
 
bool operator== (const FMToutputnode &rhs) const
 
bool issubsetof (const FMToutputnode &rhs) const
 
bool issubsetof (const FMToutputnode &rhs, const std::vector< Core::FMTaction > &actions) const
 
bool issamebutdifferentaction (const FMToutputnode &rhs) const
 
int getoutputid () const
 
bool isactionbased () const
 
bool issamevalues (const FMToutputnode &rhs) const
 
 operator std::string () const
 
std::string gethashstring () const
 
Core::FMTmask gethashmask () const
 
void fillhashmaskspec (Core::FMTmask &basemask) const
 
FMToutputnode setperiod (int period) const
 
FMToutputnodeoperator= (const FMToutputnode &rhs)
 
int settograph (std::vector< int > &targetedperiods, int period, int max_period)
 
 ~FMToutputnode ()=default
 
void fillupequation (std::map< std::string, std::vector< std::string > > &allequations, const std::map< std::string, double > &graphvalues, const std::vector< std::string > &equation, const size_t &nodeid) const
 

Public Attributes

FMToutputsource source
 
FMToutputsource factor
 
double constant
 

Constructor & Destructor Documentation

◆ FMToutputnode() [1/4]

Core::FMToutputnode::FMToutputnode ( )

◆ FMToutputnode() [2/4]

Core::FMToutputnode::FMToutputnode ( const FMToutputsource lsource,
const FMToutputsource lfactor,
const double &  lconstant 
)

◆ FMToutputnode() [3/4]

Core::FMToutputnode::FMToutputnode ( const FMToutputnode rhs)

◆ FMToutputnode() [4/4]

Core::FMToutputnode::FMToutputnode ( const Core::FMTmask generalmask,
const std::string &  actionaggregate 
)

This constructor will create a general node targeting an action name or actions aggregate. It meant to be used with the scheduler heuristic.

◆ ~FMToutputnode()

Core::FMToutputnode::~FMToutputnode ( )
default

Member Function Documentation

◆ allowcashdeduction()

bool Core::FMToutputnode::allowcashdeduction ( ) const

◆ fillhashmaskspec()

void Core::FMToutputnode::fillhashmaskspec ( Core::FMTmask basemask) const

◆ fillupequation()

void Core::FMToutputnode::fillupequation ( std::map< std::string, std::vector< std::string > > &  allequations,
const std::map< std::string, double > &  graphvalues,
const std::vector< std::string > &  equation,
const size_t &  nodeid 
) const

◆ gethashmask()

Core::FMTmask Core::FMToutputnode::gethashmask ( ) const

◆ gethashstring()

std::string Core::FMToutputnode::gethashstring ( ) const

◆ getoutputid()

int Core::FMToutputnode::getoutputid ( ) const
inline

◆ hash()

size_t Core::FMToutputnode::hash ( ) const

◆ hashforvalue()

size_t Core::FMToutputnode::hashforvalue ( ) const

◆ isactionbased()

bool Core::FMToutputnode::isactionbased ( ) const
inline

◆ isnull()

bool Core::FMToutputnode::isnull ( ) const

◆ ispastperiod()

bool Core::FMToutputnode::ispastperiod ( ) const

◆ issamebutdifferentaction()

bool Core::FMToutputnode::issamebutdifferentaction ( const FMToutputnode rhs) const

◆ issamevalues()

bool Core::FMToutputnode::issamevalues ( const FMToutputnode rhs) const

◆ issubsetof() [1/2]

bool Core::FMToutputnode::issubsetof ( const FMToutputnode rhs) const

◆ issubsetof() [2/2]

bool Core::FMToutputnode::issubsetof ( const FMToutputnode rhs,
const std::vector< Core::FMTaction > &  actions 
) const

◆ multiperiod()

bool Core::FMToutputnode::multiperiod ( ) const

◆ operator std::string()

Core::FMToutputnode::operator std::string ( ) const

◆ operator<()

bool Core::FMToutputnode::operator< ( const FMToutputnode rhs) const

◆ operator=()

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

◆ operator==()

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

◆ setperiod()

FMToutputnode Core::FMToutputnode::setperiod ( int  period) const

◆ settograph()

int Core::FMToutputnode::settograph ( std::vector< int > &  targetedperiods,
int  period,
int  max_period 
)

◆ singleperiod()

bool Core::FMToutputnode::singleperiod ( ) const

Member Data Documentation

◆ constant

double Core::FMToutputnode::constant

◆ factor

FMToutputsource Core::FMToutputnode::factor

◆ source

FMToutputsource Core::FMToutputnode::source

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