Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 |
Same as above for k = 2^log2_k.
Definition at line 321 of file 2d_orthogonal_packing.h.
|
inline |
Definition at line 323 of file 2d_orthogonal_packing.h.
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.
|
inline |
Definition at line 332 of file 2d_orthogonal_packing.h.