PaGMO  1.1.5
Public Member Functions | Data Fields | Friends
pagmo::population::individual_type Struct Reference

Individuals stored in the population. More...

#include <population.h>

Public Member Functions

std::string human_readable () const
 Human-readable representation. More...
 

Data Fields

decision_vector cur_x
 Current decision vector.
 
decision_vector cur_v
 Current velocity vector.
 
constraint_vector cur_c
 Current constraint vector.
 
fitness_vector cur_f
 Current fitness vector.
 
decision_vector best_x
 Best decision vector so far.
 
constraint_vector best_c
 Best constraint vector so far.
 
fitness_vector best_f
 Best fitness vector so far.
 

Friends

class boost::serialization::access
 

Detailed Description

Individuals stored in the population.

Individuals store the current decision and velocity vectors, the current constraint vector and the current fitness vector. They also keep memory of the best decision, constraint and fitness vectors "experienced" so far by the individual.

Definition at line 80 of file population.h.

Member Function Documentation

std::string pagmo::population::individual_type::human_readable ( ) const
inline

Human-readable representation.

Returns
formatted string containing the values of the data members.

Definition at line 100 of file population.h.


The documentation for this struct was generated from the following file: