Package elki.result

Class SelectionResult


  • public class SelectionResult
    extends java.lang.Object
    Selection result wrapper. Note: we did not make the DBIDSelection a result in itself. Instead, the DBIDSelection object should be seen as static contents of this result.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Constructor Detail

      • SelectionResult

        public SelectionResult()
        Constructor.
    • Method Detail

      • getSelection

        public DBIDSelection getSelection()
        Returns:
        the selection
      • setSelection

        public void setSelection​(DBIDSelection selection)
        Parameters:
        selection - the selection to set
      • getLongName

        public java.lang.String getLongName()
      • getShortName

        public java.lang.String getShortName()
      • ensureSelectionResult

        public static SelectionResult ensureSelectionResult​(Database db)
        Ensure that there also is a selection container object.
        Parameters:
        db - Database
        Returns:
        selection result