/// <summary> /// Creates a new instance of a Linear Side Information search. /// </summary> /// <param name="sideInformationStrategy">The strategy used to create the side information.</param> /// <param name="samplingStrategy">A strategy to sample actions during the Generation process.</param> /// <param name="playout">The strategy used to play out a game in simulation.</param> /// <param name="evaluation">The evaluation strategy for determining the value of samples.</param> /// <param name="gameLogic">The game specific logic required for searching.</param> /// <param name="budgetEstimationStrategy">The strategy used to determine the number of samples to be used in the different phases.</param> public LSI(ISideInformationStrategy <D, P, A, S, A, T> sideInformationStrategy, ILSISamplingStrategy <P, A, T> samplingStrategy, IPlayoutStrategy <D, P, A, S, A> playout, IStateEvaluation <D, P, A, S, A, N> evaluation, IGameLogic <D, P, A, S, A, A> gameLogic, IBudgetEstimationStrategy <D, P, A, S, A> budgetEstimationStrategy) { SideInformationStrategy = sideInformationStrategy; SamplingStrategy = samplingStrategy; Playout = playout; Evaluation = evaluation; GameLogic = gameLogic; BudgetEstimationStrategy = budgetEstimationStrategy; }
public abstract LSI <D, P, A, S, TreeSearchNode <P, A>, SI> SetupLSI(ISideInformationStrategy <D, P, A, S, A, SI> sideInformationStrategy, ILSISamplingStrategy <P, A, SI> samplingStrategy);
public override LSI <object, TicTacToeState, TicTacToeMove, object, TreeSearchNode <TicTacToeState, TicTacToeMove>, OddmentTable <int> > SetupLSI(ISideInformationStrategy <object, TicTacToeState, TicTacToeMove, object, TicTacToeMove, OddmentTable <int> > sideInformationStrategy, ILSISamplingStrategy <TicTacToeState, TicTacToeMove, OddmentTable <int> > samplingStrategy) { var playoutStrategy = new AgentPlayout <object, TicTacToeState, TicTacToeMove, object, TicTacToeMove>(Agent); var evaluationStrategy = EvaluationStrategy; //var search = new LSI<object, TicTacToeState, TicTacToeMove, object, TreeSearchNode<TicTacToeState, TicTacToeMove>, OddmentTable<int>>(sideInformationStrategy, samplingStrategy, playoutStrategy, evaluationStrategy, GameLogic); throw new NotImplementedException(); }