Last change
on this file since 107 was
44,
checked in by mszubert, 15 years ago
|
cecj, framsticks and games packages imported
|
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.