Macaulay2 » Documentation
Packages » EdgeIdeals :: randomHyperGraph(...,TimeLimit=>...)
next | previous | forward | backward | up | index | toc

randomHyperGraph(...,TimeLimit=>...) -- limit the running time of 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

Functions with optional argument named TimeLimit:

Further information

  • Default value: 5
  • Function: randomHyperGraph -- returns a random hypergraph
  • Option key: TimeLimit -- optional argument for randomHyperGraph

The source of this document is in EdgeIdeals.m2:4391:0.