31 #ifndef COMPWA_OPTIMIZER_GENEVA_GFMININDIVIDUAL_HPP_ 32 #define COMPWA_OPTIMIZER_GENEVA_GFMININDIVIDUAL_HPP_ 38 #include "common/GGlobalDefines.hpp" 40 #include "geneva/GParameterSet.hpp" 49 class GFMinIndividual :
public GParameterSet {
51 GFMinIndividual() =
default;
54 GFMinIndividual(
const GFMinIndividual &);
55 virtual ~GFMinIndividual() =
default;
57 const GFMinIndividual &operator=(
const GFMinIndividual &);
61 void load_(
const GObject *)
final;
64 double fitnessCalculation() final;
67 friend class
boost::serialization::access;
69 template <class Archive>
void serialize(Archive &ar, const
unsigned int) {
70 ar &BOOST_SERIALIZATION_BASE_OBJECT_NVP(GParameterSet);
74 GObject *clone_() const final;
78 const
double GFI_DEF_ADPROB = 0.1;
79 const
double GFI_DEF_SIGMA = 0.25;
80 const
double GFI_DEF_SIGMASIGMA = 0.8;
81 const
double GFI_DEF_MINSIGMA = 0.001;
82 const
double GFI_DEF_MAXSIGMA = 1;
87 ComPWA::Estimator::Estimator<
double> *Estimator =
nullptr;
88 std::vector<
double> AllParameters;
89 std::vector<
unsigned int> FreeParameterIndices;
95 BOOST_CLASS_EXPORT_KEY(
Gem::Geneva::GFMinIndividual)
Support for serialization of std::shared_ptr (and other types) is added in boost 1.56 .
std::vector< FitParameter< double > > FitParameterList