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

Detailed Description

Definition at line 332 of file diffn_util.h.

#include <diffn_util.h>

Classes

struct  Rectangle

Public Member Functions

void Clear ()
void AddRectangle (IntegerValue x_min, IntegerValue x_max, IntegerValue y_min, IntegerValue y_max)
void AddMandatoryConsumption (IntegerValue x_min, IntegerValue x_max, IntegerValue y_height)
void BuildResidualCapacityProfile (std::vector< Rectangle > *result)
IntegerValue GetBoundingArea ()

Member Function Documentation

◆ AddMandatoryConsumption()

void operations_research::sat::CapacityProfile::AddMandatoryConsumption ( IntegerValue x_min,
IntegerValue x_max,
IntegerValue y_height )

Definition at line 687 of file diffn_util.cc.

◆ AddRectangle()

void operations_research::sat::CapacityProfile::AddRectangle ( IntegerValue x_min,
IntegerValue x_max,
IntegerValue y_min,
IntegerValue y_max )

Definition at line 676 of file diffn_util.cc.

◆ BuildResidualCapacityProfile()

void operations_research::sat::CapacityProfile::BuildResidualCapacityProfile ( std::vector< Rectangle > * result)

Definition at line 697 of file diffn_util.cc.

◆ Clear()

void operations_research::sat::CapacityProfile::Clear ( )

Definition at line 671 of file diffn_util.cc.

◆ GetBoundingArea()

IntegerValue operations_research::sat::CapacityProfile::GetBoundingArea ( )

Definition at line 743 of file diffn_util.cc.


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