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

# TimeLimit -- optional argument for randomHyperGraph

## Description

The randomHyperGraph method follows a backtracking algorithm to generate edges with no inclusions between them. As it may take a long time to terminate, a time limit is imposed on the method. The TimeLimit option is the amount of time, in seconds, that the method randomHyperGraph will take before terminating. A value of 0 is interpreted as one day. The default value is 5 (seconds).

## See also

- BranchLimit -- optional argument for randomHyperGraph
- randomHyperGraph -- returns a random hypergraph

## Functions with optional argument named TimeLimit:

- randomHyperGraph(...,TimeLimit=>...) -- limit the running time of randomHyperGraph

## For the programmer

The object TimeLimit is a symbol.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/EdgeIdeals.m2:4368:0.