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

Classes

class  Builder
 

Public Member Functions

java.util.List< java.lang.Integer > getIntervalsList ()
 
int getIntervalsCount ()
 
int getIntervals (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< NoOverlapConstraintProtogetParserForType ()
 
com.google.ortools.sat.NoOverlapConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int INTERVALS_FIELD_NUMBER = 1
 

Protected Member Functions

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

Detailed Description

All the intervals (index of IntervalConstraintProto) must be disjoint. More
formally, there must exist a sequence so that for each consecutive intervals,
we have end_i <= start_{i+1}. In particular, intervals of size zero do matter
for this constraint. This is also known as a disjunctive constraint in
scheduling.

Protobuf type operations_research.sat.NoOverlapConstraintProto

Definition at line 19 of file NoOverlapConstraintProto.java.

Member Function Documentation

◆ equals()

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

Definition at line 135 of file NoOverlapConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 515 of file NoOverlapConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 551 of file NoOverlapConstraintProto.java.

◆ getDescriptor()

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

Definition at line 42 of file NoOverlapConstraintProto.java.

◆ getIntervals()

int com.google.ortools.sat.NoOverlapConstraintProto.getIntervals ( int index)

repeated int32 intervals = 1;

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

Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.

Definition at line 79 of file NoOverlapConstraintProto.java.

◆ getIntervalsCount()

int com.google.ortools.sat.NoOverlapConstraintProto.getIntervalsCount ( )

repeated int32 intervals = 1;

Returns
The count of intervals.

Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.

Definition at line 71 of file NoOverlapConstraintProto.java.

◆ getIntervalsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlapConstraintProto.getIntervalsList ( )

repeated int32 intervals = 1;

Returns
A list containing the intervals.

Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.

Definition at line 64 of file NoOverlapConstraintProto.java.

◆ getParserForType()

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

Definition at line 546 of file NoOverlapConstraintProto.java.

◆ getSerializedSize()

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

Definition at line 110 of file NoOverlapConstraintProto.java.

◆ hashCode()

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

Definition at line 151 of file NoOverlapConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 48 of file NoOverlapConstraintProto.java.

◆ isInitialized()

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

Definition at line 86 of file NoOverlapConstraintProto.java.

◆ newBuilder() [1/2]

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

Definition at line 240 of file NoOverlapConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 243 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 239 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 253 of file NoOverlapConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 211 of file NoOverlapConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 217 of file NoOverlapConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 188 of file NoOverlapConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 192 of file NoOverlapConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 177 of file NoOverlapConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 182 of file NoOverlapConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 224 of file NoOverlapConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 230 of file NoOverlapConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 198 of file NoOverlapConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 203 of file NoOverlapConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 166 of file NoOverlapConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 171 of file NoOverlapConstraintProto.java.

◆ parser()

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

Definition at line 541 of file NoOverlapConstraintProto.java.

◆ toBuilder()

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

Definition at line 247 of file NoOverlapConstraintProto.java.

◆ writeTo()

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

Definition at line 96 of file NoOverlapConstraintProto.java.

Member Data Documentation

◆ INTERVALS_FIELD_NUMBER

final int com.google.ortools.sat.NoOverlapConstraintProto.INTERVALS_FIELD_NUMBER = 1
static

Definition at line 54 of file NoOverlapConstraintProto.java.


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