src/Kingdom.OrTools.ConstraintSolver.Samples.Tests/Sudoku/AspectBasedSudokuProblemSolver.cs
/// <summary>
/// Begins a New Search corresponding with the <see cref="Solver"/> and
/// <paramref name="agent"/>.
/// </summary>
/// <param name="agent"></param>
/// <returns></returns>
/// <inheritdoc />
Begins a New Search corresponding with the  and
.
Begins a New Search corresponding with the and .
protected override ISearchAgent NewSearch(ISearchAgent agent)
        {
            agent.ProcessVariables -= OnProcessVariables;
            agent.ProcessVariables += OnProcessVariables;
            return agent.NewSearch(a => a.Solver.MakePhase(a.Variables, ChooseRandom, AssignRandomValue));
        }
protected override ISearchAgent NewSearch ( ISearchAgent agent ) { agent . ProcessVariables -= OnProcessVariables ; agent . ProcessVariables += OnProcessVariables ; return agent . NewSearch ( a => a . Solver . MakePhase ( a . Variables , ChooseRandom , AssignRandomValue ) ) ; }
Begins a New Search corresponding with the  and
.
Begins a New Search corresponding with the and .
// The simple strategies are okay and yield expected results. But let's keep it interesting.
None
agent
ISearchAgent
None
inheritdoc
None