org.apache.mahout.ep
Class ThreadedEvolutionaryProcess
java.lang.Object
org.apache.mahout.ep.ThreadedEvolutionaryProcess
public class ThreadedEvolutionaryProcess
- extends Object
Implements threaded optimization of an objective function. The evolving population
is updated incrementally as results are received. One useful feature is that the
optimization is inherently time-bounded which is useful for some scheduled operations.
ThreadedEvolutionaryProcess
public ThreadedEvolutionaryProcess(int threadCount)
setMap
public void setMap(int i,
Mapping m)
optimize
public State<?,?> optimize(ThreadedEvolutionaryProcess.Function f,
int dim,
long timeLimit,
int parentDepth)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.