Class ClassifierOption

java.lang.Object
com.groiss.ml.classifier.ClassifierOption

public class ClassifierOption extends Object
Represents a single option with arguments for a ClassifierAssignment.

Example:

"-multipleArgsOption test 6"

will be represented by:

name: "multipleArgsOption"
arguments: {"test", "6"}

  • Constructor Details

    • ClassifierOption

      public ClassifierOption(String name, List<String> arguments)
      Create a new ClassifierOption with the passed option name an argument list.
      Parameters:
      name -
      arguments -
  • Method Details

    • getName

      public String getName()
      Returns the name of the option represented by this ClassifierOption
      Returns:
      the name of the option
    • getArguments

      public List<String> getArguments()
      Returns a list of arguments of the option represented by this ClassifierOption
      Returns:
      the list of option arguments