コード例 #1
0
ファイル: BaseGameAgent.cs プロジェクト: limonana/AI_Course
 protected void Init(cuttOfType cuttFunc, evalMethodType evalFunc, BaseGameAlgorithm <TravelGameState> algo, int goal, UndoGameAgent otherPlayer)
 {
     _algo        = algo;
     _cuttFunc    = cuttFunc;
     _evalFunc    = evalFunc;
     Goal         = goal;
     _otherPlayer = otherPlayer;
 }
コード例 #2
0
ファイル: BaseGameAgent.cs プロジェクト: limonana/AI_Course
 public BaseGameAgent(cuttOfType cuttFunc, evalMethodType evalFunc,
                      BaseGameAlgorithm <TravelGameState> algo, int startLocation, int goal, UndoGameAgent otherPlayer)
     : base(startLocation)
 {
     Init(cuttFunc, evalFunc, algo, goal, otherPlayer);
 }