class ClusterOrderResult.ClusterOrderAdapter extends Object implements OrderingResult, ResultAdapter
Modifier and Type | Field and Description |
---|---|
private ArrayList<E> |
clusterOrder
Access reference.
|
Constructor and Description |
---|
ClusterOrderAdapter(ArrayList<E> clusterOrder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DBIDs |
getDBIDs()
Get the full set of DBIDs this ordering is defined for.
|
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.
|
ArrayModifiableDBIDs |
iter(DBIDs ids)
Use the cluster order to sort the given collection ids.
|
private ArrayList<E extends ClusterOrderEntry<?>> clusterOrder
public DBIDs getDBIDs()
OrderingResult
getDBIDs
in interface OrderingResult
public ArrayModifiableDBIDs iter(DBIDs ids)
OrderingResult
interface.iter
in interface OrderingResult
ids
- Collection of ids.public String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
Copyright © 2014 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.