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

operations_research.sat.InverseConstraintProto

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< InverseConstraintProtogetParserForType ()
 
.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< InverseConstraintProtoparser ()
 

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()

.lang.Override boolean equals ( final java.lang.Object  obj)

Definition at line 267 of file InverseConstraintProto.java.

◆ getDefaultInstance()

static com.google.ortools.sat.InverseConstraintProto getDefaultInstance ( )
static

Definition at line 755 of file InverseConstraintProto.java.

◆ getDefaultInstanceForType()

.lang.Override com.google.ortools.sat.InverseConstraintProto getDefaultInstanceForType ( )

Definition at line 780 of file InverseConstraintProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ( )
static

Definition at line 127 of file InverseConstraintProto.java.

◆ getFDirect()

int getFDirect ( int  index)

repeated int32 f_direct = 1;

Parameters
indexThe index of the element to return.
Returns
The fDirect at the given index.

Implements InverseConstraintProtoOrBuilder.

Definition at line 162 of file InverseConstraintProto.java.

◆ getFDirectCount()

int getFDirectCount ( )

repeated int32 f_direct = 1;

Returns
The count of fDirect.

Implements InverseConstraintProtoOrBuilder.

Definition at line 154 of file InverseConstraintProto.java.

◆ getFDirectList()

.lang.Override java.util.List<java.lang.Integer> getFDirectList ( )

repeated int32 f_direct = 1;

Returns
A list containing the fDirect.

Implements InverseConstraintProtoOrBuilder.

Definition at line 147 of file InverseConstraintProto.java.

◆ getFInverse()

int getFInverse ( int  index)

repeated int32 f_inverse = 2;

Parameters
indexThe index of the element to return.
Returns
The fInverse at the given index.

Implements InverseConstraintProtoOrBuilder.

Definition at line 190 of file InverseConstraintProto.java.

◆ getFInverseCount()

int getFInverseCount ( )

repeated int32 f_inverse = 2;

Returns
The count of fInverse.

Implements InverseConstraintProtoOrBuilder.

Definition at line 182 of file InverseConstraintProto.java.

◆ getFInverseList()

.lang.Override java.util.List<java.lang.Integer> getFInverseList ( )

repeated int32 f_inverse = 2;

Returns
A list containing the fInverse.

Implements InverseConstraintProtoOrBuilder.

Definition at line 175 of file InverseConstraintProto.java.

◆ getParserForType()

.lang.Override com.google.protobuf.Parser<InverseConstraintProto> getParserForType ( )

Definition at line 775 of file InverseConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 228 of file InverseConstraintProto.java.

◆ getUnknownFields()

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ( )

Definition at line 37 of file InverseConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 285 of file InverseConstraintProto.java.

◆ internalGetFieldAccessorTable()

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ( )
protected

Definition at line 133 of file InverseConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 197 of file InverseConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 376 of file InverseConstraintProto.java.

◆ newBuilder() [2/2]

static Builder newBuilder ( com.google.ortools.sat.InverseConstraintProto  prototype)
static

Definition at line 379 of file InverseConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 375 of file InverseConstraintProto.java.

◆ newBuilderForType() [2/2]

.lang.Override Builder newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent  parent)
protected

Definition at line 389 of file InverseConstraintProto.java.

◆ newInstance()

.lang.Override java.lang.Object newInstance ( UnusedPrivateParameter  unused)
protected

Definition at line 30 of file InverseConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.sat.InverseConstraintProto parseDelimitedFrom ( java.io.InputStream  input) throws java.io.IOException
static

Definition at line 348 of file InverseConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.sat.InverseConstraintProto parseDelimitedFrom ( java.io.InputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
static

Definition at line 353 of file InverseConstraintProto.java.

◆ parseFrom() [1/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( byte[]  data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 326 of file InverseConstraintProto.java.

◆ parseFrom() [2/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( byte[]  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 330 of file InverseConstraintProto.java.

◆ parseFrom() [3/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( com.google.protobuf.ByteString  data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 315 of file InverseConstraintProto.java.

◆ parseFrom() [4/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( com.google.protobuf.ByteString  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 320 of file InverseConstraintProto.java.

◆ parseFrom() [5/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( com.google.protobuf.CodedInputStream  input) throws java.io.IOException
static

Definition at line 360 of file InverseConstraintProto.java.

◆ parseFrom() [6/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( com.google.protobuf.CodedInputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
static

Definition at line 366 of file InverseConstraintProto.java.

◆ parseFrom() [7/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( java.io.InputStream  input) throws java.io.IOException
static

Definition at line 336 of file InverseConstraintProto.java.

◆ parseFrom() [8/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( java.io.InputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
static

Definition at line 341 of file InverseConstraintProto.java.

◆ parseFrom() [9/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( java.nio.ByteBuffer  data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 304 of file InverseConstraintProto.java.

◆ parseFrom() [10/10]

static com.google.ortools.sat.InverseConstraintProto parseFrom ( java.nio.ByteBuffer  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 309 of file InverseConstraintProto.java.

◆ parser()

static com.google.protobuf.Parser<InverseConstraintProto> parser ( )
static

Definition at line 770 of file InverseConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 383 of file InverseConstraintProto.java.

◆ writeTo()

.lang.Override void writeTo ( com.google.protobuf.CodedOutputStream  output) throws java.io.IOException

Definition at line 207 of file InverseConstraintProto.java.

Member Data Documentation

◆ F_DIRECT_FIELD_NUMBER

final int F_DIRECT_FIELD_NUMBER = 1
static

Definition at line 139 of file InverseConstraintProto.java.

◆ F_INVERSE_FIELD_NUMBER

final int F_INVERSE_FIELD_NUMBER = 2
static

Definition at line 167 of file InverseConstraintProto.java.


The documentation for this class was generated from the following file: