FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTmodelparameters.hpp>
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. | |
FMTmodelparameters is a class which contains all the informations a model need to be solve by the different types of FMTmodel. Default int parameters are : LENGTH = 30 SEED = 25 NUMBER_OF_ITERATIONS = 10000 PRESOLVE_ITERATIONS = 10 NUMBER_OF_THREADS = 4 Default double parameters are : TOLERANCE = FMT_DBL_TOLERANCE GOALING_SCHEDULE_WEIGHT = 10000 Default bool parameters are : FORCE_PARTIAL_BUILD = false STRICTLY_POSITIVE = true POSTSOLVE = true SHOW_LOCK_IN_SCHEDULES = false
Models::FMTmodelparameters::FMTmodelparameters | ( | ) |
Default constructor
Models::FMTmodelparameters::FMTmodelparameters | ( | const FMTmodelparameters & | rhs | ) |
Copy constructor
|
default |
Default desctructor of FMTmodelparameters.
|
default |
Default move constructor for FMTmodelparameters.
bool Models::FMTmodelparameters::getboolparameter | ( | const FMTboolmodelparameters & | key | ) | const |
std::vector< int > Models::FMTmodelparameters::getcompresstime | ( | ) | const |
double Models::FMTmodelparameters::getdblparameter | ( | const FMTdblmodelparameters & | key | ) | const |
int Models::FMTmodelparameters::getintparameter | ( | const FMTintmodelparameters & | key | ) | const |
int Models::FMTmodelparameters::getperiodcompresstime | ( | const int & | period | ) | const |
FMTmodelparameters & Models::FMTmodelparameters::operator= | ( | const FMTmodelparameters & | rhs | ) |
Copy assignment
|
default |
Default move assignment for FMTmodelparameters.
bool Models::FMTmodelparameters::setboolparameter | ( | const FMTboolmodelparameters & | key, |
const bool & | value | ||
) |
bool Models::FMTmodelparameters::setdblparameter | ( | const FMTdblmodelparameters & | key, |
const double & | value | ||
) |
bool Models::FMTmodelparameters::setintparameter | ( | const FMTintmodelparameters & | key, |
const int & | value | ||
) |
bool Models::FMTmodelparameters::setperiodcompresstime | ( | const int & | period, |
const int & | value | ||
) |
|
friend |