Class SelectionStrategy.RandomDegree

    • Constructor Summary

      Constructors 
      Constructor Description
      RandomDegree​(long samplingSize)  
      RandomDegree​(long samplingSize, java.util.Optional<java.lang.Long> maybeRandomSeed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(org.neo4j.gds.api.Graph graph, java.util.concurrent.ExecutorService executorService, int concurrency)  
      boolean select​(long nodeId)  
      • Methods inherited from class java.lang.Object

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

      • RandomDegree

        public RandomDegree​(long samplingSize)
      • RandomDegree

        public RandomDegree​(long samplingSize,
                            java.util.Optional<java.lang.Long> maybeRandomSeed)
    • Method Detail

      • init

        public void init​(org.neo4j.gds.api.Graph graph,
                         java.util.concurrent.ExecutorService executorService,
                         int concurrency)
        Specified by:
        init in interface SelectionStrategy