Class KnnFactory<CONFIG extends KnnBaseConfig>

  • All Implemented Interfaces:
    org.neo4j.gds.AlgorithmFactory<org.neo4j.gds.api.Graph,​Knn,​CONFIG>

    public class KnnFactory<CONFIG extends KnnBaseConfig>
    extends org.neo4j.gds.GraphAlgorithmFactory<Knn,​CONFIG>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.neo4j.gds.AlgorithmFactory

        org.neo4j.gds.AlgorithmFactory.Visitor<ALGO extends org.neo4j.gds.Algorithm<?>,​CONFIG extends org.neo4j.gds.config.AlgoBaseConfig>
    • Constructor Summary

      Constructors 
      Constructor Description
      KnnFactory()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Knn build​(org.neo4j.gds.api.Graph graph, CONFIG configuration, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)  
      static org.neo4j.gds.core.utils.mem.MemoryRange initialSamplerMemoryEstimation​(KnnSampler.SamplerType samplerType, long boundedK)  
      static org.neo4j.gds.core.utils.progress.tasks.Task knnTaskTree​(org.neo4j.gds.api.Graph graph, KnnBaseConfig config)  
      org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(CONFIG configuration)  
      org.neo4j.gds.core.utils.progress.tasks.Task progressTask​(org.neo4j.gds.api.Graph graph, CONFIG config)  
      java.lang.String taskName()  
      • Methods inherited from class org.neo4j.gds.GraphAlgorithmFactory

        accept
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.AlgorithmFactory

        build, build, estimatedGraphDimensionTransformer
    • Constructor Detail

      • KnnFactory

        public KnnFactory()
    • Method Detail

      • taskName

        public java.lang.String taskName()
      • build

        public Knn build​(org.neo4j.gds.api.Graph graph,
                         CONFIG configuration,
                         org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
      • memoryEstimation

        public org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(CONFIG configuration)
      • initialSamplerMemoryEstimation

        public static org.neo4j.gds.core.utils.mem.MemoryRange initialSamplerMemoryEstimation​(KnnSampler.SamplerType samplerType,
                                                                                              long boundedK)
      • progressTask

        public org.neo4j.gds.core.utils.progress.tasks.Task progressTask​(org.neo4j.gds.api.Graph graph,
                                                                         CONFIG config)
      • knnTaskTree

        public static org.neo4j.gds.core.utils.progress.tasks.Task knnTaskTree​(org.neo4j.gds.api.Graph graph,
                                                                               KnnBaseConfig config)