Skip to content

Commit 49394a5

Browse files
mx --> max AND SYNTAX
1 parent a81b785 commit 49394a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/ROOT/pages/algorithms/prize-collecting-steiner-tree.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A graph can have many possible spanning tree subsets depending on the set of nod
1717

1818
Given a weighted graph where each node has a prize, the Prize-Collecting Steiner Tree problem asks for the spanning tree that satisfies the following conditions:
1919

20-
- the sum of prizes for the nodes in the graph is mximized.
20+
- the sum of prizes for the nodes in the graph is maximized.
2121
- the sum of weights of relationships and prizes for nodes not in the tree is minimized.
2222

2323
The two constraints can combined to form a single maximization problem by simpling subtracting the second constraint for the former.
@@ -49,7 +49,7 @@ This should be done as a pre-processing step prior to projecting the in-memory g
4949
.Run the algorithm in stream mode on a named graph.
5050
[source, cypher, role=noplay]
5151
----
52-
CALL gds.steinerTree.stream(
52+
CALL gds.prizeSteinerTree.stream(
5353
graphName: String,
5454
configuration: Map
5555
)

0 commit comments

Comments
 (0)