Skip to content

Commit c29ed14

Browse files
committed
Allow passing includeNegativeCycles to v2/pathfinding.singleSource.bellmanFord
1 parent 8ca7a7c commit c29ed14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

procedures/facade-api/configs/path-finding-configs/src/main/java/org/neo4j/gds/paths/bellmanford/AllShortestPathsBellmanFordWriteConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
@Configuration
2828
public interface AllShortestPathsBellmanFordWriteConfig extends AllShortestPathsBellmanFordBaseConfig, WriteRelationshipConfig, WritePathOptionsConfig {
2929

30+
String WRITE_NEGATIVE_CYCLES_KEY = "writeNegativeCycles";
31+
32+
@Configuration.Key(WRITE_NEGATIVE_CYCLES_KEY)
3033
default boolean writeNegativeCycles() {
3134
return false;
3235
}

0 commit comments

Comments
 (0)