Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/steadystate/SteadyStateBSourceForm.java @ 8614

Last change on this file since 8614 was 6152, checked in by bfarka, 14 years ago

added ecj and custom statistics to communicate with the okb services #1441

File size: 1.4 KB
Line 
1/*
2  Copyright 2006 by Sean Luke
3  Licensed under the Academic Free License version 3.0
4  See the file "LICENSE" for more information
5*/
6
7
8package ec.steadystate;
9
10/*
11 * SteadyStateBSourceForm.java
12 *
13 * Created: Sat Nov 20 17:00:18 1999
14 * By: Sean Luke
15 *
16 * This form is required of all BreedingSources in a pipeline used in Steady-State Evolution.
17 * It consists of two methods: <b>sourcesAreProperForm</b> which checks recursively to determine
18 * that a BreedingPipeline's own sources are also using this interface; and <b>individualReplaced</b>,
19 * which informs the BreedingSource that a new individual has entered into the population, displacing
20 * another.  This is important because it may signal to SelectionMethods that they need to update their
21 * statistics.
22 *
23 */
24
25/**
26 * @author Sean Luke
27 * @version 1.0
28 */
29
30public interface SteadyStateBSourceForm
31    {
32    /** Called whenever an individual has been replaced by another
33        in the population. */
34    public void individualReplaced(final SteadyStateEvolutionState state,
35        final int subpopulation,
36        final int thread,
37        final int individual);
38   
39    /** Issue an error (not a fatal -- we guarantee that callers
40        of this method will also call exitIfErrors) if any
41        of your sources, or <i>their</i> sources, etc., are not
42        of SteadyStateBSourceForm.*/
43    public void sourcesAreProperForm(final SteadyStateEvolutionState state);
44    }
Note: See TracBrowser for help on using the repository browser.