/** * This class encapsulates all pieces of information * needed to specify a solution for the Subset Sum Problem * * @author americachambers * */ public class SubsetInfo { public int start; // the start index of the subset public int end; // the end index of the subset public int sum; // the sum of the elements in the subset }