public final class OptionID
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description
The description of the OptionID.
|
private java.lang.String |
name
Option name
|
| Constructor and Description |
|---|
OptionID(java.lang.String name,
java.lang.String description)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the description of this OptionID.
|
java.lang.String |
getName()
Get the option name.
|
static OptionID |
getOrCreateOptionID(java.lang.String name,
java.lang.String description)
Gets or creates the OptionID for the given class and given name.
|
java.lang.String |
toString()
Returns the name of this OptionID.
|
private java.lang.String name
private java.lang.String description
public OptionID(java.lang.String name,
java.lang.String description)
name - the name of the optiondescription - the description of the optionpublic java.lang.String getDescription()
public static OptionID getOrCreateOptionID(java.lang.String name, java.lang.String description)
epsilon for the class
DBSCAN will be named
dbscan.epsilon.name - the namedescription - the description is also set if the named OptionID does
exist alreadypublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getName()
Copyright © 2019 ELKI Development Team. License information.