protected void Execute() { ISafetySolverInterface lSolver = SafetySolverFactory.CreateFactory(SafetySolverType); lSolver.Solve(Board, Color.White); lSolver.UpdateSafetyKnowledge(this); lSolver.Solve(Board, Color.Black); lSolver.UpdateSafetyKnowledge(this); MarkUnsurroundablePoints(); MarkDamePoints(); }
public SolverExtended(SafetySolverType safetySolverType) { SafetySolverType = safetySolverType; SafetySolver = SafetySolverFactory.CreateFactory(safetySolverType); }
public SolverExtended(SafetySolverType safetySolverType) { SafetySolverType = safetySolverType; SafetySolver = SafetySolverFactory.CreateFactory(safetySolverType); }