/** * Returns an enumeration describing the available options. * * @return an enumeration of all the available options. **/ @Override public Enumeration<Option> listOptions() { Vector<Option> newVector = new Vector<Option>(8); newVector.addElement(new Option("\tUse conservative forward search", "-C", 0, "-C")); newVector.addElement(new Option("\tUse a backward search instead of a" + "\n\tforward one.", "-B", 0, "-B")); newVector.addElement(new Option("\tSpecify a starting set of attributes." + "\n\tEg. 1,3,5-7.", "P", 1, "-P <start set>")); newVector.addElement(new Option("\tProduce a ranked list of attributes.", "R", 0, "-R")); newVector.addElement(new Option("\tSpecify a theshold by which attributes" + "\n\tmay be discarded from the ranking." + "\n\tUse in conjuction with -R", "T", 1, "-T <threshold>")); newVector.addElement(new Option("\tSpecify number of attributes to select", "N", 1, "-N <num to select>")); newVector.addElement(new Option("\t" + numExecutionSlotsTipText() + " (default 1)\n", "-num-slots", 1, "-num-slots <int>")); newVector.addElement(new Option("\tPrint debugging output", "D", 0, "-D")); return newVector.elements(); }
/** * Returns an enumeration describing the available options. * * @return an enumeration of all the available options. **/ @Override public Enumeration<Option> listOptions() { Vector<Option> newVector = new Vector<Option>(8); newVector.addElement(new Option("\tUse conservative forward search", "-C", 0, "-C")); newVector.addElement(new Option("\tUse a backward search instead of a" + "\n\tforward one.", "-B", 0, "-B")); newVector.addElement(new Option("\tSpecify a starting set of attributes." + "\n\tEg. 1,3,5-7.", "P", 1, "-P <start set>")); newVector.addElement(new Option("\tProduce a ranked list of attributes.", "R", 0, "-R")); newVector.addElement(new Option("\tSpecify a theshold by which attributes" + "\n\tmay be discarded from the ranking." + "\n\tUse in conjuction with -R", "T", 1, "-T <threshold>")); newVector.addElement(new Option("\tSpecify number of attributes to select", "N", 1, "-N <num to select>")); newVector.addElement(new Option("\t" + numExecutionSlotsTipText() + " (default 1)\n", "-num-slots", 1, "-num-slots <int>")); newVector.addElement(new Option("\tPrint debugging output", "D", 0, "-D")); return newVector.elements(); }