![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
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 operations_research.sat.InverseConstraintProto
Definition at line 17 of file InverseConstraintProto.java.
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getFDirectList () |
int | getFDirectCount () |
int | getFDirect (int index) |
java.util.List< java.lang.Integer > | getFInverseList () |
int | getFInverseCount () |
int | getFInverse (int index) |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< InverseConstraintProto > | getParserForType () |
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 | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
boolean com.google.ortools.sat.InverseConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 185 of file InverseConstraintProto.java.
|
static |
Definition at line 684 of file InverseConstraintProto.java.
com.google.ortools.sat.InverseConstraintProto com.google.ortools.sat.InverseConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 720 of file InverseConstraintProto.java.
|
static |
Definition at line 41 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.getFDirect | ( | int | index | ) |
repeated int32 f_direct = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 78 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.getFDirectCount | ( | ) |
repeated int32 f_direct = 1;
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 70 of file InverseConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.InverseConstraintProto.getFDirectList | ( | ) |
repeated int32 f_direct = 1;
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 63 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.getFInverse | ( | int | index | ) |
repeated int32 f_inverse = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 108 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.getFInverseCount | ( | ) |
repeated int32 f_inverse = 2;
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 100 of file InverseConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.InverseConstraintProto.getFInverseList | ( | ) |
repeated int32 f_inverse = 2;
Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.
Definition at line 93 of file InverseConstraintProto.java.
com.google.protobuf.Parser< InverseConstraintProto > com.google.ortools.sat.InverseConstraintProto.getParserForType | ( | ) |
Definition at line 715 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.getSerializedSize | ( | ) |
Definition at line 146 of file InverseConstraintProto.java.
int com.google.ortools.sat.InverseConstraintProto.hashCode | ( | ) |
Definition at line 203 of file InverseConstraintProto.java.
|
protected |
Definition at line 47 of file InverseConstraintProto.java.
final boolean com.google.ortools.sat.InverseConstraintProto.isInitialized | ( | ) |
Definition at line 115 of file InverseConstraintProto.java.
|
static |
Definition at line 296 of file InverseConstraintProto.java.
|
static |
Definition at line 299 of file InverseConstraintProto.java.
Builder com.google.ortools.sat.InverseConstraintProto.newBuilderForType | ( | ) |
Definition at line 295 of file InverseConstraintProto.java.
|
protected |
Definition at line 309 of file InverseConstraintProto.java.
|
static |
Definition at line 267 of file InverseConstraintProto.java.
|
static |
Definition at line 273 of file InverseConstraintProto.java.
|
static |
Definition at line 244 of file InverseConstraintProto.java.
|
static |
Definition at line 248 of file InverseConstraintProto.java.
|
static |
Definition at line 233 of file InverseConstraintProto.java.
|
static |
Definition at line 238 of file InverseConstraintProto.java.
|
static |
Definition at line 280 of file InverseConstraintProto.java.
|
static |
Definition at line 286 of file InverseConstraintProto.java.
|
static |
Definition at line 254 of file InverseConstraintProto.java.
|
static |
Definition at line 259 of file InverseConstraintProto.java.
|
static |
Definition at line 222 of file InverseConstraintProto.java.
|
static |
Definition at line 227 of file InverseConstraintProto.java.
|
static |
Definition at line 710 of file InverseConstraintProto.java.
Builder com.google.ortools.sat.InverseConstraintProto.toBuilder | ( | ) |
Definition at line 303 of file InverseConstraintProto.java.
void com.google.ortools.sat.InverseConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 125 of file InverseConstraintProto.java.
|
static |
Definition at line 53 of file InverseConstraintProto.java.
|
static |
Definition at line 83 of file InverseConstraintProto.java.