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) |
long | getOffset () |
Definition at line 7 of file LinearExpressionProtoOrBuilder.java.
long com.google.ortools.sat.LinearExpressionProtoOrBuilder.getCoeffs | ( | int | index | ) |
repeated int64 coeffs = 2;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
int com.google.ortools.sat.LinearExpressionProtoOrBuilder.getCoeffsCount | ( | ) |
repeated int64 coeffs = 2;
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
java.util.List< java.lang.Long > com.google.ortools.sat.LinearExpressionProtoOrBuilder.getCoeffsList | ( | ) |
repeated int64 coeffs = 2;
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
long com.google.ortools.sat.LinearExpressionProtoOrBuilder.getOffset | ( | ) |
int64 offset = 3;
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
int com.google.ortools.sat.LinearExpressionProtoOrBuilder.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
int com.google.ortools.sat.LinearExpressionProtoOrBuilder.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.LinearExpressionProtoOrBuilder.getVarsList | ( | ) |
repeated int32 vars = 1;
Implemented in com.google.ortools.sat.LinearExpressionProto.Builder, and com.google.ortools.sat.LinearExpressionProto.