Class ExternalNeighborhood.Factory
- java.lang.Object
-
- elki.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood.Factory<java.lang.Object>
-
- elki.outlier.spatial.neighborhood.ExternalNeighborhood.Factory
-
- All Implemented Interfaces:
NeighborSetPredicate.Factory<java.lang.Object>
- Enclosing class:
- ExternalNeighborhood
public static class ExternalNeighborhood.Factory extends AbstractPrecomputedNeighborhood.Factory<java.lang.Object>
Factory class.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalNeighborhood.Factory.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private java.net.URIfileThe input file.
-
Constructor Summary
Constructors Constructor Description Factory(java.net.URI file)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformationgetInputTypeRestriction()Get the input type informationNeighborSetPredicateinstantiate(Database database, Relation<?> relation)Instantiation method.private DataStore<DBIDs>loadNeighbors(Database database, Relation<?> relation)Method to load the external neighbors.
-
-
-
Method Detail
-
instantiate
public NeighborSetPredicate instantiate(Database database, Relation<?> relation)
Description copied from interface:NeighborSetPredicate.FactoryInstantiation method.- Parameters:
database- Databaserelation- Relation to instantiate for.- Returns:
- instance
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:NeighborSetPredicate.FactoryGet the input type information- Returns:
- input type
-
-