File: structure_generators.at

package info (click to toggle)
igraph 0.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,500 kB
  • sloc: ansic: 188,142; sh: 26,731; cpp: 18,275; yacc: 1,164; makefile: 957; lex: 484; xml: 405
file content (122 lines) | stat: -rw-r--r-- 4,315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Check graph generators

# Test suite for the IGraph library.
# Copyright (C) 2005-2012  Gabor Csardi <csardi.gabor@gmail.com>
# 334 Harvard street, Cambridge, MA 02139 USA
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc.,  51 Franklin Street, Fifth Floor, Boston, MA 
# 02110-1301 USA

AT_BANNER([[Structure generators]])

AT_SETUP([Simple graph creation (igraph_create): ])
AT_KEYWORDS([igraph_create])
AT_COMPILE_CHECK([simple/igraph_create.c])
AT_CLEANUP

AT_SETUP([Barabasi-Albert model (igraph_barabasi_game):])
AT_KEYWORDS([barabasi barabasi-albert igraph_barabasi_game])
AT_COMPILE_CHECK([simple/igraph_barabasi_game.c])
AT_CLEANUP

AT_SETUP([More Barabasi-Albert model (igraph_barabasi_game):])
AT_KEYWORDS([barabasi barabasi-albert igraph_barabasi_game])
AT_COMPILE_CHECK([simple/igraph_barabasi_game2.c])
AT_CLEANUP

AT_SETUP([Erdos-Renyi model (igraph_erdos_renyi_game):])
AT_KEYWORDS([erdos renyi erdos-renyi igraph_erdos_renyi_game])
AT_COMPILE_CHECK([simple/igraph_erdos_renyi_game.c])
AT_CLEANUP

AT_SETUP([Degree sequence (igraph_degree_sequence_game):])
AT_KEYWORDS([degree sequence igraph_degree_sequence_game])
AT_COMPILE_CHECK([simple/igraph_degree_sequence_game.c], [simple/igraph_degree_sequence_game.out])
AT_CLEANUP

AT_SETUP([k-regular graphs (igraph_k_regular_game):])
AT_KEYWORDS([regular k-regular igraph_k_regular_game])
AT_COMPILE_CHECK([simple/igraph_k_regular_game.c], [simple/igraph_k_regular_game.out])
AT_CLEANUP

AT_SETUP([Growing random (igraph_growing_random_game):])
AT_KEYWORDS([growing random game igraph_growing_random_game])
AT_COMPILE_CHECK([simple/igraph_growing_random_game.c])
AT_CLEANUP

AT_SETUP([Preference model (igraph_preference_game):])
AT_KEYWORDS([preference game igraph_preference_game igraph_asymmetric_preference_game])
AT_COMPILE_CHECK([simple/igraph_preference_game.c])
AT_CLEANUP

AT_SETUP([From adjacency matrix (igraph_adjacency):])
AT_KEYWORDS([adjacency matrix igraph_adjacency])
AT_COMPILE_CHECK([simple/igraph_adjacency.c])
AT_CLEANUP

AT_SETUP([From weighted adjacency matrix (igraph_weighted_adjacency):])
AT_KEYWORDS([weighted adjacency matrix igraph_weighted_adjacency])
AT_COMPILE_CHECK([simple/igraph_weighted_adjacency.c], [simple/igraph_weighted_adjacency.out])
AT_CLEANUP

AT_SETUP([Star graph (igraph_star):])
AT_KEYWORDS([star igraph_star])
AT_COMPILE_CHECK([simple/igraph_star.c])
AT_CLEANUP

AT_SETUP([Lattice graph (igraph_lattice):])
AT_KEYWORDS([lattice igraph_lattice])
AT_COMPILE_CHECK([simple/igraph_lattice.c])
AT_CLEANUP

AT_SETUP([Ring graph (igraph_ring):])
AT_KEYWORDS([ring igraph_ring])
AT_COMPILE_CHECK([simple/igraph_ring.c])
AT_CLEANUP

AT_SETUP([Tree graph (igraph_tree):])
AT_KEYWORDS([tree igraph_tree])
AT_COMPILE_CHECK([simple/igraph_tree.c])
AT_CLEANUP

AT_SETUP([Full graph (igraph_full):])
AT_KEYWORDS([full igraph_full])
AT_COMPILE_CHECK([simple/igraph_full.c])
AT_CLEANUP

AT_SETUP([Graph atlas (igraph_atlas):])
AT_KEYWORDS([atlas igraph_atlas])
AT_COMPILE_CHECK([simple/igraph_atlas.c], [simple/igraph_atlas.out])
AT_CLEANUP

AT_SETUP([Small graph (igraph_small):])
AT_KEYWORDS([graph constructor small igraph_small])
AT_COMPILE_CHECK([simple/igraph_small.c], [simple/igraph_small.out])
AT_CLEANUP

AT_SETUP([Geomeric random graphs (igraph_grg_game):])
AT_KEYWORDS([graph GRG grg geometric random graph igraph_grg_game])
AT_COMPILE_CHECK([simple/igraph_grg_game.c])
AT_CLEANUP

AT_SETUP([Graphs in LCF notation (igraph_lcf{,_vector}):])
AT_KEYWORDS([LCF graph constructor])
AT_COMPILE_CHECK([simple/igraph_lcf.c])
AT_CLEANUP

AT_SETUP([Watts-Strogatz graphs (igraph_watts_strogatz_game):])
AT_KEYWORDS([small world small-world Watts Strogratz])
AT_COMPILE_CHECK([simple/watts_strogatz_game.c])
AT_CLEANUP