Package elki.outlier.density
Class HySortOD.NaiveStrategy
- java.lang.Object
-
- elki.outlier.density.HySortOD.DensityStrategy
-
- elki.outlier.density.HySortOD.NaiveStrategy
-
- Enclosing class:
- HySortOD
private static class HySortOD.NaiveStrategy extends HySortOD.DensityStrategy
Naive strategy for computing density.- Author:
- Cabral, EugĂȘnio F.
-
-
Field Summary
-
Fields inherited from class elki.outlier.density.HySortOD.DensityStrategy
H, Wmax
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NaiveStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) HySortOD.DensityStrategy
buildIndex(java.util.List<HySortOD.Hypercube> H)
Construct the index for compute hypercube density according to a strategy.int[]
getDensities()
-
Methods inherited from class elki.outlier.density.HySortOD.DensityStrategy
getMaxDensity, isImmediate, isProspective
-
-
-
-
Method Detail
-
buildIndex
HySortOD.DensityStrategy buildIndex(java.util.List<HySortOD.Hypercube> H)
Description copied from class:HySortOD.DensityStrategy
Construct the index for compute hypercube density according to a strategy.- Specified by:
buildIndex
in classHySortOD.DensityStrategy
- Parameters:
H
- List of hypercubes- Returns:
- DensityStrategy Strategy instance
-
getDensities
public int[] getDensities()
- Specified by:
getDensities
in classHySortOD.DensityStrategy
- Returns:
- Densities of all hypercubes
-
-