P = randomPoset n
P = randomPoset G
P = randomPoset(n, Bias => RR)
P = randomPoset(G, Bias => RR)
This method generates a random poset with a given ground set ($\{1, \ldots, n\}$, if $n$ is specified).
|
The option Bias determines the probability that a given relation will be present. A higher Bias will lead to more relations.
|
|
The object randomPoset is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Posets.m2:3824:0.