@Override public Enumeration<Option> listOptions(){
  String string1="\tThe required number of rules. (default = " + m_numRules + ")", string2="\tThe minimum confidence of a rule. (default = " + m_minMetric + ")", string3="\tThe delta by which the minimum support is decreased in\n", string4="\teach iteration. (default = " + m_delta + ")", string5="\tThe lower bound for the minimum support. (default = " + m_lowerBoundMinSupport + ")", string6="\tIf used, rules are tested for significance at\n", string7="\tthe given level. Slower. (default = no significance testing)", string8="\tIf set the itemsets found are also output. (default = no)", string9="\tIf set class association rules are mined. (default = no)", string10="\tThe class index. (default = last)", stringType="\tThe metric type by which to rank rules. (default = " + "confidence)", stringZeroAsMissing="\tTreat zero (i.e. first value of nominal attributes) as " + "missing", stringToStringDelimiters="\tIf used, two characters to use as rule delimiters\n" + "\tin the result of toString: the first to delimit fields,\n" + "\tthe second to delimit items within fields.\n"+ "\t(default = traditional toString result)";
  Vector<Option> newVector=new Vector<Option>(14);
  newVector.add(new Option(string1,"N",1,"-N <required number of rules output>"));
  newVector.add(new Option(stringType,"T",1,"-T <0=confidence | 1=lift | " + "2=leverage | 3=Conviction>"));
  newVector.add(new Option(string2,"C",1,"-C <minimum metric score of a rule>"));
  newVector.add(new Option(string3 + string4,"D",1,"-D <delta for minimum support>"));
  newVector.add(new Option("\tUpper bound for minimum support. " + "(default = 1.0)","U",1,"-U <upper bound for minimum support>"));
  newVector.add(new Option(string5,"M",1,"-M <lower bound for minimum support>"));
  newVector.add(new Option(string6 + string7,"S",1,"-S <significance level>"));
  newVector.add(new Option(string8,"I",0,"-I"));
  newVector.add(new Option("\tRemove columns that contain " + "all missing values (default = no)","R",0,"-R"));
  newVector.add(new Option("\tReport progress iteratively. (default " + "= no)","V",0,"-V"));
  newVector.add(new Option(string9,"A",0,"-A"));
  newVector.add(new Option(stringZeroAsMissing,"Z",0,"-Z"));
  newVector.add(new Option(stringToStringDelimiters,"B",1,"-B <toString delimiters>"));
  newVector.add(new Option(string10,"c",1,"-c <the class index>"));
  return newVector.elements();
}

@ Override public Enumeration < Option > listOptions ( ) { String string1 = "\tThe required number of rules. (default = " + m_numRules + ")" , string2 = "\tThe minimum confidence of a rule. (default = " + m_minMetric + ")" , string3 = "\tThe delta by which the minimum support is decreased in\n" , string4 = "\teach iteration. (default = " + m_delta + ")" , string5 = "\tThe lower bound for the minimum support. (default = " + m_lowerBoundMinSupport + ")" , string6 = "\tIf used, rules are tested for significance at\n" , string7 = "\tthe given level. Slower. (default = no significance testing)" , string8 = "\tIf set the itemsets found are also output. (default = no)" , string9 = "\tIf set class association rules are mined. (default = no)" , string10 = "\tThe class index. (default = last)" , stringType = "\tThe metric type by which to rank rules. (default = " + "confidence)" , stringZeroAsMissing = "\tTreat zero (i.e. first value of nominal attributes) as " + "missing" , stringToStringDelimiters = "\tIf used, two characters to use as rule delimiters\n" + "\tin the result of toString: the first to delimit fields,\n" + "\tthe second to delimit items within fields.\n" + "\t(default = traditional toString result)" ; Vector < Option > newVector = new Vector < Option > ( 14 ) ; newVector . add ( new Option ( string1 , "N" , 1 , "-N <required number of rules output>" ) ) ; newVector . add ( new Option ( stringType , "T" , 1 , "-T <0=confidence | 1=lift | " + "2=leverage | 3=Conviction>" ) ) ; newVector . add ( new Option ( string2 , "C" , 1 , "-C <minimum metric score of a rule>" ) ) ; newVector . add ( new Option ( string3 + string4 , "D" , 1 , "-D <delta for minimum support>" ) ) ; newVector . add ( new Option ( "\tUpper bound for minimum support. " + "(default = 1.0)" , "U" , 1 , "-U <upper bound for minimum support>" ) ) ; newVector . add ( new Option ( string5 , "M" , 1 , "-M <lower bound for minimum support>" ) ) ; newVector . add ( new Option ( string6 + string7 , "S" , 1 , "-S <significance level>" ) ) ; newVector . add ( new Option ( string8 , "I" , 0 , "-I" ) ) ; newVector . add ( new Option ( "\tRemove columns that contain " + "all missing values (default = no)" , "R" , 0 , "-R" ) ) ; newVector . add ( new Option ( "\tReport progress iteratively. (default " + "= no)" , "V" , 0 , "-V" ) ) ; newVector . add ( new Option ( string9 , "A" , 0 , "-A" ) ) ; newVector . add ( new Option ( stringZeroAsMissing , "Z" , 0 , "-Z" ) ) ; newVector . add ( new Option ( stringToStringDelimiters , "B" , 1 , "-B <toString delimiters>" ) ) ; newVector . add ( new Option ( string10 , "c" , 1 , "-c <the class index>" ) ) ; return newVector . elements ( ) ; }
returns an enumeration describing the available options .
