Class KSolverEventListener

java.lang.Object
com.artelys.kalis.KSolverEventListener
Direct Known Subclasses:
KParallelSolverEventListener

public class KSolverEventListener extends Object
Callbacks for a KSolver events.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KSolverEventListener

      protected KSolverEventListener(long cPtr, boolean cMemoryOwn)
    • KSolverEventListener

      public KSolverEventListener()
    • KSolverEventListener

      public KSolverEventListener(KProblem problem)
  • Method Details

    • getCPtr

      protected static long getCPtr(KSolverEventListener obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class 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)
    • getInstanceCopyPtr

      public KSolverEventListener getInstanceCopyPtr(KProblem problem)