public IEnumerable <string> Constrain(string gridString) { var cpb = new CPBoard(gridString); CPSolver.InitializeConstraints(cpb); return(cpb.GetTiles()); }
public IEnumerable <string> Solve(string gridString) { var cpb = new CPBoard(gridString); var sr = CPSolver.Solve(cpb); return(sr.CPB.GetTiles()); }
public StateTreeNode(CPSolver solver) { Solver = solver; }