8#ifndef FMTmodelparameters_H_INCLUDED
9#define FMTmodelparameters_H_INCLUDED
13#include <boost/serialization/export.hpp>
14#include <boost/serialization/array.hpp>
15#include <boost/serialization/vector.hpp>
77 friend class boost::serialization::access;
82 template<
class Archive>
83 void serialize(Archive& ar,
const unsigned int version)
86 ar& boost::serialization::make_nvp(
"FMTobject", boost::serialization::base_object<FMTobject>(*
this));
87 ar& BOOST_SERIALIZATION_NVP(intparameters);
88 ar& BOOST_SERIALIZATION_NVP(dblparameters);
89 ar& BOOST_SERIALIZATION_NVP(boolparameters);
90 ar& BOOST_SERIALIZATION_NVP(compresstime);
94 _exhandler->printexceptions(
"",
"FMTmodelparameters::serialize", __LINE__, __FILE__);
98 std::array<int, LastIntModelParam> intparameters;
99 std::array<double, LastDblModelParam> dblparameters;
100 std::array<bool, LastBoolModelParam> boolparameters;
101 std::vector<int> compresstime;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTobject.hpp:50
Definition: FMTmodelparameters.hpp:76
bool getboolparameter(const FMTboolmodelparameters &key) const
std::vector< int > getcompresstime() const
bool setboolparameter(const FMTboolmodelparameters &key, const bool &value)
bool setintparameter(const FMTintmodelparameters &key, const int &value)
FMTmodelparameters(FMTmodelparameters &&rhs)=default
double getdblparameter(const FMTdblmodelparameters &key) const
int getperiodcompresstime(const int &period) const
bool setdblparameter(const FMTdblmodelparameters &key, const double &value)
bool setperiodcompresstime(const int &period, const int &value)
int getintparameter(const FMTintmodelparameters &key) const
FMTmodelparameters(const FMTmodelparameters &rhs)
~FMTmodelparameters()=default
Namespace containing all enumerator and classes used to construct or manipulate the different type of...
Definition: FMTareaparser.hpp:50
FMTdblmodelparameters
Definition: FMTmodelparameters.hpp:37
@ TOLERANCE
Definition: FMTmodelparameters.hpp:38
@ LastDblModelParam
Definition: FMTmodelparameters.hpp:40
@ GOALING_SCHEDULE_WEIGHT
Definition: FMTmodelparameters.hpp:39
FMTintmodelparameters
Definition: FMTmodelparameters.hpp:24
@ LENGTH
Definition: FMTmodelparameters.hpp:25
@ LastIntModelParam
Definition: FMTmodelparameters.hpp:32
@ UPDATE
Definition: FMTmodelparameters.hpp:31
@ SEED
Definition: FMTmodelparameters.hpp:26
@ MATRIX_TYPE
Definition: FMTmodelparameters.hpp:30
@ NUMBER_OF_THREADS
Definition: FMTmodelparameters.hpp:29
@ PRESOLVE_ITERATIONS
Definition: FMTmodelparameters.hpp:28
@ NUMBER_OF_ITERATIONS
Definition: FMTmodelparameters.hpp:27
FMTboolmodelparameters
Definition: FMTmodelparameters.hpp:45
@ DEBUG_MATRIX
Definition: FMTmodelparameters.hpp:51
@ LastBoolModelParam
Definition: FMTmodelparameters.hpp:52
@ SHOW_LOCK_IN_SCHEDULES
Definition: FMTmodelparameters.hpp:49
@ PRESOLVE_CAN_REMOVE_STATIC_THEMES
Definition: FMTmodelparameters.hpp:50
@ STRICTLY_POSITIVE
Definition: FMTmodelparameters.hpp:47
@ FORCE_PARTIAL_BUILD
Definition: FMTmodelparameters.hpp:46
@ POSTSOLVE
Definition: FMTmodelparameters.hpp:48