Google OR-Tools v9.9
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

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.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 181 of file InverseConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 724 of file InverseConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 760 of file InverseConstraintProto.java.

◆ getDescriptor()

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

Definition at line 37 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 74 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 66 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 59 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 104 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 96 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 89 of file InverseConstraintProto.java.

◆ getParserForType()

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

Definition at line 755 of file InverseConstraintProto.java.

◆ getSerializedSize()

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

Definition at line 142 of file InverseConstraintProto.java.

◆ hashCode()

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

Definition at line 199 of file InverseConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 43 of file InverseConstraintProto.java.

◆ isInitialized()

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

Definition at line 111 of file InverseConstraintProto.java.

◆ newBuilder() [1/2]

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

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

◆ newBuilderForType() [1/2]

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

Definition at line 291 of file InverseConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 305 of file InverseConstraintProto.java.

◆ newInstance()

java.lang.Object com.google.ortools.sat.InverseConstraintProto.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 31 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 263 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 269 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 240 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 244 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 229 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 234 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 276 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 282 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 250 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 255 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 218 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 223 of file InverseConstraintProto.java.

◆ parser()

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

Definition at line 750 of file InverseConstraintProto.java.

◆ toBuilder()

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

Definition at line 299 of file InverseConstraintProto.java.

◆ writeTo()

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

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

◆ F_INVERSE_FIELD_NUMBER

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

Definition at line 79 of file InverseConstraintProto.java.


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