|
Porytiles
|
Per-strategy parameters for the OverloadAndRemoveStrategy packing algorithm. More...
#include <packing_strategy_params.hpp>
Public Member Functions | |
| bool | has_any () const |
| Checks whether any parameter has been explicitly set. | |
Public Attributes | |
| ConfigPODField< std::size_t > | max_attempts |
| ConfigPODField< std::uint64_t > | seed |
| ConfigPODField< ShuffleStrategy > | shuffle_strategy |
Per-strategy parameters for the OverloadAndRemoveStrategy packing algorithm.
When any field has a value, the strategy runs in single-config mode with the provided parameters (unset fields fall back to their defaults). When no fields have values, the strategy uses its built-in preset matrix mode.
Definition at line 47 of file packing_strategy_params.hpp.
|
inline |
Checks whether any parameter has been explicitly set.
true if at least one field has a value Definition at line 57 of file packing_strategy_params.hpp.
| ConfigPODField<std::size_t> porytiles::OverloadAndRemoveParams::max_attempts |
Definition at line 48 of file packing_strategy_params.hpp.
| ConfigPODField<std::uint64_t> porytiles::OverloadAndRemoveParams::seed |
Definition at line 49 of file packing_strategy_params.hpp.
| ConfigPODField<ShuffleStrategy> porytiles::OverloadAndRemoveParams::shuffle_strategy |
Definition at line 50 of file packing_strategy_params.hpp.