Uses of Class
com.google.ortools.constraintsolver.IntVarLocalSearchOperatorTemplate
Packages that use IntVarLocalSearchOperatorTemplate
-
Uses of IntVarLocalSearchOperatorTemplate in com.google.ortools.constraintsolver
Subclasses of IntVarLocalSearchOperatorTemplate 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).classclassBase 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 IntVarLocalSearchOperatorTemplateModifier and TypeMethodDescriptionprotected static longIntVarLocalSearchOperatorTemplate.getCPtr(IntVarLocalSearchOperatorTemplate obj) static final voidmainJNI.IntVarLocalSearchOperatorTemplate_activate(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2) static final booleanmainJNI.IntVarLocalSearchOperatorTemplate_activated(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2) static final voidmainJNI.IntVarLocalSearchOperatorTemplate_addVars(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, IntVar[] jarg2) static final voidmainJNI.IntVarLocalSearchOperatorTemplate_deactivate(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2) static final booleanmainJNI.IntVarLocalSearchOperatorTemplate_HoldsDelta(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_) static final booleanmainJNI.IntVarLocalSearchOperatorTemplate_isIncremental(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_) static final longmainJNI.IntVarLocalSearchOperatorTemplate_oldValue(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2) static final voidmainJNI.IntVarLocalSearchOperatorTemplate_onStart(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_) static final voidmainJNI.IntVarLocalSearchOperatorTemplate_setValue(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2, long jarg3) static final intmainJNI.IntVarLocalSearchOperatorTemplate_size(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_) static final longmainJNI.IntVarLocalSearchOperatorTemplate_value(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2) static final longmainJNI.IntVarLocalSearchOperatorTemplate_var(long jarg1, IntVarLocalSearchOperatorTemplate jarg1_, long jarg2)