All Packages Class Hierarchy This Package Previous Next Index
Class geneticAlgorithm.OnePopComputation
geneticAlgorithm.OnePopComputation
- public class OnePopComputation
Class OnePopComputation creates new population out from a given old one.
-
OnePopComputation(Pop, Pop, int, int, int)
- Constructor.
-
OnePopComputation(Pop, Pop, int, int, int, CompoundComputation)
- Constructor.
-
completed()
- When finished, report rusults and return.
-
failed()
- Reports that a packet failed.
-
reportResult(Pop)
-
-
start()
- Sends computation packet for each missing sub-population.
-
update(Pop)
- Adds synchronily new population created by remote machine.
OnePopComputation
public OnePopComputation(Pop oldPop,
Pop newPop,
int popSize,
int subPopulations,
int generations)
- Constructor. Copies in old and new populations, population size, number of subpopulations and number of generations.
OnePopComputation
public OnePopComputation(Pop oldPop,
Pop newPop,
int popSize,
int subPopulations,
int generations,
CompoundComputation parent)
- Constructor. Copies in old and new populations, population size, number of subpopulations, number of generations and compoud computation parent.
start
public void start()
- Sends computation packet for each missing sub-population.
Missing sub-populations indicates the remaining needed sub-populations,
and each newly chose sub-population is being sent for 'generations'
generations to a remote machine.
completed
public void completed()
- When finished, report rusults and return.
failed
public void failed()
- Reports that a packet failed.
update
public synchronized void update(Pop pop)
- Adds synchronily new population created by remote machine.
reportResult
public void reportResult(Pop pop)
All Packages Class Hierarchy This Package Previous Next Index