import java.util.ArrayList; public interface TRAII_25_X6 { /** * Distribute list of input elements so that the outputBins combined will have all of the inputs elements. * Goal is to have the elements in each outputBin to have as similar sum of elements as possible. * * @param input elements to distribute * @param outputBins result bins (a list of empty lists) * @param maxTime maximum time to use in seconds */ public void partition(final ArrayList input, ArrayList> outputBins, int maxTime); }