next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
RandomMonomialIdeals :: ER

ER -- model for sampling from Erdos-Renyi type distributions on monomials

Description

An Erdos-Renyi type model on monomials is a distribution over sets of monomials. When generating a monomial set, each monomial considered is added to the set with a fixed probability. The monomials are chosen from a given polynomial ring and are bounded by degree.

i1 : n=4; D=8; p=0.05;
i4 : myModel = ER(n,D,p)

o4 = Model{Generate => -*Function[/builddir/build/BUILD/M2-version-1.12.0.1/M2/Macaulay2/packages/RandomMonomialIdeals.m2:109:22-109:46]*-}
           Name => Erdos-Renyi
           Parameters => (4, 8, .05)

o4 : Model

See also

Ways to use ER :