Class RevInteger
java.lang.Object
com.google.ortools.constraintsolver.RevInteger
This class adds reversibility to a POD type.
It contains the stamp optimization. i.e. the SaveValue call is done
only once per node of the search tree. Please note that actual
stamps always starts at 1, thus an initial value of 0 will always
trigger the first SaveValue.
It contains the stamp optimization. i.e. the SaveValue call is done
only once per node of the search tree. Please note that actual
stamps always starts at 1, thus an initial value of 0 will always
trigger the first SaveValue.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionRevInteger(int val) protectedRevInteger(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()protected static longgetCPtr(RevInteger obj) voidprotected static longswigRelease(RevInteger obj) intvalue()
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
RevInteger
protected RevInteger(long cPtr, boolean cMemoryOwn) -
RevInteger
public RevInteger(int val)
-
-
Method Details