public UCT(ISuccGenerator <UCTNode> succGen, double cp, int maxDepth) { SuccGen = succGen; Cp = cp; this.maxDepth = maxDepth; Env = succGen.getEnvironment(); }
public Astar(ISuccGenerator <ANode> successorNodesGenerator, IHCalculator <ANode> hValueCalculator) { comparer = new FComparer(this); succGen = successorNodesGenerator; hCalc = hValueCalculator; Name = "A*"; timeAvaliable = 5000; openList = new NodeTable <ANode>(Comparer); closedList = new NodeTable <ANode>(Comparer); }
public AWA(ISuccGenerator <ANode> successorNodesGenerator, IHCalculator <ANode> hValueCalculator, int W) { succGen = successorNodesGenerator; hCalc = hValueCalculator; w = W; Name = "AWA*"; timeAvaliable = 5000; comparer = new FComparer(this); openList = new NodeTable <ANode>(Comparer); closedList = new NodeTable <ANode>(Comparer); }
public AWinA(ISuccGenerator <ANode> successorNodesGenerator, IHCalculator <ANode> hValueCalculator) { comparer = new FComparer(this); suspendList = new NodeTable <ANode>(comparer); succGen = successorNodesGenerator; hCalc = hValueCalculator; currentLvl = -1; winSize = 0; Name = "AWinA*"; timeAvaliable = 5000; openList = new NodeTable <ANode>(Comparer); closedList = new NodeTable <ANode>(Comparer); }