Differences From Artifact [4eed871f814ba3b0]:
- File
src/solver.d
- 2012-07-16 06:12:21 - part of checkin [84fb0102a2] on branch trunk - Minor parameter adjustment. (user: kinaba) [annotate]
To Artifact [3f2a2d28b89b3fbf]:
- File
src/solver.d
- 2012-07-16 06:32:03 - part of checkin [1b261bd13b] on branch trunk - Run Wind and Forest both and take better. (user: kinaba) [annotate]
1 // 1 //
2 // http://en.wikipedia.org/wiki/F%C5%ABrinkazan 2 // http://en.wikipedia.org/wiki/F%C5%ABrinkazan
3 // 3 //
4 import util; 4 import util;
5 import game; 5 import game;
6 6
7 <
8 interface Solver 7 interface Solver
9 { 8 {
10 // this(in Game g); 9 // this(in Game g);
11 char single_step(); 10 char single_step();
12 void force(char c); 11 void force(char c);
13 } 12 }
14 13
................................................................................................................................................................................
721 sub_solver = new 侵掠如火!(疾如風)(g); 720 sub_solver = new 侵掠如火!(疾如風)(g);
722 } 721 }
723 char single_step() { return sub_solver.single_step(); } 722 char single_step() { return sub_solver.single_step(); }
724 void force(char c) { return sub_solver.force(c); } 723 void force(char c) { return sub_solver.force(c); }
725 724
726 private Solver sub_solver; 725 private Solver sub_solver;
727 } 726 }
> 727
> 728 alias 侵掠如火!(疾如風) FastSolver;
728 729
729 //alias Switcher MainSolver; 730 //alias Switcher MainSolver;
730 //alias 侵掠如火!(疾如風) MainSolver; 731 //alias 侵掠如火!(疾如風) MainSolver;
731 alias 侵掠如火!(徐如林) MainSolver; 732 alias 侵掠如火!(徐如林) MainSolver;
732 //alias 疾如風 MainSolver; 733 //alias 疾如風 MainSolver;
733 //alias 徐如林 MainSolver; 734 //alias 徐如林 MainSolver;
734 //alias 不動如山 MainSolver; 735 //alias 不動如山 MainSolver;