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[/home/dan/src/M2/M2.git/M2/Macaulay2/packages/RandomMonomialIdeals.m2:129:23-129:47]*-}
           Name => Erdos-Renyi
           Parameters => (4, 8, .05)

o4 : Model

See also

Ways to use ER :