Last change
on this file since 1225 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
|
Rev | Line | |
---|
[44] | 1 | package cecj.interaction; |
---|
| 2 | |
---|
| 3 | import java.util.List; |
---|
| 4 | |
---|
| 5 | import ec.EvolutionState; |
---|
| 6 | import ec.Individual; |
---|
| 7 | import 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 | */ |
---|
| 19 | public 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.