Goto Chapter: Top 1 2 3 4 5 6 7 8 Bib Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

7 Ordered tracers
 7.1 API

7 Ordered tracers

An ordered tracer is...

7.1 API

7.1-1 RecordingTracer
‣ RecordingTracer( )( function )

Returns: A recording tracer

Constructor for recording tracers.

7.1-2 FollowingTracer
‣ FollowingTracer( t )( function )

Returns: A following tracer

If the argument t is a tracer, then this constructs a tracer that follows t.

7.1-3 CanonicalisingTracerFromTracer
‣ CanonicalisingTracerFromTracer( )( function )

Returns: A canonicalising tracer

Constructor for canonicalising tracers.

7.1-4 EmptyCanonicalisingTracer
‣ EmptyCanonicalisingTracer( arg )( function )

7.1-5 IsTracer
‣ IsTracer( t )( filter )

Returns: true or false

The category of tracers.

7.1-6 AddEvent
‣ AddEvent( t, o )( operation )

Returns: true or false

Add the arbitrary GAP object o as an event to the tracer t. This returns true if the event is accepted by the tracer, and false if not. Events are always accepted by recording tracers.

7.1-7 TraceLength
‣ TraceLength( t )( operation )

Returns: An integer

Get the number of events in the tracer t.

7.1-8 TraceEvent
‣ TraceEvent( t, i )( operation )

Returns: A GAP object

Get the event at position i in the tracer t. The argument i must lie in the range [1..TraceLength(t)].

7.1-9 GetEvents
‣ GetEvents( t )( operation )

Returns: A GAP list

Get a list of all events in the tracer.

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 6 7 8 Bib Ind

generated by GAPDoc2HTML