Macaulay2 » Documentation
Packages » EdgeIdeals :: BranchLimit
next | previous | forward | backward | up | index | toc

BranchLimit -- optional argument for randomHyperGraph


The randomHyperGraph method follows a backtracking algorithm to generate edges with no inclusions between them. At each step in the recursive tree, randomHyperGraph will make BranchLimit attempts to complete its list of edges. Thus, if a hypergraph with N edges is required, randomHyperGraph may take BranchLimit^N steps before terminating. To be more precise, the method is implemented so that it makes BranchLimit + L attempts at level L of the recursion. The default value is 3.

See also

Functions with optional argument named BranchLimit :

For the programmer

The object BranchLimit is a symbol.