public static IProblem <NQueensBoard, QueenAction> createIncrementalFormulationProblem(int boardSize) { return(new GeneralProblem <NQueensBoard, QueenAction>(new NQueensBoard(boardSize), NQueensFunctions.getIFActionsFunction(), NQueensFunctions.getResultFunction(), NQueensFunctions.testGoal)); }
public static IProblem <NQueensBoard, QueenAction> createCompleteStateFormulationProblem (int boardSize, NQueensBoard.Config config) { return(new GeneralProblem <NQueensBoard, QueenAction>(new NQueensBoard(boardSize, config), NQueensFunctions.getCSFActionsFunction(), NQueensFunctions.getResultFunction(), NQueensFunctions.testGoal)); }