Skip to content

Commit 536ce74

Browse files
committed
Remove unused method
1 parent dcc004d commit 536ce74

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

applications/algorithms/path-finding/src/main/java/org/neo4j/gds/applications/algorithms/pathfinding/PathFindingSingleTypeRelationshipsFactory.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,6 @@ static SingleTypeRelationshipsProducer fromPathFindingResult(PathFindingResult r
5555

5656
}
5757

58-
static SingleTypeRelationshipsProducer fromPathToPathFindingResult(PathFindingResult result, Graph graph){
59-
60-
return (mutateRelationshipType, mutateProperty) -> {
61-
var relationshipsBuilder = GraphFactory
62-
.initRelationshipsBuilder()
63-
.relationshipType(RelationshipType.of(mutateRelationshipType))
64-
.nodes(graph)
65-
.addPropertyConfig(GraphFactory.PropertyConfig.of(TOTAL_COST_KEY))
66-
.orientation(Orientation.NATURAL)
67-
.build();
68-
69-
result.forEachPath(pathResult -> relationshipsBuilder.add(0L, 0L, new double[5]));
70-
71-
return relationshipsBuilder.build();
72-
};
73-
74-
}
75-
7658
static SingleTypeRelationshipsProducer fromBellmanFordResult(BellmanFordResult bellmanFordResult,Graph graph, boolean mutateNegativeCycles){
7759

7860
var pathFindingResult = bellmanFordResult.shortestPaths();

0 commit comments

Comments
 (0)