|
||||||||||
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.outlier.OrderingFromRelation
public class OrderingFromRelation
Ordering obtained from an outlier score.
Nested Class Summary | |
---|---|
protected class |
OrderingFromRelation.ImpliedComparator
Internal comparator, accessing the map to sort objects |
Field Summary | |
---|---|
protected int |
ascending
Factor for ascending (+1) and descending (-1) ordering. |
protected Relation<Double> |
scores
Outlier scores. |
Constructor Summary | |
---|---|
OrderingFromRelation(Relation<Double> scores)
Ascending constructor. |
|
OrderingFromRelation(Relation<Double> scores,
boolean ascending)
Constructor for outlier orderings |
Method Summary | |
---|---|
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. |
IterableIterator<DBID> |
iter(DBIDs ids)
Sort the given ids according to this ordering and return an iterator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Relation<Double> scores
protected int ascending
Constructor Detail |
---|
public OrderingFromRelation(Relation<Double> scores, boolean ascending)
scores
- outlier score resultascending
- Ascending when true
, descending otherwisepublic OrderingFromRelation(Relation<Double> scores)
scores
- Method Detail |
---|
public DBIDs getDBIDs()
OrderingResult
getDBIDs
in interface OrderingResult
public IterableIterator<DBID> iter(DBIDs ids)
OrderingResult
iter
in interface OrderingResult
ids
- Collection of ids.
public String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |