Class TopNList


  • public class TopNList
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TopNList​(int top)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(long node1, long node2, double similarity)  
      static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(long nodeCount, int topN)  
      java.util.stream.Stream<SimilarityResult> stream()  
      • Methods inherited from class java.lang.Object

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

      • TopNList

        public TopNList​(int top)
    • Method Detail

      • memoryEstimation

        public static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(long nodeCount,
                                                                                     int topN)
      • add

        public void add​(long node1,
                        long node2,
                        double similarity)