source: java/ecj/cecj/app/othello/OthelloHeuristicPlayer.java @ 107

Last change on this file since 107 was 44, checked in by mszubert, 15 years ago

cecj, framsticks and games packages imported

File size: 689 bytes
Line 
1package cecj.app.othello;
2
3public class OthelloHeuristicPlayer extends OthelloPlayerFitnessCalculator {
4
5        double[] wpc = { 1.00f, -0.25f, 0.10f, 0.05f, 0.05f, 0.10f, -0.25f, 1.00f, -0.25f, -0.25f,
6                        0.01f, 0.01f, 0.01f, 0.01f, -0.25f, -0.25f, 0.10f, 0.01f, 0.05f, 0.02f, 0.02f, 0.05f,
7                        0.01f, 0.10f, 0.05f, 0.01f, 0.02f, 0.01f, 0.01f, 0.02f, 0.01f, 0.05f, 0.05f, 0.01f,
8                        0.02f, 0.01f, 0.01f, 0.02f, 0.01f, 0.05f, 0.10f, 0.01f, 0.05f, 0.02f, 0.02f, 0.05f,
9                        0.01f, 0.10f, -0.25f, -0.25f, 0.01f, 0.01f, 0.01f, 0.01f, -0.25f, -0.25f, 1.00f,
10                        -0.25f, 0.10f, 0.05f, 0.05f, 0.10f, -0.25f, 1.00f };
11
12        @Override
13        protected OthelloPlayer getPlayer() {
14                return new OthelloPlayer(wpc);
15        }
16}
Note: See TracBrowser for help on using the repository browser.