Class Yens

    • Field Summary

      • Fields inherited from class org.neo4j.gds.Algorithm

        progressTracker, terminationFlag
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      PathFindingResult compute()  
      static Yens sourceTarget​(org.neo4j.gds.api.Graph graph, ShortestPathYensBaseConfig config, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
      Deprecated.
      Use the one with termination flag directly
      static Yens sourceTarget​(org.neo4j.gds.api.Graph graph, ShortestPathYensBaseConfig config, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker, org.neo4j.gds.termination.TerminationFlag terminationFlag)
      Configure Yens to compute at most one source-target shortest path.
      • Methods inherited from class org.neo4j.gds.Algorithm

        getProgressTracker, getTerminationFlag, setTerminationFlag
      • Methods inherited from class java.lang.Object

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

      • sourceTarget

        @Deprecated
        public static Yens sourceTarget​(org.neo4j.gds.api.Graph graph,
                                        ShortestPathYensBaseConfig config,
                                        org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
        Deprecated.
        Use the one with termination flag directly
      • sourceTarget

        public static Yens sourceTarget​(org.neo4j.gds.api.Graph graph,
                                        ShortestPathYensBaseConfig config,
                                        org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker,
                                        org.neo4j.gds.termination.TerminationFlag terminationFlag)
        Configure Yens to compute at most one source-target shortest path.