Package elki.result
Interface OrderingResult
-
- All Known Implementing Classes:
ClusterOrder
,CorrelationClusterOrder
,DiSH.DiSHClusterOrder
,OrderingFromRelation
public interface OrderingResult
Interface for a result providing an object ordering.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBIDs
getDBIDs()
Get the full set of DBIDs this ordering is defined for.ArrayModifiableDBIDs
order(DBIDs ids)
Sort the given ids according to this ordering and return an iterator.
-
-
-
Method Detail
-
getDBIDs
DBIDs getDBIDs()
Get the full set of DBIDs this ordering is defined for.- Returns:
- DBIDs
-
order
ArrayModifiableDBIDs order(DBIDs ids)
Sort the given ids according to this ordering and return an iterator.- Parameters:
ids
- Collection of ids.- Returns:
- iterator for sorted array of ids
-
-