Class PrintOutListener<T extends Var>

    • Constructor Detail

      • PrintOutListener

        public PrintOutListener()
    • Method Detail

      • executeAfterSolution

        public boolean executeAfterSolution​(Search<T> search,
                                            SelectChoicePoint<T> select)
        It is executed right after consistency of the current search node. The return code specifies if the search should continue or exit.
        Specified by:
        executeAfterSolution in interface SolutionListener<T extends Var>
        Overrides:
        executeAfterSolution in class SimpleSolutionListener<T extends Var>
        Parameters:
        search - the search which have found a solution.
        select - the select choice point heuristic
        Returns:
        false forces the search to keep looking for a solution, true then the search will accept a solution.