class LhsUtils {

    public static List<BitSet> generateLhsSupersets(BitSet lhs, int numAttributes) {
        List<BitSet> results = new LinkedList<>();
        for (int i = 0; i < numAttributes; i += 1) {
            if (!lhs.get(i)) {
                BitSet superset = (BitSet) lhs.clone();
                superset.set(i);
                results.add(superset);
            }
        }
        return results;
    }

}