PaGMO  1.1.5
Public Types | Public Member Functions | Data Fields | Friends
pagmo::algorithm::sga::mutation Struct Reference

Mutation operator info. More...

#include <sga.h>

Public Types

enum  type { GAUSSIAN = 0, RANDOM = 1 }
 Mutation type, gaussian or random.
 

Public Member Functions

 mutation (mutation::type t, double width)
 Constructor. More...
 

Data Fields

type m_type
 Mutation type.
 
double m_width
 Mutation width.
 

Friends

class boost::serialization::access
 

Detailed Description

Mutation operator info.

Definition at line 62 of file sga.h.

Constructor & Destructor Documentation

pagmo::algorithm::sga::mutation::mutation ( mutation::type  t,
double  width 
)
inline

Constructor.

Parameters
[in]tthe mutation type
[in]widththe width of the gaussian bell in case of a gaussian mutation. The parameter is otherwise ignored. width is a percentage with respect to the ub[i]-lb[i] width.

Definition at line 72 of file sga.h.


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