setWalkTrace(n)
The value of walkTrace determines how much additional information is printed during a call to groebnerWalk. The function setWalkTrace allows the user to change the value of walkTrace.
Levels of walkTrace are as follows:
Level 0: No additional information is printed. This is the default level.
Level 1: The total number of conversions performed during the algorithm is printed at the end of the computation. Conversions are sometimes done in initialization and finalization at the start and end of the path, and otherwise happen at faces in the Groebner fan.
Level 2: All Level 1 information is printed, and the current vector and size of the Groebner basis are printed at each conversion step. Since information is printed at each conversion, this level is helpful for verifying that the computation is proceeding and noticing where the algorithm gets stuck.
Level 3: All Level 2 information is printed, and the codimension of the face in the Groebner fan where the conversion is taking place is printed at each conversion. Note that running on Level 3 will significantly slow down the computation, and is not recommended except for testing.
For example, running the following code at the default Level 0 prints nothing
|
|
|
|
while running at Level 2 gives some conversion information.
|
|
The object setWalkTrace is a method function.