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 2 // http://en.wikipedia.org/wiki/F%C5%ABrinkazan
3 3 //
4 4 import util;
5 5 import game;
6 6
7 -
8 7 interface Solver
9 8 {
10 9 // this(in Game g);
11 10 char single_step();
12 11 void force(char c);
13 12 }
14 13
................................................................................
721 720 sub_solver = new 侵掠如火!(疾如風)(g);
722 721 }
723 722 char single_step() { return sub_solver.single_step(); }
724 723 void force(char c) { return sub_solver.force(c); }
725 724
726 725 private Solver sub_solver;
727 726 }
727 +
728 +alias 侵掠如火!(疾如風) FastSolver;
728 729
729 730 //alias Switcher MainSolver;
730 731 //alias 侵掠如火!(疾如風) MainSolver;
731 732 alias 侵掠如火!(徐如林) MainSolver;
732 733 //alias 疾如風 MainSolver;
733 734 //alias 徐如林 MainSolver;
734 735 //alias 不動如山 MainSolver;