Google OR-Tools v9.11
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 ()
 
- Public Member Functions inherited from com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder

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 18 of file NoOverlapConstraintProto.java.

Member Function Documentation

◆ equals()

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

Definition at line 134 of file NoOverlapConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 514 of file NoOverlapConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 550 of file NoOverlapConstraintProto.java.

◆ getDescriptor()

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

Definition at line 41 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 78 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 70 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 63 of file NoOverlapConstraintProto.java.

◆ getParserForType()

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

Definition at line 545 of file NoOverlapConstraintProto.java.

◆ getSerializedSize()

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

Definition at line 109 of file NoOverlapConstraintProto.java.

◆ hashCode()

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

Definition at line 150 of file NoOverlapConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 47 of file NoOverlapConstraintProto.java.

◆ isInitialized()

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

Definition at line 85 of file NoOverlapConstraintProto.java.

◆ newBuilder() [1/2]

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

Definition at line 239 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 242 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 238 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 252 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 210 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 216 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 187 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 191 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 176 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 181 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 223 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 229 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 197 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 202 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 165 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 170 of file NoOverlapConstraintProto.java.

◆ parser()

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

Definition at line 540 of file NoOverlapConstraintProto.java.

◆ toBuilder()

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

Definition at line 246 of file NoOverlapConstraintProto.java.

◆ writeTo()

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

Definition at line 95 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 53 of file NoOverlapConstraintProto.java.


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