DotNet Reference

.Net Reference

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 2325 of file CpModel.pb.cs.

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


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

Constructor & Destructor Documentation

◆ NoOverlapConstraintProto() [1/2]

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

◆ NoOverlapConstraintProto() [2/2]

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

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )

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

◆ Clone()

NoOverlapConstraintProto Clone ( )

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

◆ Equals() [1/2]

bool Equals ( NoOverlapConstraintProto  other)

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

◆ Equals() [2/2]

override bool Equals ( object  other)

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

◆ GetHashCode()

override int GetHashCode ( )

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

◆ MergeFrom() [1/2]

void MergeFrom ( NoOverlapConstraintProto  other)

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

◆ MergeFrom() [2/2]

void MergeFrom ( pb::CodedInputStream  input)

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

◆ ToString()

override string ToString ( )

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

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)

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

Member Data Documentation

◆ IntervalsFieldNumber

const int IntervalsFieldNumber = 1

Field number for the "intervals" field.

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

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Descriptor

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

◆ Intervals

pbc.RepeatedField<int> Intervals

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

◆ Parser

pb.MessageParser<NoOverlapConstraintProto> Parser

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

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