|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.uncommons.watchmaker.framework.FitnessEvaluationWorker
public class FitnessEvaluationWorker
This is the class that actually runs the fitness evaluation tasks created by a
EvolutionEngine
. This responsibility is abstracted away from
the evolution engine to permit the possibility of creating multiple instances
across several machines, all fed by a single shared work queue, using Terracotta
(http://www.terracotta.org) or similar.
Method Summary | ||
---|---|---|
protected void |
finalize()
A FitnessWorker cannot be garbage-collected if its thread pool has not been shutdown. |
|
static void |
main(String[] args)
Entry-point for running this class standalone, as an additional node for fitness evaluations. |
|
|
submit(org.uncommons.watchmaker.framework.FitnessEvalutationTask<T> task)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public <T> Future<EvaluatedCandidate<T>> submit(org.uncommons.watchmaker.framework.FitnessEvalutationTask<T> task)
public static void main(String[] args)
args
- Program arguments, should be empty.protected void finalize() throws Throwable
finalize
in class Object
Throwable
- Any exception or error that occurs during finalisation.
|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |