org.apache.mahout.ga.watchmaker
Class MahoutFitnessEvaluator<T>

java.lang.Object
  extended by org.apache.mahout.ga.watchmaker.STFitnessEvaluator<T>
      extended by org.apache.mahout.ga.watchmaker.MahoutFitnessEvaluator<T>
All Implemented Interfaces:
org.uncommons.watchmaker.framework.FitnessEvaluator<T>

public class MahoutFitnessEvaluator<T>
extends STFitnessEvaluator<T>

Watchmaker compatible Fitness Evaluator that delegates the evaluation of the whole population to Mahout.


Constructor Summary
MahoutFitnessEvaluator(org.uncommons.watchmaker.framework.FitnessEvaluator<? super T> evaluator)
           
 
Method Summary
protected  void evaluate(List<? extends T> population, List<Double> evaluations)
           
 boolean isNatural()
           
 
Methods inherited from class org.apache.mahout.ga.watchmaker.STFitnessEvaluator
getFitness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MahoutFitnessEvaluator

public MahoutFitnessEvaluator(org.uncommons.watchmaker.framework.FitnessEvaluator<? super T> evaluator)
Method Detail

evaluate

protected void evaluate(List<? extends T> population,
                        List<Double> evaluations)
Specified by:
evaluate in class STFitnessEvaluator<T>

isNatural

public boolean isNatural()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.