de.lmu.ifi.dbs.elki.algorithm.outlier.spatial
Class AbstractDistanceBasedSpatialOutlier<N,O,D extends NumberDistance<D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.AbstractNeighborhoodOutlier<N>
          extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.AbstractDistanceBasedSpatialOutlier<N,O,D>
Type Parameters:
N - Object type for neighborhood
O - Non-spatial object type
D - Distance value type
All Implemented Interfaces:
Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable
Direct Known Subclasses:
SLOM, SOF

public abstract class AbstractDistanceBasedSpatialOutlier<N,O,D extends NumberDistance<D,?>>
extends AbstractNeighborhoodOutlier<N>

Abstract base class for distance-based spatial outlier detection methods.


Nested Class Summary
static class AbstractDistanceBasedSpatialOutlier.Parameterizer<N,O,D extends NumberDistance<D,?>>
          Parameterization class.
 
Field Summary
static OptionID NON_SPATIAL_DISTANCE_FUNCTION_ID
          Parameter to specify the non spatial distance function to use
private  DistanceFunction<O,D> nonSpatialDistanceFunction
          The distance function to use
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.AbstractNeighborhoodOutlier
NEIGHBORHOOD_ID
 
Constructor Summary
AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf, DistanceFunction<O,D> nonSpatialDistanceFunction)
          Constructor.
 
Method Summary
protected  DistanceFunction<O,D> getNonSpatialDistanceFunction()
          Get the non-spatial relation
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.AbstractNeighborhoodOutlier
getNeighborSetPredicateFactory
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
getInputTypeRestriction, getLogger, makeParameterDistanceFunction, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm
run
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.Algorithm
getInputTypeRestriction
 

Field Detail

NON_SPATIAL_DISTANCE_FUNCTION_ID

public static final OptionID NON_SPATIAL_DISTANCE_FUNCTION_ID
Parameter to specify the non spatial distance function to use


nonSpatialDistanceFunction

private DistanceFunction<O,D extends NumberDistance<D,?>> nonSpatialDistanceFunction
The distance function to use

Constructor Detail

AbstractDistanceBasedSpatialOutlier

public AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf,
                                           DistanceFunction<O,D> nonSpatialDistanceFunction)
Constructor.

Parameters:
npredf - Neighborhood predicate factory
nonSpatialDistanceFunction - Distance function to use on the non-spatial attributes.
Method Detail

getNonSpatialDistanceFunction

protected DistanceFunction<O,D> getNonSpatialDistanceFunction()
Get the non-spatial relation

Returns:
the distance function to use on the non-spatial attributes

Release 0.4.0 (2011-09-20_1324)