コード例 #1
0
        public IEnumerable <string> Constrain(string gridString)
        {
            var cpb = new CPBoard(gridString);

            CPSolver.InitializeConstraints(cpb);
            return(cpb.GetTiles());
        }
コード例 #2
0
        public IEnumerable <string> Solve(string gridString)
        {
            var cpb = new CPBoard(gridString);
            var sr  = CPSolver.Solve(cpb);

            return(sr.CPB.GetTiles());
        }
コード例 #3
0
 public StateTreeNode(CPSolver solver)
 {
     Solver = solver;
 }