Class KSolver.IntControl

java.lang.Object
com.artelys.kalis.KSolver.IntControl
Enclosing class:
KSolver

public static final class KSolver.IntControl extends Object
Integer controls
  • Field Details

    • MaxNumberOfNodes

      public static final int MaxNumberOfNodes
      Maximum number of nodes to explore.
      See Also:
      Constant Field Values
    • MaxNumberOfSolutions

      public static final int MaxNumberOfSolutions
      Maximum number of solutions to find.
      See Also:
      Constant Field Values
    • MaxDepth

      public static final int MaxDepth
      Maximum depth of the search tree.
      See Also:
      Constant Field Values
    • MaxNumberOfBackTracks

      public static final int MaxNumberOfBackTracks
      Maximum number of backtracks during search.
      See Also:
      Constant Field Values
    • StatsPrinting

      public static final int StatsPrinting
      Print search statistics each KSolver::StatsPrinting seconds (at max).
      See Also:
      Constant Field Values
    • CheckSolutionStatus

      public static final int CheckSolutionStatus
      Check each solution for validity.
      See Also:
      Constant Field Values
    • MaxNumberOfNodesBetweenSolutions

      public static final int MaxNumberOfNodesBetweenSolutions
      Maximum number of nodes between two succesive solutions.
      See Also:
      Constant Field Values
    • NumberOfThreads

      public static final int NumberOfThreads
      Number of threads to be used during search. This control parameter is automatically limited by the number of instances in the KProblem object.
      See Also:
      Constant Field Values
    • OptimizationAlgorithm

      public static final int OptimizationAlgorithm
      Algorithm used for optimization: less or equal to 0 (default) for branch and bound, 1 for binary search on objective interval, 2 for n-ary search on objective interval (available for multi-threaded optimization only).
      See Also:
      Constant Field Values
    • NumberOfSolutionBetweenRestarts

      public static final int NumberOfSolutionBetweenRestarts
      Number of solutions between search restarts : less or equal to 0 (default) for no restarts.
      See Also:
      Constant Field Values
  • Constructor Details

    • IntControl

      public IntControl()