public NeutralAgent(int startLocation, int goal, UndoGameAgent otherPlayer, int depth, int MaxMoves) : base(startLocation) { var cuttOf = new BasicCuttof(); cuttOf.SetParams(this, depth); NaturalEval eval = new NaturalEval(goal, this, MaxMoves); Init(cuttOf.Run, eval.Run, new MaxiMax <TravelGameState>(false), goal, otherPlayer); }
public CompetetiveAgent(int startLocation, int goal, UndoGameAgent otherPlayer, int depth, int MaxMoves) : base(startLocation) { var cuttOf = new BasicCuttof(); cuttOf.SetParams(this, depth); RivalsEval eval = new RivalsEval(); eval.SetParams(this, otherPlayer, MaxMoves); Init(cuttOf.Run, eval.Run, new MiniMax <TravelGameState>(), goal, otherPlayer); }