01: /*
02: * This file is part of JGAP.
03: *
04: * JGAP offers a dual license model containing the LGPL as well as the MPL.
05: *
06: * For licensing information please see the file license.txt included with JGAP
07: * or have a look at the top of class org.jgap.Chromosome which representatively
08: * includes the JGAP license policy applicable for any file delivered with JGAP.
09: */
10: package org.jgap.impl.job;
11:
12: import org.jgap.*;
13:
14: /**
15: * For splitting a single population into smaller chunks. Each chunk being meant
16: * to be operated on a single node in a distributed calculation (e.g. a grid).
17: *
18: * @author Klaus Meffert
19: * @since 3.2
20: */
21: public interface IPopulationSplitter {
22: /** String containing the CVS revision. Read out via reflection!*/
23: final static String CVS_REVISION = "$Revision: 1.5 $";
24:
25: /**
26: * Splits a single population into smaller sub-populations.
27: *
28: * @param a_pop input population
29: * @return resulting chunks
30: * @throws Exception in case of any error
31: *
32: * @author Klaus Meffert
33: * @since 3.2
34: */
35: Population[] split(Population a_pop) throws Exception;
36: }
|