de.lmu.ifi.dbs.elki.algorithm.outlier
Class LOF.LOFResult<O,D extends NumberDistance<D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.outlier.LOF.LOFResult<O,D>
Enclosing class:
LOF<O,D extends NumberDistance<D,?>>

public static class LOF.LOFResult<O,D extends NumberDistance<D,?>>
extends Object

Encapsulates information like the neighborhood, the LRD and LOF values of the objects during a run of the LOF algorithm.


Field Summary
private  KNNQuery<O,D> kNNReach
          The kNN query w.r.t. the reachability distance.
private  KNNQuery<O,D> kNNRefer
          The kNN query w.r.t. the reference neighborhood distance.
private  WritableDataStore<Double> lofs
          The LOF values of the objects.
private  WritableDataStore<Double> lrds
          The LRD values of the objects.
private  OutlierResult result
          The result of the run of the LOF algorithm.
private  RKNNQuery<O,D> rkNNReach
          The rkNN query w.r.t. the reachability distance.
private  RKNNQuery<O,D> rkNNRefer
          The RkNN query w.r.t. the reference neighborhood distance.
 
Constructor Summary
LOF.LOFResult(OutlierResult result, KNNQuery<O,D> kNNRefer, KNNQuery<O,D> kNNReach, WritableDataStore<Double> lrds, WritableDataStore<Double> lofs)
          Encapsulates information generated during a run of the LOF algorithm.
 
Method Summary
 KNNQuery<O,D> getKNNReach()
           
 KNNQuery<O,D> getKNNRefer()
           
 WritableDataStore<Double> getLofs()
           
 WritableDataStore<Double> getLrds()
           
 OutlierResult getResult()
           
 RKNNQuery<O,D> getRkNNReach()
           
 RKNNQuery<O,D> getRkNNRefer()
           
 void setRkNNReach(RKNNQuery<O,D> rkNNReach)
          Sets the RkNN query w.r.t. the reachability distance.
 void setRkNNRefer(RKNNQuery<O,D> rkNNRefer)
          Sets the RkNN query w.r.t. the reference neighborhood distance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

private OutlierResult result
The result of the run of the LOF algorithm.


kNNRefer

private final KNNQuery<O,D extends NumberDistance<D,?>> kNNRefer
The kNN query w.r.t. the reference neighborhood distance.


kNNReach

private final KNNQuery<O,D extends NumberDistance<D,?>> kNNReach
The kNN query w.r.t. the reachability distance.


rkNNRefer

private RKNNQuery<O,D extends NumberDistance<D,?>> rkNNRefer
The RkNN query w.r.t. the reference neighborhood distance.


rkNNReach

private RKNNQuery<O,D extends NumberDistance<D,?>> rkNNReach
The rkNN query w.r.t. the reachability distance.


lrds

private final WritableDataStore<Double> lrds
The LRD values of the objects.


lofs

private final WritableDataStore<Double> lofs
The LOF values of the objects.

Constructor Detail

LOF.LOFResult

public LOF.LOFResult(OutlierResult result,
                     KNNQuery<O,D> kNNRefer,
                     KNNQuery<O,D> kNNReach,
                     WritableDataStore<Double> lrds,
                     WritableDataStore<Double> lofs)
Encapsulates information generated during a run of the LOF algorithm.

Parameters:
result - the result of the run of the LOF algorithm
kNNRefer - the kNN query w.r.t. the reference neighborhood distance
kNNReach - the kNN query w.r.t. the reachability distance
lrds - the LRD values of the objects
lofs - the LOF values of the objects
Method Detail

getKNNRefer

public KNNQuery<O,D> getKNNRefer()
Returns:
the kNN query w.r.t. the reference neighborhood distance

getKNNReach

public KNNQuery<O,D> getKNNReach()
Returns:
the kNN query w.r.t. the reachability distance

getLrds

public WritableDataStore<Double> getLrds()
Returns:
the LRD values of the objects

getLofs

public WritableDataStore<Double> getLofs()
Returns:
the LOF values of the objects

getResult

public OutlierResult getResult()
Returns:
the result of the run of the LOF algorithm

setRkNNRefer

public void setRkNNRefer(RKNNQuery<O,D> rkNNRefer)
Sets the RkNN query w.r.t. the reference neighborhood distance.

Parameters:
rkNNRefer - the query to set

getRkNNRefer

public RKNNQuery<O,D> getRkNNRefer()
Returns:
the RkNN query w.r.t. the reference neighborhood distance

getRkNNReach

public RKNNQuery<O,D> getRkNNReach()
Returns:
the RkNN query w.r.t. the reachability distance

setRkNNReach

public void setRkNNReach(RKNNQuery<O,D> rkNNReach)
Sets the RkNN query w.r.t. the reachability distance.

Parameters:
rkNNReach - the query to set

Release 0.4.0 (2011-09-20_1324)