Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
BoundCost (long cPtr, boolean cMemoryOwn) | |
synchronized void | delete () |
void | setBound (long value) |
long | getBound () |
void | setCost (long value) |
long | getCost () |
BoundCost () | |
BoundCost (long bound, long cost) | |
Static Public Member Functions | |
static long | getCPtr (BoundCost obj) |
static long | swigRelease (BoundCost obj) |
Protected Member Functions | |
void | finalize () |
Protected Attributes | |
transient boolean | swigCMemOwn |
A structure meant to store soft bounds and associated violation constants.
It is 'Simple' because it has one BoundCost per element,
in contrast to 'Multiple'. Design notes:
Definition at line 25 of file BoundCost.java.
com.google.ortools.constraintsolver.BoundCost.BoundCost | ( | long | cPtr, |
boolean | cMemoryOwn ) |
Definition at line 29 of file BoundCost.java.
com.google.ortools.constraintsolver.BoundCost.BoundCost | ( | ) |
Definition at line 81 of file BoundCost.java.
com.google.ortools.constraintsolver.BoundCost.BoundCost | ( | long | bound, |
long | cost ) |
Definition at line 85 of file BoundCost.java.
synchronized void com.google.ortools.constraintsolver.BoundCost.delete | ( | ) |
Definition at line 55 of file BoundCost.java.
|
protected |
Definition at line 51 of file BoundCost.java.
long com.google.ortools.constraintsolver.BoundCost.getBound | ( | ) |
Definition at line 69 of file BoundCost.java.
long com.google.ortools.constraintsolver.BoundCost.getCost | ( | ) |
Definition at line 77 of file BoundCost.java.
|
static |
Definition at line 34 of file BoundCost.java.
void com.google.ortools.constraintsolver.BoundCost.setBound | ( | long | value | ) |
Definition at line 65 of file BoundCost.java.
void com.google.ortools.constraintsolver.BoundCost.setCost | ( | long | value | ) |
Definition at line 73 of file BoundCost.java.
|
static |
Definition at line 38 of file BoundCost.java.
|
protected |
Definition at line 27 of file BoundCost.java.