Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
RevInteger (int val) | |
int | value () |
void | setValue (Solver s, int val) |
Protected Member Functions | |
RevInteger (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (RevInteger obj) |
static long | swigRelease (RevInteger obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
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.
Definition at line 18 of file RevInteger.java.
|
protected |
Definition at line 22 of file RevInteger.java.
com.google.ortools.constraintsolver.RevInteger.RevInteger | ( | int | val | ) |
Definition at line 58 of file RevInteger.java.
synchronized void com.google.ortools.constraintsolver.RevInteger.delete | ( | ) |
Definition at line 48 of file RevInteger.java.
|
protected |
Definition at line 44 of file RevInteger.java.
|
staticprotected |
Definition at line 27 of file RevInteger.java.
void com.google.ortools.constraintsolver.RevInteger.setValue | ( | Solver | s, |
int | val ) |
Definition at line 66 of file RevInteger.java.
|
staticprotected |
Definition at line 31 of file RevInteger.java.
int com.google.ortools.constraintsolver.RevInteger.value | ( | ) |
Definition at line 62 of file RevInteger.java.
|
protected |
Definition at line 20 of file RevInteger.java.