10#ifndef FMToperatingareacluster_H_INCLUDED
11#define FMToperatingareacluster_H_INCLUDED
14#include <boost/serialization/serialization.hpp>
15#include <boost/serialization/nvp.hpp>
16#include <boost/serialization/export.hpp>
29 friend class boost::serialization::access;
34 template<
class Archive>
35 void serialize(Archive& ar,
const unsigned int version)
37 ar & BOOST_SERIALIZATION_NVP(maxvar);
38 ar & BOOST_SERIALIZATION_NVP(minvar);
39 ar & BOOST_SERIALIZATION_NVP(minimalarea);
40 ar & BOOST_SERIALIZATION_NVP(maximalarea);
41 ar & BOOST_SERIALIZATION_NVP(binaries);
42 ar & BOOST_SERIALIZATION_NVP(centroid);
58 std::vector<FMToperatingareaclusterbinary>binaries;
73 const std::vector<FMToperatingareaclusterbinary>& neighborsbinaries);
80 const double& lminimalarea,
81 const double& lmaximalarea);
114 inline std::vector<FMToperatingareaclusterbinary>
getbinaries()
const
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTmask.hpp:96
Definition: FMToperatingareacluster.hpp:28
double getrealminimalarea() const
Definition: FMToperatingareacluster.hpp:153
FMToperatingareacluster getfilteredcluster(const Core::FMTmask &filtermask) const
void setmaximalobjectivevariable(const int &lmaxvar)
FMToperatingareacluster()=default
int getminimalobjectivevariable() const
Definition: FMToperatingareacluster.hpp:130
double getmaximalstats() const
std::vector< FMToperatingareaclusterbinary > getbinaries() const
Definition: FMToperatingareacluster.hpp:114
bool isvalidarea(const double &area) const
FMToperatingareacluster(const FMToperatingareaclusterbinary &localcentroid, const std::vector< FMToperatingareaclusterbinary > &neighborsbinaries)
FMToperatingareacluster(const FMToperatingareacluster &basecluster, const double &lminimalarea, const double &lmaximalarea)
const FMToperatingareaclusterbinary & getbinary(const Core::FMTmask &mask) const
void setmaximalarea(const double &newmaximalarea)
~FMToperatingareacluster()=default
bool isvalidareabounds() const
double getminimalarea() const
FMToperatingareaclusterbinary getcentroid() const
Definition: FMToperatingareacluster.hpp:106
void setminimalobjectivevariable(const int &lminvar)
FMToperatingareacluster(const FMToperatingareacluster &)=default
void setminimalarea(const double &newminimalarea)
double getrealmaximalarea() const
Definition: FMToperatingareacluster.hpp:161
double getmaximalarea() const
std::vector< Core::FMTmask > getallmasks() const
double gettotalpotentialarea() const
int getmaximalobjectivevariable() const
Definition: FMToperatingareacluster.hpp:122
Definition: FMToperatingareaclusterbinary.hpp:33
Namespace regrouping all tools for solving LP/MIP problems using an heuristic.
Definition: FMTareaparser.hpp:43