public class CrossOverJob extends ComputeJobAdapter
It relies on the GAConfiguration.getCrossOverRate() to determine probability rate of crossover for pair of
chromosome.
CrossOverJob will randomly pick a start index j in Chromosome.getGenes[] and continue
swapping until end of genes[] array.
| Constructor and Description |
|---|
CrossOverJob(Long key1,
Long key2,
double crossOverRate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute()
Executes this job.
|
argument, arguments, call, cancel, isCancelled, setArgumentspublic Object execute() throws IgniteException
null). This result will be returned
in ComputeJobResult.getData() method passed into
ComputeTask.result(ComputeJobResult, List) task method on caller node.IgniteException - If job execution caused an exception. This exception will be
returned in ComputeJobResult.getException() method passed into
ComputeTask.result(ComputeJobResult, List) task method on caller node.
If execution produces a RuntimeException or Error, then
it will be wrapped into IgniteCheckedException.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025