Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.InverseConstraintProto Class Reference
Inheritance diagram for com.google.ortools.sat.InverseConstraintProto:
com.google.ortools.sat.InverseConstraintProtoOrBuilder

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< InverseConstraintProtogetParserForType ()
 
com.google.ortools.sat.InverseConstraintProto getDefaultInstanceForType ()
 
- Public Member Functions inherited from com.google.ortools.sat.InverseConstraintProtoOrBuilder

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

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

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 15 of file InverseConstraintProto.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.sat.InverseConstraintProto.equals ( final java.lang.Object obj)

Definition at line 183 of file InverseConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 682 of file InverseConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 718 of file InverseConstraintProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.InverseConstraintProto.getDescriptor ( )
static

Definition at line 39 of file InverseConstraintProto.java.

◆ getFDirect()

int com.google.ortools.sat.InverseConstraintProto.getFDirect ( int index)

repeated int32 f_direct = 1;

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

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 76 of file InverseConstraintProto.java.

◆ getFDirectCount()

int com.google.ortools.sat.InverseConstraintProto.getFDirectCount ( )

repeated int32 f_direct = 1;

Returns
The count of fDirect.

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 68 of file InverseConstraintProto.java.

◆ getFDirectList()

java.util.List< java.lang.Integer > com.google.ortools.sat.InverseConstraintProto.getFDirectList ( )

repeated int32 f_direct = 1;

Returns
A list containing the fDirect.

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 61 of file InverseConstraintProto.java.

◆ getFInverse()

int com.google.ortools.sat.InverseConstraintProto.getFInverse ( int index)

repeated int32 f_inverse = 2;

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

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 106 of file InverseConstraintProto.java.

◆ getFInverseCount()

int com.google.ortools.sat.InverseConstraintProto.getFInverseCount ( )

repeated int32 f_inverse = 2;

Returns
The count of fInverse.

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 98 of file InverseConstraintProto.java.

◆ getFInverseList()

java.util.List< java.lang.Integer > com.google.ortools.sat.InverseConstraintProto.getFInverseList ( )

repeated int32 f_inverse = 2;

Returns
A list containing the fInverse.

Implements com.google.ortools.sat.InverseConstraintProtoOrBuilder.

Definition at line 91 of file InverseConstraintProto.java.

◆ getParserForType()

com.google.protobuf.Parser< InverseConstraintProto > com.google.ortools.sat.InverseConstraintProto.getParserForType ( )

Definition at line 713 of file InverseConstraintProto.java.

◆ getSerializedSize()

int com.google.ortools.sat.InverseConstraintProto.getSerializedSize ( )

Definition at line 144 of file InverseConstraintProto.java.

◆ hashCode()

int com.google.ortools.sat.InverseConstraintProto.hashCode ( )

Definition at line 201 of file InverseConstraintProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.sat.InverseConstraintProto.internalGetFieldAccessorTable ( )
protected

Definition at line 45 of file InverseConstraintProto.java.

◆ isInitialized()

final boolean com.google.ortools.sat.InverseConstraintProto.isInitialized ( )

Definition at line 113 of file InverseConstraintProto.java.

◆ newBuilder() [1/2]

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

Definition at line 294 of file InverseConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 297 of file InverseConstraintProto.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.sat.InverseConstraintProto.newBuilderForType ( )

Definition at line 293 of file InverseConstraintProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.sat.InverseConstraintProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 307 of file InverseConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 265 of file InverseConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 271 of file InverseConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 242 of file InverseConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 246 of file InverseConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 231 of file InverseConstraintProto.java.

◆ parseFrom() [4/10]

static com.google.ortools.sat.InverseConstraintProto 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 236 of file InverseConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 278 of file InverseConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 284 of file InverseConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 252 of file InverseConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 257 of file InverseConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 220 of file InverseConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 225 of file InverseConstraintProto.java.

◆ parser()

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

Definition at line 708 of file InverseConstraintProto.java.

◆ toBuilder()

Builder com.google.ortools.sat.InverseConstraintProto.toBuilder ( )

Definition at line 301 of file InverseConstraintProto.java.

◆ writeTo()

void com.google.ortools.sat.InverseConstraintProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 123 of file InverseConstraintProto.java.

Member Data Documentation

◆ F_DIRECT_FIELD_NUMBER

final int com.google.ortools.sat.InverseConstraintProto.F_DIRECT_FIELD_NUMBER = 1
static

Definition at line 51 of file InverseConstraintProto.java.

◆ F_INVERSE_FIELD_NUMBER

final int com.google.ortools.sat.InverseConstraintProto.F_INVERSE_FIELD_NUMBER = 2
static

Definition at line 81 of file InverseConstraintProto.java.


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