Last change
on this file since 29 was
28,
checked in by mszubert, 16 years ago
|
cecj - coEvolutionary Computation in Java with additional games package
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id Revision
|
File size:
394 bytes
|
Rev | Line | |
---|
[28] | 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.