/** * 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>(); newVector.addElement(new Option( "\tPercentage of weight mass to base training on.\n" + "\t(default 100, reduce to around 90 speed up)", "P", 1, "-P <num>")); newVector.addElement(new Option("\tUse resampling for boosting.", "Q", 0, "-Q")); newVector.addElement(new Option("\t" + resumeTipText() + "\n", "resume", 0, "-resume")); newVector.addAll(Collections.list(super.listOptions())); return newVector.elements(); }