|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.optics.ClusterOrderResult.ReachabilityDistanceAdapter
class ClusterOrderResult.ReachabilityDistanceAdapter
Result containing the reachability distances.
Field Summary | |
---|---|
private DBIDs |
dbids
DBIDs |
private HashMap<DBID,ClusterOrderEntry<D>> |
map
Access reference. |
Fields inherited from interface de.lmu.ifi.dbs.elki.database.query.DatabaseQuery |
---|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE |
Constructor Summary | |
---|---|
ClusterOrderResult.ReachabilityDistanceAdapter(HashMap<DBID,ClusterOrderEntry<D>> map,
DBIDs dbids)
Constructor. |
Method Summary | |
---|---|
void |
delete(DBID id)
Delete an objects values. |
D |
get(DBID objID)
Get the representation of an object. |
Database |
getDatabase()
Get the associated database. |
SimpleTypeInformation<D> |
getDataTypeInformation()
Get the data type of this representation |
DBIDs |
getDBIDs()
Get the IDs the query is defined for. |
ResultHierarchy |
getHierarchy()
Get the objects current hierarchy - may be null ! |
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. |
IterableIterator<DBID> |
iterDBIDs()
Get an iterator access to the DBIDs. |
void |
set(DBID id,
D val)
Set an object representation. |
void |
setHierarchy(ResultHierarchy hierarchy)
Set (exchange) the hierarchy implementation (e.g. after merging!) |
int |
size()
Get the number of DBIDs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private HashMap<DBID,ClusterOrderEntry<D extends Distance<D>>> map
private DBIDs dbids
Constructor Detail |
---|
public ClusterOrderResult.ReachabilityDistanceAdapter(HashMap<DBID,ClusterOrderEntry<D>> map, DBIDs dbids)
map
- Map that stores the results.dbids
- DBIDs we are defined for.Method Detail |
---|
public D get(DBID objID)
Relation
get
in interface Relation<D extends Distance<D>>
objID
- Object ID
public String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
public DBIDs getDBIDs()
Relation
getDBIDs
in interface Relation<D extends Distance<D>>
public IterableIterator<DBID> iterDBIDs()
Relation
iterDBIDs
in interface Relation<D extends Distance<D>>
public int size()
Relation
size
in interface Relation<D extends Distance<D>>
public Database getDatabase()
Relation
null
!
getDatabase
in interface Relation<D extends Distance<D>>
public void set(DBID id, D val)
Relation
set
in interface Relation<D extends Distance<D>>
id
- Object IDval
- Valuepublic void delete(DBID id)
Relation
delete
in interface Relation<D extends Distance<D>>
id
- ID to deletepublic SimpleTypeInformation<D> getDataTypeInformation()
Relation
getDataTypeInformation
in interface Relation<D extends Distance<D>>
public ResultHierarchy getHierarchy()
HierarchicalResult
null
!
getHierarchy
in interface HierarchicalResult
null
!public void setHierarchy(ResultHierarchy hierarchy)
HierarchicalResult
setHierarchy
in interface HierarchicalResult
hierarchy
- New hierarchy
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |