Interface FloatObjectiveProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FloatObjectiveProto
,FloatObjectiveProto.Builder
@Generated
public interface FloatObjectiveProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getCoeffs
(int index) repeated double coeffs = 2;
int
repeated double coeffs = 2;
repeated double coeffs = 2;
boolean
The optimization direction.double
double offset = 3;
int
getVars
(int index) repeated int32 vars = 1;
int
repeated int32 vars = 1;
repeated int32 vars = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVarsList
-
getVarsCount
int getVarsCount()repeated int32 vars = 1;
- Returns:
- The count of vars.
-
getVars
int getVars(int index) repeated int32 vars = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The vars at the given index.
-
getCoeffsList
-
getCoeffsCount
int getCoeffsCount()repeated double coeffs = 2;
- Returns:
- The count of coeffs.
-
getCoeffs
double getCoeffs(int index) repeated double coeffs = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The coeffs at the given index.
-
getOffset
double getOffset()double offset = 3;
- Returns:
- The offset.
-
getMaximize
boolean getMaximize()The optimization direction. The default is to minimize
bool maximize = 4;
- Returns:
- The maximize.
-