From c2ba190538f5ec846e4a53bde1c843acf31c2269 Mon Sep 17 00:00:00 2001 From: stecrotti Date: Fri, 27 Sep 2024 12:31:58 +0200 Subject: [PATCH] add generators to docs --- docs/src/bipartite.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/bipartite.md b/docs/src/bipartite.md index 77e1adc..75ff117 100644 --- a/docs/src/bipartite.md +++ b/docs/src/bipartite.md @@ -45,4 +45,12 @@ inneighbors(g::BipartiteIndexedGraph, l::BipartiteGraphVertex{Left}) outneighbors(g::BipartiteIndexedGraph, i::Integer) outneighbors(g::BipartiteIndexedGraph, v::BipartiteGraphVertex) adjacency_matrix(g::BipartiteIndexedGraph, T::DataType=Int) +``` + +## Generators +```@docs +rand_bipartite_graph([rng::AbstractRNG], nleft::Integer, nright::Integer, ned::Integer) +rand_bipartite_graph([rng::AbstractRNG], nleft::Integer, nright::Integer, p::Real) +rand_regular_bipartite_graph([rng::AbstractRNG], nleft::Integer, nright::Integer, k::Integer) +rand_bipartite_tree([rng::AbstractRNG], n::Integer) ``` \ No newline at end of file