Пример #1
0
 public void HillClimbingAlgorithm()
 {
     if (window.hillClimbingAttributes.GetMaxNumberTB() != 0)
     {
         window.chessboard = new Chessboard(this.ChessboardSizeToInt(), window);
         HillClimbingAlgorithm hillClimbing = new HillClimbingAlgorithm(window);
         hillClimbing.SolveProblem(window.GetChessboard(), window.hillClimbingAttributes.GetMaxNumberTB());
         this.SetUITextes(hillClimbing);
     }
 }