/// <summary>
        /// Default Constructor
        /// </summary>
        public ProjectTwoViewModel()
        {
            BFSolver = new BreadthFirstSolver();
            DFSolver = new DepthFirstSolver();

            Cities = new List <City>();
        }
Esempio n. 2
0
    public async void DepthFirstSolve()
    {
        ISolver depthFirstSolver = new DepthFirstSolver(_rubiksCube.GetState());

        await Solve(depthFirstSolver);
    }