dignea  1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
UniformAllMutation< S > Class Template Reference

Uniform All Mutation Operator. More...

#include <UniformAllMutation.h>

Inheritance diagram for UniformAllMutation< S >:
Mutation< S >

Public Member Functions

void run (S &ind, const double &probability, Problem< S > *) override
 Mutates each variable in the individual with a random probability lower than the probability parameter. The new values are always inside the problem bounds. More...
 
std::string getName () const override
 

Detailed Description

template<class S>
class UniformAllMutation< S >

Uniform All Mutation Operator.

Template Parameters
S

Member Function Documentation

◆ run()

template<class S >
void UniformAllMutation< S >::run ( S &  ind,
const double &  probability,
Problem< S > *  problem 
)
overridevirtual

Mutates each variable in the individual with a random probability lower than the probability parameter. The new values are always inside the problem bounds.

Template Parameters
S
Parameters
ind
probability
problem

Implements Mutation< S >.


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