import java.util.*; public class BinPack { private int[] data; // the data to be packed private Bin[] bin; // the bins to pack em into private int binCapacity; // the capacity of each bin private int numberOfItems; // number of items to pack private int numberOfBins; // number of bins you have private String id; // an idendification for the problem public BinPack(int NumberOfItems, int NumberOfBins, int Capacity){ numberOfItems = NumberOfItems; numberOfBins = NumberOfBins; binCapacity = Capacity; id = "Unknown"; data = new int[numberOfItems]; bin = new Bin[numberOfBins]; for (int i=0;i