25 #ifndef PAGMO_ALGORITHM_PADE_H
26 #define PAGMO_ALGORITHM_PADE_H
28 #include "../config.h"
29 #include "../serialization.h"
32 #include "../problem/decompose.h"
36 namespace pagmo {
namespace algorithm {
63 unsigned int max_parallelism = 1,
67 weight_generation_type = LOW_DISCREPANCY,
74 std::string get_name()
const;
75 std::vector<fitness_vector> generate_weights(
const unsigned int,
const unsigned int)
const;
78 std::string human_readable_extra()
const;
81 void reksum(std::vector<std::vector<double> > &,
const std::vector<unsigned int>&,
unsigned int,
unsigned int, std::vector<double> = std::vector<double>() )
const;
82 void compute_neighbours(std::vector<std::vector<int> > &,
const std::vector<std::vector <double> > &);
84 friend class boost::serialization::access;
85 template <
class Archive>
86 void serialize(Archive &ar,
const unsigned int)
88 ar & boost::serialization::base_object<base>(*this);
89 ar &
const_cast<int &
>(m_gen);
90 ar &
const_cast<unsigned int &
>(m_threads);
92 ar &
const_cast<base_ptr &
>(m_solver);
94 ar &
const_cast<weight_generation_type &
>(m_weight_generation);
99 const unsigned int m_threads;
103 const weight_generation_type m_weight_generation;
111 #endif // PAGMO_ALGORITHM_PADE_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
The Boundary Intersection method is used to perform the decomposition.
Parallel Decomposition (PaDe)
std::vector< double > fitness_vector
Fitness vector type.
container_type::size_type size_type
Population size type.
method_type
Mechanism used to perform the problem decomposition.
weight_generation_type
Mechanism used to generate the weight vectors.
jDE - Differential Evolution Algorithm - Self-Adaptive C and R (2011)