Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/Setup.java @ 10207

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

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

File size: 1.3 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;
9import ec.util.Parameter;
10import java.io.Serializable;
11
12/*
13 * Setup.java
14 *
15 * Created: Mon Oct  4 17:15:44 1999
16 * By: Sean Luke
17 */
18
19/**
20 * Setup classes are classes which get set up once from user-supplied parameters
21 * prior to being used.
22 *
23 * Defines a single method, setup(...), which is called at least once for the
24 * object, or for some object from which it was cloned.  This method
25 * allows the object to set itself up by reading from parameter lists and
26 * files on-disk.  You may assume that this method is called in a non-threaded
27 * environment, hence your thread number is 0 (so you can determine which
28 * random number generator to use).
29 *
30 * @author Sean Luke
31 * @version 1.0
32 */
33
34public strictfp interface Setup extends Serializable
35    {
36    /** Sets up the object by reading it from the parameters stored
37        in <i>state</i>, built off of the parameter base <i>base</i>.
38        If an ancestor implements this method, be sure to call
39        super.setup(state,base);  before you do anything else. */
40    public void setup(final EvolutionState state, final Parameter base);
41    }
Note: See TracBrowser for help on using the repository browser.