Class ExternalNeighborhood.Factory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.URI file
      The 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
      elki.data.type.TypeInformation getInputTypeRestriction()
      Get the input type information
      NeighborSetPredicate instantiate​(elki.database.Database database, elki.database.relation.Relation<?> relation)
      Instantiation method.
      private elki.database.datastore.DataStore<elki.database.ids.DBIDs> loadNeighbors​(elki.database.Database database, elki.database.relation.Relation<?> relation)
      Method to load the external neighbors.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • file

        private java.net.URI file
        The input file.
    • Constructor Detail

      • Factory

        public Factory​(java.net.URI file)
        Constructor.
        Parameters:
        file - File to load
    • Method Detail

      • instantiate

        public NeighborSetPredicate instantiate​(elki.database.Database database,
                                                elki.database.relation.Relation<?> relation)
        Description copied from interface: NeighborSetPredicate.Factory
        Instantiation method.
        Parameters:
        database - Database
        relation - Relation to instantiate for.
        Returns:
        instance
      • getInputTypeRestriction

        public elki.data.type.TypeInformation getInputTypeRestriction()
        Description copied from interface: NeighborSetPredicate.Factory
        Get the input type information
        Returns:
        input type
      • loadNeighbors

        private elki.database.datastore.DataStore<elki.database.ids.DBIDs> loadNeighbors​(elki.database.Database database,
                                                                                         elki.database.relation.Relation<?> relation)
        Method to load the external neighbors.