jenes.performance
Class TSPMutator

java.lang.Object
  extended by jenes.stage.AbstractStage<T>
      extended by jenes.stage.operator.Operator<T>
          extended by jenes.stage.operator.Mutator<IntegerChromosome>
              extended by jenes.performance.TSPMutator

public class TSPMutator
extends Mutator<IntegerChromosome>


Nested Class Summary
 
Nested classes/interfaces inherited from class jenes.stage.operator.Mutator
Mutator.Statistics
 
Field Summary
 
Fields inherited from class jenes.stage.operator.Mutator
probability
 
Fields inherited from class jenes.stage.operator.Operator
random, statistics
 
Fields inherited from class jenes.stage.AbstractStage
biggerIsBetter, ga
 
Constructor Summary
TSPMutator(double probability)
           
 
Method Summary
protected  void mutate(Individual<IntegerChromosome> t)
          Mutates a single individual.
 
Methods inherited from class jenes.stage.operator.Mutator
getProbability, process, setProbability
 
Methods inherited from class jenes.stage.operator.Operator
getStatistics, updateStatistics
 
Methods inherited from class jenes.stage.AbstractStage
dispose, init, isBiggerBetter, setBiggerIsBetter, setBiggerIsBetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSPMutator

public TSPMutator(double probability)
Method Detail

mutate

protected void mutate(Individual<IntegerChromosome> t)
Description copied from class: Mutator
Mutates a single individual. This abstract method is implemented according to a mutation policy

Specified by:
mutate in class Mutator<IntegerChromosome>
Parameters:
t - the individual to mutate