net.sourceforge.cilib.cooperative.splitstrategies
Class PerfectSplitStrategy

java.lang.Object
  extended by net.sourceforge.cilib.cooperative.splitstrategies.PerfectSplitStrategy
All Implemented Interfaces:
SplitStrategy

public class PerfectSplitStrategy
extends Object
implements SplitStrategy

Split an OptimisationProblem into sub-problems of equal size/dimension.

Author:
Theuns Cloete TODO test this class

Constructor Summary
PerfectSplitStrategy()
           
 
Method Summary
 void split(OptimisationProblem problem, CooperativeEntity context, List<PopulationBasedAlgorithm> populations)
          Splits up the given OptimisationProblem into sub-problems and assigns all the sub-problems to Algorithms in the population.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfectSplitStrategy

public PerfectSplitStrategy()
Method Detail

split

public void split(OptimisationProblem problem,
                  CooperativeEntity context,
                  List<PopulationBasedAlgorithm> populations)
Description copied from interface: SplitStrategy
Splits up the given OptimisationProblem into sub-problems and assigns all the sub-problems to Algorithms in the population.

Specified by:
split in interface SplitStrategy
Parameters:
problem - The OptimisationProblem that will be split up.
context - The global entity context.
populations - The Algorithms participating in the SplitCooperativeAlgorithm.


Copyright © 2009 CIRG. All Rights Reserved.