de.kumpe.hadooptimizer
Interface EsWrappableMutator

All Known Implementing Classes:
GaussianMutator, GaussionMutatorBase, IdentityMutator

public interface EsWrappableMutator

Makes a Mutator wrappable by the EsMutatorWrapper.

In most cases the mutator's individual's type will be double[] and its Mutator.mutate(Object) will just delegate to its mutate(double[], double).

Author:
Christian Kumpe

Method Summary
 double getMinIncrement()
          Returns the minimal allowed increment.
 double[] mutate(double[] individual, double increment)
          Mutates the given individual with the specified increment.
 

Method Detail

mutate

double[] mutate(double[] individual,
                double increment)
Mutates the given individual with the specified increment.

Parameters:
individual - the individual to mutate
increment - the increment for the mutation (mainly the standard deviation of a normal distributed random number)
Returns:
the mutant

getMinIncrement

double getMinIncrement()
Returns the minimal allowed increment. In the evolution strategies automatic increment adaption the ist the increment's lower bound.

Returns:
the minimal allowed increment


Copyright © 2011 Christian Kumpe. All Rights Reserved.