Java Reference
Java Reference
Detailed Description
The two arrays of variable each represent a function, the second is the inverse of the first: f_direct[i] == j <=> f_inverse[j] == i.
Protobuf type
Definition at line 14 of file InverseConstraintProto.java.
Classes | |
| class | Builder |
Public Member Functions | |
| .lang.Override final com.google.protobuf.UnknownFieldSet | getUnknownFields () |
| .lang.Override java.util.List< java.lang.Integer > | getFDirectList () |
repeated int32 f_direct = 1; More... | |
| int | getFDirectCount () |
repeated int32 f_direct = 1; More... | |
| int | getFDirect (int index) |
repeated int32 f_direct = 1; More... | |
| .lang.Override java.util.List< java.lang.Integer > | getFInverseList () |
repeated int32 f_inverse = 2; More... | |
| int | getFInverseCount () |
repeated int32 f_inverse = 2; More... | |
| int | getFInverse (int index) |
repeated int32 f_inverse = 2; More... | |
| .lang.Override final boolean | isInitialized () |
| .lang.Override void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
| .lang.Override int | getSerializedSize () |
| .lang.Override boolean | equals (final java.lang.Object obj) |
| .lang.Override int | hashCode () |
| .lang.Override Builder | newBuilderForType () |
| .lang.Override Builder | toBuilder () |
| .lang.Override com.google.protobuf.Parser< InverseConstraintProto > | getParserForType () |
| .lang.Override com.google.ortools.sat.InverseConstraintProto | getDefaultInstanceForType () |
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static com.google.ortools.sat.InverseConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
| static com.google.ortools.sat.InverseConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
| static com.google.ortools.sat.InverseConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static Builder | newBuilder () |
| static Builder | newBuilder (com.google.ortools.sat.InverseConstraintProto prototype) |
| static com.google.ortools.sat.InverseConstraintProto | getDefaultInstance () |
| static com.google.protobuf.Parser< InverseConstraintProto > | parser () |
Static Public Attributes | |
| static final int | F_DIRECT_FIELD_NUMBER = 1 |
| static final int | F_INVERSE_FIELD_NUMBER = 2 |
Protected Member Functions | |
| .lang.Override java.lang.Object | newInstance (UnusedPrivateParameter unused) |
| .lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
| .lang.Override Builder | newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Member Function Documentation
◆ equals()
|
inline |
Definition at line 267 of file InverseConstraintProto.java.
◆ getDefaultInstance()
|
inlinestatic |
Definition at line 755 of file InverseConstraintProto.java.
◆ getDefaultInstanceForType()
|
inline |
Definition at line 780 of file InverseConstraintProto.java.
◆ getDescriptor()
|
inlinestatic |
Definition at line 127 of file InverseConstraintProto.java.
◆ getFDirect()
|
inline |
repeated int32 f_direct = 1;
- Parameters
-
index The index of the element to return.
- Returns
- The fDirect at the given index.
Implements InverseConstraintProtoOrBuilder.
Definition at line 162 of file InverseConstraintProto.java.
◆ getFDirectCount()
|
inline |
repeated int32 f_direct = 1;
- Returns
- The count of fDirect.
Implements InverseConstraintProtoOrBuilder.
Definition at line 154 of file InverseConstraintProto.java.
◆ getFDirectList()
|
inline |
repeated int32 f_direct = 1;
- Returns
- A list containing the fDirect.
Implements InverseConstraintProtoOrBuilder.
Definition at line 147 of file InverseConstraintProto.java.
◆ getFInverse()
|
inline |
repeated int32 f_inverse = 2;
- Parameters
-
index The index of the element to return.
- Returns
- The fInverse at the given index.
Implements InverseConstraintProtoOrBuilder.
Definition at line 190 of file InverseConstraintProto.java.
◆ getFInverseCount()
|
inline |
repeated int32 f_inverse = 2;
- Returns
- The count of fInverse.
Implements InverseConstraintProtoOrBuilder.
Definition at line 182 of file InverseConstraintProto.java.
◆ getFInverseList()
|
inline |
repeated int32 f_inverse = 2;
- Returns
- A list containing the fInverse.
Implements InverseConstraintProtoOrBuilder.
Definition at line 175 of file InverseConstraintProto.java.
◆ getParserForType()
|
inline |
Definition at line 775 of file InverseConstraintProto.java.
◆ getSerializedSize()
|
inline |
Definition at line 228 of file InverseConstraintProto.java.
◆ getUnknownFields()
|
inline |
Definition at line 37 of file InverseConstraintProto.java.
◆ hashCode()
|
inline |
Definition at line 285 of file InverseConstraintProto.java.
◆ internalGetFieldAccessorTable()
|
inlineprotected |
Definition at line 133 of file InverseConstraintProto.java.
◆ isInitialized()
|
inline |
Definition at line 197 of file InverseConstraintProto.java.
◆ newBuilder() [1/2]
|
inlinestatic |
Definition at line 376 of file InverseConstraintProto.java.
◆ newBuilder() [2/2]
|
inlinestatic |
Definition at line 379 of file InverseConstraintProto.java.
◆ newBuilderForType() [1/2]
|
inline |
Definition at line 375 of file InverseConstraintProto.java.
◆ newBuilderForType() [2/2]
|
inlineprotected |
Definition at line 389 of file InverseConstraintProto.java.
◆ newInstance()
|
inlineprotected |
Definition at line 30 of file InverseConstraintProto.java.
◆ parseDelimitedFrom() [1/2]
|
inlinestatic |
Definition at line 348 of file InverseConstraintProto.java.
◆ parseDelimitedFrom() [2/2]
|
inlinestatic |
Definition at line 353 of file InverseConstraintProto.java.
◆ parseFrom() [1/10]
|
inlinestatic |
Definition at line 326 of file InverseConstraintProto.java.
◆ parseFrom() [2/10]
|
inlinestatic |
Definition at line 330 of file InverseConstraintProto.java.
◆ parseFrom() [3/10]
|
inlinestatic |
Definition at line 315 of file InverseConstraintProto.java.
◆ parseFrom() [4/10]
|
inlinestatic |
Definition at line 320 of file InverseConstraintProto.java.
◆ parseFrom() [5/10]
|
inlinestatic |
Definition at line 360 of file InverseConstraintProto.java.
◆ parseFrom() [6/10]
|
inlinestatic |
Definition at line 366 of file InverseConstraintProto.java.
◆ parseFrom() [7/10]
|
inlinestatic |
Definition at line 336 of file InverseConstraintProto.java.
◆ parseFrom() [8/10]
|
inlinestatic |
Definition at line 341 of file InverseConstraintProto.java.
◆ parseFrom() [9/10]
|
inlinestatic |
Definition at line 304 of file InverseConstraintProto.java.
◆ parseFrom() [10/10]
|
inlinestatic |
Definition at line 309 of file InverseConstraintProto.java.
◆ parser()
|
inlinestatic |
Definition at line 770 of file InverseConstraintProto.java.
◆ toBuilder()
|
inline |
Definition at line 383 of file InverseConstraintProto.java.
◆ writeTo()
|
inline |
Definition at line 207 of file InverseConstraintProto.java.
Member Data Documentation
◆ F_DIRECT_FIELD_NUMBER
|
static |
Definition at line 139 of file InverseConstraintProto.java.
◆ F_INVERSE_FIELD_NUMBER
|
static |
Definition at line 167 of file InverseConstraintProto.java.
The documentation for this class was generated from the following file: