26 #include "../population.h"
27 #include "../exceptions.h"
28 #include "base_unc_mo.h"
30 namespace pagmo {
namespace problem {
60 return c / pop.size();
86 pagmo_throw(not_implemented_error,
"Error: a convergence metric is not implemented for this problem.");
std::vector< double > decision_vector
Decision vector type.
const individual_type & get_individual(const size_type &) const
Get constant reference to individual at position n.
fitness_vector::size_type f_size_type
Fitness' size type: the same as pagmo::fitness_vector's size type.
double p_distance(const decision_vector &) const
Distance from the Pareto front (of a decision_vector)
container_type::size_type size_type
Population size type.
decision_vector cur_x
Current decision vector.
base_unc_mo(base::size_type, base::size_type, base::f_size_type)
Constructor from dimension and fitness dimension.
virtual double convergence_metric(const decision_vector &) const
Default implementation for a convergence metric.
decision_vector::size_type size_type
Problem's size type: the same as pagmo::decision_vector's size type.