Skip to content

Commit 0280b38

Browse files
Fix doc test due to tie-breaking random
1 parent d67992a commit 0280b38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/modules/ROOT/pages/algorithms/directed-steiner-tree.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ CREATE (a:Place {id: 'A'}),
236236
(a)-[:LINK {cost:1}]->(b),
237237
(a)-[:LINK {cost:7}]->(e),
238238
(b)-[:LINK {cost:1}]->(c),
239-
(c)-[:LINK {cost:5}]->(d),
239+
(c)-[:LINK {cost:4}]->(d),
240240
(c)-[:LINK {cost:6}]->(e),
241241
(f)-[:LINK {cost:3}]->(d);
242242
----
@@ -282,7 +282,7 @@ ORDER BY node
282282
| "A" | "A" | 0
283283
| "B" | "A" | 1
284284
| "C" | "B" | 1
285-
| "D" | "C" | 5
285+
| "D" | "C" | 4
286286
| "E" | "C" | 6
287287
| "F" | "A" | 10
288288

@@ -319,7 +319,7 @@ RETURN effectiveNodeCount, totalWeight
319319
[opts="header"]
320320
|===
321321
| effectiveNodeCount | totalWeight
322-
| 6 | 23
322+
| 6 | 22
323323
|===
324324
--
325325

@@ -366,7 +366,7 @@ ORDER BY Source, Destination
366366
| "A" | "B" | 1
367367
| "A" | "F" | 10
368368
| "B" | "C" | 1
369-
| "C" | "D" | 5
369+
| "C" | "D" | 4
370370
| "C" | "E" | 6
371371
|===
372372
--

0 commit comments

Comments
 (0)