|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult de.lmu.ifi.dbs.elki.result.BasicResult
public class BasicResult
Basic class for a result. Much like AbstractHierarchicalResult, except it stores the required short and long result names.
Field Summary | |
---|---|
private String |
name
Result name, for presentation |
private String |
shortname
Result name, for output |
Constructor Summary | |
---|---|
BasicResult(String name,
String shortname)
Result constructor. |
Method Summary | |
---|---|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. |
String |
getShortName()
A short name for the result, useful for file names. |
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult |
---|
addChildResult, getHierarchy, setHierarchy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String name
private String shortname
Constructor Detail |
---|
public BasicResult(String name, String shortname)
name
- The long name (for pretty printing)shortname
- the short name (for filenames etc.)Method Detail |
---|
public final String getLongName()
Result
public final String getShortName()
Result
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |