Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #11736: set random seed
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Sep 4, 2020
1 parent 7609c66 commit 52c355e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/graphs/traversals.pyx
Expand Up @@ -328,6 +328,7 @@ def lex_BFS(G, reverse=False, tree=False, initial_vertex=None, algorithm="fast")
Computed orderings are valid::
sage: from sage.graphs.traversals import _is_valid_lex_BFS_order
sage: set_random_seed()
sage: G = graphs.RandomChordalGraph(15)
sage: L = G.lex_BFS(initial_vertex=0, algorithm="fast")
sage: _is_valid_lex_BFS_order(G, L)
Expand Down

0 comments on commit 52c355e

Please sign in to comment.