public class RouletteWheelSelectionJob extends ComputeJobAdapter
| Constructor and Description |
|---|
RouletteWheelSelectionJob(Double totalFitnessScore,
LinkedHashMap<Long,Double> map) |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
execute()
Perform Roulette Wheel selection
|
argument, arguments, call, cancel, isCancelled, setArgumentspublic RouletteWheelSelectionJob(Double totalFitnessScore, LinkedHashMap<Long,Double> map)
totalFitnessScore - Total fitness scoremap - Chromosome key / fitness score mappublic Chromosome execute() throws IgniteException
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