/** * Creates the <i>power list</i> of the given {@code base} (akin to power sets of sets). */ public static <T> Collection<List<T>> createPowerList(Collection<T> base) { return createPowerList(base, base.size()); }
RheemCollections.createPowerList(childSolutionSets, numUnreachedDestinationSets); for (List<Collection<Tree>> childSolutionSetCombination : childSolutionSetCombinations) { if (childSolutionSetCombination.size() < 2)