|
Last change
on this file since 970 was
193,
checked in by Maciej Komosinski, 12 years ago
|
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
|
File size:
394 bytes
|
| Line | |
|---|
| 1 | package cecj.app.othello; |
|---|
| 2 | |
|---|
| 3 | import ec.util.Parameter; |
|---|
| 4 | |
|---|
| 5 | import ec.EvolutionState; |
|---|
| 6 | |
|---|
| 7 | public class OthelloRandomPlayer2 extends OthelloPlayerFitnessCalculator { |
|---|
| 8 | |
|---|
| 9 | @Override |
|---|
| 10 | public void setup(EvolutionState state, Parameter base) { |
|---|
| 11 | super.setup(state, base); |
|---|
| 12 | evaluatorRandomness = 1; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | @Override |
|---|
| 16 | protected OthelloPlayer getPlayer() { |
|---|
| 17 | return new OthelloPlayer(new double[WPC_LENGTH]); |
|---|
| 18 | } |
|---|
| 19 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.