Skip to content

Commit

Permalink
fixed to make style compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
damianbasso committed Feb 6, 2024
1 parent ea9c21c commit 92d5967
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sage/graphs/generators/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ def RandomKTree(n, k, seed=None):
sage: g.treewidth()
5
EXAMPLES:
EXAMPLES::
A (random) `k`-tree has treewidth `k`::
Expand Down Expand Up @@ -1531,12 +1531,12 @@ def RandomPartialKTree(n, k, x, seed=None):
INPUT:
- ``n`` -- number of vertices in the `k`-tree
- ``n`` -- number of vertices in the `k`-tree
- ``k`` -- within a clique each vertex is connected to `k` vertices. `k`
- ``k`` -- within a clique each vertex is connected to `k` vertices. `k`
also corresponds to the treewidth of the `k`-tree
- ``x`` -- how many edges are deleted from the `k`-tree
- ``x`` -- how many edges are deleted from the `k`-tree
- ``seed`` -- a ``random.Random`` seed or a Python ``int`` for the random
number generator (default: ``None``)
Expand All @@ -1551,7 +1551,7 @@ def RandomPartialKTree(n, k, x, seed=None):
sage: g.treewidth()
5
EXAMPLES:
EXAMPLES::
sage: G = graphs.RandomPartialKTree(50,5,5)
sage: G.treewidth()
Expand Down

0 comments on commit 92d5967

Please sign in to comment.