Skip to content

Commit

Permalink
trac #34520: remove doctest in RandomHolmeKim generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Sep 11, 2022
1 parent 08202bc commit 1f4fdcd
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/sage/graphs/generators/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,19 +805,7 @@ def RandomHolmeKim(n, m, p, seed=None):
may not be all linked to a new node on the first iteration like the BA
model.
EXAMPLES:
We check that a random graph on 8 nodes with 2 random edges per node and a
probability `p = 0.5` of forming triangles contains a triangle::
sage: G = graphs.RandomHolmeKim(8, 2, 0.5)
sage: G.order(), G.size()
(8, 12)
sage: C3 = graphs.CycleGraph(3)
sage: G.subgraph_search(C3)
Subgraph of (): Graph on 3 vertices
::
EXAMPLES::
sage: G = graphs.RandomHolmeKim(12, 3, .3)
sage: G.show() # long time
Expand Down

0 comments on commit 1f4fdcd

Please sign in to comment.