Add graph references

This commit is contained in:
Abdelrahman Said
2026-06-28 13:49:01 +01:00
parent 0a9807e448
commit a11edf0c53
2578 changed files with 868045 additions and 0 deletions
@@ -0,0 +1,104 @@
-- Test graph with 1 vertex --
directed: false
vcount: 0
edges: {
}
-- Test graph with 2 vertices --
directed: false
vcount: 2
edges: {
0 1
1 1
}
-- Test graph with OUT mode --
directed: true
vcount: 4
edges: {
0 1
0 2
0 3
1 2
2 3
3 1
}
-- Test graph with IN mode --
directed: true
vcount: 4
edges: {
1 0
1 2
2 0
2 3
3 0
3 1
}
-- Test graph with MUTUAL mode --
directed: true
vcount: 4
edges: {
0 1
0 2
0 3
1 0
1 2
1 3
2 0
2 1
2 3
3 0
3 1
3 2
}
-- Test graph with UNDIRECTED mode
directed: false
vcount: 4
edges: {
0 1
0 2
0 3
1 2
1 3
2 3
}
-- Test graph with center equal to n/2 --
directed: true
vcount: 4
edges: {
0 1
1 3
2 0
2 1
2 3
3 0
}
-- Test graph with center equal to n - 1: --
directed: true
vcount: 4
edges: {
0 1
1 2
2 0
3 0
3 1
3 2
}
-- Test graph with center equal to 1: --
directed: true
vcount: 4
edges: {
0 2
1 0
1 2
1 3
2 3
3 0
}