Macaulay2 Engine
Loading...
Searching...
No Matches
StopConditions Struct Reference

Bundle of optional early-termination knobs the front end can attach to a long-running Computation. More...

#include <computation.h>

Public Attributes

M2_bool always_stop
M2_bool stop_after_degree
M2_arrayint degree_limit
unsigned int basis_element_limit
unsigned int syzygy_limit
unsigned int pair_limit
M2_bool use_codim_limit
unsigned int codim_limit
unsigned int subring_limit
M2_bool just_min_gens
M2_arrayint length_limit

Detailed Description

Bundle of optional early-termination knobs the front end can attach to a long-running Computation.

Note
AI-generated documentation. Verify against the source before relying on it.

Each *_limit is consulted by the driver after every increment of the matching counter (basis element, syzygy, S-pair, codim, subring, step); degree_limit / length_limit cap the homological / degree reach for GB and resolution computations; always_stop short-circuits everything; just_min_gens asks the driver to halt as soon as a minimal generating set is available. M2_bool flags gate which limits are active.

Definition at line 89 of file computation.h.


The documentation for this struct was generated from the following file: