1# scscp, chapter 5
2#
3# DO NOT EDIT THIS FILE - EDIT EXAMPLES IN THE SOURCE INSTEAD!
4#
5# This file has been autogenerated with GAP. It contains examples
6# extracted from the documentation. Each example is preceded by the
7# comment which points to the location of its source.
8#
9gap> START_TEST( "scscp05.tst");
10
11# doc/../lib/scscp.gd:734-742
12
13gap> GetServiceDescription( "localhost", 26133 );
14rec(
15  description := "Started with the configuration file scscp/example/myserver.g\
16  on Thu 16 Feb 2017 16:03:56 GMT", service_name := "GAP SCSCP service",
17  version := "GAP 4.8.6 + SCSCP 2.2.1" )
18
19# doc/../lib/scscp.gd:692-711
20
21gap> GetAllowedHeads("localhost",26133);
22rec( scscp_transient_1 := [ "AClosestVectorCombinationsMatFFEVecFFE",
23      "Determinant", "GroupIdentificationService",
24      "IO_UnpickleStringAndPickleItBack", "IdGroup512ByCode", "Identity",
25      "IsPrimeInt", "Length", "MathieuGroup", "MatrixGroup",
26      "NormalizedUnitCFcommutator", "NormalizedUnitCFpower",
27      "NrConjugacyClasses", "NrSmallGroups", "NumberCFGroups",
28      "NumberCFSolvableGroups", "PointImages", "QuillenSeriesByIdGroup",
29      "ResetMinimumDistanceService", "SCSCPStartTracing", "SCSCPStopTracing",
30      "Size", "SylowSubgroup", "WS_AlternatingGroup", "WS_AutomorphismGroup",
31      "WS_ConwayPolynomial", "WS_Factorial", "WS_FactorsCFRAC",
32      "WS_FactorsECM", "WS_FactorsMPQS", "WS_FactorsPminus1",
33      "WS_FactorsPplus1", "WS_FactorsTD", "WS_IdGroup", "WS_LatticeSubgroups",
34      "WS_Mult", "WS_MultMatrix", "WS_Phi", "WS_PrimitiveGroup",
35      "WS_SmallGroup", "WS_SymmetricGroup", "WS_TransitiveGroup", "addition"
36     ] )
37
38# doc/../lib/scscp.gd:861-870
39
40gap> IsAllowedHead( "permgp1", "group", "localhost", 26133 );
41true
42gap> IsAllowedHead( "setname1", "Q", "localhost", 26133 );
43true
44gap> IsAllowedHead( "setname1", "R", "localhost", 26133 );
45false
46
47# doc/../lib/scscp.gd:813-830
48
49gap> GetTransientCD( "scscp_transient_1", "localhost", 26133 );
50rec( CDDate := "2017-02-08",
51  CDDefinitions :=
52    [ rec( Description := "Size is currently undocumented.", Name := "Size" ),
53      rec( Description := "Length is currently undocumented.",
54          Name := "Length" ),
55      rec( Description := "NrConjugacyClasses is currently undocumented.",
56          Name := "NrConjugacyClasses" ),
57...
58      rec( Description := "MatrixGroup is currently undocumented.",
59          Name := "MatrixGroup" ) ], CDName := "scscp_transient_1",
60  CDReviewDate := "2017-02-08", CDRevision := "0", CDStatus := "private",
61  CDVersion := "0",
62  Description := "This is a transient CD for the GAP SCSCP service" )
63
64# doc/../lib/scscp.gd:775-782
65
66gap> GetSignature("scscp_transient_1","WS_Factorial","localhost",26133);
67rec( maxarg := 1, minarg := 1,
68  symbol := rec( cd := "scscp_transient_1", name := "WS_Factorial" ),
69  symbolargs := rec( cd := "scscp2", name := "symbol_set_all" ) )
70
71gap> STOP_TEST("scscp05.tst", 1 );
72