![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
This struct holds all parameters for the default search.
DefaultPhaseParameters is only used by Solver::MakeDefaultPhase methods.
Note this is for advanced users only.
Definition at line 19 of file DefaultPhaseParameters.java.
Public Member Functions | |
| DefaultPhaseParameters (long cPtr, boolean cMemoryOwn) | |
| synchronized void | delete () |
| void | keepAliveDecisionBuilder (DecisionBuilder db) |
| void | setVarSelectionSchema (int value) |
| int | getVarSelectionSchema () |
| void | setValueSelectionSchema (int value) |
| int | getValueSelectionSchema () |
| void | setInitializationSplits (int value) |
| int | getInitializationSplits () |
| void | setRunAllHeuristics (boolean value) |
| boolean | getRunAllHeuristics () |
| void | setHeuristicPeriod (int value) |
| int | getHeuristicPeriod () |
| void | setHeuristicNumFailuresLimit (int value) |
| int | getHeuristicNumFailuresLimit () |
| void | setPersistentImpact (boolean value) |
| boolean | getPersistentImpact () |
| void | setRandomSeed (int value) |
| int | getRandomSeed () |
| void | setDisplayLevel (int value) |
| int | getDisplayLevel () |
| void | setUseLastConflict (boolean value) |
| boolean | getUseLastConflict () |
| void | setDecisionBuilder (DecisionBuilder value) |
| DecisionBuilder | getDecisionBuilder () |
| DefaultPhaseParameters () | |
Static Public Member Functions | |
| static long | getCPtr (DefaultPhaseParameters obj) |
| static long | swigRelease (DefaultPhaseParameters obj) |
Static Public Attributes | |
| static final int | CHOOSE_MAX_SUM_IMPACT = mainJNI.DefaultPhaseParameters_CHOOSE_MAX_SUM_IMPACT_get() |
| VariableSelection. | |
| static final int | CHOOSE_MAX_AVERAGE_IMPACT = mainJNI.DefaultPhaseParameters_CHOOSE_MAX_AVERAGE_IMPACT_get() |
| static final int | CHOOSE_MAX_VALUE_IMPACT = mainJNI.DefaultPhaseParameters_CHOOSE_MAX_VALUE_IMPACT_get() |
| static final int | SELECT_MIN_IMPACT = mainJNI.DefaultPhaseParameters_SELECT_MIN_IMPACT_get() |
| ValueSelection. | |
| static final int | SELECT_MAX_IMPACT = mainJNI.DefaultPhaseParameters_SELECT_MAX_IMPACT_get() |
| static final int | NONE = mainJNI.DefaultPhaseParameters_NONE_get() |
| DisplayLevel. | |
| static final int | NORMAL = mainJNI.DefaultPhaseParameters_NORMAL_get() |
| static final int | VERBOSE = mainJNI.DefaultPhaseParameters_VERBOSE_get() |
Protected Member Functions | |
| void | finalize () |
Protected Attributes | |
| transient boolean | swigCMemOwn |
| com.google.ortools.constraintsolver.DefaultPhaseParameters.DefaultPhaseParameters | ( | long | cPtr, |
| boolean | cMemoryOwn ) |
Definition at line 23 of file DefaultPhaseParameters.java.
| com.google.ortools.constraintsolver.DefaultPhaseParameters.DefaultPhaseParameters | ( | ) |
Definition at line 244 of file DefaultPhaseParameters.java.
| synchronized void com.google.ortools.constraintsolver.DefaultPhaseParameters.delete | ( | ) |
Definition at line 49 of file DefaultPhaseParameters.java.
|
protected |
Definition at line 45 of file DefaultPhaseParameters.java.
|
static |
Definition at line 28 of file DefaultPhaseParameters.java.
| DecisionBuilder com.google.ortools.constraintsolver.DefaultPhaseParameters.getDecisionBuilder | ( | ) |
When defined, this overrides the default impact based decision builder.
Definition at line 239 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getDisplayLevel | ( | ) |
This represents the amount of information displayed by the default search.
NONE means no display, VERBOSE means extra information.
Definition at line 207 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getHeuristicNumFailuresLimit | ( | ) |
The failure limit for each heuristic that we run.
Definition at line 161 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getHeuristicPeriod | ( | ) |
The distance in nodes between each run of the heuristics. A
negative or null value will mean that we will not run heuristics
at all.
Definition at line 147 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getInitializationSplits | ( | ) |
Maximum number of intervals that the initialization of impacts will scan
per variable.
Definition at line 111 of file DefaultPhaseParameters.java.
| boolean com.google.ortools.constraintsolver.DefaultPhaseParameters.getPersistentImpact | ( | ) |
Whether to keep the impact from the first search for other searches,
or to recompute the impact for each new search.
Definition at line 177 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getRandomSeed | ( | ) |
Seed used to initialize the random part in some heuristics.
Definition at line 191 of file DefaultPhaseParameters.java.
| boolean com.google.ortools.constraintsolver.DefaultPhaseParameters.getRunAllHeuristics | ( | ) |
The default phase will run heuristics periodically. This parameter
indicates if we should run all heuristics, or a randomly selected
one.
Definition at line 129 of file DefaultPhaseParameters.java.
| boolean com.google.ortools.constraintsolver.DefaultPhaseParameters.getUseLastConflict | ( | ) |
Should we use last conflict method. The default is false.
Definition at line 221 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getValueSelectionSchema | ( | ) |
This parameter describes which value to select for a given var.
Definition at line 95 of file DefaultPhaseParameters.java.
| int com.google.ortools.constraintsolver.DefaultPhaseParameters.getVarSelectionSchema | ( | ) |
This parameter describes how the next variable to instantiate
will be chosen.
Definition at line 81 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.keepAliveDecisionBuilder | ( | DecisionBuilder | db | ) |
Definition at line 62 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setDecisionBuilder | ( | DecisionBuilder | value | ) |
When defined, this overrides the default impact based decision builder.
Definition at line 228 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setDisplayLevel | ( | int | value | ) |
This represents the amount of information displayed by the default search.
NONE means no display, VERBOSE means extra information.
Definition at line 199 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setHeuristicNumFailuresLimit | ( | int | value | ) |
The failure limit for each heuristic that we run.
Definition at line 154 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setHeuristicPeriod | ( | int | value | ) |
The distance in nodes between each run of the heuristics. A
negative or null value will mean that we will not run heuristics
at all.
Definition at line 138 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setInitializationSplits | ( | int | value | ) |
Maximum number of intervals that the initialization of impacts will scan
per variable.
Definition at line 103 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setPersistentImpact | ( | boolean | value | ) |
Whether to keep the impact from the first search for other searches,
or to recompute the impact for each new search.
Definition at line 169 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setRandomSeed | ( | int | value | ) |
Seed used to initialize the random part in some heuristics.
Definition at line 184 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setRunAllHeuristics | ( | boolean | value | ) |
The default phase will run heuristics periodically. This parameter
indicates if we should run all heuristics, or a randomly selected
one.
Definition at line 120 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setUseLastConflict | ( | boolean | value | ) |
Should we use last conflict method. The default is false.
Definition at line 214 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setValueSelectionSchema | ( | int | value | ) |
This parameter describes which value to select for a given var.
Definition at line 88 of file DefaultPhaseParameters.java.
| void com.google.ortools.constraintsolver.DefaultPhaseParameters.setVarSelectionSchema | ( | int | value | ) |
This parameter describes how the next variable to instantiate
will be chosen.
Definition at line 73 of file DefaultPhaseParameters.java.
|
static |
Definition at line 32 of file DefaultPhaseParameters.java.
|
static |
Definition at line 250 of file DefaultPhaseParameters.java.
|
static |
VariableSelection.
Definition at line 249 of file DefaultPhaseParameters.java.
|
static |
Definition at line 251 of file DefaultPhaseParameters.java.
|
static |
DisplayLevel.
Definition at line 258 of file DefaultPhaseParameters.java.
|
static |
Definition at line 259 of file DefaultPhaseParameters.java.
|
static |
Definition at line 255 of file DefaultPhaseParameters.java.
|
static |
ValueSelection.
Definition at line 254 of file DefaultPhaseParameters.java.
|
protected |
Definition at line 21 of file DefaultPhaseParameters.java.
|
static |
Definition at line 260 of file DefaultPhaseParameters.java.