|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.solve.genetic.MateWorker<GENE_TYPE>
public class MateWorker<GENE_TYPE>
MateWorker: This class is used in conjunction with a thread pool. This allows the genetic algorithm to offload all of those calculations to a thread pool.
| Constructor Summary | |
|---|---|
MateWorker(Chromosome<GENE_TYPE> mother,
Chromosome<GENE_TYPE> father,
Chromosome<GENE_TYPE> child1,
Chromosome<GENE_TYPE> child2)
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
call()
Execute the background task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MateWorker(Chromosome<GENE_TYPE> mother,
Chromosome<GENE_TYPE> father,
Chromosome<GENE_TYPE> child1,
Chromosome<GENE_TYPE> child2)
mother - The mother.father - The father.child1 - The first child.child2 - The second child.| Method Detail |
|---|
public java.lang.Integer call()
throws java.lang.Exception
call in interface java.util.concurrent.Callable<java.lang.Integer>java.lang.Exception - Something went wrong.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||