public class SelectionResult extends java.lang.Object implements Result
Modifier and Type | Field and Description |
---|---|
(package private) DBIDSelection |
selection
The actual selection
|
Constructor and Description |
---|
SelectionResult()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SelectionResult |
ensureSelectionResult(Database db)
Ensure that there also is a selection container object.
|
java.lang.String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
DBIDSelection |
getSelection() |
java.lang.String |
getShortName()
A short name for the result, useful for file names.
|
void |
setSelection(DBIDSelection selection) |
DBIDSelection selection
public DBIDSelection getSelection()
public void setSelection(DBIDSelection selection)
selection
- the selection to setpublic java.lang.String getLongName()
Result
getLongName
in interface Result
public java.lang.String getShortName()
Result
getShortName
in interface Result
public static SelectionResult ensureSelectionResult(Database db)
db
- DatabaseCopyright © 2019 ELKI Development Team. License information.