B = randomMarkov A
I = randomMarkov(A, R)
This method outputs one minimal Markov basis of $A$ chosen uniformly at random.
|
|
|
The option NumberOfBases allows us specify how many Markov bases to return. If this number is greater than one, then the function returns a list of Markov bases. Since each Markov basis is produced independently, it is possible for the list to contain repeats. One may check how many minimal Markov bases exist with the function countMarkov, and the list of all Markov bases can be computed with markovBases. Just like markovBases, we may specify a ring, which produces an ideal whose generating set is given by a random minimal Markov basis.
|
|
|
|
|
The object randomMarkov is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/AllMarkovBases.m2:969:0.