8#ifndef FMTSESM_H_INCLUDED
9#define FMTSESM_H_INCLUDED
12#include <boost/serialization/vector.hpp>
13#include <boost/serialization/serialization.hpp>
14#include <boost/serialization/nvp.hpp>
15#include <boost/serialization/export.hpp>
33 friend class boost::serialization::access;
34 template<
class Archive>
35 void serialize(Archive& ar,
const unsigned int version)
37 ar & boost::serialization::make_nvp(
"semodel", boost::serialization::base_object<FMTsemodel>(*
this));
39 virtual void swap_ptr(
const std::unique_ptr<FMTmodel>& rhs);
98 const size_t& randomiterations,
99 unsigned int seed = 0,
105 virtual std::unique_ptr<FMTmodel>
clone()
const;
110 virtual bool build(std::vector<Core::FMTschedule> schedules=std::vector<Core::FMTschedule>());
124 virtual std::unique_ptr<FMTmodel>
presolve(std::vector<Core::FMTactualdevelopment> optionaldevelopments = std::vector<Core::FMTactualdevelopment>())
const;
132 virtual std::unique_ptr<FMTmodel>
getcopy(
int period = 0)
const;
#define FMT_DBL_TOLERANCE
Definition: FMTutility.hpp:11
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTschedule.hpp:31
Definition: FMTmodel.hpp:60
Definition: FMTsemodel.hpp:33
Definition: FMTsesmodel.hpp:28
virtual bool solve()
Definition: FMTsesmodel.hpp:115
std::string getdisturbancestats() const
FMTsesmodel(const FMTmodel &rhs)
std::map< std::string, double > greedyreferencebuild(const Core::FMTschedule &schedule, const size_t &randomiterations, unsigned int seed=0, double tolerance=FMT_DBL_TOLERANCE)
virtual std::unique_ptr< FMTmodel > clone() const
FMTsesmodel(FMTsesmodel &&rhs)=default
virtual bool build(std::vector< Core::FMTschedule > schedules=std::vector< Core::FMTschedule >())
virtual std::unique_ptr< FMTmodel > getcopy(int period=0) const
FMTsesmodel(const FMTmodel &rhs, const Spatial::FMTforest &forest)
virtual std::unique_ptr< FMTmodel > presolve(std::vector< Core::FMTactualdevelopment > optionaldevelopments=std::vector< Core::FMTactualdevelopment >()) const
FMTsesmodel(const FMTsesmodel &rhs)
Definition: FMTforest.hpp:27
Namespace containing all enumerator and classes used to construct or manipulate the different type of...
Definition: FMTareaparser.hpp:50