h(z): the knapsack threshold as a multiple of L, precomputed.
More...
#include <fastmm/core/capacity_price.hpp>
|
| void | configure (double ratio) noexcept |
| |
| double | at (double z) const noexcept |
| | The multiple of L at window share z (clamped to [0, 1]).
|
| |
| double | z0 () const noexcept |
| |
| double | ratio () const noexcept |
| |
|
| static constexpr int | kSteps = 100 |
| |
h(z): the knapsack threshold as a multiple of L, precomputed.
◆ configure()
| void fastmm::CapacityThreshold::configure |
( |
double |
ratio | ) |
|
|
inlinenoexcept |
◆ at()
| double fastmm::CapacityThreshold::at |
( |
double |
z | ) |
const |
|
inlinenoexcept |
The multiple of L at window share z (clamped to [0, 1]).
◆ z0()
| double fastmm::CapacityThreshold::z0 |
( |
| ) |
const |
|
inlinenoexcept |
◆ ratio()
| double fastmm::CapacityThreshold::ratio |
( |
| ) |
const |
|
inlinenoexcept |
◆ kSteps
| constexpr int fastmm::CapacityThreshold::kSteps = 100 |
|
staticconstexpr |