source: java/ecj/cecj/interaction/InteractionScheme.java

Last change on this file was 193, checked in by Maciej Komosinski, 11 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 706 bytes
Line 
1package cecj.interaction;
2
3import java.util.List;
4
5import ec.EvolutionState;
6import ec.Individual;
7import ec.Setup;
8
9/**
10 * Interface representing an abstract scheme of interactions between individuals.
11 *
12 * Its implementations should read population roles in interactions and depending on their roles
13 * assign given interaction sequence. Moreover it is the only entity conscious of what method of
14 * problem definition must be called to properly evaluate interacting individuals.
15 *
16 * @author Marcin Szubert
17 *
18 */
19public interface InteractionScheme extends Setup {
20
21        public List<List<InteractionResult>> performInteractions(EvolutionState state, int subpop,
22                        List<List<Individual>> opponents);
23}
Note: See TracBrowser for help on using the repository browser.