Package elki.outlier.lof
Class FlexibleLOF.LOFResult<O>
- java.lang.Object
-
- elki.outlier.lof.FlexibleLOF.LOFResult<O>
-
- Enclosing class:
- FlexibleLOF<O>
public static class FlexibleLOF.LOFResult<O> extends java.lang.Object
Encapsulates information like the neighborhood, the LRD and LOF values of the objects during a run of theFlexibleLOF
algorithm.- Author:
- Elke Achtert
-
-
Field Summary
Fields Modifier and Type Field Description private KNNSearcher<DBIDRef>
kNNReach
The kNN query w.r.t. the reachability distance.private KNNSearcher<DBIDRef>
kNNRefer
The kNN query w.r.t. the reference neighborhood distance.private WritableDoubleDataStore
lofs
The LOF values of the objects.private WritableDoubleDataStore
lrds
The LRD values of the objects.private OutlierResult
result
The result of the run of theFlexibleLOF
algorithm.private RKNNSearcher<DBIDRef>
rkNNReach
The rkNN query w.r.t. the reachability distance.private RKNNSearcher<DBIDRef>
rkNNRefer
The RkNN query w.r.t. the reference neighborhood distance.
-
Constructor Summary
Constructors Constructor Description LOFResult(OutlierResult result, KNNSearcher<DBIDRef> kNNRefer, KNNSearcher<DBIDRef> kNNReach, WritableDoubleDataStore lrds, WritableDoubleDataStore lofs)
Encapsulates information generated during a run of theFlexibleLOF
algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KNNSearcher<DBIDRef>
getKNNReach()
Get the knn query for the reachability set.KNNSearcher<DBIDRef>
getKNNRefer()
Get the knn query for the reference set.WritableDoubleDataStore
getLofs()
Get the LOF data store.WritableDoubleDataStore
getLrds()
Get the LRD data store.OutlierResult
getResult()
Get the outlier result.RKNNSearcher<DBIDRef>
getRkNNReach()
Get the RkNN query for the reachability set.RKNNSearcher<DBIDRef>
getRkNNRefer()
Get the RkNN query for the reference set.void
setRkNNReach(RKNNSearcher<DBIDRef> rkNNReach)
Sets the RkNN query w.r.t. the reachability distance.void
setRkNNRefer(RKNNSearcher<DBIDRef> rkNNRefer)
Sets the RkNN query w.r.t. the reference neighborhood distance.
-
-
-
Field Detail
-
result
private OutlierResult result
The result of the run of theFlexibleLOF
algorithm.
-
kNNRefer
private final KNNSearcher<DBIDRef> kNNRefer
The kNN query w.r.t. the reference neighborhood distance.
-
kNNReach
private final KNNSearcher<DBIDRef> kNNReach
The kNN query w.r.t. the reachability distance.
-
rkNNRefer
private RKNNSearcher<DBIDRef> rkNNRefer
The RkNN query w.r.t. the reference neighborhood distance.
-
rkNNReach
private RKNNSearcher<DBIDRef> rkNNReach
The rkNN query w.r.t. the reachability distance.
-
lrds
private final WritableDoubleDataStore lrds
The LRD values of the objects.
-
lofs
private final WritableDoubleDataStore lofs
The LOF values of the objects.
-
-
Constructor Detail
-
LOFResult
public LOFResult(OutlierResult result, KNNSearcher<DBIDRef> kNNRefer, KNNSearcher<DBIDRef> kNNReach, WritableDoubleDataStore lrds, WritableDoubleDataStore lofs)
Encapsulates information generated during a run of theFlexibleLOF
algorithm.- Parameters:
result
- the result of the run of theFlexibleLOF
algorithmkNNRefer
- the kNN query w.r.t. the reference neighborhood distancekNNReach
- the kNN query w.r.t. the reachability distancelrds
- the LRD values of the objectslofs
- the LOF values of the objects
-
-
Method Detail
-
getKNNRefer
public KNNSearcher<DBIDRef> getKNNRefer()
Get the knn query for the reference set.- Returns:
- the kNN query w.r.t. the reference neighborhood distance
-
getKNNReach
public KNNSearcher<DBIDRef> getKNNReach()
Get the knn query for the reachability set.- Returns:
- the kNN query w.r.t. the reachability distance
-
getLrds
public WritableDoubleDataStore getLrds()
Get the LRD data store.- Returns:
- the LRD values of the objects
-
getLofs
public WritableDoubleDataStore getLofs()
Get the LOF data store.- Returns:
- the LOF values of the objects
-
getResult
public OutlierResult getResult()
Get the outlier result.- Returns:
- the result of the run of the
FlexibleLOF
algorithm
-
setRkNNRefer
public void setRkNNRefer(RKNNSearcher<DBIDRef> rkNNRefer)
Sets the RkNN query w.r.t. the reference neighborhood distance.- Parameters:
rkNNRefer
- the query to set
-
getRkNNRefer
public RKNNSearcher<DBIDRef> getRkNNRefer()
Get the RkNN query for the reference set.- Returns:
- the RkNN query w.r.t. the reference neighborhood distance
-
getRkNNReach
public RKNNSearcher<DBIDRef> getRkNNReach()
Get the RkNN query for the reachability set.- Returns:
- the RkNN query w.r.t. the reachability distance
-
setRkNNReach
public void setRkNNReach(RKNNSearcher<DBIDRef> rkNNReach)
Sets the RkNN query w.r.t. the reachability distance.- Parameters:
rkNNReach
- the query to set
-
-