next | previous | forward | backward | up | top | index | toc | Macaulay2 website
RandomMonomialIdeals :: Generate

Generate -- model construct function


An object of type Model consists of a model name, a set of parameters, and a generating function, stored under the corresponding keys in the hash table. The key Generate points to the function that is used to generate random elements according to the given model.

i1 : myModel = ER(2,2,0.5)

o1 = Model{Generate => -*Function[/usr/share/Macaulay2/RandomMonomialIdeals.m2:130:23-130:47]*-}
           Name => Erdos-Renyi
           Parameters => (2, 2, .5)

o1 : Model

See also

For the programmer

The object Generate is a symbol.