Skip to content

Commit

Permalink
Grammar corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
baydrea committed Jan 26, 2022
1 parent 620d5f3 commit bb363ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tst/standard/attr.tst
Original file line number Diff line number Diff line change
Expand Up @@ -489,19 +489,19 @@ gap> DigraphShortestDistances(gr);
# UnweightedBellmanFord
gap> gr := Digraph([[1, 2], [3], [1, 2], [4]]);
<immutable digraph with 4 vertices, 6 edges>
gap> UnweightedBellmanFord(gr,2);
gap> UnweightedBellmanFord(gr, 2);
[ [ 2, 0, 1, fail ], [ 3, fail, 2, fail ] ]
gap> gr := CycleDigraph(IsMutableDigraph, 3);
<mutable digraph with 3 vertices, 3 edges>
gap> UnweightedBellmanFord(gr,3);
gap> UnweightedBellmanFord(gr, 3);
[ [ 1, 2, 0 ], [ 3, 1, fail ] ]
gap> gr := Digraph([[],[]]);
gap> gr := Digraph([[], []]);
<immutable empty digraph with 2 vertices>
gap> UnweightedBellmanFord(gr,2);
gap> UnweightedBellmanFord(gr, 2);
[ [ fail, 0 ], [ fail, fail ] ]
gap> gr := Digraph([[1],[2],[3],[4]]);
gap> gr := Digraph([[1], [2], [3], [4]]);
<immutable digraph with 4 vertices, 4 edges>
gap> UnweightedBellmanFord(gr,2);
gap> UnweightedBellmanFord(gr, 2);
[ [ fail, 0, fail, fail ], [ fail, fail, fail, fail ] ]

# OutNeighbours and InNeighbours
Expand Down

0 comments on commit bb363ed

Please sign in to comment.