gpalta.multitree.operators
Class ReplaceWorstWithMostSimilarIfBetterMutInf

java.lang.Object
  extended by gpalta.multitree.operators.LowLevelMultiTreeOperator
      extended by gpalta.multitree.operators.ReplaceWorstWithMostSimilarIfBetterMutInf

public class ReplaceWorstWithMostSimilarIfBetterMutInf
extends LowLevelMultiTreeOperator


Field Summary
 
Fields inherited from class gpalta.multitree.operators.LowLevelMultiTreeOperator
timesApplied, timesFitnessImproved, treeOp
 
Constructor Summary
ReplaceWorstWithMostSimilarIfBetterMutInf(TreeOperator op)
           
 
Method Summary
 int nIndividuals()
           
 boolean operate(MultiTreeIndividual[] individuals, TempVectorFactory tempVectorFactory, ProblemData problemData)
           
 
Methods inherited from class gpalta.multitree.operators.LowLevelMultiTreeOperator
diffBetweenOutputs, selectBestTree, selectBestTreeRoulette, selectMostSimilarTree, selectMostSimilarTreeMutInf, selectMostSimilarTreeRoulette, selectRoulette, selectWorstTree, selectWorstTreeRoulette
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceWorstWithMostSimilarIfBetterMutInf

public ReplaceWorstWithMostSimilarIfBetterMutInf(TreeOperator op)
Method Detail

operate

public boolean operate(MultiTreeIndividual[] individuals,
                       TempVectorFactory tempVectorFactory,
                       ProblemData problemData)
Specified by:
operate in class LowLevelMultiTreeOperator

nIndividuals

public int nIndividuals()
Specified by:
nIndividuals in class LowLevelMultiTreeOperator