8#ifndef FMTSEM_H_INCLUDED
9#define FMTSEM_H_INCLUDED
13#include <boost/serialization/vector.hpp>
14#include <boost/serialization/serialization.hpp>
15#include <boost/serialization/nvp.hpp>
16#include <boost/serialization/export.hpp>
38 friend class boost::serialization::access;
39 template<
class Archive>
40 void serialize(Archive& ar,
const unsigned int version)
42 ar & boost::serialization::make_nvp(
"model", boost::serialization::base_object<FMTmodel>(*
this));
43 ar & BOOST_SERIALIZATION_NVP(solution);
45 virtual void swap_ptr(
const std::unique_ptr<FMTmodel>& rhs);
115 std::vector<Core::FMTschedule>
getschedule(
bool withlock=
false)
const;
138 std::vector<Core::FMTactualdevelopment> optionaldevelopments = std::vector<Core::FMTactualdevelopment>())
const;
169 virtual std::unique_ptr<FMTmodel>
clone()
const;
174 virtual std::vector<Core::FMTactualdevelopment>
getarea(
int period = 0,
bool beforegrowanddeath =
false)
const;
180 virtual std::unique_ptr<FMTmodel>
getcopy(
int period = 0)
const;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMToutput.hpp:39
Definition: FMTschedule.hpp:31
Definition: FMTmodel.hpp:60
Definition: FMTsemodel.hpp:33
virtual Spatial::FMTlayer< double > getspatialoutput(const Core::FMToutput &output, int period) const
void LogConstraintsFactors() const
std::string getdisturbancestats() const
FMTsemodel(const FMTmodel &rhs, const Spatial::FMTforest &forest)
std::vector< Core::FMTschedule > getschedule(bool withlock=false) const
Spatial::FMTspatialschedule getspschedule() const
Definition: FMTsemodel.hpp:100
Spatial::FMTforest getmapping() const
bool setinitialmapping(Spatial::FMTforest forest)
Spatial::FMTspatialschedule solution
Contains the builded spatialsolution latest or best one.
Definition: FMTsemodel.hpp:49
virtual double getobjectivevalue() const
virtual std::unique_ptr< FMTmodel > presolve(std::vector< Core::FMTactualdevelopment > optionaldevelopments=std::vector< Core::FMTactualdevelopment >()) const
virtual Core::FMTschedule getsolution(int period, bool withlock=false) const
virtual ~FMTsemodel()=default
virtual std::unique_ptr< FMTmodel > getcopy(int period=0) const
virtual std::vector< Core::FMTactualdevelopment > getarea(int period=0, bool beforegrowanddeath=false) const
FMTsemodel(FMTsemodel &&rhs)=default
void LogConstraintsInfeasibilities() const
FMTsemodel(const FMTsemodel &rhs)
FMTsemodel(const FMTmodel &rhs)
virtual void postsolve(const FMTmodel &originalbasemodel)
virtual std::unique_ptr< FMTmodel > clone() const
virtual std::map< std::string, double > getoutput(const Core::FMToutput &output, int period, Core::FMToutputlevel level=Core::FMToutputlevel::standard) const
Definition: FMTforest.hpp:27
Definition: FMTlayer.hpp:29
Definition: FMTspatialschedule.hpp:44
FMToutputlevel
Definition: FMTutility.hpp:17
@ standard
Definition: FMTutility.hpp:18
Namespace containing all enumerator and classes used to construct or manipulate the different type of...
Definition: FMTareaparser.hpp:50
The spatial namespace provides classes for spatialy explicit simulation/optimization based on raster ...
Definition: FMTareaparser.hpp:36