@@ -22,7 +22,7 @@ BENCHMARK_CASES = [
22
22
" diffusion_static_edge" ,
23
23
N -> begin
24
24
g = watts_strogatz (N, N ÷ 2 , 0.0 ; rng= StableRNG (1 ))
25
- Network (g, diffusion_vertex (), diffusion_edge ())
25
+ (g, diffusion_vertex (), diffusion_edge ())
26
26
end ,
27
27
# [10,20],
28
28
[100 , 300 , 1000 , 3000 ],
@@ -33,7 +33,7 @@ BENCHMARK_CASES = [
33
33
" diffusion_ode_edge" ,
34
34
N -> begin
35
35
g = watts_strogatz (N, N ÷ 2 , 0.0 ; rng= StableRNG (1 ))
36
- Network (g, diffusion_vertex (), diffusion_dedge ())
36
+ (g, diffusion_vertex (), diffusion_dedge ())
37
37
end ,
38
38
# [10,20],
39
39
[100 , 300 , 1000 , 3000 ],
@@ -44,7 +44,7 @@ BENCHMARK_CASES = [
44
44
" kuramoto_homogeneous" ,
45
45
N -> begin
46
46
g = watts_strogatz (N, 3 , 0.8 ; rng= StableRNG (1 ))
47
- Network (g, kuramoto_vertex_2d (), static_kuramoto_edge ())
47
+ (g, kuramoto_vertex_2d (), static_kuramoto_edge ())
48
48
end ,
49
49
# [10,20],
50
50
[100 , 1_000 , 10_000 , 100_000 ],
@@ -58,7 +58,7 @@ BENCHMARK_CASES = [
58
58
rng = StableRNG (1 )
59
59
vtypes = [kuramoto_vertex_1d (), kuramoto_vertex_2d ()]
60
60
vertices = vtypes[shuffle (rng, vcat ([1 for _ in 1 : N÷ 2 ], [2 for _ in 1 : N÷ 2 ]))]
61
- Network (g, vertices, static_kuramoto_edge ())
61
+ (g, vertices, static_kuramoto_edge ())
62
62
end ,
63
63
# [10,20],
64
64
[100 , 1_000 , 10_000 , 100_000 ],
@@ -97,7 +97,7 @@ BENCHMARK_CASES = [
97
97
# Shuffle the vertex types
98
98
vertices = shuffle (rng, vcat (pq_vertices, gen_vertices))
99
99
100
- Network (g, vertices, piline ())
100
+ (g, vertices, piline ())
101
101
end ,
102
102
[100 , 1_000 , 10_000 , 100_000 ],
103
103
" Power grid with heterogeneous PQ nodes having fixed P/Q values"
0 commit comments