Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
java.util.List< java.lang.Long > | getCoeffsList () |
int | getCoeffsCount () |
long | getCoeffs (int index) |
java.util.List< java.lang.Long > | getDomainList () |
int | getDomainCount () |
long | getDomain (int index) |
Definition at line 7 of file LinearConstraintProtoOrBuilder.java.
long com.google.ortools.sat.LinearConstraintProtoOrBuilder.getCoeffs | ( | int | index | ) |
Same size as vars.
repeated int64 coeffs = 2;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
int com.google.ortools.sat.LinearConstraintProtoOrBuilder.getCoeffsCount | ( | ) |
Same size as vars.
repeated int64 coeffs = 2;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.LinearConstraintProtoOrBuilder.getCoeffsList | ( | ) |
Same size as vars.
repeated int64 coeffs = 2;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
long com.google.ortools.sat.LinearConstraintProtoOrBuilder.getDomain | ( | int | index | ) |
repeated int64 domain = 3;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
int com.google.ortools.sat.LinearConstraintProtoOrBuilder.getDomainCount | ( | ) |
repeated int64 domain = 3;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.LinearConstraintProtoOrBuilder.getDomainList | ( | ) |
repeated int64 domain = 3;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
int com.google.ortools.sat.LinearConstraintProtoOrBuilder.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
int com.google.ortools.sat.LinearConstraintProtoOrBuilder.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.LinearConstraintProtoOrBuilder.getVarsList | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.LinearConstraintProto.Builder, and com.google.ortools.sat.LinearConstraintProto.