edu.udo.cs.yale.tools.math.optimization.ec.es
Class GaussianMutation

java.lang.Object
  extended by edu.udo.cs.yale.tools.math.optimization.ec.es.GaussianMutation
All Implemented Interfaces:
PopulationOperator

public class GaussianMutation
extends java.lang.Object
implements PopulationOperator

Changes the values by adding a gaussian distribution multiplied with the current variance. Clips the value range to [min,max].

Version:
$Id: GaussianMutation.java,v 1.3 2006/08/25 23:38:52 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  double[] max
           
private  double[] min
           
private  java.util.Random random
           
private  double[] sigma
           
private  int[] valueTypes
           
 
Constructor Summary
GaussianMutation(double[] sigma, double[] min, double[] max, int[] valueTypes, java.util.Random random)
           
 
Method Summary
 double[] getSigma()
           
 void operate(Population population)
           
 void setSigma(double[] sigma)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sigma

private double[] sigma

min

private double[] min

max

private double[] max

valueTypes

private int[] valueTypes

random

private java.util.Random random
Constructor Detail

GaussianMutation

public GaussianMutation(double[] sigma,
                        double[] min,
                        double[] max,
                        int[] valueTypes,
                        java.util.Random random)
Method Detail

setSigma

public void setSigma(double[] sigma)

getSigma

public double[] getSigma()

operate

public void operate(Population population)
Specified by:
operate in interface PopulationOperator


Copyright © 2001-2006