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

Commit

Permalink
Added SEEALSO blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgosgiapis committed Jul 22, 2019
1 parent 9836457 commit 5bb3dd9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/graphs/generic_graph.py
Expand Up @@ -201,6 +201,7 @@
:meth:`~GenericGraph.lex_BFS` | Perform a lexicographic breadth first search (LexBFS) on the graph.
:meth:`~GenericGraph.lex_UP` | Perform a lexicographic UP search (LexUP) on the graph.
:meth:`~GenericGraph.lex_DFS` | Perform a lexicographic depth first search (LexDFS) on the graph.
:meth:`~GenericGraph.lex_DOWN` | Perform a lexicographic DOWN search (LexDOWN) on the graph.

**Distances:**

Expand Down
10 changes: 10 additions & 0 deletions src/sage/graphs/traversals.pyx
Expand Up @@ -227,6 +227,11 @@ def lex_UP(G, reverse=False, tree=False, initial_vertex=None):
See [Mil2017]_ for more details on the algorithm.
.. SEEALSO::
* :meth:`~sage.graphs.generic_graph.GenericGraph.Lex_BFS` -- perform a
lexicographic breadth first search (LexBFS) on the graph
EXAMPLES:
A Lex UP is obviously an ordering of the vertices::
Expand Down Expand Up @@ -509,6 +514,11 @@ def lex_DOWN(G, reverse=False, tree=False, initial_vertex=None):
See [Mil2017]_ for more details on the algorithm.
.. SEEALSO::
* :meth:`~sage.graphs.generic_graph.GenericGraph.Lex_DFS` -- perform a
lexicographic breadth depth first search (LexDFS) on the graph
EXAMPLES:
A Lex DOWN is obviously an ordering of the vertices::
Expand Down

0 comments on commit 5bb3dd9

Please sign in to comment.