Package elki.outlier.spatial
Class AbstractDistanceBasedSpatialOutlier<N,O>
- java.lang.Object
-
- elki.outlier.spatial.AbstractNeighborhoodOutlier<N>
-
- elki.outlier.spatial.AbstractDistanceBasedSpatialOutlier<N,O>
-
- Type Parameters:
N- Object type for neighborhoodO- Non-spatial object type
- All Implemented Interfaces:
elki.Algorithm,OutlierAlgorithm
public abstract class AbstractDistanceBasedSpatialOutlier<N,O> extends AbstractNeighborhoodOutlier<N>
Abstract base class for distance-based spatial outlier detection methods.- Since:
- 0.4.0
- Author:
- Ahmed Hettab
-
-
Field Summary
Fields Modifier and Type Field Description private elki.distance.Distance<O>nonSpatialDistanceThe distance function to use-
Fields inherited from class elki.outlier.spatial.AbstractNeighborhoodOutlier
NEIGHBORHOOD_ID
-
-
Constructor Summary
Constructors Constructor Description AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf, elki.distance.Distance<O> nonSpatialDistance)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected elki.distance.Distance<O>getNonSpatialDistance()Get the non-spatial relation-
Methods inherited from class elki.outlier.spatial.AbstractNeighborhoodOutlier
getNeighborSetPredicateFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Field Detail
-
nonSpatialDistance
private elki.distance.Distance<O> nonSpatialDistance
The distance function to use
-
-
Constructor Detail
-
AbstractDistanceBasedSpatialOutlier
public AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf, elki.distance.Distance<O> nonSpatialDistance)
Constructor.- Parameters:
npredf- Neighborhood predicate factorynonSpatialDistance- Distance function to use on the non-spatial attributes.
-
-
Method Detail
-
getNonSpatialDistance
protected elki.distance.Distance<O> getNonSpatialDistance()
Get the non-spatial relation- Returns:
- the distance function to use on the non-spatial attributes
-
-