Google OR-Tools v9.12
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 ()
 

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

Member Function Documentation

◆ equals()

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

Definition at line 184 of file InverseConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 683 of file InverseConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 719 of file InverseConstraintProto.java.

◆ getDescriptor()

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

Definition at line 40 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 77 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 69 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 62 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 107 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 99 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 92 of file InverseConstraintProto.java.

◆ getParserForType()

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

Definition at line 714 of file InverseConstraintProto.java.

◆ getSerializedSize()

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

Definition at line 145 of file InverseConstraintProto.java.

◆ hashCode()

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

Definition at line 202 of file InverseConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 46 of file InverseConstraintProto.java.

◆ isInitialized()

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

Definition at line 114 of file InverseConstraintProto.java.

◆ newBuilder() [1/2]

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

Definition at line 295 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 298 of file InverseConstraintProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 294 of file InverseConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 308 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 266 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 272 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 243 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 247 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 232 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 237 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 279 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 285 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 253 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 258 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 221 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 226 of file InverseConstraintProto.java.

◆ parser()

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

Definition at line 709 of file InverseConstraintProto.java.

◆ toBuilder()

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

Definition at line 302 of file InverseConstraintProto.java.

◆ writeTo()

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

Definition at line 124 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 52 of file InverseConstraintProto.java.

◆ F_INVERSE_FIELD_NUMBER

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

Definition at line 82 of file InverseConstraintProto.java.


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