Skip to content

Commit 131deb2

Browse files
committed
Version 0.5
1 parent c4f382e commit 131deb2

38 files changed

+163
-0
lines changed

README.md

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
# README #
2+
## digraphs-lib ##
3+
### Library of digraphs for the Digraphs package of GAP ###
4+
5+
6+
7+
In this directory is a collection of various types of digraphs, which can be
8+
loaded into the GAP computational algebra system using the [Digraphs
9+
package](http://www-circa.mcs.st-and.ac.uk/~jamesm/digraphs.php). It is a
10+
completely optional addition to the package, which can be used to produce
11+
examples of digraphs for use in the package.
12+
13+
14+
15+
Getting digraphs-lib
16+
--------------------
17+
The latest version of this library is available at the following link:
18+
19+
https://bitbucket.org/james-d-mitchell/digraphs/downloads
20+
21+
Simply download it and extract the archive into the root directory of your
22+
Digraphs installation. This should result in a `digraphs-lib` directory inside
23+
your `digraphs` directory.
24+
25+
26+
27+
Using digraphs-lib
28+
------------------
29+
Once the library is installed, simply launch GAP, load the Digraphs package, and
30+
use the `ReadDigraphs` function on one of the files in the `digraph-lib`
31+
directory. This will return a list of digraphs which can be used as required.
32+
33+
Here is an example GAP session:
34+
35+
```
36+
gap> LoadPackage("digraphs", false);;
37+
gap> filename := "~/gap/pkg/digraphs/digraphs-lib/latin.g6.gz";;
38+
gap> latin_graphs := ReadDigraphs(filename);
39+
[ <digraph with 100 vertices, 2700 edges>,
40+
<digraph with 121 vertices, 3630 edges>,
41+
<digraph with 144 vertices, 4752 edges>,
42+
<digraph with 169 vertices, 6084 edges>,
43+
<digraph with 196 vertices, 7644 edges>,
44+
<digraph with 225 vertices, 9450 edges>,
45+
<digraph with 256 vertices, 11520 edges>,
46+
<digraph with 289 vertices, 13872 edges>,
47+
<digraph with 324 vertices, 16524 edges>,
48+
<digraph with 361 vertices, 19494 edges>,
49+
<digraph with 4 vertices, 12 edges>,
50+
<digraph with 400 vertices, 22800 edges>,
51+
<digraph with 441 vertices, 26460 edges>,
52+
<digraph with 484 vertices, 30492 edges>,
53+
<digraph with 529 vertices, 34914 edges>,
54+
<digraph with 576 vertices, 39744 edges>,
55+
<digraph with 625 vertices, 45000 edges>,
56+
<digraph with 676 vertices, 50700 edges>,
57+
<digraph with 729 vertices, 56862 edges>,
58+
<digraph with 784 vertices, 63504 edges>,
59+
<digraph with 841 vertices, 70644 edges>,
60+
<digraph with 9 vertices, 54 edges>,
61+
<digraph with 900 vertices, 78300 edges>,
62+
<digraph with 16 vertices, 144 edges>,
63+
<digraph with 25 vertices, 300 edges>,
64+
<digraph with 36 vertices, 540 edges>,
65+
<digraph with 49 vertices, 882 edges>,
66+
<digraph with 64 vertices, 1344 edges>,
67+
<digraph with 81 vertices, 1944 edges> ]
68+
```
69+
70+
71+
72+
Types of digraph available
73+
--------------------------
74+
The following files were created by the authors of the Digraphs package:
75+
76+
* `acyclic.ds6.gz` - Acyclic graphs
77+
* `complete.g6.gz` - Complete graphs
78+
* `cyclic.ds6.gz` - Cyclic graphs
79+
* `empty.s6` - Empty graphs (graphs with no edges)
80+
* `extreme.d6.gz` - Required for DigraphsTestExtreme
81+
* `extreme.ds6.gz` - Required for DigraphsTestExtreme
82+
* `multi.ds6.gz` - Multigraphs
83+
* `random.d6.gz` - A few randomly generated digraphs
84+
* `sparse.ds6.gz` - Sparse graphs (few edges per vertex)
85+
* `tournament.d6.gz` - Tournaments
86+
87+
The following files contain symmetric graphs taken from the [nauty and Traces
88+
website](http://pallini.di.uniroma1.it/Graphs.html), by Brendan McKay and Adolfo
89+
Piperno:
90+
91+
* `ag.s6.gz` - Affine geometry graphs
92+
* `cfi.s6.gz` - Cai, Fuerer and Immerman graphs
93+
* `cmz.s6.gz` - Miyazaki graphs
94+
* `grid.s6.gz` - Grid graphs
95+
* `grid-sw.s6.gz` - Grid graphs with switched edges
96+
* `had.g6.gz` - Hadamard matrix graphs
97+
* `had-sw.g6.gz` - Hadamard matrix graphs with switched edges
98+
* `k.g6.gz` - Complete graphs
99+
* `latin.g6.gz` - Latin square graphs
100+
* `latin-sw.g6.gz` - Latin square graphs with switched edges
101+
* `lattice.g6.gz` - Lattice graphs
102+
* `mz.s6.gz` - Miyazaki graphs
103+
* `mz-aug.s6.gz` - Augmented Miyazaki graphs
104+
* `mz-aug2.s6.gz` - Augmented Miyazaki graphs 2
105+
* `paley.g6.gz` - Paley graphs
106+
* `pg.s6.gz` - Desarguesian projective plane graphs
107+
* `rnd-3-reg.s6.gz` - Random cubic graphs
108+
* `sts.g6.gz` - Steiner triple system graphs
109+
* `sts-sw.g6.gz` - Steiner triple system graphs with switched edges
110+
* `triang.g6.gz` - Triangular graphs
111+
112+
There are also some additional files containing graphs coming from finite geometry:
113+
114+
* `fining.p.gz` - contains some graphs comining from finite geometries:
115+
(1): vertices are the generators of the hermitian polar space H(5,4), two vertices are adjacent iff they are skew
116+
(2): vertices are the generators of the hermitian quadrangle H(4,4), two vertices are adjacent iff they are skew
117+
(3): vertices areh the points and lines of the classical generalized quadrangle Q(4,8), two vertics are adjacent iff
118+
they are incident (and no loops!). This is a bipartite graph with diameter 4 and undirected girth 8
119+
(4): the bipartite graph (see (3)) of an elation generalized quadrangle. This one was constructed as a coset geometry.
120+
(5): the bipartite graph of the split Cayley hexagon of order 4, diameter is 6 and girth is 12.
121+
(6): the bipartite graph of the Ree-Tits generalized octagon! This one has diameter 8 and girth 16!
122+
123+
* `polar_graphs.p.gz` A polar graph is by definition the point graph of a
124+
finite classical polar space. Note that such a geometry is a partial linear
125+
space, so not every pair of points is a pair of collinear points. Two
126+
points are adjacent iff they differe and they are collinear. The diamter of
127+
these graphs is 2, their undirected girth 3, the latter since these spaces
128+
contain lines. Reading in this file requires around 4 Gb.
129+
130+
* `dual_polar_graphs.p.gz` We consider again finite classical polar
131+
spaces. Such geometries contain points, lines, etc., up to maximal
132+
subspaces, which all have the same projective dimension. The vertices of a
133+
dual polar graph are these maximal subspaces, of dimension d say, and they
134+
are adjacent iff they differ and meet in a d-1 dimensional projective
135+
subspace. Reading in this file requres around 5Gb.
136+
137+
* `generators_graphs.p.gz` (parts 1, 2 and 3). We consider again finite
138+
classical polar spaces. The vertices are the maximal subspaces and they
139+
are adjacent iff they differ and are skew. Reading part 2 requires almost
140+
6Gb, reading part 3 requires again 6Gb. Reading part 1 requires much less
141+
(around 1.5Gb).
142+
143+
* `incidence_graphs.p.gz` a generalized polygon of gonality n is a point line
144+
geometry, such that if one considers the incidence graph, i.e. the
145+
vertices are the points and the lines, adjacency is incidence (withouth
146+
loops), then it has diameter n and girth 2n. All graphs in this repository
147+
are incidence graphs of generalized polygons. Note that by a famous
148+
theorem, thick GPs (i.e. at least three points on a line and dually, at
149+
least three lines on a point), have gonality 3,4,6 or 8. The repository
150+
contains the incidence graph of the smallest generalized octogon, some
151+
generalized hexagons, and a lot of generalized quadrangles, and some
152+
projective planes. To read it completely, around 1.5Gb is requiered.
153+
154+
155+
which were added by Jan De Beule.

acyclic.ds6.gz

4.38 KB
Binary file not shown.

ag.s6.gz

876 KB
Binary file not shown.

cfi.s6.gz

70.9 KB
Binary file not shown.

cmz.s6.gz

16.3 KB
Binary file not shown.

complete.g6.gz

131 Bytes
Binary file not shown.

cyclic.ds6.gz

10.2 KB
Binary file not shown.

dual_polar_graphs.p.gz

687 KB
Binary file not shown.

empty.s6

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:?
2+
:I
3+
:~?@c
4+
:~?Ng
5+
:~A[O
6+
:~WY_
7+
:~~??BsH?
8+
:~~??eHY?

extreme.d6.gz

2.26 MB
Binary file not shown.

0 commit comments

Comments
 (0)