Google OR-Tools v9.9
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 268 of file diffn_util.h.

Constructor & Destructor Documentation

◆ Rectangle()

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

Definition at line 269 of file diffn_util.h.

Member Function Documentation

◆ operator<()

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

Definition at line 272 of file diffn_util.h.

◆ operator==()

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

Definition at line 273 of file diffn_util.h.

Member Data Documentation

◆ height

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

Definition at line 278 of file diffn_util.h.

◆ start

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

Definition at line 277 of file diffn_util.h.


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