public JObject Solve(string mazeName, int typeOfSearch) { MazeSolution sol = model.Solve(mazeName, typeOfSearch); JObject obj = JObject.Parse(sol.ToJSON()); return(obj); }
/// <summary> /// Solves this instance. /// </summary> public void Solve() { model.Solve(); }