Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Sat.NoOverlapConstraintProto Class Referencesealed

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. More...

Inheritance diagram for Google.OrTools.Sat.NoOverlapConstraintProto:

Public Member Functions

 NoOverlapConstraintProto ()
 
 NoOverlapConstraintProto (NoOverlapConstraintProto other)
 
NoOverlapConstraintProto Clone ()
 
override bool Equals (object other)
 
bool Equals (NoOverlapConstraintProto other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (NoOverlapConstraintProto other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int IntervalsFieldNumber = 1
 Field number for the "intervals" field.
 

Properties

static pb::MessageParser< NoOverlapConstraintProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > Intervals [get]
 

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.

Definition at line 2179 of file CpModel.pb.cs.

Constructor & Destructor Documentation

◆ NoOverlapConstraintProto() [1/2]

Google.OrTools.Sat.NoOverlapConstraintProto.NoOverlapConstraintProto ( )
inline

Definition at line 2204 of file CpModel.pb.cs.

◆ NoOverlapConstraintProto() [2/2]

Google.OrTools.Sat.NoOverlapConstraintProto.NoOverlapConstraintProto ( NoOverlapConstraintProto other)
inline

Definition at line 2212 of file CpModel.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.Sat.NoOverlapConstraintProto.CalculateSize ( )
inline

Definition at line 2296 of file CpModel.pb.cs.

◆ Clone()

NoOverlapConstraintProto Google.OrTools.Sat.NoOverlapConstraintProto.Clone ( )
inline

Definition at line 2219 of file CpModel.pb.cs.

◆ Equals() [1/2]

bool Google.OrTools.Sat.NoOverlapConstraintProto.Equals ( NoOverlapConstraintProto other)
inline

Definition at line 2242 of file CpModel.pb.cs.

◆ Equals() [2/2]

override bool Google.OrTools.Sat.NoOverlapConstraintProto.Equals ( object other)
inline

Definition at line 2236 of file CpModel.pb.cs.

◆ GetHashCode()

override int Google.OrTools.Sat.NoOverlapConstraintProto.GetHashCode ( )
inline

Definition at line 2255 of file CpModel.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.Sat.NoOverlapConstraintProto.MergeFrom ( NoOverlapConstraintProto other)
inline

Definition at line 2307 of file CpModel.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.Sat.NoOverlapConstraintProto.MergeFrom ( pb::CodedInputStream input)
inline

Definition at line 2317 of file CpModel.pb.cs.

◆ ToString()

override string Google.OrTools.Sat.NoOverlapConstraintProto.ToString ( )
inline

Definition at line 2266 of file CpModel.pb.cs.

◆ WriteTo()

void Google.OrTools.Sat.NoOverlapConstraintProto.WriteTo ( pb::CodedOutputStream output)
inline

Definition at line 2272 of file CpModel.pb.cs.

Member Data Documentation

◆ IntervalsFieldNumber

const int Google.OrTools.Sat.NoOverlapConstraintProto.IntervalsFieldNumber = 1
static

Field number for the "intervals" field.

Definition at line 2224 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.Sat.NoOverlapConstraintProto.Descriptor
staticget

Definition at line 2192 of file CpModel.pb.cs.

◆ Intervals

pbc.RepeatedField<int> Google.OrTools.Sat.NoOverlapConstraintProto.Intervals
get

Definition at line 2230 of file CpModel.pb.cs.

◆ Parser

pb.MessageParser<NoOverlapConstraintProto> Google.OrTools.Sat.NoOverlapConstraintProto.Parser
staticget

Definition at line 2188 of file CpModel.pb.cs.


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