Package elki.result
Class RangeSelection
- java.lang.Object
-
- elki.result.DBIDSelection
-
- elki.result.RangeSelection
-
public class RangeSelection extends DBIDSelection
Class representing selected Database-IDs and/or a selection range.- Since:
- 0.4.0
- Author:
- Heidi Kolb, Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private ModifiableHyperBoundingBox
range
Selection range
-
Constructor Summary
Constructors Constructor Description RangeSelection(DBIDs selectedIds)
Constructor.RangeSelection(DBIDs selection, ModifiableHyperBoundingBox ranges)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableHyperBoundingBox
getRanges()
Get the selection range.-
Methods inherited from class elki.result.DBIDSelection
getSelectedIds
-
-
-
-
Field Detail
-
range
private ModifiableHyperBoundingBox range
Selection range
-
-
Constructor Detail
-
RangeSelection
public RangeSelection(DBIDs selectedIds)
Constructor.- Parameters:
selectedIds
- selected IDs
-
RangeSelection
public RangeSelection(DBIDs selection, ModifiableHyperBoundingBox ranges)
Constructor.- Parameters:
selection
-ranges
-
-
-
Method Detail
-
getRanges
public ModifiableHyperBoundingBox getRanges()
Get the selection range.- Returns:
- Selected range. May be null!
-
-