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

Uniform One Mutation. More...

#include <UniformOneMutation.h>

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

Public Member Functions

void run (S &ind, const double &probability, Problem< S > *) override
 Performs the Uniform One Mutation Operator with a probability lower than the given parameter (probability). The operator selects a random gene to mutate and checks that the new value remains in the problem bounds. More...
 
std::string getName () const override
 

Detailed Description

template<class S>
class UniformOneMutation< S >

Uniform One Mutation.

Template Parameters
S

Member Function Documentation

◆ run()

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

Performs the Uniform One Mutation Operator with a probability lower than the given parameter (probability). The operator selects a random gene to mutate and checks that the new value remains in the problem bounds.

Template Parameters
S
Parameters
ind
probability
problem

Implements Mutation< S >.


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