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

Same as above for k = 2^log2_k. More...

#include <2d_orthogonal_packing.h>

Public Member Functions

 RoundingDualFeasibleFunctionPowerOfTwo (IntegerValue max_x, IntegerValue log2_k)
 
IntegerValue operator() (IntegerValue x) const
 
IntegerValue LowestInverse (IntegerValue y) const
 

Detailed Description

Same as above for k = 2^log2_k.

Definition at line 321 of file 2d_orthogonal_packing.h.

Constructor & Destructor Documentation

◆ RoundingDualFeasibleFunctionPowerOfTwo()

operations_research::sat::RoundingDualFeasibleFunctionPowerOfTwo::RoundingDualFeasibleFunctionPowerOfTwo ( IntegerValue max_x,
IntegerValue log2_k )
inline

Definition at line 323 of file 2d_orthogonal_packing.h.

Member Function Documentation

◆ LowestInverse()

IntegerValue operations_research::sat::RoundingDualFeasibleFunctionPowerOfTwo::LowestInverse ( IntegerValue y) const

Return the lowest integer y so that Dff(x) >= y. y must be in [0, Dff(max_x)].

Definition at line 154 of file 2d_orthogonal_packing.cc.

◆ operator()()

IntegerValue operations_research::sat::RoundingDualFeasibleFunctionPowerOfTwo::operator() ( IntegerValue x) const
inline

Definition at line 332 of file 2d_orthogonal_packing.h.


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