Skip navigation links
aima.core.search.framework

Interface SolutionChecker

    • Method Detail

      • isAcceptableSolution

        boolean isAcceptableSolution(java.util.List<Action> actions,
                                     java.lang.Object goal)
        This method is only called if GoalTest.isGoalState() returns true.
        Parameters:
        actions - the list of actions to get to the goal state.
        goal - the goal the list of actions will reach.
        Returns:
        true if the solution is acceptable, false otherwise, which indicates the search should be continued.