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

Classes

class  Builder
 

Public Member Functions

java.util.List< java.lang.Integer > getVarsList ()
 
int getVarsCount ()
 
int getVars (int index)
 
java.util.List< java.lang.Long > getValuesList ()
 
int getValuesCount ()
 
long getValues (int index)
 
boolean getNegated ()
 
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< TableConstraintProtogetParserForType ()
 
com.google.ortools.sat.TableConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.sat.TableConstraintProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.TableConstraintProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.TableConstraintProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.TableConstraintProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.sat.TableConstraintProto 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.TableConstraintProto prototype)
 
static com.google.ortools.sat.TableConstraintProto getDefaultInstance ()
 
static com.google.protobuf.Parser< TableConstraintProtoparser ()
 

Static Public Attributes

static final int VARS_FIELD_NUMBER = 1
 
static final int VALUES_FIELD_NUMBER = 2
 
static final int NEGATED_FIELD_NUMBER = 3
 

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 values of the n-tuple formed by the given variables can only be one of
the listed n-tuples in values. The n-tuples are encoded in a flattened way:
    [tuple0_v0, tuple0_v1, ..., tuple0_v{n-1}, tuple1_v0, ...].

Protobuf type operations_research.sat.TableConstraintProto

Definition at line 16 of file TableConstraintProto.java.

Member Function Documentation

◆ equals()

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

Definition at line 205 of file TableConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 813 of file TableConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 849 of file TableConstraintProto.java.

◆ getDescriptor()

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

Definition at line 38 of file TableConstraintProto.java.

◆ getNegated()

boolean com.google.ortools.sat.TableConstraintProto.getNegated ( )
If true, the meaning is "negated", that is we forbid any of the given
tuple from a feasible assignment.

bool negated = 3;

Returns
The negated.

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 122 of file TableConstraintProto.java.

◆ getParserForType()

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

Definition at line 844 of file TableConstraintProto.java.

◆ getSerializedSize()

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

Definition at line 162 of file TableConstraintProto.java.

◆ getValues()

long com.google.ortools.sat.TableConstraintProto.getValues ( int index)

repeated int64 values = 2;

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

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 105 of file TableConstraintProto.java.

◆ getValuesCount()

int com.google.ortools.sat.TableConstraintProto.getValuesCount ( )

repeated int64 values = 2;

Returns
The count of values.

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 97 of file TableConstraintProto.java.

◆ getValuesList()

java.util.List< java.lang.Long > com.google.ortools.sat.TableConstraintProto.getValuesList ( )

repeated int64 values = 2;

Returns
A list containing the values.

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 90 of file TableConstraintProto.java.

◆ getVars()

int com.google.ortools.sat.TableConstraintProto.getVars ( int index)

repeated int32 vars = 1;

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

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 75 of file TableConstraintProto.java.

◆ getVarsCount()

int com.google.ortools.sat.TableConstraintProto.getVarsCount ( )

repeated int32 vars = 1;

Returns
The count of vars.

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 67 of file TableConstraintProto.java.

◆ getVarsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.TableConstraintProto.getVarsList ( )

repeated int32 vars = 1;

Returns
A list containing the vars.

Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.

Definition at line 60 of file TableConstraintProto.java.

◆ hashCode()

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

Definition at line 225 of file TableConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 44 of file TableConstraintProto.java.

◆ isInitialized()

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

Definition at line 128 of file TableConstraintProto.java.

◆ newBuilder() [1/2]

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

Definition at line 321 of file TableConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 324 of file TableConstraintProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 320 of file TableConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 334 of file TableConstraintProto.java.

◆ newInstance()

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

Definition at line 32 of file TableConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 292 of file TableConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 298 of file TableConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 269 of file TableConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 273 of file TableConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 258 of file TableConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 263 of file TableConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 305 of file TableConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 311 of file TableConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 279 of file TableConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 284 of file TableConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 247 of file TableConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 252 of file TableConstraintProto.java.

◆ parser()

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

Definition at line 839 of file TableConstraintProto.java.

◆ toBuilder()

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

Definition at line 328 of file TableConstraintProto.java.

◆ writeTo()

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

Definition at line 138 of file TableConstraintProto.java.

Member Data Documentation

◆ NEGATED_FIELD_NUMBER

final int com.google.ortools.sat.TableConstraintProto.NEGATED_FIELD_NUMBER = 3
static

Definition at line 110 of file TableConstraintProto.java.

◆ VALUES_FIELD_NUMBER

final int com.google.ortools.sat.TableConstraintProto.VALUES_FIELD_NUMBER = 2
static

Definition at line 80 of file TableConstraintProto.java.

◆ VARS_FIELD_NUMBER

final int com.google.ortools.sat.TableConstraintProto.VARS_FIELD_NUMBER = 1
static

Definition at line 50 of file TableConstraintProto.java.


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