|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.util.parallel.MultithreadedEvaluator
public class MultithreadedEvaluator
| Constructor Summary | |
|---|---|
MultithreadedEvaluator(int threads)
Constructor |
|
| Method Summary | |
|---|---|
void |
addSolutionForEvaluation(Solution solution)
Adds a solution to be evaluated to a list of tasks |
java.util.List<Solution> |
parallelEvaluation()
Evaluates a list of solutions |
void |
startEvaluator(Problem problem)
Constructor |
void |
stopEvaluator()
Shutdown the executor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultithreadedEvaluator(int threads)
threads - | Method Detail |
|---|
public void startEvaluator(Problem problem)
startEvaluator in interface IParallelEvaluatorproblem - problem to solvepublic void addSolutionForEvaluation(Solution solution)
addSolutionForEvaluation in interface IParallelEvaluatorsolution - Solution to be evaluatedpublic java.util.List<Solution> parallelEvaluation()
parallelEvaluation in interface IParallelEvaluatorpublic void stopEvaluator()
stopEvaluator in interface IParallelEvaluator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||