Package org.neo4j.gds.paths.yens
Class Yens
- java.lang.Object
-
- org.neo4j.gds.Algorithm<PathFindingResult>
-
- org.neo4j.gds.paths.yens.Yens
-
public final class Yens extends org.neo4j.gds.Algorithm<PathFindingResult>
-
-
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 directlystatic 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.
-
-
-
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.
-
compute
public PathFindingResult compute()
- Specified by:
compute
in classorg.neo4j.gds.Algorithm<PathFindingResult>
-
-