예제 #1
0
 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
 public BaseGameAgent(cuttOfType cuttFunc, evalMethodType evalFunc,
                      BaseGameAlgorithm <TravelGameState> algo, int startLocation, int goal, UndoGameAgent otherPlayer)
     : base(startLocation)
 {
     Init(cuttFunc, evalFunc, algo, goal, otherPlayer);
 }