Uses of Class
com.google.ortools.constraintsolver.IntVarLocalSearchOperator
Packages that use IntVarLocalSearchOperator
-
Uses of IntVarLocalSearchOperator in com.google.ortools.constraintsolver
Subclasses of IntVarLocalSearchOperator in com.google.ortools.constraintsolverModifier and TypeClassDescriptionclassThis is the base class for building an Lns operator.classDefines operators which change the value of variables;
each neighbor corresponds to *one* modified variable.
Sub-classes have to define ModifyValue which determines what the new
variable value is going to be (given the current value and the variable).classBase class of the local search operators dedicated to path modifications
(a path is a set of nodes linked together by arcs).
This family of neighborhoods supposes they are handling next variables
representing the arcs (var[i] represents the node immediately after i on
a path).
Several services are provided:
- arc manipulators (SetNext(), ReverseChain(), MoveChain())
- path inspectors (Next(), Prev(), IsPathEnd())
- path iterators: operators need a given number of nodes to define a
neighbor; this class provides the iteration on a given number of (base)
nodes which can be used to define a neighbor (through the BaseNode method)
Subclasses only need to override MakeNeighbor to create neighbors using
the services above (no direct manipulation of assignments).Methods in com.google.ortools.constraintsolver with parameters of type IntVarLocalSearchOperatorModifier and TypeMethodDescriptionprotected static longIntVarLocalSearchOperator.getCPtr(IntVarLocalSearchOperator obj) static final voidmainJNI.IntVarLocalSearchOperator_activate(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final booleanmainJNI.IntVarLocalSearchOperator_activated(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final voidmainJNI.IntVarLocalSearchOperator_addVars(long jarg1, IntVarLocalSearchOperator jarg1_, IntVar[] jarg2) static final booleanmainJNI.IntVarLocalSearchOperator_ApplyChanges(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2, Assignment jarg2_, long jarg3, Assignment jarg3_) static final voidmainJNI.IntVarLocalSearchOperator_change_ownership(IntVarLocalSearchOperator obj, long cptr, boolean take_or_release) static final voidmainJNI.IntVarLocalSearchOperator_deactivate(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final voidmainJNI.IntVarLocalSearchOperator_director_connect(IntVarLocalSearchOperator obj, long cptr, boolean mem_own, boolean weak_global) static final booleanmainJNI.IntVarLocalSearchOperator_HoldsDelta(long jarg1, IntVarLocalSearchOperator jarg1_) static final booleanmainJNI.IntVarLocalSearchOperator_HoldsDeltaSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_) static final booleanmainJNI.IntVarLocalSearchOperator_isIncremental(long jarg1, IntVarLocalSearchOperator jarg1_) static final booleanmainJNI.IntVarLocalSearchOperator_isIncrementalSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_) static final longmainJNI.IntVarLocalSearchOperator_oldValue(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final booleanmainJNI.IntVarLocalSearchOperator_oneNeighbor(long jarg1, IntVarLocalSearchOperator jarg1_) static final booleanmainJNI.IntVarLocalSearchOperator_oneNeighborSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_) static final voidmainJNI.IntVarLocalSearchOperator_onStart(long jarg1, IntVarLocalSearchOperator jarg1_) static final voidmainJNI.IntVarLocalSearchOperator_onStartSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_) static final longmainJNI.IntVarLocalSearchOperator_PrevValue(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final voidmainJNI.IntVarLocalSearchOperator_RevertChanges(long jarg1, IntVarLocalSearchOperator jarg1_, boolean jarg2) static final voidmainJNI.IntVarLocalSearchOperator_setValue(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2, long jarg3) static final intmainJNI.IntVarLocalSearchOperator_size(long jarg1, IntVarLocalSearchOperator jarg1_) static final booleanmainJNI.IntVarLocalSearchOperator_SkipUnchanged(long jarg1, IntVarLocalSearchOperator jarg1_, int jarg2) static final booleanmainJNI.IntVarLocalSearchOperator_SkipUnchangedSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_, int jarg2) static final voidmainJNI.IntVarLocalSearchOperator_start(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2, Assignment jarg2_) static final voidmainJNI.IntVarLocalSearchOperator_startSwigExplicitIntVarLocalSearchOperator(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2, Assignment jarg2_) static final longmainJNI.IntVarLocalSearchOperator_value(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static final longmainJNI.IntVarLocalSearchOperator_var(long jarg1, IntVarLocalSearchOperator jarg1_, long jarg2) static booleanstatic booleanstatic booleanstatic booleanstatic voidstatic voidstatic booleanmainJNI.SwigDirector_IntVarLocalSearchOperator_SkipUnchanged(IntVarLocalSearchOperator jself, int index) static voidmainJNI.SwigDirector_IntVarLocalSearchOperator_start(IntVarLocalSearchOperator jself, long assignment) static Stringprotected static longIntVarLocalSearchOperator.swigRelease(IntVarLocalSearchOperator obj)