dignea
1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
|
Abstract Mutation interface. More...
#include <Mutation.h>
Public Member Functions | |
virtual void | run (S &ind, const double &probability, Problem< S > *)=0 |
Method to perform the mutation operation. This is a virtual method that must be implemented in the subclasses. It receives an individual and performs the corresponding mutation over it. More... | |
virtual std::string | getName () const =0 |
Abstract Mutation interface.
S | Type of individual in the population |
|
pure virtual |
Method to perform the mutation operation. This is a virtual method that must be implemented in the subclasses. It receives an individual and performs the corresponding mutation over it.
ind | |
probability | |
Problem | pointer |
Implemented in UniformOneMutation< S >, UniformAllMutation< S >, SwapMutation< S >, and ScrambleMutation< S >.