DotNet Reference

.Net Reference

Detailed Description

The boxes defined by [start_x, end_x) * [start_y, end_y) cannot overlap.

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

Public Member Functions

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

Static Public Attributes

const int XIntervalsFieldNumber = 1
 Field number for the "x_intervals" field. More...
 
const int YIntervalsFieldNumber = 2
 Field number for the "y_intervals" field. More...
 
const int BoxesWithNullAreaCanOverlapFieldNumber = 3
 Field number for the "boxes_with_null_area_can_overlap" field. More...
 

Properties

static pb::MessageParser< NoOverlap2DConstraintProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > XIntervals [get]
 
pbc::RepeatedField< int > YIntervals [get]
 Same size as x_intervals. More...
 
bool BoxesWithNullAreaCanOverlap [get, set]
 

Constructor & Destructor Documentation

◆ NoOverlap2DConstraintProto() [1/2]

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

◆ NoOverlap2DConstraintProto() [2/2]

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

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

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

◆ Clone()

NoOverlap2DConstraintProto Clone ( )
inline

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

◆ Equals() [1/2]

bool Equals ( NoOverlap2DConstraintProto  other)
inline

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

◆ Equals() [2/2]

override bool Equals ( object  other)
inline

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

◆ GetHashCode()

override int GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void MergeFrom ( NoOverlap2DConstraintProto  other)
inline

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

◆ MergeFrom() [2/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

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

◆ ToString()

override string ToString ( )
inline

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

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

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

Member Data Documentation

◆ BoxesWithNullAreaCanOverlapFieldNumber

const int BoxesWithNullAreaCanOverlapFieldNumber = 3
static

Field number for the "boxes_with_null_area_can_overlap" field.

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

◆ XIntervalsFieldNumber

const int XIntervalsFieldNumber = 1
static

Field number for the "x_intervals" field.

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

◆ YIntervalsFieldNumber

const int YIntervalsFieldNumber = 2
static

Field number for the "y_intervals" field.

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

Property Documentation

◆ BoxesWithNullAreaCanOverlap

bool BoxesWithNullAreaCanOverlap
getset

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

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

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

◆ Parser

pb.MessageParser<NoOverlap2DConstraintProto> Parser
staticget

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

◆ XIntervals

pbc.RepeatedField<int> XIntervals
get

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

◆ YIntervals

pbc.RepeatedField<int> YIntervals
get

Same size as x_intervals.

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


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