Пример #1
0
        public JObject Solve(string mazeName, int typeOfSearch)
        {
            MazeSolution sol = model.Solve(mazeName, typeOfSearch);
            JObject      obj = JObject.Parse(sol.ToJSON());

            return(obj);
        }
Пример #2
0
 /// <summary>
 /// Solves this instance.
 /// </summary>
 public void Solve()
 {
     model.Solve();
 }