Class KSolver.IntControl

  • Enclosing class:
    KSolver

    public static final class KSolver.IntControl
    extends java.lang.Object
    Integer controls
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CheckSolutionStatus
      Check each solution for validity.
      static int ClearExistingSolutions
      Control to clear or not the existing solutions before an optimization: 1 for yes (default), 0 for no
      static int MaxDepth
      Maximum depth of the search tree.
      static int MaxNumberOfBackTracks
      Maximum number of backtracks during search.
      static int MaxNumberOfNodes
      Maximum number of nodes to explore.
      static int MaxNumberOfNodesBetweenSolutions
      Maximum number of nodes between two succesive solutions.
      static int MaxNumberOfSolutions
      Maximum number of solutions to find.
      static int NumberOfSolutionBetweenRestarts
      Number of solutions between search restarts : less or equal to 0 (default) for no restarts.
      static int NumberOfThreads
      Number of threads to be used during search.
      static 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).
      static int StatsPrinting
      Print search statistics each KSolver::StatsPrinting seconds (at max).
    • Constructor Summary

      Constructors 
      Constructor Description
      IntControl()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
      • ClearExistingSolutions

        public static final int ClearExistingSolutions
        Control to clear or not the existing solutions before an optimization: 1 for yes (default), 0 for no
        See Also:
        Constant Field Values
    • Constructor Detail

      • IntControl

        public IntControl()