Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: ER
next | previous | forward | backward | up | index | toc

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 => FunctionClosure[/usr/local/share/Macaulay2/RandomMonomialIdeals.m2:130:20-130:48]}
           Name => Erdos-Renyi
           Parameters => (4, 8, .05)

o4 : Model

See also

Ways to use ER:

For the programmer

The object ER is a method function.