Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::CapacityProfile::Rectangle Struct Reference

#include <diffn_util.h>

Public Member Functions

 Rectangle (IntegerValue start, IntegerValue height)
 
bool operator< (const Rectangle &other) const
 
bool operator== (const Rectangle &other) const
 

Public Attributes

IntegerValue start = IntegerValue(0)
 
IntegerValue height = IntegerValue(0)
 

Detailed Description

Simple start of a rectangle. This is used to represent the residual capacity profile.

Definition at line 274 of file diffn_util.h.

Constructor & Destructor Documentation

◆ Rectangle()

operations_research::sat::CapacityProfile::Rectangle::Rectangle ( IntegerValue start,
IntegerValue height )
inline

Definition at line 275 of file diffn_util.h.

Member Function Documentation

◆ operator<()

bool operations_research::sat::CapacityProfile::Rectangle::operator< ( const Rectangle & other) const
inline

Definition at line 278 of file diffn_util.h.

◆ operator==()

bool operations_research::sat::CapacityProfile::Rectangle::operator== ( const Rectangle & other) const
inline

Definition at line 279 of file diffn_util.h.

Member Data Documentation

◆ height

IntegerValue operations_research::sat::CapacityProfile::Rectangle::height = IntegerValue(0)

Definition at line 284 of file diffn_util.h.

◆ start

IntegerValue operations_research::sat::CapacityProfile::Rectangle::start = IntegerValue(0)

Definition at line 283 of file diffn_util.h.


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