de.kumpe.hadooptimizer
Interface Mutator<I>

Type Parameters:
I - the individuals' type
All Superinterfaces:
Serializable
All Known Implementing Classes:
EsMutatorWrapper, GaussianMutator, GaussianMutator, IdentityMutator

public interface Mutator<I>
extends Serializable

A Mutator creates a mutant of the given individual. It mutates the individual e.g. by adding normal distributed random numbers.

The general contract is to not modify the given individual. See mutate(Object) for additional hints.

Author:
Christian Kumpe

Method Summary
 I mutate(I individual)
          Creates a mutant of the given individual.
 

Method Detail

mutate

I mutate(I individual)
Creates a mutant of the given individual.

The general contract is to not modify the given individual, but return a mutated copy.

Parameters:
individual - the individual to mutate
Returns:
the mutant of the passed individual


Copyright © 2011 Christian Kumpe. All Rights Reserved.