|
Porytiles
|
Per-strategy parameters for the BacktrackingStrategy 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< SearchAlgorithm > | search_algorithm |
| ConfigPODField< std::size_t > | node_cutoff |
| ConfigPODField< std::size_t > | best_branches |
| ConfigPODField< bool > | smart_prune |
Per-strategy parameters for the BacktrackingStrategy 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 22 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 33 of file packing_strategy_params.hpp.
| ConfigPODField<std::size_t> porytiles::BacktrackingParams::best_branches |
Definition at line 25 of file packing_strategy_params.hpp.
| ConfigPODField<std::size_t> porytiles::BacktrackingParams::node_cutoff |
Definition at line 24 of file packing_strategy_params.hpp.
| ConfigPODField<SearchAlgorithm> porytiles::BacktrackingParams::search_algorithm |
Definition at line 23 of file packing_strategy_params.hpp.
| ConfigPODField<bool> porytiles::BacktrackingParams::smart_prune |
Definition at line 26 of file packing_strategy_params.hpp.