Class KSolverEventListener

  • Direct Known Subclasses:
    KParallelSolverEventListener

    public class KSolverEventListener
    extends java.lang.Object
    Callbacks for a KSolver events.
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • KSolverEventListener

        protected KSolverEventListener​(long cPtr,
                                       boolean cMemoryOwn)
      • KSolverEventListener

        public KSolverEventListener()
      • KSolverEventListener

        public KSolverEventListener​(KProblem problem)
    • Method Detail

      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • swigDirectorDisconnect

        protected void swigDirectorDisconnect()
      • swigReleaseOwnership

        public void swigReleaseOwnership()
      • swigTakeOwnership

        public void swigTakeOwnership()
      • getProblem

        public KProblem getProblem()
      • nodeExplored

        public void nodeExplored​(int thread)
        Called after constraint propagation in each node
      • branchGoDown

        public void branchGoDown​(int thread)
        Called after each branchGoDown event
      • branchGoUp

        public void branchGoUp​(int thread)
        Called after each branchGoUp event
      • branchingScheme

        public void branchingScheme()
        Called after each bracnhing scheme switch
      • stopComputations

        public boolean stopComputations()
        Ask user for termination at each node
      • solutionFound

        public void solutionFound​(KSolution solution)
        Called each time a solution is found
      • solutionFound

        public void solutionFound​(KSolution solution,
                                  int thread)