@Override public Enumeration<Option> listOptions(){
  Vector<Option> newVector=new Vector<Option>();
  String string00="\tSet the index of the attribute value to consider as 'positive'\n\t" + "for binary attributes in normal dense instances. Index 2 is always\n\t" + "used for sparse instances. (default = 2)";
  String string0="\tThe maximum number of items to include " + "in large items sets (and rules). (default " + "= -1, i.e. no limit.)";
  String string1="\tThe required number of rules. (default = " + m_numRulesToFind + ")";
  String string2="\tThe minimum metric score of a rule. (default" + " = " + m_metricThreshold + ")";
  String string3="\tThe metric by which to rank rules. (default" + " = confidence)";
  String string4="\tThe lower bound for the minimum support as a fraction" + " or number of instances. (default = " + m_lowerBoundMinSupport + ")";
  String string5="\tUpper bound for minimum support as a fraction or number of instances. " + "(default = 1.0)";
  String string6="\tThe delta by which the minimum support is decreased in\n" + "\teach iteration as a fraction or number of instances. (default = " + m_delta + ")";
  String string7="\tFind all rules that meet the lower bound on\n\t" + "minimum support and the minimum metric constraint.\n\t" + "Turning this mode on will disable the iterative support reduction\n\t"+ "procedure to find the specified number of rules.";
  String string8="\tOnly consider transactions that contain these items (default = no restriction)";
  String string9="\tOnly print rules that contain these items. (default = no restriction)";
  String string10="\tUse OR instead of AND for must contain list(s). Use in conjunction" + "\n\twith -transactions and/or -rules";
  newVector.add(new Option(string00,"P",1,"-P <attribute index of positive value>"));
  newVector.add(new Option(string0,"I",1,"-I <max items>"));
  newVector.add(new Option(string1,"N",1,"-N <require number of rules>"));
  newVector.add(new Option(string3,"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(string5,"U",1,"-U <upper bound for minimum support>"));
  newVector.add(new Option(string4,"M",1,"-M <lower bound for minimum support>"));
  newVector.add(new Option(string6,"D",1,"-D <delta for minimum support>"));
  newVector.add(new Option(string7,"S",0,"-S"));
  newVector.add(new Option(string8,"transactions",1,"-transactions <comma separated " + "list of attribute names>"));
  newVector.add(new Option(string9,"rules",1,"-rules <comma separated list " + "of attribute names>"));
  newVector.add(new Option(string10,"use-or",0,"-use-or"));
  return newVector.elements();
}

@ Override public Enumeration < Option > listOptions ( ) { Vector < Option > newVector = new Vector < Option > ( ) ; String string00 = "\tSet the index of the attribute value to consider as 'positive'\n\t" + "for binary attributes in normal dense instances. Index 2 is always\n\t" + "used for sparse instances. (default = 2)" ; String string0 = "\tThe maximum number of items to include " + "in large items sets (and rules). (default " + "= -1, i.e. no limit.)" ; String string1 = "\tThe required number of rules. (default = " + m_numRulesToFind + ")" ; String string2 = "\tThe minimum metric score of a rule. (default" + " = " + m_metricThreshold + ")" ; String string3 = "\tThe metric by which to rank rules. (default" + " = confidence)" ; String string4 = "\tThe lower bound for the minimum support as a fraction" + " or number of instances. (default = " + m_lowerBoundMinSupport + ")" ; String string5 = "\tUpper bound for minimum support as a fraction or number of instances. " + "(default = 1.0)" ; String string6 = "\tThe delta by which the minimum support is decreased in\n" + "\teach iteration as a fraction or number of instances. (default = " + m_delta + ")" ; String string7 = "\tFind all rules that meet the lower bound on\n\t" + "minimum support and the minimum metric constraint.\n\t" + "Turning this mode on will disable the iterative support reduction\n\t" + "procedure to find the specified number of rules." ; String string8 = "\tOnly consider transactions that contain these items (default = no restriction)" ; String string9 = "\tOnly print rules that contain these items. (default = no restriction)" ; String string10 = "\tUse OR instead of AND for must contain list(s). Use in conjunction" + "\n\twith -transactions and/or -rules" ; newVector . add ( new Option ( string00 , "P" , 1 , "-P <attribute index of positive value>" ) ) ; newVector . add ( new Option ( string0 , "I" , 1 , "-I <max items>" ) ) ; newVector . add ( new Option ( string1 , "N" , 1 , "-N <require number of rules>" ) ) ; newVector . add ( new Option ( string3 , "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 ( string5 , "U" , 1 , "-U <upper bound for minimum support>" ) ) ; newVector . add ( new Option ( string4 , "M" , 1 , "-M <lower bound for minimum support>" ) ) ; newVector . add ( new Option ( string6 , "D" , 1 , "-D <delta for minimum support>" ) ) ; newVector . add ( new Option ( string7 , "S" , 0 , "-S" ) ) ; newVector . add ( new Option ( string8 , "transactions" , 1 , "-transactions <comma separated " + "list of attribute names>" ) ) ; newVector . add ( new Option ( string9 , "rules" , 1 , "-rules <comma separated list " + "of attribute names>" ) ) ; newVector . add ( new Option ( string10 , "use-or" , 0 , "-use-or" ) ) ; return newVector . elements ( ) ; }
returns an enumeration describing the available options .
