Last change
on this file since 13229 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 |
|
---|
8 | package ec;
|
---|
9 |
|
---|
10 | /*
|
---|
11 | * Group.java
|
---|
12 | *
|
---|
13 | * Created: Tue Aug 10 20:49:45 1999
|
---|
14 | * By: Sean Luke
|
---|
15 | */
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Groups are used for populations and subpopulations. They are slightly
|
---|
19 | * different from Prototypes in a few important ways.
|
---|
20 | *
|
---|
21 | * A Group instance typically is set up with setup(...) and then <i>used</i>
|
---|
22 | * (unlike in a Prototype, where the prototype instance is never used,
|
---|
23 | * but only makes clones
|
---|
24 | * which are used). When a new Group instance is needed, it is created by
|
---|
25 | * calling emptyClone() on a previous Group instance, which returns a
|
---|
26 | * new instance set up exactly like the first Group instance had been set up
|
---|
27 | * when setup(...) was called on it.
|
---|
28 | *
|
---|
29 | * Groups are Serializable and Cloneable, but you should not clone
|
---|
30 | * them -- use emptyClone instead.
|
---|
31 | *
|
---|
32 | *
|
---|
33 | * @author Sean Luke
|
---|
34 | * @version 1.0
|
---|
35 | */
|
---|
36 |
|
---|
37 | public interface Group extends Setup, Cloneable
|
---|
38 | {
|
---|
39 | /** Returns a copy of the object just as it had been
|
---|
40 | immediately after Setup was called on it (or on
|
---|
41 | an ancestor object). You can obtain a fresh instance
|
---|
42 | using clone(), and then modify that.
|
---|
43 | */
|
---|
44 | public Group emptyClone();
|
---|
45 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.