public class BinPacking extends Object
Modifier and Type | Method and Description |
---|---|
static <T> List<List<T>> |
pack(Iterable<T> items,
java.util.function.Function<T,Long> weightFunc,
long targetWeight) |
public static <T> List<List<T>> pack(Iterable<T> items, java.util.function.Function<T,Long> weightFunc, long targetWeight)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.