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

8 Expert use of Vole
 8.1 InfoVole – getting extra information about a Vole search
 8.2 Options with the native Vole interface

8 Expert use of Vole

8.1 InfoVole – getting extra information about a Vole search

8.1-1 InfoVole
‣ InfoVole( info class )

InfoVole is the primary info class for Vole. See Reference: Info Functions for a description of info classes in GAP.

The default info level is 0. Most info messages are given at level 2, but some messages are given at other levels, up to level 4.

8.2 Options with the native Vole interface

Most Vole functions support several options, which are implemented with the GAP options system, which is described in the GAP reference manual; see Reference: Options Stack.

In brief, options can be set for a function call by first giving the arguments, then writing a colon, and then assigning values to some or all of the permitted option names. Writing an option name without an explicitly assigned value is a shorthand for assigning the value true to that option. Note that options are passed down to subsequent function calls that are initiated by the original call.

Here is an example of a Vole function call with the option raw set to true:

gap> LoadPackage("vole", false);;
gap> ret := Vole.Intersection(AlternatingGroup(6), PGL(2,5) : raw := true);
rec( cosetrep := (), group := Group([ (3,5)(4,6), (2,3,4,6,5), (1,2,6)(3,4,5)
     ]),
  raw := rec( canonical := fail, rbase_branches := [ 1, 2, 3 ],
      search_fix_order := [ 1, 2, 3, 6, 5, 4 ],
      sols := [ [  ], [ 1, 2, 5, 6, 3, 4 ], [ 1, 3, 4, 6, 2, 5 ],
          [ 2, 6, 4, 5, 3, 1 ] ],
      stats := rec( bad_canonical := 0, bad_iso := 3, equal_canonical := 0,
          gap_callbacks := rec( begin := 2, canonicalmin_time := 0,
              changed := 24, check := 11, compare := 0, fixed := 38,
              image := 0, is_group := 0, name := 0, rBaseFinished := 2,
              refiner_time := 40, restore_state := 24, save_state := 24 ),
          good_iso := 4, improve_canonical := 0, refiner_calls := 64,
          search_nodes := 13, trace_fail_nodes := 0, vole_time := 136 ) ),
  sols := [ (), (3,5)(4,6), (2,3,4,6,5), (1,2,6)(3,4,5) ], time := 220 )
gap> ret.group = PSL(2,5);
true

Note that the option raw can also be set to true by simply giving the name raw. Therefore the following line can be used in place of the one above:

gap> ret := Vole.Intersection(AlternatingGroup(6), PGL(2,5) : raw);;

8.2-1 Supported options
gap> D := PetersenGraph();;
gap> constraint := Constraint.Stabilise(D, OnDigraphs);;
gap> G := VoleFind.Group(constraint : points := DigraphNrVertices(D));;
gap> [NrMovedPoints(G), TransitiveIdentification(G)];
[ 10, 13 ]
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 6 7 8 Bib Ind

generated by GAPDoc2HTML