pub fn search(
cde: &CDEngine,
item: &Item,
config: &LBFConfig,
rng: &mut impl Rng,
sample_counter: &mut usize,
filter: &impl HazardFilter,
) -> Option<(DTransformation, LBFLoss)>
Expand description
Search the layout (i.e. CDE) for a valid placement of the item, with minimal loss.