content
stringlengths 5
1.03M
| input_ids
sequencelengths 4
823k
| ratio_char_token
float64 0.4
12.5
| token_count
int64 4
823k
|
---|---|---|---|
repo = joinpath(homedir(), "ReferenceImages", "gallery")
recordings = joinpath(@__DIR__, "test_recordings")
cp(recordings, repo, force = true)
| [
260,
7501,
796,
4654,
6978,
7,
71,
12657,
343,
22784,
366,
26687,
29398,
1600,
366,
24460,
4943,
198,
22105,
654,
796,
4654,
6978,
7,
31,
834,
34720,
834,
11,
366,
9288,
62,
22105,
654,
4943,
198,
13155,
7,
22105,
654,
11,
29924,
11,
2700,
796,
2081,
8,
198
] | 2.979167 | 48 |
module RelayISI
using SpkCore
using Statistics, Random, StatsBase, Optim, ImageFiltering
using LoopVectorization
using ..RelayUtils, ..GLMMetrics, ..GLMFit.Partitions
import ..PredictorSet, ..Predictor, ..GLM, ..cross_validate, ..NullPrior,
..Binomial, ..Logistic, ..wasrelayed
export isi_cross_validate
# ============================================================================ #
function spike_status(ret::Vector{Float64}, lgn::Vector{Float64})
status = wasrelayed(ret, lgn)
# first spike has no isi so we can't make a prediction...
return diff(ret), status[2:end]
end
# ============================================================================ #
function smooth_ef(ef::AbstractVector{<:Real}, sigma::Real, bin_size::Real)
return imfilter(ef, (KernelFactors.IIRGaussian(sigma/bin_size),))
end
# ============================================================================ #
function get_eff(isi::Vector{Float64}, status::AbstractVector{<:Real}, kuse::AbstractVector{<:Integer},
sigma::Real, isibin::Real, isimax::Real)
isi_use = isi[kuse]
status_use = status[kuse]
krel = findall(>(0), status_use)
edges = 0.002:isibin:isimax
all = fit(Histogram, isi_use, edges)
rel = fit(Histogram, isi_use[krel], edges)
eff = Vector{Float64}(undef, length(all.weights))
@turbo thread=8 for k in eachindex(all.weights)
eff[k] = all.weights[k] > 0 ? rel.weights[k] / all.weights[k] : 0.0
end
if sigma > 0.0
out = smooth_ef(eff, sigma, isibin)
else
out = eff
end
# ensure [0,1]
@turbo thread=8 for k in eachindex(out)
out[k] = out[k] < 0.0 ? 0.0 : out[k]
end
return edges, out
end
# ============================================================================ #
@inline function predict(edges::AbstractVector{<:Real}, ef::AbstractVector{T}, isi::Vector{Float64}) where T
return predict!(fill(T(0), length(isi)), edges, ef, isi)
end
# ---------------------------------------------------------------------------- #
function predict!(p::Vector{T}, edges::AbstractVector{<:Real}, ef::AbstractVector{T}, isi::Vector{Float64}) where T<:Real
mu = mean(ef)
Threads.@threads for k in eachindex(p)
@inbounds begin
x = isi[k]
if x >= edges[end]
# for all isi's beyond isimax (edges[end]) predict the mean
# efficacy mu
p[k] = mu
elseif x < edges[1]
p[k] = ef[1]
else
j = findfirst(>(x), edges)
# subtract 1 as we used > above to locate the upper edge of the
# bin that this isi belongs in
p[k] = ef[j-1]
end
end
end
return p
end
# ============================================================================ #
roundn(x::Real, n::Integer) = round(x / 10.0^n) * 10.0^n
# ============================================================================ #
function isi_cross_validate(::Type{T}, ret::AbstractVector{<:Real}, lgn::AbstractVector{<:Real},
isimax::Vector{Float64}, isibin::Real=0.001, nfold::Integer=10) where T <: PerformanceMetric
sigma = roundn.(vcat(0.0, 10 .^ range(log10(0.002), log10(0.03), length=7)), -3)
out = T(nfold)
sig = 0.0
isimx = 0.0
best = worst_value(T)
isi, status = spike_status(ret, lgn)
for row in eachrow([repeat(sigma, inner=length(isimax)) repeat(isimax, outer=length(sigma))])
res = isi_model(T, isi, status, row[1], isibin, row[2], nfold, true)
tmp = mean(res)[1]
if better_than(T, tmp, best)
copy!(out, res)
sig = row[1]
isimx = row[2]
best = tmp
end
end
return out, sig, isimx
end
# ============================================================================ #
# NOTE: we are NOT using the turbo functions from RelayUtils as they do not work
# with ForwardDiff.Dual types [which we need to get the objective gradient from
# ForwardDiff (via Optim) in scale_ef()]; however, Dual numbers work just fine
# with Threads (obviously...)
function logistic!(x::AbstractVector{<:Real})
Threads.@threads for k in eachindex(x)
@inbounds x[k] = 1.0 / (1.0 + exp(-x[k]))
end
return x
end
# ============================================================================ #
# NOTE: this is combined logistic + NEGATIVE likelihood calculation specifically
# for scale_ef() below
function binomial_logistic_nlli!(x::Vector{<:Real}, status::Vector{<:Real})
Threads.@threads for k in eachindex(status)
@inbounds begin
tmp = 1.0 / (1.0 + exp(-x[k]))
x[k] = status[k] > 0 ? log(tmp + eps()) : log(1.0 - (tmp - eps()))
end
end
return -sum(x)
end
# ============================================================================ #
function scale_ef(edges::AbstractVector{<:Real}, ef::Vector{Float64}, isi::Vector{Float64}, status::AbstractVector{<:Real}, isibin::Real)
cache = Dict{DataType, Any}(Float64 => zeros(length(isi)))
N = length(isi)
objective(p::Vector{T}) where T = begin
yp = get!(cache, T) do
Vector{T}(undef, N)
end::Vector{T}
return binomial_logistic_nlli!(predict!(yp, edges, p[1] .+ ef .* p[2], isi), status)
end
x0 = [0.0, 1.0]
# mn = mean(ef)
# mx = maximum(ef)
# x0 = [-mn, 1.0/(mx - mn)]
res = optimize(objective, x0, LBFGS(); autodiff=:forward)
return res.minimizer[1] .+ ef .* res.minimizer[2]
end
# ============================================================================ #
function isi_model(::Type{T}, isi::AbstractVector{<:Real}, status::Vector{Bool},
sigma::Real, isibin::Real, isimax::Real, nfold::Integer, shfl::Bool) where T <: PerformanceMetric
res = T(nfold)
k = 1
for p in ballanced_partition(IndexPartitioner, isi, status, nfold, shfl)
idxtrain = training_set(p)
idxtest = testing_set(p)
edges, ef = get_eff(isi, status, idxtrain, sigma, isibin, isimax)
ef = scale_ef(edges, ef, isi[idxtrain], status[idxtrain], isibin)
pred = logistic!(predict(edges, ef, isi[idxtest]))
eval_and_store!(res, status[idxtest], pred, k)
k += 1
end
return res
end
# ============================================================================ #
end
| [
21412,
4718,
323,
1797,
40,
198,
198,
3500,
1338,
74,
14055,
198,
3500,
14370,
11,
14534,
11,
20595,
14881,
11,
30011,
11,
7412,
11928,
20212,
198,
198,
3500,
26304,
38469,
1634,
198,
198,
3500,
11485,
6892,
323,
18274,
4487,
11,
11485,
8763,
44,
9171,
10466,
11,
11485,
8763,
44,
31805,
13,
7841,
1756,
198,
11748,
11485,
47,
17407,
273,
7248,
11,
11485,
47,
17407,
273,
11,
11485,
8763,
44,
11,
11485,
19692,
62,
12102,
378,
11,
11485,
35067,
22442,
11,
198,
220,
220,
220,
220,
220,
220,
11485,
33,
259,
49070,
11,
11485,
11187,
2569,
11,
11485,
9776,
2411,
16548,
198,
198,
39344,
318,
72,
62,
19692,
62,
12102,
378,
198,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
20240,
62,
13376,
7,
1186,
3712,
38469,
90,
43879,
2414,
5512,
300,
4593,
3712,
38469,
90,
43879,
2414,
30072,
628,
220,
220,
220,
3722,
796,
373,
2411,
16548,
7,
1186,
11,
300,
4593,
8,
198,
220,
220,
220,
1303,
717,
20240,
468,
645,
318,
72,
523,
356,
460,
470,
787,
257,
17724,
986,
198,
220,
220,
220,
1441,
814,
7,
1186,
828,
3722,
58,
17,
25,
437,
60,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
7209,
62,
891,
7,
891,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
264,
13495,
3712,
15633,
11,
9874,
62,
7857,
3712,
15633,
8,
198,
220,
220,
220,
1441,
545,
24455,
7,
891,
11,
357,
42,
7948,
29054,
669,
13,
3978,
49,
35389,
31562,
7,
82,
13495,
14,
8800,
62,
7857,
828,
4008,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
651,
62,
14822,
7,
23267,
3712,
38469,
90,
43879,
2414,
5512,
3722,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
479,
1904,
3712,
23839,
38469,
90,
27,
25,
46541,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
264,
13495,
3712,
15633,
11,
318,
571,
259,
3712,
15633,
11,
318,
320,
897,
3712,
15633,
8,
628,
220,
220,
220,
220,
220,
220,
220,
318,
72,
62,
1904,
796,
318,
72,
58,
74,
1904,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
1904,
796,
3722,
58,
74,
1904,
60,
198,
220,
220,
220,
220,
220,
220,
220,
479,
2411,
796,
1064,
439,
7,
33994,
15,
828,
3722,
62,
1904,
8,
628,
220,
220,
220,
220,
220,
220,
220,
13015,
796,
657,
13,
21601,
25,
271,
571,
259,
25,
271,
320,
897,
628,
220,
220,
220,
220,
220,
220,
220,
477,
796,
4197,
7,
13749,
21857,
11,
318,
72,
62,
1904,
11,
13015,
8,
198,
220,
220,
220,
220,
220,
220,
220,
823,
796,
4197,
7,
13749,
21857,
11,
318,
72,
62,
1904,
58,
74,
2411,
4357,
13015,
8,
628,
220,
220,
220,
220,
220,
220,
220,
914,
796,
20650,
90,
43879,
2414,
92,
7,
917,
891,
11,
4129,
7,
439,
13,
43775,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
36590,
2127,
4704,
28,
23,
329,
479,
287,
1123,
9630,
7,
439,
13,
43775,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
914,
58,
74,
60,
796,
477,
13,
43775,
58,
74,
60,
1875,
657,
5633,
823,
13,
43775,
58,
74,
60,
1220,
477,
13,
43775,
58,
74,
60,
1058,
657,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
264,
13495,
1875,
657,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
796,
7209,
62,
891,
7,
14822,
11,
264,
13495,
11,
318,
571,
259,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
796,
914,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4155,
685,
15,
11,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
36590,
2127,
4704,
28,
23,
329,
479,
287,
1123,
9630,
7,
448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
58,
74,
60,
796,
503,
58,
74,
60,
1279,
657,
13,
15,
5633,
657,
13,
15,
1058,
503,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
13015,
11,
503,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
31,
45145,
2163,
4331,
7,
276,
3212,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
304,
69,
3712,
23839,
38469,
90,
51,
5512,
318,
72,
3712,
38469,
90,
43879,
2414,
30072,
810,
309,
198,
220,
220,
220,
1441,
4331,
0,
7,
20797,
7,
51,
7,
15,
828,
4129,
7,
23267,
36911,
13015,
11,
304,
69,
11,
318,
72,
8,
198,
437,
198,
2,
16529,
10541,
1303,
198,
8818,
4331,
0,
7,
79,
3712,
38469,
90,
51,
5512,
13015,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
304,
69,
3712,
23839,
38469,
90,
51,
5512,
318,
72,
3712,
38469,
90,
43879,
2414,
30072,
810,
309,
27,
25,
15633,
628,
220,
220,
220,
38779,
796,
1612,
7,
891,
8,
628,
220,
220,
220,
14122,
82,
13,
31,
16663,
82,
329,
479,
287,
1123,
9630,
7,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
318,
72,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
18189,
13015,
58,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
477,
318,
72,
338,
3675,
318,
320,
897,
357,
276,
3212,
58,
437,
12962,
4331,
262,
1612,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20179,
38779,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
58,
74,
60,
796,
38779,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2124,
1279,
13015,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
58,
74,
60,
796,
304,
69,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
796,
1064,
11085,
7,
33994,
87,
828,
13015,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34128,
352,
355,
356,
973,
1875,
2029,
284,
17276,
262,
6727,
5743,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9874,
326,
428,
318,
72,
14448,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
58,
74,
60,
796,
304,
69,
58,
73,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
279,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
744,
77,
7,
87,
3712,
15633,
11,
299,
3712,
46541,
8,
796,
2835,
7,
87,
1220,
838,
13,
15,
61,
77,
8,
1635,
838,
13,
15,
61,
77,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
318,
72,
62,
19692,
62,
12102,
378,
7,
3712,
6030,
90,
51,
5512,
1005,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
300,
4593,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
198,
220,
220,
220,
318,
320,
897,
3712,
38469,
90,
43879,
2414,
5512,
318,
571,
259,
3712,
15633,
28,
15,
13,
8298,
11,
299,
11379,
3712,
46541,
28,
940,
8,
810,
309,
1279,
25,
15193,
9171,
1173,
628,
220,
220,
220,
264,
13495,
796,
2835,
77,
12195,
85,
9246,
7,
15,
13,
15,
11,
838,
764,
61,
2837,
7,
6404,
940,
7,
15,
13,
21601,
828,
2604,
940,
7,
15,
13,
3070,
828,
4129,
28,
22,
36911,
532,
18,
8,
628,
220,
220,
220,
503,
796,
309,
7,
77,
11379,
8,
198,
220,
220,
220,
43237,
796,
657,
13,
15,
198,
220,
220,
220,
318,
320,
87,
796,
657,
13,
15,
198,
220,
220,
220,
1266,
796,
5290,
62,
8367,
7,
51,
8,
628,
220,
220,
220,
318,
72,
11,
3722,
796,
20240,
62,
13376,
7,
1186,
11,
300,
4593,
8,
628,
220,
220,
220,
329,
5752,
287,
1123,
808,
26933,
44754,
7,
82,
13495,
11,
8434,
28,
13664,
7,
271,
320,
897,
4008,
9585,
7,
271,
320,
897,
11,
12076,
28,
13664,
7,
82,
13495,
4008,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
318,
72,
62,
19849,
7,
51,
11,
318,
72,
11,
3722,
11,
5752,
58,
16,
4357,
318,
571,
259,
11,
5752,
58,
17,
4357,
299,
11379,
11,
2081,
8,
198,
220,
220,
220,
220,
220,
220,
220,
45218,
796,
1612,
7,
411,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1365,
62,
14813,
7,
51,
11,
45218,
11,
1266,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4866,
0,
7,
448,
11,
581,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43237,
796,
5752,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
320,
87,
796,
5752,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1266,
796,
45218,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
503,
11,
43237,
11,
318,
320,
87,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
2,
24550,
25,
356,
389,
5626,
1262,
262,
29292,
5499,
422,
4718,
323,
18274,
4487,
355,
484,
466,
407,
670,
198,
2,
351,
19530,
28813,
13,
36248,
3858,
685,
4758,
356,
761,
284,
651,
262,
9432,
31312,
422,
198,
2,
19530,
28813,
357,
8869,
30011,
8,
287,
5046,
62,
891,
3419,
11208,
2158,
11,
20446,
3146,
670,
655,
3734,
198,
2,
351,
14122,
82,
357,
672,
8647,
23029,
198,
8818,
2604,
2569,
0,
7,
87,
3712,
23839,
38469,
90,
27,
25,
15633,
30072,
198,
220,
220,
220,
14122,
82,
13,
31,
16663,
82,
329,
479,
287,
1123,
9630,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2124,
58,
74,
60,
796,
352,
13,
15,
1220,
357,
16,
13,
15,
1343,
1033,
32590,
87,
58,
74,
60,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
2,
24550,
25,
428,
318,
5929,
2604,
2569,
1343,
399,
7156,
37045,
14955,
17952,
5734,
198,
2,
329,
5046,
62,
891,
3419,
2174,
198,
8818,
9874,
49070,
62,
6404,
2569,
62,
77,
15516,
0,
7,
87,
3712,
38469,
90,
27,
25,
15633,
5512,
3722,
3712,
38469,
90,
27,
25,
15633,
30072,
198,
220,
220,
220,
14122,
82,
13,
31,
16663,
82,
329,
479,
287,
1123,
9630,
7,
13376,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45218,
796,
352,
13,
15,
1220,
357,
16,
13,
15,
1343,
1033,
32590,
87,
58,
74,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
58,
74,
60,
796,
3722,
58,
74,
60,
1875,
657,
5633,
2604,
7,
22065,
1343,
304,
862,
28955,
1058,
2604,
7,
16,
13,
15,
532,
357,
22065,
532,
304,
862,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
532,
16345,
7,
87,
8,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
5046,
62,
891,
7,
276,
3212,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
304,
69,
3712,
38469,
90,
43879,
2414,
5512,
318,
72,
3712,
38469,
90,
43879,
2414,
5512,
3722,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
318,
571,
259,
3712,
15633,
8,
628,
220,
220,
220,
12940,
796,
360,
713,
90,
6601,
6030,
11,
4377,
92,
7,
43879,
2414,
5218,
1976,
27498,
7,
13664,
7,
23267,
22305,
198,
220,
220,
220,
399,
796,
4129,
7,
23267,
8,
628,
220,
220,
220,
9432,
7,
79,
3712,
38469,
90,
51,
30072,
810,
309,
796,
220,
2221,
628,
220,
220,
220,
220,
220,
220,
220,
331,
79,
796,
651,
0,
7,
23870,
11,
309,
8,
466,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20650,
90,
51,
92,
7,
917,
891,
11,
399,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
3712,
38469,
90,
51,
92,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
9874,
49070,
62,
6404,
2569,
62,
77,
15516,
0,
7,
79,
17407,
0,
7,
4464,
11,
13015,
11,
279,
58,
16,
60,
764,
10,
304,
69,
764,
9,
279,
58,
17,
4357,
318,
72,
828,
3722,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2124,
15,
796,
685,
15,
13,
15,
11,
352,
13,
15,
60,
628,
220,
220,
220,
1303,
285,
77,
796,
1612,
7,
891,
8,
198,
220,
220,
220,
1303,
285,
87,
796,
5415,
7,
891,
8,
198,
220,
220,
220,
1303,
2124,
15,
796,
25915,
10295,
11,
352,
13,
15,
29006,
36802,
532,
285,
77,
15437,
628,
220,
220,
220,
581,
796,
27183,
7,
15252,
425,
11,
2124,
15,
11,
22199,
37,
14313,
9783,
1960,
375,
733,
28,
25,
11813,
8,
628,
220,
220,
220,
1441,
581,
13,
1084,
320,
7509,
58,
16,
60,
764,
10,
304,
69,
764,
9,
581,
13,
1084,
320,
7509,
58,
17,
60,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
8818,
318,
72,
62,
19849,
7,
3712,
6030,
90,
51,
5512,
318,
72,
3712,
23839,
38469,
90,
27,
25,
15633,
5512,
3722,
3712,
38469,
90,
33,
970,
5512,
198,
220,
220,
220,
264,
13495,
3712,
15633,
11,
318,
571,
259,
3712,
15633,
11,
318,
320,
897,
3712,
15633,
11,
299,
11379,
3712,
46541,
11,
427,
2704,
3712,
33,
970,
8,
810,
309,
1279,
25,
15193,
9171,
1173,
628,
220,
220,
220,
581,
796,
309,
7,
77,
11379,
8,
628,
220,
220,
220,
479,
796,
352,
198,
220,
220,
220,
329,
279,
287,
2613,
2903,
62,
3911,
653,
7,
15732,
7841,
653,
263,
11,
318,
72,
11,
3722,
11,
299,
11379,
11,
427,
2704,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
742,
3201,
796,
3047,
62,
2617,
7,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
742,
395,
796,
4856,
62,
2617,
7,
79,
8,
628,
220,
220,
220,
220,
220,
220,
220,
13015,
11,
304,
69,
796,
651,
62,
14822,
7,
23267,
11,
3722,
11,
4686,
742,
3201,
11,
264,
13495,
11,
318,
571,
259,
11,
318,
320,
897,
8,
198,
220,
220,
220,
220,
220,
220,
220,
304,
69,
796,
5046,
62,
891,
7,
276,
3212,
11,
304,
69,
11,
318,
72,
58,
312,
742,
3201,
4357,
3722,
58,
312,
742,
3201,
4357,
318,
571,
259,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2747,
796,
2604,
2569,
0,
7,
79,
17407,
7,
276,
3212,
11,
304,
69,
11,
318,
72,
58,
312,
742,
395,
60,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
5418,
62,
392,
62,
8095,
0,
7,
411,
11,
3722,
58,
312,
742,
395,
4357,
2747,
11,
479,
8,
628,
220,
220,
220,
220,
220,
220,
220,
479,
15853,
352,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
581,
198,
437,
198,
2,
38093,
2559,
18604,
1303,
198,
437,
198
] | 2.491525 | 2,596 |
@doc raw"""
Stiefel{n,k,𝔽} <: AbstractEmbeddedManifold{𝔽,DefaultIsometricEmbeddingType}
The Stiefel manifold consists of all $n × k$, $n ≥ k$ unitary matrices, i.e.
````math
\operatorname{St}(n,k) = \bigl\{ p ∈ 𝔽^{n × k}\ \big|\ p^{\mathrm{H}}p = I_k \bigr\},
````
where $𝔽 ∈ \{ℝ, ℂ\}$,
$\cdot^{\mathrm{H}}$ denotes the complex conjugate transpose or Hermitian, and
$I_k ∈ ℝ^{k × k}$ denotes the $k × k$ identity matrix.
The tangent space at a point $p ∈ \mathcal M$ is given by
````math
T_p \mathcal M = \{ X ∈ 𝔽^{n × k} : p^{\mathrm{H}}X + \overline{X^{\mathrm{H}}p} = 0_k\},
````
where $0_k$ is the $k × k$ zero matrix and $\overline{\cdot}$ the (elementwise) complex conjugate.
This manifold is modeled as an embedded manifold to the [`Euclidean`](@ref), i.e.
several functions like the [`inner`](@ref inner(::Euclidean, ::Any...)) product and the
[`zero_vector`](@ref zero_vector(::Euclidean, ::Any...)) are inherited from the embedding.
The manifold is named after
[Eduard L. Stiefel](https://en.wikipedia.org/wiki/Eduard_Stiefel) (1909–1978).
# Constructor
Stiefel(n, k, field = ℝ)
Generate the (real-valued) Stiefel manifold of $n × k$ dimensional orthonormal matrices.
"""
struct Stiefel{n,k,𝔽} <: AbstractEmbeddedManifold{𝔽,DefaultIsometricEmbeddingType} end
Stiefel(n::Int, k::Int, field::AbstractNumbers=ℝ) = Stiefel{n,k,field}()
@doc raw"""
PadeRetraction{m} <: AbstractRetractionMethod
A retraction based on the Padé approximation of order $m$
"""
struct PadeRetraction{m} <: AbstractRetractionMethod end
function PadeRetraction(m::Int)
(m < 1) && error(
"The Padé based retraction is only available for positive orders, not for order $m.",
)
return PadeRetraction{m}()
end
@doc raw"""
CayleyRetraction <: AbstractRetractionMethod
A retraction based on the Cayley transform, which is realized by using the
[`PadeRetraction`](@ref)`{1}`.
"""
const CayleyRetraction = PadeRetraction{1}
function allocation_promotion_function(::Stiefel{n,k,ℂ}, ::Any, ::Tuple) where {n,k}
return complex
end
@doc raw"""
check_point(M::Stiefel, p; kwargs...)
Check whether `p` is a valid point on the [`Stiefel`](@ref) `M`=$\operatorname{St}(n,k)$, i.e. that it has the right
[`AbstractNumbers`](@ref) type and $p^{\mathrm{H}}p$ is (approximately) the identity, where $\cdot^{\mathrm{H}}$ is the
complex conjugate transpose. The settings for approximately can be set with `kwargs...`.
"""
function check_point(M::Stiefel{n,k,𝔽}, p; kwargs...) where {n,k,𝔽}
mpv = invoke(check_point, Tuple{supertype(typeof(M)),typeof(p)}, M, p; kwargs...)
mpv === nothing || return mpv
c = p' * p
if !isapprox(c, one(c); kwargs...)
return DomainError(
norm(c - one(c)),
"The point $(p) does not lie on $(M), because p'p is not the unit matrix.",
)
end
return nothing
end
@doc raw"""
check_vector(M::Stiefel, p, X; kwargs...)
Checks whether `X` is a valid tangent vector at `p` on the [`Stiefel`](@ref)
`M`=$\operatorname{St}(n,k)$, i.e. the [`AbstractNumbers`](@ref) fits and
it (approximately) holds that $p^{\mathrm{H}}X + \overline{X^{\mathrm{H}}p} = 0$,
where $\cdot^{\mathrm{H}}$ denotes the Hermitian and $\overline{\cdot}$ the (elementwise) complex conjugate.
The settings for approximately can be set with `kwargs...`.
"""
function check_vector(M::Stiefel{n,k,𝔽}, p, X; kwargs...) where {n,k,𝔽}
mpv = invoke(
check_vector,
Tuple{supertype(typeof(M)),typeof(p),typeof(X)},
M,
p,
X;
kwargs...,
)
mpv === nothing || return mpv
if !isapprox(p' * X, -conj(X' * p); kwargs...)
return DomainError(
norm(p' * X + conj(X' * p)),
"The matrix $(X) is does not lie in the tangent space of $(p) on the Stiefel manifold of dimension ($(n),$(k)), since p'X + X'p is not the zero matrix.",
)
end
return nothing
end
decorated_manifold(::Stiefel{N,K,𝔽}) where {N,K,𝔽} = Euclidean(N, K; field=𝔽)
@doc raw"""
inverse_retract(M::Stiefel, p, q, ::PolarInverseRetraction)
Compute the inverse retraction based on a singular value decomposition
for two points `p`, `q` on the [`Stiefel`](@ref) manifold `M`.
This follows the folloing approach: From the Polar retraction we know that
````math
\operatorname{retr}_p^{-1}q = qs - t
````
if such a symmetric positive definite $k × k$ matrix exists. Since $qs - t$
is also a tangent vector at $p$ we obtain
````math
p^{\mathrm{H}}qs + s(p^{\mathrm{H}}q)^{\mathrm{H}} + 2I_k = 0,
````
which can either be solved by a Lyapunov approach or a continuous-time
algebraic Riccati equation.
This implementation follows the Lyapunov approach.
"""
inverse_retract(::Stiefel, ::Any, ::Any, ::PolarInverseRetraction)
@doc raw"""
inverse_retract(M::Stiefel, p, q, ::QRInverseRetraction)
Compute the inverse retraction based on a qr decomposition
for two points `p`, `q` on the [`Stiefel`](@ref) manifold `M` and return
the resulting tangent vector in `X`. The computation follows Algorithm 1
in [^KanekoFioriTanaka2013].
[^KanekoFioriTanaka2013]:
> T. Kaneko, S. Fiori, T. Tanaka: "Empirical Arithmetic Averaging over the
> Compact Stiefel AbstractManifold", IEEE Transactions on Signal Processing, 2013,
> doi: [10.1109/TSP.2012.2226167](https://doi.org/10.1109/TSP.2012.2226167).
"""
inverse_retract(::Stiefel, ::Any, ::Any, ::QRInverseRetraction)
function _stiefel_inv_retr_qr_mul_by_r_generic!(::Stiefel{n,k}, X, q, R, A) where {n,k}
@inbounds for i in 1:k
b = zeros(eltype(R), i)
b[i] = 1
b[1:(end - 1)] = -transpose(R[1:(i - 1), 1:(i - 1)]) * A[i, 1:(i - 1)]
R[1:i, i] = A[1:i, 1:i] \ b
end
#TODO: replace with this once it's supported by StaticArrays
#return mul!(X, q, UpperTriangular(R))
return mul!(X, q, R)
end
function _stiefel_inv_retr_qr_mul_by_r!(::Stiefel{n,1}, X, q, A, ::Type) where {n}
@inbounds R = SMatrix{1,1}(inv(A[1, 1]))
return mul!(X, q, R)
end
function _stiefel_inv_retr_qr_mul_by_r!(
M::Stiefel{n,1},
X,
q,
A::StaticArray,
::Type{ElT},
) where {n,ElT}
return invoke(
_stiefel_inv_retr_qr_mul_by_r!,
Tuple{Stiefel{n,1},typeof(X),typeof(q),AbstractArray,typeof(ElT)},
M,
X,
q,
A,
ElT,
)
end
function _stiefel_inv_retr_qr_mul_by_r!(::Stiefel{n,2}, X, q, A, ::Type{ElT}) where {n,ElT}
R11 = inv(A[1, 1])
@inbounds R =
hcat(SA[R11, zero(ElT)], A[SOneTo(2), SOneTo(2)] \ SA[-R11 * A[2, 1], one(ElT)])
#TODO: replace with this once it's supported by StaticArrays
#return mul!(X, q, UpperTriangular(R))
return mul!(X, q, R)
end
function _stiefel_inv_retr_qr_mul_by_r!(
M::Stiefel{n,2},
X,
q,
A::StaticArray,
::Type{ElT},
) where {n,ElT}
return invoke(
_stiefel_inv_retr_qr_mul_by_r!,
Tuple{Stiefel{n,2},typeof(X),typeof(q),AbstractArray,typeof(ElT)},
M,
X,
q,
A,
ElT,
)
end
function _stiefel_inv_retr_qr_mul_by_r!(
M::Stiefel{n,k},
X,
q,
A::StaticArray,
::Type{ElT},
) where {n,k,ElT}
R = zeros(MMatrix{k,k,ElT})
return _stiefel_inv_retr_qr_mul_by_r_generic!(M, X, q, R, A)
end
function _stiefel_inv_retr_qr_mul_by_r!(
M::Stiefel{n,k},
X,
q,
A,
::Type{ElT},
) where {n,k,ElT}
R = zeros(ElT, k, k)
return _stiefel_inv_retr_qr_mul_by_r_generic!(M, X, q, R, A)
end
function inverse_retract!(::Stiefel, X, p, q, ::PolarInverseRetraction)
A = p' * q
H = -2 * one(p' * p)
B = lyap(A, H)
mul!(X, q, B)
X .-= p
return X
end
function inverse_retract!(M::Stiefel{n,k}, X, p, q, ::QRInverseRetraction) where {n,k}
A = p' * q
@boundscheck size(A) === (k, k)
ElT = typeof(one(eltype(p)) * one(eltype(q)))
_stiefel_inv_retr_qr_mul_by_r!(M, X, q, A, ElT)
X .-= p
return X
end
function Base.isapprox(M::Stiefel, p, X, Y; kwargs...)
return isapprox(sqrt(inner(M, p, zero_vector(M, p), X - Y)), 0; kwargs...)
end
Base.isapprox(::Stiefel, p, q; kwargs...) = isapprox(norm(p - q), 0; kwargs...)
@doc raw"""
manifold_dimension(M::Stiefel)
Return the dimension of the [`Stiefel`](@ref) manifold `M`=$\operatorname{St}(n,k,𝔽)$.
The dimension is given by
````math
\begin{aligned}
\dim \mathrm{St}(n, k, ℝ) &= nk - \frac{1}{2}k(k+1)\\
\dim \mathrm{St}(n, k, ℂ) &= 2nk - k^2\\
\dim \mathrm{St}(n, k, ℍ) &= 4nk - k(2k-1)
\end{aligned}
````
"""
manifold_dimension(::Stiefel{n,k,ℝ}) where {n,k} = n * k - div(k * (k + 1), 2)
manifold_dimension(::Stiefel{n,k,ℂ}) where {n,k} = 2 * n * k - k * k
manifold_dimension(::Stiefel{n,k,ℍ}) where {n,k} = 4 * n * k - k * (2k - 1)
@doc raw"""
retract(::Stiefel, p, X, ::CayleyRetraction)
Compute the retraction on the [`Stiefel`](@ref) that is based on the Cayley transform[^Zhu2017].
Using
````math
W_{p,X} = \operatorname{P}_pXp^{\mathrm{H}} - pX^{\mathrm{H}}\operatorname{P_p}
\quad\text{where}
\operatorname{P}_p = I - \frac{1}{2}pp^{\mathrm{H}}
````
the formula reads
````math
\operatorname{retr}_pX = \Bigl(I - \frac{1}{2}W_{p,X}\Bigr)^{-1}\Bigl(I + \frac{1}{2}W_{p,X}\Bigr)p.
````
It is implemented as the case $m=1$ of the [`PadeRetraction`](@ref).
[^Zhu2017]:
> X. Zhu:
> A Riemannian conjugate gradient method for optimizazion on the Stiefel manifold,
> Computational Optimization and Applications 67(1), pp. 73–110, 2017.
> doi [10.1007/s10589-016-9883-4](https://doi.org/10.1007/s10589-016-9883-4).
"""
retract(::Stiefel, ::Any, ::Any, ::CayleyRetraction)
@doc raw"""
retract(M::Stiefel, p, X, ::PadeRetraction{m})
Compute the retraction on the [`Stiefel`](@ref) manifold `M` based on the Padé approximation of order $m$[^ZhuDuan2018].
Let $p_m$ and $q_m$ be defined for any matrix $A ∈ ℝ^{n×x}$ as
````math
p_m(A) = \sum_{k=0}^m \frac{(2m-k)!m!}{(2m)!(m-k)!}\frac{A^k}{k!}
````
and
````math
q_m(A) = \sum_{k=0}^m \frac{(2m-k)!m!}{(2m)!(m-k)!}\frac{(-A)^k}{k!}
````
respectively. Then the Padé approximation (of the matrix exponential $\exp(A)$) reads
````math
r_m(A) = q_m(A)^{-1}p_m(A)
````
Defining further
````math
W_{p,X} = \operatorname{P}_pXp^{\mathrm{H}} - pX^{\mathrm{H}}\operatorname{P_p}
\quad\text{where}
\operatorname{P}_p = I - \frac{1}{2}pp^{\mathrm{H}}
````
the retraction reads
````math
\operatorname{retr}_pX = r_m(W_{p,X})p
````
[^ZhuDuan2018]:
> X. Zhu, C. Duan:
> On matrix exponentials and their approximations related to optimization on the Stiefel manifold,
> Optimizazion Letters 13(5), pp. 1069–1083, 2018.
> doi [10.1007/s11590-018-1341-z](https://doi.org/10.1007/s11590-018-1341-z).
"""
retract(::Stiefel, ::Any, ::Any, ::PadeRetraction)
@doc raw"""
retract(M::Stiefel, p, X, ::PolarRetraction)
Compute the SVD-based retraction [`PolarRetraction`](@ref) on the
[`Stiefel`](@ref) manifold `M`. With $USV = p + X$ the retraction reads
````math
\operatorname{retr}_p X = U\bar{V}^\mathrm{H}.
````
"""
retract(::Stiefel, ::Any, ::Any, ::PolarRetraction)
@doc raw"""
retract(M::Stiefel, p, X, ::QRRetraction)
Compute the QR-based retraction [`QRRetraction`](@ref) on the
[`Stiefel`](@ref) manifold `M`. With $QR = p + X$ the retraction reads
````math
\operatorname{retr}_p X = QD,
````
where $D$ is a $n × k$ matrix with
````math
D = \operatorname{diag}\bigl(\operatorname{sgn}(R_{ii}+0,5)_{i=1}^k \bigr),
````
where $\operatorname{sgn}(p) = \begin{cases}
1 & \text{ for } p > 0,\\
0 & \text{ for } p = 0,\\
-1& \text{ for } p < 0.
\end{cases}$
"""
retract(::Stiefel, ::Any, ::Any, ::QRRetraction)
_qrfac_to_q(qrfac) = Matrix(qrfac.Q)
_qrfac_to_q(qrfac::StaticArrays.QR) = qrfac.Q
function retract!(::Stiefel, q, p, X, ::PadeRetraction{m}) where {m}
Pp = I - 1 // 2 * p * p'
WpX = Pp * X * p' - p * X' * Pp
pm = zeros(eltype(WpX), size(WpX))
qm = zeros(eltype(WpX), size(WpX))
WpXk = similar(WpX)
copyto!(WpXk, factorial(m) / factorial(2 * m) * I) # factorial factor independent of k
for k in 0:m
# incrementally build (2m-k)!/(m-k)!(k)! for k > 0, i.e.
# remove factor (2m-k+1) in the nominator, (m-k+1) in the denominator and multiply by 1/k
WpXk .*= (k == 0 ? 2 : (m - k + 1) / ((2 * m - k + 1) * k))
pm .+= WpXk
if k % 2 == 0
qm .+= WpXk
else
qm .-= WpXk
end
WpXk *= WpX
end
return copyto!(q, (qm \ pm) * p)
end
function retract!(::Stiefel, q, p, X, ::PolarRetraction)
s = svd(p + X)
return mul!(q, s.U, s.Vt)
end
function retract!(::Stiefel, q, p, X, ::QRRetraction)
qrfac = qr(p + X)
d = diag(qrfac.R)
D = Diagonal(sign.(sign.(d .+ 0.5)))
return mul!(q, _qrfac_to_q(qrfac), D)
end
@doc raw"""
representation_size(M::Stiefel)
Returns the representation size of the [`Stiefel`](@ref) `M`=$\operatorname{St}(n,k)$,
i.e. `(n,k)`, which is the matrix dimensions.
"""
@generated representation_size(::Stiefel{n,k}) where {n,k} = (n, k)
Base.show(io::IO, ::CayleyRetraction) = print(io, "CayleyRetraction()")
Base.show(io::IO, ::PadeRetraction{m}) where {m} = print(io, "PadeRetraction($(m))")
Base.show(io::IO, ::Stiefel{n,k,F}) where {n,k,F} = print(io, "Stiefel($(n), $(k), $(F))")
"""
uniform_distribution(M::Stiefel{n,k,ℝ}, p)
Uniform distribution on given (real-valued) [`Stiefel`](@ref) `M`.
Specifically, this is the normalized Haar and Hausdorff measure on `M`.
Generated points will be of similar type as `p`.
The implementation is based on Section 2.5.1 in [^Chikuse2003];
see also Theorem 2.2.1(iii) in [^Chikuse2003].
[^Chikuse2003]:
> Y. Chikuse: "Statistics on Special Manifolds", Springer New York, 2003,
> doi: [10.1007/978-0-387-21540-2](https://doi.org/10.1007/978-0-387-21540-2).
"""
function uniform_distribution(M::Stiefel{n,k,ℝ}, p) where {n,k}
μ = Distributions.Zeros(n, k)
σ = one(eltype(p))
Σ1 = Distributions.PDMats.ScalMat(n, σ)
Σ2 = Distributions.PDMats.ScalMat(k, σ)
d = MatrixNormal(μ, Σ1, Σ2)
return ProjectedPointDistribution(M, d, project!, p)
end
@doc raw"""
vector_transport_direction(::Stiefel, p, X, d, ::DifferentiatedRetractionVectorTransport{CayleyRetraction})
Compute the vector transport given by the differentiated retraction of the [`CayleyRetraction`](@ref), cf. [^Zhu2017] Equation (17).
The formula reads
````math
\operatorname{T}_{p,d}(X) =
\Bigl(I - \frac{1}{2}W_{p,d}\Bigr)^{-1}W_{p,X}\Bigl(I - \frac{1}{2}W_{p,d}\Bigr)^{-1}p,
````
with
````math
W_{p,X} = \operatorname{P}_pXp^{\mathrm{H}} - pX^{\mathrm{H}}\operatorname{P_p}
\quad\text{where}
\operatorname{P}_p = I - \frac{1}{2}pp^{\mathrm{H}}
````
Since this is the differentiated retraction as a vector transport, the result will be in the
tangent space at $q=\operatorname{retr}_p(d)$ using the [`CayleyRetraction`](@ref).
"""
vector_transport_direction(
M::Stiefel,
p,
X,
d,
::DifferentiatedRetractionVectorTransport{CayleyRetraction},
)
@doc raw"""
vector_transport_direction(M::Stiefel, p, X, d, DifferentiatedRetractionVectorTransport{PolarRetraction})
Compute the vector transport by computing the push forward of
[`retract(::Stiefel, ::Any, ::Any, ::PolarRetraction)`](@ref) Section 3.5 of [^Zhu2017]:
```math
T_{p,d}^{\text{Pol}}(X) = q*Λ + (I-qq^{\mathrm{T}})X(1+d^\mathrm{T}d)^{-\frac{1}{2}},
```
where $q = \operatorname{retr}^{\mathrm{Pol}}_p(d)$, and $Λ$ is the unique solution of the Sylvester equation
```math
Λ(I+d^\mathrm{T}d)^{\frac{1}{2}} + (I + d^\mathrm{T}d)^{\frac{1}{2}} = q^\mathrm{T}X - X^\mathrm{T}q
```
"""
vector_transport_direction(
::Stiefel,
::Any,
::Any,
::Any,
::DifferentiatedRetractionVectorTransport{PolarRetraction},
)
@doc raw"""
vector_transport_direction(M::Stiefel, p, X, d, DifferentiatedRetractionVectorTransport{QRRetraction})
Compute the vector transport by computing the push forward of the
[`retract(::Stiefel, ::Any, ::Any, ::QRRetraction)`](@ref),
See [^AbsilMahonySepulchre2008], p. 173, or Section 3.5 of [^Zhu2017].
```math
T_{p,d}^{\text{QR}}(X) = q*\rho_{\mathrm{s}}(q^\mathrm{T}XR^{-1}) + (I-qq^{\mathrm{T}})XR^{-1},
```
where $q = \operatorname{retr}^{\mathrm{QR}}_p(d)$, $R$ is the $R$ factor of the QR
decomposition of $p + d$, and
```math
\bigl( \rho_{\mathrm{s}}(A) \bigr)_{ij}
= \begin{cases}
A_{ij}&\text{ if } i > j\\
0 \text{ if } i = j\\
-A_{ji} \text{ if } i < j.\\
\end{cases}
```
[^AbsilMahonySepulchre2008]:
>Absil, P.-A., Mahony, R. and Sepulchre R.,
> _Optimization Algorithms on Matrix Manifolds_
> Princeton University Press, 2008,
> doi: [10.1515/9781400830244](https://doi.org/10.1515/9781400830244)
> [open access](http://press.princeton.edu/chapters/absil/)
"""
vector_transport_direction(
::Stiefel,
::Any,
::Any,
::Any,
::DifferentiatedRetractionVectorTransport{QRRetraction},
)
function vector_transport_direction!(
::Stiefel,
Y,
p,
X,
d,
::DifferentiatedRetractionVectorTransport{CayleyRetraction},
)
Pp = I - 1 // 2 * p * p'
Wpd = Pp * d * p' - p * d' * Pp
WpX = Pp * X * p' - p * X' * Pp
q1 = I - 1 // 2 * Wpd
return copyto!(Y, (q1 \ WpX) * (q1 \ p))
end
function vector_transport_direction!(
M::Stiefel,
Y,
p,
X,
d,
::DifferentiatedRetractionVectorTransport{PolarRetraction},
)
q = retract(M, p, d, PolarRetraction())
Iddsqrt = sqrt(I + d' * d)
Λ = sylvester(Iddsqrt, Iddsqrt, -q' * X + X' * q)
return copyto!(Y, q * Λ + (X - q * (q' * X)) / Iddsqrt)
end
function vector_transport_direction!(
M::Stiefel,
Y,
p,
X,
d,
::DifferentiatedRetractionVectorTransport{QRRetraction},
)
q = retract(M, p, d, QRRetraction())
rf = UpperTriangular(qr(p + d).R)
Xrf = X / rf
qtXrf = q' * Xrf
return copyto!(
Y,
q * (UpperTriangular(qtXrf) - UpperTriangular(qtXrf)') + Xrf - q * qtXrf,
)
end
@doc raw"""
vector_transport_to(M::Stiefel, p, X, q, DifferentiatedRetractionVectorTransport{PolarRetraction})
Compute the vector transport by computing the push forward of the
[`retract(M::Stiefel, ::Any, ::Any, ::PolarRetraction)`](@ref), see
Section 4 of [^HuangGallivanAbsil2015] or Section 3.5 of [^Zhu2017]:
```math
T_{q\gets p}^{\text{Pol}}(X) = q*Λ + (I-qq^{\mathrm{T}})X(1+d^\mathrm{T}d)^{-\frac{1}{2}},
```
where $d = \bigl( \operatorname{retr}^{\mathrm{Pol}}_p\bigr)^{-1}(q)$,
and $Λ$ is the unique solution of the Sylvester equation
```math
Λ(I+d^\mathrm{T}d)^{\frac{1}{2}} + (I + d^\mathrm{T}d)^{\frac{1}{2}} = q^\mathrm{T}X - X^\mathrm{T}q
```
[^HuangGallivanAbsil2015]:
> Huang, W., Gallivan, K. A., and Absil, P.-A.:
> _A Broyden class of quasi-Newton methods for Riemannian optimization_
> SIAM Journal of Optimization, 2015, Vol. 25, No. 3, pp. 1660–1685
> doi: [10.1137/140955483](https://doi.org/10.1137/140955483)
> pdf: [tech. report](https://www.math.fsu.edu/~whuang2/pdf/RBroydenBasic_techrep.pdf)
"""
vector_transport_to(
::Stiefel,
::Any,
::Any,
::Any,
::DifferentiatedRetractionVectorTransport{PolarRetraction},
)
@doc raw"""
vector_transport_to(M::Stiefel, p, X, q, DifferentiatedRetractionVectorTransport{QRRetraction})
Compute the vector transport by computing the push forward of the
[`retract(M::Stiefel, ::Any, ::Any, ::QRRetraction)`](@ref),
see [^AbsilMahonySepulchre2008], p. 173, or Section 3.5 of [^Zhu2017].
```math
T_{q \gets p}^{\text{QR}}(X) = q*\rho_{\mathrm{s}}(q^\mathrm{T}XR^{-1}) + (I-qq^{\mathrm{T}})XR^{-1},
```
where $d = \bigl(\operatorname{retr}^{\mathrm{QR}}\bigr)^{-1}_p(q)$, $R$ is the $R$ factor of the QR
decomposition of $p+X$, and
```math
\bigl( \rho_{\mathrm{s}}(A) \bigr)_{ij}
= \begin{cases}
A_{ij}&\text{ if } i > j\\
0 \text{ if } i = j\\
-A_{ji} \text{ if } i < j.\\
\end{cases}
```
"""
vector_transport_to(
::Stiefel,
::Any,
::Any,
::Any,
::DifferentiatedRetractionVectorTransport{QRRetraction},
)
@doc raw"""
vector_transport_to(M::Stiefel, p, X, q, ::ProjectionTransport)
Compute a vector transport by projection, i.e. project `X` from the tangent space at `x` by
projection it onto the tangent space at `q`.
"""
vector_transport_to(::Stiefel, ::Any, ::Any, ::Any, ::ProjectionTransport)
function vector_transport_to!(
M::Stiefel,
Y,
p,
X,
q,
::DifferentiatedRetractionVectorTransport{PolarRetraction},
)
d = inverse_retract(M, p, q, PolarInverseRetraction())
Iddsqrt = sqrt(I + d' * d)
Λ = sylvester(Iddsqrt, Iddsqrt, -q' * X + X' * q)
return copyto!(Y, q * Λ + (X - q * (q' * X)) / Iddsqrt)
end
function vector_transport_to!(
M::Stiefel,
Y,
p,
X,
q,
::DifferentiatedRetractionVectorTransport{QRRetraction},
)
d = inverse_retract(M, p, q, QRInverseRetraction())
rf = UpperTriangular(qr(p + d).R)
Xrf = X / rf
qtXrf = q' * Xrf
return copyto!(
Y,
q * (UpperTriangular(qtXrf) - UpperTriangular(qtXrf)') + Xrf - q * qtXrf,
)
end
| [
31,
15390,
8246,
37811,
198,
220,
220,
220,
520,
2086,
417,
90,
77,
11,
74,
11,
47728,
242,
121,
92,
1279,
25,
27741,
31567,
47238,
5124,
361,
727,
90,
47728,
242,
121,
11,
19463,
3792,
16996,
31567,
6048,
278,
6030,
92,
198,
198,
464,
520,
2086,
417,
48048,
10874,
286,
477,
720,
77,
13958,
479,
47113,
720,
77,
26870,
479,
3,
4326,
560,
2603,
45977,
11,
1312,
13,
68,
13,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1273,
92,
7,
77,
11,
74,
8,
796,
3467,
14261,
75,
59,
90,
279,
18872,
230,
220,
47728,
242,
121,
36796,
77,
13958,
479,
32239,
3467,
14261,
91,
59,
279,
61,
31478,
11018,
26224,
90,
39,
11709,
79,
796,
314,
62,
74,
3467,
65,
3692,
59,
5512,
198,
33153,
198,
198,
3003,
720,
47728,
242,
121,
18872,
230,
3467,
90,
158,
226,
251,
11,
2343,
226,
224,
59,
92,
47113,
198,
3,
59,
10210,
313,
61,
31478,
11018,
26224,
90,
39,
11709,
3,
43397,
262,
3716,
11644,
1018,
378,
1007,
3455,
393,
2332,
2781,
666,
11,
290,
198,
3,
40,
62,
74,
18872,
230,
2343,
226,
251,
36796,
74,
13958,
479,
92,
3,
43397,
262,
720,
74,
13958,
479,
3,
5369,
17593,
13,
198,
198,
464,
13875,
298,
2272,
379,
257,
966,
720,
79,
18872,
230,
3467,
11018,
9948,
337,
3,
318,
1813,
416,
198,
198,
33153,
11018,
198,
51,
62,
79,
3467,
11018,
9948,
337,
796,
3467,
90,
1395,
18872,
230,
220,
47728,
242,
121,
36796,
77,
13958,
479,
92,
1058,
279,
61,
31478,
11018,
26224,
90,
39,
11709,
55,
1343,
3467,
2502,
1370,
90,
55,
61,
31478,
11018,
26224,
90,
39,
11709,
79,
92,
796,
657,
62,
74,
59,
5512,
198,
33153,
198,
198,
3003,
720,
15,
62,
74,
3,
318,
262,
720,
74,
13958,
479,
3,
6632,
17593,
290,
39280,
2502,
1370,
31478,
10210,
313,
92,
3,
262,
357,
30854,
3083,
8,
3716,
11644,
1018,
378,
13,
198,
198,
1212,
48048,
318,
29563,
355,
281,
14553,
48048,
284,
262,
685,
63,
36,
36616,
485,
272,
63,
16151,
31,
5420,
828,
1312,
13,
68,
13,
198,
28116,
282,
5499,
588,
262,
685,
63,
5083,
63,
16151,
31,
5420,
8434,
7,
3712,
36,
36616,
485,
272,
11,
7904,
7149,
986,
4008,
1720,
290,
262,
198,
58,
63,
22570,
62,
31364,
63,
16151,
31,
5420,
6632,
62,
31364,
7,
3712,
36,
36616,
485,
272,
11,
7904,
7149,
986,
4008,
389,
19552,
422,
262,
11525,
12083,
13,
198,
198,
464,
48048,
318,
3706,
706,
198,
58,
36,
646,
446,
406,
13,
520,
2086,
417,
16151,
5450,
1378,
268,
13,
31266,
13,
2398,
14,
15466,
14,
36,
646,
446,
62,
1273,
2086,
417,
8,
357,
1129,
2931,
1906,
37950,
737,
198,
198,
2,
28407,
273,
198,
220,
220,
220,
520,
2086,
417,
7,
77,
11,
479,
11,
2214,
796,
2343,
226,
251,
8,
198,
198,
8645,
378,
262,
357,
5305,
12,
39728,
8,
520,
2086,
417,
48048,
286,
720,
77,
13958,
479,
3,
38517,
29617,
261,
6636,
2603,
45977,
13,
198,
37811,
198,
7249,
520,
2086,
417,
90,
77,
11,
74,
11,
47728,
242,
121,
92,
1279,
25,
27741,
31567,
47238,
5124,
361,
727,
90,
47728,
242,
121,
11,
19463,
3792,
16996,
31567,
6048,
278,
6030,
92,
886,
198,
198,
1273,
2086,
417,
7,
77,
3712,
5317,
11,
479,
3712,
5317,
11,
2214,
3712,
23839,
49601,
28,
158,
226,
251,
8,
796,
520,
2086,
417,
90,
77,
11,
74,
11,
3245,
92,
3419,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
350,
671,
9781,
7861,
90,
76,
92,
1279,
25,
27741,
9781,
7861,
17410,
198,
198,
32,
1005,
7861,
1912,
319,
262,
15744,
2634,
40874,
286,
1502,
720,
76,
3,
198,
37811,
198,
7249,
350,
671,
9781,
7861,
90,
76,
92,
1279,
25,
27741,
9781,
7861,
17410,
886,
198,
198,
8818,
350,
671,
9781,
7861,
7,
76,
3712,
5317,
8,
198,
220,
220,
220,
357,
76,
1279,
352,
8,
11405,
4049,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
464,
15744,
2634,
1912,
1005,
7861,
318,
691,
1695,
329,
3967,
6266,
11,
407,
329,
1502,
720,
76,
33283,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1441,
350,
671,
9781,
7861,
90,
76,
92,
3419,
198,
437,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
28335,
1636,
9781,
7861,
1279,
25,
27741,
9781,
7861,
17410,
198,
198,
32,
1005,
7861,
1912,
319,
262,
28335,
1636,
6121,
11,
543,
318,
6939,
416,
1262,
262,
198,
58,
63,
47,
671,
9781,
7861,
63,
16151,
31,
5420,
8,
63,
90,
16,
92,
44646,
198,
37811,
198,
9979,
28335,
1636,
9781,
7861,
796,
350,
671,
9781,
7861,
90,
16,
92,
198,
198,
8818,
20157,
62,
16963,
9650,
62,
8818,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
224,
5512,
7904,
7149,
11,
7904,
51,
29291,
8,
810,
1391,
77,
11,
74,
92,
198,
220,
220,
220,
1441,
3716,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
2198,
62,
4122,
7,
44,
3712,
1273,
2086,
417,
11,
279,
26,
479,
86,
22046,
23029,
198,
198,
9787,
1771,
4600,
79,
63,
318,
257,
4938,
966,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
4600,
44,
63,
43641,
59,
3575,
265,
1211,
480,
90,
1273,
92,
7,
77,
11,
74,
8,
47113,
1312,
13,
68,
13,
326,
340,
468,
262,
826,
198,
58,
63,
23839,
49601,
63,
16151,
31,
5420,
8,
2099,
290,
720,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
79,
3,
318,
357,
47498,
8,
262,
5369,
11,
810,
39280,
10210,
313,
61,
31478,
11018,
26224,
90,
39,
11709,
3,
318,
262,
198,
41887,
11644,
1018,
378,
1007,
3455,
13,
383,
6460,
329,
6702,
460,
307,
900,
351,
4600,
46265,
22046,
986,
44646,
198,
37811,
198,
8818,
2198,
62,
4122,
7,
44,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
47728,
242,
121,
5512,
279,
26,
479,
86,
22046,
23029,
810,
1391,
77,
11,
74,
11,
47728,
242,
121,
92,
198,
220,
220,
220,
29034,
85,
796,
26342,
7,
9122,
62,
4122,
11,
309,
29291,
90,
16668,
4906,
7,
4906,
1659,
7,
44,
36911,
4906,
1659,
7,
79,
8,
5512,
337,
11,
279,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
29034,
85,
24844,
2147,
8614,
1441,
29034,
85,
198,
220,
220,
220,
269,
796,
279,
6,
1635,
279,
198,
220,
220,
220,
611,
5145,
271,
1324,
13907,
7,
66,
11,
530,
7,
66,
1776,
479,
86,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2593,
7,
66,
532,
530,
7,
66,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
464,
966,
29568,
79,
8,
857,
407,
6486,
319,
29568,
44,
828,
780,
279,
6,
79,
318,
407,
262,
4326,
17593,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
2198,
62,
31364,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
26,
479,
86,
22046,
23029,
198,
198,
7376,
4657,
1771,
4600,
55,
63,
318,
257,
4938,
13875,
298,
15879,
379,
4600,
79,
63,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
198,
63,
44,
63,
43641,
59,
3575,
265,
1211,
480,
90,
1273,
92,
7,
77,
11,
74,
8,
47113,
1312,
13,
68,
13,
262,
685,
63,
23839,
49601,
63,
16151,
31,
5420,
8,
11414,
290,
198,
270,
357,
47498,
8,
6622,
326,
720,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
55,
1343,
3467,
2502,
1370,
90,
55,
61,
31478,
11018,
26224,
90,
39,
11709,
79,
92,
796,
657,
47113,
198,
3003,
39280,
10210,
313,
61,
31478,
11018,
26224,
90,
39,
11709,
3,
43397,
262,
2332,
2781,
666,
290,
39280,
2502,
1370,
31478,
10210,
313,
92,
3,
262,
357,
30854,
3083,
8,
3716,
11644,
1018,
378,
13,
198,
464,
6460,
329,
6702,
460,
307,
900,
351,
4600,
46265,
22046,
986,
44646,
198,
37811,
198,
8818,
2198,
62,
31364,
7,
44,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
47728,
242,
121,
5512,
279,
11,
1395,
26,
479,
86,
22046,
23029,
810,
1391,
77,
11,
74,
11,
47728,
242,
121,
92,
198,
220,
220,
220,
29034,
85,
796,
26342,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
31364,
11,
198,
220,
220,
220,
220,
220,
220,
220,
309,
29291,
90,
16668,
4906,
7,
4906,
1659,
7,
44,
36911,
4906,
1659,
7,
79,
828,
4906,
1659,
7,
55,
8,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
337,
11,
198,
220,
220,
220,
220,
220,
220,
220,
279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
26,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
986,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
29034,
85,
24844,
2147,
8614,
1441,
29034,
85,
198,
220,
220,
220,
611,
5145,
271,
1324,
13907,
7,
79,
6,
1635,
1395,
11,
532,
1102,
73,
7,
55,
6,
1635,
279,
1776,
479,
86,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2593,
7,
79,
6,
1635,
1395,
1343,
11644,
7,
55,
6,
1635,
279,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
464,
17593,
29568,
55,
8,
318,
857,
407,
6486,
287,
262,
13875,
298,
2272,
286,
29568,
79,
8,
319,
262,
520,
2086,
417,
48048,
286,
15793,
7198,
7,
77,
828,
3,
7,
74,
36911,
1201,
279,
6,
55,
1343,
1395,
6,
79,
318,
407,
262,
6632,
17593,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
12501,
273,
515,
62,
805,
361,
727,
7,
3712,
1273,
2086,
417,
90,
45,
11,
42,
11,
47728,
242,
121,
30072,
810,
1391,
45,
11,
42,
11,
47728,
242,
121,
92,
796,
48862,
485,
272,
7,
45,
11,
509,
26,
2214,
28,
47728,
242,
121,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34062,
62,
1186,
974,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
10662,
11,
7904,
47,
6192,
818,
4399,
9781,
7861,
8,
198,
198,
7293,
1133,
262,
34062,
1005,
7861,
1912,
319,
257,
18032,
1988,
26969,
9150,
198,
1640,
734,
2173,
4600,
79,
47671,
4600,
80,
63,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
44646,
198,
1212,
5679,
262,
277,
15578,
278,
3164,
25,
3574,
262,
32909,
1005,
7861,
356,
760,
326,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
36796,
12,
16,
92,
80,
796,
10662,
82,
532,
256,
198,
33153,
198,
198,
361,
884,
257,
23606,
19482,
3967,
21892,
720,
74,
13958,
479,
3,
17593,
7160,
13,
4619,
720,
48382,
532,
256,
3,
198,
271,
635,
257,
13875,
298,
15879,
379,
720,
79,
3,
356,
7330,
198,
198,
33153,
11018,
198,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
48382,
1343,
264,
7,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
80,
8,
61,
31478,
11018,
26224,
90,
39,
11709,
1343,
362,
40,
62,
74,
796,
657,
11,
198,
33153,
198,
4758,
460,
2035,
307,
16019,
416,
257,
9334,
499,
403,
709,
3164,
393,
257,
12948,
12,
2435,
198,
282,
29230,
291,
15868,
66,
7246,
16022,
13,
198,
198,
1212,
7822,
5679,
262,
9334,
499,
403,
709,
3164,
13,
198,
37811,
198,
259,
4399,
62,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
47,
6192,
818,
4399,
9781,
7861,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34062,
62,
1186,
974,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
10662,
11,
7904,
48,
49,
818,
4399,
9781,
7861,
8,
198,
198,
7293,
1133,
262,
34062,
1005,
7861,
1912,
319,
257,
10662,
81,
26969,
9150,
198,
1640,
734,
2173,
4600,
79,
47671,
4600,
80,
63,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
63,
290,
1441,
198,
1169,
7186,
13875,
298,
15879,
287,
4600,
55,
44646,
383,
29964,
5679,
978,
42289,
352,
198,
259,
685,
61,
42,
272,
988,
78,
37,
1504,
72,
45557,
8130,
6390,
4083,
198,
198,
58,
61,
42,
272,
988,
78,
37,
1504,
72,
45557,
8130,
6390,
5974,
198,
220,
220,
220,
1875,
309,
13,
14248,
988,
78,
11,
311,
13,
40040,
72,
11,
309,
13,
47825,
25,
366,
36,
3149,
343,
605,
943,
29848,
317,
332,
3039,
625,
262,
198,
220,
220,
220,
1875,
37904,
520,
2086,
417,
27741,
5124,
361,
727,
1600,
40552,
46192,
319,
26484,
28403,
11,
2211,
11,
198,
220,
220,
220,
1875,
23899,
25,
685,
940,
13,
11442,
24,
14,
51,
4303,
13,
6999,
13,
1828,
2075,
21940,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
11442,
24,
14,
51,
4303,
13,
6999,
13,
1828,
2075,
21940,
737,
198,
37811,
198,
259,
4399,
62,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
48,
49,
818,
4399,
9781,
7861,
8,
198,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
62,
41357,
0,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
5512,
1395,
11,
10662,
11,
371,
11,
317,
8,
810,
1391,
77,
11,
74,
92,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
287,
352,
25,
74,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
1976,
27498,
7,
417,
4906,
7,
49,
828,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
58,
72,
60,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
275,
58,
16,
37498,
437,
532,
352,
15437,
796,
532,
7645,
3455,
7,
49,
58,
16,
37498,
72,
532,
352,
828,
352,
37498,
72,
532,
352,
8,
12962,
1635,
317,
58,
72,
11,
352,
37498,
72,
532,
352,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
371,
58,
16,
25,
72,
11,
1312,
60,
796,
317,
58,
16,
25,
72,
11,
352,
25,
72,
60,
3467,
275,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
51,
3727,
46,
25,
6330,
351,
428,
1752,
340,
338,
4855,
416,
36125,
3163,
20477,
198,
220,
220,
220,
1303,
7783,
35971,
0,
7,
55,
11,
10662,
11,
20390,
14824,
21413,
7,
49,
4008,
198,
220,
220,
220,
1441,
35971,
0,
7,
55,
11,
10662,
11,
371,
8,
198,
437,
198,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
3712,
1273,
2086,
417,
90,
77,
11,
16,
5512,
1395,
11,
10662,
11,
317,
11,
7904,
6030,
8,
810,
1391,
77,
92,
198,
220,
220,
220,
2488,
259,
65,
3733,
371,
796,
9447,
265,
8609,
90,
16,
11,
16,
92,
7,
16340,
7,
32,
58,
16,
11,
352,
60,
4008,
198,
220,
220,
220,
1441,
35971,
0,
7,
55,
11,
10662,
11,
371,
8,
198,
437,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
90,
77,
11,
16,
5512,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
317,
3712,
45442,
19182,
11,
198,
220,
220,
220,
7904,
6030,
90,
9527,
51,
5512,
198,
8,
810,
1391,
77,
11,
9527,
51,
92,
198,
220,
220,
220,
1441,
26342,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
28265,
198,
220,
220,
220,
220,
220,
220,
220,
309,
29291,
90,
1273,
2086,
417,
90,
77,
11,
16,
5512,
4906,
1659,
7,
55,
828,
4906,
1659,
7,
80,
828,
23839,
19182,
11,
4906,
1659,
7,
9527,
51,
8,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
337,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
220,
220,
220,
220,
317,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2574,
51,
11,
198,
220,
220,
220,
1267,
198,
437,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
3712,
1273,
2086,
417,
90,
77,
11,
17,
5512,
1395,
11,
10662,
11,
317,
11,
7904,
6030,
90,
9527,
51,
30072,
810,
1391,
77,
11,
9527,
51,
92,
198,
220,
220,
220,
371,
1157,
796,
800,
7,
32,
58,
16,
11,
352,
12962,
198,
220,
220,
220,
2488,
259,
65,
3733,
371,
796,
198,
220,
220,
220,
220,
220,
220,
220,
289,
9246,
7,
4090,
58,
49,
1157,
11,
6632,
7,
9527,
51,
8,
4357,
317,
58,
50,
3198,
2514,
7,
17,
828,
311,
3198,
2514,
7,
17,
15437,
3467,
14719,
58,
12,
49,
1157,
1635,
317,
58,
17,
11,
352,
4357,
530,
7,
9527,
51,
8,
12962,
628,
220,
220,
220,
1303,
51,
3727,
46,
25,
6330,
351,
428,
1752,
340,
338,
4855,
416,
36125,
3163,
20477,
198,
220,
220,
220,
1303,
7783,
35971,
0,
7,
55,
11,
10662,
11,
20390,
14824,
21413,
7,
49,
4008,
198,
220,
220,
220,
1441,
35971,
0,
7,
55,
11,
10662,
11,
371,
8,
198,
437,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
90,
77,
11,
17,
5512,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
317,
3712,
45442,
19182,
11,
198,
220,
220,
220,
7904,
6030,
90,
9527,
51,
5512,
198,
8,
810,
1391,
77,
11,
9527,
51,
92,
198,
220,
220,
220,
1441,
26342,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
28265,
198,
220,
220,
220,
220,
220,
220,
220,
309,
29291,
90,
1273,
2086,
417,
90,
77,
11,
17,
5512,
4906,
1659,
7,
55,
828,
4906,
1659,
7,
80,
828,
23839,
19182,
11,
4906,
1659,
7,
9527,
51,
8,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
337,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
220,
220,
220,
220,
317,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2574,
51,
11,
198,
220,
220,
220,
1267,
198,
437,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
90,
77,
11,
74,
5512,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
317,
3712,
45442,
19182,
11,
198,
220,
220,
220,
7904,
6030,
90,
9527,
51,
5512,
198,
8,
810,
1391,
77,
11,
74,
11,
9527,
51,
92,
198,
220,
220,
220,
371,
796,
1976,
27498,
7,
12038,
265,
8609,
90,
74,
11,
74,
11,
9527,
51,
30072,
198,
220,
220,
220,
1441,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
62,
41357,
0,
7,
44,
11,
1395,
11,
10662,
11,
371,
11,
317,
8,
198,
437,
198,
8818,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
90,
77,
11,
74,
5512,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
317,
11,
198,
220,
220,
220,
7904,
6030,
90,
9527,
51,
5512,
198,
8,
810,
1391,
77,
11,
74,
11,
9527,
51,
92,
198,
220,
220,
220,
371,
796,
1976,
27498,
7,
9527,
51,
11,
479,
11,
479,
8,
198,
220,
220,
220,
1441,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
62,
41357,
0,
7,
44,
11,
1395,
11,
10662,
11,
371,
11,
317,
8,
198,
437,
198,
198,
8818,
34062,
62,
1186,
974,
0,
7,
3712,
1273,
2086,
417,
11,
1395,
11,
279,
11,
10662,
11,
7904,
47,
6192,
818,
4399,
9781,
7861,
8,
198,
220,
220,
220,
317,
796,
279,
6,
1635,
10662,
198,
220,
220,
220,
367,
796,
532,
17,
1635,
530,
7,
79,
6,
1635,
279,
8,
198,
220,
220,
220,
347,
796,
22404,
499,
7,
32,
11,
367,
8,
198,
220,
220,
220,
35971,
0,
7,
55,
11,
10662,
11,
347,
8,
198,
220,
220,
220,
1395,
764,
12,
28,
279,
198,
220,
220,
220,
1441,
1395,
198,
437,
198,
8818,
34062,
62,
1186,
974,
0,
7,
44,
3712,
1273,
2086,
417,
90,
77,
11,
74,
5512,
1395,
11,
279,
11,
10662,
11,
7904,
48,
49,
818,
4399,
9781,
7861,
8,
810,
1391,
77,
11,
74,
92,
198,
220,
220,
220,
317,
796,
279,
6,
1635,
10662,
198,
220,
220,
220,
2488,
7784,
15952,
694,
2546,
7,
32,
8,
24844,
357,
74,
11,
479,
8,
198,
220,
220,
220,
2574,
51,
796,
2099,
1659,
7,
505,
7,
417,
4906,
7,
79,
4008,
1635,
530,
7,
417,
4906,
7,
80,
22305,
198,
220,
220,
220,
4808,
301,
2086,
417,
62,
16340,
62,
1186,
81,
62,
80,
81,
62,
76,
377,
62,
1525,
62,
81,
0,
7,
44,
11,
1395,
11,
10662,
11,
317,
11,
2574,
51,
8,
198,
220,
220,
220,
1395,
764,
12,
28,
279,
198,
220,
220,
220,
1441,
1395,
198,
437,
198,
198,
8818,
7308,
13,
271,
1324,
13907,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
575,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
1441,
318,
1324,
13907,
7,
31166,
17034,
7,
5083,
7,
44,
11,
279,
11,
6632,
62,
31364,
7,
44,
11,
279,
828,
1395,
532,
575,
36911,
657,
26,
479,
86,
22046,
23029,
198,
437,
198,
14881,
13,
271,
1324,
13907,
7,
3712,
1273,
2086,
417,
11,
279,
11,
10662,
26,
479,
86,
22046,
23029,
796,
318,
1324,
13907,
7,
27237,
7,
79,
532,
10662,
828,
657,
26,
479,
86,
22046,
23029,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
48048,
62,
46156,
7,
44,
3712,
1273,
2086,
417,
8,
198,
198,
13615,
262,
15793,
286,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
63,
43641,
59,
3575,
265,
1211,
480,
90,
1273,
92,
7,
77,
11,
74,
11,
47728,
242,
121,
8,
35307,
198,
464,
15793,
318,
1813,
416,
198,
198,
33153,
11018,
198,
59,
27471,
90,
41634,
92,
198,
59,
27740,
3467,
11018,
26224,
90,
1273,
92,
7,
77,
11,
479,
11,
2343,
226,
251,
8,
1222,
28,
299,
74,
532,
3467,
31944,
90,
16,
18477,
17,
92,
74,
7,
74,
10,
16,
8,
6852,
198,
59,
27740,
3467,
11018,
26224,
90,
1273,
92,
7,
77,
11,
479,
11,
2343,
226,
224,
8,
1222,
28,
362,
77,
74,
532,
479,
61,
17,
6852,
198,
59,
27740,
3467,
11018,
26224,
90,
1273,
92,
7,
77,
11,
479,
11,
2343,
226,
235,
8,
1222,
28,
604,
77,
74,
532,
479,
7,
17,
74,
12,
16,
8,
198,
59,
437,
90,
41634,
92,
198,
33153,
198,
37811,
198,
805,
361,
727,
62,
46156,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
251,
30072,
810,
1391,
77,
11,
74,
92,
796,
299,
1635,
479,
532,
2659,
7,
74,
1635,
357,
74,
1343,
352,
828,
362,
8,
198,
805,
361,
727,
62,
46156,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
224,
30072,
810,
1391,
77,
11,
74,
92,
796,
362,
1635,
299,
1635,
479,
532,
479,
1635,
479,
198,
805,
361,
727,
62,
46156,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
235,
30072,
810,
1391,
77,
11,
74,
92,
796,
604,
1635,
299,
1635,
479,
532,
479,
1635,
357,
17,
74,
532,
352,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34449,
7,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
7904,
34,
323,
1636,
9781,
7861,
8,
198,
198,
7293,
1133,
262,
1005,
7861,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
326,
318,
1912,
319,
262,
28335,
1636,
6121,
58,
61,
57,
13415,
5539,
4083,
198,
12814,
198,
33153,
11018,
198,
220,
370,
23330,
79,
11,
55,
92,
796,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
55,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
532,
279,
55,
61,
31478,
11018,
26224,
90,
39,
11709,
59,
3575,
265,
1211,
480,
90,
47,
62,
79,
92,
198,
220,
3467,
47003,
59,
5239,
90,
3003,
92,
447,
225,
198,
220,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
796,
314,
532,
3467,
31944,
90,
16,
18477,
17,
92,
381,
61,
31478,
11018,
26224,
90,
39,
11709,
198,
33153,
198,
1169,
10451,
9743,
198,
33153,
11018,
198,
220,
220,
220,
3467,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
55,
796,
3467,
12804,
75,
7,
40,
532,
3467,
31944,
90,
16,
18477,
17,
92,
54,
23330,
79,
11,
55,
32239,
33,
3692,
8,
36796,
12,
16,
32239,
12804,
75,
7,
40,
1343,
3467,
31944,
90,
16,
18477,
17,
92,
54,
23330,
79,
11,
55,
32239,
33,
3692,
8,
79,
13,
198,
33153,
198,
198,
1026,
318,
9177,
355,
262,
1339,
720,
76,
28,
16,
3,
286,
262,
685,
63,
47,
671,
9781,
7861,
63,
16151,
31,
5420,
737,
198,
198,
58,
61,
57,
13415,
5539,
5974,
198,
220,
220,
220,
1875,
1395,
13,
33144,
25,
198,
220,
220,
220,
1875,
317,
371,
26597,
1236,
666,
11644,
1018,
378,
31312,
2446,
329,
6436,
528,
1031,
295,
319,
262,
520,
2086,
417,
48048,
11,
198,
220,
220,
220,
1875,
22476,
864,
30011,
1634,
290,
26622,
8275,
7,
16,
828,
9788,
13,
8854,
1906,
11442,
11,
2177,
13,
198,
220,
220,
220,
1875,
23899,
685,
940,
13,
44318,
14,
82,
940,
44169,
12,
27037,
12,
24,
49287,
12,
19,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
44318,
14,
82,
940,
44169,
12,
27037,
12,
24,
49287,
12,
19,
737,
198,
37811,
198,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
34,
323,
1636,
9781,
7861,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34449,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
7904,
47,
671,
9781,
7861,
90,
76,
30072,
198,
198,
7293,
1133,
262,
1005,
7861,
319,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
63,
1912,
319,
262,
15744,
2634,
40874,
286,
1502,
720,
76,
3,
58,
61,
57,
13415,
35,
7258,
7908,
4083,
198,
5756,
720,
79,
62,
76,
3,
290,
720,
80,
62,
76,
3,
307,
5447,
329,
597,
17593,
720,
32,
18872,
230,
2343,
226,
251,
36796,
77,
12906,
87,
92,
3,
355,
198,
33153,
11018,
198,
220,
279,
62,
76,
7,
32,
8,
796,
3467,
16345,
23330,
74,
28,
15,
92,
61,
76,
3467,
31944,
90,
7,
17,
76,
12,
74,
31520,
76,
0,
18477,
7,
17,
76,
31520,
7,
76,
12,
74,
31520,
32239,
31944,
90,
32,
61,
74,
18477,
74,
0,
92,
198,
33153,
198,
392,
198,
33153,
11018,
198,
220,
10662,
62,
76,
7,
32,
8,
796,
3467,
16345,
23330,
74,
28,
15,
92,
61,
76,
3467,
31944,
90,
7,
17,
76,
12,
74,
31520,
76,
0,
18477,
7,
17,
76,
31520,
7,
76,
12,
74,
31520,
32239,
31944,
90,
32590,
32,
8,
61,
74,
18477,
74,
0,
92,
198,
33153,
198,
15008,
2280,
13,
3244,
262,
15744,
2634,
40874,
357,
1659,
262,
17593,
39682,
39280,
11201,
7,
32,
8,
3,
8,
9743,
198,
33153,
11018,
198,
220,
374,
62,
76,
7,
32,
8,
796,
10662,
62,
76,
7,
32,
8,
36796,
12,
16,
92,
79,
62,
76,
7,
32,
8,
198,
33153,
198,
7469,
3191,
2252,
198,
33153,
11018,
198,
220,
370,
23330,
79,
11,
55,
92,
796,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
55,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
532,
279,
55,
61,
31478,
11018,
26224,
90,
39,
11709,
59,
3575,
265,
1211,
480,
90,
47,
62,
79,
92,
198,
220,
3467,
47003,
59,
5239,
90,
3003,
92,
447,
225,
198,
220,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
796,
314,
532,
3467,
31944,
90,
16,
18477,
17,
92,
381,
61,
31478,
11018,
26224,
90,
39,
11709,
198,
33153,
198,
1169,
1005,
7861,
9743,
198,
33153,
11018,
198,
220,
3467,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
55,
796,
374,
62,
76,
7,
54,
23330,
79,
11,
55,
30072,
79,
198,
33153,
198,
58,
61,
57,
13415,
35,
7258,
7908,
5974,
198,
220,
220,
220,
1875,
1395,
13,
33144,
11,
327,
13,
360,
7258,
25,
198,
220,
220,
220,
1875,
1550,
17593,
1033,
261,
14817,
290,
511,
5561,
320,
602,
3519,
284,
23989,
319,
262,
520,
2086,
417,
48048,
11,
198,
220,
220,
220,
1875,
30011,
528,
1031,
295,
24501,
1511,
7,
20,
828,
9788,
13,
838,
3388,
1906,
940,
5999,
11,
2864,
13,
198,
220,
220,
220,
1875,
23899,
685,
940,
13,
44318,
14,
82,
1157,
36993,
12,
29159,
12,
1485,
3901,
12,
89,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
44318,
14,
82,
1157,
36993,
12,
29159,
12,
1485,
3901,
12,
89,
737,
198,
37811,
198,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
47,
671,
9781,
7861,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34449,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
7904,
47,
6192,
9781,
7861,
8,
198,
198,
7293,
1133,
262,
311,
8898,
12,
3106,
1005,
7861,
685,
63,
47,
6192,
9781,
7861,
63,
16151,
31,
5420,
8,
319,
262,
198,
58,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
44646,
2080,
720,
2937,
53,
796,
279,
1343,
1395,
3,
262,
1005,
7861,
9743,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
1395,
796,
471,
59,
5657,
90,
53,
92,
61,
59,
11018,
26224,
90,
39,
27422,
198,
33153,
198,
37811,
198,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
47,
6192,
9781,
7861,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34449,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
7904,
48,
49,
9781,
7861,
8,
198,
198,
7293,
1133,
262,
42137,
12,
3106,
1005,
7861,
685,
63,
48,
49,
9781,
7861,
63,
16151,
31,
5420,
8,
319,
262,
198,
58,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
48048,
4600,
44,
44646,
2080,
720,
48,
49,
796,
279,
1343,
1395,
3,
262,
1005,
7861,
9743,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
1395,
796,
1195,
35,
11,
198,
33153,
198,
198,
3003,
720,
35,
3,
318,
257,
720,
77,
13958,
479,
3,
17593,
351,
198,
198,
33153,
11018,
198,
35,
796,
3467,
3575,
265,
1211,
480,
90,
10989,
363,
32239,
14261,
75,
38016,
3575,
265,
1211,
480,
90,
82,
4593,
92,
7,
49,
23330,
4178,
92,
10,
15,
11,
20,
8,
23330,
72,
28,
16,
92,
61,
74,
3467,
65,
3692,
828,
198,
33153,
198,
198,
3003,
39280,
3575,
265,
1211,
480,
90,
82,
4593,
92,
7,
79,
8,
796,
3467,
27471,
90,
33964,
92,
198,
16,
1222,
3467,
5239,
90,
329,
1782,
279,
1875,
657,
11,
6852,
198,
15,
1222,
3467,
5239,
90,
329,
1782,
279,
796,
657,
11,
6852,
198,
12,
16,
5,
3467,
5239,
90,
329,
1782,
279,
1279,
657,
13,
198,
59,
437,
90,
33964,
92,
3,
198,
37811,
198,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
48,
49,
9781,
7861,
8,
198,
198,
62,
80,
81,
38942,
62,
1462,
62,
80,
7,
80,
81,
38942,
8,
796,
24936,
7,
80,
81,
38942,
13,
48,
8,
198,
62,
80,
81,
38942,
62,
1462,
62,
80,
7,
80,
81,
38942,
3712,
45442,
3163,
20477,
13,
48,
49,
8,
796,
10662,
81,
38942,
13,
48,
198,
198,
8818,
34449,
0,
7,
3712,
1273,
2086,
417,
11,
10662,
11,
279,
11,
1395,
11,
7904,
47,
671,
9781,
7861,
90,
76,
30072,
810,
1391,
76,
92,
198,
220,
220,
220,
350,
79,
796,
314,
532,
352,
3373,
362,
1635,
279,
1635,
279,
6,
198,
220,
220,
220,
370,
79,
55,
796,
350,
79,
1635,
1395,
1635,
279,
6,
532,
279,
1635,
1395,
6,
1635,
350,
79,
198,
220,
220,
220,
9114,
796,
1976,
27498,
7,
417,
4906,
7,
54,
79,
55,
828,
2546,
7,
54,
79,
55,
4008,
198,
220,
220,
220,
10662,
76,
796,
1976,
27498,
7,
417,
4906,
7,
54,
79,
55,
828,
2546,
7,
54,
79,
55,
4008,
198,
220,
220,
220,
370,
79,
55,
74,
796,
2092,
7,
54,
79,
55,
8,
198,
220,
220,
220,
4866,
1462,
0,
7,
54,
79,
55,
74,
11,
1109,
5132,
7,
76,
8,
1220,
1109,
5132,
7,
17,
1635,
285,
8,
1635,
314,
8,
1303,
1109,
5132,
5766,
4795,
286,
479,
198,
220,
220,
220,
329,
479,
287,
657,
25,
76,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18703,
453,
1382,
357,
17,
76,
12,
74,
31520,
29006,
76,
12,
74,
31520,
7,
74,
31520,
329,
479,
1875,
657,
11,
1312,
13,
68,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4781,
5766,
357,
17,
76,
12,
74,
10,
16,
8,
287,
262,
4515,
20900,
11,
357,
76,
12,
74,
10,
16,
8,
287,
262,
31457,
1352,
290,
29162,
416,
352,
14,
74,
198,
220,
220,
220,
220,
220,
220,
220,
370,
79,
55,
74,
764,
9,
28,
357,
74,
6624,
657,
5633,
362,
1058,
357,
76,
532,
479,
1343,
352,
8,
1220,
14808,
17,
1635,
285,
532,
479,
1343,
352,
8,
1635,
479,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
9114,
764,
47932,
370,
79,
55,
74,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
4064,
362,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
76,
764,
47932,
370,
79,
55,
74,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
76,
764,
12,
28,
370,
79,
55,
74,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
370,
79,
55,
74,
1635,
28,
370,
79,
55,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
80,
11,
357,
80,
76,
3467,
9114,
8,
1635,
279,
8,
198,
437,
198,
8818,
34449,
0,
7,
3712,
1273,
2086,
417,
11,
10662,
11,
279,
11,
1395,
11,
7904,
47,
6192,
9781,
7861,
8,
198,
220,
220,
220,
264,
796,
264,
20306,
7,
79,
1343,
1395,
8,
198,
220,
220,
220,
1441,
35971,
0,
7,
80,
11,
264,
13,
52,
11,
264,
13,
53,
83,
8,
198,
437,
198,
8818,
34449,
0,
7,
3712,
1273,
2086,
417,
11,
10662,
11,
279,
11,
1395,
11,
7904,
48,
49,
9781,
7861,
8,
198,
220,
220,
220,
10662,
81,
38942,
796,
10662,
81,
7,
79,
1343,
1395,
8,
198,
220,
220,
220,
288,
796,
2566,
363,
7,
80,
81,
38942,
13,
49,
8,
198,
220,
220,
220,
360,
796,
6031,
27923,
7,
12683,
12195,
12683,
12195,
67,
764,
10,
657,
13,
20,
22305,
198,
220,
220,
220,
1441,
35971,
0,
7,
80,
11,
4808,
80,
81,
38942,
62,
1462,
62,
80,
7,
80,
81,
38942,
828,
360,
8,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
10552,
62,
7857,
7,
44,
3712,
1273,
2086,
417,
8,
198,
198,
35561,
262,
10552,
2546,
286,
262,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
4600,
44,
63,
43641,
59,
3575,
265,
1211,
480,
90,
1273,
92,
7,
77,
11,
74,
8,
47113,
198,
72,
13,
68,
13,
4600,
7,
77,
11,
74,
8,
47671,
543,
318,
262,
17593,
15225,
13,
198,
37811,
198,
31,
27568,
10552,
62,
7857,
7,
3712,
1273,
2086,
417,
90,
77,
11,
74,
30072,
810,
1391,
77,
11,
74,
92,
796,
357,
77,
11,
479,
8,
198,
198,
14881,
13,
12860,
7,
952,
3712,
9399,
11,
7904,
34,
323,
1636,
9781,
7861,
8,
796,
3601,
7,
952,
11,
366,
34,
323,
1636,
9781,
7861,
3419,
4943,
198,
14881,
13,
12860,
7,
952,
3712,
9399,
11,
7904,
47,
671,
9781,
7861,
90,
76,
30072,
810,
1391,
76,
92,
796,
3601,
7,
952,
11,
366,
47,
671,
9781,
7861,
16763,
7,
76,
4008,
4943,
198,
14881,
13,
12860,
7,
952,
3712,
9399,
11,
7904,
1273,
2086,
417,
90,
77,
11,
74,
11,
37,
30072,
810,
1391,
77,
11,
74,
11,
37,
92,
796,
3601,
7,
952,
11,
366,
1273,
2086,
417,
16763,
7,
77,
828,
29568,
74,
828,
29568,
37,
4008,
4943,
198,
198,
37811,
198,
220,
220,
220,
8187,
62,
17080,
3890,
7,
44,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
251,
5512,
279,
8,
198,
198,
3118,
6933,
6082,
319,
1813,
357,
5305,
12,
39728,
8,
685,
63,
1273,
2086,
417,
63,
16151,
31,
5420,
8,
4600,
44,
44646,
198,
48379,
11,
428,
318,
262,
39279,
9398,
283,
290,
367,
8717,
40180,
487,
3953,
319,
4600,
44,
44646,
198,
8645,
515,
2173,
481,
307,
286,
2092,
2099,
355,
4600,
79,
44646,
198,
198,
464,
7822,
318,
1912,
319,
7275,
362,
13,
20,
13,
16,
287,
685,
61,
1925,
1134,
1904,
16088,
11208,
198,
3826,
635,
383,
29625,
362,
13,
17,
13,
16,
7,
15479,
8,
287,
685,
61,
1925,
1134,
1904,
16088,
4083,
198,
198,
58,
61,
1925,
1134,
1904,
16088,
5974,
198,
220,
220,
220,
1875,
575,
13,
609,
1134,
1904,
25,
366,
48346,
319,
6093,
1869,
361,
10119,
1600,
43100,
968,
1971,
11,
5816,
11,
198,
220,
220,
220,
1875,
23899,
25,
685,
940,
13,
44318,
14,
32196,
12,
15,
12,
32220,
12,
23349,
1821,
12,
17,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
44318,
14,
32196,
12,
15,
12,
32220,
12,
23349,
1821,
12,
17,
737,
198,
37811,
198,
8818,
8187,
62,
17080,
3890,
7,
44,
3712,
1273,
2086,
417,
90,
77,
11,
74,
11,
158,
226,
251,
5512,
279,
8,
810,
1391,
77,
11,
74,
92,
198,
220,
220,
220,
18919,
796,
46567,
507,
13,
57,
27498,
7,
77,
11,
479,
8,
198,
220,
220,
220,
18074,
225,
796,
530,
7,
417,
4906,
7,
79,
4008,
198,
220,
220,
220,
7377,
96,
16,
796,
46567,
507,
13,
5760,
44,
1381,
13,
3351,
282,
19044,
7,
77,
11,
18074,
225,
8,
198,
220,
220,
220,
7377,
96,
17,
796,
46567,
507,
13,
5760,
44,
1381,
13,
3351,
282,
19044,
7,
74,
11,
18074,
225,
8,
198,
220,
220,
220,
288,
796,
24936,
26447,
7,
34703,
11,
7377,
96,
16,
11,
7377,
96,
17,
8,
628,
220,
220,
220,
1441,
4935,
276,
12727,
20344,
3890,
7,
44,
11,
288,
11,
1628,
28265,
279,
8,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
37295,
7,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
288,
11,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
34,
323,
1636,
9781,
7861,
30072,
198,
198,
7293,
1133,
262,
15879,
4839,
1813,
416,
262,
47543,
1005,
7861,
286,
262,
685,
63,
34,
323,
1636,
9781,
7861,
63,
16151,
31,
5420,
828,
30218,
13,
685,
61,
57,
13415,
5539,
60,
7889,
341,
357,
1558,
737,
198,
198,
464,
10451,
9743,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
51,
92,
23330,
79,
11,
67,
92,
7,
55,
8,
796,
198,
59,
12804,
75,
7,
40,
532,
3467,
31944,
90,
16,
18477,
17,
92,
54,
23330,
79,
11,
67,
32239,
33,
3692,
8,
36796,
12,
16,
92,
54,
23330,
79,
11,
55,
32239,
12804,
75,
7,
40,
532,
3467,
31944,
90,
16,
18477,
17,
92,
54,
23330,
79,
11,
67,
32239,
33,
3692,
8,
36796,
12,
16,
92,
79,
11,
198,
33153,
198,
4480,
198,
33153,
11018,
198,
220,
370,
23330,
79,
11,
55,
92,
796,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
55,
79,
61,
31478,
11018,
26224,
90,
39,
11709,
532,
279,
55,
61,
31478,
11018,
26224,
90,
39,
11709,
59,
3575,
265,
1211,
480,
90,
47,
62,
79,
92,
198,
220,
3467,
47003,
59,
5239,
90,
3003,
92,
447,
225,
198,
220,
3467,
3575,
265,
1211,
480,
90,
47,
92,
62,
79,
796,
314,
532,
3467,
31944,
90,
16,
18477,
17,
92,
381,
61,
31478,
11018,
26224,
90,
39,
11709,
198,
33153,
198,
198,
6385,
428,
318,
262,
47543,
1005,
7861,
355,
257,
15879,
4839,
11,
262,
1255,
481,
307,
287,
262,
198,
83,
648,
298,
2272,
379,
720,
80,
28,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
7,
67,
8,
3,
1262,
262,
685,
63,
34,
323,
1636,
9781,
7861,
63,
16151,
31,
5420,
737,
198,
37811,
198,
31364,
62,
7645,
634,
62,
37295,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
288,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
34,
323,
1636,
9781,
7861,
5512,
198,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
37295,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
288,
11,
20615,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
30072,
198,
198,
7293,
1133,
262,
15879,
4839,
416,
14492,
262,
4574,
2651,
286,
198,
58,
63,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
47,
6192,
9781,
7861,
8,
63,
16151,
31,
5420,
8,
7275,
513,
13,
20,
286,
685,
61,
57,
13415,
5539,
5974,
198,
198,
15506,
63,
11018,
198,
51,
23330,
79,
11,
67,
92,
61,
31478,
5239,
90,
8017,
11709,
7,
55,
8,
796,
10662,
9,
138,
249,
1343,
357,
40,
12,
38227,
61,
31478,
11018,
26224,
90,
51,
11709,
8,
55,
7,
16,
10,
67,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
36796,
12,
59,
31944,
90,
16,
18477,
17,
92,
5512,
198,
15506,
63,
198,
198,
3003,
720,
80,
796,
3467,
3575,
265,
1211,
480,
90,
1186,
81,
92,
61,
31478,
11018,
26224,
90,
8017,
11709,
62,
79,
7,
67,
8,
47113,
290,
720,
138,
249,
3,
318,
262,
3748,
4610,
286,
262,
1632,
31018,
353,
16022,
198,
198,
15506,
63,
11018,
198,
220,
220,
220,
7377,
249,
7,
40,
10,
67,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
61,
31478,
31944,
90,
16,
18477,
17,
11709,
1343,
357,
40,
1343,
288,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
61,
31478,
31944,
90,
16,
18477,
17,
11709,
796,
10662,
61,
59,
11018,
26224,
90,
51,
92,
55,
532,
1395,
61,
59,
11018,
26224,
90,
51,
92,
80,
198,
15506,
63,
198,
37811,
198,
31364,
62,
7645,
634,
62,
37295,
7,
198,
220,
220,
220,
7904,
1273,
2086,
417,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
5512,
198,
8,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
37295,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
288,
11,
20615,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
30072,
198,
198,
7293,
1133,
262,
15879,
4839,
416,
14492,
262,
4574,
2651,
286,
262,
198,
58,
63,
1186,
974,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
48,
49,
9781,
7861,
8,
63,
16151,
31,
5420,
828,
198,
6214,
685,
61,
24849,
346,
40936,
1647,
19117,
377,
354,
260,
11528,
4357,
279,
13,
28174,
11,
393,
7275,
513,
13,
20,
286,
685,
61,
57,
13415,
5539,
4083,
198,
15506,
63,
11018,
198,
51,
23330,
79,
11,
67,
92,
61,
31478,
5239,
90,
48,
49,
11709,
7,
55,
8,
796,
10662,
9,
59,
81,
8873,
23330,
59,
11018,
26224,
90,
82,
11709,
7,
80,
61,
59,
11018,
26224,
90,
51,
92,
55,
49,
36796,
12,
16,
30072,
1343,
357,
40,
12,
38227,
61,
31478,
11018,
26224,
90,
51,
11709,
8,
55,
49,
36796,
12,
16,
5512,
198,
15506,
63,
198,
3003,
720,
80,
796,
3467,
3575,
265,
1211,
480,
90,
1186,
81,
92,
61,
31478,
11018,
26224,
90,
48,
49,
11709,
62,
79,
7,
67,
8,
47113,
720,
49,
3,
318,
262,
720,
49,
3,
5766,
286,
262,
42137,
198,
12501,
296,
9150,
286,
720,
79,
1343,
288,
47113,
290,
198,
15506,
63,
11018,
198,
59,
14261,
75,
7,
3467,
81,
8873,
23330,
59,
11018,
26224,
90,
82,
11709,
7,
32,
8,
3467,
65,
3692,
8,
23330,
2926,
92,
198,
28,
3467,
27471,
90,
33964,
92,
198,
32,
23330,
2926,
92,
5,
59,
5239,
90,
611,
1782,
1312,
1875,
474,
6852,
198,
15,
3467,
5239,
90,
611,
1782,
1312,
796,
474,
6852,
198,
12,
32,
23330,
7285,
92,
3467,
5239,
90,
611,
1782,
1312,
1279,
474,
13,
6852,
198,
59,
437,
90,
33964,
92,
198,
15506,
63,
198,
58,
61,
24849,
346,
40936,
1647,
19117,
377,
354,
260,
11528,
5974,
198,
220,
220,
220,
1875,
24849,
346,
11,
350,
7874,
32,
1539,
8882,
1647,
11,
371,
13,
290,
8621,
377,
354,
260,
371,
1539,
198,
220,
220,
220,
1875,
4808,
27871,
320,
1634,
978,
7727,
907,
319,
24936,
1869,
361,
10119,
62,
198,
220,
220,
220,
1875,
23173,
2059,
4332,
11,
3648,
11,
198,
220,
220,
220,
1875,
23899,
25,
685,
940,
13,
1314,
1314,
14,
32196,
1415,
25257,
1270,
25707,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
1314,
1314,
14,
32196,
1415,
25257,
1270,
25707,
8,
198,
220,
220,
220,
1875,
685,
9654,
1895,
16151,
4023,
1378,
8439,
13,
1050,
1939,
18483,
13,
15532,
14,
354,
12126,
14,
8937,
346,
34729,
198,
37811,
198,
31364,
62,
7645,
634,
62,
37295,
7,
198,
220,
220,
220,
7904,
1273,
2086,
417,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
5512,
198,
8,
198,
198,
8818,
15879,
62,
7645,
634,
62,
37295,
0,
7,
198,
220,
220,
220,
7904,
1273,
2086,
417,
11,
198,
220,
220,
220,
575,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
288,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
34,
323,
1636,
9781,
7861,
5512,
198,
8,
198,
220,
220,
220,
350,
79,
796,
314,
532,
352,
3373,
362,
1635,
279,
1635,
279,
6,
198,
220,
220,
220,
370,
30094,
796,
350,
79,
1635,
288,
1635,
279,
6,
532,
279,
1635,
288,
6,
1635,
350,
79,
198,
220,
220,
220,
370,
79,
55,
796,
350,
79,
1635,
1395,
1635,
279,
6,
532,
279,
1635,
1395,
6,
1635,
350,
79,
198,
220,
220,
220,
10662,
16,
796,
314,
532,
352,
3373,
362,
1635,
370,
30094,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
56,
11,
357,
80,
16,
3467,
370,
79,
55,
8,
1635,
357,
80,
16,
3467,
279,
4008,
198,
437,
198,
198,
8818,
15879,
62,
7645,
634,
62,
37295,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
11,
198,
220,
220,
220,
575,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
288,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
5512,
198,
8,
198,
220,
220,
220,
10662,
796,
34449,
7,
44,
11,
279,
11,
288,
11,
32909,
9781,
7861,
28955,
198,
220,
220,
220,
314,
1860,
31166,
17034,
796,
19862,
17034,
7,
40,
1343,
288,
6,
1635,
288,
8,
198,
220,
220,
220,
7377,
249,
796,
827,
31018,
353,
7,
40,
1860,
31166,
17034,
11,
314,
1860,
31166,
17034,
11,
532,
80,
6,
1635,
1395,
1343,
1395,
6,
1635,
10662,
8,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
56,
11,
10662,
1635,
7377,
249,
1343,
357,
55,
532,
10662,
1635,
357,
80,
6,
1635,
1395,
4008,
1220,
314,
1860,
31166,
17034,
8,
198,
437,
198,
8818,
15879,
62,
7645,
634,
62,
37295,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
11,
198,
220,
220,
220,
575,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
288,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
5512,
198,
8,
198,
220,
220,
220,
10662,
796,
34449,
7,
44,
11,
279,
11,
288,
11,
42137,
9781,
7861,
28955,
198,
220,
220,
220,
374,
69,
796,
20390,
14824,
21413,
7,
80,
81,
7,
79,
1343,
288,
737,
49,
8,
198,
220,
220,
220,
1395,
41871,
796,
1395,
1220,
374,
69,
198,
220,
220,
220,
10662,
83,
55,
41871,
796,
10662,
6,
1635,
1395,
41871,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
198,
220,
220,
220,
220,
220,
220,
220,
575,
11,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
1635,
357,
52,
2848,
14824,
21413,
7,
39568,
55,
41871,
8,
532,
20390,
14824,
21413,
7,
39568,
55,
41871,
8,
11537,
1343,
1395,
41871,
532,
10662,
1635,
10662,
83,
55,
41871,
11,
198,
220,
220,
220,
1267,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
1462,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
10662,
11,
20615,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
30072,
198,
198,
7293,
1133,
262,
15879,
4839,
416,
14492,
262,
4574,
2651,
286,
262,
198,
58,
63,
1186,
974,
7,
44,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
47,
6192,
9781,
7861,
8,
63,
16151,
31,
5420,
828,
766,
198,
16375,
604,
286,
685,
61,
38202,
648,
37122,
13809,
24849,
346,
4626,
60,
393,
220,
7275,
513,
13,
20,
286,
685,
61,
57,
13415,
5539,
5974,
198,
198,
15506,
63,
11018,
198,
51,
23330,
80,
59,
11407,
279,
92,
61,
31478,
5239,
90,
8017,
11709,
7,
55,
8,
796,
10662,
9,
138,
249,
1343,
357,
40,
12,
38227,
61,
31478,
11018,
26224,
90,
51,
11709,
8,
55,
7,
16,
10,
67,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
36796,
12,
59,
31944,
90,
16,
18477,
17,
92,
5512,
198,
15506,
63,
198,
198,
3003,
720,
67,
796,
3467,
14261,
75,
7,
3467,
3575,
265,
1211,
480,
90,
1186,
81,
92,
61,
31478,
11018,
26224,
90,
8017,
11709,
62,
79,
59,
65,
3692,
8,
36796,
12,
16,
92,
7,
80,
8,
47113,
198,
392,
720,
138,
249,
3,
318,
262,
3748,
4610,
286,
262,
1632,
31018,
353,
16022,
198,
198,
15506,
63,
11018,
198,
220,
220,
220,
7377,
249,
7,
40,
10,
67,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
61,
31478,
31944,
90,
16,
18477,
17,
11709,
1343,
357,
40,
1343,
288,
61,
59,
11018,
26224,
90,
51,
92,
67,
8,
61,
31478,
31944,
90,
16,
18477,
17,
11709,
796,
10662,
61,
59,
11018,
26224,
90,
51,
92,
55,
532,
1395,
61,
59,
11018,
26224,
90,
51,
92,
80,
198,
15506,
63,
198,
58,
61,
38202,
648,
37122,
13809,
24849,
346,
4626,
5974,
198,
220,
220,
220,
1875,
31663,
11,
370,
1539,
7096,
13809,
11,
509,
13,
317,
1539,
290,
13051,
346,
11,
350,
7874,
32,
11207,
198,
220,
220,
220,
1875,
4808,
32,
2806,
43955,
1398,
286,
32551,
12,
3791,
1122,
5050,
329,
371,
26597,
1236,
666,
23989,
62,
198,
220,
220,
220,
1875,
25861,
2390,
4913,
286,
30011,
1634,
11,
1853,
11,
4709,
13,
1679,
11,
1400,
13,
513,
11,
9788,
13,
1467,
1899,
1906,
1433,
5332,
198,
220,
220,
220,
1875,
23899,
25,
685,
940,
13,
1157,
2718,
14,
1415,
2931,
2816,
38783,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
1157,
2718,
14,
1415,
2931,
2816,
38783,
8,
198,
220,
220,
220,
1875,
37124,
25,
685,
13670,
13,
989,
16151,
5450,
1378,
2503,
13,
11018,
13,
69,
2385,
13,
15532,
14,
93,
1929,
84,
648,
17,
14,
12315,
14,
27912,
3287,
6559,
26416,
62,
13670,
7856,
13,
12315,
8,
198,
37811,
198,
31364,
62,
7645,
634,
62,
1462,
7,
198,
220,
220,
220,
7904,
1273,
2086,
417,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
5512,
198,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
1462,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
10662,
11,
20615,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
30072,
198,
198,
7293,
1133,
262,
15879,
4839,
416,
14492,
262,
4574,
2651,
286,
262,
198,
58,
63,
1186,
974,
7,
44,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
48,
49,
9781,
7861,
8,
63,
16151,
31,
5420,
828,
198,
3826,
685,
61,
24849,
346,
40936,
1647,
19117,
377,
354,
260,
11528,
4357,
279,
13,
28174,
11,
393,
7275,
513,
13,
20,
286,
685,
61,
57,
13415,
5539,
4083,
198,
198,
15506,
63,
11018,
198,
51,
23330,
80,
3467,
11407,
279,
92,
61,
31478,
5239,
90,
48,
49,
11709,
7,
55,
8,
796,
10662,
9,
59,
81,
8873,
23330,
59,
11018,
26224,
90,
82,
11709,
7,
80,
61,
59,
11018,
26224,
90,
51,
92,
55,
49,
36796,
12,
16,
30072,
1343,
357,
40,
12,
38227,
61,
31478,
11018,
26224,
90,
51,
11709,
8,
55,
49,
36796,
12,
16,
5512,
198,
15506,
63,
198,
3003,
720,
67,
796,
3467,
14261,
75,
38016,
3575,
265,
1211,
480,
90,
1186,
81,
92,
61,
31478,
11018,
26224,
90,
48,
49,
11709,
59,
65,
3692,
8,
36796,
12,
16,
92,
62,
79,
7,
80,
8,
47113,
720,
49,
3,
318,
262,
720,
49,
3,
5766,
286,
262,
42137,
198,
12501,
296,
9150,
286,
720,
79,
10,
55,
47113,
290,
198,
15506,
63,
11018,
198,
59,
14261,
75,
7,
3467,
81,
8873,
23330,
59,
11018,
26224,
90,
82,
11709,
7,
32,
8,
3467,
65,
3692,
8,
23330,
2926,
92,
198,
28,
3467,
27471,
90,
33964,
92,
198,
32,
23330,
2926,
92,
5,
59,
5239,
90,
611,
1782,
1312,
1875,
474,
6852,
198,
15,
3467,
5239,
90,
611,
1782,
1312,
796,
474,
6852,
198,
12,
32,
23330,
7285,
92,
3467,
5239,
90,
611,
1782,
1312,
1279,
474,
13,
6852,
198,
59,
437,
90,
33964,
92,
198,
15506,
63,
198,
37811,
198,
31364,
62,
7645,
634,
62,
1462,
7,
198,
220,
220,
220,
7904,
1273,
2086,
417,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
7149,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
5512,
198,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
15879,
62,
7645,
634,
62,
1462,
7,
44,
3712,
1273,
2086,
417,
11,
279,
11,
1395,
11,
10662,
11,
7904,
16775,
295,
8291,
634,
8,
198,
198,
7293,
1133,
257,
15879,
4839,
416,
20128,
11,
1312,
13,
68,
13,
1628,
4600,
55,
63,
422,
262,
13875,
298,
2272,
379,
4600,
87,
63,
416,
198,
16302,
295,
340,
4291,
262,
13875,
298,
2272,
379,
4600,
80,
44646,
198,
37811,
198,
31364,
62,
7645,
634,
62,
1462,
7,
3712,
1273,
2086,
417,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
16775,
295,
8291,
634,
8,
198,
198,
8818,
15879,
62,
7645,
634,
62,
1462,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
11,
198,
220,
220,
220,
575,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
47,
6192,
9781,
7861,
5512,
198,
8,
198,
220,
220,
220,
288,
796,
34062,
62,
1186,
974,
7,
44,
11,
279,
11,
10662,
11,
32909,
818,
4399,
9781,
7861,
28955,
198,
220,
220,
220,
314,
1860,
31166,
17034,
796,
19862,
17034,
7,
40,
1343,
288,
6,
1635,
288,
8,
198,
220,
220,
220,
7377,
249,
796,
827,
31018,
353,
7,
40,
1860,
31166,
17034,
11,
314,
1860,
31166,
17034,
11,
532,
80,
6,
1635,
1395,
1343,
1395,
6,
1635,
10662,
8,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
56,
11,
10662,
1635,
7377,
249,
1343,
357,
55,
532,
10662,
1635,
357,
80,
6,
1635,
1395,
4008,
1220,
314,
1860,
31166,
17034,
8,
198,
437,
198,
8818,
15879,
62,
7645,
634,
62,
1462,
0,
7,
198,
220,
220,
220,
337,
3712,
1273,
2086,
417,
11,
198,
220,
220,
220,
575,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
7904,
40341,
12931,
9781,
7861,
38469,
8291,
634,
90,
48,
49,
9781,
7861,
5512,
198,
8,
198,
220,
220,
220,
288,
796,
34062,
62,
1186,
974,
7,
44,
11,
279,
11,
10662,
11,
42137,
818,
4399,
9781,
7861,
28955,
198,
220,
220,
220,
374,
69,
796,
20390,
14824,
21413,
7,
80,
81,
7,
79,
1343,
288,
737,
49,
8,
198,
220,
220,
220,
1395,
41871,
796,
1395,
1220,
374,
69,
198,
220,
220,
220,
10662,
83,
55,
41871,
796,
10662,
6,
1635,
1395,
41871,
198,
220,
220,
220,
1441,
4866,
1462,
0,
7,
198,
220,
220,
220,
220,
220,
220,
220,
575,
11,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
1635,
357,
52,
2848,
14824,
21413,
7,
39568,
55,
41871,
8,
532,
20390,
14824,
21413,
7,
39568,
55,
41871,
8,
11537,
1343,
1395,
41871,
532,
10662,
1635,
10662,
83,
55,
41871,
11,
198,
220,
220,
220,
1267,
198,
437,
198
] | 2.154904 | 9,748 |
module ReTest
export retest, @testset, not, interpolated
using Distributed
using Base.Threads: nthreads
import Base: ==
using Random: shuffle!, randstring
# from Test:
export Test,
@test, @test_throws, @test_broken, @test_skip,
@test_warn, @test_nowarn,
@test_logs, @test_deprecated,
@inferred,
detect_ambiguities, detect_unbound_args,
GenericString, GenericSet, GenericDict, GenericArray, GenericOrder
using Test: Test,
@test, @test_throws, @test_broken, @test_skip,
@test_warn, @test_nowarn,
@test_logs, @test_deprecated,
@inferred,
detect_ambiguities, detect_unbound_args,
GenericString, GenericSet, GenericDict, GenericArray
if isdefined(Test, :GenericOrder)
using Test: GenericOrder
end
using InlineTest: @testset, InlineTest, TESTED_MODULES, INLINE_TEST
import InlineTest: retest
# * Pattern (pre)
# pre-declaration for use in testset.jl
abstract type Pattern end
function matches end
# * includes
include("utils.jl")
include("testset.jl")
include("hijack.jl")
using .Testset: Testset, Format
# * Pattern
const PatternX = Union{Pattern, Regex, Integer}
struct And <: Pattern
xs::Vector{PatternX}
end
And() = And(PatternX[])
and(xs...) = And(PatternX[make_pattern(x) for x in xs])
==(a::And, b::And) = a.xs == b.xs
struct Or <: Pattern
xs::AbstractArray{<:PatternX}
end
Or() = Or(PatternX[])
or(xs...) = Or(PatternX[make_pattern(x) for x in xs])
==(a::Or, b::Or) = a.xs == b.xs
struct Not <: Pattern
x::PatternX
end
==(a::Not, b::Not) = a.x == b.x
"""
not(pattern)
Create an object suitable for filtering testsets (in the [`retest`](@ref) function),
which "negates" the meaning of `pattern`: a testset matches `not(pattern)`
if and only if it doesn't match `pattern`.
For example `not("a")` matches any testset whose subject doesn't contain `"a"`,
and `not(1:3)` matches all the testsets but the first three of a module.
"""
not(x) = Not(make_pattern(x))
struct Interpolated <: Pattern end
"""
interpolated
Singleton pattern which matches any testset whose description can be interpolated
"statically", i.e. at filtering time before testset are actually run.
Non-inferrable descriptions include those containing interpolated values
which can't be known until run time.
This pattern has an effect closely related to that of the `static` keyword
of [`retest`](@ref), discussed below, which is probably more generally useful.
# Examples
Given these testset:
```julia
@testset "outer" verbose=true begin
@test true
inner = "inner"
@testset "\$inner" begin
@test true
end
end
@testset "other" begin
@test true
end
```
We get:
```julia
julia> retest("other", dry=true)
Main
1| outer
2| "\$(inner)"
3| other
julia> retest("other", dry=false)
Pass
outer | 1
other | 1
Main | 2
julia> retest("other", dry=true, interpolated)
Main
3| other
```
Without `interpolated`, `retest` can't decide at filtering time whether the "inner"
testset will run, so must mark the "outer" testset as having to run. At run
time, "inner" is not run because it doesn't match the pattern, but "outer"
still had to run to determine this. With the `interpolated` pattern, "inner" is
filtered out and `retest` selects only testsets which are statically known to
have to run.
So again, `interpolated` doesn't have the same effect at filtering time (like when
`dry=true`) and at run time.
For example, one can see the list of non-interpolated descriptions as follows with
`dry=true`, but not run them (because everything is interpolated at run time):
```julia
julia> retest(not(interpolated), dry=true)
1| outer
2| "\$(inner)"
julia> retest(not(interpolated), dry=false)
Pass
Main:
outer | 1
```
### `static` keyword
Unlike `interpolated`, the `static` keyword of `retest`, when `true`,
filters out only testsets which can't be proven to have to run at filtering time,
let's call them "undecidable".
It can have sometimes the same effect as when using `interpolated`,
e.g. `retest("other", dry=true, static=true)` and
`retest("other", dry=true, interpolated)` give the same result.
But in some cases we might want to filter out noisy testsets whose
description can't be interpolated, but still include those which are
relevant. For example, assume we want to run testsets `1` and `2`,
while excluding other testsets with uninterpolated descriptions:
```julia
julia> retest(1:2, dry=true, interpolated)
Main
1| outer
julia> retest(1:2, dry=true, static=true)
Main
1| outer
2| "\$(inner)"
```
The solution with `interpolated` is not what we want, as we specifically
want testset `2` to run. Given the filtering specifications (`1:2` here),
the filtering algorithm can determine that `2` should run even though
its description is unknown at this point.
Given a filtering specification, there are three kind of testsets:
* "undecidable" (see above)
* "match": they are known statically to have to run
* "nomatch": they are known statically to not have to run
The default value of the `static` keyword is `nothing`, which means
to run testsets which are not known with certainty to not match,
i.e. "match" and "undecidable" testsets.
As seen above, when `static == true`, only "match" testsets are run.
When `static == false`, the behavior is the opposite: only "undecidable"
testsets are run.
Of course, other combinations involving "nomatch" testsets can be had
by reversing the filtering pattern via [`not`](@ref).
For example, to get the equivalent to the `not(interpolated)` example above,
but with an effect which persists at run time (`dry = false`),
you can use `static = false` together with the match-all regex pattern `r".*"`,
which will mark the `"inner"` testset as "undecidable"
(the algorithm inspects slightly patterns just to recognize the simple
match-all patterns `""` and `r""`, but won't detect that `r".*"` would
match `"\$(inner)"`):
```julia
julia> retest(r".*", static=false, dry=true)
Main
1| outer
2| "\$(inner)"
julia> retest(r".*", static=false, dry=false)
Pass
Main:
outer | 2
inner | 1
```
One example of a rare case where a given testset is not in a single of the
above three categories is as follows:
```julia
@testset "a" begin
x = 2
@testset "b\$(i==1 ? 1 : x)" for i=1:2
@testset "c" begin
# subject is "match" at first iteration and
# "undecidable" at second iteration
@test true
end
end
end
```
One thing to understand is that the "identity" of a testset is determined
by a given occurrence of the `@testset` macro. In the example above,
for either the patterns "b" or "c", the two inner testsets are both
"match" and "undecidable". In this case, the filtering algorithm
selects a testset to run if at least one iteration would lead to
this decision. Here, if `static=true` the first iteration
would run, and if `static=false` the second iteration would run.
This results in the same selection whatever the value of `static` is.
"""
const interpolated = Interpolated()
alwaysmatches(pat::And) = all(alwaysmatches, pat.xs)
alwaysmatches(pat::Or) =
if pat.xs isa AbstractArray{<:Integer}
false # special case for huge unit ranges; locally, this optimization seems
# unnecessary, i.e. alwaysmatches(Or(1:10...0)) is constant time anyway,
# but on CI, the any(...) below takes tooooo long
else
any(alwaysmatches, pat.xs)
end
alwaysmatches(::Not) = false
alwaysmatches(::Interpolated) = false
alwaysmatches(rx::Regex) = isempty(rx.pattern)
alwaysmatches(id::Integer) = false
matches(pat::And, x, id) = all(p -> matches(p, x, id), pat.xs)
matches(pat::Or, x, id) =
if pat.xs isa AbstractUnitRange{<:Integer} && minimum(pat.xs) >= 0
id ∈ pat.xs # this is optimised, i.e. it's not O(n)
else
any(p -> matches(p, x, id), pat.xs)
end
matches(pat::Not, x, id) = !matches(pat.x, x, id)
matches(::Interpolated, x::Union{Missing,String}, id) = x !== missing
matches(rx::Regex, x, _) = occursin(rx, x)
matches(rx::Regex, ::Missing, _) = alwaysmatches(rx) | missing
matches(pat::Integer, _, id) = pat >= 0 ? pat == id : pat != -id
make_pattern(x::PatternX) = x
function make_pattern(str::AbstractString)
neg = false
if startswith(str, '-')
str = chop(str, head=1, tail=0)
if !startswith(str, '-')
neg = true
end
end
rx =
if isempty(str)
r"" # in order to know to match unconditionally
elseif VERSION >= v"1.3"
r""i * str
else
Regex(str, "i")
end
neg ? not(rx) : rx
end
make_pattern(pat::AbstractArray) = Or(PatternX[make_pattern(p) for p in pat])
# special case for optimizing unit-ranges:
make_pattern(pat::AbstractArray{<:Integer}) = Or(pat)
make_pattern(@nospecialize(pat::Tuple)) = And(PatternX[make_pattern(p) for p in pat])
hasinteger(::Regex) = false
hasinteger(::Integer) = true
hasinteger(pat::Union{And,Or}) = any(hasinteger, pat.xs)
hasinteger(pat::Not) = hasinteger(pat.x)
hasinteger(::Interpolated) = false
# * TestsetExpr
Base.@kwdef mutable struct Options
verbose::Bool = false # annotated verbosity
transient_verbose::Bool = false # verbosity for next run
end
mutable struct TestsetExpr
id::Int64 # unique ID per module (64 bits to be on the safe side)
source::LineNumberNode
mod::String # enclosing module
desc::Union{String,Expr}
options::Options
# loops: the original loop expression, if any, but where each `x=...` is
# pulled out into a vector
loops::Union{Vector{Expr},Nothing}
parent::Union{TestsetExpr,Nothing}
children::Vector{TestsetExpr}
strings::Vector{Union{String,Missing}}
# loopvalues & loopiters: when successful in evaluating loop values in resolve!,
# we "flatten" the nested for loops into a single loop, with loopvalues
# containing tuples of values, and loopiters the tuples of variables to which the
# values are assigned
loopvalues::Union{Nothing,Vector{Any}}
loopiters::Union{Nothing,Expr}
hasbroken::Bool
hasbrokenrec::Bool # recursive hasbroken, transiently
run::Bool
descwidth::Int # max width of self and children shown descriptions
body::Expr
TestsetExpr(source, mod, desc, options, loops, parent, children=TestsetExpr[]) =
new(0, source, mod, desc, options, loops, parent, children, String[])
end
isfor(ts::TestsetExpr) = ts.loops !== nothing
isfinal(ts::TestsetExpr) = isempty(ts.children)
# replace unqualified `@testset` by TestsetExpr
function replace_ts(source, mod, x::Expr, parent)
if x.head === :macrocall && x.args[1] === Symbol("@testset")
@assert x.args[2] isa LineNumberNode
ts, hasbroken = parse_ts(source, mod, Tuple(x.args[3:end]), parent)
parent !== nothing && push!(parent.children, ts)
ts, false # hasbroken counts only "proper" @test_broken, not recursive ones
elseif x.head === :macrocall && x.args[1] === Symbol("@test_broken")
x, true
elseif x.head == :call && x.args[1] == :include
path = x.args[end]
sourcepath = dirname(string(source.file))
x.args[end] = path isa AbstractString ?
joinpath(sourcepath, path) :
:(joinpath($sourcepath, $path))
x, false
else
body_br = map(z -> replace_ts(source, mod, z, parent), x.args)
Expr(x.head, first.(body_br)...), any(last.(body_br))
end
end
replace_ts(source, mod, x, _) = x, false
# create a TestsetExpr from @testset's args
function parse_ts(source, mod, args::Tuple, parent=nothing)
local desc
options = Options()
for arg in args[1:end-1]
if arg isa String || Meta.isexpr(arg, :string)
desc = arg
elseif Meta.isexpr(arg, :(=))
arg.args[1] in fieldnames(Options) || error("unsupported @testset option")
# TODO: make that work with non-literals:
setfield!(options, arg.args[1], arg.args[2])
else
error("unsupported @testset")
end
end
body = args[end]
isa(body, Expr) || error("Expected begin/end block or for loop as argument to @testset")
if body.head === :for
tsbody = body.args[2]
loops = body.args[1]
if loops.head == :(=)
loops = Expr[loops]
else
@assert loops.head == :block
@assert all(arg -> Meta.isexpr(arg, :(=)), loops.args)
loops = loops.args
end
if !@isdefined(desc)
v = loops[1].args[1]
desc = Expr(:string, "anonym $(randstring('0':'9')): $v = ", v)
for l = loops[2:end]
v = l.args[1]
push!(desc.args, ", $v = ", v)
end
end
elseif body.head === :block
loops = nothing
tsbody = body
if !@isdefined(desc)
desc = "anonym $(randstring('0':'9'))"
end
else
error("Expected begin/end block or for loop as argument to @testset")
end
ts = TestsetExpr(source, mod, desc, options, loops, parent)
ts.body, ts.hasbroken = replace_ts(source, mod, tsbody, ts)
ts, false # hasbroken counts only "proper" @test_broken, not recursive ones
end
# this function does 3 things by going recursively through nested testsets:
# - update ts.hasbrokenrec to know whether we print the "broken" column
# - compute ts.descwidth, to know the overall alignment of the first vertical bar
# (only needed when verbose is large enough)
# - the most important: sorting out which testsets must be run
# (and in the process, precompute descriptions when possible, and IDs)
#
# Concerning the last point, we have the following alternatives with
# a different compromise, depending on the value of `strict`:
#
# false) as it's probably rare that a Regex matches a given testset but not its
# children (as in r"a$" for the subjects "/a" and "/a/b"), and in order to reduce
# the computational load of resolve!, once a testset is found to have to run,
# its children are automatically assumed to have to run; the correct filtering
# will then happen only for final testsets. The drawback is a risk for
# more compilation than necessary, and wasted runtime while executing
# children testsets.
#
# true) a testset found to have to run doesn't force its children to run.
# The drawback is more exhaustive tree walking and more string churn.
function resolve!(mod::Module, ts::TestsetExpr, pat::Pattern;
# external calls
verbose::Int, id::Int64, strict::Bool,
static::Union{Bool,Nothing},
# only recursive calls
force::Bool=false, shown::Bool=true, depth::Int=0)
strings = empty!(ts.strings)
desc = ts.desc
ts.run = force | (static !== false) & alwaysmatches(pat)
ts.loopvalues = nothing # unnecessary ?
ts.loopiters = nothing
if ts.id != 0
@assert ts.id == id
end
ts.id = id
id += 1
parentstrs = ts.parent === nothing ? [""] : ts.parent.strings
ts.descwidth = 0
ts.options.transient_verbose = shown & ((verbose > 1) | ts.options.verbose)
# TODO: probably no need to eval the descriptions when they won't be shown
# and ts.run == true
descwidth(desc) =
if desc !== missing
textwidth(desc) + 2*depth
else
# set width to a lower bound to reduce misalignment
2*depth + max(6, # give at least 6 spaces for the common case of a unique part
mapreduce(+, ts.desc.args) do part
if part isa String
textwidth(part)
else
4 # give 4 spaces for unknown string part
end
end)
end
function decide(subj)
m = matches(pat, subj, ts.id)
# For the curious, setting `s = something(static, missing)`, there are few
# "formulas" to compute the result without `if`, but using only
# `coalesce, |, &, ==, !=, ===, !==, (a,b) -> a, (a,b) -> b, (a,b) -> !a,
# (a,b) -> !b`. The shortest formulas involve 5 such
# functions `fi` and are of the form
# `f1(f2(s, m), f3(f4(s, m), f5(s, m)))`, there are about a dozen of them
# (with redundancy because of functions symmetry).
# All the solutions have `f1 == (===)`, and the 5 simplest involve
# `(a, b) -> b`, so only 4 fi functions are really needed:
# - coalesce(s == m, m) === s | m
# - (coalesce(s, m) == m) === s | m
# - coalesce(s, m) | !m === m
# - coalesce(s, m) | (s == m) === m
# - (coalesce(s, m) == (s | m)) === m
# Which one is the most understandable?
# cf. the file "misc/decide_formulas.jl" for the brute-force algorithm
if static === false
m === missing
else
coalesce(m, static !== true)
end
end
loops = ts.loops
if loops === nothing || desc isa String
# TODO: maybe, for testset-for and !(desc isa String), still try this branch
# in case the the interpolation can be resolved thanks to a global binding
# (i.e. the description doesn't depend on loop variables)
if !(desc isa String)
# TODO: compute desc only when !ts.run (i.e. it wasn't forced) ?
try
desc = Core.eval(mod, desc)::String
catch
desc = missing
end
end
if shown
ts.descwidth = descwidth(desc)
end
hasmissing = false
for str in parentstrs
!strict && ts.run && break
new = str * "/" * desc # TODO: implement *(::Missing, ::Char) in Base ?
hasmissing |= new === missing # comes either from desc or str
ts.run = ts.run || decide(new)
hasmissing && str === missing ||
push!(strings, new)
end
else # we have a testset-for with description which needs interpolation
xs = ()
loopiters = Expr(:tuple, (arg.args[1] for arg in loops)...)
try
# we need to evaluate roughly the following:
# xsgen = Expr(:comprehension, Expr(:generator, loopiters, loops...))
# but a comprehension expression returns an array, i.e. loop variables
# can't depend on previous ones; the correct way is therefore to
# construct nested generators flattened with a :flatten Expr, or to
# simply construct directly a for-loop as below
xssym = gensym() # to not risk to shadow a global variable on which
# the iteration expression depends
xsgen = quote
let $xssym = []
$(Expr(:for, Expr(:block, loops...),
Expr(:call, Expr(:., :Base, QuoteNode(:push!)),
xssym, loopiters)))
$xssym
end
end
xs = Core.eval(mod, xsgen)
@assert xs isa Vector
ts.loopvalues = xs
ts.loopiters = loopiters
catch
@assert xs == ()
ts.descwidth = shown ? descwidth(missing) : 0
ts.run = ts.run || decide(missing)
end
hasmissing = false
for x in xs # empty loop if eval above threw
descx = eval_desc(mod, ts, x)
if shown
ts.descwidth = max(ts.descwidth, descwidth(descx))
end
if !strict && ts.run
if !shown # no need to compute subsequent descx to update ts.descwidth
break
else
continue
end
end
for str in parentstrs
!strict && ts.run && break
new = str * "/" * descx
hasmissing |= new === missing
ts.run = ts.run || decide(new)
hasmissing && str === missing ||
push!(strings, new)
end
end
end
run = ts.run
ts.hasbrokenrec = ts.hasbroken
for tsc in ts.children
runc, id = resolve!(mod, tsc, pat, force = !strict && ts.run,
shown=shown & ts.options.transient_verbose, static=static,
depth=depth+1, verbose=verbose-1, id=id, strict=strict)
run |= runc
ts.descwidth = max(ts.descwidth, tsc.descwidth)
if tsc.run
ts.hasbrokenrec |= tsc.hasbrokenrec
end
end
if !run || !shown
ts.descwidth = 0
end
ts.run = run
run, id
end
eval_desc(mod, ts, x) =
if ts.desc isa String
ts.desc
else
try
Core.eval(mod, quote
let $(ts.loopiters) = $x
$(ts.desc)
end
end)::String
catch
missing
end
end
# convert a TestsetExpr into an actually runnable testset
function make_ts(ts::TestsetExpr, pat::Pattern, stats, chan)
ts.run || return nothing
if isfinal(ts)
body = ts.body
else
body = make_ts(ts.body, pat, stats, chan)
end
if ts.loops === nothing
quote
@testset $(ts.mod) $(isfinal(ts)) $pat $(ts.id) $(ts.desc) $(ts.options) $stats $chan $body
end
else
c = count(x -> x === nothing, (ts.loopvalues, ts.loopiters))
@assert c == 0 || c == 2
if c == 0
loops = [Expr(:(=), ts.loopiters, ts.loopvalues)]
else
loops = ts.loops
end
quote
@testset $(ts.mod) $(isfinal(ts)) $pat $(ts.id) $(ts.desc) $(ts.options) $stats $chan $loops $body
end
end
end
make_ts(x, pat, _, _) = x
make_ts(ex::Expr, pat, stats, chan) =
Expr(ex.head, map(x -> make_ts(x, pat, stats, chan), ex.args)...)
# convert raw tests from InlineTest into TestsetExpr tests, and handle overwriting
function updatetests!(mod::Module, dup::Bool)
tests, news, map = InlineTest.get_tests(mod)
# work-around lack of ordered-dict
# map: we keep only the latest version of a test at a given location,
# to be Revise-friendly (just an imperfect heuristic)
# unless dup is true; if later on dup is false, we overwrite only
# the last version; should we delete all of the versions in this case?
for (tsargs, source) in news
ts, hasbroken = parse_ts(source, string(mod), tsargs)
idx = get!(map, ts.desc, length(tests) + 1)
if idx == length(tests) + 1
push!(tests, ts)
else
if !dup && !(revise_pkgid() in keys(Base.loaded_modules))
desc = ts.desc isa String ? string('"', ts.desc, '"') : ts.desc
source = string(ts.source.file, ':', ts.source.line)
@warn "duplicate description for @testset, overwriting: $desc at $source"
end
if dup
push!(tests, ts)
map[ts.desc] = length(tests)
else
tests[idx] = ts
end
end
end
empty!(news)
tests
end
revise_pkgid() = Base.PkgId(Base.UUID("295af30f-e4ad-537b-8983-00126c2a3abe"), "Revise")
"accepted types as positional arguments of `retest`"
const ArgType = Union{Module,PatternX,AbstractString,AbstractArray,Tuple,Symbol,
Pair{Module,
<:Union{PatternX,AbstractString,AbstractArray,Tuple}}}
"""
retest(mod..., pattern...;
dry::Bool=false, stats::Bool=false, verbose::Real=true,
[id::Bool], shuffle::Bool=false, recursive::Bool=true,
static::Union{Bool,Nothing}=nothing, dup::Bool=false,
load::Bool=false)
Run tests declared with [`@testset`](@ref) blocks, within modules `mod` if specified,
or within all currently loaded modules otherwise.
When no `pattern`s are specified, all the tests are run.
### Keywords
* If `dry` is `true`, don't actually run the tests, just print the descriptions
of the testsets which would (presumably) run.
* If `stats` is `true`, print some time/memory statistics for each testset.
* If specified, `verbose` must be an integer or `Inf` indicating the nesting level
of testsets whose results must be printed (this is equivalent to adding the
`verbose=true` annotation to corresponding testsets); the default behavior
(`true` or `1`) corresponds to printing the result of top-level testsets.
* If `id` is `true`, a unique (per module) integer ID is printed next to each testset,
which can be used for filtering. The default value of `id` depends on other options.
* If `shuffle` is `true`, shuffle the order in which top-level testsets within
a given module are run, as well as the list of passed modules.
* If `recursive` is `true`, the tests for all the recursive submodules of
the passed modules `mod` are also run.
* The `static` keyword controls testsets filtering: if `true`, only testsets
which are known to match "statically" the passed patterns, i.e. at filtering
time, are run. See docstring of [`interpolated`](@ref) for more details.
* If `dup` is `true`, multiple toplevel testsets can have the same
description. If `false`, only the last testset of a "duplicate group" is
kept. The default is `false` in order to encourage having unique
descriptions (useful for filtering) but also and mostly to play well with
`Revise`. This keyword applies only to newly added testsets since the last
run.
* When `load` is `true`, for each package module `Mod` which is selected, `retest`
attempts to also select a corresponding `Main.ModTests` module with the
same pattern specification, unless such module is already explicitly
passed as an argument. If this test module doesn't already exist,
`retest` attempts first to include into `Main` the corresponding test file
"test/ModTests.jl" which is assumed, if it exists, to define `ModTests`.
### Filtering
It's possible to filter run testsets by specifying one or multiple `pattern`s.
A testset is guaranteed to run only if it "matches" all passed patterns (conjunction).
Even if a testset is run, its nested testsets might not run if they don't match
the patterns.
Moreover if a testset is run, its enclosing testset, if any, also has to run
(although not necessarily exhaustively, i.e. other nested testsets
might be filtered out).
A `pattern` can be a string, a `Regex`, an integer, an array or a tuple.
For a testset to "match" an array, it must match at least one of its elements (disjunction).
To match a tuple, it must match all of its elements (conjunction).
To match an integer, its ID must be equal to this integer (cf. the `id` keyword).
A pattern can also be the "negation" of a pattern, via the [`not`](@ref) function,
which allows to exclude testsets from being run.
As a special case, the negation of an integer can be expressed as its arithmetic
negation, e.g. `not(3)` is equivalent to `-3`.
A pattern can also be the [`interpolated`](@ref) singleton object, cf. its docstring.
### `Regex` filtering
The "subject" of a testset is the concatenation of the subject of its parent `@testset`,
if any, with `"/\$description"` where `description` is the testset's description.
For example:
```julia
@testset "a" begin # subject == "/a"
@testset "b" begin # subject is "/a/b"
end
@testset "c\$i" for i=1:2 # subjects are "/a/c1" & "/a/c2"
end
end
```
When `pattern` isa a `Regex`, a testset is guaranteed to run only when its subject
matches `pattern`.
Moreover, even if a testset matches (e.g. "/a" above with `pattern == r"a\$"`),
its nested testsets might be filtered out if they don't also match
(e.g. "a/b" doesn't match `pattern`).
If a passed `pattern` is a string, then it is wrapped in a `Regex` with the
"case-insensitive" flag, and must match literally the subjects.
This means for example that `"a|b"` will match a subject like `"a|b"` or `"A|B"`,
but not like `"a"` (only in Julia versions >= 1.3; in older versions,
the regex is simply created as `Regex(pattern, "i")`).
As a special case, if a string pattern starts with the `'-'` character,
it's interpreted as the negation of the pattern corresponding to the
string with `'-'` chopped off, e.g. `"-abc"` is equivalent to `not("abc")`.
Unless the string starts with two `'-'` characters, in which case
the first `'-'` is chopped off, e.g. `"--abc"` will match subjects
such as `"123-abc"`. To negate such a pattern, just use `not`,
e.g. `not("--abc")`.
### Per-module patterns
In addition to modules or patterns, positional arguments of `retest` can also be
a pair of the form `mod => pattern`: then `pattern` is used to filter only
testsets from `mod`; if other "standalone" patterns (not attached to a module) are
specified, they also conjunctively apply to `mod`. For example, a call like
`retest(mod1 => 1:3, mod2, "x")` is equivalent to `retest(mod1 => (1:3, "x"), mod2 => "x")`.
If `recursive` is `true`, `pattern` is also applied to all recursive submodules `sub`
of `mod`; if `sub` is also specified as `sub => subpat`, the patterns are merged,
i.e. this is equivalent to specifying `sub => (pattern, subpat)`.
!!! note
this function executes each (top-level) `@testset` block using `eval` *within* the
module in which it was written (e.g. `mod`, when specified).
"""
function retest(@nospecialize(args::ArgType...);
dry::Bool=false,
stats::Bool=false,
shuffle::Bool=false,
group::Bool=true,
verbose::Real=true, # should be @nospecialize, but not supported on old Julia
recursive::Bool=true,
id=nothing,
strict::Bool=true,
dup::Bool=false,
static::Union{Bool,Nothing}=nothing,
load::Bool=false,
)
dry, stats, shuffle, group, verbose, recursive, id, strict, dup, static =
update_keywords(args, dry, stats, shuffle, group, verbose, recursive, id, strict, dup, static)
implicitmodules, modules, verbose = process_args(args; verbose=verbose, shuffle=shuffle,
recursive=recursive, load=load)
overall = length(modules) > 1
root = Testset.ReTestSet("", "Overall", overall=true)
maxidw = Ref{Int}(0) # visual width for showing IDs (Ref for mutability in hack below)
tests_descs_hasbrokens = fetchtests.(modules, verbose, overall, Ref(maxidw);
strict=strict, dup=dup, static=static)
isempty(tests_descs_hasbrokens) &&
throw(ArgumentError("no modules using ReTest could be found"))
alltests = first.(tests_descs_hasbrokens)
descwidth = max(textwidth(root.description),
maximum(x->x[2], tests_descs_hasbrokens))
format = Format(stats, descwidth)
hasbroken = any(last.(tests_descs_hasbrokens))
emptymods = findall(isempty, alltests)
nmodules = length(modules) - length(emptymods)
if nmodules == 0
plural = length(emptymods) > 1 ? "s" : ""
print("No matching tests for module$plural ")
join(stdout,
string.(first.(getindex.((modules,), emptymods))),
", ", " and ")
println('.')
return
end
id = something(id, dry | any(modules) do (mod, pat)
hasinteger(pat)
end)
maxidw[] = id ? maxidw[] : 0
for imod in eachindex(modules)
mod, pat = modules[imod]
tests = alltests[imod]
isempty(tests) && continue
shuffle &&
shuffle!(tests)
if dry
showmod = overall || implicitmodules
if showmod
imod > 1 && verbose > 0 &&
println()
printstyled(mod, '\n', bold=true)
end
foreach(ts -> dryrun(mod, ts, pat, id ? 0 : showmod*2,
verbose=verbose>0, maxidw = id ? maxidw[] : 0), tests)
continue
end
if group && nworkers() > 1
# make test groups according to file names
files = Dict{Symbol, Int}()
n = 1
for ts in tests
k = get!(files, ts.source.file, n)
n += (k == n)
end
sort!(tests, lt = function(s, t)
files[s.source.file] < files[t.source.file]
end)
groups = [1 => tests[1].source.file]
for (ith, ts) in enumerate(tests)
_, file = groups[end]
if ts.source.file != file
push!(groups, ith => ts.source.file)
end
end
todo = fill(true, length(tests))
end
outchan = RemoteChannel(() -> Channel{Union{Nothing,Testset.ReTestSet}}(0))
computechan = nprocs() == 1 ?
Channel{Nothing}(1) : # to not interrupt printer task
nothing
ntests = 0
nprinted = 0
allpass = true
exception = Ref{Exception}()
interrupted = Threads.Atomic{Bool}(false)
module_ts = Testset.ReTestSet("", string(mod) * ':', overall=true)
push!(root.results, module_ts)
many = length(tests) > 1 || isfor(tests[1]) # FIXME: isfor when only one iteration
printlock = ReentrantLock()
previewchan =
if stdout isa Base.TTY && (nthreads() > 1 || nprocs() > 1)
RemoteChannel(() -> Channel{Union{String,Nothing}}(Inf))
# needs to be "remote" in the case nprocs() == 2, as then nworkers() == 1,
# which means the one remote worker will put descriptions on previewchan
# (if nworkers() > 1, descriptions are not put because we can't predict
# the order in which they complete, and then the previewer will
# not show the descriptions, just the spinning wheel)
# channel size: if nworkers() == 1, then 2 would suffice (one for
# the "compilation step", one for @testset execution step, and then
# the printer would empty the channel; but for two workers and more,
# this second step is not done, so the buffer needs a size of at least
# `nworkers()`
else
# otherwise, the previewing doesn't work well, because the worker task
# keeps the thread busy and doesn't yield enough for previewing to be useful
nothing
end
gotprinted = false
align_overflow = 0
function take_latest!(previewchan)
local desc
while isready(previewchan)
# printer/previewer can't take! it, as we locked
desc = take!(previewchan)
end
@isdefined(desc) ? desc : ""
end
previewer = previewchan === nothing ? nothing :
@async try
timer = ['|', '/', '-', '\\']
cursor = 0
desc = ""
finito = false
while !finito && !interrupted[]
lock(printlock) do
newdesc = take_latest!(previewchan)
if newdesc === nothing
finito = true
return # no need to sleep before looping
elseif newdesc != ""
desc = newdesc
cursor = 0
gotprinted = false
elseif gotprinted
desc = ""
gotprinted = false
align_overflow = 0
elseif desc != ""
align = format.desc_align
if nworkers() > 1
description = align >= 3 ? "..." : ""
style = NamedTuple()
elseif startswith(desc, '\0')
description = chop(desc, head=1, tail=0)
style = (color = :light_black, bold=true)
else
description = desc
style = NamedTuple()
end
if isindented(verbose, overall, many)
description = " " * description
end
cursor += 1
# when verbose == 0, we still can print the currently run
# testset, but then its description might be larger than
# `align`, because it was not taken into account for computing
# `align`;
# `align_overflow` computes how many characters do overflow,
# so that the printer can "erase" them later on;
# once we overflow, we don't go back (leftwards) until the
# printer prints
align_overflow =
max(align_overflow, textwidth(description) - align)
printstyled('\r',
rpad("$description", align+align_overflow, " "),
' ',
timer[mod1(cursor, end)];
style...)
end
end
sleep(0.13)
end
catch ex
# TODO: clarify what is the correct thing to do here
if ex isa InterruptException
interrupted[] = true
rethrow()
else
# then there is probably a bug in the previewer code, but it might be fine
# for the worker/printer to continue?
rethrow()
end
end # previewer task
# TODO: move printer task out of worker?
worker = @task begin
printer = @async begin
errored = false
finito = false
print_overall() =
if many || verbose == 0
@assert endswith(module_ts.description, ':')
module_ts.description = chop(module_ts.description, tail=1)
clear_line()
Testset.print_test_results(module_ts, format,
bold=true, hasbroken=hasbroken,
maxidw=maxidw[])
else
nothing
end
# if the previewer overflowed, we must clear the line, otherwise, if
# what we print now isn't as large, leftovers from the previewer
# will be seen
clear_line() = if previewchan !== nothing
# +2: for the final space before spinning wheel and the wheel
print('\r' * ' '^(format.desc_align+align_overflow+2) * '\r')
align_overflow = 0
end
while !finito && !interrupted[]
rts = take!(outchan)
lock(printlock) do
if previewchan !== nothing
desc = take_latest!(previewchan)
if desc === nothing
# keep `nothing` in so that the previewer knows to terminate
put!(previewchan, nothing)
end
end
gotprinted = true
if rts === nothing
errored || print_overall()
finito = true
return
end
errored && return
if verbose > 0 || rts.anynonpass
clear_line()
Testset.print_test_results(
rts, format;
depth = Int(!rts.overall & isindented(verbose, overall, many)),
bold = rts.overall | !many,
hasbroken=hasbroken,
maxidw=maxidw[]
)
end
if rts.anynonpass
print_overall()
println()
Testset.print_test_errors(rts)
errored = true
allpass = false
ndone = length(tests)
end
nprinted += 1
if rts.exception !== nothing
exception[] = rts.exception
end
if nprocs() == 1
put!(computechan, nothing)
end
end
end
end # printer task
ndone = 0
if overall || !many
# + if overall, we print the module as a header, to know where the currently
# printed testsets belong
# + if !many, we won't print the overall afterwads, which would be redundant
# with the only one printed top-level testset
ntests += 1
put!(outchan, module_ts) # printer task will take care of feeding computechan
else
@async put!(computechan, nothing)
end
@sync for wrkr in workers()
@async begin
if nprocs() == 1
take!(computechan)
end
file = nothing
idx = 0
while ndone < length(tests) && !interrupted[]
ndone += 1
if !@isdefined(groups)
ts = tests[ndone]
else
if file === nothing
if isempty(groups)
idx = 1
else
idx, file = popfirst!(groups)
end
end
idx = findnext(todo, idx) # when a wrkr has file==nothing, it might steal an item from group of another
# worker, so in any case we must search for a non-done item
ts = tests[idx]
todo[idx] = false
if idx == length(tests) || file === nothing ||
tests[idx+1].source.file != file
file = nothing
else
idx += 1
end
end
if previewchan !== nothing
desc = ts.desc
desc = desc isa String ?
desc :
join(replace(desc.args) do part
part isa String ?
part :
"?"
end)
desc = "\0" * desc
# even when nworkers() >= 2, we inform the previewer that
# computation is gonna happen, so the wheel can start spinning
put!(previewchan, desc)
end
chan = (out=outchan, compute=computechan, preview=previewchan)
resp = remotecall_fetch(wrkr, mod, ts, pat, chan
) do mod, ts, pat, chan
mts = make_ts(ts, pat, format.stats, chan)
Core.eval(mod, mts)
end
if resp isa Vector
ntests += length(resp)
append!(module_ts.results, resp)
else
ntests += 1
push!(module_ts.results, resp)
end
end
end # wrkr: @async
end # @sync for wrkr...
# TODO: maybe put the following stuff in a finally clause where we schedule worker
# (as part of the mechanism to handle exceptions vs interrupt[])
put!(outchan, nothing)
previewchan !== nothing &&
put!(previewchan, nothing)
wait(printer)
end # worker = @task begin ...
try
if previewchan !== nothing && nthreads() > 1
# we try to keep thread #1 free of heavy work, so that the previewer stays
# responsive
tid = rand(2:nthreads())
thread_pin(worker, UInt16(tid))
else
schedule(worker)
end
wait(worker)
previewer !== nothing &&
wait(previewer)
catch ex
interrupted[] = true
ex isa InterruptException ||
rethrow()
end
@assert interrupted[] || !allpass || nprinted == ntests
if isassigned(exception)
throw(exception[])
end
nmodules > 1 && verbose > 0 &&
println()
end
nmodules > 1 && !dry &&
Testset.print_test_results(root, format, bold=true,
hasbroken=hasbroken, maxidw=maxidw[])
nothing
end
# cf. https://github.com/JuliaLang/julia/issues/34267#issuecomment-573507670
function thread_pin(t::Task, tid::UInt16)
ccall(:jl_set_task_tid, Cvoid, (Any, Cint), t, tid-1)
schedule(t)
return t
end
# hidden feature, shortcuts for passing kwargs to retest
function update_keywords(@nospecialize(args), dry, stats, shuffle, group, verbose,
recursive, id, strict, dup, static)
for arg in args
if arg isa Symbol
for c in string(arg)
c == 'v' && continue # "verbose" ignored, we care only about the value
val = islowercase(c)
c = lowercase(c)
if isnumeric(c)
verbose = parse(Int, c)
elseif c == 'd'
dry = val
elseif c == 's'
stats = val
elseif c == 'h'
shuffle = val
elseif c == 'g'
group = val
elseif c == 'r'
recursive = val
elseif c == 'i'
id = val
elseif c == 't'
strict = val
elseif c == 'u'
dup = val
elseif c == 'c'
static = val
else
error("bad keyword shortcut")
end
end
end
end
dry, stats, shuffle, group, verbose, recursive, id, strict, dup, static
end
function process_args(@nospecialize(args);
# defaults for keywords are added just for process_args to be more
# easily called from test code
# TODO: set defaults in global variables to help stay in sync?
verbose=true, shuffle=false, recursive=true, load::Bool=false)
########## process args
patterns = PatternX[] # list of standalone patterns
modpats = Dict{Module,Any}() # pairs module => pattern
modules = Module[] # ordered list of keys from modpats
loaded_modules = Set{Module}(load ? values(Base.loaded_modules) : ())
toload = Dict{Module,Module}() # package => testmodule
function load_testmod(mod)::Union{Module,Nothing}
mod ∈ loaded_modules || return
mod in keys(toload) && return
stestmod = Symbol(mod, :Tests)
if !isdefined(Main, stestmod)
testfile = joinpath(dirname(pathof(mod)), "..", "test", string(stestmod, ".jl"))
isfile(testfile) || return
Base.include(Main, testfile)
if !isdefined(Main, stestmod)
@warn "test file $testfile loaded but it did not define module $stestmod"
return
end
end
testmod = getfield(Main, stestmod)
if !(testmod isa Module)
@warn "$testmod exists but is not a module"
return
end
toload[mod] = testmod
end
# first we initialize modpats with the given patterns for "module-patterns"
# standalone are added at a later stage, because we want to add them only
# to "root" modules when recursive=true so that they are not checked multiple
# times (once for a given module and once for each of its tested parent modules)
for arg in args
if arg isa Module
# if arg was already seen, it already has pattern And() added, so nothing to do
get!(modpats, arg, And())
arg ∉ modules && push!(modules, arg)
load_testmod(arg)
elseif arg isa Pair{Module}
mod = first(arg)
pat = get!(modpats, mod, And())
push!(pat.xs, make_pattern(last(arg)))
mod ∉ modules && push!(modules, mod)
load_testmod(mod)
elseif arg isa Symbol
# ignored, already processed in update_keywords
else
push!(patterns, make_pattern(arg))
end
end
# register testmods
for (mod, testmod) in toload
testmod in modules && continue
@assert !(testmod in keys(modpats))
modpats[testmod] = deepcopy(modpats[mod])
# TODO: avoid deepcopy? this is currently added as otherwise `patterns`
# might be added multiple times at the end of module processing below
push!(modules, testmod)
end
########## process modules
@assert allunique(modules)
implicitmodules = isempty(modpats)
if implicitmodules || recursive
update_TESTED_MODULES!()
end
if implicitmodules
for mod in @view(TESTED_MODULES[1:end])
# we iterate only on the current state of TESTED_MODULES (hence the use of a
# @view), because we don't need to call load_testmod on newly loaded test modules
load_testmod(mod) # might update TESTED_MODULES with submodules
end
update_TESTED_MODULES!(false)
# TODO: update_TESTED_MODULES!() might need to be called, if a module is
# replaced by itself within a newly loaded test module? We should add a test
@assert isempty(modules)
append!(modules, TESTED_MODULES)
for mod in modules
modpats[mod] = And(patterns)
end
elseif recursive
roots = Module[]
# explore TESTED_MODULES maintaining order to preserve order of appearance of
# in modules/files
for mod in unique!([modules; TESTED_MODULES;])
par = mod
while true
newpar = parentmodule(par)
if newpar == par # no parent in modules was found
mod in modules && push!(roots, mod)
break
end
par = newpar
if par ∈ modules
# we need to attach par's pattern to mod's pattern
# it's not a problem if par's pattern is updated later, as the
# value in modpats is not changed (but rather mutated in-place),
# so mod's pattern will still see the updated pattern of par
if mod in modules
# modpats[mod]::And must not be set to a new value, as submodules
# might already reference it, and the following update must be
# visible to them; so we update the .xs field instead
push!(modpats[mod].xs, modpats[par])
else
push!(modules, mod)
# patterns for mod and par will always be the same, so no need
# to copy; whether par was initially in modules or not, if in a
# subsequent iteration (over mod) an intermediate module `inter` is
# found (mod << inter << par), we know that `inter` was not
# initially in modules, and can therefore also share the same
# pattern, i.e. pattern for mod doesn't need to diverge from
# that of par
modpats[mod] = modpats[par]
end
break
end
end
end
for mod in roots
append!(modpats[mod].xs, patterns)
end
else
for pat in values(modpats)
append!(pat.xs, patterns)
end
end
# remove modules which don't have tests, which can happen when a parent module without
# tests is passed to retest in order to run tests in its submodules
filter!(m -> isdefined(m, INLINE_TEST), modules)
shuffle && shuffle!(modules)
########## process verbose
if !isinteger(verbose) && !isinf(verbose) || signbit(verbose)
throw(ArgumentError("`verbose` must be a non-negative integer or `Inf`"))
end
if verbose > typemax(Int)
verbose = typemax(Int) # can't use `max`, which promotes to Float64 with Inf
end
verbose = Int(verbose)
(implicitmodules=implicitmodules, modules=[mod => modpats[mod] for mod in modules],
verbose=verbose)
end
function update_TESTED_MODULES!(double_check=true)
# TESTED_MODULES might have "duplicate" entries, i.e. modules which were
# "replaced", when one overwrites itself by being redefined; in this case,
# let's just delete older entries. We must also take into account the possibility
# that a module was overwritten, but the new version doesn't have a @testset,
# in which case there won't be a duplicate, but we must still delete the entry.
seen = Set{String}()
for idx in eachindex(TESTED_MODULES)
if is_replaced(TESTED_MODULES[idx])
TESTED_MODULES[idx] = nothing
else
push!(seen, string(TESTED_MODULES[idx]))
end
end
filter!(x -> x !== nothing, TESTED_MODULES)
if double_check
# What is below is obsolete as we now reliably register modules in TESTED_MODULES.
# We still keep it for a while just to check this assumption.
# TODO: delete
#
# TESTED_MODULES is not up-to-date w.r.t. package modules which have
# precompilation, so we have to also look in Base.loaded_modules
for mod in values(Base.loaded_modules)
# exclude modules from Main, which presumably already had a chance to get
# registered in TESTED_MODULES at runtime
mod ∈ (ReTest, Main, Base) && continue # TODO: should exclude stdlibs too
str = string(mod)
if str ∉ seen
push!(seen, str) # probably unnecessary, if str are all unique in this loop
for sub in recsubmodules(mod)
# new version: just check the assumption
nameof(sub) == INLINE_TEST && continue
if isdefined(sub, INLINE_TEST)
@assert sub in TESTED_MODULES
end
# old effective version:
# if isdefined(sub, INLINE_TEST) && sub ∉ TESTED_MODULES
# # sub might be a submodule of a Main-like module mod (e.g. via a
# # REPL "contextual module"), in which case it already got registered
# push!(TESTED_MODULES, sub)
# end
end
end
end
end
@assert all(m -> m isa Module, TESTED_MODULES)
@assert allunique(TESTED_MODULES)
filter!(m -> m ∉ (ReTest, ReTest.ReTestTest), TESTED_MODULES)
end
function fetchtests((mod, pat), verbose, overall, maxidw; static, strict, dup)
tests = updatetests!(mod, dup)
descwidth = 0
hasbroken = false
id = 1
for ts in tests
run, id = resolve!(mod, ts, pat, verbose=verbose, id=id, strict=strict, static=static)
run || continue
descwidth = max(descwidth, ts.descwidth)
hasbroken |= ts.hasbrokenrec
end
maxidw[] = max(maxidw[], ndigits(id-1))
tests = filter(ts -> ts.run, tests)
many = length(tests) > 1
indented = isindented(verbose, overall, many)
if indented
descwidth += 2
end
descwidth = max(descwidth, textwidth(string(mod)) + indented)
tests, descwidth, hasbroken
end
isindented(verbose, overall, many) = (verbose > 0) & (overall | !many)
function dryrun(mod::Module, ts::TestsetExpr, pat::Pattern, align::Int=0, parentsubj=""
; evaldesc=true, repeated=nothing, verbose, maxidw::Int)
ts.run && verbose || return
desc = ts.desc
if ts.loops === nothing
if evaldesc && !(desc isa String)
try
desc = Core.eval(mod, desc)
catch
end
end
subject = nothing
if parentsubj isa String && desc isa String
subject = parentsubj * '/' * desc
if isfinal(ts)
matches(pat, subject, ts.id) || return
end
end
if maxidw > 0 # width (ndigits) of max id; <= 0 means ids not printed
printstyled(lpad(ts.id, maxidw), "| ", color = :light_black, bold=true)
end
printstyled(' '^align, desc, color = desc isa String ? :normal : Base.warn_color())
if repeated !== nothing
printstyled(" (repeated",
repeated == -1 ? ")" : " $repeated times)", '\n',
color=:light_black)
else
println()
end
for tsc in ts.children
dryrun(mod, tsc, pat, align + 2, subject, verbose=ts.options.transient_verbose,
maxidw=maxidw)
end
else
function dryrun_beginend(descx, repeated=nothing)
# avoid repeating ourselves, transform this iteration into a "begin/end" testset
if descx isa Expr
@assert descx.head == :string
descx = Expr(:string, copy(descx.args)...)
replace!(descx.args) do arg
if arg isa String || arg isa Symbol
# TODO: unify with same function in previewer, which sets "?"
# even for symbols
arg
else
@assert arg isa Expr # just to have a chance to discover other possibilities
"?"
end
end
end
beginend = TestsetExpr(ts.source, ts.mod, descx, ts.options, nothing,
ts.parent, ts.children)
beginend.run = true
beginend.id = ts.id
dryrun(mod, beginend, pat, align, parentsubj; evaldesc=false,
repeated=repeated, verbose=verbose, maxidw=maxidw)
end
loopvalues = ts.loopvalues
if loopvalues === nothing
# ts.desc is probably a String (cf. resolve!); if so, don't print repeated
# identitical lines (caveat: if subjects of children would change randomly)
# but still try simply to evaluate the length of the iterator
repeated = -1
if ts.desc isa String
local iterlen
try
iterlen = 1
for loop in ts.loops
iterlen *= Core.eval(mod, :(length($(loop.args[2]))))
end
repeated = iterlen
catch
end
end
dryrun_beginend(ts.desc, repeated)
else
for (i, x) in enumerate(loopvalues)
descx = eval_desc(mod, ts, x)
if descx === missing
# we would usually have `i == 1`, but not in some rare cases;
# once we find an uninterpolated description, we still assume
# for simplicity that all remaining ones will also be uninterpolated,
# so we add the "repeated" annotation
# (it's certainly not worth it to bother being more precise about
# exactly which iterations are uninterpolated)
return dryrun_beginend(ts.desc, length(loopvalues)-i+1)
end
@assert descx !== missing # should be unnecessary, but there was a test below
dryrun_beginend(descx)
end
end
end
end
module ReTestTest
using ..ReTest
@testset "test Test in sub-module" begin
@test 1 == 1
end
end # module ReTestTest
@testset "self test" begin
@assert typeof(@__MODULE__) == Module
@test 1 != 2
retest(ReTestTest)
end
end # module ReTest
| [
21412,
797,
14402,
198,
198,
39344,
1005,
395,
11,
2488,
9288,
2617,
11,
407,
11,
39555,
515,
198,
198,
3500,
4307,
6169,
198,
3500,
7308,
13,
16818,
82,
25,
299,
16663,
82,
198,
11748,
7308,
25,
6624,
198,
3500,
14534,
25,
36273,
28265,
43720,
8841,
198,
198,
2,
422,
6208,
25,
198,
39344,
6208,
11,
198,
220,
220,
220,
2488,
9288,
11,
2488,
9288,
62,
400,
8516,
11,
2488,
9288,
62,
25826,
11,
2488,
9288,
62,
48267,
11,
198,
220,
220,
220,
2488,
9288,
62,
40539,
11,
2488,
9288,
62,
2197,
1501,
11,
198,
220,
220,
220,
2488,
9288,
62,
6404,
82,
11,
2488,
9288,
62,
10378,
31023,
11,
198,
220,
220,
220,
2488,
259,
18186,
11,
198,
220,
220,
220,
4886,
62,
4131,
328,
84,
871,
11,
4886,
62,
403,
7784,
62,
22046,
11,
198,
220,
220,
220,
42044,
10100,
11,
42044,
7248,
11,
42044,
35,
713,
11,
42044,
19182,
11,
42044,
18743,
198,
198,
3500,
6208,
25,
6208,
11,
198,
220,
220,
220,
2488,
9288,
11,
2488,
9288,
62,
400,
8516,
11,
2488,
9288,
62,
25826,
11,
2488,
9288,
62,
48267,
11,
198,
220,
220,
220,
2488,
9288,
62,
40539,
11,
2488,
9288,
62,
2197,
1501,
11,
198,
220,
220,
220,
2488,
9288,
62,
6404,
82,
11,
2488,
9288,
62,
10378,
31023,
11,
198,
220,
220,
220,
2488,
259,
18186,
11,
198,
220,
220,
220,
4886,
62,
4131,
328,
84,
871,
11,
4886,
62,
403,
7784,
62,
22046,
11,
198,
220,
220,
220,
42044,
10100,
11,
42044,
7248,
11,
42044,
35,
713,
11,
42044,
19182,
198,
198,
361,
318,
23211,
7,
14402,
11,
1058,
46189,
18743,
8,
198,
220,
220,
220,
1262,
6208,
25,
42044,
18743,
198,
437,
198,
198,
3500,
554,
1370,
14402,
25,
2488,
9288,
2617,
11,
554,
1370,
14402,
11,
43001,
1961,
62,
33365,
6239,
1546,
11,
3268,
24027,
62,
51,
6465,
198,
11748,
554,
1370,
14402,
25,
1005,
395,
198,
198,
2,
1635,
23939,
357,
3866,
8,
198,
198,
2,
662,
12,
32446,
10186,
329,
779,
287,
1332,
2617,
13,
20362,
198,
198,
397,
8709,
2099,
23939,
886,
198,
8818,
7466,
886,
628,
198,
2,
1635,
3407,
198,
198,
17256,
7203,
26791,
13,
20362,
4943,
198,
17256,
7203,
9288,
2617,
13,
20362,
4943,
198,
17256,
7203,
71,
2926,
441,
13,
20362,
4943,
198,
198,
3500,
764,
14402,
2617,
25,
6208,
2617,
11,
18980,
628,
198,
2,
1635,
23939,
198,
198,
9979,
23939,
55,
796,
4479,
90,
47546,
11,
797,
25636,
11,
34142,
92,
198,
198,
7249,
843,
1279,
25,
23939,
198,
220,
220,
220,
2124,
82,
3712,
38469,
90,
47546,
55,
92,
198,
437,
198,
198,
1870,
3419,
796,
843,
7,
47546,
55,
58,
12962,
198,
392,
7,
34223,
23029,
796,
843,
7,
47546,
55,
58,
15883,
62,
33279,
7,
87,
8,
329,
2124,
287,
2124,
82,
12962,
198,
198,
855,
7,
64,
3712,
1870,
11,
275,
3712,
1870,
8,
796,
257,
13,
34223,
6624,
275,
13,
34223,
198,
198,
7249,
1471,
1279,
25,
23939,
198,
220,
220,
220,
2124,
82,
3712,
23839,
19182,
90,
27,
25,
47546,
55,
92,
198,
437,
198,
198,
5574,
3419,
796,
1471,
7,
47546,
55,
58,
12962,
198,
273,
7,
34223,
23029,
796,
1471,
7,
47546,
55,
58,
15883,
62,
33279,
7,
87,
8,
329,
2124,
287,
2124,
82,
12962,
198,
198,
855,
7,
64,
3712,
5574,
11,
275,
3712,
5574,
8,
796,
257,
13,
34223,
6624,
275,
13,
34223,
198,
198,
7249,
1892,
1279,
25,
23939,
198,
220,
220,
220,
2124,
3712,
47546,
55,
198,
437,
198,
198,
855,
7,
64,
3712,
3673,
11,
275,
3712,
3673,
8,
796,
257,
13,
87,
6624,
275,
13,
87,
198,
198,
37811,
198,
220,
220,
220,
407,
7,
33279,
8,
198,
198,
16447,
281,
2134,
11080,
329,
25431,
5254,
1039,
357,
259,
262,
685,
63,
1186,
395,
63,
16151,
31,
5420,
8,
2163,
828,
198,
4758,
366,
12480,
689,
1,
262,
3616,
286,
4600,
33279,
63,
25,
257,
1332,
2617,
7466,
4600,
1662,
7,
33279,
8,
63,
198,
361,
290,
691,
611,
340,
1595,
470,
2872,
4600,
33279,
44646,
198,
198,
1890,
1672,
4600,
1662,
7203,
64,
4943,
63,
7466,
597,
1332,
2617,
3025,
2426,
1595,
470,
3994,
4600,
1,
64,
1,
47671,
198,
392,
4600,
1662,
7,
16,
25,
18,
8,
63,
7466,
477,
262,
5254,
1039,
475,
262,
717,
1115,
286,
257,
8265,
13,
198,
37811,
198,
1662,
7,
87,
8,
796,
1892,
7,
15883,
62,
33279,
7,
87,
4008,
198,
198,
7249,
4225,
16104,
515,
1279,
25,
23939,
886,
198,
198,
37811,
198,
220,
220,
220,
39555,
515,
198,
198,
29974,
10565,
3912,
543,
7466,
597,
1332,
2617,
3025,
6764,
460,
307,
39555,
515,
198,
1,
301,
4142,
1600,
1312,
13,
68,
13,
379,
25431,
640,
878,
1332,
2617,
389,
1682,
1057,
13,
198,
15419,
12,
259,
2232,
81,
540,
16969,
2291,
883,
7268,
39555,
515,
3815,
198,
4758,
460,
470,
307,
1900,
1566,
1057,
640,
13,
198,
1212,
3912,
468,
281,
1245,
7173,
3519,
284,
326,
286,
262,
4600,
12708,
63,
21179,
198,
1659,
685,
63,
1186,
395,
63,
16151,
31,
5420,
828,
6693,
2174,
11,
543,
318,
2192,
517,
4143,
4465,
13,
198,
198,
2,
21066,
198,
198,
15056,
777,
1332,
2617,
25,
198,
15506,
63,
73,
43640,
198,
31,
9288,
2617,
366,
39605,
1,
15942,
577,
28,
7942,
2221,
198,
220,
220,
220,
2488,
9288,
2081,
198,
220,
220,
220,
8434,
796,
366,
5083,
1,
198,
220,
220,
220,
2488,
9288,
2617,
37082,
3,
5083,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
198,
220,
220,
220,
886,
198,
437,
198,
31,
9288,
2617,
366,
847,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2081,
198,
437,
198,
15506,
63,
198,
1135,
651,
25,
198,
15506,
63,
73,
43640,
198,
73,
43640,
29,
1005,
395,
7203,
847,
1600,
5894,
28,
7942,
8,
198,
13383,
198,
16,
91,
12076,
198,
17,
91,
220,
220,
37082,
3,
7,
5083,
16725,
198,
18,
91,
584,
198,
198,
73,
43640,
29,
1005,
395,
7203,
847,
1600,
5894,
28,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6251,
198,
39605,
220,
220,
930,
220,
220,
220,
220,
220,
352,
198,
847,
220,
220,
930,
220,
220,
220,
220,
220,
352,
198,
13383,
220,
220,
220,
930,
220,
220,
220,
220,
220,
362,
198,
198,
73,
43640,
29,
1005,
395,
7203,
847,
1600,
5894,
28,
7942,
11,
39555,
515,
8,
198,
13383,
198,
18,
91,
584,
198,
15506,
63,
198,
198,
16249,
4600,
3849,
16104,
515,
47671,
4600,
1186,
395,
63,
460,
470,
5409,
379,
25431,
640,
1771,
262,
366,
5083,
1,
198,
9288,
2617,
481,
1057,
11,
523,
1276,
1317,
262,
366,
39605,
1,
1332,
2617,
355,
1719,
284,
1057,
13,
1629,
1057,
198,
2435,
11,
366,
5083,
1,
318,
407,
1057,
780,
340,
1595,
470,
2872,
262,
3912,
11,
475,
366,
39605,
1,
198,
24219,
550,
284,
1057,
284,
5004,
428,
13,
2080,
262,
4600,
3849,
16104,
515,
63,
3912,
11,
366,
5083,
1,
318,
198,
10379,
4400,
503,
290,
4600,
1186,
395,
63,
40573,
691,
5254,
1039,
543,
389,
47746,
1900,
284,
198,
14150,
284,
1057,
13,
198,
198,
2396,
757,
11,
4600,
3849,
16104,
515,
63,
1595,
470,
423,
262,
976,
1245,
379,
25431,
640,
357,
2339,
618,
198,
63,
39140,
28,
7942,
63,
8,
290,
379,
1057,
640,
13,
198,
1890,
1672,
11,
530,
460,
766,
262,
1351,
286,
1729,
12,
3849,
16104,
515,
16969,
355,
5679,
351,
198,
63,
39140,
28,
7942,
47671,
475,
407,
1057,
606,
357,
13893,
2279,
318,
39555,
515,
379,
1057,
640,
2599,
198,
198,
15506,
63,
73,
43640,
198,
73,
43640,
29,
1005,
395,
7,
1662,
7,
3849,
16104,
515,
828,
5894,
28,
7942,
8,
198,
16,
91,
12076,
198,
17,
91,
220,
220,
37082,
3,
7,
5083,
16725,
198,
198,
73,
43640,
29,
1005,
395,
7,
1662,
7,
3849,
16104,
515,
828,
5894,
28,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6251,
198,
13383,
25,
198,
220,
12076,
930,
220,
220,
220,
220,
220,
352,
198,
15506,
63,
198,
198,
21017,
4600,
12708,
63,
21179,
198,
198,
18521,
4600,
3849,
16104,
515,
47671,
262,
4600,
12708,
63,
21179,
286,
4600,
1186,
395,
47671,
618,
4600,
7942,
47671,
198,
10379,
1010,
503,
691,
5254,
1039,
543,
460,
470,
307,
9157,
284,
423,
284,
1057,
379,
25431,
640,
11,
198,
1616,
338,
869,
606,
366,
917,
721,
23321,
1911,
198,
1026,
460,
423,
3360,
262,
976,
1245,
355,
618,
1262,
4600,
3849,
16104,
515,
47671,
198,
68,
13,
70,
13,
4600,
1186,
395,
7203,
847,
1600,
5894,
28,
7942,
11,
9037,
28,
7942,
8,
63,
290,
198,
63,
1186,
395,
7203,
847,
1600,
5894,
28,
7942,
11,
39555,
515,
8,
63,
1577,
262,
976,
1255,
13,
198,
198,
1537,
287,
617,
2663,
356,
1244,
765,
284,
8106,
503,
31210,
5254,
1039,
3025,
198,
11213,
460,
470,
307,
39555,
515,
11,
475,
991,
2291,
883,
543,
389,
198,
49659,
13,
1114,
1672,
11,
7048,
356,
765,
284,
1057,
5254,
1039,
4600,
16,
63,
290,
4600,
17,
47671,
198,
4514,
23494,
584,
5254,
1039,
351,
555,
3849,
16104,
515,
16969,
25,
198,
15506,
63,
73,
43640,
198,
73,
43640,
29,
1005,
395,
7,
16,
25,
17,
11,
5894,
28,
7942,
11,
39555,
515,
8,
198,
13383,
198,
16,
91,
12076,
198,
198,
73,
43640,
29,
1005,
395,
7,
16,
25,
17,
11,
5894,
28,
7942,
11,
9037,
28,
7942,
8,
198,
13383,
198,
16,
91,
12076,
198,
17,
91,
220,
220,
37082,
3,
7,
5083,
16725,
198,
15506,
63,
198,
464,
4610,
351,
4600,
3849,
16104,
515,
63,
318,
407,
644,
356,
765,
11,
355,
356,
5734,
198,
42949,
1332,
2617,
4600,
17,
63,
284,
1057,
13,
11259,
262,
25431,
20640,
357,
63,
16,
25,
17,
63,
994,
828,
198,
1169,
25431,
11862,
460,
5004,
326,
4600,
17,
63,
815,
1057,
772,
996,
198,
896,
6764,
318,
6439,
379,
428,
966,
13,
198,
198,
15056,
257,
25431,
20855,
11,
612,
389,
1115,
1611,
286,
5254,
1039,
25,
198,
9,
366,
917,
721,
23321,
1,
357,
3826,
2029,
8,
198,
9,
366,
15699,
1298,
484,
389,
1900,
47746,
284,
423,
284,
1057,
198,
9,
366,
26601,
963,
1298,
484,
389,
1900,
47746,
284,
407,
423,
284,
1057,
198,
198,
464,
4277,
1988,
286,
262,
4600,
12708,
63,
21179,
318,
4600,
22366,
47671,
543,
1724,
198,
1462,
1057,
5254,
1039,
543,
389,
407,
1900,
351,
18979,
284,
407,
2872,
11,
198,
72,
13,
68,
13,
366,
15699,
1,
290,
366,
917,
721,
23321,
1,
5254,
1039,
13,
198,
1722,
1775,
2029,
11,
618,
4600,
12708,
6624,
2081,
47671,
691,
366,
15699,
1,
5254,
1039,
389,
1057,
13,
198,
2215,
4600,
12708,
6624,
3991,
47671,
262,
4069,
318,
262,
6697,
25,
691,
366,
917,
721,
23321,
1,
198,
41989,
1039,
389,
1057,
13,
198,
5189,
1781,
11,
584,
17790,
7411,
366,
26601,
963,
1,
5254,
1039,
460,
307,
550,
198,
1525,
37556,
262,
25431,
3912,
2884,
685,
63,
1662,
63,
16151,
31,
5420,
737,
198,
198,
1890,
1672,
11,
284,
651,
262,
7548,
284,
262,
4600,
1662,
7,
3849,
16104,
515,
8,
63,
1672,
2029,
11,
198,
4360,
351,
281,
1245,
543,
35545,
379,
1057,
640,
357,
63,
39140,
796,
3991,
63,
828,
198,
5832,
460,
779,
4600,
12708,
796,
3991,
63,
1978,
351,
262,
2872,
12,
439,
40364,
3912,
4600,
81,
1911,
9,
1,
47671,
198,
4758,
481,
1317,
262,
4600,
1,
5083,
1,
63,
1332,
2617,
355,
366,
917,
721,
23321,
1,
198,
7,
1169,
11862,
10104,
82,
4622,
7572,
655,
284,
7564,
262,
2829,
198,
15699,
12,
439,
7572,
4600,
15931,
63,
290,
4600,
81,
15931,
47671,
475,
1839,
470,
4886,
326,
4600,
81,
1911,
9,
1,
63,
561,
198,
15699,
4600,
1,
59,
3,
7,
5083,
16725,
63,
2599,
198,
15506,
63,
73,
43640,
198,
73,
43640,
29,
1005,
395,
7,
81,
1911,
9,
1600,
9037,
28,
9562,
11,
5894,
28,
7942,
8,
198,
13383,
198,
16,
91,
12076,
198,
17,
91,
220,
220,
37082,
3,
7,
5083,
16725,
198,
198,
73,
43640,
29,
1005,
395,
7,
81,
1911,
9,
1600,
9037,
28,
9562,
11,
5894,
28,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6251,
198,
13383,
25,
198,
220,
12076,
220,
220,
220,
930,
220,
220,
220,
220,
220,
362,
198,
220,
220,
220,
8434,
220,
930,
220,
220,
220,
220,
220,
352,
198,
15506,
63,
198,
198,
3198,
1672,
286,
257,
4071,
1339,
810,
257,
1813,
1332,
2617,
318,
407,
287,
257,
2060,
286,
262,
198,
29370,
1115,
9376,
318,
355,
5679,
25,
198,
198,
15506,
63,
73,
43640,
198,
31,
9288,
2617,
366,
64,
1,
2221,
198,
220,
220,
220,
2124,
796,
362,
198,
220,
220,
220,
2488,
9288,
2617,
366,
65,
59,
3,
7,
72,
855,
16,
5633,
352,
1058,
2124,
16725,
329,
1312,
28,
16,
25,
17,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
66,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2426,
318,
366,
15699,
1,
379,
717,
24415,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
366,
917,
721,
23321,
1,
379,
1218,
24415,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
15506,
63,
198,
198,
3198,
1517,
284,
1833,
318,
326,
262,
366,
738,
414,
1,
286,
257,
1332,
2617,
318,
5295,
198,
1525,
257,
1813,
19810,
286,
262,
4600,
31,
9288,
2617,
63,
15021,
13,
554,
262,
1672,
2029,
11,
198,
1640,
2035,
262,
7572,
366,
65,
1,
393,
366,
66,
1600,
262,
734,
8434,
5254,
1039,
389,
1111,
198,
1,
15699,
1,
290,
366,
917,
721,
23321,
1911,
554,
428,
1339,
11,
262,
25431,
11862,
198,
19738,
82,
257,
1332,
2617,
284,
1057,
611,
379,
1551,
530,
24415,
561,
1085,
284,
198,
5661,
2551,
13,
3423,
11,
611,
4600,
12708,
28,
7942,
63,
262,
717,
24415,
198,
19188,
1057,
11,
290,
611,
4600,
12708,
28,
9562,
63,
262,
1218,
24415,
561,
1057,
13,
198,
1212,
2482,
287,
262,
976,
6356,
4232,
262,
1988,
286,
4600,
12708,
63,
318,
13,
198,
37811,
198,
9979,
39555,
515,
796,
4225,
16104,
515,
3419,
198,
198,
33770,
6759,
2052,
7,
8071,
3712,
1870,
8,
796,
477,
7,
33770,
6759,
2052,
11,
1458,
13,
34223,
8,
198,
198,
33770,
6759,
2052,
7,
8071,
3712,
5574,
8,
796,
198,
220,
220,
220,
611,
1458,
13,
34223,
318,
64,
27741,
19182,
90,
27,
25,
46541,
92,
198,
220,
220,
220,
220,
220,
220,
220,
3991,
1303,
2041,
1339,
329,
3236,
4326,
16069,
26,
15726,
11,
428,
23989,
2331,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13114,
11,
1312,
13,
68,
13,
1464,
6759,
2052,
7,
5574,
7,
16,
25,
940,
986,
15,
4008,
318,
6937,
640,
6949,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
475,
319,
14514,
11,
262,
597,
7,
23029,
2174,
2753,
1165,
34160,
890,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
597,
7,
33770,
6759,
2052,
11,
1458,
13,
34223,
8,
198,
220,
220,
220,
886,
198,
198,
33770,
6759,
2052,
7,
3712,
3673,
8,
796,
3991,
198,
33770,
6759,
2052,
7,
3712,
9492,
16104,
515,
8,
796,
3991,
198,
33770,
6759,
2052,
7,
40914,
3712,
3041,
25636,
8,
796,
318,
28920,
7,
40914,
13,
33279,
8,
198,
33770,
6759,
2052,
7,
312,
3712,
46541,
8,
796,
3991,
198,
198,
6759,
2052,
7,
8071,
3712,
1870,
11,
2124,
11,
4686,
8,
796,
477,
7,
79,
4613,
7466,
7,
79,
11,
2124,
11,
4686,
828,
1458,
13,
34223,
8,
198,
198,
6759,
2052,
7,
8071,
3712,
5574,
11,
2124,
11,
4686,
8,
796,
198,
220,
220,
220,
611,
1458,
13,
34223,
318,
64,
27741,
26453,
17257,
90,
27,
25,
46541,
92,
11405,
5288,
7,
8071,
13,
34223,
8,
18189,
657,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
18872,
230,
1458,
13,
34223,
1303,
428,
318,
6436,
1417,
11,
1312,
13,
68,
13,
340,
338,
407,
440,
7,
77,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
597,
7,
79,
4613,
7466,
7,
79,
11,
2124,
11,
4686,
828,
1458,
13,
34223,
8,
198,
220,
220,
220,
886,
198,
198,
6759,
2052,
7,
8071,
3712,
3673,
11,
2124,
11,
4686,
8,
796,
5145,
6759,
2052,
7,
8071,
13,
87,
11,
2124,
11,
4686,
8,
198,
6759,
2052,
7,
3712,
9492,
16104,
515,
11,
2124,
3712,
38176,
90,
43730,
11,
10100,
5512,
4686,
8,
796,
2124,
5145,
855,
4814,
198,
6759,
2052,
7,
40914,
3712,
3041,
25636,
11,
2124,
11,
4808,
8,
796,
8833,
259,
7,
40914,
11,
2124,
8,
198,
6759,
2052,
7,
40914,
3712,
3041,
25636,
11,
7904,
43730,
11,
4808,
8,
796,
1464,
6759,
2052,
7,
40914,
8,
930,
4814,
198,
6759,
2052,
7,
8071,
3712,
46541,
11,
4808,
11,
4686,
8,
796,
1458,
18189,
657,
5633,
1458,
6624,
4686,
1058,
1458,
14512,
532,
312,
198,
198,
15883,
62,
33279,
7,
87,
3712,
47546,
55,
8,
796,
2124,
198,
198,
8818,
787,
62,
33279,
7,
2536,
3712,
23839,
10100,
8,
198,
220,
220,
220,
2469,
796,
3991,
198,
220,
220,
220,
611,
923,
2032,
342,
7,
2536,
11,
705,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
965,
796,
30506,
7,
2536,
11,
1182,
28,
16,
11,
7894,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
9688,
2032,
342,
7,
2536,
11,
705,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2469,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
374,
87,
796,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
15931,
1303,
287,
1502,
284,
760,
284,
2872,
31776,
8736,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
44156,
2849,
18189,
410,
1,
16,
13,
18,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
15931,
72,
1635,
965,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
797,
25636,
7,
2536,
11,
366,
72,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2469,
5633,
407,
7,
40914,
8,
1058,
374,
87,
198,
437,
198,
198,
15883,
62,
33279,
7,
8071,
3712,
23839,
19182,
8,
796,
1471,
7,
47546,
55,
58,
15883,
62,
33279,
7,
79,
8,
329,
279,
287,
1458,
12962,
198,
2,
2041,
1339,
329,
45780,
4326,
12,
81,
6231,
25,
198,
15883,
62,
33279,
7,
8071,
3712,
23839,
19182,
90,
27,
25,
46541,
30072,
796,
1471,
7,
8071,
8,
198,
15883,
62,
33279,
7,
31,
39369,
431,
2413,
1096,
7,
8071,
3712,
51,
29291,
4008,
796,
843,
7,
47546,
55,
58,
15883,
62,
33279,
7,
79,
8,
329,
279,
287,
1458,
12962,
198,
198,
10134,
41433,
7,
3712,
3041,
25636,
8,
796,
3991,
198,
10134,
41433,
7,
3712,
46541,
8,
796,
2081,
198,
10134,
41433,
7,
8071,
3712,
38176,
90,
1870,
11,
5574,
30072,
796,
597,
7,
10134,
41433,
11,
1458,
13,
34223,
8,
198,
10134,
41433,
7,
8071,
3712,
3673,
8,
796,
468,
41433,
7,
8071,
13,
87,
8,
198,
10134,
41433,
7,
3712,
9492,
16104,
515,
8,
796,
3991,
628,
198,
2,
1635,
6208,
2617,
3109,
1050,
198,
198,
14881,
13,
31,
46265,
4299,
4517,
540,
2878,
18634,
198,
220,
220,
220,
15942,
577,
3712,
33,
970,
796,
3991,
1303,
24708,
515,
15942,
16579,
198,
220,
220,
220,
32361,
62,
19011,
577,
3712,
33,
970,
796,
3991,
1303,
15942,
16579,
329,
1306,
1057,
198,
437,
198,
198,
76,
18187,
2878,
6208,
2617,
3109,
1050,
198,
220,
220,
220,
4686,
3712,
5317,
2414,
1303,
3748,
4522,
583,
8265,
357,
2414,
10340,
284,
307,
319,
262,
3338,
1735,
8,
198,
220,
220,
220,
2723,
3712,
13949,
15057,
19667,
198,
220,
220,
220,
953,
3712,
10100,
1303,
13507,
2752,
8265,
198,
220,
220,
220,
1715,
3712,
38176,
90,
10100,
11,
3109,
1050,
92,
198,
220,
220,
220,
3689,
3712,
29046,
198,
220,
220,
220,
1303,
23607,
25,
262,
2656,
9052,
5408,
11,
611,
597,
11,
475,
810,
1123,
4600,
87,
28,
986,
63,
318,
198,
220,
220,
220,
1303,
5954,
503,
656,
257,
15879,
198,
220,
220,
220,
23607,
3712,
38176,
90,
38469,
90,
3109,
1050,
5512,
18465,
92,
198,
220,
220,
220,
2560,
3712,
38176,
90,
14402,
2617,
3109,
1050,
11,
18465,
92,
198,
220,
220,
220,
1751,
3712,
38469,
90,
14402,
2617,
3109,
1050,
92,
198,
220,
220,
220,
13042,
3712,
38469,
90,
38176,
90,
10100,
11,
43730,
11709,
198,
220,
220,
220,
1303,
9052,
27160,
1222,
9052,
270,
364,
25,
618,
4388,
287,
22232,
9052,
3815,
287,
10568,
28265,
198,
220,
220,
220,
1303,
356,
366,
2704,
41769,
1,
262,
28376,
329,
23607,
656,
257,
2060,
9052,
11,
351,
9052,
27160,
198,
220,
220,
220,
1303,
7268,
12777,
2374,
286,
3815,
11,
290,
9052,
270,
364,
262,
12777,
2374,
286,
9633,
284,
543,
262,
198,
220,
220,
220,
1303,
3815,
389,
8686,
198,
220,
220,
220,
9052,
27160,
3712,
38176,
90,
18465,
11,
38469,
90,
7149,
11709,
198,
220,
220,
220,
9052,
270,
364,
3712,
38176,
90,
18465,
11,
3109,
1050,
92,
198,
220,
220,
220,
468,
25826,
3712,
33,
970,
198,
220,
220,
220,
468,
25826,
8344,
3712,
33,
970,
1303,
45115,
468,
25826,
11,
32361,
306,
198,
220,
220,
220,
1057,
3712,
33,
970,
198,
220,
220,
220,
1715,
10394,
3712,
5317,
1303,
3509,
9647,
286,
2116,
290,
1751,
3402,
16969,
198,
220,
220,
220,
1767,
3712,
3109,
1050,
628,
220,
220,
220,
6208,
2617,
3109,
1050,
7,
10459,
11,
953,
11,
1715,
11,
3689,
11,
23607,
11,
2560,
11,
1751,
28,
14402,
2617,
3109,
1050,
58,
12962,
796,
198,
220,
220,
220,
220,
220,
220,
220,
649,
7,
15,
11,
2723,
11,
953,
11,
1715,
11,
3689,
11,
23607,
11,
2560,
11,
1751,
11,
10903,
58,
12962,
198,
437,
198,
198,
271,
1640,
7,
912,
3712,
14402,
2617,
3109,
1050,
8,
796,
40379,
13,
5439,
2840,
5145,
855,
2147,
198,
4468,
1292,
7,
912,
3712,
14402,
2617,
3109,
1050,
8,
796,
318,
28920,
7,
912,
13,
17197,
8,
198,
198,
2,
6330,
555,
22557,
4600,
31,
9288,
2617,
63,
416,
6208,
2617,
3109,
1050,
198,
8818,
6330,
62,
912,
7,
10459,
11,
953,
11,
2124,
3712,
3109,
1050,
11,
2560,
8,
198,
220,
220,
220,
611,
2124,
13,
2256,
24844,
1058,
20285,
12204,
439,
11405,
2124,
13,
22046,
58,
16,
60,
24844,
38357,
7203,
31,
9288,
2617,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
2124,
13,
22046,
58,
17,
60,
318,
64,
6910,
15057,
19667,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
11,
468,
25826,
796,
21136,
62,
912,
7,
10459,
11,
953,
11,
309,
29291,
7,
87,
13,
22046,
58,
18,
25,
437,
46570,
2560,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
5145,
855,
2147,
11405,
4574,
0,
7,
8000,
13,
17197,
11,
40379,
8,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
11,
3991,
1303,
468,
25826,
9853,
691,
366,
1676,
525,
1,
2488,
9288,
62,
25826,
11,
407,
45115,
3392,
198,
220,
220,
220,
2073,
361,
2124,
13,
2256,
24844,
1058,
20285,
12204,
439,
11405,
2124,
13,
22046,
58,
16,
60,
24844,
38357,
7203,
31,
9288,
62,
25826,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
2081,
198,
220,
220,
220,
2073,
361,
2124,
13,
2256,
6624,
1058,
13345,
11405,
2124,
13,
22046,
58,
16,
60,
6624,
1058,
17256,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
2124,
13,
22046,
58,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2723,
6978,
796,
26672,
3672,
7,
8841,
7,
10459,
13,
7753,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
13,
22046,
58,
437,
60,
796,
3108,
318,
64,
27741,
10100,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4654,
6978,
7,
10459,
6978,
11,
3108,
8,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36147,
22179,
6978,
16763,
10459,
6978,
11,
720,
6978,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
3991,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1767,
62,
1671,
796,
3975,
7,
89,
4613,
6330,
62,
912,
7,
10459,
11,
953,
11,
1976,
11,
2560,
828,
2124,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1475,
1050,
7,
87,
13,
2256,
11,
717,
12195,
2618,
62,
1671,
26513,
828,
597,
7,
12957,
12195,
2618,
62,
1671,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
33491,
62,
912,
7,
10459,
11,
953,
11,
2124,
11,
4808,
8,
796,
2124,
11,
3991,
198,
198,
2,
2251,
257,
6208,
2617,
3109,
1050,
422,
2488,
9288,
2617,
338,
26498,
198,
8818,
21136,
62,
912,
7,
10459,
11,
953,
11,
26498,
3712,
51,
29291,
11,
2560,
28,
22366,
8,
198,
220,
220,
220,
1957,
1715,
198,
220,
220,
220,
3689,
796,
18634,
3419,
198,
220,
220,
220,
329,
1822,
287,
26498,
58,
16,
25,
437,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
64,
10903,
8614,
30277,
13,
786,
87,
1050,
7,
853,
11,
1058,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
1822,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
30277,
13,
786,
87,
1050,
7,
853,
11,
36147,
28,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
13,
22046,
58,
16,
60,
287,
2214,
14933,
7,
29046,
8,
8614,
4049,
7203,
403,
15999,
2488,
9288,
2617,
3038,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
787,
326,
670,
351,
1729,
12,
17201,
874,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
3245,
0,
7,
25811,
11,
1822,
13,
22046,
58,
16,
4357,
1822,
13,
22046,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
403,
15999,
2488,
9288,
2617,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1767,
796,
26498,
58,
437,
60,
198,
220,
220,
220,
318,
64,
7,
2618,
11,
1475,
1050,
8,
8614,
4049,
7203,
3109,
7254,
2221,
14,
437,
2512,
393,
329,
9052,
355,
4578,
284,
2488,
9288,
2617,
4943,
198,
220,
220,
220,
611,
1767,
13,
2256,
24844,
1058,
1640,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
2618,
796,
1767,
13,
22046,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
1767,
13,
22046,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
23607,
13,
2256,
6624,
36147,
28,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
1475,
1050,
58,
5439,
2840,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
23607,
13,
2256,
6624,
1058,
9967,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
477,
7,
853,
4613,
30277,
13,
786,
87,
1050,
7,
853,
11,
36147,
28,
36911,
23607,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
23607,
13,
22046,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
31,
271,
23211,
7,
20147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
796,
23607,
58,
16,
4083,
22046,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
1475,
1050,
7,
25,
8841,
11,
366,
272,
5177,
29568,
25192,
8841,
10786,
15,
10354,
6,
24,
11537,
2599,
720,
85,
796,
33172,
410,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
796,
23607,
58,
17,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
796,
300,
13,
22046,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
20147,
13,
22046,
11,
33172,
720,
85,
796,
33172,
410,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
1767,
13,
2256,
24844,
1058,
9967,
198,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
2618,
796,
1767,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
31,
271,
23211,
7,
20147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
366,
272,
5177,
29568,
25192,
8841,
10786,
15,
10354,
6,
24,
6,
4008,
1,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
3109,
7254,
2221,
14,
437,
2512,
393,
329,
9052,
355,
4578,
284,
2488,
9288,
2617,
4943,
198,
220,
220,
220,
886,
628,
220,
220,
220,
40379,
796,
6208,
2617,
3109,
1050,
7,
10459,
11,
953,
11,
1715,
11,
3689,
11,
23607,
11,
2560,
8,
198,
220,
220,
220,
40379,
13,
2618,
11,
40379,
13,
10134,
25826,
796,
6330,
62,
912,
7,
10459,
11,
953,
11,
40379,
2618,
11,
40379,
8,
198,
220,
220,
220,
40379,
11,
3991,
1303,
468,
25826,
9853,
691,
366,
1676,
525,
1,
2488,
9288,
62,
25826,
11,
407,
45115,
3392,
198,
437,
628,
198,
2,
428,
2163,
857,
513,
1243,
416,
1016,
664,
1834,
2280,
832,
28376,
5254,
1039,
25,
198,
2,
532,
4296,
40379,
13,
10134,
25826,
8344,
284,
760,
1771,
356,
3601,
262,
366,
25826,
1,
5721,
198,
2,
532,
24061,
40379,
13,
20147,
10394,
11,
284,
760,
262,
4045,
19114,
286,
262,
717,
11723,
2318,
198,
2,
220,
220,
357,
8807,
2622,
618,
15942,
577,
318,
1588,
1576,
8,
198,
2,
532,
262,
749,
1593,
25,
29407,
503,
543,
5254,
1039,
1276,
307,
1057,
198,
2,
220,
220,
357,
392,
287,
262,
1429,
11,
662,
5589,
1133,
16969,
618,
1744,
11,
290,
32373,
8,
198,
2,
198,
2,
1482,
41981,
262,
938,
966,
11,
356,
423,
262,
1708,
14693,
351,
198,
2,
257,
1180,
13110,
11,
6906,
319,
262,
1988,
286,
4600,
301,
2012,
63,
25,
198,
2,
198,
2,
3991,
8,
355,
340,
338,
2192,
4071,
326,
257,
797,
25636,
7466,
257,
1813,
1332,
2617,
475,
407,
663,
198,
2,
1751,
357,
292,
287,
374,
1,
64,
3,
1,
329,
262,
7481,
12813,
64,
1,
290,
12813,
64,
14,
65,
12340,
290,
287,
1502,
284,
4646,
198,
2,
262,
31350,
3440,
286,
10568,
28265,
1752,
257,
1332,
2617,
318,
1043,
284,
423,
284,
1057,
11,
198,
2,
663,
1751,
389,
6338,
9672,
284,
423,
284,
1057,
26,
262,
3376,
25431,
198,
2,
481,
788,
1645,
691,
329,
2457,
5254,
1039,
13,
383,
43585,
318,
257,
2526,
329,
198,
2,
517,
23340,
621,
3306,
11,
290,
18359,
19124,
981,
23710,
198,
2,
1751,
5254,
1039,
13,
198,
2,
198,
2,
2081,
8,
257,
1332,
2617,
1043,
284,
423,
284,
1057,
1595,
470,
2700,
663,
1751,
284,
1057,
13,
198,
2,
383,
43585,
318,
517,
36049,
5509,
6155,
290,
517,
4731,
28488,
13,
198,
198,
8818,
10568,
0,
7,
4666,
3712,
26796,
11,
40379,
3712,
14402,
2617,
3109,
1050,
11,
1458,
3712,
47546,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7097,
3848,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
3712,
5317,
11,
4686,
3712,
5317,
2414,
11,
7646,
3712,
33,
970,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9037,
3712,
38176,
90,
33,
970,
11,
18465,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
691,
45115,
3848,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2700,
3712,
33,
970,
28,
9562,
11,
3402,
3712,
33,
970,
28,
7942,
11,
6795,
3712,
5317,
28,
15,
8,
628,
220,
220,
220,
13042,
796,
6565,
0,
7,
912,
13,
37336,
8,
198,
220,
220,
220,
1715,
796,
40379,
13,
20147,
198,
220,
220,
220,
40379,
13,
5143,
796,
2700,
930,
357,
12708,
5145,
855,
3991,
8,
1222,
1464,
6759,
2052,
7,
8071,
8,
198,
220,
220,
220,
40379,
13,
26268,
27160,
796,
2147,
1303,
13114,
5633,
198,
220,
220,
220,
40379,
13,
26268,
270,
364,
796,
2147,
198,
220,
220,
220,
611,
40379,
13,
312,
14512,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
40379,
13,
312,
6624,
4686,
198,
220,
220,
220,
886,
198,
220,
220,
220,
40379,
13,
312,
796,
4686,
198,
220,
220,
220,
4686,
15853,
352,
628,
220,
220,
220,
2560,
2536,
82,
796,
40379,
13,
8000,
24844,
2147,
5633,
14631,
8973,
1058,
40379,
13,
8000,
13,
37336,
198,
220,
220,
220,
40379,
13,
20147,
10394,
796,
657,
198,
220,
220,
220,
40379,
13,
25811,
13,
7645,
1153,
62,
19011,
577,
796,
3402,
1222,
14808,
19011,
577,
1875,
352,
8,
930,
40379,
13,
25811,
13,
19011,
577,
8,
628,
220,
220,
220,
1303,
16926,
46,
25,
2192,
645,
761,
284,
5418,
262,
16969,
618,
484,
1839,
470,
307,
3402,
198,
220,
220,
220,
1303,
290,
40379,
13,
5143,
6624,
2081,
628,
220,
220,
220,
1715,
10394,
7,
20147,
8,
796,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1715,
5145,
855,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
10394,
7,
20147,
8,
1343,
362,
9,
18053,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
9647,
284,
257,
2793,
5421,
284,
4646,
2984,
282,
16747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
9,
18053,
1343,
3509,
7,
21,
11,
1303,
1577,
379,
1551,
718,
9029,
329,
262,
2219,
1339,
286,
257,
3748,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
445,
7234,
7,
28200,
40379,
13,
20147,
13,
22046,
8,
466,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
636,
318,
64,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
10394,
7,
3911,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
604,
1303,
1577,
604,
9029,
329,
6439,
4731,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
2163,
5409,
7,
7266,
73,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
7466,
7,
8071,
11,
850,
73,
11,
40379,
13,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
262,
11040,
11,
4634,
4600,
82,
796,
1223,
7,
12708,
11,
4814,
8,
47671,
612,
389,
1178,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
366,
687,
25283,
1,
284,
24061,
262,
1255,
1231,
4600,
361,
47671,
475,
1262,
691,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
1073,
2040,
344,
11,
930,
11,
1222,
11,
6624,
11,
14512,
11,
24844,
11,
5145,
855,
11,
357,
64,
11,
65,
8,
4613,
257,
11,
357,
64,
11,
65,
8,
4613,
275,
11,
357,
64,
11,
65,
8,
4613,
5145,
64,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
64,
11,
65,
8,
4613,
5145,
65,
44646,
383,
35581,
32126,
6211,
642,
884,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5499,
4600,
12463,
63,
290,
389,
286,
262,
1296,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
69,
16,
7,
69,
17,
7,
82,
11,
285,
828,
277,
18,
7,
69,
19,
7,
82,
11,
285,
828,
277,
20,
7,
82,
11,
285,
22305,
47671,
612,
389,
546,
257,
8667,
286,
606,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
4480,
49052,
780,
286,
5499,
40686,
737,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
262,
8136,
423,
4600,
69,
16,
6624,
357,
18604,
8,
47671,
290,
262,
642,
24043,
6211,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
7,
64,
11,
275,
8,
4613,
275,
47671,
523,
691,
604,
25912,
5499,
389,
1107,
2622,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
46064,
344,
7,
82,
6624,
285,
11,
285,
8,
24844,
264,
930,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
357,
1073,
2040,
344,
7,
82,
11,
285,
8,
6624,
285,
8,
24844,
264,
930,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
46064,
344,
7,
82,
11,
285,
8,
930,
5145,
76,
24844,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
46064,
344,
7,
82,
11,
285,
8,
930,
357,
82,
6624,
285,
8,
24844,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
357,
1073,
2040,
344,
7,
82,
11,
285,
8,
6624,
357,
82,
930,
285,
4008,
220,
24844,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9022,
530,
318,
262,
749,
21977,
30,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
30218,
13,
262,
2393,
366,
44374,
14,
12501,
485,
62,
687,
25283,
13,
20362,
1,
329,
262,
33908,
12,
3174,
11862,
198,
220,
220,
220,
220,
220,
220,
220,
611,
9037,
24844,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
24844,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46064,
344,
7,
76,
11,
9037,
5145,
855,
2081,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
23607,
796,
40379,
13,
5439,
2840,
198,
220,
220,
220,
611,
23607,
24844,
2147,
8614,
1715,
318,
64,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
3863,
11,
329,
1332,
2617,
12,
1640,
290,
5145,
7,
20147,
318,
64,
10903,
828,
991,
1949,
428,
8478,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
1339,
262,
262,
39555,
341,
460,
307,
12939,
5176,
284,
257,
3298,
12765,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
72,
13,
68,
13,
262,
6764,
1595,
470,
4745,
319,
9052,
9633,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
7,
20147,
318,
64,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
24061,
1715,
691,
618,
5145,
912,
13,
5143,
357,
72,
13,
68,
13,
340,
2492,
470,
4137,
8,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
7231,
13,
18206,
7,
4666,
11,
1715,
2599,
25,
10100,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4929,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3402,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
10394,
796,
1715,
10394,
7,
20147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
329,
965,
287,
2560,
2536,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5145,
301,
2012,
11405,
40379,
13,
5143,
11405,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
796,
965,
1635,
12813,
1,
1635,
1715,
1303,
16926,
46,
25,
3494,
1635,
7,
3712,
43730,
11,
7904,
12441,
8,
287,
7308,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
930,
28,
649,
24844,
4814,
1303,
2058,
2035,
422,
1715,
393,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
5143,
796,
40379,
13,
5143,
8614,
5409,
7,
3605,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
11405,
965,
24844,
4814,
8614,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
37336,
11,
649,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
1303,
356,
423,
257,
1332,
2617,
12,
1640,
351,
6764,
543,
2476,
39555,
341,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
796,
7499,
198,
220,
220,
220,
220,
220,
220,
220,
9052,
270,
364,
796,
1475,
1050,
7,
25,
83,
29291,
11,
357,
853,
13,
22046,
58,
16,
60,
329,
1822,
287,
23607,
8,
23029,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
761,
284,
13446,
7323,
262,
1708,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2124,
82,
5235,
796,
1475,
1050,
7,
25,
785,
3866,
5135,
295,
11,
1475,
1050,
7,
25,
8612,
1352,
11,
9052,
270,
364,
11,
23607,
986,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
475,
257,
35915,
5408,
5860,
281,
7177,
11,
1312,
13,
68,
13,
9052,
9633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
460,
470,
4745,
319,
2180,
3392,
26,
262,
3376,
835,
318,
4361,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5678,
28376,
27298,
45096,
351,
257,
1058,
2704,
41769,
1475,
1050,
11,
393,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2391,
5678,
3264,
257,
329,
12,
26268,
355,
2174,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
824,
4948,
796,
308,
641,
4948,
3419,
1303,
284,
407,
2526,
284,
9082,
257,
3298,
7885,
319,
543,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
24415,
5408,
8338,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
5235,
796,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
720,
87,
824,
4948,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29568,
3109,
1050,
7,
25,
1640,
11,
1475,
1050,
7,
25,
9967,
11,
23607,
986,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1475,
1050,
7,
25,
13345,
11,
1475,
1050,
7,
25,
1539,
1058,
14881,
11,
19879,
19667,
7,
25,
14689,
8133,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
824,
4948,
11,
9052,
270,
364,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
720,
87,
824,
4948,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
796,
7231,
13,
18206,
7,
4666,
11,
2124,
82,
5235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
2124,
82,
318,
64,
20650,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
26268,
27160,
796,
2124,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
26268,
270,
364,
796,
9052,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
4929,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
2124,
82,
6624,
7499,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
10394,
796,
3402,
5633,
1715,
10394,
7,
45688,
8,
1058,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
5143,
796,
40379,
13,
5143,
8614,
5409,
7,
45688,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2124,
287,
2124,
82,
1303,
6565,
9052,
611,
5418,
2029,
9617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
87,
796,
5418,
62,
20147,
7,
4666,
11,
40379,
11,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3402,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
10394,
796,
3509,
7,
912,
13,
20147,
10394,
11,
1715,
10394,
7,
20147,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
301,
2012,
11405,
40379,
13,
5143,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
42579,
1303,
645,
761,
284,
24061,
8840,
1715,
87,
284,
4296,
40379,
13,
20147,
10394,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
965,
287,
2560,
2536,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5145,
301,
2012,
11405,
40379,
13,
5143,
11405,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
796,
965,
1635,
12813,
1,
1635,
1715,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
930,
28,
649,
24844,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
5143,
796,
40379,
13,
5143,
8614,
5409,
7,
3605,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
45688,
11405,
965,
24844,
4814,
8614,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
37336,
11,
649,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1057,
796,
40379,
13,
5143,
198,
220,
220,
220,
40379,
13,
10134,
25826,
8344,
796,
40379,
13,
10134,
25826,
628,
220,
220,
220,
329,
256,
1416,
287,
40379,
13,
17197,
198,
220,
220,
220,
220,
220,
220,
220,
1057,
66,
11,
4686,
796,
10568,
0,
7,
4666,
11,
256,
1416,
11,
1458,
11,
2700,
796,
5145,
301,
2012,
11405,
40379,
13,
5143,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3402,
28,
42579,
1222,
40379,
13,
25811,
13,
7645,
1153,
62,
19011,
577,
11,
9037,
28,
12708,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6795,
28,
18053,
10,
16,
11,
15942,
577,
28,
19011,
577,
12,
16,
11,
4686,
28,
312,
11,
7646,
28,
301,
2012,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1057,
930,
28,
1057,
66,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
10394,
796,
3509,
7,
912,
13,
20147,
10394,
11,
256,
1416,
13,
20147,
10394,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
256,
1416,
13,
5143,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
10134,
25826,
8344,
930,
28,
256,
1416,
13,
10134,
25826,
8344,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
5145,
5143,
8614,
5145,
42579,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
10394,
796,
657,
198,
220,
220,
220,
886,
198,
220,
220,
220,
40379,
13,
5143,
796,
1057,
198,
220,
220,
220,
1057,
11,
4686,
198,
437,
198,
198,
18206,
62,
20147,
7,
4666,
11,
40379,
11,
2124,
8,
796,
198,
220,
220,
220,
611,
40379,
13,
20147,
318,
64,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
20147,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7231,
13,
18206,
7,
4666,
11,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
29568,
912,
13,
26268,
270,
364,
8,
796,
720,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29568,
912,
13,
20147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
2599,
25,
10100,
198,
220,
220,
220,
220,
220,
220,
220,
4929,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
198,
2,
10385,
257,
6208,
2617,
3109,
1050,
656,
281,
1682,
1057,
77,
540,
1332,
2617,
198,
8818,
787,
62,
912,
7,
912,
3712,
14402,
2617,
3109,
1050,
11,
1458,
3712,
47546,
11,
9756,
11,
442,
272,
8,
198,
220,
220,
220,
40379,
13,
5143,
8614,
1441,
2147,
628,
220,
220,
220,
611,
318,
20311,
7,
912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1767,
796,
40379,
13,
2618,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1767,
796,
787,
62,
912,
7,
912,
13,
2618,
11,
1458,
11,
9756,
11,
442,
272,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
611,
40379,
13,
5439,
2840,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
29568,
912,
13,
4666,
8,
29568,
4468,
1292,
7,
912,
4008,
720,
8071,
29568,
912,
13,
312,
8,
29568,
912,
13,
20147,
8,
29568,
912,
13,
25811,
8,
720,
34242,
720,
3147,
720,
2618,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
269,
796,
954,
7,
87,
4613,
2124,
24844,
2147,
11,
357,
912,
13,
26268,
27160,
11,
40379,
13,
26268,
270,
364,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
269,
6624,
657,
8614,
269,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
611,
269,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
685,
3109,
1050,
7,
37498,
28,
828,
40379,
13,
26268,
270,
364,
11,
40379,
13,
26268,
27160,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23607,
796,
40379,
13,
5439,
2840,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
29568,
912,
13,
4666,
8,
29568,
4468,
1292,
7,
912,
4008,
720,
8071,
29568,
912,
13,
312,
8,
29568,
912,
13,
20147,
8,
29568,
912,
13,
25811,
8,
720,
34242,
720,
3147,
720,
5439,
2840,
720,
2618,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
198,
15883,
62,
912,
7,
87,
11,
1458,
11,
4808,
11,
4808,
8,
796,
2124,
198,
15883,
62,
912,
7,
1069,
3712,
3109,
1050,
11,
1458,
11,
9756,
11,
442,
272,
8,
796,
198,
220,
220,
220,
1475,
1050,
7,
1069,
13,
2256,
11,
3975,
7,
87,
4613,
787,
62,
912,
7,
87,
11,
1458,
11,
9756,
11,
442,
272,
828,
409,
13,
22046,
8,
23029,
198,
198,
2,
10385,
8246,
5254,
422,
554,
1370,
14402,
656,
6208,
2617,
3109,
1050,
5254,
11,
290,
5412,
6993,
799,
278,
198,
8818,
2325,
265,
316,
3558,
0,
7,
4666,
3712,
26796,
11,
32597,
3712,
33,
970,
8,
198,
220,
220,
220,
5254,
11,
1705,
11,
3975,
796,
554,
1370,
14402,
13,
1136,
62,
41989,
7,
4666,
8,
198,
220,
220,
220,
1303,
670,
12,
14145,
3092,
286,
6149,
12,
11600,
198,
220,
220,
220,
1303,
3975,
25,
356,
1394,
691,
262,
3452,
2196,
286,
257,
1332,
379,
257,
1813,
4067,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
284,
307,
5416,
786,
12,
13120,
357,
3137,
281,
23162,
339,
27915,
8,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
4556,
32597,
318,
2081,
26,
611,
1568,
319,
32597,
318,
3991,
11,
356,
49312,
691,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
262,
938,
2196,
26,
815,
356,
12233,
477,
286,
262,
6300,
287,
428,
1339,
30,
198,
220,
220,
220,
329,
357,
912,
22046,
11,
2723,
8,
287,
1705,
198,
220,
220,
220,
220,
220,
220,
220,
40379,
11,
468,
25826,
796,
21136,
62,
912,
7,
10459,
11,
4731,
7,
4666,
828,
40379,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
651,
0,
7,
8899,
11,
40379,
13,
20147,
11,
4129,
7,
41989,
8,
1343,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
87,
6624,
4129,
7,
41989,
8,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
41989,
11,
40379,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
646,
79,
11405,
5145,
7,
18218,
786,
62,
35339,
312,
3419,
287,
8251,
7,
14881,
13,
14578,
62,
18170,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
40379,
13,
20147,
318,
64,
10903,
5633,
4731,
10786,
1,
3256,
40379,
13,
20147,
11,
705,
1,
11537,
1058,
40379,
13,
20147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2723,
796,
4731,
7,
912,
13,
10459,
13,
7753,
11,
705,
25,
3256,
40379,
13,
10459,
13,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
646,
489,
5344,
6764,
329,
2488,
9288,
2617,
11,
6993,
799,
278,
25,
720,
20147,
379,
720,
10459,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
32597,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
41989,
11,
40379,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
58,
912,
13,
20147,
60,
796,
4129,
7,
41989,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5254,
58,
312,
87,
60,
796,
40379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
6565,
0,
7,
10827,
8,
198,
220,
220,
220,
5254,
198,
437,
198,
198,
18218,
786,
62,
35339,
312,
3419,
796,
7308,
13,
47,
10025,
7390,
7,
14881,
13,
52,
27586,
7203,
25710,
1878,
1270,
69,
12,
68,
19,
324,
12,
46096,
65,
12,
23,
4089,
18,
12,
405,
19420,
66,
17,
64,
18,
11231,
12340,
366,
18009,
786,
4943,
198,
198,
1,
13635,
276,
3858,
355,
45203,
7159,
286,
4600,
1186,
395,
63,
1,
198,
9979,
20559,
6030,
796,
4479,
90,
26796,
11,
47546,
55,
11,
23839,
10100,
11,
23839,
19182,
11,
51,
29291,
11,
13940,
23650,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39645,
90,
26796,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1279,
25,
38176,
90,
47546,
55,
11,
23839,
10100,
11,
23839,
19182,
11,
51,
29291,
42535,
198,
198,
37811,
198,
220,
220,
220,
1005,
395,
7,
4666,
986,
11,
3912,
986,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
3712,
33,
970,
28,
9562,
11,
9756,
3712,
33,
970,
28,
9562,
11,
15942,
577,
3712,
15633,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
312,
3712,
33,
970,
4357,
36273,
3712,
33,
970,
28,
9562,
11,
45115,
3712,
33,
970,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9037,
3712,
38176,
90,
33,
970,
11,
18465,
92,
28,
22366,
11,
32597,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3440,
3712,
33,
970,
28,
9562,
8,
198,
198,
10987,
5254,
6875,
351,
685,
63,
31,
9288,
2617,
63,
16151,
31,
5420,
8,
7021,
11,
1626,
13103,
4600,
4666,
63,
611,
7368,
11,
198,
273,
1626,
477,
3058,
9639,
13103,
4306,
13,
198,
2215,
645,
4600,
33279,
63,
82,
389,
7368,
11,
477,
262,
5254,
389,
1057,
13,
198,
198,
21017,
7383,
10879,
198,
198,
9,
1002,
4600,
39140,
63,
318,
4600,
7942,
47671,
836,
470,
1682,
1057,
262,
5254,
11,
655,
3601,
262,
16969,
198,
220,
286,
262,
5254,
1039,
543,
561,
357,
18302,
31303,
8,
1057,
13,
198,
9,
1002,
4600,
34242,
63,
318,
4600,
7942,
47671,
3601,
617,
640,
14,
31673,
7869,
329,
1123,
1332,
2617,
13,
198,
9,
1002,
7368,
11,
4600,
19011,
577,
63,
1276,
307,
281,
18253,
393,
4600,
18943,
63,
12739,
262,
46282,
1241,
198,
220,
286,
5254,
1039,
3025,
2482,
1276,
307,
10398,
357,
5661,
318,
7548,
284,
4375,
262,
198,
220,
4600,
19011,
577,
28,
7942,
63,
23025,
284,
11188,
5254,
1039,
1776,
262,
4277,
4069,
198,
220,
357,
63,
7942,
63,
393,
4600,
16,
63,
8,
24866,
284,
13570,
262,
1255,
286,
1353,
12,
5715,
5254,
1039,
13,
198,
9,
1002,
4600,
312,
63,
318,
4600,
7942,
47671,
257,
3748,
357,
525,
8265,
8,
18253,
4522,
318,
10398,
1306,
284,
1123,
1332,
2617,
11,
198,
220,
543,
460,
307,
973,
329,
25431,
13,
383,
4277,
1988,
286,
4600,
312,
63,
8338,
319,
584,
3689,
13,
198,
9,
1002,
4600,
1477,
18137,
63,
318,
4600,
7942,
47671,
36273,
262,
1502,
287,
543,
1353,
12,
5715,
5254,
1039,
1626,
198,
220,
257,
1813,
8265,
389,
1057,
11,
355,
880,
355,
262,
1351,
286,
3804,
13103,
13,
198,
9,
1002,
4600,
8344,
30753,
63,
318,
4600,
7942,
47671,
262,
5254,
329,
477,
262,
45115,
850,
18170,
286,
198,
220,
262,
3804,
13103,
4600,
4666,
63,
389,
635,
1057,
13,
198,
9,
383,
4600,
12708,
63,
21179,
6973,
5254,
1039,
25431,
25,
611,
4600,
7942,
47671,
691,
5254,
1039,
198,
220,
543,
389,
1900,
284,
2872,
366,
301,
4142,
1,
262,
3804,
7572,
11,
1312,
13,
68,
13,
379,
25431,
198,
220,
640,
11,
389,
1057,
13,
4091,
2205,
8841,
286,
685,
63,
3849,
16104,
515,
63,
16151,
31,
5420,
8,
329,
517,
3307,
13,
198,
9,
1002,
4600,
646,
79,
63,
318,
4600,
7942,
47671,
3294,
284,
1154,
626,
5254,
1039,
460,
423,
262,
976,
198,
220,
6764,
13,
1002,
4600,
9562,
47671,
691,
262,
938,
1332,
2617,
286,
257,
366,
646,
489,
5344,
1448,
1,
318,
198,
220,
4030,
13,
383,
4277,
318,
4600,
9562,
63,
287,
1502,
284,
7898,
1719,
3748,
198,
220,
16969,
357,
1904,
913,
329,
25431,
8,
475,
635,
290,
4632,
284,
711,
880,
351,
198,
220,
4600,
18009,
786,
44646,
770,
21179,
8991,
691,
284,
8308,
2087,
5254,
1039,
1201,
262,
938,
198,
220,
1057,
13,
198,
9,
1649,
4600,
2220,
63,
318,
4600,
7942,
47671,
329,
1123,
5301,
8265,
4600,
5841,
63,
543,
318,
6163,
11,
4600,
1186,
395,
63,
198,
220,
6370,
284,
635,
2922,
257,
11188,
4600,
13383,
13,
5841,
51,
3558,
63,
8265,
351,
262,
198,
220,
976,
3912,
20855,
11,
4556,
884,
8265,
318,
1541,
11777,
198,
220,
3804,
355,
281,
4578,
13,
1002,
428,
1332,
8265,
1595,
470,
1541,
2152,
11,
198,
220,
4600,
1186,
395,
63,
6370,
717,
284,
2291,
656,
4600,
13383,
63,
262,
11188,
1332,
2393,
198,
220,
366,
9288,
14,
5841,
51,
3558,
13,
20362,
1,
543,
318,
9672,
11,
611,
340,
7160,
11,
284,
8160,
4600,
5841,
51,
3558,
44646,
628,
198,
21017,
7066,
20212,
198,
198,
1026,
338,
1744,
284,
8106,
1057,
5254,
1039,
416,
31577,
530,
393,
3294,
4600,
33279,
63,
82,
13,
198,
32,
1332,
2617,
318,
11462,
284,
1057,
691,
611,
340,
366,
6759,
2052,
1,
477,
3804,
7572,
357,
1102,
73,
4575,
737,
198,
6104,
611,
257,
1332,
2617,
318,
1057,
11,
663,
28376,
5254,
1039,
1244,
407,
1057,
611,
484,
836,
470,
2872,
198,
1169,
7572,
13,
198,
24606,
611,
257,
1332,
2617,
318,
1057,
11,
663,
13507,
2752,
1332,
2617,
11,
611,
597,
11,
635,
468,
284,
1057,
198,
7,
16670,
407,
6646,
12142,
2280,
11,
1312,
13,
68,
13,
584,
28376,
5254,
1039,
198,
44092,
307,
29083,
503,
737,
198,
198,
32,
4600,
33279,
63,
460,
307,
257,
4731,
11,
257,
4600,
3041,
25636,
47671,
281,
18253,
11,
281,
7177,
393,
257,
46545,
13,
198,
1890,
257,
1332,
2617,
284,
366,
15699,
1,
281,
7177,
11,
340,
1276,
2872,
379,
1551,
530,
286,
663,
4847,
357,
6381,
73,
4575,
737,
198,
2514,
2872,
257,
46545,
11,
340,
1276,
2872,
477,
286,
663,
4847,
357,
1102,
73,
4575,
737,
198,
2514,
2872,
281,
18253,
11,
663,
4522,
1276,
307,
4961,
284,
428,
18253,
357,
12993,
13,
262,
4600,
312,
63,
21179,
737,
198,
198,
32,
3912,
460,
635,
307,
262,
366,
12480,
341,
1,
286,
257,
3912,
11,
2884,
262,
685,
63,
1662,
63,
16151,
31,
5420,
8,
2163,
11,
198,
4758,
3578,
284,
19607,
5254,
1039,
422,
852,
1057,
13,
198,
1722,
257,
2041,
1339,
11,
262,
2469,
341,
286,
281,
18253,
460,
307,
6241,
355,
663,
34768,
198,
12480,
341,
11,
304,
13,
70,
13,
4600,
1662,
7,
18,
8,
63,
318,
7548,
284,
4600,
12,
18,
44646,
198,
198,
32,
3912,
460,
635,
307,
262,
685,
63,
3849,
16104,
515,
63,
16151,
31,
5420,
8,
2060,
1122,
2134,
11,
30218,
13,
663,
2205,
8841,
13,
198,
198,
21017,
4600,
3041,
25636,
63,
25431,
198,
198,
464,
366,
32796,
1,
286,
257,
1332,
2617,
318,
262,
1673,
36686,
341,
286,
262,
2426,
286,
663,
2560,
4600,
31,
9288,
2617,
47671,
198,
361,
597,
11,
351,
4600,
1,
14,
59,
3,
11213,
1,
63,
810,
4600,
11213,
63,
318,
262,
1332,
2617,
338,
6764,
13,
198,
1890,
1672,
25,
198,
15506,
63,
73,
43640,
198,
31,
9288,
2617,
366,
64,
1,
2221,
1303,
2426,
6624,
12813,
64,
1,
198,
220,
220,
220,
2488,
9288,
2617,
366,
65,
1,
2221,
1303,
2426,
318,
12813,
64,
14,
65,
1,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
9288,
2617,
366,
66,
59,
3,
72,
1,
329,
1312,
28,
16,
25,
17,
1303,
7481,
389,
12813,
64,
14,
66,
16,
1,
1222,
12813,
64,
14,
66,
17,
1,
198,
220,
220,
220,
886,
198,
437,
198,
15506,
63,
198,
198,
2215,
4600,
33279,
63,
318,
64,
257,
4600,
3041,
25636,
47671,
257,
1332,
2617,
318,
11462,
284,
1057,
691,
618,
663,
2426,
198,
7466,
4600,
33279,
44646,
198,
24606,
11,
772,
611,
257,
1332,
2617,
7466,
357,
68,
13,
70,
13,
12813,
64,
1,
2029,
351,
4600,
33279,
6624,
374,
1,
64,
59,
3,
1,
63,
828,
198,
896,
28376,
5254,
1039,
1244,
307,
29083,
503,
611,
484,
836,
470,
635,
2872,
198,
7,
68,
13,
70,
13,
366,
64,
14,
65,
1,
1595,
470,
2872,
4600,
33279,
63,
737,
198,
198,
1532,
257,
3804,
4600,
33279,
63,
318,
257,
4731,
11,
788,
340,
318,
12908,
287,
257,
4600,
3041,
25636,
63,
351,
262,
198,
1,
7442,
12,
1040,
18464,
1,
6056,
11,
290,
1276,
2872,
7360,
262,
7481,
13,
198,
1212,
1724,
329,
1672,
326,
4600,
1,
64,
91,
65,
1,
63,
481,
2872,
257,
2426,
588,
4600,
1,
64,
91,
65,
1,
63,
393,
4600,
1,
32,
91,
33,
1,
47671,
198,
4360,
407,
588,
4600,
1,
64,
1,
63,
357,
8807,
287,
22300,
6300,
18189,
352,
13,
18,
26,
287,
4697,
6300,
11,
198,
1169,
40364,
318,
2391,
2727,
355,
4600,
3041,
25636,
7,
33279,
11,
366,
72,
4943,
63,
737,
198,
198,
1722,
257,
2041,
1339,
11,
611,
257,
4731,
3912,
4940,
351,
262,
4600,
6,
19355,
63,
2095,
11,
198,
270,
338,
16173,
355,
262,
2469,
341,
286,
262,
3912,
11188,
284,
262,
198,
8841,
351,
4600,
6,
19355,
63,
20720,
572,
11,
304,
13,
70,
13,
4600,
26793,
39305,
1,
63,
318,
7548,
284,
4600,
1662,
7203,
39305,
4943,
44646,
198,
28042,
262,
4731,
4940,
351,
734,
4600,
6,
19355,
63,
3435,
11,
287,
543,
1339,
198,
1169,
717,
4600,
6,
19355,
63,
318,
20720,
572,
11,
304,
13,
70,
13,
4600,
1,
438,
39305,
1,
63,
481,
2872,
7481,
198,
10508,
355,
4600,
1,
10163,
12,
39305,
1,
44646,
1675,
44328,
884,
257,
3912,
11,
655,
779,
4600,
1662,
47671,
198,
68,
13,
70,
13,
4600,
1662,
7203,
438,
39305,
4943,
44646,
198,
198,
21017,
2448,
12,
21412,
7572,
198,
198,
818,
3090,
284,
13103,
393,
7572,
11,
45203,
7159,
286,
4600,
1186,
395,
63,
460,
635,
307,
198,
64,
5166,
286,
262,
1296,
4600,
4666,
5218,
3912,
63,
25,
788,
4600,
33279,
63,
318,
973,
284,
8106,
691,
198,
41989,
1039,
422,
4600,
4666,
63,
26,
611,
584,
366,
1481,
17749,
1,
7572,
357,
1662,
7223,
284,
257,
8265,
8,
389,
198,
23599,
11,
484,
635,
11644,
16260,
2280,
4174,
284,
4600,
4666,
44646,
1114,
1672,
11,
257,
869,
588,
198,
63,
1186,
395,
7,
4666,
16,
5218,
352,
25,
18,
11,
953,
17,
11,
366,
87,
4943,
63,
318,
7548,
284,
4600,
1186,
395,
7,
4666,
16,
5218,
357,
16,
25,
18,
11,
366,
87,
12340,
953,
17,
5218,
366,
87,
4943,
44646,
198,
1532,
4600,
8344,
30753,
63,
318,
4600,
7942,
47671,
4600,
33279,
63,
318,
635,
5625,
284,
477,
45115,
850,
18170,
4600,
7266,
63,
198,
1659,
4600,
4666,
63,
26,
611,
4600,
7266,
63,
318,
635,
7368,
355,
4600,
7266,
5218,
850,
8071,
47671,
262,
7572,
389,
23791,
11,
198,
72,
13,
68,
13,
428,
318,
7548,
284,
31577,
4600,
7266,
5218,
357,
33279,
11,
850,
8071,
8,
44646,
198,
198,
10185,
3465,
198,
220,
220,
220,
428,
2163,
42985,
1123,
357,
4852,
12,
5715,
8,
4600,
31,
9288,
2617,
63,
2512,
1262,
4600,
18206,
63,
1635,
33479,
9,
262,
198,
220,
220,
220,
8265,
287,
543,
340,
373,
3194,
357,
68,
13,
70,
13,
4600,
4666,
47671,
618,
7368,
737,
198,
37811,
198,
8818,
1005,
395,
7,
31,
39369,
431,
2413,
1096,
7,
22046,
3712,
28100,
6030,
986,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9756,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36273,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1448,
3712,
33,
970,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
3712,
15633,
28,
7942,
11,
1303,
815,
307,
2488,
39369,
431,
2413,
1096,
11,
475,
407,
4855,
319,
1468,
22300,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45115,
3712,
33,
970,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
22366,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7646,
3712,
33,
970,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32597,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9037,
3712,
38176,
90,
33,
970,
11,
18465,
92,
28,
22366,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3440,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
5894,
11,
9756,
11,
36273,
11,
1448,
11,
15942,
577,
11,
45115,
11,
4686,
11,
7646,
11,
32597,
11,
9037,
796,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
2539,
10879,
7,
22046,
11,
5894,
11,
9756,
11,
36273,
11,
1448,
11,
15942,
577,
11,
45115,
11,
4686,
11,
7646,
11,
32597,
11,
9037,
8,
628,
220,
220,
220,
16992,
18170,
11,
13103,
11,
15942,
577,
796,
1429,
62,
22046,
7,
22046,
26,
15942,
577,
28,
19011,
577,
11,
36273,
28,
1477,
18137,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45115,
28,
8344,
30753,
11,
3440,
28,
2220,
8,
198,
220,
220,
220,
4045,
796,
4129,
7,
18170,
8,
1875,
352,
198,
220,
220,
220,
6808,
796,
6208,
2617,
13,
3041,
14402,
7248,
7203,
1600,
366,
16350,
1600,
4045,
28,
7942,
8,
628,
220,
220,
220,
3509,
312,
86,
796,
6524,
90,
5317,
92,
7,
15,
8,
1303,
5874,
9647,
329,
4478,
32373,
357,
8134,
329,
4517,
1799,
287,
8156,
2174,
8,
198,
220,
220,
220,
5254,
62,
20147,
82,
62,
10134,
7957,
14972,
796,
21207,
41989,
12195,
18170,
11,
15942,
577,
11,
4045,
11,
6524,
7,
9806,
312,
86,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7646,
28,
301,
2012,
11,
32597,
28,
646,
79,
11,
9037,
28,
12708,
8,
198,
220,
220,
220,
318,
28920,
7,
41989,
62,
20147,
82,
62,
10134,
7957,
14972,
8,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
28100,
1713,
12331,
7203,
3919,
13103,
1262,
797,
14402,
714,
307,
1043,
48774,
628,
220,
220,
220,
477,
41989,
796,
717,
12195,
41989,
62,
20147,
82,
62,
10134,
7957,
14972,
8,
198,
220,
220,
220,
1715,
10394,
796,
3509,
7,
5239,
10394,
7,
15763,
13,
11213,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5415,
7,
87,
3784,
87,
58,
17,
4357,
5254,
62,
20147,
82,
62,
10134,
7957,
14972,
4008,
198,
220,
220,
220,
5794,
796,
18980,
7,
34242,
11,
1715,
10394,
8,
198,
220,
220,
220,
468,
25826,
796,
597,
7,
12957,
12195,
41989,
62,
20147,
82,
62,
10134,
7957,
14972,
4008,
628,
220,
220,
220,
6565,
24122,
796,
1064,
439,
7,
271,
28920,
11,
477,
41989,
8,
198,
220,
220,
220,
299,
18170,
796,
4129,
7,
18170,
8,
532,
4129,
7,
28920,
24122,
8,
198,
220,
220,
220,
611,
299,
18170,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
22801,
796,
4129,
7,
28920,
24122,
8,
1875,
352,
5633,
366,
82,
1,
1058,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
2949,
12336,
5254,
329,
8265,
3,
489,
1523,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4654,
7,
19282,
448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
12195,
11085,
12195,
1136,
9630,
12195,
7,
18170,
11,
828,
6565,
24122,
4008,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33172,
33172,
366,
290,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
44872,
10786,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
886,
628,
220,
220,
220,
4686,
796,
1223,
7,
312,
11,
5894,
930,
597,
7,
18170,
8,
466,
357,
4666,
11,
1458,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
41433,
7,
8071,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
8,
198,
220,
220,
220,
3509,
312,
86,
21737,
796,
4686,
5633,
3509,
312,
86,
21737,
1058,
657,
628,
220,
220,
220,
329,
545,
375,
287,
1123,
9630,
7,
18170,
8,
198,
220,
220,
220,
220,
220,
220,
220,
953,
11,
1458,
796,
13103,
58,
320,
375,
60,
198,
220,
220,
220,
220,
220,
220,
220,
5254,
796,
477,
41989,
58,
320,
375,
60,
198,
220,
220,
220,
220,
220,
220,
220,
318,
28920,
7,
41989,
8,
11405,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
36273,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36273,
0,
7,
41989,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
5894,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
905,
4666,
796,
4045,
8614,
16992,
18170,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
905,
4666,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
545,
375,
1875,
352,
11405,
15942,
577,
1875,
657,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
34365,
992,
7,
4666,
11,
705,
59,
77,
3256,
10758,
28,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1674,
620,
7,
912,
4613,
5894,
5143,
7,
4666,
11,
40379,
11,
1458,
11,
4686,
5633,
657,
1058,
905,
4666,
9,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
28,
19011,
577,
29,
15,
11,
3509,
312,
86,
796,
4686,
5633,
3509,
312,
86,
21737,
1058,
657,
828,
5254,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1448,
11405,
299,
22896,
3419,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
787,
1332,
2628,
1864,
284,
2393,
3891,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
796,
360,
713,
90,
13940,
23650,
11,
2558,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
40379,
287,
5254,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
796,
651,
0,
7,
16624,
11,
40379,
13,
10459,
13,
7753,
11,
299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
15853,
357,
74,
6624,
299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3297,
0,
7,
41989,
11,
300,
83,
796,
2163,
7,
82,
11,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
58,
82,
13,
10459,
13,
7753,
60,
1279,
3696,
58,
83,
13,
10459,
13,
7753,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2628,
796,
685,
16,
5218,
5254,
58,
16,
4083,
10459,
13,
7753,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
342,
11,
40379,
8,
287,
27056,
378,
7,
41989,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
2393,
796,
2628,
58,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
40379,
13,
10459,
13,
7753,
14512,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
24432,
11,
340,
71,
5218,
40379,
13,
10459,
13,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
4598,
796,
6070,
7,
7942,
11,
4129,
7,
41989,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
503,
3147,
796,
21520,
29239,
7,
3419,
4613,
11102,
90,
38176,
90,
18465,
11,
14402,
2617,
13,
3041,
14402,
7248,
11709,
7,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
24061,
3147,
796,
299,
1676,
6359,
3419,
6624,
352,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11102,
90,
18465,
92,
7,
16,
8,
1058,
1303,
284,
407,
11313,
20632,
4876,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2147,
628,
220,
220,
220,
220,
220,
220,
220,
299,
41989,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
299,
49695,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
477,
6603,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
6631,
796,
6524,
90,
16922,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19072,
796,
14122,
82,
13,
2953,
10179,
90,
33,
970,
92,
7,
9562,
8,
628,
220,
220,
220,
220,
220,
220,
220,
8265,
62,
912,
796,
6208,
2617,
13,
3041,
14402,
7248,
7203,
1600,
4731,
7,
4666,
8,
1635,
705,
25,
3256,
4045,
28,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
15763,
13,
43420,
11,
8265,
62,
912,
8,
628,
220,
220,
220,
220,
220,
220,
220,
867,
796,
4129,
7,
41989,
8,
1875,
352,
8614,
318,
1640,
7,
41989,
58,
16,
12962,
1303,
44855,
11682,
25,
318,
1640,
618,
691,
530,
24415,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
5354,
796,
797,
298,
5250,
25392,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
12714,
3147,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14367,
448,
318,
64,
7308,
13,
51,
9936,
11405,
357,
77,
16663,
82,
3419,
1875,
352,
8614,
299,
1676,
6359,
3419,
1875,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21520,
29239,
7,
3419,
4613,
11102,
90,
38176,
90,
10100,
11,
18465,
11709,
7,
18943,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2476,
284,
307,
366,
47960,
1,
287,
262,
1339,
299,
1676,
6359,
3419,
6624,
362,
11,
355,
788,
299,
22896,
3419,
6624,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
543,
1724,
262,
530,
6569,
8383,
481,
1234,
16969,
319,
12714,
3147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
361,
299,
22896,
3419,
1875,
352,
11,
16969,
389,
407,
1234,
780,
356,
460,
470,
4331,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1502,
287,
543,
484,
1844,
11,
290,
788,
262,
12714,
263,
481,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
905,
262,
16969,
11,
655,
262,
19493,
7825,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6518,
2546,
25,
611,
299,
22896,
3419,
6624,
352,
11,
788,
362,
561,
34302,
357,
505,
329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
366,
5589,
10520,
2239,
1600,
530,
329,
2488,
9288,
2617,
9706,
2239,
11,
290,
788,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
20632,
561,
6565,
262,
6518,
26,
475,
329,
734,
3259,
290,
517,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
1218,
2239,
318,
407,
1760,
11,
523,
262,
11876,
2476,
257,
2546,
286,
379,
1551,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
77,
22896,
3419,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4306,
11,
262,
12714,
278,
1595,
470,
670,
880,
11,
780,
262,
8383,
4876,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7622,
262,
4704,
8179,
290,
1595,
470,
7800,
1576,
329,
12714,
278,
284,
307,
4465,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1392,
49695,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
10548,
62,
2502,
11125,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
2163,
1011,
62,
42861,
0,
7,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
1715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
318,
1493,
7,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20632,
14,
3866,
1177,
263,
460,
470,
1011,
0,
340,
11,
355,
356,
8970,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
1011,
0,
7,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
271,
23211,
7,
20147,
8,
5633,
1715,
1058,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
12714,
263,
796,
12714,
3147,
24844,
2147,
5633,
2147,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
292,
13361,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19781,
796,
37250,
91,
3256,
31051,
3256,
705,
12,
3256,
705,
6852,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23493,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
957,
10094,
796,
3991,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
5145,
15643,
10094,
11405,
5145,
46037,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5793,
7,
4798,
5354,
8,
466,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
20147,
796,
1011,
62,
42861,
0,
7,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
649,
20147,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
957,
10094,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1303,
645,
761,
284,
3993,
878,
9052,
278,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
649,
20147,
14512,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
649,
20147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23493,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1392,
49695,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1392,
49695,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1392,
49695,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10548,
62,
2502,
11125,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1715,
14512,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10548,
796,
5794,
13,
20147,
62,
31494,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
22896,
3419,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
796,
10548,
18189,
513,
5633,
366,
9313,
1058,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
796,
34441,
51,
29291,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
923,
2032,
342,
7,
20147,
11,
705,
59,
15,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
796,
30506,
7,
20147,
11,
1182,
28,
16,
11,
7894,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
796,
357,
8043,
796,
1058,
2971,
62,
13424,
11,
10758,
28,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
796,
1715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
796,
34441,
51,
29291,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
521,
4714,
7,
19011,
577,
11,
4045,
11,
867,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
796,
366,
220,
366,
1635,
6764,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23493,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
618,
15942,
577,
6624,
657,
11,
356,
991,
460,
3601,
262,
3058,
1057,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1332,
2617,
11,
475,
788,
663,
6764,
1244,
307,
4025,
621,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
31494,
47671,
780,
340,
373,
407,
2077,
656,
1848,
329,
14492,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
31494,
63,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
31494,
62,
2502,
11125,
63,
552,
1769,
703,
867,
3435,
466,
30343,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
523,
326,
262,
20632,
460,
366,
263,
589,
1,
606,
1568,
319,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1752,
356,
30343,
11,
356,
836,
470,
467,
736,
357,
9464,
2017,
8,
1566,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20632,
20842,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10548,
62,
2502,
11125,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
7,
31494,
62,
2502,
11125,
11,
2420,
10394,
7,
11213,
8,
532,
10548,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
34365,
992,
10786,
59,
81,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
15636,
7203,
3,
11213,
1600,
10548,
10,
31494,
62,
2502,
11125,
11,
366,
366,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
46083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19781,
58,
4666,
16,
7,
66,
21471,
11,
886,
8,
11208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3993,
7,
15,
13,
1485,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4929,
409,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
18282,
644,
318,
262,
3376,
1517,
284,
466,
994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
409,
318,
64,
4225,
3622,
16922,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19072,
21737,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
302,
16939,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
788,
612,
318,
2192,
257,
5434,
287,
262,
12714,
263,
2438,
11,
475,
340,
1244,
307,
3734,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
262,
8383,
14,
1050,
3849,
284,
2555,
30,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
302,
16939,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
1303,
12714,
263,
4876,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
1445,
20632,
4876,
503,
286,
8383,
30,
198,
220,
220,
220,
220,
220,
220,
220,
8383,
796,
2488,
35943,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20632,
796,
2488,
292,
13361,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1931,
34640,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
957,
10094,
796,
3991,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
2502,
439,
3419,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
867,
8614,
15942,
577,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
886,
2032,
342,
7,
21412,
62,
912,
13,
11213,
11,
705,
25,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8265,
62,
912,
13,
11213,
796,
30506,
7,
21412,
62,
912,
13,
11213,
11,
7894,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1598,
62,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6208,
2617,
13,
4798,
62,
9288,
62,
43420,
7,
21412,
62,
912,
11,
5794,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10758,
28,
7942,
11,
468,
25826,
28,
10134,
25826,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
312,
86,
28,
9806,
312,
86,
58,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
262,
12714,
263,
32876,
6972,
11,
356,
1276,
1598,
262,
1627,
11,
4306,
11,
611,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
644,
356,
3601,
783,
2125,
470,
355,
1588,
11,
1364,
13801,
422,
262,
12714,
263,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
481,
307,
1775,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1598,
62,
1370,
3419,
796,
611,
12714,
3147,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1343,
17,
25,
329,
262,
2457,
2272,
878,
19493,
7825,
290,
262,
7825,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
81,
6,
1635,
705,
705,
61,
7,
18982,
13,
20147,
62,
31494,
10,
31494,
62,
2502,
11125,
10,
17,
8,
1635,
705,
59,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10548,
62,
2502,
11125,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
5145,
15643,
10094,
11405,
5145,
46037,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
912,
796,
1011,
0,
7,
448,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5793,
7,
4798,
5354,
8,
466,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12714,
3147,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
1011,
62,
42861,
0,
7,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1715,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1394,
4600,
22366,
63,
287,
523,
326,
262,
12714,
263,
4206,
284,
23654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
3866,
1177,
3147,
11,
2147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1392,
49695,
796,
2081,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
374,
912,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1931,
34640,
8614,
3601,
62,
2502,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
957,
10094,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1931,
34640,
11405,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
15942,
577,
1875,
657,
8614,
374,
912,
13,
1092,
13159,
6603,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1598,
62,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6208,
2617,
13,
4798,
62,
9288,
62,
43420,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
912,
11,
5794,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6795,
796,
2558,
7,
0,
81,
912,
13,
2502,
439,
1222,
318,
521,
4714,
7,
19011,
577,
11,
4045,
11,
867,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10758,
796,
374,
912,
13,
2502,
439,
930,
5145,
21834,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
25826,
28,
10134,
25826,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
312,
86,
28,
9806,
312,
86,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
374,
912,
13,
1092,
13159,
6603,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
2502,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6208,
2617,
13,
4798,
62,
9288,
62,
48277,
7,
81,
912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1931,
34640,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
6603,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
28060,
796,
4129,
7,
41989,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
49695,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
374,
912,
13,
1069,
4516,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6631,
21737,
796,
374,
912,
13,
1069,
4516,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
1676,
6359,
3419,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
5589,
1133,
3147,
11,
2147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
1303,
20632,
4876,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
28060,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4045,
8614,
5145,
21834,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1343,
611,
4045,
11,
356,
3601,
262,
8265,
355,
257,
13639,
11,
284,
760,
810,
262,
3058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
10398,
5254,
1039,
5594,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1343,
611,
5145,
21834,
11,
356,
1839,
470,
3601,
262,
4045,
706,
86,
5643,
11,
543,
561,
307,
30806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
351,
262,
691,
530,
10398,
1353,
12,
5715,
1332,
2617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
41989,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
448,
3147,
11,
8265,
62,
912,
8,
1303,
20632,
4876,
481,
1011,
1337,
286,
13017,
24061,
3147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
292,
13361,
1234,
0,
7,
5589,
1133,
3147,
11,
2147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
27261,
329,
1319,
38584,
287,
3259,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
292,
13361,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
1676,
6359,
3419,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1011,
0,
7,
5589,
1133,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
299,
28060,
1279,
4129,
7,
41989,
8,
11405,
5145,
46037,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
28060,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
31,
271,
23211,
7,
24432,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
796,
5254,
58,
358,
505,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2393,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
24432,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
11,
2393,
796,
1461,
11085,
0,
7,
24432,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
1064,
19545,
7,
83,
24313,
11,
4686,
87,
8,
1303,
618,
257,
1319,
38584,
468,
2393,
855,
22366,
11,
340,
1244,
8711,
281,
2378,
422,
1448,
286,
1194,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8383,
11,
523,
287,
597,
1339,
356,
1276,
2989,
329,
257,
1729,
12,
28060,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
796,
5254,
58,
312,
87,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
4598,
58,
312,
87,
60,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
87,
6624,
4129,
7,
41989,
8,
8614,
2393,
24844,
2147,
8614,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5254,
58,
312,
87,
10,
16,
4083,
10459,
13,
7753,
14512,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12714,
3147,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
40379,
13,
20147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
1715,
318,
64,
10903,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4654,
7,
33491,
7,
20147,
13,
22046,
8,
466,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
636,
318,
64,
10903,
5633,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
636,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1701,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
37082,
15,
1,
1635,
1715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
772,
618,
299,
22896,
3419,
18189,
362,
11,
356,
4175,
262,
12714,
263,
326,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
29964,
318,
8066,
1645,
11,
523,
262,
7825,
460,
923,
19493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
3866,
1177,
3147,
11,
1715,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
442,
272,
796,
357,
448,
28,
448,
3147,
11,
24061,
28,
5589,
1133,
3147,
11,
12714,
28,
3866,
1177,
3147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1217,
796,
816,
313,
721,
439,
62,
69,
7569,
7,
18351,
38584,
11,
953,
11,
40379,
11,
1458,
11,
442,
272,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
466,
953,
11,
40379,
11,
1458,
11,
442,
272,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
912,
796,
787,
62,
912,
7,
912,
11,
1458,
11,
5794,
13,
34242,
11,
442,
272,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7231,
13,
18206,
7,
4666,
11,
285,
912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1217,
318,
64,
20650,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
41989,
15853,
4129,
7,
4363,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
21412,
62,
912,
13,
43420,
11,
1217,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
41989,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
21412,
62,
912,
13,
43420,
11,
1217,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
1303,
1319,
38584,
25,
2488,
292,
13361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
1303,
2488,
27261,
329,
1319,
38584,
986,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
3863,
1234,
262,
1708,
3404,
287,
257,
3443,
13444,
810,
356,
7269,
8383,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
292,
636,
286,
262,
9030,
284,
5412,
13269,
3691,
11313,
58,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
448,
3147,
11,
2147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12714,
3147,
5145,
855,
2147,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
3866,
1177,
3147,
11,
2147,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4043,
7,
1050,
3849,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
1303,
8383,
796,
2488,
35943,
2221,
2644,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12714,
3147,
5145,
855,
2147,
11405,
299,
16663,
82,
3419,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
1949,
284,
1394,
4704,
1303,
16,
1479,
286,
4334,
670,
11,
523,
326,
262,
12714,
263,
14768,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21802,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29770,
796,
43720,
7,
17,
25,
77,
16663,
82,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4704,
62,
11635,
7,
28816,
11,
471,
5317,
1433,
7,
83,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7269,
7,
28816,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4043,
7,
28816,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12714,
263,
5145,
855,
2147,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4043,
7,
3866,
1177,
263,
8,
628,
220,
220,
220,
220,
220,
220,
220,
4929,
409,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19072,
21737,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
409,
318,
64,
4225,
3622,
16922,
8614,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
302,
16939,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
19072,
21737,
8614,
5145,
439,
6603,
8614,
299,
49695,
6624,
299,
41989,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
562,
3916,
7,
1069,
4516,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
1069,
4516,
58,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
299,
18170,
1875,
352,
11405,
15942,
577,
1875,
657,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
3419,
198,
220,
220,
220,
886,
198,
220,
220,
220,
299,
18170,
1875,
352,
11405,
5145,
39140,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
6208,
2617,
13,
4798,
62,
9288,
62,
43420,
7,
15763,
11,
5794,
11,
10758,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
468,
25826,
28,
10134,
25826,
11,
3509,
312,
86,
28,
9806,
312,
86,
58,
12962,
198,
220,
220,
220,
2147,
198,
437,
198,
198,
2,
30218,
13,
3740,
1378,
12567,
13,
785,
14,
16980,
544,
43,
648,
14,
73,
43640,
14,
37165,
14,
2682,
25674,
2,
21949,
23893,
12,
3553,
14877,
4304,
2154,
198,
8818,
4704,
62,
11635,
7,
83,
3712,
25714,
11,
29770,
3712,
52,
5317,
1433,
8,
198,
220,
220,
220,
269,
13345,
7,
25,
20362,
62,
2617,
62,
35943,
62,
83,
312,
11,
327,
19382,
11,
357,
7149,
11,
327,
600,
828,
256,
11,
29770,
12,
16,
8,
198,
220,
220,
220,
7269,
7,
83,
8,
198,
220,
220,
220,
1441,
256,
198,
437,
198,
198,
2,
7104,
3895,
11,
32953,
329,
6427,
479,
86,
22046,
284,
1005,
395,
198,
8818,
4296,
62,
2539,
10879,
7,
31,
39369,
431,
2413,
1096,
7,
22046,
828,
5894,
11,
9756,
11,
36273,
11,
1448,
11,
15942,
577,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45115,
11,
4686,
11,
7646,
11,
32597,
11,
9037,
8,
198,
220,
220,
220,
329,
1822,
287,
26498,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
64,
38357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
4731,
7,
853,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
6624,
705,
85,
6,
11405,
2555,
1303,
366,
19011,
577,
1,
9514,
11,
356,
1337,
691,
546,
262,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
796,
318,
21037,
7442,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
796,
2793,
7442,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2125,
39223,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
796,
21136,
7,
5317,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
67,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
82,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9756,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
71,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36273,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
70,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1448,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
81,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45115,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
72,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
83,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7646,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
84,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32597,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
269,
6624,
705,
66,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9037,
796,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
14774,
21179,
29401,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
5894,
11,
9756,
11,
36273,
11,
1448,
11,
15942,
577,
11,
45115,
11,
4686,
11,
7646,
11,
32597,
11,
9037,
198,
437,
198,
198,
8818,
1429,
62,
22046,
7,
31,
39369,
431,
2413,
1096,
7,
22046,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26235,
329,
26286,
389,
2087,
655,
329,
1429,
62,
22046,
284,
307,
517,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3538,
1444,
422,
1332,
2438,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
900,
26235,
287,
3298,
9633,
284,
1037,
2652,
287,
17510,
30,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
28,
7942,
11,
36273,
28,
9562,
11,
45115,
28,
7942,
11,
3440,
3712,
33,
970,
28,
9562,
8,
198,
220,
220,
220,
1303,
7804,
2,
1429,
26498,
198,
220,
220,
220,
7572,
796,
23939,
55,
21737,
1303,
1351,
286,
27669,
7572,
198,
220,
220,
220,
953,
79,
1381,
796,
360,
713,
90,
26796,
11,
7149,
92,
3419,
1303,
14729,
8265,
5218,
3912,
198,
220,
220,
220,
13103,
796,
19937,
21737,
1303,
6149,
1351,
286,
8251,
422,
953,
79,
1381,
198,
220,
220,
220,
9639,
62,
18170,
796,
5345,
90,
26796,
92,
7,
2220,
5633,
3815,
7,
14881,
13,
14578,
62,
18170,
8,
1058,
32865,
198,
220,
220,
220,
284,
2220,
796,
360,
713,
90,
26796,
11,
26796,
92,
3419,
1303,
5301,
5218,
1332,
21412,
628,
220,
220,
220,
2163,
3440,
62,
9288,
4666,
7,
4666,
2599,
25,
38176,
90,
26796,
11,
18465,
92,
198,
220,
220,
220,
220,
220,
220,
220,
953,
18872,
230,
9639,
62,
18170,
8614,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
953,
287,
8251,
7,
83,
349,
1170,
8,
11405,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
336,
395,
4666,
796,
38357,
7,
4666,
11,
1058,
51,
3558,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
23211,
7,
13383,
11,
336,
395,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1332,
7753,
796,
4654,
6978,
7,
15908,
3672,
7,
6978,
1659,
7,
4666,
36911,
366,
492,
1600,
366,
9288,
1600,
4731,
7,
301,
395,
4666,
11,
27071,
20362,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
7753,
7,
9288,
7753,
8,
8614,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
17256,
7,
13383,
11,
1332,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
23211,
7,
13383,
11,
336,
395,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
9288,
2393,
720,
9288,
7753,
9639,
475,
340,
750,
407,
8160,
8265,
720,
301,
395,
4666,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
4666,
796,
651,
3245,
7,
13383,
11,
336,
395,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
7,
9288,
4666,
318,
64,
19937,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
17971,
9288,
4666,
7160,
475,
318,
407,
257,
8265,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
284,
2220,
58,
4666,
60,
796,
1332,
4666,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
717,
356,
41216,
953,
79,
1381,
351,
262,
1813,
7572,
329,
366,
21412,
12,
33279,
82,
1,
198,
220,
220,
220,
1303,
27669,
389,
2087,
379,
257,
1568,
3800,
11,
780,
356,
765,
284,
751,
606,
691,
198,
220,
220,
220,
1303,
284,
366,
15763,
1,
13103,
618,
45115,
28,
7942,
523,
326,
484,
389,
407,
10667,
3294,
198,
220,
220,
220,
1303,
1661,
357,
27078,
329,
257,
1813,
8265,
290,
1752,
329,
1123,
286,
663,
6789,
2560,
13103,
8,
198,
220,
220,
220,
329,
1822,
287,
26498,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
64,
19937,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
1822,
373,
1541,
1775,
11,
340,
1541,
468,
3912,
843,
3419,
2087,
11,
523,
2147,
284,
466,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
0,
7,
4666,
79,
1381,
11,
1822,
11,
843,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
18872,
231,
13103,
11405,
4574,
0,
7,
18170,
11,
1822,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3440,
62,
9288,
4666,
7,
853,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1822,
318,
64,
39645,
90,
26796,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
796,
717,
7,
853,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1458,
796,
651,
0,
7,
4666,
79,
1381,
11,
953,
11,
843,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
8071,
13,
34223,
11,
787,
62,
33279,
7,
12957,
7,
853,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
18872,
231,
13103,
11405,
4574,
0,
7,
18170,
11,
953,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3440,
62,
9288,
4666,
7,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1822,
318,
64,
38357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9514,
11,
1541,
13686,
287,
4296,
62,
2539,
10879,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
33279,
82,
11,
787,
62,
33279,
7,
853,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
7881,
1332,
24122,
198,
220,
220,
220,
329,
357,
4666,
11,
1332,
4666,
8,
287,
284,
2220,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
4666,
287,
13103,
11405,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
5145,
7,
9288,
4666,
287,
8251,
7,
4666,
79,
1381,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
953,
79,
1381,
58,
9288,
4666,
60,
796,
2769,
30073,
7,
4666,
79,
1381,
58,
4666,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
3368,
2769,
30073,
30,
428,
318,
3058,
2087,
355,
4306,
4600,
33279,
82,
63,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1244,
307,
2087,
3294,
1661,
379,
262,
886,
286,
8265,
7587,
2174,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
18170,
11,
1332,
4666,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
7804,
2,
1429,
13103,
198,
220,
220,
220,
2488,
30493,
477,
34642,
7,
18170,
8,
628,
220,
220,
220,
16992,
18170,
796,
318,
28920,
7,
4666,
79,
1381,
8,
198,
220,
220,
220,
611,
16992,
18170,
8614,
45115,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
51,
6465,
1961,
62,
33365,
6239,
1546,
0,
3419,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
16992,
18170,
198,
220,
220,
220,
220,
220,
220,
220,
329,
953,
287,
2488,
1177,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
58,
16,
25,
437,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
11629,
378,
691,
319,
262,
1459,
1181,
286,
43001,
1961,
62,
33365,
6239,
1546,
357,
831,
344,
262,
779,
286,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2488,
1177,
828,
780,
356,
836,
470,
761,
284,
869,
3440,
62,
9288,
4666,
319,
8308,
9639,
1332,
13103,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3440,
62,
9288,
4666,
7,
4666,
8,
1303,
1244,
4296,
43001,
1961,
62,
33365,
6239,
1546,
351,
850,
18170,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
51,
6465,
1961,
62,
33365,
6239,
1546,
0,
7,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
4296,
62,
51,
6465,
1961,
62,
33365,
6239,
1546,
0,
3419,
1244,
761,
284,
307,
1444,
11,
611,
257,
8265,
318,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6928,
416,
2346,
1626,
257,
8308,
9639,
1332,
8265,
30,
775,
815,
751,
257,
1332,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
318,
28920,
7,
18170,
8,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
18170,
11,
43001,
1961,
62,
33365,
6239,
1546,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
953,
287,
13103,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
79,
1381,
58,
4666,
60,
796,
843,
7,
33279,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
45115,
198,
220,
220,
220,
220,
220,
220,
220,
11135,
796,
19937,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7301,
43001,
1961,
62,
33365,
6239,
1546,
10941,
1502,
284,
12201,
1502,
286,
5585,
286,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
13103,
14,
16624,
198,
220,
220,
220,
220,
220,
220,
220,
329,
953,
287,
3748,
0,
26933,
18170,
26,
43001,
1961,
62,
33365,
6239,
1546,
26,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1582,
796,
953,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
1845,
796,
2560,
21412,
7,
1845,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
649,
1845,
6624,
1582,
1303,
645,
2560,
287,
13103,
373,
1043,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
287,
13103,
11405,
4574,
0,
7,
19150,
11,
953,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1582,
796,
649,
1845,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1582,
18872,
230,
13103,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
761,
284,
10199,
1582,
338,
3912,
284,
953,
338,
3912,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
340,
338,
407,
257,
1917,
611,
1582,
338,
3912,
318,
6153,
1568,
11,
355,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1988,
287,
953,
79,
1381,
318,
407,
3421,
357,
4360,
2138,
48865,
287,
12,
5372,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
523,
953,
338,
3912,
481,
991,
766,
262,
6153,
3912,
286,
1582,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
953,
287,
13103,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
953,
79,
1381,
58,
4666,
60,
3712,
1870,
1276,
407,
307,
900,
284,
257,
649,
1988,
11,
355,
850,
18170,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1244,
1541,
4941,
340,
11,
290,
262,
1708,
4296,
1276,
307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7424,
284,
606,
26,
523,
356,
4296,
262,
764,
34223,
2214,
2427,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
4666,
79,
1381,
58,
4666,
4083,
34223,
11,
953,
79,
1381,
58,
1845,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
18170,
11,
953,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7572,
329,
953,
290,
1582,
481,
1464,
307,
262,
976,
11,
523,
645,
761,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
4866,
26,
1771,
1582,
373,
7317,
287,
13103,
393,
407,
11,
611,
287,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8840,
24415,
357,
2502,
953,
8,
281,
19898,
8265,
4600,
3849,
63,
318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1043,
357,
4666,
9959,
987,
9959,
1582,
828,
356,
760,
326,
4600,
3849,
63,
373,
407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7317,
287,
13103,
11,
290,
460,
4361,
635,
2648,
262,
976,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3912,
11,
1312,
13,
68,
13,
3912,
329,
953,
1595,
470,
761,
284,
12312,
469,
422,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
326,
286,
1582,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
79,
1381,
58,
4666,
60,
796,
953,
79,
1381,
58,
1845,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
329,
953,
287,
11135,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
4666,
79,
1381,
58,
4666,
4083,
34223,
11,
7572,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1458,
287,
3815,
7,
4666,
79,
1381,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
8071,
13,
34223,
11,
7572,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
4781,
13103,
543,
836,
470,
423,
5254,
11,
543,
460,
1645,
618,
257,
2560,
8265,
1231,
198,
220,
220,
220,
1303,
5254,
318,
3804,
284,
1005,
395,
287,
1502,
284,
1057,
5254,
287,
663,
850,
18170,
198,
220,
220,
220,
8106,
0,
7,
76,
4613,
318,
23211,
7,
76,
11,
3268,
24027,
62,
51,
6465,
828,
13103,
8,
628,
220,
220,
220,
36273,
11405,
36273,
0,
7,
18170,
8,
628,
220,
220,
220,
1303,
7804,
2,
1429,
15942,
577,
198,
220,
220,
220,
611,
5145,
271,
41433,
7,
19011,
577,
8,
11405,
5145,
271,
10745,
7,
19011,
577,
8,
8614,
1051,
2545,
7,
19011,
577,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
28100,
1713,
12331,
7203,
63,
19011,
577,
63,
1276,
307,
257,
1729,
12,
31591,
18253,
393,
4600,
18943,
63,
48774,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
15942,
577,
1875,
2170,
368,
897,
7,
5317,
8,
198,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
796,
2170,
368,
897,
7,
5317,
8,
1303,
460,
470,
779,
4600,
9806,
47671,
543,
21068,
284,
48436,
2414,
351,
4806,
198,
220,
220,
220,
886,
198,
220,
220,
220,
15942,
577,
796,
2558,
7,
19011,
577,
8,
628,
220,
220,
220,
357,
23928,
3628,
18170,
28,
23928,
3628,
18170,
11,
13103,
41888,
4666,
5218,
953,
79,
1381,
58,
4666,
60,
329,
953,
287,
13103,
4357,
198,
220,
220,
220,
220,
15942,
577,
28,
19011,
577,
8,
198,
437,
198,
198,
8818,
4296,
62,
51,
6465,
1961,
62,
33365,
6239,
1546,
0,
7,
23352,
62,
9122,
28,
7942,
8,
198,
220,
220,
220,
1303,
43001,
1961,
62,
33365,
6239,
1546,
1244,
423,
366,
646,
489,
5344,
1,
12784,
11,
1312,
13,
68,
13,
13103,
543,
547,
198,
220,
220,
220,
1303,
366,
260,
21820,
1600,
618,
530,
6993,
23156,
2346,
416,
852,
2266,
18156,
26,
287,
428,
1339,
11,
198,
220,
220,
220,
1303,
1309,
338,
655,
12233,
4697,
12784,
13,
775,
1276,
635,
1011,
656,
1848,
262,
5885,
198,
220,
220,
220,
1303,
326,
257,
8265,
373,
6993,
9108,
11,
475,
262,
649,
2196,
1595,
470,
423,
257,
2488,
9288,
2617,
11,
198,
220,
220,
220,
1303,
287,
543,
1339,
612,
1839,
470,
307,
257,
23418,
11,
475,
356,
1276,
991,
12233,
262,
5726,
13,
198,
220,
220,
220,
1775,
796,
5345,
90,
10100,
92,
3419,
198,
220,
220,
220,
329,
4686,
87,
287,
1123,
9630,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
260,
21820,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
58,
312,
87,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43001,
1961,
62,
33365,
6239,
1546,
58,
312,
87,
60,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
15898,
11,
4731,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
58,
312,
87,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
8106,
0,
7,
87,
4613,
2124,
5145,
855,
2147,
11,
43001,
1961,
62,
33365,
6239,
1546,
8,
628,
220,
220,
220,
611,
4274,
62,
9122,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1867,
318,
2174,
318,
26533,
355,
356,
783,
26995,
7881,
13103,
287,
43001,
1961,
62,
33365,
6239,
1546,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
991,
1394,
340,
329,
257,
981,
655,
284,
2198,
428,
13196,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
12233,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
43001,
1961,
62,
33365,
6239,
1546,
318,
407,
510,
12,
1462,
12,
4475,
266,
13,
81,
13,
83,
13,
5301,
13103,
543,
423,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
662,
5589,
10520,
11,
523,
356,
423,
284,
635,
804,
287,
7308,
13,
14578,
62,
18170,
198,
220,
220,
220,
220,
220,
220,
220,
329,
953,
287,
3815,
7,
14881,
13,
14578,
62,
18170,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
19607,
13103,
422,
8774,
11,
543,
14572,
1541,
550,
257,
2863,
284,
651,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6823,
287,
43001,
1961,
62,
33365,
6239,
1546,
379,
19124,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
953,
18872,
230,
357,
3041,
14402,
11,
8774,
11,
7308,
8,
11405,
2555,
1303,
16926,
46,
25,
815,
19607,
14367,
8019,
82,
1165,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
796,
4731,
7,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
965,
18872,
231,
1775,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
15898,
11,
965,
8,
1303,
2192,
13114,
11,
611,
965,
389,
477,
3748,
287,
428,
9052,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
850,
287,
664,
7266,
18170,
7,
4666,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
649,
2196,
25,
655,
2198,
262,
13196,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
1659,
7,
7266,
8,
6624,
3268,
24027,
62,
51,
6465,
11405,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
23211,
7,
7266,
11,
3268,
24027,
62,
51,
6465,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
850,
287,
43001,
1961,
62,
33365,
6239,
1546,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1468,
4050,
2196,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
318,
23211,
7,
7266,
11,
3268,
24027,
62,
51,
6465,
8,
11405,
850,
18872,
231,
43001,
1961,
62,
33365,
6239,
1546,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
1303,
850,
1244,
307,
257,
850,
21412,
286,
257,
8774,
12,
2339,
8265,
953,
357,
68,
13,
70,
13,
2884,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
1303,
45285,
366,
22866,
723,
8265,
12340,
287,
543,
1339,
340,
1541,
1392,
6823,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
4574,
0,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
11,
850,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
30493,
477,
7,
76,
4613,
285,
318,
64,
19937,
11,
43001,
1961,
62,
33365,
6239,
1546,
8,
198,
220,
220,
220,
2488,
30493,
477,
34642,
7,
51,
6465,
1961,
62,
33365,
6239,
1546,
8,
198,
220,
220,
220,
8106,
0,
7,
76,
4613,
285,
18872,
231,
357,
3041,
14402,
11,
797,
14402,
13,
3041,
14402,
14402,
828,
43001,
1961,
62,
33365,
6239,
1546,
8,
198,
437,
198,
198,
8818,
21207,
41989,
19510,
4666,
11,
1458,
828,
15942,
577,
11,
4045,
11,
3509,
312,
86,
26,
9037,
11,
7646,
11,
32597,
8,
198,
220,
220,
220,
5254,
796,
2325,
265,
316,
3558,
0,
7,
4666,
11,
32597,
8,
198,
220,
220,
220,
1715,
10394,
796,
657,
198,
220,
220,
220,
468,
25826,
796,
3991,
628,
220,
220,
220,
4686,
796,
352,
198,
220,
220,
220,
329,
40379,
287,
5254,
198,
220,
220,
220,
220,
220,
220,
220,
1057,
11,
4686,
796,
10568,
0,
7,
4666,
11,
40379,
11,
1458,
11,
15942,
577,
28,
19011,
577,
11,
4686,
28,
312,
11,
7646,
28,
301,
2012,
11,
9037,
28,
12708,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1057,
8614,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
1715,
10394,
796,
3509,
7,
20147,
10394,
11,
40379,
13,
20147,
10394,
8,
198,
220,
220,
220,
220,
220,
220,
220,
468,
25826,
930,
28,
40379,
13,
10134,
25826,
8344,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3509,
312,
86,
21737,
796,
3509,
7,
9806,
312,
86,
58,
4357,
299,
12894,
896,
7,
312,
12,
16,
4008,
628,
220,
220,
220,
5254,
796,
8106,
7,
912,
4613,
40379,
13,
5143,
11,
5254,
8,
198,
220,
220,
220,
867,
796,
4129,
7,
41989,
8,
1875,
352,
198,
220,
220,
220,
773,
4714,
796,
318,
521,
4714,
7,
19011,
577,
11,
4045,
11,
867,
8,
628,
220,
220,
220,
611,
773,
4714,
198,
220,
220,
220,
220,
220,
220,
220,
1715,
10394,
15853,
362,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1715,
10394,
796,
3509,
7,
20147,
10394,
11,
2420,
10394,
7,
8841,
7,
4666,
4008,
1343,
773,
4714,
8,
198,
220,
220,
220,
5254,
11,
1715,
10394,
11,
468,
25826,
198,
437,
198,
198,
271,
521,
4714,
7,
19011,
577,
11,
4045,
11,
867,
8,
796,
357,
19011,
577,
1875,
657,
8,
1222,
357,
2502,
439,
930,
5145,
21834,
8,
198,
198,
8818,
5894,
5143,
7,
4666,
3712,
26796,
11,
40379,
3712,
14402,
2617,
3109,
1050,
11,
1458,
3712,
47546,
11,
10548,
3712,
5317,
28,
15,
11,
3397,
549,
73,
33151,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2162,
819,
1940,
3798,
28,
7942,
11,
5100,
28,
22366,
11,
15942,
577,
11,
3509,
312,
86,
3712,
5317,
8,
198,
220,
220,
220,
40379,
13,
5143,
11405,
15942,
577,
8614,
1441,
198,
220,
220,
220,
1715,
796,
40379,
13,
20147,
628,
220,
220,
220,
611,
40379,
13,
5439,
2840,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
611,
819,
1940,
3798,
11405,
5145,
7,
20147,
318,
64,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
7231,
13,
18206,
7,
4666,
11,
1715,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4929,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2426,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3397,
549,
73,
318,
64,
10903,
11405,
1715,
318,
64,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2426,
796,
3397,
549,
73,
1635,
31051,
6,
1635,
1715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
20311,
7,
912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7466,
7,
8071,
11,
2426,
11,
40379,
13,
312,
8,
8614,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
3509,
312,
86,
1875,
657,
1303,
9647,
357,
358,
328,
896,
8,
286,
3509,
4686,
26,
19841,
657,
1724,
220,
2340,
407,
10398,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
34365,
992,
7,
75,
15636,
7,
912,
13,
312,
11,
3509,
312,
86,
828,
366,
91,
33172,
3124,
796,
1058,
2971,
62,
13424,
11,
10758,
28,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
34365,
992,
10786,
705,
61,
31494,
11,
1715,
11,
3124,
796,
1715,
318,
64,
10903,
5633,
1058,
11265,
1058,
7308,
13,
40539,
62,
8043,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
611,
5100,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
34365,
992,
7203,
357,
45956,
515,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5100,
6624,
532,
16,
5633,
366,
16725,
1058,
366,
720,
45956,
515,
1661,
42501,
705,
59,
77,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
28,
25,
2971,
62,
13424,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
329,
256,
1416,
287,
40379,
13,
17197,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
5143,
7,
4666,
11,
256,
1416,
11,
1458,
11,
10548,
1343,
362,
11,
2426,
11,
15942,
577,
28,
912,
13,
25811,
13,
7645,
1153,
62,
19011,
577,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
312,
86,
28,
9806,
312,
86,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
5894,
5143,
62,
27471,
437,
7,
20147,
87,
11,
5100,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3368,
20394,
6731,
11,
6121,
428,
24415,
656,
257,
366,
27471,
14,
437,
1,
1332,
2617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1715,
87,
318,
64,
1475,
1050,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
1715,
87,
13,
2256,
6624,
1058,
8841,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
87,
796,
1475,
1050,
7,
25,
8841,
11,
4866,
7,
20147,
87,
13,
22046,
8,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
20147,
87,
13,
22046,
8,
466,
1822,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
64,
10903,
8614,
1822,
318,
64,
38357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
555,
1958,
351,
976,
2163,
287,
12714,
263,
11,
543,
5621,
366,
1701,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
772,
329,
14354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
1822,
318,
64,
1475,
1050,
1303,
655,
284,
423,
257,
2863,
284,
7073,
584,
12779,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1701,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2221,
437,
796,
6208,
2617,
3109,
1050,
7,
912,
13,
10459,
11,
40379,
13,
4666,
11,
1715,
87,
11,
40379,
13,
25811,
11,
2147,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40379,
13,
8000,
11,
40379,
13,
17197,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2221,
437,
13,
5143,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2221,
437,
13,
312,
796,
40379,
13,
312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
5143,
7,
4666,
11,
2221,
437,
11,
1458,
11,
10548,
11,
3397,
549,
73,
26,
819,
1940,
3798,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5100,
28,
45956,
515,
11,
15942,
577,
28,
19011,
577,
11,
3509,
312,
86,
28,
9806,
312,
86,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
9052,
27160,
796,
40379,
13,
26268,
27160,
198,
220,
220,
220,
220,
220,
220,
220,
611,
9052,
27160,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
40379,
13,
20147,
318,
2192,
257,
10903,
357,
12993,
13,
10568,
0,
1776,
611,
523,
11,
836,
470,
3601,
5100,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1852,
270,
605,
3951,
357,
66,
1015,
265,
25,
611,
7481,
286,
1751,
561,
1487,
15456,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
475,
991,
1949,
2391,
284,
13446,
262,
4129,
286,
262,
41313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5100,
796,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
40379,
13,
20147,
318,
64,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
11629,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11629,
11925,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
9052,
287,
40379,
13,
5439,
2840,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11629,
11925,
1635,
28,
7231,
13,
18206,
7,
4666,
11,
36147,
13664,
16763,
7,
26268,
13,
22046,
58,
17,
60,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5100,
796,
11629,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4929,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
5143,
62,
27471,
437,
7,
912,
13,
20147,
11,
5100,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
72,
11,
2124,
8,
287,
27056,
378,
7,
26268,
27160,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1715,
87,
796,
5418,
62,
20147,
7,
4666,
11,
40379,
11,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1715,
87,
24844,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
561,
3221,
423,
4600,
72,
6624,
352,
47671,
475,
407,
287,
617,
4071,
2663,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1752,
356,
1064,
281,
555,
3849,
16104,
515,
6764,
11,
356,
991,
7048,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
21654,
326,
477,
5637,
3392,
481,
635,
307,
555,
3849,
16104,
515,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
523,
356,
751,
262,
366,
45956,
515,
1,
23025,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
270,
338,
3729,
407,
2861,
340,
284,
11393,
852,
517,
7141,
546,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3446,
543,
34820,
389,
555,
3849,
16104,
515,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
5894,
5143,
62,
27471,
437,
7,
912,
13,
20147,
11,
4129,
7,
26268,
27160,
13219,
72,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
1715,
87,
5145,
855,
4814,
1303,
815,
307,
13114,
11,
475,
612,
373,
257,
1332,
2174,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5894,
5143,
62,
27471,
437,
7,
20147,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
198,
21412,
797,
14402,
14402,
198,
198,
3500,
11485,
3041,
14402,
198,
31,
9288,
2617,
366,
9288,
6208,
287,
850,
12,
21412,
1,
2221,
198,
220,
220,
220,
2488,
9288,
352,
6624,
352,
198,
437,
198,
198,
437,
1303,
8265,
797,
14402,
14402,
198,
198,
31,
9288,
2617,
366,
944,
1332,
1,
2221,
198,
220,
220,
220,
2488,
30493,
2099,
1659,
7,
31,
834,
33365,
24212,
834,
8,
6624,
19937,
198,
220,
220,
220,
2488,
9288,
352,
14512,
362,
198,
220,
220,
220,
1005,
395,
7,
3041,
14402,
14402,
8,
198,
437,
198,
198,
437,
1303,
8265,
797,
14402,
198
] | 2.134745 | 29,144 |
using SpinDoctor
using Documenter
DocMeta.setdocmeta!(SpinDoctor, :DocTestSetup, :(using SpinDoctor); recursive = true)
makedocs(;
modules = [SpinDoctor],
authors = "Syver Døving Agdestein <syverda@icloud.com> and contributors",
repo = "https://github.com/agdestein/SpinDoctor.jl/blob/{commit}{path}#{line}",
sitename = "SpinDoctor.jl",
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://agdestein.github.io/SpinDoctor.jl",
assets = String[],
),
pages = ["Home" => "index.md"],
)
deploydocs(; repo = "github.com/agdestein/SpinDoctor.jl", devbranch = "main")
| [
3500,
28002,
37564,
198,
3500,
16854,
263,
198,
198,
23579,
48526,
13,
2617,
15390,
28961,
0,
7,
4561,
259,
37564,
11,
1058,
23579,
14402,
40786,
11,
36147,
3500,
28002,
37564,
1776,
45115,
796,
2081,
8,
198,
198,
76,
4335,
420,
82,
7,
26,
198,
220,
220,
220,
13103,
796,
685,
4561,
259,
37564,
4357,
198,
220,
220,
220,
7035,
796,
366,
13940,
332,
360,
24172,
1075,
2449,
16520,
68,
259,
1279,
1837,
332,
6814,
31,
291,
75,
2778,
13,
785,
29,
290,
20420,
1600,
198,
220,
220,
220,
29924,
796,
366,
5450,
1378,
12567,
13,
785,
14,
363,
16520,
68,
259,
14,
4561,
259,
37564,
13,
20362,
14,
2436,
672,
14,
90,
41509,
18477,
6978,
92,
2,
90,
1370,
92,
1600,
198,
220,
220,
220,
1650,
12453,
796,
366,
4561,
259,
37564,
13,
20362,
1600,
198,
220,
220,
220,
5794,
796,
16854,
263,
13,
28656,
7,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2495,
6371,
82,
796,
651,
7,
1677,
53,
11,
366,
25690,
1600,
366,
9562,
4943,
6624,
366,
7942,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
40091,
796,
366,
5450,
1378,
363,
16520,
68,
259,
13,
12567,
13,
952,
14,
4561,
259,
37564,
13,
20362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
6798,
796,
10903,
58,
4357,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
5468,
796,
14631,
16060,
1,
5218,
366,
9630,
13,
9132,
33116,
198,
8,
198,
198,
2934,
1420,
31628,
7,
26,
29924,
796,
366,
12567,
13,
785,
14,
363,
16520,
68,
259,
14,
4561,
259,
37564,
13,
20362,
1600,
1614,
1671,
3702,
796,
366,
12417,
4943,
198
] | 2.437037 | 270 |
module internal
using Logging, DataStructures
include("../structs/DataSet.jl")
include("../functions/Data.jl")
#set sok and parse data type
function set_sok(instance, dat_sori, hol_sori)
key_list = dat_sori ; sok_dict = Dict(dat => [] for dat in dat_sori) ; sok_type = Dict()
for hol in hol_sori
for i in eachindex(key_list)
append!(sok_dict[key_list[i]], hol[i])
end
end
for key in key_list
sok_type[key], sok_dict[key] = Data.parse_data_list(sok_dict[key])["type"], Data.parse_data_list(sok_dict[key])["data"]
end
new_hol = []
for hol in hol_sori
tmp_hol = []
for i in eachindex(key_list)
if sok_type[key_list[i]] == String
append!(tmp_hol, string(hol[i]))
else
append!(tmp_hol, parse(sok_type[key_list[i]], string(hol[i])))
end
end
append!(new_hol, [tmp_hol])
end
instance.hol_sori = new_hol
return [
DataStructures.OrderedDict(key_list[i]=> DataSet.ColumnSet(sok_dict[key_list[i]], i, key_list[i], instance) for i in eachindex(key_list)),
[DataSet.RowSet(DataStructures.OrderedDict(key => sok_dict[key][i] for key in key_list), i, instance) for i in eachindex(hol_sori)]
]
end
#modify
function insert(instance, dat_pos, dat_name, hol_value)
if dat_pos < 1 || dat_pos > length(instance.dat_sori) + 1
Logging.ERROR("insert position is invalid.")
result = false
else
new_dat_sori = insert!(instance.dat_sori, dat_pos, dat_name)
new_hol_sori = [insert!(instance.hol_sori[i], dat_pos, hol_value[i]) for i in eachindex(instance.hol_sori)]
new_sok_dict, new_sok_arr = set_sok(instance, new_dat_sori, new_hol_sori)
instance.dat_sori, instance.hol_sori, instance._sok_dict, instance._sok_arr = new_dat_sori, new_hol_sori, new_sok_dict, new_sok_arr
result = true
end
return result
end
function append(instance, dat_name, hol_value)
return insert(instance, length(instance.dat_sori) + 1, dat_name, hol_value)
end
#simple selection and query
function select(instance, key)
key = string(key)
if !isnull(tryparse(Int, key))
result = instance._sok_arr[parse(Int, key)]
else
result = instance._sok_dict[key]
end
return result
end
function where(instance, where_string, drop_null)
new_dat_sori, new_hol_sori = instance.dat_sori, []
for row_set in instance._sok_arr
where_result = row_set.where(where_string, drop_null = drop_null)
if where_result != nothing
append!(new_hol_sori, [where_result])
end
end
new_instance = Base.deepcopy(instance)
new_sok_dict, new_sok_arr = set_sok(new_instance, new_dat_sori, new_hol_sori)
new_instance.dat_sori, new_instance.hol_sori, new_instance._sok_dict, new_instance._sok_arr = new_dat_sori, new_hol_sori, new_sok_dict, new_sok_arr
new_instance.name = string(new_instance.name, ": ", where_string)
return new_instance
end
function equation(instance, equation_string, inplace)
equation_to = strip(split(equation_string, "=")[1])
new_dat_sori, new_hol_sori = in(equation_to, instance.dat_sori) ? instance.dat_sori : append!(instance.dat_sori, equation_to), []
for row_set in instance._sok_arr
equation_result = row_set.equation(equation_string)
if equation_result != nothing
append!(new_hol_sori, [equation_result])
end
end
if inplace
new_instance = Base.deepcopy(instance)
else
new_instance = instance
end
new_sok_dict, new_sok_arr = set_sok(new_instance, new_dat_sori, new_hol_sori)
new_instance.dat_sori, new_instance.hol_sori, new_instance._sok_dict, new_instance._sok_arr = new_dat_sori, new_hol_sori, new_sok_dict, new_sok_arr
new_instance.name = string(new_instance.name, ": ", equation_string)
if inplace
println(new_instance.to_string())
else
return new_instance
end
end
#descriptive statistics
function describe(instance)
result = DataStructures.OrderedDict()
for dat in instance.dat_sori
result[dat] = instance.select(dat).describe()
end
return result
end
end | [
21412,
5387,
198,
220,
220,
220,
1262,
5972,
2667,
11,
6060,
44909,
942,
628,
220,
220,
220,
2291,
7203,
40720,
7249,
82,
14,
6601,
7248,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
40720,
12543,
2733,
14,
6601,
13,
20362,
4943,
628,
220,
220,
220,
1303,
2617,
264,
482,
290,
21136,
1366,
2099,
198,
220,
220,
220,
2163,
900,
62,
82,
482,
7,
39098,
11,
4818,
62,
82,
10145,
11,
6039,
62,
82,
10145,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
62,
4868,
796,
4818,
62,
82,
10145,
2162,
264,
482,
62,
11600,
796,
360,
713,
7,
19608,
5218,
17635,
329,
4818,
287,
4818,
62,
82,
10145,
8,
2162,
264,
482,
62,
4906,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6039,
287,
6039,
62,
82,
10145,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
1123,
9630,
7,
2539,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
82,
482,
62,
11600,
58,
2539,
62,
4868,
58,
72,
60,
4357,
6039,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
1994,
62,
4868,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
482,
62,
4906,
58,
2539,
4357,
264,
482,
62,
11600,
58,
2539,
60,
796,
6060,
13,
29572,
62,
7890,
62,
4868,
7,
82,
482,
62,
11600,
58,
2539,
12962,
14692,
4906,
33116,
6060,
13,
29572,
62,
7890,
62,
4868,
7,
82,
482,
62,
11600,
58,
2539,
12962,
14692,
7890,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
3937,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6039,
287,
6039,
62,
82,
10145,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45218,
62,
3937,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
1123,
9630,
7,
2539,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
482,
62,
4906,
58,
2539,
62,
4868,
58,
72,
11907,
6624,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
22065,
62,
3937,
11,
4731,
7,
3937,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
22065,
62,
3937,
11,
21136,
7,
82,
482,
62,
4906,
58,
2539,
62,
4868,
58,
72,
60,
4357,
4731,
7,
3937,
58,
72,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
3605,
62,
3937,
11,
685,
22065,
62,
3937,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
4554,
13,
3937,
62,
82,
10145,
796,
649,
62,
3937,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6060,
44909,
942,
13,
35422,
1068,
35,
713,
7,
2539,
62,
4868,
58,
72,
60,
14804,
6060,
7248,
13,
39470,
7248,
7,
82,
482,
62,
11600,
58,
2539,
62,
4868,
58,
72,
60,
4357,
1312,
11,
1994,
62,
4868,
58,
72,
4357,
4554,
8,
329,
1312,
287,
1123,
9630,
7,
2539,
62,
4868,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
6601,
7248,
13,
25166,
7248,
7,
6601,
44909,
942,
13,
35422,
1068,
35,
713,
7,
2539,
5218,
264,
482,
62,
11600,
58,
2539,
7131,
72,
60,
329,
1994,
287,
1994,
62,
4868,
828,
1312,
11,
4554,
8,
329,
1312,
287,
1123,
9630,
7,
3937,
62,
82,
10145,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
4666,
1958,
198,
220,
220,
220,
2163,
7550,
7,
39098,
11,
4818,
62,
1930,
11,
4818,
62,
3672,
11,
6039,
62,
8367,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4818,
62,
1930,
1279,
352,
8614,
4818,
62,
1930,
1875,
4129,
7,
39098,
13,
19608,
62,
82,
10145,
8,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5972,
2667,
13,
24908,
7203,
28463,
2292,
318,
12515,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
19608,
62,
82,
10145,
796,
7550,
0,
7,
39098,
13,
19608,
62,
82,
10145,
11,
4818,
62,
1930,
11,
4818,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
3937,
62,
82,
10145,
796,
685,
28463,
0,
7,
39098,
13,
3937,
62,
82,
10145,
58,
72,
4357,
4818,
62,
1930,
11,
6039,
62,
8367,
58,
72,
12962,
329,
1312,
287,
1123,
9630,
7,
39098,
13,
3937,
62,
82,
10145,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
796,
900,
62,
82,
482,
7,
39098,
11,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4554,
13,
19608,
62,
82,
10145,
11,
4554,
13,
3937,
62,
82,
10145,
11,
4554,
13557,
82,
482,
62,
11600,
11,
4554,
13557,
82,
482,
62,
3258,
796,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
11,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2163,
24443,
7,
39098,
11,
4818,
62,
3672,
11,
6039,
62,
8367,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7550,
7,
39098,
11,
4129,
7,
39098,
13,
19608,
62,
82,
10145,
8,
1343,
352,
11,
4818,
62,
3672,
11,
6039,
62,
8367,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
36439,
6356,
290,
12405,
198,
220,
220,
220,
2163,
2922,
7,
39098,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
4731,
7,
2539,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
8423,
7,
28311,
29572,
7,
5317,
11,
1994,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
4554,
13557,
82,
482,
62,
3258,
58,
29572,
7,
5317,
11,
1994,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
4554,
13557,
82,
482,
62,
11600,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2163,
810,
7,
39098,
11,
810,
62,
8841,
11,
4268,
62,
8423,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
796,
4554,
13,
19608,
62,
82,
10145,
11,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
62,
2617,
287,
4554,
13557,
82,
482,
62,
3258,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
810,
62,
20274,
796,
5752,
62,
2617,
13,
3003,
7,
3003,
62,
8841,
11,
4268,
62,
8423,
796,
4268,
62,
8423,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
810,
62,
20274,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
3605,
62,
3937,
62,
82,
10145,
11,
685,
3003,
62,
20274,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
796,
7308,
13,
22089,
30073,
7,
39098,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
796,
900,
62,
82,
482,
7,
3605,
62,
39098,
11,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
13,
19608,
62,
82,
10145,
11,
649,
62,
39098,
13,
3937,
62,
82,
10145,
11,
649,
62,
39098,
13557,
82,
482,
62,
11600,
11,
649,
62,
39098,
13557,
82,
482,
62,
3258,
796,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
11,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
13,
3672,
796,
4731,
7,
3605,
62,
39098,
13,
3672,
11,
366,
25,
33172,
810,
62,
8841,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
62,
39098,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2163,
16022,
7,
39098,
11,
16022,
62,
8841,
11,
287,
5372,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16022,
62,
1462,
796,
10283,
7,
35312,
7,
4853,
341,
62,
8841,
11,
366,
2625,
38381,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
796,
287,
7,
4853,
341,
62,
1462,
11,
4554,
13,
19608,
62,
82,
10145,
8,
5633,
4554,
13,
19608,
62,
82,
10145,
1058,
24443,
0,
7,
39098,
13,
19608,
62,
82,
10145,
11,
16022,
62,
1462,
828,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
62,
2617,
287,
4554,
13557,
82,
482,
62,
3258,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16022,
62,
20274,
796,
5752,
62,
2617,
13,
4853,
341,
7,
4853,
341,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16022,
62,
20274,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
3605,
62,
3937,
62,
82,
10145,
11,
685,
4853,
341,
62,
20274,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
287,
5372,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
796,
7308,
13,
22089,
30073,
7,
39098,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
796,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
796,
900,
62,
82,
482,
7,
3605,
62,
39098,
11,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
13,
19608,
62,
82,
10145,
11,
649,
62,
39098,
13,
3937,
62,
82,
10145,
11,
649,
62,
39098,
13557,
82,
482,
62,
11600,
11,
649,
62,
39098,
13557,
82,
482,
62,
3258,
796,
649,
62,
19608,
62,
82,
10145,
11,
649,
62,
3937,
62,
82,
10145,
11,
649,
62,
82,
482,
62,
11600,
11,
649,
62,
82,
482,
62,
3258,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39098,
13,
3672,
796,
4731,
7,
3605,
62,
39098,
13,
3672,
11,
366,
25,
33172,
16022,
62,
8841,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
287,
5372,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
7,
3605,
62,
39098,
13,
1462,
62,
8841,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
62,
39098,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
20147,
1968,
425,
7869,
198,
220,
220,
220,
2163,
6901,
7,
39098,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
6060,
44909,
942,
13,
35422,
1068,
35,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
287,
4554,
13,
19608,
62,
82,
10145,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
58,
19608,
60,
796,
4554,
13,
19738,
7,
19608,
737,
20147,
4892,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
886,
198,
437
] | 2.081021 | 2,234 |
if basename(pwd()) == "aoc"
cd("2017/10")
end
struct CircularBuffer
data
end
CircularBuffer(n::Int) = CircularBuffer(collect(0:n-1))
function Base.getindex(buffer::CircularBuffer, index::Integer)
buffer.data[index%length(buffer.data)+1]
end
function Base.getindex(buffer::CircularBuffer, indices::AbstractRange{<:Integer})
collect(buffer[index] for index in indices)
end
function Base.setindex!(buffer::CircularBuffer, value, index::Integer)
buffer.data[index%length(buffer.data)+1] = value
end
function Base.reverse!(buffer::CircularBuffer, start = 0, stop = length(buffer.data) - 1)
for (i, v) in zip(start:stop, reverse(buffer[start:stop]))
buffer[i] = v
end
buffer
end
function loadlengths(filename::AbstractString)
parse.(Int, split(readline(filename), ","))
end
function knothash!(buffer::CircularBuffer, lengths)
position = 0
for (skip, len) in zip(Iterators.countfrom(0), lengths)
reverse!(buffer, position, position + len - 1)
position += skip + len
end
buffer
end
function part1(filename::AbstractString, n = 256)
prod(knothash!(CircularBuffer(n), loadlengths(filename))[0:1])
end
@assert knothash!(CircularBuffer(5), [3, 4, 1, 5])[0:1] == [3, 4]
# part1("input.txt")
function sparsehash!(buffer, input::AbstractString)
lengths = [(Int(c) for c in input)..., 17, 31, 73, 47, 23]
position = 0
for (skip, len) in zip(Iterators.countfrom(0), repeat(lengths, 64))
reverse!(buffer, position, position + len - 1)
position += skip + len
end
buffer
end
sparsehash(input::AbstractString) = sparsehash!(CircularBuffer(256), input)
function densehash(sparsehash::CircularBuffer)
join(map(Iterators.partition(sparsehash.data, 16)) do section
string(reduce(xor, section), base = 16, pad = 2)
end)
end
densehash(input::AbstractString) = densehash(sparsehash(input))
part2(filename::AbstractString) = densehash(readline(filename))
@assert densehash("") == "a2582a3a0e66e6e86e3812dcb672a272"
@assert densehash("AoC 2017") == "33efeb34ea91902bb2f59c9920caa6cd"
@assert densehash("1,2,3") == "3efbe78a8d82f29979031a4aa0b16a9d"
@assert densehash("1,2,4") == "63960835bcdc130f0b66d7ff4f6a5a8e"
# part2("input.txt")
| [
361,
1615,
12453,
7,
79,
16993,
28955,
6624,
366,
64,
420,
1,
198,
220,
220,
220,
22927,
7203,
5539,
14,
940,
4943,
198,
437,
198,
198,
7249,
7672,
934,
28632,
198,
220,
220,
220,
1366,
198,
437,
198,
198,
31560,
934,
28632,
7,
77,
3712,
5317,
8,
796,
7672,
934,
28632,
7,
33327,
7,
15,
25,
77,
12,
16,
4008,
198,
198,
8818,
7308,
13,
1136,
9630,
7,
22252,
3712,
31560,
934,
28632,
11,
6376,
3712,
46541,
8,
198,
220,
220,
220,
11876,
13,
7890,
58,
9630,
4,
13664,
7,
22252,
13,
7890,
47762,
16,
60,
198,
437,
198,
198,
8818,
7308,
13,
1136,
9630,
7,
22252,
3712,
31560,
934,
28632,
11,
36525,
3712,
23839,
17257,
90,
27,
25,
46541,
30072,
198,
220,
220,
220,
2824,
7,
22252,
58,
9630,
60,
329,
6376,
287,
36525,
8,
198,
437,
198,
198,
8818,
7308,
13,
2617,
9630,
0,
7,
22252,
3712,
31560,
934,
28632,
11,
1988,
11,
6376,
3712,
46541,
8,
198,
220,
220,
220,
11876,
13,
7890,
58,
9630,
4,
13664,
7,
22252,
13,
7890,
47762,
16,
60,
796,
1988,
198,
437,
198,
198,
8818,
7308,
13,
50188,
0,
7,
22252,
3712,
31560,
934,
28632,
11,
923,
796,
657,
11,
2245,
796,
4129,
7,
22252,
13,
7890,
8,
532,
352,
8,
198,
220,
220,
220,
329,
357,
72,
11,
410,
8,
287,
19974,
7,
9688,
25,
11338,
11,
9575,
7,
22252,
58,
9688,
25,
11338,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
11876,
58,
72,
60,
796,
410,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11876,
198,
437,
198,
198,
8818,
3440,
13664,
82,
7,
34345,
3712,
23839,
10100,
8,
198,
220,
220,
220,
21136,
12195,
5317,
11,
6626,
7,
961,
1370,
7,
34345,
828,
366,
553,
4008,
198,
437,
198,
198,
8818,
638,
849,
1077,
0,
7,
22252,
3712,
31560,
934,
28632,
11,
20428,
8,
198,
220,
220,
220,
2292,
796,
657,
198,
220,
220,
220,
329,
357,
48267,
11,
18896,
8,
287,
19974,
7,
29993,
2024,
13,
9127,
6738,
7,
15,
828,
20428,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9575,
0,
7,
22252,
11,
2292,
11,
2292,
1343,
18896,
532,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2292,
15853,
14267,
1343,
18896,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11876,
198,
437,
198,
198,
8818,
636,
16,
7,
34345,
3712,
23839,
10100,
11,
299,
796,
17759,
8,
198,
220,
220,
220,
40426,
7,
15418,
849,
1077,
0,
7,
31560,
934,
28632,
7,
77,
828,
3440,
13664,
82,
7,
34345,
4008,
58,
15,
25,
16,
12962,
198,
437,
198,
198,
31,
30493,
638,
849,
1077,
0,
7,
31560,
934,
28632,
7,
20,
828,
685,
18,
11,
604,
11,
352,
11,
642,
12962,
58,
15,
25,
16,
60,
6624,
685,
18,
11,
604,
60,
198,
2,
636,
16,
7203,
15414,
13,
14116,
4943,
198,
198,
8818,
29877,
17831,
0,
7,
22252,
11,
5128,
3712,
23839,
10100,
8,
198,
220,
220,
220,
20428,
796,
47527,
5317,
7,
66,
8,
329,
269,
287,
5128,
26513,
11,
1596,
11,
3261,
11,
8854,
11,
6298,
11,
2242,
60,
198,
220,
220,
220,
2292,
796,
657,
198,
220,
220,
220,
329,
357,
48267,
11,
18896,
8,
287,
19974,
7,
29993,
2024,
13,
9127,
6738,
7,
15,
828,
9585,
7,
13664,
82,
11,
5598,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
9575,
0,
7,
22252,
11,
2292,
11,
2292,
1343,
18896,
532,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2292,
15853,
14267,
1343,
18896,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11876,
198,
437,
198,
82,
29572,
17831,
7,
15414,
3712,
23839,
10100,
8,
796,
29877,
17831,
0,
7,
31560,
934,
28632,
7,
11645,
828,
5128,
8,
198,
198,
8818,
15715,
17831,
7,
82,
29572,
17831,
3712,
31560,
934,
28632,
8,
198,
220,
220,
220,
4654,
7,
8899,
7,
29993,
2024,
13,
3911,
653,
7,
82,
29572,
17831,
13,
7890,
11,
1467,
4008,
466,
2665,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
7,
445,
7234,
7,
87,
273,
11,
2665,
828,
2779,
796,
1467,
11,
14841,
796,
362,
8,
198,
220,
220,
220,
886,
8,
198,
437,
198,
198,
67,
1072,
17831,
7,
15414,
3712,
23839,
10100,
8,
796,
15715,
17831,
7,
82,
29572,
17831,
7,
15414,
4008,
198,
3911,
17,
7,
34345,
3712,
23839,
10100,
8,
796,
15715,
17831,
7,
961,
1370,
7,
34345,
4008,
198,
198,
31,
30493,
15715,
17831,
7203,
4943,
6624,
366,
64,
1495,
6469,
64,
18,
64,
15,
68,
2791,
68,
21,
68,
4521,
68,
2548,
1065,
17896,
65,
43864,
64,
29807,
1,
198,
31,
30493,
15715,
17831,
7203,
32,
78,
34,
2177,
4943,
6624,
366,
2091,
891,
1765,
2682,
18213,
24,
1129,
2999,
11848,
17,
69,
3270,
66,
2079,
1238,
6888,
64,
21,
10210,
1,
198,
31,
30493,
15715,
17831,
7203,
16,
11,
17,
11,
18,
4943,
6624,
366,
18,
891,
1350,
3695,
64,
23,
67,
6469,
69,
22579,
3720,
43637,
64,
19,
7252,
15,
65,
1433,
64,
24,
67,
1,
198,
31,
30493,
15715,
17831,
7203,
16,
11,
17,
11,
19,
4943,
6624,
366,
21,
2670,
28688,
2327,
65,
10210,
66,
12952,
69,
15,
65,
2791,
67,
22,
487,
19,
69,
21,
64,
20,
64,
23,
68,
1,
198,
198,
2,
636,
17,
7203,
15414,
13,
14116,
4943,
198
] | 2.556186 | 881 |
function NSDEBase.solve!(solution::MovingWindowSolution, problem, solver::MovingWindowSolver)
@↓ u0, (t0, tN) ← tspan = problem
@↓ 𝒫, τ, Δτ = solver
@↓ 𝒢, P = 𝒫
for m = 1:length(solution)
solution[m] = TimeParallelSolution(problem, 𝒫)
@↓ U, T = solution[m]
if m == 1
TimeParallel.coarseguess!(solution[m], problem, u0, t0, t0 + τ, 𝒫)
else
ΔP = trunc(Int, P * Δτ / τ)
N = P - ΔP + 1
for n = 1:length(T)
T[n] = solution[m-1].T[n] + Δτ
end
for n = 1:N
U[n] = solution[m-1].U[ΔP+n]
end
for n = N:P
chunk = 𝒢(problem, U[n], T[n], T[n+1])
U[n+1] = chunk.u[end]
end
end
𝒫(solution[m], problem)
end
solution
end
function NSDEBase.solve(problem, solver::MovingWindowSolver)
solution = MovingWindowSolution(problem, solver)
solve!(solution, problem, solver)
solution
end
| [
8818,
10896,
7206,
14881,
13,
82,
6442,
0,
7,
82,
2122,
3712,
33622,
27703,
46344,
11,
1917,
11,
1540,
332,
3712,
33622,
27703,
50,
14375,
8,
198,
220,
220,
220,
2488,
29705,
241,
334,
15,
11,
357,
83,
15,
11,
256,
45,
8,
17804,
238,
256,
12626,
796,
1917,
198,
220,
220,
220,
2488,
29705,
241,
220,
47728,
240,
104,
11,
46651,
11,
37455,
32830,
796,
1540,
332,
198,
220,
220,
220,
2488,
29705,
241,
220,
47728,
240,
95,
11,
350,
796,
220,
47728,
240,
104,
198,
220,
220,
220,
329,
285,
796,
352,
25,
13664,
7,
82,
2122,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4610,
58,
76,
60,
796,
3862,
10044,
29363,
46344,
7,
45573,
11,
220,
47728,
240,
104,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
29705,
241,
471,
11,
309,
796,
4610,
58,
76,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3862,
10044,
29363,
13,
1073,
17208,
5162,
408,
0,
7,
82,
2122,
58,
76,
4357,
1917,
11,
334,
15,
11,
256,
15,
11,
256,
15,
1343,
46651,
11,
220,
47728,
240,
104,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37455,
47,
796,
40122,
7,
5317,
11,
350,
1635,
37455,
32830,
1220,
46651,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
399,
796,
350,
532,
37455,
47,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
299,
796,
352,
25,
13664,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
58,
77,
60,
796,
4610,
58,
76,
12,
16,
4083,
51,
58,
77,
60,
1343,
37455,
32830,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
299,
796,
352,
25,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
471,
58,
77,
60,
796,
4610,
58,
76,
12,
16,
4083,
52,
58,
138,
242,
47,
10,
77,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
299,
796,
399,
25,
47,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16058,
796,
220,
47728,
240,
95,
7,
45573,
11,
471,
58,
77,
4357,
309,
58,
77,
4357,
309,
58,
77,
10,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
471,
58,
77,
10,
16,
60,
796,
16058,
13,
84,
58,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
47728,
240,
104,
7,
82,
2122,
58,
76,
4357,
1917,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
4610,
198,
437,
198,
198,
8818,
10896,
7206,
14881,
13,
82,
6442,
7,
45573,
11,
1540,
332,
3712,
33622,
27703,
50,
14375,
8,
198,
220,
220,
220,
4610,
796,
26768,
27703,
46344,
7,
45573,
11,
1540,
332,
8,
198,
220,
220,
220,
8494,
0,
7,
82,
2122,
11,
1917,
11,
1540,
332,
8,
198,
220,
220,
220,
4610,
198,
437,
198
] | 1.731293 | 588 |
@testset "expected_loglik" begin
# Test that the various methods of computing expectations return the same
# result.
rng = MersenneTwister(123456)
q_f = Normal.(zeros(10), ones(10))
likelihoods_to_test = [
ExponentialLikelihood(),
GammaLikelihood(),
PoissonLikelihood(),
GaussianLikelihood(),
]
@testset "testing all analytic implementations" begin
# Test that we're not missing any analytic implementation in `likelihoods_to_test`!
implementation_types = [
(; quadrature=m.sig.types[2], lik=m.sig.types[5]) for
m in methods(ApproximateGPs.expected_loglik)
]
analytic_likelihoods = [
m.lik for m in implementation_types if
m.quadrature == ApproximateGPs.Analytic && m.lik != Any
]
for lik_type in analytic_likelihoods
@test any(lik isa lik_type for lik in likelihoods_to_test)
end
end
@testset "$(nameof(typeof(lik)))" for lik in likelihoods_to_test
methods = [GaussHermite(100), MonteCarlo(1e7)]
def = ApproximateGPs._default_quadrature(lik)
if def isa Analytic
push!(methods, def)
end
y = rand.(rng, lik.(zeros(10)))
results = map(m -> ApproximateGPs.expected_loglik(m, y, q_f, lik), methods)
@test all(x -> isapprox(x, results[end]; atol=1e-6, rtol=1e-3), results)
end
@test ApproximateGPs.expected_loglik(
MonteCarlo(), zeros(10), q_f, GaussianLikelihood()
) isa Real
@test ApproximateGPs.expected_loglik(
GaussHermite(), zeros(10), q_f, GaussianLikelihood()
) isa Real
@test ApproximateGPs._default_quadrature(θ -> Normal(0, θ)) isa GaussHermite
@testset "testing Zygote compatibility with GaussHermite" begin # see issue #82
N = 10
gh = GaussHermite(12)
μs = randn(rng, N)
σs = rand(rng, N)
# Test differentiation with variational parameters
for lik in likelihoods_to_test
y = rand.(rng, lik.(rand.(Normal.(μs, σs))))
gμ, glogσ = Zygote.gradient(μs, log.(σs)) do μ, logσ
ApproximateGPs.expected_loglik(gh, y, Normal.(μ, exp.(logσ)), lik)
end
@test all(isfinite, gμ)
@test all(isfinite, glogσ)
end
# Test differentiation with likelihood parameters
# Test GaussianLikelihood parameter
σ = 1.0
y = randn(rng, N)
glogσ = only(
Zygote.gradient(log(σ)) do x
ApproximateGPs.expected_loglik(
gh, y, Normal.(μs, σs), GaussianLikelihood(exp(x))
)
end,
)
@test isfinite(glogσ)
# Test GammaLikelihood parameter
α = 2.0
y = rand.(rng, Gamma.(α, rand(N)))
glogα = only(
Zygote.gradient(log(α)) do x
ApproximateGPs.expected_loglik(
gh, y, Normal.(μs, σs), GammaLikelihood(exp(x))
)
end,
)
@test isfinite(glogα)
end
end
| [
31,
9288,
2617,
366,
40319,
62,
6404,
46965,
1,
2221,
198,
220,
220,
220,
1303,
6208,
326,
262,
2972,
5050,
286,
14492,
9027,
1441,
262,
976,
198,
220,
220,
220,
1303,
1255,
13,
198,
220,
220,
220,
374,
782,
796,
337,
364,
29727,
5080,
1694,
7,
10163,
29228,
8,
198,
220,
220,
220,
10662,
62,
69,
796,
14435,
12195,
9107,
418,
7,
940,
828,
3392,
7,
940,
4008,
628,
220,
220,
220,
14955,
82,
62,
1462,
62,
9288,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
5518,
35470,
7594,
11935,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
43595,
7594,
11935,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
7695,
30927,
7594,
11935,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
12822,
31562,
7594,
11935,
22784,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
2488,
9288,
2617,
366,
33407,
477,
49166,
25504,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
326,
356,
821,
407,
4814,
597,
49166,
7822,
287,
4600,
2339,
11935,
82,
62,
1462,
62,
9288,
63,
0,
198,
220,
220,
220,
220,
220,
220,
220,
7822,
62,
19199,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
26,
15094,
81,
1300,
28,
76,
13,
82,
328,
13,
19199,
58,
17,
4357,
4300,
28,
76,
13,
82,
328,
13,
19199,
58,
20,
12962,
329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
287,
5050,
7,
4677,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
49166,
62,
2339,
11935,
82,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
13,
46965,
329,
285,
287,
7822,
62,
19199,
611,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
13,
421,
41909,
1300,
6624,
2034,
13907,
1920,
38,
12016,
13,
37702,
13370,
11405,
285,
13,
46965,
14512,
4377,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4300,
62,
4906,
287,
49166,
62,
2339,
11935,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
597,
7,
46965,
318,
64,
4300,
62,
4906,
329,
4300,
287,
14955,
82,
62,
1462,
62,
9288,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
17971,
7,
3672,
1659,
7,
4906,
1659,
7,
46965,
4008,
16725,
329,
4300,
287,
14955,
82,
62,
1462,
62,
9288,
198,
220,
220,
220,
220,
220,
220,
220,
5050,
796,
685,
35389,
1046,
48523,
578,
7,
3064,
828,
22489,
9914,
5439,
7,
16,
68,
22,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
825,
796,
2034,
13907,
1920,
38,
12016,
13557,
12286,
62,
421,
41909,
1300,
7,
46965,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
825,
318,
64,
16213,
13370,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
24396,
82,
11,
825,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
43720,
12195,
81,
782,
11,
4300,
12195,
9107,
418,
7,
940,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
2482,
796,
3975,
7,
76,
4613,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
76,
11,
331,
11,
10662,
62,
69,
11,
4300,
828,
5050,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
477,
7,
87,
4613,
318,
1324,
13907,
7,
87,
11,
2482,
58,
437,
11208,
379,
349,
28,
16,
68,
12,
21,
11,
374,
83,
349,
28,
16,
68,
12,
18,
828,
2482,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22489,
9914,
5439,
22784,
1976,
27498,
7,
940,
828,
10662,
62,
69,
11,
12822,
31562,
7594,
11935,
3419,
198,
220,
220,
220,
1267,
318,
64,
6416,
198,
220,
220,
220,
2488,
9288,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
198,
220,
220,
220,
220,
220,
220,
220,
12822,
1046,
48523,
578,
22784,
1976,
27498,
7,
940,
828,
10662,
62,
69,
11,
12822,
31562,
7594,
11935,
3419,
198,
220,
220,
220,
1267,
318,
64,
6416,
198,
220,
220,
220,
2488,
9288,
2034,
13907,
1920,
38,
12016,
13557,
12286,
62,
421,
41909,
1300,
7,
138,
116,
4613,
14435,
7,
15,
11,
7377,
116,
4008,
318,
64,
12822,
1046,
48523,
578,
628,
220,
220,
220,
2488,
9288,
2617,
366,
33407,
1168,
35641,
1258,
17764,
351,
12822,
1046,
48523,
578,
1,
2221,
1303,
766,
2071,
1303,
6469,
198,
220,
220,
220,
220,
220,
220,
220,
399,
796,
838,
198,
220,
220,
220,
220,
220,
220,
220,
24997,
796,
12822,
1046,
48523,
578,
7,
1065,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18919,
82,
796,
43720,
77,
7,
81,
782,
11,
399,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18074,
225,
82,
796,
43720,
7,
81,
782,
11,
399,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
32488,
351,
5553,
864,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4300,
287,
14955,
82,
62,
1462,
62,
9288,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
796,
43720,
12195,
81,
782,
11,
4300,
12195,
25192,
12195,
26447,
12195,
34703,
82,
11,
18074,
225,
82,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
34703,
11,
1278,
519,
38392,
796,
1168,
35641,
1258,
13,
49607,
7,
34703,
82,
11,
2604,
12195,
38392,
82,
4008,
466,
18919,
11,
2604,
38392,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
456,
11,
331,
11,
14435,
12195,
34703,
11,
1033,
12195,
6404,
38392,
36911,
4300,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
477,
7,
4468,
9504,
11,
308,
34703,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
477,
7,
4468,
9504,
11,
1278,
519,
38392,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
32488,
351,
14955,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
12822,
31562,
7594,
11935,
11507,
198,
220,
220,
220,
220,
220,
220,
220,
18074,
225,
796,
352,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
43720,
77,
7,
81,
782,
11,
399,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1278,
519,
38392,
796,
691,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1168,
35641,
1258,
13,
49607,
7,
6404,
7,
38392,
4008,
466,
2124,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24997,
11,
331,
11,
14435,
12195,
34703,
82,
11,
18074,
225,
82,
828,
12822,
31562,
7594,
11935,
7,
11201,
7,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
318,
69,
9504,
7,
4743,
519,
38392,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6208,
43595,
7594,
11935,
11507,
198,
220,
220,
220,
220,
220,
220,
220,
26367,
796,
362,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
43720,
12195,
81,
782,
11,
43595,
12195,
17394,
11,
43720,
7,
45,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
1278,
519,
17394,
796,
691,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1168,
35641,
1258,
13,
49607,
7,
6404,
7,
17394,
4008,
466,
2124,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2034,
13907,
1920,
38,
12016,
13,
40319,
62,
6404,
46965,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24997,
11,
331,
11,
14435,
12195,
34703,
82,
11,
18074,
225,
82,
828,
43595,
7594,
11935,
7,
11201,
7,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
318,
69,
9504,
7,
4743,
519,
17394,
8,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.038083 | 1,523 |
# Autogenerated wrapper script for Arpack_jll for aarch64-apple-darwin
export libarpack
using OpenBLAS_jll
using CompilerSupportLibraries_jll
JLLWrappers.@generate_wrapper_header("Arpack")
JLLWrappers.@declare_library_product(libarpack, "@rpath/libarpack.2.dylib")
function __init__()
JLLWrappers.@generate_init_header(OpenBLAS_jll, CompilerSupportLibraries_jll)
JLLWrappers.@init_library_product(
libarpack,
"lib/libarpack.2.1.0.dylib",
RTLD_LAZY | RTLD_DEEPBIND,
)
JLLWrappers.@generate_init_footer()
end # __init__()
| [
2,
5231,
519,
877,
515,
29908,
4226,
329,
943,
8002,
62,
73,
297,
329,
257,
998,
2414,
12,
18040,
12,
27455,
5404,
198,
39344,
9195,
5117,
441,
198,
198,
3500,
4946,
9148,
1921,
62,
73,
297,
198,
3500,
3082,
5329,
15514,
43,
11127,
62,
73,
297,
198,
41,
3069,
36918,
11799,
13,
31,
8612,
378,
62,
48553,
62,
25677,
7203,
3163,
8002,
4943,
198,
41,
3069,
36918,
11799,
13,
31,
32446,
533,
62,
32016,
62,
11167,
7,
8019,
5117,
441,
11,
44212,
81,
6978,
14,
8019,
5117,
441,
13,
17,
13,
31739,
4943,
198,
8818,
11593,
15003,
834,
3419,
198,
220,
220,
220,
449,
3069,
36918,
11799,
13,
31,
8612,
378,
62,
15003,
62,
25677,
7,
11505,
9148,
1921,
62,
73,
297,
11,
3082,
5329,
15514,
43,
11127,
62,
73,
297,
8,
198,
220,
220,
220,
449,
3069,
36918,
11799,
13,
31,
15003,
62,
32016,
62,
11167,
7,
198,
220,
220,
220,
220,
220,
220,
220,
9195,
5117,
441,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8019,
14,
8019,
5117,
441,
13,
17,
13,
16,
13,
15,
13,
31739,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
11923,
11163,
62,
13534,
57,
56,
930,
11923,
11163,
62,
35,
35238,
33,
12115,
11,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
449,
3069,
36918,
11799,
13,
31,
8612,
378,
62,
15003,
62,
5898,
263,
3419,
198,
437,
220,
1303,
11593,
15003,
834,
3419,
198
] | 2.365546 | 238 |
using Gadfly, RDatasets
set_default_plot_size(6inch, 6inch)
plot(dataset("MASS", "mammals"), x="Body", y="Brain",
label=1, Scale.x_log10, Scale.y_log10, Geom.point, Geom.label)
| [
3500,
20925,
12254,
11,
371,
27354,
292,
1039,
198,
198,
2617,
62,
12286,
62,
29487,
62,
7857,
7,
21,
8589,
11,
718,
8589,
8,
198,
198,
29487,
7,
19608,
292,
316,
7203,
44,
10705,
1600,
366,
76,
6475,
874,
12340,
2124,
2625,
25842,
1600,
331,
2625,
44687,
1600,
198,
220,
220,
220,
220,
6167,
28,
16,
11,
21589,
13,
87,
62,
6404,
940,
11,
21589,
13,
88,
62,
6404,
940,
11,
2269,
296,
13,
4122,
11,
2269,
296,
13,
18242,
8,
198
] | 2.243902 | 82 |
function _precompile_()
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
Base.precompile(Tuple{typeof(pager),String})
end
| [
8818,
4808,
3866,
5589,
576,
62,
3419,
198,
220,
220,
220,
269,
13345,
7,
25,
20362,
62,
8612,
803,
62,
22915,
11,
327,
600,
11,
32865,
6624,
352,
8614,
1441,
2147,
198,
220,
220,
220,
7308,
13,
3866,
5589,
576,
7,
51,
29291,
90,
4906,
1659,
7,
79,
3536,
828,
10100,
30072,
198,
437,
198
] | 2.6 | 55 |
# This file is a part of BAT.jl, licensed under the MIT License (MIT).
# UltraNest docstrings are reproduced here under MIT License with the kind
# permission of the original author
# Johannes Buchner <johannes.buchner.acad@gmx.com>.
"""
struct ReactiveNestedSampling <: AbstractUltraNestAlgorithm
*Experimental feature, not part of stable public API.*
[UltraNest](https://github.com/JohannesBuchner/UltraNest) reactive nested
sampling algorithm with.
Uses the UltraNest Python package, via
[UltraNest.jl](https://github.com/bat/UltraNest.jl) (and PyCall).
Constructors:
* ```$(FUNCTIONNAME)(; fields...)```
Fields:
$(TYPEDFIELDS)
!!! note
This functionality is only available when the
[UltraNest](https://github.com/bat/UltraNest.jl) package is loaded (e.g. via
`import UltraNest`).
"""
@with_kw struct ReactiveNestedSampling{TR<:AbstractDensityTransformTarget} <: AbstractSamplingAlgorithm
trafo::TR = PriorToUniform()
# "Indicating whether this parameter wraps around (circular parameter)"
# wrapped_params::Array{Bool}
"Test transform and likelihood with this number of random points for errors first. Useful to catch bugs."
num_test_samples::Int = 2
"If efficiency goes down, dynamically draw more points from the region between ndraw_min and ndraw_max. If set to False, few points are sampled at once."
draw_multiple::Bool = true
"Number of logZ estimators and MLFriends region bootstrap rounds."
num_bootstraps::Int = 30
"Minimum number of points to simultaneously propose. Increase this if your likelihood makes vectorization very cheap."
ndraw_min::Int = 128
"Maximum number of points to simultaneously propose. Increase this if your likelihood makes vectorization very cheap. Memory allocation may be slow for extremely high values."
ndraw_max::Int = 65536
"Update region when the volume shrunk by this amount."
update_interval_volume_fraction::Float64 = 0.8
"Update stdout status line every log_interval iterations."
log_interval::Int = -1
"Show integration progress as a status line."
show_status::Bool = true
# "Callback function when region was rebuilt. Allows to show current state of the live points."
# viz_callback::Function = nop_func
"Target evidence uncertainty. This is the std between bootstrapped logz integrators."
dlogz::Float64 = 0.5
"Target posterior uncertainty. This is the Kullback-Leibler divergence in nat between bootstrapped integrators."
dKL::Float64 = 0.5
"Integrate until this fraction of the integral is left in the remainder. Set to a low number (1e-2 … 1e-5) to make sure peaks are discovered. Set to a higher number (0.5) if you know the posterior is simple."
frac_remain::Float64 = 0.01
"Terminate when live point likelihoods are all the same, within Lepsilon tolerance. Increase this when your likelihood function is inaccurate, to avoid unnecessary search."
Lepsilon::Float64 = 0.001
"Target number of effective posterior samples."
min_ess::Int = 400
"maximum number of integration iterations."
max_iters::Int = -1
"Stop after this many likelihood evaluations."
max_ncalls::Int = -1
"The algorithm tries to assess iteratively where more samples are needed. This number limits the number of improvement loops."
max_num_improvement_loops::Int = -1
"Minimum number of live points throughout the run."
min_num_live_points::Int = 400
"Require at least this many live points per detected cluster."
cluster_num_live_points::Int = 40
"z-score used as a threshold for the insertion order test. Set to infinity to disable."
insertion_test_window::Float64 = 10.0
"Number of iterations after which the insertion order test is reset."
insertion_test_zscore_threshold::Float64 = 2.0
end
export ReactiveNestedSampling
function bat_sample_impl(
rng::AbstractRNG,
target::AnyDensityLike,
algorithm::ReactiveNestedSampling
)
density_notrafo = convert(AbstractDensity, target)
shaped_density, trafo = bat_transform(algorithm.trafo, density_notrafo)
vs = varshape(shaped_density)
density = unshaped(shaped_density)
bounds = var_bounds(density)
if !(all(isequal(0), bounds.vol.lo) && all(isequal(1), bounds.vol.hi))
throw(ArgumentError("ReactiveNestedSampling only supports (transformed) densities defined on the unit hypercube"))
end
function vec_ultranest_logpstr(V_rowwise::AbstractMatrix{<:Real})
map(logdensityof(density), nestedview(copy(V_rowwise')))
end
ndims = totalndof(vs)
paramnames = all_active_names(varshape(density_notrafo))
smplr = UltraNest.ultranest.ReactiveNestedSampler(
paramnames, vec_ultranest_logpstr, vectorized = true,
num_test_samples = algorithm.num_test_samples,
draw_multiple = algorithm.draw_multiple,
num_bootstraps = algorithm.num_bootstraps,
ndraw_min = algorithm.ndraw_min,
ndraw_max = algorithm.ndraw_max
)
unest_result = smplr.run(
log_interval = algorithm.log_interval < 0 ? nothing : algorithm.log_interval,
show_status = algorithm.show_status,
#viz_callback = algorithm.# viz_callback,
dlogz = algorithm.dlogz,
dKL = algorithm.dKL,
frac_remain = algorithm.frac_remain,
Lepsilon = algorithm.Lepsilon,
min_ess = algorithm.min_ess,
max_iters = algorithm.max_iters < 0 ? nothing : algorithm.max_iters,
max_ncalls = algorithm.max_ncalls < 0 ? nothing : algorithm.max_ncalls,
max_num_improvement_loops = algorithm.max_num_improvement_loops,
min_num_live_points = algorithm.min_num_live_points,
cluster_num_live_points = algorithm.cluster_num_live_points,
insertion_test_window = algorithm.insertion_test_window,
insertion_test_zscore_threshold = algorithm.insertion_test_zscore_threshold
)
r = convert(Dict{String, Any}, unest_result)
unest_wsamples = convert(Dict{String, Any}, r["weighted_samples"])
v_trafo_us = nestedview(convert(Matrix{Float64}, unest_wsamples["points"]'))
logvals_trafo = convert(Vector{Float64}, unest_wsamples["logl"])
weight = convert(Vector{Float64}, unest_wsamples["weights"])
samples_trafo = DensitySampleVector(vs.(v_trafo_us), logvals_trafo, weight = weight)
samples_notrafo = inv(trafo).(samples_trafo)
uwv_trafo_us = nestedview(convert(Matrix{Float64}, r["samples"]'))
uwlogvals_trafo = map(logdensityof(density), uwv_trafo_us)
uwsamples_trafo = DensitySampleVector(vs.(uwv_trafo_us), uwlogvals_trafo)
uwsamples_notrafo = inv(trafo).(uwsamples_trafo)
logz = convert(BigFloat, r["logz"])::BigFloat
logzerr = convert(BigFloat, r["logzerr"])::BigFloat
logintegral = Measurements.measurement(logz, logzerr)
ess = convert(Float64, r["ess"])
return (
result = samples_notrafo, result_trafo = samples_trafo, trafo = trafo,
uwresult = uwsamples_notrafo, uwresult_trafo = uwsamples_trafo,
logintegral = logintegral, ess = ess,
info = r
)
end
| [
2,
770,
2393,
318,
257,
636,
286,
37421,
13,
20362,
11,
11971,
739,
262,
17168,
13789,
357,
36393,
737,
198,
198,
2,
14563,
45,
395,
2205,
37336,
389,
31759,
994,
739,
17168,
13789,
351,
262,
1611,
198,
2,
7170,
286,
262,
2656,
1772,
198,
2,
38579,
23670,
1008,
1279,
73,
1219,
1236,
274,
13,
65,
794,
1008,
13,
330,
324,
31,
70,
36802,
13,
785,
28401,
628,
198,
37811,
198,
220,
220,
220,
2878,
797,
5275,
45,
7287,
16305,
11347,
1279,
25,
27741,
36122,
45,
395,
2348,
42289,
198,
198,
9,
20468,
9134,
3895,
11,
407,
636,
286,
8245,
1171,
7824,
15885,
198,
198,
58,
36122,
45,
395,
16151,
5450,
1378,
12567,
13,
785,
14,
41,
1219,
1236,
274,
33,
794,
1008,
14,
36122,
45,
395,
8,
32242,
28376,
198,
37687,
11347,
11862,
351,
13,
198,
198,
5842,
274,
262,
14563,
45,
395,
11361,
5301,
11,
2884,
198,
58,
36122,
45,
395,
13,
20362,
16151,
5450,
1378,
12567,
13,
785,
14,
8664,
14,
36122,
45,
395,
13,
20362,
8,
357,
392,
9485,
14134,
737,
198,
198,
42316,
669,
25,
198,
198,
9,
7559,
63,
3,
7,
42296,
4177,
2849,
20608,
5769,
26,
7032,
23029,
15506,
63,
198,
198,
15878,
82,
25,
198,
198,
3,
7,
9936,
47,
1961,
11674,
3698,
5258,
8,
628,
198,
10185,
3465,
628,
220,
220,
220,
770,
11244,
318,
691,
1695,
618,
262,
198,
220,
220,
220,
685,
36122,
45,
395,
16151,
5450,
1378,
12567,
13,
785,
14,
8664,
14,
36122,
45,
395,
13,
20362,
8,
5301,
318,
9639,
357,
68,
13,
70,
13,
2884,
198,
220,
220,
220,
4600,
11748,
14563,
45,
395,
63,
737,
198,
37811,
198,
31,
4480,
62,
46265,
2878,
797,
5275,
45,
7287,
16305,
11347,
90,
5446,
27,
25,
23839,
35,
6377,
41762,
21745,
92,
1279,
25,
27741,
16305,
11347,
2348,
42289,
198,
220,
220,
220,
1291,
6513,
3712,
5446,
796,
14481,
2514,
3118,
6933,
3419,
628,
220,
220,
220,
1303,
366,
5497,
12364,
1771,
428,
11507,
27521,
1088,
357,
21170,
934,
11507,
16725,
198,
220,
220,
220,
1303,
12908,
62,
37266,
3712,
19182,
90,
33,
970,
92,
628,
220,
220,
220,
366,
14402,
6121,
290,
14955,
351,
428,
1271,
286,
4738,
2173,
329,
8563,
717,
13,
49511,
284,
4929,
11316,
526,
198,
220,
220,
220,
997,
62,
9288,
62,
82,
12629,
3712,
5317,
796,
362,
628,
220,
220,
220,
366,
1532,
9332,
2925,
866,
11,
32366,
3197,
517,
2173,
422,
262,
3814,
1022,
299,
19334,
62,
1084,
290,
299,
19334,
62,
9806,
13,
1002,
900,
284,
10352,
11,
1178,
2173,
389,
35846,
379,
1752,
526,
198,
220,
220,
220,
3197,
62,
48101,
3712,
33,
970,
796,
2081,
628,
220,
220,
220,
366,
15057,
286,
2604,
57,
3959,
2024,
290,
10373,
36705,
3814,
6297,
26418,
9196,
526,
198,
220,
220,
220,
997,
62,
18769,
12044,
862,
3712,
5317,
796,
1542,
628,
220,
220,
220,
366,
44046,
1271,
286,
2173,
284,
11640,
18077,
13,
25285,
428,
611,
534,
14955,
1838,
15879,
1634,
845,
7026,
526,
198,
220,
220,
220,
299,
19334,
62,
1084,
3712,
5317,
796,
13108,
628,
220,
220,
220,
366,
40541,
1271,
286,
2173,
284,
11640,
18077,
13,
25285,
428,
611,
534,
14955,
1838,
15879,
1634,
845,
7026,
13,
14059,
20157,
743,
307,
3105,
329,
4457,
1029,
3815,
526,
198,
220,
220,
220,
299,
19334,
62,
9806,
3712,
5317,
796,
45021,
2623,
628,
220,
220,
220,
366,
10260,
3814,
618,
262,
6115,
38900,
416,
428,
2033,
526,
198,
220,
220,
220,
4296,
62,
3849,
2100,
62,
29048,
62,
69,
7861,
3712,
43879,
2414,
796,
657,
13,
23,
628,
220,
220,
220,
366,
10260,
14367,
448,
3722,
1627,
790,
2604,
62,
3849,
2100,
34820,
526,
198,
220,
220,
220,
2604,
62,
3849,
2100,
3712,
5317,
796,
532,
16,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
15307,
11812,
4371,
355,
257,
3722,
1627,
526,
198,
220,
220,
220,
905,
62,
13376,
3712,
33,
970,
796,
2081,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
366,
47258,
2163,
618,
3814,
373,
30080,
13,
40402,
284,
905,
1459,
1181,
286,
262,
2107,
2173,
526,
198,
220,
220,
220,
1303,
48569,
62,
47423,
3712,
22203,
796,
299,
404,
62,
20786,
628,
220,
220,
220,
366,
21745,
2370,
13479,
13,
770,
318,
262,
14367,
1022,
6297,
12044,
1496,
2604,
89,
4132,
18942,
526,
198,
220,
220,
220,
288,
6404,
89,
3712,
43879,
2414,
796,
657,
13,
20,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
21745,
34319,
13479,
13,
770,
318,
262,
509,
724,
1891,
12,
3123,
571,
1754,
43366,
287,
34664,
1022,
6297,
12044,
1496,
4132,
18942,
526,
198,
220,
220,
220,
288,
42,
43,
3712,
43879,
2414,
796,
657,
13,
20,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
34500,
4873,
1566,
428,
13390,
286,
262,
19287,
318,
1364,
287,
262,
17675,
13,
5345,
284,
257,
1877,
1271,
357,
16,
68,
12,
17,
3926,
352,
68,
12,
20,
8,
284,
787,
1654,
25740,
389,
5071,
13,
5345,
284,
257,
2440,
1271,
357,
15,
13,
20,
8,
611,
345,
760,
262,
34319,
318,
2829,
526,
198,
220,
220,
220,
1216,
330,
62,
2787,
391,
3712,
43879,
2414,
796,
657,
13,
486,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
44798,
378,
618,
2107,
966,
14955,
82,
389,
477,
262,
976,
11,
1626,
42957,
18217,
261,
15621,
13,
25285,
428,
618,
534,
14955,
2163,
318,
21873,
11,
284,
3368,
13114,
2989,
526,
198,
220,
220,
220,
42957,
18217,
261,
3712,
43879,
2414,
796,
657,
13,
8298,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
21745,
1271,
286,
4050,
34319,
8405,
526,
198,
220,
220,
220,
949,
62,
408,
3712,
5317,
796,
7337,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
47033,
1271,
286,
11812,
34820,
526,
198,
220,
220,
220,
3509,
62,
270,
364,
3712,
5317,
796,
532,
16,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
19485,
706,
428,
867,
14955,
34109,
526,
198,
220,
220,
220,
3509,
62,
10782,
5691,
3712,
5317,
796,
532,
16,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
464,
11862,
8404,
284,
4659,
11629,
9404,
810,
517,
8405,
389,
2622,
13,
770,
1271,
7095,
262,
1271,
286,
9025,
23607,
526,
198,
220,
220,
220,
3509,
62,
22510,
62,
49453,
434,
62,
5439,
2840,
3712,
5317,
796,
532,
16,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
44046,
1271,
286,
2107,
2173,
3690,
262,
1057,
526,
198,
220,
220,
220,
949,
62,
22510,
62,
12583,
62,
13033,
3712,
5317,
796,
7337,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
16844,
557,
379,
1551,
428,
867,
2107,
2173,
583,
12326,
13946,
526,
198,
220,
220,
220,
13946,
62,
22510,
62,
12583,
62,
13033,
3712,
5317,
796,
2319,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
89,
12,
26675,
973,
355,
257,
11387,
329,
262,
36075,
1502,
1332,
13,
5345,
284,
37174,
284,
15560,
526,
198,
220,
220,
220,
36075,
62,
9288,
62,
17497,
3712,
43879,
2414,
796,
838,
13,
15,
198,
220,
220,
220,
220,
198,
220,
220,
220,
366,
15057,
286,
34820,
706,
543,
262,
36075,
1502,
1332,
318,
13259,
526,
198,
220,
220,
220,
36075,
62,
9288,
62,
89,
26675,
62,
400,
10126,
3712,
43879,
2414,
796,
362,
13,
15,
198,
437,
198,
39344,
797,
5275,
45,
7287,
16305,
11347,
628,
198,
8818,
7365,
62,
39873,
62,
23928,
7,
198,
220,
220,
220,
374,
782,
3712,
23839,
49,
10503,
11,
198,
220,
220,
220,
2496,
3712,
7149,
35,
6377,
7594,
11,
198,
220,
220,
220,
11862,
3712,
3041,
5275,
45,
7287,
16305,
11347,
198,
8,
198,
220,
220,
220,
12109,
62,
1662,
430,
6513,
796,
10385,
7,
23839,
35,
6377,
11,
2496,
8,
198,
220,
220,
220,
14292,
62,
43337,
11,
1291,
6513,
796,
7365,
62,
35636,
7,
282,
42289,
13,
9535,
6513,
11,
12109,
62,
1662,
430,
6513,
8,
198,
220,
220,
220,
3691,
796,
410,
5406,
1758,
7,
16760,
62,
43337,
8,
198,
220,
220,
220,
12109,
796,
555,
16760,
7,
16760,
62,
43337,
8,
628,
220,
220,
220,
22303,
796,
1401,
62,
65,
3733,
7,
43337,
8,
198,
220,
220,
220,
611,
5145,
7,
439,
7,
786,
13255,
7,
15,
828,
22303,
13,
10396,
13,
5439,
8,
11405,
477,
7,
786,
13255,
7,
16,
828,
22303,
13,
10396,
13,
5303,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
28100,
1713,
12331,
7203,
3041,
5275,
45,
7287,
16305,
11347,
691,
6971,
357,
7645,
12214,
8,
29509,
871,
5447,
319,
262,
4326,
8718,
40296,
48774,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2163,
43030,
62,
586,
2596,
395,
62,
6404,
79,
2536,
7,
53,
62,
808,
3083,
3712,
23839,
46912,
90,
27,
25,
15633,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
6404,
43337,
1659,
7,
43337,
828,
28376,
1177,
7,
30073,
7,
53,
62,
808,
3083,
6,
22305,
198,
220,
220,
220,
886,
628,
220,
220,
220,
299,
67,
12078,
796,
2472,
358,
1659,
7,
14259,
8,
198,
220,
220,
220,
5772,
14933,
796,
477,
62,
5275,
62,
14933,
7,
85,
5406,
1758,
7,
43337,
62,
1662,
430,
6513,
4008,
628,
220,
220,
220,
895,
489,
81,
796,
14563,
45,
395,
13,
586,
2596,
395,
13,
3041,
5275,
45,
7287,
16305,
20053,
7,
198,
220,
220,
220,
220,
220,
220,
220,
5772,
14933,
11,
43030,
62,
586,
2596,
395,
62,
6404,
79,
2536,
11,
15879,
1143,
796,
2081,
11,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
9288,
62,
82,
12629,
796,
11862,
13,
22510,
62,
9288,
62,
82,
12629,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3197,
62,
48101,
796,
11862,
13,
19334,
62,
48101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
18769,
12044,
862,
796,
11862,
13,
22510,
62,
18769,
12044,
862,
11,
198,
220,
220,
220,
220,
220,
220,
220,
299,
19334,
62,
1084,
796,
11862,
13,
358,
1831,
62,
1084,
11,
198,
220,
220,
220,
220,
220,
220,
220,
299,
19334,
62,
9806,
796,
11862,
13,
358,
1831,
62,
9806,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
555,
395,
62,
20274,
796,
895,
489,
81,
13,
5143,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
3849,
2100,
796,
11862,
13,
6404,
62,
3849,
2100,
1279,
657,
5633,
2147,
1058,
11862,
13,
6404,
62,
3849,
2100,
11,
198,
220,
220,
220,
220,
220,
220,
220,
905,
62,
13376,
796,
11862,
13,
12860,
62,
13376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
85,
528,
62,
47423,
796,
11862,
32535,
48569,
62,
47423,
11,
198,
220,
220,
220,
220,
220,
220,
220,
288,
6404,
89,
796,
11862,
13,
67,
6404,
89,
11,
198,
220,
220,
220,
220,
220,
220,
220,
288,
42,
43,
796,
11862,
13,
67,
42,
43,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1216,
330,
62,
2787,
391,
796,
11862,
13,
31944,
62,
2787,
391,
11,
198,
220,
220,
220,
220,
220,
220,
220,
42957,
18217,
261,
796,
11862,
13,
43,
538,
18217,
261,
11,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
408,
796,
11862,
13,
1084,
62,
408,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
270,
364,
796,
11862,
13,
9806,
62,
270,
364,
1279,
657,
5633,
2147,
1058,
11862,
13,
9806,
62,
270,
364,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
10782,
5691,
796,
11862,
13,
9806,
62,
10782,
5691,
1279,
657,
5633,
2147,
1058,
11862,
13,
9806,
62,
10782,
5691,
11,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
22510,
62,
49453,
434,
62,
5439,
2840,
796,
11862,
13,
9806,
62,
22510,
62,
49453,
434,
62,
5439,
2840,
11,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
22510,
62,
12583,
62,
13033,
796,
11862,
13,
1084,
62,
22510,
62,
12583,
62,
13033,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13946,
62,
22510,
62,
12583,
62,
13033,
796,
11862,
13,
565,
5819,
62,
22510,
62,
12583,
62,
13033,
11,
198,
220,
220,
220,
220,
220,
220,
220,
36075,
62,
9288,
62,
17497,
796,
11862,
13,
28463,
295,
62,
9288,
62,
17497,
11,
198,
220,
220,
220,
220,
220,
220,
220,
36075,
62,
9288,
62,
89,
26675,
62,
400,
10126,
796,
11862,
13,
28463,
295,
62,
9288,
62,
89,
26675,
62,
400,
10126,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
198,
220,
220,
220,
374,
796,
10385,
7,
35,
713,
90,
10100,
11,
4377,
5512,
555,
395,
62,
20274,
8,
628,
220,
220,
220,
555,
395,
62,
18504,
12629,
796,
10385,
7,
35,
713,
90,
10100,
11,
4377,
5512,
374,
14692,
6551,
276,
62,
82,
12629,
8973,
8,
198,
220,
220,
220,
410,
62,
9535,
6513,
62,
385,
796,
28376,
1177,
7,
1102,
1851,
7,
46912,
90,
43879,
2414,
5512,
555,
395,
62,
18504,
12629,
14692,
13033,
8973,
6,
4008,
198,
220,
220,
220,
2604,
12786,
62,
9535,
6513,
796,
10385,
7,
38469,
90,
43879,
2414,
5512,
555,
395,
62,
18504,
12629,
14692,
6404,
75,
8973,
8,
198,
220,
220,
220,
3463,
796,
10385,
7,
38469,
90,
43879,
2414,
5512,
555,
395,
62,
18504,
12629,
14692,
43775,
8973,
8,
198,
220,
220,
220,
8405,
62,
9535,
6513,
796,
360,
6377,
36674,
38469,
7,
14259,
12195,
85,
62,
9535,
6513,
62,
385,
828,
2604,
12786,
62,
9535,
6513,
11,
3463,
796,
3463,
8,
198,
220,
220,
220,
8405,
62,
1662,
430,
6513,
796,
800,
7,
9535,
6513,
737,
7,
82,
12629,
62,
9535,
6513,
8,
628,
220,
220,
220,
334,
86,
85,
62,
9535,
6513,
62,
385,
796,
28376,
1177,
7,
1102,
1851,
7,
46912,
90,
43879,
2414,
5512,
374,
14692,
82,
12629,
8973,
6,
4008,
198,
220,
220,
220,
334,
86,
6404,
12786,
62,
9535,
6513,
796,
3975,
7,
6404,
43337,
1659,
7,
43337,
828,
334,
86,
85,
62,
9535,
6513,
62,
385,
8,
198,
220,
220,
220,
334,
18504,
12629,
62,
9535,
6513,
796,
360,
6377,
36674,
38469,
7,
14259,
12195,
84,
86,
85,
62,
9535,
6513,
62,
385,
828,
334,
86,
6404,
12786,
62,
9535,
6513,
8,
198,
220,
220,
220,
334,
18504,
12629,
62,
1662,
430,
6513,
796,
800,
7,
9535,
6513,
737,
7,
84,
18504,
12629,
62,
9535,
6513,
8,
628,
220,
220,
220,
2604,
89,
796,
10385,
7,
12804,
43879,
11,
374,
14692,
6404,
89,
8973,
2599,
25,
12804,
43879,
198,
220,
220,
220,
2604,
89,
8056,
796,
10385,
7,
12804,
43879,
11,
374,
14692,
6404,
89,
8056,
8973,
2599,
25,
12804,
43879,
198,
220,
220,
220,
2604,
18908,
1373,
796,
24291,
902,
13,
1326,
5015,
434,
7,
6404,
89,
11,
2604,
89,
8056,
8,
628,
220,
220,
220,
3209,
796,
10385,
7,
43879,
2414,
11,
374,
14692,
408,
8973,
8,
628,
220,
220,
220,
1441,
357,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
8405,
62,
1662,
430,
6513,
11,
1255,
62,
9535,
6513,
796,
8405,
62,
9535,
6513,
11,
1291,
6513,
796,
1291,
6513,
11,
198,
220,
220,
220,
220,
220,
220,
220,
334,
86,
20274,
796,
334,
18504,
12629,
62,
1662,
430,
6513,
11,
334,
86,
20274,
62,
9535,
6513,
796,
334,
18504,
12629,
62,
9535,
6513,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
18908,
1373,
796,
2604,
18908,
1373,
11,
3209,
796,
3209,
11,
198,
220,
220,
220,
220,
220,
220,
220,
7508,
796,
374,
198,
220,
220,
220,
1267,
198,
437,
198
] | 2.809468 | 2,556 |
using Formatting
using ArgParse, JSON
using NCDatasets
println("""
This program output the forcing file with QFLX_TEMP and QFLX_SALT from WKRSTT and WKRSTS
variables in history files. It also needs the data folder generated by program
main_concat_and_convert_units.jl that has monthly TEMP and SALT profile.
""")
function runOneCmd(cmd)
println(">> ", string(cmd))
run(cmd)
end
function pleaseRun(cmd)
if isa(cmd, Array)
for i = 1:length(cmd)
runOneCmd(cmd[i])
end
else
runOneCmd(cmd)
end
end
function makeTimeFile(output_file, years)
dom = [31.0, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
sum_dom = sum(dom)
sum_dom == 365 || throw(ErrorException("Sum of dom is $(sum_dom) rather than 365."))
_t = zeros(Float64, length(dom))
_bnds = zeros(Float64, 2, length(dom))
for m=1:length(dom)
#bnds[m, 1] = beg of month m
#bnds[m, 2] = end of month m
if m==1
_bnds[1, m] = 0.0
else
_bnds[1, m] = _bnds[2, m-1]
end
_bnds[2, m] = _bnds[1, m] + dom[m]
_t[m] = (_bnds[1, m] + _bnds[2, m]) / 2.0
end
t = zeros(Float64, 12 * years)
bnds = zeros(Float64, 2, 12 * years)
for y = 1:years
i_offset = (y-1)*12
t_offset = (y-1)*sum_dom
t[i_offset+1:i_offset+12] .+= _t .+ t_offset
bnds[:, i_offset+1:i_offset+12] .+= _bnds .+ t_offset
end
Dataset(output_file, "c") do ds
defDim(ds, "time", Inf)
defDim(ds, "d2", 2)
defVar(ds, "time", t, ("time", ), ; attrib = Dict(
"long_name" => "time",
"bounds" => "time_bound",
"calendar" => "noleap",
"units" => "days since 0001-01-01 00:00:00",
))
defVar(ds, "time_bound", bnds, ("d2", "time"), ; attrib = Dict(
"long_name" => "boundaries for time-averaging interval",
"units" => "days since 0001-01-01 00:00:00",
))
end
end
function parse_commandline()
s = ArgParseSettings()
@add_arg_table s begin
"--hist-dir"
help = "Casename"
arg_type = String
required = true
"--data-dir"
help = "Casename"
arg_type = String
required = true
"--year-rng"
help = "Casename"
arg_type = Int64
nargs = 2
required = true
"--output-file"
help = "Casename"
arg_type = String
default = "forcing_cyclic.nc"
end
return parse_args(s)
end
parsed = parse_commandline()
JSON.print(parsed,4)
beg_yr, end_yr = parsed["year-rng"]
println("Beg year: $(beg_yr)")
println("End year: $(end_yr)")
yr_rng_str = format( "{:04d}-{:04d}", beg_yr, end_yr )
yr_rng_eval = format( "{:04d}..{:04d}", beg_yr, end_yr )
output_file = parsed["output-file"]
println("Make time file: tmp_time.nc")
makeTimeFile("tmp_time.nc", 1)
println("Making mean profile")
mkpath("tmp")
for m = 1:12
m_str = format( "{:02d}", m)
pleaseRun(`bash -c "ncra -v WKRSTT,WKRSTS,dz_cT,lat_sT,mask_sT,area_sT -O $(parsed["hist-dir"])/*.h0.*.{$(yr_rng_eval)}-$(m_str).nc tmp/monthly_mean_$(m_str).nc"`)
end
println("Output file : $(output_file)")
pleaseRun(`bash -c "ncrcat -O tmp/monthly_mean_{01..12}.nc $output_file"`)
pleaseRun(`ncks -O -3 $output_file $output_file`)
pleaseRun(`ncrename -d Nx,nlon -d Ny,nlat -d Nz,z_t -v WKRSTT,QFLXT -v WKRSTS,QFLXS $output_file`)
#pleaseRun(`ncap2 -O -s 'QFLX_TEMP=QFLX_TEMP*3996*1026;' $output_file $output_file`)
pleaseRun(`ncks -A -v SALT,z_w_top,z_w_bot $(parsed["data-dir"])/monthly/SALT_monthly.nc $output_file`)
pleaseRun(`ncks -A -v TEMP $(parsed["data-dir"])/monthly/TEMP_monthly.nc $output_file`)
pleaseRun(`ncks -A -v HMXL $(parsed["data-dir"])/monthly/HMXL_monthly.nc $output_file`)
pleaseRun(`ncks -A -v time tmp_time.nc $output_file`)
rm("tmp_time.nc", force=true)
| [
3500,
18980,
889,
198,
3500,
20559,
10044,
325,
11,
19449,
198,
3500,
399,
8610,
265,
292,
1039,
198,
198,
35235,
7203,
15931,
198,
1212,
1430,
5072,
262,
10833,
2393,
351,
1195,
3697,
55,
62,
51,
39494,
290,
1195,
3697,
55,
62,
50,
31429,
422,
370,
30758,
2257,
51,
290,
370,
30758,
2257,
50,
198,
9633,
287,
2106,
3696,
13,
632,
635,
2476,
262,
1366,
9483,
7560,
416,
1430,
198,
12417,
62,
1102,
9246,
62,
392,
62,
1102,
1851,
62,
41667,
13,
20362,
326,
468,
9651,
309,
39494,
290,
311,
31429,
7034,
13,
198,
15931,
4943,
628,
198,
198,
8818,
1057,
3198,
40109,
7,
28758,
8,
198,
220,
220,
220,
44872,
7203,
4211,
33172,
4731,
7,
28758,
4008,
198,
220,
220,
220,
1057,
7,
28758,
8,
198,
437,
628,
198,
8818,
3387,
10987,
7,
28758,
8,
198,
220,
220,
220,
611,
318,
64,
7,
28758,
11,
15690,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
13664,
7,
28758,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1057,
3198,
40109,
7,
28758,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1057,
3198,
40109,
7,
28758,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
787,
7575,
8979,
7,
22915,
62,
7753,
11,
812,
8,
628,
220,
220,
220,
2401,
796,
685,
3132,
13,
15,
11,
2579,
11,
3261,
11,
1542,
11,
3261,
11,
1542,
11,
3261,
11,
3261,
11,
1542,
11,
3261,
11,
1542,
11,
3261,
60,
198,
220,
220,
220,
2160,
62,
3438,
796,
2160,
7,
3438,
8,
198,
220,
220,
220,
2160,
62,
3438,
6624,
21268,
8614,
3714,
7,
12331,
16922,
7203,
13065,
286,
2401,
318,
29568,
16345,
62,
3438,
8,
2138,
621,
21268,
526,
4008,
628,
220,
220,
220,
4808,
83,
220,
220,
220,
796,
1976,
27498,
7,
43879,
2414,
11,
4129,
7,
3438,
4008,
198,
220,
220,
220,
4808,
65,
358,
82,
796,
1976,
27498,
7,
43879,
2414,
11,
362,
11,
4129,
7,
3438,
4008,
628,
220,
220,
220,
329,
285,
28,
16,
25,
13664,
7,
3438,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
65,
358,
82,
58,
76,
11,
352,
60,
796,
4123,
286,
1227,
220,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
65,
358,
82,
58,
76,
11,
362,
60,
796,
886,
286,
1227,
220,
285,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
855,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
65,
358,
82,
58,
16,
11,
285,
60,
796,
657,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
65,
358,
82,
58,
16,
11,
285,
60,
796,
4808,
65,
358,
82,
58,
17,
11,
285,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
65,
358,
82,
58,
17,
11,
285,
60,
796,
4808,
65,
358,
82,
58,
16,
11,
285,
60,
1343,
2401,
58,
76,
60,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
83,
58,
76,
60,
796,
44104,
65,
358,
82,
58,
16,
11,
285,
60,
1343,
4808,
65,
358,
82,
58,
17,
11,
285,
12962,
1220,
362,
13,
15,
198,
220,
220,
220,
886,
628,
220,
220,
220,
256,
220,
220,
220,
796,
1976,
27498,
7,
43879,
2414,
11,
1105,
1635,
812,
8,
198,
220,
220,
220,
275,
358,
82,
796,
1976,
27498,
7,
43879,
2414,
11,
362,
11,
1105,
1635,
812,
8,
628,
198,
220,
220,
220,
329,
331,
796,
352,
25,
19002,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
28968,
796,
357,
88,
12,
16,
27493,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
256,
62,
28968,
796,
357,
88,
12,
16,
27493,
16345,
62,
3438,
198,
220,
220,
220,
220,
220,
220,
220,
256,
58,
72,
62,
28968,
10,
16,
25,
72,
62,
28968,
10,
1065,
60,
220,
220,
220,
220,
220,
220,
764,
47932,
4808,
83,
220,
220,
220,
764,
10,
256,
62,
28968,
198,
220,
220,
220,
220,
220,
220,
220,
275,
358,
82,
58,
45299,
1312,
62,
28968,
10,
16,
25,
72,
62,
28968,
10,
1065,
60,
764,
47932,
4808,
65,
358,
82,
764,
10,
256,
62,
28968,
198,
220,
220,
220,
886,
628,
220,
220,
220,
16092,
292,
316,
7,
22915,
62,
7753,
11,
366,
66,
4943,
466,
288,
82,
628,
220,
220,
220,
220,
220,
220,
220,
825,
29271,
7,
9310,
11,
366,
2435,
1600,
4806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
825,
29271,
7,
9310,
11,
366,
67,
17,
1600,
362,
8,
628,
220,
220,
220,
220,
220,
220,
220,
825,
19852,
7,
9310,
11,
366,
2435,
1600,
256,
11,
5855,
2435,
1600,
10612,
2162,
708,
822,
796,
360,
713,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
6511,
62,
3672,
1,
5218,
366,
2435,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
65,
3733,
1,
220,
220,
220,
5218,
366,
2435,
62,
7784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9948,
9239,
1,
220,
5218,
220,
366,
77,
2305,
499,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
41667,
1,
220,
220,
220,
220,
5218,
366,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
15306,
628,
220,
220,
220,
220,
220,
220,
220,
825,
19852,
7,
9310,
11,
366,
2435,
62,
7784,
1600,
275,
358,
82,
11,
5855,
67,
17,
1600,
366,
2435,
12340,
2162,
708,
822,
796,
360,
713,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
6511,
62,
3672,
1,
5218,
366,
7784,
3166,
329,
640,
12,
8770,
3039,
16654,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
41667,
1,
220,
220,
220,
220,
5218,
366,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
15306,
198,
220,
220,
220,
886,
198,
437,
628,
198,
8818,
21136,
62,
21812,
1370,
3419,
628,
220,
220,
220,
264,
796,
20559,
10044,
325,
26232,
3419,
628,
220,
220,
220,
2488,
2860,
62,
853,
62,
11487,
264,
2221,
628,
220,
220,
220,
220,
220,
220,
220,
366,
438,
10034,
12,
15908,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
796,
366,
35155,
12453,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
62,
4906,
796,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
2081,
628,
220,
220,
220,
220,
220,
220,
220,
366,
438,
7890,
12,
15908,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
796,
366,
35155,
12453,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
62,
4906,
796,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
2081,
628,
220,
220,
220,
220,
220,
220,
220,
366,
438,
1941,
12,
81,
782,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
796,
366,
35155,
12453,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
62,
4906,
796,
2558,
2414,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
22046,
220,
220,
220,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
2081,
628,
220,
220,
220,
220,
220,
220,
220,
366,
438,
22915,
12,
7753,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
796,
366,
35155,
12453,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
62,
4906,
796,
10903,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
796,
366,
18766,
62,
15539,
291,
13,
10782,
1,
628,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
21136,
62,
22046,
7,
82,
8,
198,
437,
198,
198,
79,
945,
276,
796,
21136,
62,
21812,
1370,
3419,
198,
198,
40386,
13,
4798,
7,
79,
945,
276,
11,
19,
8,
198,
198,
1350,
70,
62,
2417,
11,
886,
62,
2417,
796,
44267,
14692,
1941,
12,
81,
782,
8973,
198,
35235,
7203,
24586,
614,
25,
29568,
1350,
70,
62,
2417,
8,
4943,
198,
35235,
7203,
12915,
614,
25,
29568,
437,
62,
2417,
8,
4943,
198,
198,
2417,
62,
81,
782,
62,
2536,
220,
796,
5794,
7,
45144,
25,
3023,
67,
92,
12,
90,
25,
3023,
67,
92,
1600,
4123,
62,
2417,
11,
886,
62,
2417,
1267,
198,
2417,
62,
81,
782,
62,
18206,
796,
5794,
7,
45144,
25,
3023,
67,
92,
492,
90,
25,
3023,
67,
92,
1600,
4123,
62,
2417,
11,
886,
62,
2417,
1267,
628,
198,
22915,
62,
7753,
796,
44267,
14692,
22915,
12,
7753,
8973,
198,
198,
35235,
7203,
12050,
640,
2393,
25,
45218,
62,
2435,
13,
10782,
4943,
198,
15883,
7575,
8979,
7203,
22065,
62,
2435,
13,
10782,
1600,
352,
8,
628,
198,
35235,
7203,
23874,
1612,
7034,
4943,
198,
198,
28015,
6978,
7203,
22065,
4943,
198,
1640,
285,
796,
352,
25,
1065,
198,
220,
220,
220,
285,
62,
2536,
796,
5794,
7,
45144,
25,
2999,
67,
92,
1600,
285,
8,
198,
220,
220,
220,
3387,
10987,
7,
63,
41757,
532,
66,
366,
10782,
430,
532,
85,
370,
30758,
2257,
51,
11,
54,
30758,
2257,
50,
11,
67,
89,
62,
66,
51,
11,
15460,
62,
82,
51,
11,
27932,
62,
82,
51,
11,
20337,
62,
82,
51,
532,
46,
29568,
79,
945,
276,
14692,
10034,
12,
15908,
8973,
8,
15211,
13,
71,
15,
15885,
13,
90,
3,
7,
2417,
62,
81,
782,
62,
18206,
38165,
22799,
7,
76,
62,
2536,
737,
10782,
45218,
14,
8424,
306,
62,
32604,
62,
3,
7,
76,
62,
2536,
737,
10782,
1,
63,
8,
198,
437,
198,
198,
35235,
7203,
26410,
2393,
1058,
29568,
22915,
62,
7753,
8,
4943,
198,
29688,
10987,
7,
63,
41757,
532,
66,
366,
10782,
6015,
265,
532,
46,
45218,
14,
8424,
306,
62,
32604,
23330,
486,
492,
1065,
27422,
10782,
720,
22915,
62,
7753,
1,
63,
8,
198,
29688,
10987,
7,
63,
77,
4657,
532,
46,
532,
18,
720,
22915,
62,
7753,
720,
22915,
62,
7753,
63,
8,
198,
29688,
10987,
7,
63,
10782,
918,
480,
532,
67,
399,
87,
11,
77,
14995,
532,
67,
17735,
11,
77,
15460,
532,
67,
399,
89,
11,
89,
62,
83,
532,
85,
370,
30758,
2257,
51,
11,
48,
3697,
25010,
532,
85,
370,
30758,
2257,
50,
11,
48,
3697,
55,
50,
720,
22915,
62,
7753,
63,
8,
198,
2,
29688,
10987,
7,
63,
10782,
499,
17,
532,
46,
532,
82,
705,
48,
3697,
55,
62,
51,
39494,
28,
48,
3697,
55,
62,
51,
39494,
9,
28771,
21,
9,
940,
2075,
26,
6,
720,
22915,
62,
7753,
720,
22915,
62,
7753,
63,
8,
198,
29688,
10987,
7,
63,
77,
4657,
532,
32,
532,
85,
311,
31429,
11,
89,
62,
86,
62,
4852,
11,
89,
62,
86,
62,
13645,
220,
29568,
79,
945,
276,
14692,
7890,
12,
15908,
8973,
20679,
8424,
306,
14,
50,
31429,
62,
8424,
306,
13,
10782,
720,
22915,
62,
7753,
63,
8,
198,
29688,
10987,
7,
63,
77,
4657,
532,
32,
532,
85,
309,
39494,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29568,
79,
945,
276,
14692,
7890,
12,
15908,
8973,
20679,
8424,
306,
14,
51,
39494,
62,
8424,
306,
13,
10782,
720,
22915,
62,
7753,
63,
8,
198,
29688,
10987,
7,
63,
77,
4657,
532,
32,
532,
85,
25904,
32457,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29568,
79,
945,
276,
14692,
7890,
12,
15908,
8973,
20679,
8424,
306,
14,
36905,
32457,
62,
8424,
306,
13,
10782,
720,
22915,
62,
7753,
63,
8,
198,
29688,
10987,
7,
63,
77,
4657,
532,
32,
532,
85,
640,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45218,
62,
2435,
13,
10782,
720,
22915,
62,
7753,
63,
8,
198,
198,
26224,
7203,
22065,
62,
2435,
13,
10782,
1600,
2700,
28,
7942,
8,
628,
628,
628
] | 1.950938 | 2,079 |
using PyCall
using Base.Test
# Try your first TensorFlow program
# https://github.com/tensorflow/tensorflow
@pyimport tensorflow as tf
hello = tf.constant("Hello, TensorFlow!")
@test isa(hello, PyObject)
sess = tf.Session()
result = sess[:run](hello)
@test isa(result, String)
@test "Hello, TensorFlow!" == result
a = tf.constant(10)
b = tf.constant(32)
result = sess[:run](a[:__add__](b))
@test isa(result, Array{Int32,0})
@test 42 == result[1]
| [
3500,
9485,
14134,
198,
3500,
7308,
13,
14402,
198,
198,
2,
9993,
534,
717,
309,
22854,
37535,
1430,
198,
2,
3740,
1378,
12567,
13,
785,
14,
83,
22854,
11125,
14,
83,
22854,
11125,
198,
198,
31,
9078,
11748,
11192,
273,
11125,
355,
48700,
198,
198,
31373,
796,
48700,
13,
9979,
415,
7203,
15496,
11,
309,
22854,
37535,
2474,
8,
198,
31,
9288,
318,
64,
7,
31373,
11,
9485,
10267,
8,
198,
198,
82,
408,
796,
48700,
13,
36044,
3419,
198,
20274,
796,
264,
408,
58,
25,
5143,
16151,
31373,
8,
198,
31,
9288,
318,
64,
7,
20274,
11,
10903,
8,
198,
31,
9288,
366,
15496,
11,
309,
22854,
37535,
2474,
6624,
1255,
198,
198,
64,
796,
48700,
13,
9979,
415,
7,
940,
8,
198,
65,
796,
48700,
13,
9979,
415,
7,
2624,
8,
198,
20274,
796,
264,
408,
58,
25,
5143,
16151,
64,
58,
25,
834,
2860,
834,
16151,
65,
4008,
198,
31,
9288,
318,
64,
7,
20274,
11,
15690,
90,
5317,
2624,
11,
15,
30072,
198,
31,
9288,
5433,
6624,
1255,
58,
16,
60,
198
] | 2.5625 | 176 |
Threads.nthreads()
a = zeros(12)
Threads.@threads for i = 1:12
a[i] = Threads.threadid()
end
a
@macroexpand Threads.@threads for i = 1:12
a[i] = Threads.threadid()
end
a = rand(10 ^ 6)
@timev begin
for i = 1:length(a)
a[i] = Threads.threadid()
end
end
@timev begin
Threads.@threads for i = 1:length(a)
a[i] = Threads.threadid()
end
end
| [
16818,
82,
13,
77,
16663,
82,
3419,
198,
198,
64,
796,
1976,
27498,
7,
1065,
8,
198,
198,
16818,
82,
13,
31,
16663,
82,
329,
1312,
796,
352,
25,
1065,
198,
220,
220,
220,
257,
58,
72,
60,
796,
14122,
82,
13,
16663,
312,
3419,
198,
437,
198,
64,
198,
198,
31,
20285,
305,
11201,
392,
14122,
82,
13,
31,
16663,
82,
329,
1312,
796,
352,
25,
1065,
198,
220,
220,
220,
257,
58,
72,
60,
796,
14122,
82,
13,
16663,
312,
3419,
198,
437,
198,
198,
64,
796,
43720,
7,
940,
10563,
718,
8,
198,
198,
31,
2435,
85,
2221,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
13664,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
58,
72,
60,
796,
14122,
82,
13,
16663,
312,
3419,
198,
220,
220,
220,
886,
198,
437,
198,
198,
31,
2435,
85,
2221,
198,
220,
220,
220,
14122,
82,
13,
31,
16663,
82,
329,
1312,
796,
352,
25,
13664,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
58,
72,
60,
796,
14122,
82,
13,
16663,
312,
3419,
198,
220,
220,
220,
886,
198,
437,
198
] | 1.989583 | 192 |
const Row = Vector{Union{Float64,Missing}}
"""
Matrix <: AbstractMatrix{Float64}
2-d matrix (typically) containing data from an arff file
To read a matrix in from an ARFF file, use
[`loadarff`](@ref). To copy part of an existing matrix, use [`copymatrix`](@ref).
To initialize an empty matrix with a certain size, use [`Matrix(rows, columns)`](@ref)
You can iterate over the rows using a standard for loop:
```julia
for row in matrix
...
end
```
Rows and individual elements may be accessed or set using index notation:
```julia
row1 = matrix[1]
element5 = matrix[1,5]
matrix[1,5] = 1.0
```
"""
struct Matrix <: AbstractMatrix{Union{Float64,Missing}}
rows::Vector{Row}
attr_name::Vector{AbstractString}
str_to_enum::Vector{Dict{AbstractString,Integer}}
enum_to_str::Vector{Dict{Integer,AbstractString}}
datasetname::AbstractString
end
# These functions allow the Matrix to act like a standard julia collection
# iterate over rows using `for row in m ... end`
# get a specific row using `m[1]` or a specific value using `m[1,5]`
Base.iterate(m::Matrix) = iterate(m.rows)
Base.iterate(m::Matrix, state) = iterate(m.rows, state)
Base.HasLength(::Type{Matrix}) = Base.HasShape{2}()
Base.length(m::Matrix) = length(m.rows)
Base.size(m::Matrix) = (rows(m), columns(m))
Base.firstindex(::Matrix) = 1
Base.lastindex(m::Matrix) = lastindex(m.rows)
Base.getindex(m::Matrix, i::Int) = m.rows[i]
Base.getindex(m::Matrix, i::Int, j::Int) = m.rows[i][j]
Base.setindex!(m::Matrix, v::Row, i::Int) = m.rows[i] = v
Base.setindex!(m::Matrix, v::Float64, i::Int, j::Int) = m.rows[i][j] = v
" rows(matrix)"
const rows = Base.length
" columns(matrix)"
columns(m::Matrix) = length(m.attr_name)
" attributename(matrix, column)"
attributename(m::Matrix, col::Integer) = m.attr_name[col]
" setattributename(matrix, column, name)"
setattributename(m::Matrix, col::Integer, name::AbstractString) = m.attr_name[col] = name
"""
attributevalue(matrix, column, value)
Get the string representation of a value in a column
"""
attributevalue(m::Matrix, col::Integer, value) = m.enum_to_str[col][convert(Integer, value)]
"""
valuecount(matrix, column)
If the column is a nominal feature, get the number of different valid values.
If the column is not nominal, 0.
"""
valuecount(m::Matrix, col::Integer) = length(m.enum_to_str[col])
function applytocolumn(f::Function, m::Matrix, col::Integer)
column = collect(skipmissing(m[:, col]))
if isempty(column)
missing
else
f(column)
end
end
" columnmean(matrix, column)"
columnmean(m::Matrix, col::Integer) = applytocolumn(mean, m, col)
" columnminimum(matrix, column)"
columnminimum(m::Matrix, col::Integer) = applytocolumn(minimum, m, col)
" columnmaximum(matrix, column)"
columnmaximum(m::Matrix, col::Integer) = applytocolumn(maximum, m, col)
" mostcommonvalue(matrix, column)"
mostcommonvalue(m::Matrix, col::Integer) = applytocolumn(mostcommonvalue, m, col)
function mostcommonvalue(column)
counts = Dict{Float64,Integer}()
for value in column
counts[value] = get(counts, value, 0) + 1
end
partialsort!(collect(counts), 1, by=x->x[2], rev=true)[1]
end
"""
iscontinuous(matrix, column)
Return true if the specified column in the given matrix is continuous, false if nominal
"""
iscontinuous(m::Matrix, col::Int) = isempty(m.enum_to_str[col])
"""
shuffle!(matrix[, buddy])
Shuffle the rows of the matrix in place. If buddy is passed in, buddy will be
shuffled in place using the same random permutation as matrix.
"""
shuffle!(m::Matrix) = permute!(m, randperm(rows(m)))
function shuffle!(m::Matrix, buddy::Matrix)
perm = randperm(rows(m))
permute!(m, perm)
permute!(buddy, perm)
end
"""
copymatrix(matrix, rows, columns)
Get the specified portion of `matrix` and return it as a new `Matrix`.
`rows` and `columns` should be a range or an array of indices, or
[any other index](https://docs.julialang.org/en/stable/manual/arrays/#man-supported-index-types-1)
supported by standard julia indexing.
This gets a view of the original matrix, and not a copy. If you modify this
matrix, the original matrix will also be modified.
!!! note
The `Matrix` class is 1-indexed. Thus, the values for rows and columns should
be between 1 and the number of rows or columns, inclusively.
"""
function copymatrix(m::Matrix, rows, columns)
data = map(i->m.rows[i][columns], rows)
attr_name = m.attr_name[columns]
str_to_enum = m.str_to_enum[columns]
enum_to_str = m.enum_to_str[columns]
Matrix(data, attr_name, str_to_enum, enum_to_str, m.datasetname)
end
copymatrix(m::Matrix, rows::Integer, columns::Integer) = copymatrix(m, rows:rows, columns:columns)
copymatrix(m::Matrix, rows, columns::Integer) = copymatrix(m, rows, columns:columns)
copymatrix(m::Matrix, rows::Integer, columns) = copymatrix(m, rows:rows, columns)
"""
getrows(matrix, rows)
Get the specified rows from `matrix`, as a `Matrix`. `rows` can be a range or an array of indices, or
[any other index](https://docs.julialang.org/en/stable/manual/arrays/#man-supported-index-types-1)
supported by standard julia indexing.
"""
getrows(m::Matrix, rows) = copymatrix(m, rows, 1:columns(m))
"""
Split
Holds the result of splitting a set of features and labels into a training set and a test set.
Fields are `trainfeatures`, `trainlabels`, `validationfeatures`, `validationlabels`.
"""
struct Split
trainfeatures::Matrix
trainlabels::Matrix
validationfeatures::Matrix
validationlabels::Matrix
end
"""
splitmatrix(features, labels, percenttest)
Split the given matrices into a training set and a validation set.
`percenttest`% of the rows will be put in the validation set and `1-percenttest`%
of the rows are put into the training set. Returns a [`Split`](@ref) object.
"""
function splitmatrix(features::Matrix, labels::Matrix, percenttest::AbstractFloat)
shuffle!(features, labels)
numrows = rows(features)
trainrows = trunc(Int, (1 - percenttest) * numrows)
trainfeatures = getrows(features, 1:trainrows)
trainlabels = getrows(labels, 1:trainrows)
validationfeatures = getrows(features, trainrows+1:numrows)
validationlabels = getrows(labels, trainrows+1:numrows)
Split(trainfeatures, trainlabels, validationfeatures, validationlabels)
end
"""
Matrix(rows, columns)
Create a matrix with the given number of rows and columns.
"""
function Matrix(rows::Integer, columns::Integer)
data = map(_ -> zeros(columns), 1:rows)
attr_name = fill("", columns)
# kinda hacky, but whatever - creates a new (empty) dictionary for each column
str_to_enum = map(_ -> Dict{AbstractString,Integer}(), 1:columns)
enum_to_str = map(_ -> Dict{Integer,AbstractString}(), 1:columns)
Matrix(data, attr_name, str_to_enum, enum_to_str, "")
end
const numbertypes = Set(["REAL", "CONTINUOUS", "INTEGER", "NUMERIC"])
"""
loadarff(filename)
Read an arff file and return a `Matrix`
"""
function loadarff(filename::AbstractString)::Matrix
io = open(filename)
# skip empty lines and comments at the beginning
skipchars(isspace, io; linecomment='%')
# initialize variables
attr_name = Vector{AbstractString}()
str_to_enum = Vector{Dict{AbstractString,Integer}}()
enum_to_str = Vector{Dict{Integer,AbstractString}}()
datasetname = ""
# read attributes - break when you get to the data
while true
line = readline(io)
(isempty(line) || line[1] == '%') && continue
upper = uppercase(line)
if startswith(upper, "@RELATION")
# Everything after Relation is the datasetname
datasetname = split(line; limit=2)[2]
elseif startswith(upper, "@ATTRIBUTE")
# Attribute should have three distinct parts - @Attribute, name, and type
# e.g. "@attribute 'handicapped-infants' { 'n', 'y'}"
# or "@ATTRIBUTE sepallength Continuous"
attribute = split(line, r"\s+"; limit=3, keepempty=false)
ste = Dict{AbstractString,Integer}()
ets = Dict{Integer,AbstractString}()
push!(attr_name, attribute[2])
push!(str_to_enum, ste)
push!(enum_to_str, ets)
# If it's one of the number types, there's no need to do anything with it
if uppercase(attribute[3]) ∉ numbertypes
stripped = strip(attribute[3], ['{', '}', ' '])
values = split(stripped, [' ', ',']; keepempty=false)
foreach(values, Iterators.countfrom(0)) do val, i
ste[val] = i
ets[i] = val
end
end
elseif startswith(upper, "@DATA")
break
end
end
data = Vector{Row}()
mappers = map(dict -> getfloatvalue(dict) ∘ strip, str_to_enum)
while !eof(io)
line = readline(io)
(isempty(line) || line[1] == '%') && continue
row = map((f,x) -> f(x), mappers, split(line, ','))
push!(data, row)
end
close(io)
Matrix(data, attr_name, str_to_enum, enum_to_str, datasetname)
end
function getfloatvalue(dict::Dict{AbstractString,Integer})
function mapvalue(value::AbstractString)
value = strip(value)
# the ordering of these if statements is very intentional
# if "?" is a key in the dictionary, then use the value it maps to there
# if it's not, it's set to missing whether it's a nominal or a continuous feature
if haskey(dict, value)
dict[value]
elseif value == "?"
missing
elseif isempty(dict)
parse(Float64, value)
else
error("Error parsing value $value with dict $dict")
end
end
mapvalue
end
"""
normalize(matrix[, extrema])
Normalizes `matrix` so that all columns have values between 0 and 1.
If `extrema` is included, the matrix is normalized as though the maximum and
minimum value of each column were the values included in extrema.
This allows for two matrices to be normalized using the same ranges.
This method returns a list of extrema that can then be used to normalize another matrix.
(This is typically only useful when you didn't pass the list of extrema in)
"""
normalize(m::Matrix) = normalize(m, vec(extrema(m, 1)))
function normalize(m::Matrix, extrema::Vector{Tuple{Float64,Float64}})
colinds = map(c -> valuecount(m, c) == 0, 1:columns(m)) .== 0
for row in m.rows
map!(row, row, extrema, colinds) do val, ext, real
real ? normalizevalue(val, ext) : val
end
end
extrema
end
function normalizevalue(value, extrema)
min, max = extrema
(value-min)/(max-min)
end
function Base.show(io::IO, m::Matrix)
println(io, "@RELATION ", m.datasetname)
for (name, enum_to_str) in zip(m.attr_name, m.enum_to_str)
println(io, "@ATTRIBUTE ", name, " ", begin
if isempty(enum_to_str)
"CONTINUOUS"
else
"{", join(values(enum_to_str), ", "), "}"
end
end...)
end
println(io, "@DATA")
for row in m.rows
mapped = map(row, m.enum_to_str) do val, map
ismissing(val) ? "?" : isempty(map) ? val : map[val]
end
join(io, mapped, ", ")
println(io)
end
end
| [
198,
9979,
11314,
796,
20650,
90,
38176,
90,
43879,
2414,
11,
43730,
11709,
198,
198,
37811,
198,
220,
220,
220,
24936,
1279,
25,
27741,
46912,
90,
43879,
2414,
92,
198,
198,
17,
12,
67,
17593,
357,
48126,
8,
7268,
1366,
422,
281,
610,
487,
2393,
198,
198,
2514,
1100,
257,
17593,
287,
422,
281,
5923,
5777,
2393,
11,
779,
198,
58,
63,
2220,
283,
487,
63,
16151,
31,
5420,
737,
1675,
4866,
636,
286,
281,
4683,
17593,
11,
779,
685,
63,
22163,
4948,
265,
8609,
63,
16151,
31,
5420,
737,
198,
2514,
41216,
281,
6565,
17593,
351,
257,
1728,
2546,
11,
779,
685,
63,
46912,
7,
8516,
11,
15180,
8,
63,
16151,
31,
5420,
8,
198,
198,
1639,
460,
11629,
378,
625,
262,
15274,
1262,
257,
3210,
329,
9052,
25,
198,
15506,
63,
73,
43640,
198,
1640,
5752,
287,
17593,
198,
197,
986,
198,
437,
198,
15506,
63,
198,
198,
49,
1666,
290,
1981,
4847,
743,
307,
17535,
393,
900,
1262,
6376,
33274,
25,
198,
15506,
63,
73,
43640,
198,
808,
16,
796,
17593,
58,
16,
60,
198,
30854,
20,
796,
17593,
58,
16,
11,
20,
60,
198,
6759,
8609,
58,
16,
11,
20,
60,
796,
352,
13,
15,
198,
15506,
63,
198,
37811,
198,
7249,
24936,
1279,
25,
27741,
46912,
90,
38176,
90,
43879,
2414,
11,
43730,
11709,
198,
197,
8516,
3712,
38469,
90,
25166,
92,
198,
197,
35226,
62,
3672,
3712,
38469,
90,
23839,
10100,
92,
198,
197,
2536,
62,
1462,
62,
44709,
3712,
38469,
90,
35,
713,
90,
23839,
10100,
11,
46541,
11709,
198,
197,
44709,
62,
1462,
62,
2536,
3712,
38469,
90,
35,
713,
90,
46541,
11,
23839,
10100,
11709,
198,
197,
19608,
292,
316,
3672,
3712,
23839,
10100,
198,
437,
198,
198,
2,
2312,
5499,
1249,
262,
24936,
284,
719,
588,
257,
3210,
474,
43640,
4947,
198,
2,
11629,
378,
625,
15274,
1262,
4600,
1640,
5752,
287,
285,
2644,
886,
63,
198,
2,
651,
257,
2176,
5752,
1262,
4600,
76,
58,
16,
60,
63,
393,
257,
2176,
1988,
1262,
4600,
76,
58,
16,
11,
20,
60,
63,
198,
14881,
13,
2676,
378,
7,
76,
3712,
46912,
8,
796,
11629,
378,
7,
76,
13,
8516,
8,
198,
14881,
13,
2676,
378,
7,
76,
3712,
46912,
11,
1181,
8,
796,
11629,
378,
7,
76,
13,
8516,
11,
1181,
8,
198,
14881,
13,
19242,
24539,
7,
3712,
6030,
90,
46912,
30072,
796,
7308,
13,
19242,
33383,
90,
17,
92,
3419,
198,
14881,
13,
13664,
7,
76,
3712,
46912,
8,
796,
4129,
7,
76,
13,
8516,
8,
198,
14881,
13,
7857,
7,
76,
3712,
46912,
8,
796,
357,
8516,
7,
76,
828,
15180,
7,
76,
4008,
198,
14881,
13,
11085,
9630,
7,
3712,
46912,
8,
796,
352,
198,
14881,
13,
12957,
9630,
7,
76,
3712,
46912,
8,
796,
938,
9630,
7,
76,
13,
8516,
8,
198,
14881,
13,
1136,
9630,
7,
76,
3712,
46912,
11,
1312,
3712,
5317,
8,
796,
285,
13,
8516,
58,
72,
60,
198,
14881,
13,
1136,
9630,
7,
76,
3712,
46912,
11,
1312,
3712,
5317,
11,
474,
3712,
5317,
8,
796,
285,
13,
8516,
58,
72,
7131,
73,
60,
198,
14881,
13,
2617,
9630,
0,
7,
76,
3712,
46912,
11,
410,
3712,
25166,
11,
1312,
3712,
5317,
8,
796,
285,
13,
8516,
58,
72,
60,
796,
410,
198,
14881,
13,
2617,
9630,
0,
7,
76,
3712,
46912,
11,
410,
3712,
43879,
2414,
11,
1312,
3712,
5317,
11,
474,
3712,
5317,
8,
796,
285,
13,
8516,
58,
72,
7131,
73,
60,
796,
410,
198,
198,
1,
220,
220,
220,
15274,
7,
6759,
8609,
16725,
198,
9979,
15274,
796,
7308,
13,
13664,
198,
1,
220,
220,
220,
15180,
7,
6759,
8609,
16725,
198,
28665,
82,
7,
76,
3712,
46912,
8,
796,
4129,
7,
76,
13,
35226,
62,
3672,
8,
198,
1,
220,
220,
220,
24548,
12453,
7,
6759,
8609,
11,
5721,
16725,
198,
1078,
2455,
12453,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
285,
13,
35226,
62,
3672,
58,
4033,
60,
198,
1,
220,
220,
220,
900,
1078,
2455,
12453,
7,
6759,
8609,
11,
5721,
11,
1438,
16725,
198,
2617,
1078,
2455,
12453,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
11,
1438,
3712,
23839,
10100,
8,
796,
285,
13,
35226,
62,
3672,
58,
4033,
60,
796,
1438,
198,
37811,
198,
220,
220,
220,
11688,
8367,
7,
6759,
8609,
11,
5721,
11,
1988,
8,
198,
198,
3855,
262,
4731,
10552,
286,
257,
1988,
287,
257,
5721,
198,
37811,
198,
42348,
8367,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
11,
1988,
8,
796,
285,
13,
44709,
62,
1462,
62,
2536,
58,
4033,
7131,
1102,
1851,
7,
46541,
11,
1988,
15437,
198,
37811,
198,
220,
220,
220,
1988,
9127,
7,
6759,
8609,
11,
5721,
8,
198,
198,
1532,
262,
5721,
318,
257,
26934,
3895,
11,
651,
262,
1271,
286,
1180,
4938,
3815,
13,
198,
1532,
262,
5721,
318,
407,
26934,
11,
657,
13,
198,
37811,
198,
8367,
9127,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
4129,
7,
76,
13,
44709,
62,
1462,
62,
2536,
58,
4033,
12962,
198,
8818,
4174,
83,
4668,
4182,
7,
69,
3712,
22203,
11,
285,
3712,
46912,
11,
951,
3712,
46541,
8,
198,
197,
28665,
796,
2824,
7,
48267,
45688,
7,
76,
58,
45299,
951,
60,
4008,
198,
197,
361,
318,
28920,
7,
28665,
8,
198,
197,
197,
45688,
198,
197,
17772,
198,
197,
197,
69,
7,
28665,
8,
198,
197,
437,
198,
437,
198,
1,
220,
220,
220,
5721,
32604,
7,
6759,
8609,
11,
5721,
16725,
198,
28665,
32604,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
4174,
83,
4668,
4182,
7,
32604,
11,
285,
11,
951,
8,
198,
1,
220,
220,
220,
5721,
39504,
7,
6759,
8609,
11,
5721,
16725,
198,
28665,
39504,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
4174,
83,
4668,
4182,
7,
39504,
11,
285,
11,
951,
8,
198,
1,
220,
220,
220,
5721,
47033,
7,
6759,
8609,
11,
5721,
16725,
198,
28665,
47033,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
4174,
83,
4668,
4182,
7,
47033,
11,
285,
11,
951,
8,
198,
1,
220,
220,
220,
749,
11321,
8367,
7,
6759,
8609,
11,
5721,
16725,
198,
1712,
11321,
8367,
7,
76,
3712,
46912,
11,
951,
3712,
46541,
8,
796,
4174,
83,
4668,
4182,
7,
1712,
11321,
8367,
11,
285,
11,
951,
8,
198,
8818,
749,
11321,
8367,
7,
28665,
8,
198,
197,
9127,
82,
796,
360,
713,
90,
43879,
2414,
11,
46541,
92,
3419,
198,
197,
1640,
1988,
287,
5721,
198,
197,
197,
9127,
82,
58,
8367,
60,
796,
651,
7,
9127,
82,
11,
1988,
11,
657,
8,
1343,
352,
198,
197,
437,
198,
197,
3911,
8231,
419,
0,
7,
33327,
7,
9127,
82,
828,
352,
11,
416,
28,
87,
3784,
87,
58,
17,
4357,
2710,
28,
7942,
38381,
16,
60,
198,
437,
198,
37811,
198,
220,
220,
220,
318,
18487,
5623,
7,
6759,
8609,
11,
5721,
8,
198,
198,
13615,
2081,
611,
262,
7368,
5721,
287,
262,
1813,
17593,
318,
12948,
11,
3991,
611,
26934,
198,
37811,
198,
2304,
756,
259,
5623,
7,
76,
3712,
46912,
11,
951,
3712,
5317,
8,
796,
318,
28920,
7,
76,
13,
44709,
62,
1462,
62,
2536,
58,
4033,
12962,
198,
198,
37811,
198,
220,
220,
220,
36273,
0,
7,
6759,
8609,
58,
11,
24407,
12962,
198,
198,
2484,
18137,
262,
15274,
286,
262,
17593,
287,
1295,
13,
1002,
24407,
318,
3804,
287,
11,
24407,
481,
307,
198,
1477,
1648,
992,
287,
1295,
1262,
262,
976,
4738,
9943,
7094,
355,
17593,
13,
198,
37811,
198,
1477,
18137,
0,
7,
76,
3712,
46912,
8,
796,
9943,
1133,
0,
7,
76,
11,
43720,
16321,
7,
8516,
7,
76,
22305,
198,
8818,
36273,
0,
7,
76,
3712,
46912,
11,
24407,
3712,
46912,
8,
198,
197,
16321,
796,
43720,
16321,
7,
8516,
7,
76,
4008,
198,
197,
16321,
1133,
0,
7,
76,
11,
9943,
8,
198,
197,
16321,
1133,
0,
7,
65,
21584,
11,
9943,
8,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
4866,
6759,
8609,
7,
6759,
8609,
11,
15274,
11,
15180,
8,
198,
198,
3855,
262,
7368,
6903,
286,
4600,
6759,
8609,
63,
290,
1441,
340,
355,
257,
649,
4600,
46912,
44646,
198,
198,
63,
8516,
63,
290,
4600,
28665,
82,
63,
815,
307,
257,
2837,
393,
281,
7177,
286,
36525,
11,
393,
198,
58,
1092,
584,
6376,
16151,
5450,
1378,
31628,
13,
73,
377,
498,
648,
13,
2398,
14,
268,
14,
31284,
14,
805,
723,
14,
3258,
592,
31113,
805,
12,
15999,
12,
9630,
12,
19199,
12,
16,
8,
198,
15999,
416,
3210,
474,
43640,
6376,
278,
13,
198,
198,
1212,
3011,
257,
1570,
286,
262,
2656,
17593,
11,
290,
407,
257,
4866,
13,
1002,
345,
13096,
428,
198,
6759,
8609,
11,
262,
2656,
17593,
481,
635,
307,
9518,
13,
198,
198,
10185,
3465,
628,
220,
220,
220,
383,
4600,
46912,
63,
1398,
318,
352,
12,
9630,
276,
13,
6660,
11,
262,
3815,
329,
15274,
290,
15180,
815,
198,
220,
220,
220,
307,
1022,
352,
290,
262,
1271,
286,
15274,
393,
15180,
11,
287,
44307,
13,
198,
37811,
198,
8818,
4866,
6759,
8609,
7,
76,
3712,
46912,
11,
15274,
11,
15180,
8,
198,
197,
7890,
796,
3975,
7,
72,
3784,
76,
13,
8516,
58,
72,
7131,
28665,
82,
4357,
15274,
8,
198,
197,
35226,
62,
3672,
796,
285,
13,
35226,
62,
3672,
58,
28665,
82,
60,
198,
197,
2536,
62,
1462,
62,
44709,
796,
285,
13,
2536,
62,
1462,
62,
44709,
58,
28665,
82,
60,
198,
197,
44709,
62,
1462,
62,
2536,
796,
285,
13,
44709,
62,
1462,
62,
2536,
58,
28665,
82,
60,
198,
197,
46912,
7,
7890,
11,
708,
81,
62,
3672,
11,
965,
62,
1462,
62,
44709,
11,
33829,
62,
1462,
62,
2536,
11,
285,
13,
19608,
292,
316,
3672,
8,
198,
437,
198,
22163,
4948,
265,
8609,
7,
76,
3712,
46912,
11,
15274,
3712,
46541,
11,
15180,
3712,
46541,
8,
796,
4866,
6759,
8609,
7,
76,
11,
15274,
25,
8516,
11,
15180,
25,
28665,
82,
8,
198,
22163,
4948,
265,
8609,
7,
76,
3712,
46912,
11,
15274,
11,
15180,
3712,
46541,
8,
796,
4866,
6759,
8609,
7,
76,
11,
15274,
11,
15180,
25,
28665,
82,
8,
198,
22163,
4948,
265,
8609,
7,
76,
3712,
46912,
11,
15274,
3712,
46541,
11,
15180,
8,
796,
4866,
6759,
8609,
7,
76,
11,
15274,
25,
8516,
11,
15180,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
8516,
7,
6759,
8609,
11,
15274,
8,
198,
198,
3855,
262,
7368,
15274,
422,
4600,
6759,
8609,
47671,
355,
257,
4600,
46912,
44646,
4600,
8516,
63,
460,
307,
257,
2837,
393,
281,
7177,
286,
36525,
11,
393,
198,
58,
1092,
584,
6376,
16151,
5450,
1378,
31628,
13,
73,
377,
498,
648,
13,
2398,
14,
268,
14,
31284,
14,
805,
723,
14,
3258,
592,
31113,
805,
12,
15999,
12,
9630,
12,
19199,
12,
16,
8,
198,
15999,
416,
3210,
474,
43640,
6376,
278,
13,
198,
37811,
198,
1136,
8516,
7,
76,
3712,
46912,
11,
15274,
8,
796,
4866,
6759,
8609,
7,
76,
11,
15274,
11,
352,
25,
28665,
82,
7,
76,
4008,
198,
198,
37811,
198,
197,
41205,
198,
198,
39,
10119,
262,
1255,
286,
26021,
257,
900,
286,
3033,
290,
14722,
656,
257,
3047,
900,
290,
257,
1332,
900,
13,
198,
198,
15878,
82,
389,
4600,
27432,
40890,
47671,
4600,
27432,
23912,
1424,
47671,
4600,
12102,
341,
40890,
47671,
4600,
12102,
341,
23912,
1424,
44646,
198,
37811,
198,
7249,
27758,
198,
197,
27432,
40890,
3712,
46912,
198,
197,
27432,
23912,
1424,
3712,
46912,
198,
197,
12102,
341,
40890,
3712,
46912,
198,
197,
12102,
341,
23912,
1424,
3712,
46912,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
6626,
6759,
8609,
7,
40890,
11,
14722,
11,
1411,
9288,
8,
198,
198,
41205,
262,
1813,
2603,
45977,
656,
257,
3047,
900,
290,
257,
21201,
900,
13,
198,
198,
63,
25067,
9288,
63,
4,
286,
262,
15274,
481,
307,
1234,
287,
262,
21201,
900,
290,
4600,
16,
12,
25067,
9288,
63,
4,
198,
1659,
262,
15274,
389,
1234,
656,
262,
3047,
900,
13,
16409,
257,
685,
63,
41205,
63,
16151,
31,
5420,
8,
2134,
13,
198,
37811,
198,
8818,
6626,
6759,
8609,
7,
40890,
3712,
46912,
11,
14722,
3712,
46912,
11,
1411,
9288,
3712,
23839,
43879,
8,
198,
197,
1477,
18137,
0,
7,
40890,
11,
14722,
8,
198,
197,
22510,
8516,
796,
15274,
7,
40890,
8,
198,
197,
27432,
8516,
796,
40122,
7,
5317,
11,
357,
16,
532,
1411,
9288,
8,
1635,
997,
8516,
8,
198,
197,
27432,
40890,
796,
651,
8516,
7,
40890,
11,
352,
25,
27432,
8516,
8,
198,
197,
27432,
23912,
1424,
796,
651,
8516,
7,
23912,
1424,
11,
352,
25,
27432,
8516,
8,
198,
197,
12102,
341,
40890,
796,
651,
8516,
7,
40890,
11,
4512,
8516,
10,
16,
25,
22510,
8516,
8,
198,
197,
12102,
341,
23912,
1424,
796,
651,
8516,
7,
23912,
1424,
11,
4512,
8516,
10,
16,
25,
22510,
8516,
8,
198,
197,
41205,
7,
27432,
40890,
11,
4512,
23912,
1424,
11,
21201,
40890,
11,
21201,
23912,
1424,
8,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
24936,
7,
8516,
11,
15180,
8,
198,
198,
16447,
257,
17593,
351,
262,
1813,
1271,
286,
15274,
290,
15180,
13,
198,
37811,
198,
8818,
24936,
7,
8516,
3712,
46541,
11,
15180,
3712,
46541,
8,
198,
197,
7890,
796,
3975,
28264,
4613,
1976,
27498,
7,
28665,
82,
828,
352,
25,
8516,
8,
198,
197,
35226,
62,
3672,
796,
6070,
7203,
1600,
15180,
8,
198,
197,
2,
17855,
8156,
88,
11,
475,
4232,
532,
8075,
257,
649,
357,
28920,
8,
22155,
329,
1123,
5721,
198,
197,
2536,
62,
1462,
62,
44709,
796,
3975,
28264,
4613,
360,
713,
90,
23839,
10100,
11,
46541,
92,
22784,
352,
25,
28665,
82,
8,
198,
197,
44709,
62,
1462,
62,
2536,
796,
3975,
28264,
4613,
360,
713,
90,
46541,
11,
23839,
10100,
92,
22784,
352,
25,
28665,
82,
8,
198,
197,
46912,
7,
7890,
11,
708,
81,
62,
3672,
11,
965,
62,
1462,
62,
44709,
11,
33829,
62,
1462,
62,
2536,
11,
366,
4943,
198,
437,
198,
198,
9979,
1271,
19199,
796,
5345,
7,
14692,
2200,
1847,
1600,
366,
37815,
1268,
52,
20958,
1600,
366,
12394,
7156,
1137,
1600,
366,
41359,
1137,
2149,
8973,
8,
198,
198,
37811,
198,
220,
220,
220,
3440,
283,
487,
7,
34345,
8,
198,
198,
5569,
281,
610,
487,
2393,
290,
1441,
257,
4600,
46912,
63,
198,
37811,
198,
8818,
3440,
283,
487,
7,
34345,
3712,
23839,
10100,
2599,
25,
46912,
198,
197,
952,
796,
1280,
7,
34345,
8,
198,
197,
2,
14267,
6565,
3951,
290,
3651,
379,
262,
3726,
198,
197,
48267,
354,
945,
7,
747,
10223,
11,
33245,
26,
1627,
23893,
11639,
4,
11537,
198,
197,
2,
41216,
9633,
198,
197,
35226,
62,
3672,
796,
20650,
90,
23839,
10100,
92,
3419,
198,
197,
2536,
62,
1462,
62,
44709,
796,
20650,
90,
35,
713,
90,
23839,
10100,
11,
46541,
11709,
3419,
198,
197,
44709,
62,
1462,
62,
2536,
796,
20650,
90,
35,
713,
90,
46541,
11,
23839,
10100,
11709,
3419,
198,
197,
19608,
292,
316,
3672,
796,
13538,
198,
197,
2,
1100,
12608,
532,
2270,
618,
345,
651,
284,
262,
1366,
198,
197,
4514,
2081,
198,
197,
197,
1370,
796,
1100,
1370,
7,
952,
8,
198,
197,
197,
7,
271,
28920,
7,
1370,
8,
8614,
1627,
58,
16,
60,
6624,
705,
4,
11537,
11405,
2555,
198,
197,
197,
45828,
796,
334,
39921,
589,
7,
1370,
8,
198,
197,
197,
361,
923,
2032,
342,
7,
45828,
11,
44212,
16448,
6234,
4943,
198,
197,
197,
197,
2,
11391,
706,
4718,
341,
318,
262,
27039,
3672,
198,
197,
197,
197,
19608,
292,
316,
3672,
796,
6626,
7,
1370,
26,
4179,
28,
17,
38381,
17,
60,
198,
197,
197,
17772,
361,
923,
2032,
342,
7,
45828,
11,
44212,
1404,
5446,
9865,
37780,
4943,
198,
197,
197,
197,
2,
3460,
4163,
815,
423,
1115,
7310,
3354,
532,
2488,
33682,
11,
1438,
11,
290,
2099,
198,
197,
197,
197,
2,
304,
13,
70,
13,
44212,
42348,
197,
6,
4993,
291,
6320,
12,
10745,
1187,
6,
197,
90,
705,
77,
3256,
705,
88,
6,
36786,
198,
197,
197,
197,
2,
393,
44212,
1404,
5446,
9865,
37780,
197,
325,
79,
439,
3286,
197,
17875,
5623,
1,
198,
197,
197,
197,
42348,
796,
6626,
7,
1370,
11,
374,
1,
59,
82,
10,
8172,
4179,
28,
18,
11,
1394,
28920,
28,
9562,
8,
198,
197,
197,
197,
4169,
796,
360,
713,
90,
23839,
10100,
11,
46541,
92,
3419,
198,
197,
197,
197,
1039,
796,
360,
713,
90,
46541,
11,
23839,
10100,
92,
3419,
198,
197,
197,
197,
14689,
0,
7,
35226,
62,
3672,
11,
11688,
58,
17,
12962,
198,
197,
197,
197,
14689,
0,
7,
2536,
62,
1462,
62,
44709,
11,
2876,
8,
198,
197,
197,
197,
14689,
0,
7,
44709,
62,
1462,
62,
2536,
11,
304,
912,
8,
198,
197,
197,
197,
2,
1002,
340,
338,
530,
286,
262,
1271,
3858,
11,
612,
338,
645,
761,
284,
466,
1997,
351,
340,
198,
197,
197,
197,
361,
334,
39921,
589,
7,
42348,
58,
18,
12962,
18872,
231,
1271,
19199,
198,
197,
197,
197,
197,
33565,
1496,
796,
10283,
7,
42348,
58,
18,
4357,
37250,
90,
3256,
705,
92,
3256,
705,
705,
12962,
198,
197,
197,
197,
197,
27160,
796,
6626,
7,
33565,
1496,
11,
37250,
46083,
705,
4032,
11208,
1394,
28920,
28,
9562,
8,
198,
197,
197,
197,
197,
754,
620,
7,
27160,
11,
40806,
2024,
13,
9127,
6738,
7,
15,
4008,
466,
1188,
11,
1312,
198,
197,
197,
197,
197,
197,
4169,
58,
2100,
60,
796,
1312,
198,
197,
197,
197,
197,
197,
1039,
58,
72,
60,
796,
1188,
198,
197,
197,
197,
197,
437,
198,
197,
197,
197,
437,
198,
197,
197,
17772,
361,
923,
2032,
342,
7,
45828,
11,
44212,
26947,
4943,
198,
197,
197,
197,
9032,
198,
197,
197,
437,
198,
197,
437,
198,
197,
7890,
796,
20650,
90,
25166,
92,
3419,
198,
197,
76,
46629,
796,
3975,
7,
11600,
4613,
651,
22468,
8367,
7,
11600,
8,
18872,
246,
10283,
11,
965,
62,
1462,
62,
44709,
8,
198,
197,
4514,
5145,
68,
1659,
7,
952,
8,
198,
197,
197,
1370,
796,
1100,
1370,
7,
952,
8,
198,
197,
197,
7,
271,
28920,
7,
1370,
8,
8614,
1627,
58,
16,
60,
6624,
705,
4,
11537,
11405,
2555,
198,
197,
197,
808,
796,
3975,
19510,
69,
11,
87,
8,
4613,
277,
7,
87,
828,
285,
46629,
11,
6626,
7,
1370,
11,
705,
4032,
4008,
198,
197,
197,
14689,
0,
7,
7890,
11,
5752,
8,
198,
197,
437,
198,
197,
19836,
7,
952,
8,
198,
197,
46912,
7,
7890,
11,
708,
81,
62,
3672,
11,
965,
62,
1462,
62,
44709,
11,
33829,
62,
1462,
62,
2536,
11,
27039,
3672,
8,
198,
437,
198,
198,
8818,
651,
22468,
8367,
7,
11600,
3712,
35,
713,
90,
23839,
10100,
11,
46541,
30072,
198,
197,
8818,
3975,
8367,
7,
8367,
3712,
23839,
10100,
8,
198,
197,
197,
8367,
796,
10283,
7,
8367,
8,
198,
197,
197,
2,
262,
16216,
286,
777,
611,
6299,
318,
845,
21391,
198,
197,
197,
2,
611,
366,
1701,
318,
257,
1994,
287,
262,
22155,
11,
788,
779,
262,
1988,
340,
8739,
284,
612,
198,
197,
197,
2,
611,
340,
338,
407,
11,
340,
338,
900,
284,
4814,
1771,
340,
338,
257,
26934,
393,
257,
12948,
3895,
198,
197,
197,
361,
468,
2539,
7,
11600,
11,
1988,
8,
198,
197,
197,
197,
11600,
58,
8367,
60,
198,
197,
197,
17772,
361,
1988,
6624,
366,
1701,
198,
197,
197,
197,
45688,
198,
197,
197,
17772,
361,
318,
28920,
7,
11600,
8,
198,
197,
197,
197,
29572,
7,
43879,
2414,
11,
1988,
8,
198,
197,
197,
17772,
198,
197,
197,
197,
18224,
7203,
12331,
32096,
1988,
720,
8367,
351,
8633,
720,
11600,
4943,
198,
197,
197,
437,
198,
197,
437,
198,
197,
8899,
8367,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
3487,
1096,
7,
6759,
8609,
58,
11,
1070,
260,
2611,
12962,
198,
198,
26447,
4340,
4600,
6759,
8609,
63,
523,
326,
477,
15180,
423,
3815,
1022,
657,
290,
352,
13,
198,
198,
1532,
4600,
2302,
260,
2611,
63,
318,
3017,
11,
262,
17593,
318,
39279,
355,
996,
262,
5415,
290,
198,
39504,
1988,
286,
1123,
5721,
547,
262,
3815,
3017,
287,
1070,
260,
2611,
13,
198,
1212,
3578,
329,
734,
2603,
45977,
284,
307,
39279,
1262,
262,
976,
16069,
13,
198,
198,
1212,
2446,
5860,
257,
1351,
286,
1070,
260,
2611,
326,
460,
788,
307,
973,
284,
3487,
1096,
1194,
17593,
13,
198,
7,
1212,
318,
6032,
691,
4465,
618,
345,
1422,
470,
1208,
262,
1351,
286,
1070,
260,
2611,
287,
8,
198,
37811,
198,
11265,
1096,
7,
76,
3712,
46912,
8,
796,
3487,
1096,
7,
76,
11,
43030,
7,
2302,
260,
2611,
7,
76,
11,
352,
22305,
198,
8818,
3487,
1096,
7,
76,
3712,
46912,
11,
1070,
260,
2611,
3712,
38469,
90,
51,
29291,
90,
43879,
2414,
11,
43879,
2414,
11709,
8,
198,
197,
4033,
521,
82,
796,
3975,
7,
66,
4613,
1988,
9127,
7,
76,
11,
269,
8,
6624,
657,
11,
352,
25,
28665,
82,
7,
76,
4008,
764,
855,
657,
198,
197,
1640,
5752,
287,
285,
13,
8516,
198,
197,
197,
8899,
0,
7,
808,
11,
5752,
11,
1070,
260,
2611,
11,
951,
521,
82,
8,
466,
1188,
11,
1070,
11,
1103,
198,
197,
197,
197,
5305,
5633,
3487,
1096,
8367,
7,
2100,
11,
1070,
8,
1058,
1188,
198,
197,
197,
437,
198,
197,
437,
198,
197,
2302,
260,
2611,
198,
437,
198,
198,
8818,
3487,
1096,
8367,
7,
8367,
11,
1070,
260,
2611,
8,
198,
197,
1084,
11,
3509,
796,
1070,
260,
2611,
198,
197,
7,
8367,
12,
1084,
20679,
7,
9806,
12,
1084,
8,
198,
437,
198,
198,
8818,
7308,
13,
12860,
7,
952,
3712,
9399,
11,
285,
3712,
46912,
8,
198,
197,
35235,
7,
952,
11,
44212,
16448,
6234,
33172,
285,
13,
19608,
292,
316,
3672,
8,
198,
197,
1640,
357,
3672,
11,
33829,
62,
1462,
62,
2536,
8,
287,
19974,
7,
76,
13,
35226,
62,
3672,
11,
285,
13,
44709,
62,
1462,
62,
2536,
8,
198,
197,
197,
35235,
7,
952,
11,
44212,
1404,
5446,
9865,
37780,
33172,
1438,
11,
366,
33172,
2221,
198,
197,
197,
197,
361,
318,
28920,
7,
44709,
62,
1462,
62,
2536,
8,
198,
197,
197,
197,
197,
1,
37815,
1268,
52,
20958,
1,
198,
197,
197,
197,
17772,
198,
197,
197,
197,
197,
1,
90,
1600,
4654,
7,
27160,
7,
44709,
62,
1462,
62,
2536,
828,
33172,
366,
828,
366,
36786,
198,
197,
197,
197,
437,
198,
197,
197,
437,
23029,
198,
197,
437,
198,
197,
35235,
7,
952,
11,
44212,
26947,
4943,
198,
197,
1640,
5752,
287,
285,
13,
8516,
198,
197,
197,
76,
6320,
796,
3975,
7,
808,
11,
285,
13,
44709,
62,
1462,
62,
2536,
8,
466,
1188,
11,
3975,
198,
197,
197,
197,
1042,
747,
278,
7,
2100,
8,
5633,
366,
1701,
1058,
318,
28920,
7,
8899,
8,
5633,
1188,
1058,
3975,
58,
2100,
60,
198,
197,
197,
437,
198,
197,
197,
22179,
7,
952,
11,
27661,
11,
33172,
366,
8,
198,
197,
197,
35235,
7,
952,
8,
198,
197,
437,
198,
437,
198
] | 2.782313 | 3,822 |
# when new brainflow binaries are released, then this script needs to be re-executed.
using SHA
using Pkg
using Pkg.Artifacts
using Tar
function sha256sum(tarball_path)
return open(tarball_path, "r") do io
return bytes2hex(sha256(io))
end
end
function add_brainflow_artifact!(
url,
artifact_toml_path = "Artifacts.toml",
artifact_name = "brainflow",
)
download_path = "$(tempname())-download.tar"
download(url, download_path)
tar_hash_sha256 = sha256sum(download_path)
brainflow_hash = create_artifact() do artifact_dir
# Pkg.PlatformEngines.unpack() gives errors for some users on Windows
Tar.extract(download_path, artifact_dir)
end
rm(download_path)
Pkg.Artifacts.bind_artifact!(
artifact_toml_path,
artifact_name,
brainflow_hash;
download_info=[(url, tar_hash_sha256)],
force=true,
lazy=true,
)
return brainflow_hash
end
cd(@__DIR__)
include("src/brainflow_url.jl")
add_brainflow_artifact!(brainflow_url())
| [
2,
618,
649,
3632,
11125,
38640,
389,
2716,
11,
788,
428,
4226,
2476,
284,
307,
302,
12,
18558,
7241,
13,
198,
198,
3500,
25630,
198,
3500,
350,
10025,
198,
3500,
350,
10025,
13,
8001,
37199,
198,
3500,
14110,
198,
198,
8818,
427,
64,
11645,
16345,
7,
18870,
1894,
62,
6978,
8,
198,
220,
220,
220,
1441,
1280,
7,
18870,
1894,
62,
6978,
11,
366,
81,
4943,
466,
33245,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
9881,
17,
33095,
7,
26270,
11645,
7,
952,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
751,
62,
27825,
11125,
62,
433,
29660,
0,
7,
198,
220,
220,
220,
19016,
11,
198,
220,
220,
220,
24127,
62,
39532,
75,
62,
6978,
796,
366,
8001,
37199,
13,
39532,
75,
1600,
198,
220,
220,
220,
24127,
62,
3672,
796,
366,
27825,
11125,
1600,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4321,
62,
6978,
796,
17971,
7,
29510,
3672,
3419,
13219,
15002,
13,
18870,
1,
198,
220,
220,
220,
4321,
7,
6371,
11,
4321,
62,
6978,
8,
198,
220,
220,
220,
13422,
62,
17831,
62,
26270,
11645,
796,
427,
64,
11645,
16345,
7,
15002,
62,
6978,
8,
628,
220,
220,
220,
3632,
11125,
62,
17831,
796,
2251,
62,
433,
29660,
3419,
466,
24127,
62,
15908,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
350,
10025,
13,
37148,
7936,
1127,
13,
403,
8002,
3419,
3607,
8563,
329,
617,
2985,
319,
3964,
198,
220,
220,
220,
220,
220,
220,
220,
14110,
13,
2302,
974,
7,
15002,
62,
6978,
11,
24127,
62,
15908,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
42721,
7,
15002,
62,
6978,
8,
628,
220,
220,
220,
350,
10025,
13,
8001,
37199,
13,
21653,
62,
433,
29660,
0,
7,
198,
220,
220,
220,
220,
220,
220,
220,
24127,
62,
39532,
75,
62,
6978,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
24127,
62,
3672,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3632,
11125,
62,
17831,
26,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4321,
62,
10951,
41888,
7,
6371,
11,
13422,
62,
17831,
62,
26270,
11645,
8,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2700,
28,
7942,
11,
198,
220,
220,
220,
220,
220,
220,
220,
16931,
28,
7942,
11,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1441,
3632,
11125,
62,
17831,
198,
437,
198,
198,
10210,
7,
31,
834,
34720,
834,
8,
198,
17256,
7203,
10677,
14,
27825,
11125,
62,
6371,
13,
20362,
4943,
198,
2860,
62,
27825,
11125,
62,
433,
29660,
0,
7,
27825,
11125,
62,
6371,
28955,
198
] | 2.400452 | 442 |
# Given some model parameters, synthesize and plot the channel maps and
# integrated spectrum
using ArgParse
s = ArgParseSettings()
@add_arg_table s begin
# "--opt1"
# help = "an option with an argument"
# default = 0
"--norad"
help = "Use the image alread here."
action = :store_true
"config"
help = "a YAML configuration file"
required = true
end
parsed_args = parse_args(ARGS, s)
import YAML
config = YAML.load(open(parsed_args["config"]))
using constants
using image
using model
using HDF5
# import PyPlot.plt
# using LaTeXStrings
pp = config["parameters"]
params = ["M_star", "r_c", "T_10", "q", "gamma", "logM_CO", "ksi", "dpc", "incl", "PA", "vel", "mu_RA", "mu_DEC"]
nparam = length(params)
starting_param = Array(Float64, nparam)
for i=1:nparam
starting_param[i] = pp[params[i]][1]
end
# Convert logM_CO to M_CO
starting_param[6] = 10^starting_param[6]
pars = Parameters(starting_param...)
grd = config["grid"]
grid = Grid(grd["nr"], grd["ntheta"], grd["r_in"], grd["r_out"], true)
# read the wavelengths for all 23 channels
fid = h5open(config["data_file"], "r")
lams = read(fid["lams"]) # [μm]
close(fid)
vel = pars.vel # [km/s]
# RADMC conventions for inclination and PA
incl = pars.incl # [deg]
PA = pars.PA # [deg] Position angle runs counter clockwise
npix = config["npix"] # number of pixels
# Doppler shift the dataset wavelength to rest-frame wavelength
beta = vel/c_kms # relativistic Doppler formula
shift_lams = lams .* sqrt((1. - beta) / (1. + beta)) # [microns]
lam0 = cc/230.538e9 * 1e4 # [microns]
write_dust(pars, "", grid)
write_grid("", grid)
write_model(pars, "", grid)
write_lambda(shift_lams)
# Temporarily overwrite to dust mode
cp("radmc3d.inp.dust", "radmc3d.inp")
if !parsed_args["norad"]
run(`radmc3d mctherm`) # next command will do this automatically
run(`radmc3d image incl $incl posang $PA npix $npix lambda $lam0`)
end
# When done, revert to gas only mode
cp("radmc3d.inp.gas", "radmc3d.inp")
| [
2,
11259,
617,
2746,
10007,
11,
24983,
1096,
290,
7110,
262,
6518,
8739,
290,
198,
2,
11521,
10958,
198,
198,
3500,
20559,
10044,
325,
198,
198,
82,
796,
20559,
10044,
325,
26232,
3419,
198,
31,
2860,
62,
853,
62,
11487,
264,
2221,
198,
220,
220,
220,
1303,
366,
438,
8738,
16,
1,
198,
220,
220,
220,
1303,
1037,
796,
366,
272,
3038,
351,
281,
4578,
1,
198,
220,
220,
220,
1303,
4277,
796,
657,
198,
220,
220,
220,
366,
438,
13099,
324,
1,
198,
220,
220,
220,
1037,
796,
366,
11041,
262,
2939,
435,
961,
994,
526,
198,
220,
220,
220,
2223,
796,
1058,
8095,
62,
7942,
198,
220,
220,
220,
366,
11250,
1,
198,
220,
220,
220,
1037,
796,
366,
64,
575,
2390,
43,
8398,
2393,
1,
198,
220,
220,
220,
2672,
796,
2081,
198,
437,
198,
198,
79,
945,
276,
62,
22046,
796,
21136,
62,
22046,
7,
1503,
14313,
11,
264,
8,
198,
198,
11748,
575,
2390,
43,
198,
11250,
796,
575,
2390,
43,
13,
2220,
7,
9654,
7,
79,
945,
276,
62,
22046,
14692,
11250,
8973,
4008,
198,
198,
3500,
38491,
198,
3500,
2939,
198,
3500,
2746,
198,
3500,
5572,
37,
20,
198,
198,
2,
1330,
9485,
43328,
13,
489,
83,
198,
2,
1262,
4689,
49568,
13290,
654,
198,
198,
381,
796,
4566,
14692,
17143,
7307,
8973,
198,
37266,
796,
14631,
44,
62,
7364,
1600,
366,
81,
62,
66,
1600,
366,
51,
62,
940,
1600,
366,
80,
1600,
366,
28483,
2611,
1600,
366,
6404,
44,
62,
8220,
1600,
366,
591,
72,
1600,
366,
67,
14751,
1600,
366,
259,
565,
1600,
366,
4537,
1600,
366,
626,
1600,
366,
30300,
62,
3861,
1600,
366,
30300,
62,
41374,
8973,
198,
77,
17143,
796,
4129,
7,
37266,
8,
198,
38690,
62,
17143,
796,
15690,
7,
43879,
2414,
11,
299,
17143,
8,
198,
198,
1640,
1312,
28,
16,
25,
77,
17143,
198,
220,
220,
220,
3599,
62,
17143,
58,
72,
60,
796,
9788,
58,
37266,
58,
72,
60,
7131,
16,
60,
198,
437,
198,
198,
2,
38240,
2604,
44,
62,
8220,
284,
337,
62,
8220,
198,
38690,
62,
17143,
58,
21,
60,
796,
838,
61,
38690,
62,
17143,
58,
21,
60,
198,
198,
79,
945,
796,
40117,
7,
38690,
62,
17143,
23029,
198,
198,
2164,
67,
796,
4566,
14692,
25928,
8973,
198,
25928,
796,
24846,
7,
2164,
67,
14692,
48624,
33116,
1036,
67,
14692,
429,
3202,
64,
33116,
1036,
67,
14692,
81,
62,
259,
33116,
1036,
67,
14692,
81,
62,
448,
33116,
2081,
8,
198,
198,
2,
1100,
262,
45656,
329,
477,
2242,
9619,
198,
69,
312,
796,
289,
20,
9654,
7,
11250,
14692,
7890,
62,
7753,
33116,
366,
81,
4943,
198,
2543,
82,
796,
1100,
7,
69,
312,
14692,
2543,
82,
8973,
8,
1303,
685,
34703,
76,
60,
198,
19836,
7,
69,
312,
8,
198,
198,
626,
796,
13544,
13,
626,
1303,
685,
13276,
14,
82,
60,
198,
2,
33540,
9655,
21396,
329,
36793,
290,
8147,
198,
259,
565,
796,
13544,
13,
259,
565,
1303,
685,
13500,
60,
198,
4537,
796,
13544,
13,
4537,
1303,
685,
13500,
60,
23158,
9848,
4539,
3753,
8801,
3083,
198,
37659,
844,
796,
4566,
14692,
37659,
844,
8973,
1303,
1271,
286,
17848,
198,
198,
2,
2141,
381,
1754,
6482,
262,
27039,
28400,
284,
1334,
12,
14535,
28400,
198,
31361,
796,
11555,
14,
66,
62,
74,
907,
1303,
48993,
452,
2569,
2141,
381,
1754,
10451,
198,
30846,
62,
2543,
82,
796,
220,
300,
4105,
764,
9,
19862,
17034,
19510,
16,
13,
532,
12159,
8,
1220,
357,
16,
13,
1343,
12159,
4008,
1303,
685,
9383,
12212,
60,
198,
198,
2543,
15,
796,
36624,
14,
19214,
13,
49561,
68,
24,
1635,
352,
68,
19,
1303,
685,
9383,
12212,
60,
198,
198,
13564,
62,
48859,
7,
79,
945,
11,
366,
1600,
10706,
8,
198,
13564,
62,
25928,
7203,
1600,
10706,
8,
198,
13564,
62,
19849,
7,
79,
945,
11,
366,
1600,
10706,
8,
198,
13564,
62,
50033,
7,
30846,
62,
2543,
82,
8,
198,
198,
2,
5825,
1819,
3093,
49312,
284,
8977,
4235,
198,
13155,
7203,
6335,
23209,
18,
67,
13,
259,
79,
13,
48859,
1600,
366,
6335,
23209,
18,
67,
13,
259,
79,
4943,
198,
198,
361,
5145,
79,
945,
276,
62,
22046,
14692,
13099,
324,
8973,
198,
220,
220,
220,
1057,
7,
63,
6335,
23209,
18,
67,
285,
310,
372,
76,
63,
8,
1303,
1306,
3141,
481,
466,
428,
6338,
198,
220,
220,
220,
1057,
7,
63,
6335,
23209,
18,
67,
2939,
13358,
720,
259,
565,
1426,
648,
720,
4537,
45941,
844,
720,
37659,
844,
37456,
720,
2543,
15,
63,
8,
198,
437,
198,
198,
2,
1649,
1760,
11,
34052,
284,
3623,
691,
4235,
198,
13155,
7203,
6335,
23209,
18,
67,
13,
259,
79,
13,
22649,
1600,
366,
6335,
23209,
18,
67,
13,
259,
79,
4943,
198
] | 2.537389 | 789 |
@testset "find_traversal & list_traversal" for t in TEST_TREES
for l in list_traversal(t)
res = find_traversal(t, walk(t, l))
@test all(c -> walk(t, c) === walk(t, l), res)
end
@test isempty(find_traversal(t, Leaf(-1)))
@test isempty(find_traversal(t, [t, t]))
@test isempty(find_traversal(t, BinaryVertex(-1, t, t)))
end
| [
31,
9288,
2617,
366,
19796,
62,
9535,
690,
282,
1222,
1351,
62,
9535,
690,
282,
1,
329,
256,
287,
43001,
62,
51,
2200,
1546,
198,
220,
220,
220,
329,
300,
287,
1351,
62,
9535,
690,
282,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
1064,
62,
9535,
690,
282,
7,
83,
11,
2513,
7,
83,
11,
300,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
477,
7,
66,
4613,
2513,
7,
83,
11,
269,
8,
24844,
2513,
7,
83,
11,
300,
828,
581,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
9288,
318,
28920,
7,
19796,
62,
9535,
690,
282,
7,
83,
11,
14697,
32590,
16,
22305,
198,
220,
220,
220,
2488,
9288,
318,
28920,
7,
19796,
62,
9535,
690,
282,
7,
83,
11,
685,
83,
11,
256,
60,
4008,
198,
220,
220,
220,
2488,
9288,
318,
28920,
7,
19796,
62,
9535,
690,
282,
7,
83,
11,
45755,
13414,
16886,
32590,
16,
11,
256,
11,
256,
22305,
198,
437,
198
] | 2.093567 | 171 |
using Oceananigans
using Oceananigans.Units
using OceanTurbulenceParameterEstimation
using OceanTurbulenceParameterEstimation: Transformation
using LinearAlgebra, CairoMakie, DataDeps, Distributions
using ElectronDisplay
using Oceananigans.TurbulenceClosures.CATKEVerticalDiffusivities:
CATKEVerticalDiffusivity,
SurfaceTKEFlux,
MixingLength
#####
##### Compile LESbrary
#####
case_path(case) = @datadep_str("four_day_suite_1m/$(case)_instantaneous_statistics.jld2")
Δz = 2
#times = [96hours - 20minutes, 96hours]
times = [12hours, 96hours]
field_names = (:b, :e, :u, :v)
regrid_size = (1, 1, Int(256/Δz))
k₁ = floor(Int, 120 / Δz)
k₂ = ceil(Int, 150 / Δz)
space = SpaceIndices(z=k₁:k₂)
mult = length(space.z) / regrid_size[3]
transformation = (
b = Transformation(; normalization=ZScore()),
u = Transformation(; normalization=ZScore()),
v = Transformation(; normalization=ZScore()),
e = Transformation(; space, normalization=RescaledZScore(mult)),
)
observation_library = Dict()
# Don't optimize u, v for free_convection
observation_library["free_convection"] =
SyntheticObservations(case_path("free_convection"); transformation, times, regrid_size,
field_names = (:b, :e))
# Don't optimize v for non-rotating cases
observation_library["strong_wind_no_rotation"] =
SyntheticObservations(case_path("strong_wind_no_rotation"); transformation, times, regrid_size,
field_names = (:b, :e, :u))
# The rest are standard
for case in ["strong_wind", "strong_wind_weak_cooling", "weak_wind_strong_cooling"]
observation_library[case] = SyntheticObservations(case_path(case); field_names, transformation, times, regrid_size)
end
@show znodes(Center, observation_library["free_convection"].grid)[space.z]
cases = [
"free_convection",
"weak_wind_strong_cooling",
"strong_wind_weak_cooling",
"strong_wind",
"strong_wind_no_rotation",
]
observations = [observation_library[case] for case in cases]
#####
##### Simulation
#####
# Constant Ri, no convection
mixing_length = MixingLength(Cᴬu = 0.0,
Cᴬc = 0.0,
Cᴬe = 0.0,
Cᴸᵇ = 1.36,
Cᴷu⁻ = 0.101,
Cᴷc⁻ = 0.0574,
Cᴷe⁻ = 3.32,
Cᵟu = 0.5,
Cᵟc = 0.5,
Cᵟe = 0.5,
CᴷRiᶜ = 2.0,
Cᴷuʳ = 0.0,
Cᴷcʳ = 0.0,
Cᴷeʳ = 0.0)
surface_TKE_flux = SurfaceTKEFlux(CᵂwΔ=4.74, Cᵂu★=2.76)
catke = CATKEVerticalDiffusivity(; Cᴰ=1.78, mixing_length)
#####
##### Calibration
#####
mass = 0.6
prior_library = Dict()
prior_library[:CᵂwΔ] = ScaledLogitNormal(; bounds=(4, 10)) #, interval=(2, 5), mass)
prior_library[:Cᵂu★] = ScaledLogitNormal(; bounds=(2, 10)) #, interval=(3, 5), mass)
prior_library[:Cᴸᵇ] = ScaledLogitNormal(; bounds=(0, 0.5)) #, interval=(0.1, 2), mass)
prior_library[:Cᴰ] = ScaledLogitNormal(; bounds=(0, 1)) #, interval=(0.5, 2), mass)
prior_library[:Cᴷu⁻] = ScaledLogitNormal(; bounds=(0, 0.1)) #, interval=(0.01, 0.1), mass)
prior_library[:Cᴷc⁻] = ScaledLogitNormal(; bounds=(0, 1)) #, interval=(0.5, 1.0), mass)
prior_library[:Cᴷe⁻] = ScaledLogitNormal(; bounds=(0, 3)) #, interval=(1.5, 3), mass)
prior_library[:Cᴷuʳ] = ScaledLogitNormal(; bounds=(-1, 1))
prior_library[:Cᴷcʳ] = ScaledLogitNormal(; bounds=(-1, 1))
prior_library[:Cᴷeʳ] = ScaledLogitNormal(; bounds=(-1, 1))
prior_library[:CᴷRiᶜ] = ScaledLogitNormal(; bounds=(1, 3))
prior_library[:CᴷRiʷ] = ScaledLogitNormal(; bounds=(0, 0.5))
prior_library[:Cᴬu] = ScaledLogitNormal(; bounds=(0, 0.1))
prior_library[:Cᴬc] = ScaledLogitNormal(; bounds=(0, 2))
prior_library[:Cᴬe] = ScaledLogitNormal(; bounds=(0, 0.1)) #, interval=(1, 3), mass)
prior_library[:Cᵟu] = ScaledLogitNormal(; bounds=(0, 10))
prior_library[:Cᵟc] = ScaledLogitNormal(; bounds=(0, 10))
prior_library[:Cᵟe] = ScaledLogitNormal(; bounds=(0, 10))
# No convective adjustment:
constant_Ri_parameters = (:Cᴰ, :CᵂwΔ, :Cᵂu★, :Cᴸᵇ, :Cᴷu⁻, :Cᴷc⁻, :Cᴷe⁻, :Cᵟu, :Cᵟc, :Cᵟe)
variable_Ri_parameters = (:Cᴷuʳ, :Cᴷcʳ, :Cᴷeʳ, :CᴷRiʷ, :CᴷRiᶜ, :Cᴰ, :Cᴸᵇ, :CᵂwΔ, :Cᵂu★)
convective_adjustment_parameters = (:Cᴬc, :Cᴬe) # Cᴬu
# :Cᴸˢ
parameter_names = (:CᵂwΔ, :Cᵂu★, :Cᴷe⁻, :Cᴸᵇ, :Cᴰ, :Cᴷc⁻, :Cᴷu⁻, :Cᴷuʳ, :Cᴷcʳ, :Cᴷeʳ, :CᴷRiᶜ, :CᴷRiʷ, :Cᴬc, :Cᴬe)
free_parameters = FreeParameters(prior_library, names=parameter_names)
Nensemble = 4000
Δt = 20.0
function build_simulation()
simulation = ensemble_column_model_simulation(observations;
Nensemble,
architecture = GPU(),
tracers = (:b, :e),
closure = catke)
simulation.Δt = Δt
Qᵘ = simulation.model.velocities.u.boundary_conditions.top.condition
Qᵇ = simulation.model.tracers.b.boundary_conditions.top.condition
N² = simulation.model.tracers.b.boundary_conditions.bottom.condition
for (case, obs) in enumerate(observations)
f = obs.metadata.parameters.coriolis_parameter
view(Qᵘ, :, case) .= obs.metadata.parameters.momentum_flux
view(Qᵇ, :, case) .= obs.metadata.parameters.buoyancy_flux
view(N², :, case) .= obs.metadata.parameters.N²_deep
view(simulation.model.coriolis, :, case) .= Ref(FPlane(f=f))
end
return simulation
end
simulation = build_simulation()
calibration = InverseProblem(observations, simulation, free_parameters)
resampler = Resampler(resample_failure_fraction=0.5, acceptable_failure_fraction=1.0)
eki = EnsembleKalmanInversion(calibration; resampler, convergence_rate=0.8)
#####
##### Plot utils
#####
Nt = length(times)
observed_data = []
for observation in observations
time_serieses = observation.field_time_serieses
names = keys(time_serieses)
case_data = NamedTuple(n => interior(getproperty(time_serieses, n)[Nt])[1, 1, :] for n in names)
push!(observed_data, case_data)
end
function get_modeled_case(icase, name, k=1)
model_time_serieses = calibration.time_series_collector.field_time_serieses
field = getproperty(model_time_serieses, name)[Nt]
return view(interior(field), k, icase, :)
end
colorcycle = [:black, :royalblue1, :darkgreen, :lightsalmon, :seagreen, :magenta2, :red4, :khaki1, :darkgreen, :bisque4,
:silver, :lightsalmon, :lightseagreen, :teal, :royalblue1, :darkorchid4]
markercycle = [:rect, :utriangle, :star5, :circle, :cross, :+, :pentagon, :ltriangle, :airplane, :diamond, :star4]
markercycle = repeat(markercycle, inner=2)
function make_axes(fig, row=1, label=nothing)
ax_b = Axis(fig[row, 1], xlabel = "Buoyancy \n[cm s⁻²]", ylabel = "z [m]")
ax_u = Axis(fig[row, 2], xlabel = "x-velocity \n[cm s⁻¹]")
ax_v = Axis(fig[row, 3], xlabel = "y-velocity \n[cm s⁻¹]")
ax_e = Axis(fig[row, 4], xlabel = "Turbulent kinetic energy \n[cm² s⁻²]")
if !isnothing(label)
ax_t = Axis(fig[row, 5])
xlims!(0, 1)
ylims!(0, 1)
hidespines!(ax_t)
hidedecorations!(ax_t)
text!(ax_t, label, justification=:left, align=(:left, :center), position=(0, 0.5))
end
return (ax_b, ax_u, ax_v, ax_e)
end
function plot_fields!(axs, label, color, b, e, u=zeros(size(b)), v=zeros(size(b)); linewidth=2, linestyle=:solid)
grid = first(values(observation_library)).grid
z = znodes(Center, grid)
b, u, v, e = Tuple(Array(f) for f in (b, u, v, e))
for (q, name) in zip((b, u, v, e), ("b", "u", "v", "e"))
any(isnan.(q)) && @warn("NaNs found in $label $(name)!")
end
## Note unit conversions below, eg m s⁻¹ -> cm s⁻¹:cyan
lines!(axs[1], 1e2 * b, z; color, linestyle, label, linewidth)
lines!(axs[2], 1e2 * u, z; color, linestyle, label, linewidth)
lines!(axs[3], 1e2 * v, z; color, linestyle, label, linewidth)
lines!(axs[4], 1e4 * e, z; color, linestyle, label, linewidth)
return nothing
end
function min_max_parameters(summary)
names = keys(summary.ensemble_mean)
Nens = length(summary.parameters)
parameter_matrix = [summary.parameters[k][name] for name in names, k = 1:Nens]
θ_min = minimum(parameter_matrix, dims=2)
θ_max = maximum(parameter_matrix, dims=2)
return θ_min, θ_max
end
function finitefind(a, val, find)
b = deepcopy(a)
b[.!isfinite.(a)] .= val
return find(b)
end
finitefindmin(a) = finitefind(a, Inf, findmin)
finitefindmax(a) = finitefind(a, -Inf, findmax)
function visualize_parameter_evolution(eki)
summaries = eki.iteration_summaries
Niters = length(summaries)
names = eki.inverse_problem.free_parameters.names
θ_mean = NamedTuple(name => map(s -> s.ensemble_mean[name], summaries) for name in names)
k_best(s) = finitefindmin(s.mean_square_errors)[2]
θ_best = NamedTuple(name => map(s -> s.parameters[k_best(s)][name], summaries) for name in names)
θ_min_max = [min_max_parameters(s) for s in summaries]
θ_min = [[θn[1][i] for θn in θ_min_max] for i in 1:length(names)]
θ_max = [[θn[2][i] for θn in θ_min_max] for i in 1:length(names)]
θᵢ = NamedTuple(name => first(θ_mean[name]) for name in names)
Δθ = NamedTuple(name => (θ_mean[name] .- θᵢ[name]) ./ θᵢ[name] for name in names)
iterations = 0:length(summaries)-1
fig = Figure(resolution=(1200, 1200))
ax1 = Axis(fig[1:3, 1], xlabel = "Iteration", ylabel = "Δθ")
for (i, name) in enumerate(names)
label = string(name)
marker = markercycle[i]
color = colorcycle[i]
scatterlines!(ax1, iterations, parent(Δθ[name]); marker, color=(color, 0.8), label, linewidth=4)
end
fig[1:3, 2] = Legend(fig, ax1)
Nparts = 3
Nθpart = floor(Int, length(names) / Nparts)
for p in 1:Nparts
axp = Axis(fig[p+3, 1], xlabel = "Iteration", ylabel = "θ")
if p == Nparts
np = UnitRange((p-1) * Nθpart + 1, length(names))
else
np = UnitRange((p-1) * Nθpart + 1, p * Nθpart)
end
partnames = names[np]
for (n, name) in enumerate(partnames)
i = (p - 1) * Nθpart + n
label = string(name)
marker = markercycle[i]
color = colorcycle[i]
scatterlines!(axp, iterations, parent(θ_mean[name]); marker, color=(color, 0.6), label, linewidth=4)
lines!(axp, iterations, parent(θ_best[name]); color, linewidth=2)
band!(axp, iterations, parent(θ_min[i]), parent(θ_max[i]), color=(color, 0.3))
end
fig[p+3, 2] = Legend(fig, axp)
end
display(fig)
return nothing
end
function plot_latest(eki)
latest_summary = eki.iteration_summaries[end]
min_error, k_min = finitefindmin(latest_summary.mean_square_errors)
max_error, k_max = finitefindmax(latest_summary.mean_square_errors)
fig = Figure(resolution=(1200, 1200))
for (c, case) in enumerate(cases)
label = replace(case, "_" => "\n")
axs = make_axes(fig, c, label)
observed = observed_data[c]
obs = observations[c]
min_error_data = NamedTuple(n => get_modeled_case(c, n, k_min) for n in keys(obs.field_time_serieses))
max_error_data = NamedTuple(n => get_modeled_case(c, n, k_max) for n in keys(obs.field_time_serieses))
plot_fields!(axs, "observed at t = " * prettytime(times[end]), (:gray23, 0.6), observed...; linewidth=4)
plot_fields!(axs, "min", :navy, min_error_data...)
plot_fields!(axs, "max", :orangered3, max_error_data...)
fig[1, 6] = Legend(fig, axs[1])
end
display(fig)
return nothing
end
#####
##### Visualize observations
#####
fig = Figure(resolution=(1200, 1200))
linestyles = [:solid, :dash, :dot, :dashdot, :dashdotdot]
all_axs = []
for (o, observation) in enumerate(observations)
axs_label = replace(cases[o], "_" => "\n")
axs = make_axes(fig, o, axs_label)
append!(all_axs, axs)
for (n, t) in enumerate(times)
linestyle = linestyles[o]
label = "t = " * prettytime(t)
names = keys(observation.field_time_serieses)
data = map(name -> interior(observation.field_time_serieses[name][n])[1, 1, :], names)
plot_fields!(axs, label, colorcycle[n], data...)
end
end
display(fig)
#####
##### Calibrate
#####
# Initial state after 0 iterations
plot_latest(eki)
# Continuously update
for i = 1:20
@info "Iterating..."
start_time = time_ns()
iterate!(eki)
elapsed = 1e-9 * (time_ns() - start_time)
@info string(" done. (", prettytime(elapsed), ")")
@show eki.iteration_summaries[end]
visualize_parameter_evolution(eki)
plot_latest(eki)
end
| [
3500,
10692,
272,
34090,
198,
3500,
10692,
272,
34090,
13,
3118,
896,
198,
3500,
10692,
51,
5945,
32401,
36301,
22362,
18991,
198,
3500,
10692,
51,
5945,
32401,
36301,
22362,
18991,
25,
49127,
198,
3500,
44800,
2348,
29230,
11,
23732,
44,
461,
494,
11,
6060,
12156,
82,
11,
46567,
507,
198,
198,
3500,
5903,
1313,
23114,
198,
198,
3500,
10692,
272,
34090,
13,
51,
5945,
32401,
2601,
16091,
13,
34,
1404,
7336,
42369,
605,
28813,
385,
28720,
25,
198,
220,
220,
220,
38348,
7336,
42369,
605,
28813,
385,
3458,
11,
198,
220,
220,
220,
20321,
51,
7336,
37,
22564,
11,
198,
220,
220,
220,
15561,
278,
24539,
198,
198,
4242,
2,
198,
4242,
2,
3082,
576,
406,
1546,
1671,
560,
198,
4242,
2,
198,
198,
7442,
62,
6978,
7,
7442,
8,
796,
2488,
19608,
324,
538,
62,
2536,
7203,
14337,
62,
820,
62,
2385,
578,
62,
16,
76,
32624,
7,
7442,
8,
62,
8625,
415,
11655,
62,
14269,
3969,
13,
73,
335,
17,
4943,
198,
198,
138,
242,
89,
796,
362,
198,
2,
22355,
796,
685,
4846,
24425,
532,
1160,
1084,
1769,
11,
9907,
24425,
60,
198,
22355,
796,
685,
1065,
24425,
11,
9907,
24425,
60,
198,
3245,
62,
14933,
796,
357,
25,
65,
11,
1058,
68,
11,
1058,
84,
11,
1058,
85,
8,
198,
260,
25928,
62,
7857,
796,
357,
16,
11,
352,
11,
2558,
7,
11645,
14,
138,
242,
89,
4008,
198,
198,
74,
158,
224,
223,
796,
4314,
7,
5317,
11,
7982,
1220,
37455,
89,
8,
198,
74,
158,
224,
224,
796,
2906,
346,
7,
5317,
11,
6640,
1220,
37455,
89,
8,
198,
13200,
796,
4687,
5497,
1063,
7,
89,
28,
74,
158,
224,
223,
25,
74,
158,
224,
224,
8,
198,
16680,
796,
4129,
7,
13200,
13,
89,
8,
1220,
842,
6058,
62,
7857,
58,
18,
60,
198,
198,
7645,
1161,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
49127,
7,
26,
3487,
1634,
28,
57,
26595,
3419,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
796,
49127,
7,
26,
3487,
1634,
28,
57,
26595,
3419,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
796,
49127,
7,
26,
3487,
1634,
28,
57,
26595,
3419,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
796,
49127,
7,
26,
2272,
11,
3487,
1634,
28,
49,
3798,
3021,
57,
26595,
7,
16680,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
198,
672,
3168,
341,
62,
32016,
796,
360,
713,
3419,
198,
198,
2,
2094,
470,
27183,
334,
11,
410,
329,
1479,
62,
1102,
303,
596,
198,
672,
3168,
341,
62,
32016,
14692,
5787,
62,
1102,
303,
596,
8973,
796,
198,
220,
220,
220,
26375,
6587,
31310,
712,
602,
7,
7442,
62,
6978,
7203,
5787,
62,
1102,
303,
596,
15341,
13389,
11,
1661,
11,
842,
6058,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
62,
14933,
796,
357,
25,
65,
11,
1058,
68,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
2,
2094,
470,
27183,
410,
329,
1729,
12,
10599,
803,
2663,
198,
672,
3168,
341,
62,
32016,
14692,
11576,
62,
7972,
62,
3919,
62,
10599,
341,
8973,
796,
198,
220,
220,
220,
26375,
6587,
31310,
712,
602,
7,
7442,
62,
6978,
7203,
11576,
62,
7972,
62,
3919,
62,
10599,
341,
15341,
13389,
11,
1661,
11,
842,
6058,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
62,
14933,
796,
357,
25,
65,
11,
1058,
68,
11,
1058,
84,
4008,
198,
198,
2,
383,
1334,
389,
3210,
198,
1640,
1339,
287,
14631,
11576,
62,
7972,
1600,
366,
11576,
62,
7972,
62,
38695,
62,
24494,
278,
1600,
366,
38695,
62,
7972,
62,
11576,
62,
24494,
278,
8973,
198,
220,
220,
220,
13432,
62,
32016,
58,
7442,
60,
796,
26375,
6587,
31310,
712,
602,
7,
7442,
62,
6978,
7,
7442,
1776,
2214,
62,
14933,
11,
13389,
11,
1661,
11,
842,
6058,
62,
7857,
8,
198,
437,
198,
198,
31,
12860,
1976,
77,
4147,
7,
23656,
11,
13432,
62,
32016,
14692,
5787,
62,
1102,
303,
596,
1,
4083,
25928,
38381,
13200,
13,
89,
60,
198,
198,
33964,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
366,
5787,
62,
1102,
303,
596,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
366,
38695,
62,
7972,
62,
11576,
62,
24494,
278,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11576,
62,
7972,
62,
38695,
62,
24494,
278,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11576,
62,
7972,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11576,
62,
7972,
62,
3919,
62,
10599,
341,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
198,
672,
3168,
602,
796,
685,
672,
3168,
341,
62,
32016,
58,
7442,
60,
329,
1339,
287,
2663,
60,
198,
220,
220,
220,
220,
220,
198,
4242,
2,
198,
4242,
2,
41798,
198,
4242,
2,
198,
198,
2,
20217,
30385,
11,
645,
24748,
596,
198,
19816,
278,
62,
13664,
796,
15561,
278,
24539,
7,
34,
157,
112,
105,
84,
220,
220,
796,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
105,
66,
220,
220,
796,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
105,
68,
220,
220,
796,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
116,
39611,
229,
220,
220,
796,
352,
13,
2623,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
84,
46256,
119,
220,
796,
657,
13,
8784,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
66,
46256,
119,
220,
796,
657,
13,
2713,
4524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
68,
46256,
119,
220,
796,
513,
13,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
39611,
253,
84,
220,
220,
796,
657,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
39611,
253,
66,
220,
220,
796,
657,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
39611,
253,
68,
220,
220,
796,
657,
13,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
49,
72,
157,
114,
250,
796,
362,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
84,
134,
111,
220,
796,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
66,
134,
111,
220,
796,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
157,
112,
115,
68,
134,
111,
220,
796,
657,
13,
15,
8,
198,
198,
42029,
62,
51,
7336,
62,
69,
22564,
796,
20321,
51,
7336,
37,
22564,
7,
34,
39611,
224,
86,
138,
242,
28,
19,
13,
4524,
11,
327,
39611,
224,
84,
15583,
28,
17,
13,
4304,
8,
198,
9246,
365,
796,
38348,
7336,
42369,
605,
28813,
385,
3458,
7,
26,
327,
157,
112,
108,
28,
16,
13,
3695,
11,
17090,
62,
13664,
8,
198,
198,
4242,
2,
198,
4242,
2,
2199,
571,
1358,
198,
4242,
2,
198,
198,
22208,
796,
657,
13,
21,
198,
3448,
273,
62,
32016,
796,
360,
713,
3419,
198,
3448,
273,
62,
32016,
58,
25,
34,
39611,
224,
86,
138,
242,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
19,
11,
838,
4008,
1303,
11,
16654,
16193,
17,
11,
642,
828,
2347,
8,
198,
3448,
273,
62,
32016,
58,
25,
34,
39611,
224,
84,
15583,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
17,
11,
838,
4008,
1303,
11,
16654,
16193,
18,
11,
642,
828,
2347,
8,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
116,
39611,
229,
60,
220,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
657,
13,
20,
4008,
1303,
11,
16654,
16193,
15,
13,
16,
11,
362,
828,
2347,
8,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
108,
60,
220,
220,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
352,
4008,
1303,
11,
16654,
16193,
15,
13,
20,
11,
362,
828,
2347,
8,
198,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
84,
46256,
119,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
657,
13,
16,
4008,
1303,
11,
16654,
16193,
15,
13,
486,
11,
657,
13,
16,
828,
2347,
8,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
66,
46256,
119,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
352,
4008,
1303,
11,
16654,
16193,
15,
13,
20,
11,
352,
13,
15,
828,
2347,
8,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
68,
46256,
119,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
513,
4008,
1303,
11,
16654,
16193,
16,
13,
20,
11,
513,
828,
2347,
8,
198,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
84,
134,
111,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
12,
16,
11,
352,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
66,
134,
111,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
12,
16,
11,
352,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
68,
134,
111,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
12,
16,
11,
352,
4008,
198,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
49,
72,
157,
114,
250,
60,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
16,
11,
513,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
115,
49,
72,
134,
115,
60,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
657,
13,
20,
4008,
198,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
105,
84,
60,
220,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
657,
13,
16,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
105,
66,
60,
220,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
362,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
157,
112,
105,
68,
60,
220,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
657,
13,
16,
4008,
1303,
11,
16654,
16193,
16,
11,
513,
828,
2347,
8,
198,
198,
3448,
273,
62,
32016,
58,
25,
34,
39611,
253,
84,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
838,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
39611,
253,
66,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
838,
4008,
198,
3448,
273,
62,
32016,
58,
25,
34,
39611,
253,
68,
60,
220,
796,
1446,
3021,
11187,
270,
26447,
7,
26,
22303,
16193,
15,
11,
838,
4008,
198,
198,
2,
1400,
24748,
14070,
15068,
25,
198,
9979,
415,
62,
49,
72,
62,
17143,
7307,
796,
357,
25,
34,
157,
112,
108,
11,
1058,
34,
39611,
224,
86,
138,
242,
11,
1058,
34,
39611,
224,
84,
15583,
11,
1058,
34,
157,
112,
116,
39611,
229,
11,
1058,
34,
157,
112,
115,
84,
46256,
119,
11,
1058,
34,
157,
112,
115,
66,
46256,
119,
11,
1058,
34,
157,
112,
115,
68,
46256,
119,
11,
1058,
34,
39611,
253,
84,
11,
1058,
34,
39611,
253,
66,
11,
1058,
34,
39611,
253,
68,
8,
198,
45286,
62,
49,
72,
62,
17143,
7307,
796,
357,
25,
34,
157,
112,
115,
84,
134,
111,
11,
1058,
34,
157,
112,
115,
66,
134,
111,
11,
1058,
34,
157,
112,
115,
68,
134,
111,
11,
1058,
34,
157,
112,
115,
49,
72,
134,
115,
11,
1058,
34,
157,
112,
115,
49,
72,
157,
114,
250,
11,
1058,
34,
157,
112,
108,
11,
1058,
34,
157,
112,
116,
39611,
229,
11,
1058,
34,
39611,
224,
86,
138,
242,
11,
1058,
34,
39611,
224,
84,
15583,
8,
198,
1102,
303,
14070,
62,
23032,
434,
62,
17143,
7307,
796,
357,
25,
34,
157,
112,
105,
66,
11,
1058,
34,
157,
112,
105,
68,
8,
1303,
327,
157,
112,
105,
84,
198,
198,
2,
1058,
34,
157,
112,
116,
135,
95,
198,
17143,
2357,
62,
14933,
796,
357,
25,
34,
39611,
224,
86,
138,
242,
11,
1058,
34,
39611,
224,
84,
15583,
11,
1058,
34,
157,
112,
115,
68,
46256,
119,
11,
1058,
34,
157,
112,
116,
39611,
229,
11,
1058,
34,
157,
112,
108,
11,
1058,
34,
157,
112,
115,
66,
46256,
119,
11,
1058,
34,
157,
112,
115,
84,
46256,
119,
11,
1058,
34,
157,
112,
115,
84,
134,
111,
11,
1058,
34,
157,
112,
115,
66,
134,
111,
11,
1058,
34,
157,
112,
115,
68,
134,
111,
11,
1058,
34,
157,
112,
115,
49,
72,
157,
114,
250,
11,
1058,
34,
157,
112,
115,
49,
72,
134,
115,
11,
1058,
34,
157,
112,
105,
66,
11,
1058,
34,
157,
112,
105,
68,
8,
198,
5787,
62,
17143,
7307,
796,
3232,
48944,
7,
3448,
273,
62,
32016,
11,
3891,
28,
17143,
2357,
62,
14933,
8,
198,
198,
45,
1072,
11306,
796,
30123,
198,
138,
242,
83,
796,
1160,
13,
15,
198,
198,
8818,
1382,
62,
14323,
1741,
3419,
198,
220,
220,
220,
18640,
796,
34549,
62,
28665,
62,
19849,
62,
14323,
1741,
7,
672,
3168,
602,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
399,
1072,
11306,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10959,
796,
11362,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
491,
49908,
796,
357,
25,
65,
11,
1058,
68,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16512,
796,
3797,
365,
8,
628,
220,
220,
220,
18640,
13,
138,
242,
83,
796,
37455,
83,
220,
220,
220,
220,
628,
220,
220,
220,
1195,
39611,
246,
796,
18640,
13,
19849,
13,
626,
420,
871,
13,
84,
13,
7784,
560,
62,
17561,
1756,
13,
4852,
13,
31448,
198,
220,
220,
220,
1195,
39611,
229,
796,
18640,
13,
19849,
13,
2213,
49908,
13,
65,
13,
7784,
560,
62,
17561,
1756,
13,
4852,
13,
31448,
198,
220,
220,
220,
399,
31185,
796,
18640,
13,
19849,
13,
2213,
49908,
13,
65,
13,
7784,
560,
62,
17561,
1756,
13,
22487,
13,
31448,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
357,
7442,
11,
10201,
8,
287,
27056,
378,
7,
672,
3168,
602,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
796,
10201,
13,
38993,
13,
17143,
7307,
13,
10215,
1669,
271,
62,
17143,
2357,
198,
220,
220,
220,
220,
220,
220,
220,
1570,
7,
48,
39611,
246,
11,
1058,
11,
1339,
8,
764,
28,
10201,
13,
38993,
13,
17143,
7307,
13,
32542,
298,
388,
62,
69,
22564,
198,
220,
220,
220,
220,
220,
220,
220,
1570,
7,
48,
39611,
229,
11,
1058,
11,
1339,
8,
764,
28,
10201,
13,
38993,
13,
17143,
7307,
13,
11110,
726,
3883,
62,
69,
22564,
198,
220,
220,
220,
220,
220,
220,
220,
1570,
7,
45,
31185,
11,
1058,
11,
1339,
8,
764,
28,
10201,
13,
38993,
13,
17143,
7307,
13,
45,
31185,
62,
22089,
198,
220,
220,
220,
220,
220,
220,
220,
1570,
7,
14323,
1741,
13,
19849,
13,
10215,
1669,
271,
11,
1058,
11,
1339,
8,
764,
28,
6524,
7,
37,
3646,
1531,
7,
69,
28,
69,
4008,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
18640,
198,
437,
198,
198,
14323,
1741,
796,
1382,
62,
14323,
1741,
3419,
198,
9948,
571,
1358,
796,
554,
4399,
40781,
7,
672,
3168,
602,
11,
18640,
11,
1479,
62,
17143,
7307,
8,
198,
411,
321,
20053,
796,
1874,
321,
20053,
7,
411,
1403,
62,
32165,
495,
62,
69,
7861,
28,
15,
13,
20,
11,
10909,
62,
32165,
495,
62,
69,
7861,
28,
16,
13,
15,
8,
198,
39548,
796,
2039,
15140,
41428,
805,
818,
9641,
7,
9948,
571,
1358,
26,
581,
321,
20053,
11,
40826,
62,
4873,
28,
15,
13,
23,
8,
198,
198,
4242,
2,
198,
4242,
2,
28114,
3384,
4487,
198,
4242,
2,
198,
198,
45,
83,
796,
4129,
7,
22355,
8,
198,
672,
45852,
62,
7890,
796,
17635,
198,
198,
1640,
13432,
287,
13050,
198,
220,
220,
220,
640,
62,
25076,
274,
796,
13432,
13,
3245,
62,
2435,
62,
25076,
274,
198,
220,
220,
220,
3891,
796,
8251,
7,
2435,
62,
25076,
274,
8,
198,
220,
220,
220,
1339,
62,
7890,
796,
34441,
51,
29291,
7,
77,
5218,
11087,
7,
1136,
26745,
7,
2435,
62,
25076,
274,
11,
299,
38381,
45,
83,
12962,
58,
16,
11,
352,
11,
1058,
60,
329,
299,
287,
3891,
8,
198,
220,
220,
220,
4574,
0,
7,
672,
45852,
62,
7890,
11,
1339,
62,
7890,
8,
198,
437,
198,
198,
8818,
651,
62,
4666,
18449,
62,
7442,
7,
291,
589,
11,
1438,
11,
479,
28,
16,
8,
198,
220,
220,
220,
2746,
62,
2435,
62,
25076,
274,
796,
36537,
13,
2435,
62,
25076,
62,
33327,
273,
13,
3245,
62,
2435,
62,
25076,
274,
220,
198,
220,
220,
220,
2214,
796,
651,
26745,
7,
19849,
62,
2435,
62,
25076,
274,
11,
1438,
38381,
45,
83,
60,
198,
220,
220,
220,
1441,
1570,
7,
3849,
1504,
7,
3245,
828,
479,
11,
14158,
589,
11,
14373,
198,
437,
198,
198,
8043,
13696,
796,
220,
685,
25,
13424,
11,
1058,
3287,
282,
17585,
16,
11,
1058,
21953,
14809,
11,
1058,
8091,
282,
2144,
11,
1058,
325,
363,
1361,
11,
1058,
19726,
29188,
17,
11,
1058,
445,
19,
11,
1058,
14636,
8182,
16,
11,
220,
220,
1058,
21953,
14809,
11,
1058,
41907,
4188,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
40503,
11,
1058,
8091,
282,
2144,
11,
1058,
2971,
325,
363,
1361,
11,
1058,
660,
282,
11,
1058,
3287,
282,
17585,
16,
11,
1058,
21953,
273,
28402,
19,
60,
198,
198,
4102,
263,
13696,
796,
685,
25,
2554,
11,
1058,
315,
380,
9248,
11,
1058,
7364,
20,
11,
1058,
45597,
11,
1058,
19692,
11,
1058,
28200,
1058,
16923,
1840,
11,
1058,
2528,
380,
9248,
11,
1058,
958,
14382,
11,
1058,
67,
8446,
11,
1058,
7364,
19,
60,
198,
4102,
263,
13696,
796,
9585,
7,
4102,
263,
13696,
11,
8434,
28,
17,
8,
198,
198,
8818,
787,
62,
897,
274,
7,
5647,
11,
5752,
28,
16,
11,
6167,
28,
22366,
8,
198,
220,
220,
220,
7877,
62,
65,
796,
38349,
7,
5647,
58,
808,
11,
352,
4357,
2124,
18242,
796,
366,
38374,
726,
3883,
3467,
77,
58,
11215,
264,
46256,
119,
31185,
60,
1600,
331,
18242,
796,
366,
89,
685,
76,
60,
4943,
198,
220,
220,
220,
7877,
62,
84,
796,
38349,
7,
5647,
58,
808,
11,
362,
4357,
2124,
18242,
796,
366,
87,
12,
626,
11683,
3467,
77,
58,
11215,
264,
46256,
119,
126,
117,
60,
4943,
198,
220,
220,
220,
7877,
62,
85,
796,
38349,
7,
5647,
58,
808,
11,
513,
4357,
2124,
18242,
796,
366,
88,
12,
626,
11683,
3467,
77,
58,
11215,
264,
46256,
119,
126,
117,
60,
4943,
198,
220,
220,
220,
7877,
62,
68,
796,
38349,
7,
5647,
58,
808,
11,
604,
4357,
2124,
18242,
796,
366,
51,
5945,
15288,
37892,
2568,
3467,
77,
58,
11215,
31185,
264,
46256,
119,
31185,
60,
4943,
198,
220,
220,
220,
611,
5145,
271,
22366,
7,
18242,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
62,
83,
796,
38349,
7,
5647,
58,
808,
11,
642,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
2475,
82,
0,
7,
15,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
2475,
82,
0,
7,
15,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
30768,
79,
1127,
0,
7,
897,
62,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
289,
1384,
721,
273,
602,
0,
7,
897,
62,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
0,
7,
897,
62,
83,
11,
6167,
11,
17734,
28,
25,
9464,
11,
10548,
16193,
25,
9464,
11,
1058,
16159,
828,
2292,
16193,
15,
11,
657,
13,
20,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
357,
897,
62,
65,
11,
7877,
62,
84,
11,
7877,
62,
85,
11,
7877,
62,
68,
8,
198,
437,
198,
198,
8818,
7110,
62,
25747,
0,
7,
897,
82,
11,
6167,
11,
3124,
11,
275,
11,
304,
11,
334,
28,
9107,
418,
7,
7857,
7,
65,
36911,
410,
28,
9107,
418,
7,
7857,
7,
65,
18125,
9493,
413,
5649,
28,
17,
11,
9493,
10992,
28,
25,
39390,
8,
198,
220,
220,
220,
10706,
796,
717,
7,
27160,
7,
672,
3168,
341,
62,
32016,
29720,
25928,
198,
220,
220,
220,
1976,
796,
1976,
77,
4147,
7,
23656,
11,
10706,
8,
198,
220,
220,
220,
275,
11,
334,
11,
410,
11,
304,
796,
309,
29291,
7,
19182,
7,
69,
8,
329,
277,
287,
357,
65,
11,
334,
11,
410,
11,
304,
4008,
628,
220,
220,
220,
329,
357,
80,
11,
1438,
8,
287,
19974,
19510,
65,
11,
334,
11,
410,
11,
304,
828,
5855,
65,
1600,
366,
84,
1600,
366,
85,
1600,
366,
68,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
597,
7,
271,
12647,
12195,
80,
4008,
11405,
2488,
40539,
7203,
26705,
47503,
1043,
287,
720,
18242,
29568,
3672,
8,
2474,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
22492,
5740,
4326,
32626,
2174,
11,
29206,
285,
264,
46256,
119,
126,
117,
4613,
12067,
264,
46256,
119,
126,
117,
25,
948,
272,
198,
220,
220,
220,
3951,
0,
7,
897,
82,
58,
16,
4357,
352,
68,
17,
1635,
275,
11,
1976,
26,
3124,
11,
9493,
10992,
11,
6167,
11,
9493,
413,
5649,
8,
220,
198,
220,
220,
220,
3951,
0,
7,
897,
82,
58,
17,
4357,
352,
68,
17,
1635,
334,
11,
1976,
26,
3124,
11,
9493,
10992,
11,
6167,
11,
9493,
413,
5649,
8,
198,
220,
220,
220,
3951,
0,
7,
897,
82,
58,
18,
4357,
352,
68,
17,
1635,
410,
11,
1976,
26,
3124,
11,
9493,
10992,
11,
6167,
11,
9493,
413,
5649,
8,
198,
220,
220,
220,
3951,
0,
7,
897,
82,
58,
19,
4357,
352,
68,
19,
1635,
304,
11,
1976,
26,
3124,
11,
9493,
10992,
11,
6167,
11,
9493,
413,
5649,
8,
628,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
8818,
949,
62,
9806,
62,
17143,
7307,
7,
49736,
8,
198,
220,
220,
220,
3891,
796,
8251,
7,
49736,
13,
1072,
11306,
62,
32604,
8,
198,
220,
220,
220,
399,
641,
796,
4129,
7,
49736,
13,
17143,
7307,
8,
198,
220,
220,
220,
11507,
62,
6759,
8609,
796,
685,
49736,
13,
17143,
7307,
58,
74,
7131,
3672,
60,
329,
1438,
287,
3891,
11,
479,
796,
352,
25,
45,
641,
60,
198,
220,
220,
220,
7377,
116,
62,
1084,
796,
5288,
7,
17143,
2357,
62,
6759,
8609,
11,
5391,
82,
28,
17,
8,
198,
220,
220,
220,
7377,
116,
62,
9806,
796,
5415,
7,
17143,
2357,
62,
6759,
8609,
11,
5391,
82,
28,
17,
8,
198,
220,
220,
220,
1441,
7377,
116,
62,
1084,
11,
7377,
116,
62,
9806,
198,
437,
198,
198,
8818,
27454,
19796,
7,
64,
11,
1188,
11,
1064,
8,
198,
220,
220,
220,
275,
796,
2769,
30073,
7,
64,
8,
198,
220,
220,
220,
275,
58,
13,
0,
4468,
9504,
12195,
64,
15437,
764,
28,
1188,
198,
220,
220,
220,
1441,
1064,
7,
65,
8,
198,
437,
198,
198,
69,
9504,
19796,
1084,
7,
64,
8,
796,
27454,
19796,
7,
64,
11,
4806,
11,
1064,
1084,
8,
198,
69,
9504,
19796,
9806,
7,
64,
8,
796,
27454,
19796,
7,
64,
11,
532,
18943,
11,
1064,
9806,
8,
198,
198,
8818,
38350,
62,
17143,
2357,
62,
1990,
2122,
7,
39548,
8,
198,
220,
220,
220,
30114,
3166,
796,
304,
4106,
13,
2676,
341,
62,
82,
13929,
3166,
198,
220,
220,
220,
24282,
364,
796,
4129,
7,
82,
13929,
3166,
8,
198,
220,
220,
220,
3891,
796,
304,
4106,
13,
259,
4399,
62,
45573,
13,
5787,
62,
17143,
7307,
13,
14933,
198,
220,
220,
220,
7377,
116,
62,
32604,
796,
34441,
51,
29291,
7,
3672,
5218,
3975,
7,
82,
4613,
264,
13,
1072,
11306,
62,
32604,
58,
3672,
4357,
30114,
3166,
8,
329,
1438,
287,
3891,
8,
628,
220,
220,
220,
479,
62,
13466,
7,
82,
8,
796,
27454,
19796,
1084,
7,
82,
13,
32604,
62,
23415,
62,
48277,
38381,
17,
60,
198,
220,
220,
220,
7377,
116,
62,
13466,
796,
34441,
51,
29291,
7,
3672,
5218,
3975,
7,
82,
4613,
264,
13,
17143,
7307,
58,
74,
62,
13466,
7,
82,
8,
7131,
3672,
4357,
30114,
3166,
8,
329,
1438,
287,
3891,
8,
628,
220,
220,
220,
7377,
116,
62,
1084,
62,
9806,
796,
685,
1084,
62,
9806,
62,
17143,
7307,
7,
82,
8,
329,
264,
287,
30114,
3166,
60,
198,
220,
220,
220,
7377,
116,
62,
1084,
796,
16410,
138,
116,
77,
58,
16,
7131,
72,
60,
329,
7377,
116,
77,
287,
7377,
116,
62,
1084,
62,
9806,
60,
329,
1312,
287,
352,
25,
13664,
7,
14933,
15437,
198,
220,
220,
220,
7377,
116,
62,
9806,
796,
16410,
138,
116,
77,
58,
17,
7131,
72,
60,
329,
7377,
116,
77,
287,
7377,
116,
62,
1084,
62,
9806,
60,
329,
1312,
287,
352,
25,
13664,
7,
14933,
15437,
628,
220,
220,
220,
7377,
116,
39611,
95,
796,
34441,
51,
29291,
7,
3672,
5218,
717,
7,
138,
116,
62,
32604,
58,
3672,
12962,
329,
1438,
287,
3891,
8,
198,
220,
220,
220,
37455,
138,
116,
796,
34441,
51,
29291,
7,
3672,
5218,
357,
138,
116,
62,
32604,
58,
3672,
60,
764,
12,
7377,
116,
39611,
95,
58,
3672,
12962,
24457,
7377,
116,
39611,
95,
58,
3672,
60,
329,
1438,
287,
3891,
8,
198,
220,
220,
220,
34820,
796,
657,
25,
13664,
7,
82,
13929,
3166,
13219,
16,
628,
220,
220,
220,
2336,
796,
11291,
7,
29268,
16193,
27550,
11,
24938,
4008,
198,
220,
220,
220,
7877,
16,
796,
38349,
7,
5647,
58,
16,
25,
18,
11,
352,
4357,
2124,
18242,
796,
366,
29993,
341,
1600,
331,
18242,
796,
366,
138,
242,
138,
116,
4943,
198,
220,
220,
220,
329,
357,
72,
11,
1438,
8,
287,
27056,
378,
7,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
4731,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18364,
796,
18364,
13696,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3124,
796,
3124,
13696,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
41058,
6615,
0,
7,
897,
16,
11,
34820,
11,
2560,
7,
138,
242,
138,
116,
58,
3672,
36563,
18364,
11,
3124,
16193,
8043,
11,
657,
13,
23,
828,
6167,
11,
9493,
413,
5649,
28,
19,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2336,
58,
16,
25,
18,
11,
362,
60,
796,
9883,
7,
5647,
11,
7877,
16,
8,
628,
220,
220,
220,
399,
42632,
796,
513,
198,
220,
220,
220,
399,
138,
116,
3911,
796,
4314,
7,
5317,
11,
4129,
7,
14933,
8,
1220,
399,
42632,
8,
628,
220,
220,
220,
329,
279,
287,
352,
25,
45,
42632,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
79,
796,
38349,
7,
5647,
58,
79,
10,
18,
11,
352,
4357,
2124,
18242,
796,
366,
29993,
341,
1600,
331,
18242,
796,
366,
138,
116,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
611,
279,
6624,
399,
42632,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
796,
11801,
17257,
19510,
79,
12,
16,
8,
1635,
399,
138,
116,
3911,
1343,
352,
11,
4129,
7,
14933,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
796,
11801,
17257,
19510,
79,
12,
16,
8,
1635,
399,
138,
116,
3911,
1343,
352,
11,
279,
1635,
399,
138,
116,
3911,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
636,
14933,
796,
3891,
58,
37659,
60,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
77,
11,
1438,
8,
287,
27056,
378,
7,
3911,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
796,
357,
79,
532,
352,
8,
1635,
399,
138,
116,
3911,
1343,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
4731,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
796,
18364,
13696,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
796,
3124,
13696,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41058,
6615,
0,
7,
897,
79,
11,
34820,
11,
2560,
7,
138,
116,
62,
32604,
58,
3672,
36563,
18364,
11,
3124,
16193,
8043,
11,
657,
13,
21,
828,
6167,
11,
9493,
413,
5649,
28,
19,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3951,
0,
7,
897,
79,
11,
34820,
11,
2560,
7,
138,
116,
62,
13466,
58,
3672,
36563,
3124,
11,
9493,
413,
5649,
28,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4097,
0,
7,
897,
79,
11,
34820,
11,
2560,
7,
138,
116,
62,
1084,
58,
72,
46570,
2560,
7,
138,
116,
62,
9806,
58,
72,
46570,
3124,
16193,
8043,
11,
657,
13,
18,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2336,
58,
79,
10,
18,
11,
362,
60,
796,
9883,
7,
5647,
11,
7877,
79,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
3359,
7,
5647,
8,
628,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
8818,
7110,
62,
42861,
7,
39548,
8,
198,
220,
220,
220,
3452,
62,
49736,
796,
304,
4106,
13,
2676,
341,
62,
82,
13929,
3166,
58,
437,
60,
198,
220,
220,
220,
949,
62,
18224,
11,
479,
62,
1084,
796,
27454,
19796,
1084,
7,
42861,
62,
49736,
13,
32604,
62,
23415,
62,
48277,
8,
198,
220,
220,
220,
3509,
62,
18224,
11,
479,
62,
9806,
796,
27454,
19796,
9806,
7,
42861,
62,
49736,
13,
32604,
62,
23415,
62,
48277,
8,
628,
220,
220,
220,
2336,
796,
11291,
7,
29268,
16193,
27550,
11,
24938,
4008,
628,
220,
220,
220,
329,
357,
66,
11,
1339,
8,
287,
27056,
378,
7,
33964,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
6330,
7,
7442,
11,
45434,
1,
5218,
37082,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
82,
796,
787,
62,
897,
274,
7,
5647,
11,
269,
11,
6167,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6515,
796,
6515,
62,
7890,
58,
66,
60,
198,
220,
220,
220,
220,
220,
220,
220,
10201,
796,
13050,
58,
66,
60,
628,
220,
220,
220,
220,
220,
220,
220,
949,
62,
18224,
62,
7890,
796,
34441,
51,
29291,
7,
77,
5218,
651,
62,
4666,
18449,
62,
7442,
7,
66,
11,
299,
11,
479,
62,
1084,
8,
329,
299,
287,
8251,
7,
8158,
13,
3245,
62,
2435,
62,
25076,
274,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
18224,
62,
7890,
796,
34441,
51,
29291,
7,
77,
5218,
651,
62,
4666,
18449,
62,
7442,
7,
66,
11,
299,
11,
479,
62,
9806,
8,
329,
299,
287,
8251,
7,
8158,
13,
3245,
62,
2435,
62,
25076,
274,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7110,
62,
25747,
0,
7,
897,
82,
11,
366,
672,
45852,
379,
256,
796,
366,
1635,
2495,
2435,
7,
22355,
58,
437,
46570,
357,
25,
44605,
1954,
11,
657,
13,
21,
828,
6515,
986,
26,
9493,
413,
5649,
28,
19,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7110,
62,
25747,
0,
7,
897,
82,
11,
366,
1084,
1600,
1058,
77,
2830,
11,
949,
62,
18224,
62,
7890,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
7110,
62,
25747,
0,
7,
897,
82,
11,
366,
9806,
1600,
1058,
273,
19041,
18,
11,
3509,
62,
18224,
62,
7890,
23029,
628,
220,
220,
220,
220,
220,
220,
220,
2336,
58,
16,
11,
718,
60,
796,
9883,
7,
5647,
11,
7877,
82,
58,
16,
12962,
220,
198,
220,
220,
220,
886,
628,
220,
220,
220,
3359,
7,
5647,
8,
628,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
4242,
2,
198,
4242,
2,
15612,
1096,
13050,
198,
4242,
2,
198,
198,
5647,
796,
11291,
7,
29268,
16193,
27550,
11,
24938,
4008,
198,
2815,
42530,
796,
685,
25,
39390,
11,
1058,
42460,
11,
1058,
26518,
11,
1058,
42460,
26518,
11,
1058,
42460,
26518,
26518,
60,
198,
439,
62,
897,
82,
796,
17635,
198,
198,
1640,
357,
78,
11,
13432,
8,
287,
27056,
378,
7,
672,
3168,
602,
8,
198,
220,
220,
220,
7877,
82,
62,
18242,
796,
6330,
7,
33964,
58,
78,
4357,
45434,
1,
5218,
37082,
77,
4943,
198,
220,
220,
220,
7877,
82,
796,
787,
62,
897,
274,
7,
5647,
11,
267,
11,
7877,
82,
62,
18242,
8,
198,
220,
220,
220,
24443,
0,
7,
439,
62,
897,
82,
11,
7877,
82,
8,
198,
220,
220,
220,
329,
357,
77,
11,
256,
8,
287,
27056,
378,
7,
22355,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
10992,
796,
9493,
42530,
58,
78,
60,
198,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
366,
83,
796,
366,
1635,
2495,
2435,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
8251,
7,
672,
3168,
341,
13,
3245,
62,
2435,
62,
25076,
274,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
3975,
7,
3672,
4613,
11087,
7,
672,
3168,
341,
13,
3245,
62,
2435,
62,
25076,
274,
58,
3672,
7131,
77,
12962,
58,
16,
11,
352,
11,
1058,
4357,
3891,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7110,
62,
25747,
0,
7,
897,
82,
11,
6167,
11,
3124,
13696,
58,
77,
4357,
1366,
23029,
198,
220,
220,
220,
886,
198,
437,
198,
198,
13812,
7,
5647,
8,
198,
198,
4242,
2,
198,
4242,
2,
2199,
2889,
378,
198,
4242,
2,
198,
198,
2,
20768,
1181,
706,
657,
34820,
198,
29487,
62,
42861,
7,
39548,
8,
198,
198,
2,
6389,
24987,
4296,
198,
1640,
1312,
796,
352,
25,
1238,
198,
220,
220,
220,
2488,
10951,
366,
29993,
803,
9313,
198,
220,
220,
220,
923,
62,
2435,
796,
640,
62,
5907,
3419,
198,
220,
220,
220,
11629,
378,
0,
7,
39548,
8,
198,
220,
220,
220,
42118,
796,
352,
68,
12,
24,
1635,
357,
2435,
62,
5907,
3419,
532,
923,
62,
2435,
8,
198,
220,
220,
220,
2488,
10951,
4731,
7203,
220,
220,
1760,
13,
357,
1600,
2495,
2435,
7,
417,
28361,
828,
366,
8,
4943,
198,
220,
220,
220,
2488,
12860,
304,
4106,
13,
2676,
341,
62,
82,
13929,
3166,
58,
437,
60,
198,
220,
220,
220,
38350,
62,
17143,
2357,
62,
1990,
2122,
7,
39548,
8,
198,
220,
220,
220,
7110,
62,
42861,
7,
39548,
8,
198,
437,
628
] | 2.032238 | 6,452 |
# make this keyworded?
init(::NEqProblem, ::LineSearch, x) = (z=copy(x), d=copy(x), Fx=copy(x), Jx=x*x')
# the bang is just potentially inplace x and state. nonbang copies these
function solve(problem::NEqProblem, x, method::LineSearch=LineSearch(Newton(), Static(1)), options=NEqOptions(), state=init(problem, method, x))
t0 = time()
# Unpack
scheme, linesearch = modelscheme(method), algorithm(method)
# Unpack important objectives
F = problem.R.F
FJ = problem.R.FJ
# Unpack state
z, d, Fx, Jx = state
T = eltype(Fx)
# Set up MeritObjective. This defines the least squares
# objective for the line search.
merit = MeritObjective(problem, F, FJ, Fx, Jx, d)
meritproblem = OptimizationProblem(merit, nothing, Euclidean(0), nothing, mstyle(problem), nothing)
# Evaluate the residual and Jacobian
Fx, Jx = FJ(Fx, Jx, x)
ρF0, ρ2F0 = norm(Fx, Inf), norm(Fx, 2)
stoptol = T(options.f_reltol)*ρF0 + T(options.f_abstol)
if ρF0 < stoptol
return ConvergenceInfo(method, (solution=x, best_residual=Fx, ρF0=ρF0, ρ2F0=ρ2F0, ρs=T(NaN), iter=0, time=time()-t0), options)
end
# Create variable for norms but keep the first ones for printing purposes.
ρs, ρ2F = ρF0, ρ2F0
iter = 1
while iter ≤ options.maxiter
# Shift z into x
if mstyle isa InPlace
x .= z
else
x = copy(z)
end
# Update the search direction
if mstyle isa InPlace
d = scheme.linsolve(d, Jx, -Fx)
else
d = scheme.linsolve(Jx, -Fx)
end
# Need to restrict to static and backtracking here because we don't allow
# for methods that calculate the gradient of the line objective.
#
# For non-linear systems of equations we choose the sum-of-
# squares merit function. Some useful things to remember is:
#
# f(y) = 1/2*|| F(y) ||^2 =>
# ∇_df = -d'*J(x)'*F(x)
#
# where we remember the notation x means the current iterate and y is any
# proposal. This means that if we step in the Newton direction such that d
# is defined by
#
# J(x)*d = -F(x) => -d'*J(x)' = F(x)' =>
# ∇_df = -F(x)'*F(x) = -f(x)*2
#
# φ = LineObjective!(F, ∇fz, z, x, d, fx, dot(∇fx, d))
φ = LineObjective(meritproblem, z, z, x, d, (ρ2F^2)/2, -ρ2F^2)
# Perform line search along d
α, f_α, ls_success = find_steplength(mstyle, linesearch, φ, T(1))
# # Calculate final step vector and update the state
# Step in the direction α*d
z = retract(problem, z, x, d, α)
# Update residual and jacobian
Fx, Jx = FJ(Fx, Jx, z)
# Update 2-norm for line search conditions: ϕ(0) and ϕ'(0)
ρ2F = norm(Fx, 2)
# Update the largest successive change in the iterate
ρs = mapreduce(x->abs(x[1]-x[2]), max, zip(x,z)) # norm(x.-z, Inf)
if ρ2F < stoptol || ρs <= 1e-12
break
end
iter += 1
end
return ConvergenceInfo(method, (solution=z, best_residual=Fx, ρF0=ρF0, ρ2F0=ρ2F0, ρs=ρs, iter=iter, time=time()-t0), options)
end
| [
2,
787,
428,
21179,
276,
30,
198,
15003,
7,
3712,
12161,
80,
40781,
11,
7904,
13949,
18243,
11,
2124,
8,
796,
357,
89,
28,
30073,
7,
87,
828,
288,
28,
30073,
7,
87,
828,
376,
87,
28,
30073,
7,
87,
828,
449,
87,
28,
87,
9,
87,
11537,
198,
2,
262,
20188,
318,
655,
6196,
287,
5372,
2124,
290,
1181,
13,
1729,
36668,
9088,
777,
198,
8818,
8494,
7,
45573,
3712,
12161,
80,
40781,
11,
2124,
11,
2446,
3712,
13949,
18243,
28,
13949,
18243,
7,
3791,
1122,
22784,
36125,
7,
16,
36911,
3689,
28,
12161,
80,
29046,
22784,
1181,
28,
15003,
7,
45573,
11,
2446,
11,
2124,
4008,
198,
220,
220,
220,
256,
15,
796,
640,
3419,
628,
220,
220,
220,
1303,
791,
8002,
198,
220,
220,
220,
7791,
11,
3951,
3679,
796,
2746,
15952,
1326,
7,
24396,
828,
11862,
7,
24396,
8,
198,
220,
220,
220,
1303,
791,
8002,
1593,
15221,
198,
220,
220,
220,
376,
796,
1917,
13,
49,
13,
37,
198,
220,
220,
220,
376,
41,
796,
1917,
13,
49,
13,
37,
41,
198,
220,
220,
220,
1303,
791,
8002,
1181,
198,
220,
220,
220,
1976,
11,
288,
11,
376,
87,
11,
449,
87,
796,
1181,
198,
220,
220,
220,
309,
796,
1288,
4906,
7,
37,
87,
8,
628,
198,
220,
220,
220,
1303,
5345,
510,
4638,
270,
10267,
425,
13,
770,
15738,
262,
1551,
24438,
198,
220,
220,
220,
1303,
9432,
329,
262,
1627,
2989,
13,
198,
220,
220,
220,
17004,
796,
4638,
270,
10267,
425,
7,
45573,
11,
376,
11,
376,
41,
11,
376,
87,
11,
449,
87,
11,
288,
8,
198,
220,
220,
220,
17004,
45573,
796,
30011,
1634,
40781,
7,
647,
270,
11,
2147,
11,
48862,
485,
272,
7,
15,
828,
2147,
11,
285,
7635,
7,
45573,
828,
2147,
8,
198,
220,
220,
220,
1303,
26439,
4985,
262,
29598,
290,
12806,
666,
198,
220,
220,
220,
376,
87,
11,
449,
87,
796,
376,
41,
7,
37,
87,
11,
449,
87,
11,
2124,
8,
198,
220,
220,
220,
18074,
223,
37,
15,
11,
18074,
223,
17,
37,
15,
796,
2593,
7,
37,
87,
11,
4806,
828,
220,
2593,
7,
37,
87,
11,
362,
8,
628,
220,
220,
220,
2245,
83,
349,
796,
309,
7,
25811,
13,
69,
62,
2411,
83,
349,
27493,
33643,
37,
15,
1343,
309,
7,
25811,
13,
69,
62,
397,
301,
349,
8,
198,
220,
220,
220,
611,
18074,
223,
37,
15,
1279,
2245,
83,
349,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
35602,
12745,
12360,
7,
24396,
11,
357,
82,
2122,
28,
87,
11,
1266,
62,
411,
312,
723,
28,
37,
87,
11,
18074,
223,
37,
15,
28,
33643,
37,
15,
11,
18074,
223,
17,
37,
15,
28,
33643,
17,
37,
15,
11,
18074,
223,
82,
28,
51,
7,
26705,
45,
828,
11629,
28,
15,
11,
640,
28,
2435,
3419,
12,
83,
15,
828,
3689,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
13610,
7885,
329,
19444,
475,
1394,
262,
717,
3392,
329,
13570,
4959,
13,
198,
220,
220,
220,
18074,
223,
82,
11,
18074,
223,
17,
37,
796,
18074,
223,
37,
15,
11,
18074,
223,
17,
37,
15,
628,
220,
220,
220,
11629,
796,
352,
198,
220,
220,
220,
981,
11629,
41305,
3689,
13,
9806,
2676,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15576,
1976,
656,
2124,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
7635,
318,
64,
554,
27271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
764,
28,
1976,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
4866,
7,
89,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10133,
262,
2989,
4571,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
7635,
318,
64,
554,
27271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
796,
7791,
13,
21602,
6442,
7,
67,
11,
449,
87,
11,
532,
37,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
796,
7791,
13,
21602,
6442,
7,
41,
87,
11,
532,
37,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10664,
284,
4239,
284,
9037,
290,
736,
36280,
994,
780,
356,
836,
470,
1249,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
5050,
326,
15284,
262,
31312,
286,
262,
1627,
9432,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
1729,
12,
29127,
3341,
286,
27490,
356,
3853,
262,
2160,
12,
1659,
12,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24438,
17004,
2163,
13,
2773,
4465,
1243,
284,
3505,
318,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
277,
7,
88,
8,
796,
352,
14,
17,
9,
15886,
376,
7,
88,
8,
8614,
61,
17,
5218,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18872,
229,
62,
7568,
796,
532,
67,
6,
9,
41,
7,
87,
33047,
9,
37,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
810,
356,
3505,
262,
33274,
2124,
1724,
262,
1459,
11629,
378,
290,
331,
318,
597,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6961,
13,
770,
1724,
326,
611,
356,
2239,
287,
262,
17321,
4571,
884,
326,
288,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
318,
5447,
416,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
449,
7,
87,
27493,
67,
796,
532,
37,
7,
87,
8,
5218,
532,
67,
6,
9,
41,
7,
87,
33047,
796,
376,
7,
87,
33047,
5218,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18872,
229,
62,
7568,
796,
532,
37,
7,
87,
33047,
9,
37,
7,
87,
8,
796,
532,
69,
7,
87,
27493,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18074,
228,
796,
6910,
10267,
425,
0,
7,
37,
11,
18872,
229,
69,
89,
11,
1976,
11,
2124,
11,
288,
11,
277,
87,
11,
16605,
7,
24861,
229,
21373,
11,
288,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
18074,
228,
796,
6910,
10267,
425,
7,
647,
270,
45573,
11,
1976,
11,
1976,
11,
2124,
11,
288,
11,
357,
33643,
17,
37,
61,
17,
20679,
17,
11,
532,
33643,
17,
37,
61,
17,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
35006,
1627,
2989,
1863,
288,
198,
220,
220,
220,
220,
220,
220,
220,
26367,
11,
277,
62,
17394,
11,
43979,
62,
13138,
796,
1064,
62,
4169,
489,
3286,
7,
76,
7635,
11,
3951,
3679,
11,
18074,
228,
11,
309,
7,
16,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1303,
27131,
378,
2457,
2239,
15879,
290,
4296,
262,
1181,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5012,
287,
262,
4571,
26367,
9,
67,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
796,
34449,
7,
45573,
11,
1976,
11,
2124,
11,
288,
11,
26367,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10133,
29598,
290,
474,
330,
672,
666,
198,
220,
220,
220,
220,
220,
220,
220,
376,
87,
11,
449,
87,
796,
376,
41,
7,
37,
87,
11,
449,
87,
11,
1976,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10133,
362,
12,
27237,
329,
1627,
2989,
3403,
25,
18074,
243,
7,
15,
8,
290,
18074,
243,
6,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18074,
223,
17,
37,
796,
2593,
7,
37,
87,
11,
362,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10133,
262,
4387,
25175,
1487,
287,
262,
11629,
378,
198,
220,
220,
220,
220,
220,
220,
220,
18074,
223,
82,
796,
3975,
445,
7234,
7,
87,
3784,
8937,
7,
87,
58,
16,
45297,
87,
58,
17,
46570,
3509,
11,
19974,
7,
87,
11,
89,
4008,
1303,
2593,
7,
87,
7874,
89,
11,
4806,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
18074,
223,
17,
37,
1279,
2245,
83,
349,
8614,
18074,
223,
82,
19841,
352,
68,
12,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
11629,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
35602,
12745,
12360,
7,
24396,
11,
357,
82,
2122,
28,
89,
11,
1266,
62,
411,
312,
723,
28,
37,
87,
11,
18074,
223,
37,
15,
28,
33643,
37,
15,
11,
18074,
223,
17,
37,
15,
28,
33643,
17,
37,
15,
11,
18074,
223,
82,
28,
33643,
82,
11,
11629,
28,
2676,
11,
640,
28,
2435,
3419,
12,
83,
15,
828,
3689,
8,
198,
437,
198
] | 2.122274 | 1,513 |
##### deal with nutrients uptake
function gpu_calc_consume_kernel!(ctsdic, ctsdoc, ctsnh4, ctsno3, ctspo4, plank, ac, x, y, z, ΔT)
index = (blockIdx().x - 1) * blockDim().x + threadIdx().x
stride = blockDim().x * gridDim().x
for i = index:stride:size(ac,1)
@inbounds CUDA.@atomic ctsdic[x[i], y[i], z[i]] += (plank.resp[i] - plank.PS[i]) * ΔT * ac[i]
@inbounds CUDA.@atomic ctsdoc[x[i], y[i], z[i]] += (plank.exu[i] - plank.VDOC[i]) * ΔT * ac[i]
@inbounds CUDA.@atomic ctsnh4[x[i], y[i], z[i]] += -plank.VNH4[i] * ΔT * ac[i]
@inbounds CUDA.@atomic ctsno3[x[i], y[i], z[i]] += -plank.VNO3[i] * ΔT * ac[i]
@inbounds CUDA.@atomic ctspo4[x[i], y[i], z[i]] += -plank.VPO4[i] * ΔT * ac[i]
end
return nothing
end
function calc_consume!(ctsdic, ctsdoc, ctsnh4, ctsno3, ctspo4, plank, ac, x, y, z, ΔT, ::GPU)
@cuda threads=256 blocks=ceil(Int, size(ac,1)/256) gpu_calc_consume_kernel!(ctsdic, ctsdoc, ctsnh4,
ctsno3, ctspo4, plank, ac, x, y, z, ΔT)
return nothing
end
function calc_consume!(ctsdic, ctsdoc, ctsnh4, ctsno3, ctspo4, plank, ac, x, y, z, ΔT, ::CPU)
for i in 1:size(ac,1)
@inbounds ctsdic[x[i], y[i], z[i]] += (plank.resp[i] - plank.PS[i]) * ΔT * ac[i]
@inbounds ctsdoc[x[i], y[i], z[i]] += (plank.exu[i] - plank.VDOC[i]) * ΔT * ac[i]
@inbounds ctsnh4[x[i], y[i], z[i]] += -plank.VNH4[i] * ΔT * ac[i]
@inbounds ctsno3[x[i], y[i], z[i]] += -plank.VNO3[i] * ΔT * ac[i]
@inbounds ctspo4[x[i], y[i], z[i]] += -plank.VPO4[i] * ΔT * ac[i]
end
return nothing
end
##### deal with grazed or dead individuals
function gpu_calc_loss_kernel!(ctsdoc, ctspoc, ctsdon, ctspon, ctsdop, ctspop, plank, ac, x, y, z,
loss, lossFracC, lossFracN, lossFracP, R_NC, R_PC)
index = (blockIdx().x - 1) * blockDim().x + threadIdx().x
stride = blockDim().x * gridDim().x
for i = index:stride:size(ac,1)
@inbounds CUDA.@atomic ctsdoc[x[i], y[i], z[i]] += (plank.Bm[i] + plank.Cq[i]) * lossFracC * ac[i] * loss[i]
@inbounds CUDA.@atomic ctsdon[x[i], y[i], z[i]] += (plank.Bm[i]*R_NC + plank.Nq[i]) * lossFracN * ac[i] * loss[i]
@inbounds CUDA.@atomic ctsdop[x[i], y[i], z[i]] += (plank.Bm[i]*R_PC + plank.Pq[i]) * lossFracP * ac[i] * loss[i]
@inbounds CUDA.@atomic ctspoc[x[i], y[i], z[i]] += (plank.Bm[i] + plank.Cq[i]) * (1.0-lossFracC) * ac[i] * loss[i]
@inbounds CUDA.@atomic ctspon[x[i], y[i], z[i]] += (plank.Bm[i]*R_NC + plank.Nq[i]) * (1.0-lossFracN) * ac[i] * loss[i]
@inbounds CUDA.@atomic ctspop[x[i], y[i], z[i]] += (plank.Bm[i]*R_PC + plank.Pq[i]) * (1.0-lossFracP) * ac[i] * loss[i]
end
return nothing
end
function calc_loss!(ctsdoc, ctspoc, ctsdon, ctspon, ctsdop, ctspop, plank, ac, x, y, z,
loss, lossFracC, lossFracN, lossFracP, R_NC, R_PC, ::GPU)
@cuda threads=256 blocks=ceil(Int, size(ac,1)/256) gpu_calc_loss_kernel!(ctsdoc, ctspoc, ctsdon, ctspon,
ctsdop, ctspop, plank, ac, x, y, z, loss,
lossFracC, lossFracN, lossFracP, R_NC, R_PC)
return nothing
end
function calc_loss!(ctsdoc, ctspoc, ctsdon, ctspon, ctsdop, ctspop, plank, ac, x, y, z,
loss, lossFracC, lossFracN, lossFracP, R_NC, R_PC, ::CPU)
for i in 1:size(ac,1)
@inbounds ctsdoc[x[i], y[i], z[i]] += (plank.Bm[i] + plank.Cq[i]) * lossFracC * ac[i] * loss[i]
@inbounds ctsdon[x[i], y[i], z[i]] += (plank.Bm[i]*R_NC + plank.Nq[i]) * lossFracN * ac[i] * loss[i]
@inbounds ctsdop[x[i], y[i], z[i]] += (plank.Bm[i]*R_PC + plank.Pq[i]) * lossFracP * ac[i] * loss[i]
@inbounds ctspoc[x[i], y[i], z[i]] += (plank.Bm[i] + plank.Cq[i]) * (1.0-lossFracC) * ac[i] * loss[i]
@inbounds ctspon[x[i], y[i], z[i]] += (plank.Bm[i]*R_NC + plank.Nq[i]) * (1.0-lossFracN) * ac[i] * loss[i]
@inbounds ctspop[x[i], y[i], z[i]] += (plank.Bm[i]*R_PC + plank.Pq[i]) * (1.0-lossFracP) * ac[i] * loss[i]
end
return nothing
end | [
4242,
2,
1730,
351,
20901,
35340,
198,
8818,
308,
19944,
62,
9948,
66,
62,
5936,
2454,
62,
33885,
0,
7,
310,
21282,
291,
11,
269,
912,
15390,
11,
269,
912,
77,
71,
19,
11,
269,
912,
3919,
18,
11,
269,
912,
7501,
19,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
37455,
51,
8,
198,
220,
220,
220,
6376,
796,
357,
9967,
7390,
87,
22446,
87,
532,
352,
8,
1635,
2512,
29271,
22446,
87,
1343,
4704,
7390,
87,
22446,
87,
198,
220,
220,
220,
33769,
796,
2512,
29271,
22446,
87,
1635,
10706,
29271,
22446,
87,
198,
220,
220,
220,
329,
1312,
796,
6376,
25,
2536,
485,
25,
7857,
7,
330,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
67,
291,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
4363,
58,
72,
60,
532,
39599,
13,
3705,
58,
72,
12962,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
15390,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
1069,
84,
58,
72,
60,
532,
39599,
13,
8898,
4503,
58,
72,
12962,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
77,
71,
19,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
53,
33863,
19,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
3919,
18,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
53,
15285,
18,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
7501,
19,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
8859,
46,
19,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
8818,
42302,
62,
5936,
2454,
0,
7,
310,
21282,
291,
11,
269,
912,
15390,
11,
269,
912,
77,
71,
19,
11,
269,
912,
3919,
18,
11,
269,
912,
7501,
19,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
37455,
51,
11,
7904,
33346,
8,
198,
220,
220,
220,
2488,
66,
15339,
14390,
28,
11645,
7021,
28,
344,
346,
7,
5317,
11,
2546,
7,
330,
11,
16,
20679,
11645,
8,
308,
19944,
62,
9948,
66,
62,
5936,
2454,
62,
33885,
0,
7,
310,
21282,
291,
11,
269,
912,
15390,
11,
269,
912,
77,
71,
19,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
912,
3919,
18,
11,
269,
912,
7501,
19,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
37455,
51,
8,
198,
220,
220,
220,
1441,
2147,
220,
198,
437,
198,
8818,
42302,
62,
5936,
2454,
0,
7,
310,
21282,
291,
11,
269,
912,
15390,
11,
269,
912,
77,
71,
19,
11,
269,
912,
3919,
18,
11,
269,
912,
7501,
19,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
37455,
51,
11,
7904,
36037,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
7857,
7,
330,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
67,
291,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
4363,
58,
72,
60,
532,
39599,
13,
3705,
58,
72,
12962,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
15390,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
1069,
84,
58,
72,
60,
532,
39599,
13,
8898,
4503,
58,
72,
12962,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
77,
71,
19,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
53,
33863,
19,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
3919,
18,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
53,
15285,
18,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
7501,
19,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
532,
489,
962,
13,
8859,
46,
19,
58,
72,
60,
1635,
37455,
51,
1635,
936,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
4242,
2,
1730,
351,
32703,
276,
393,
2636,
3925,
198,
8818,
308,
19944,
62,
9948,
66,
62,
22462,
62,
33885,
0,
7,
310,
82,
15390,
11,
269,
912,
79,
420,
11,
269,
912,
9099,
11,
269,
912,
79,
261,
11,
269,
912,
67,
404,
11,
269,
912,
12924,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
11,
2994,
6732,
330,
34,
11,
2994,
6732,
330,
45,
11,
2994,
6732,
330,
47,
11,
371,
62,
7792,
11,
371,
62,
5662,
8,
198,
220,
220,
220,
6376,
796,
357,
9967,
7390,
87,
22446,
87,
532,
352,
8,
1635,
2512,
29271,
22446,
87,
1343,
4704,
7390,
87,
22446,
87,
198,
220,
220,
220,
33769,
796,
2512,
29271,
22446,
87,
1635,
10706,
29271,
22446,
87,
198,
220,
220,
220,
329,
1312,
796,
6376,
25,
2536,
485,
25,
7857,
7,
330,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
15390,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
1343,
39599,
13,
34,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
34,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
9099,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
7792,
1343,
39599,
13,
45,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
45,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
67,
404,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
5662,
1343,
39599,
13,
47,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
47,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
79,
420,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
1343,
39599,
13,
34,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
34,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
79,
261,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
7792,
1343,
39599,
13,
45,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
45,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29369,
5631,
13,
31,
47116,
269,
912,
12924,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
5662,
1343,
39599,
13,
47,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
47,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
8818,
42302,
62,
22462,
0,
7,
310,
82,
15390,
11,
269,
912,
79,
420,
11,
269,
912,
9099,
11,
269,
912,
79,
261,
11,
269,
912,
67,
404,
11,
269,
912,
12924,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
11,
2994,
6732,
330,
34,
11,
2994,
6732,
330,
45,
11,
2994,
6732,
330,
47,
11,
371,
62,
7792,
11,
371,
62,
5662,
11,
7904,
33346,
8,
198,
220,
220,
220,
2488,
66,
15339,
14390,
28,
11645,
7021,
28,
344,
346,
7,
5317,
11,
2546,
7,
330,
11,
16,
20679,
11645,
8,
308,
19944,
62,
9948,
66,
62,
22462,
62,
33885,
0,
7,
310,
82,
15390,
11,
269,
912,
79,
420,
11,
269,
912,
9099,
11,
269,
912,
79,
261,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
912,
67,
404,
11,
269,
912,
12924,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
2994,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
6732,
330,
34,
11,
2994,
6732,
330,
45,
11,
2994,
6732,
330,
47,
11,
371,
62,
7792,
11,
371,
62,
5662,
8,
198,
220,
220,
220,
1441,
2147,
220,
198,
437,
198,
8818,
42302,
62,
22462,
0,
7,
310,
82,
15390,
11,
269,
912,
79,
420,
11,
269,
912,
9099,
11,
269,
912,
79,
261,
11,
269,
912,
67,
404,
11,
269,
912,
12924,
11,
39599,
11,
936,
11,
2124,
11,
331,
11,
1976,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
11,
2994,
6732,
330,
34,
11,
2994,
6732,
330,
45,
11,
2994,
6732,
330,
47,
11,
371,
62,
7792,
11,
371,
62,
5662,
11,
7904,
36037,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
7857,
7,
330,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
15390,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
1343,
39599,
13,
34,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
34,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
9099,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
7792,
1343,
39599,
13,
45,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
45,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
67,
404,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
5662,
1343,
39599,
13,
47,
80,
58,
72,
12962,
1635,
2994,
6732,
330,
47,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
79,
420,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
1343,
39599,
13,
34,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
34,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
79,
261,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
7792,
1343,
39599,
13,
45,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
45,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
269,
912,
12924,
58,
87,
58,
72,
4357,
331,
58,
72,
4357,
1976,
58,
72,
11907,
15853,
357,
489,
962,
13,
33,
76,
58,
72,
60,
9,
49,
62,
5662,
1343,
39599,
13,
47,
80,
58,
72,
12962,
1635,
357,
16,
13,
15,
12,
22462,
6732,
330,
47,
8,
1635,
936,
58,
72,
60,
1635,
2994,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437
] | 1.742367 | 2,391 |
function centering!(mechanism::Mechanism, αaff::T) where T
system = mechanism.system
n = 0
ν = 0.0
νaff = 0.0
for contact in mechanism.contacts
ν, νaff, n = centering!(ν, νaff, n, mechanism, contact, get_entry(system, contact.id), αaff)
end
for joint in mechanism.joints
ν, νaff, n = centering!(ν, νaff, n, mechanism, joint, get_entry(system, joint.id), αaff)
end
ν /= n
νaff /= n
return ν, νaff
end
function centering!(ν, νaff, n, mechanism, contact::ContactConstraint{T,N,Nc,Cs,N½}, vector_entry::Entry, αaff) where {T,N,Nc,Cs,N½}
s = contact.impulses_dual[2]
γ = contact.impulses[2]
Δs = vector_entry.value[1:N½]
Δγ = vector_entry.value[N½ .+ (1:N½)]
ν += dot(s, γ)
νaff += dot(s + αaff * Δs, γ + αaff * Δγ) # plus or minus
n += cone_degree(contact)
return ν, νaff, n
end
function centering!(ν, νaff, n, mechanism, joint::JointConstraint{T,N,Nc}, vector_entry::Entry, αaff) where {T,N,Nc}
for (i, element) in enumerate([joint.translational, joint.rotational])
s, γ = split_impulses(element, joint.impulses[2][joint_impulse_index(joint,i)])
Δs, Δγ = split_impulses(element, vector_entry.value[joint_impulse_index(joint,i)])
ν += dot(s, γ)
νaff += dot(s + αaff * Δs, γ + αaff * Δγ) # plus or minus
n += length(s)
end
return ν, νaff, n
end | [
8818,
1247,
1586,
0,
7,
1326,
3147,
1042,
3712,
28452,
48162,
11,
26367,
2001,
3712,
51,
8,
810,
309,
198,
220,
220,
220,
1080,
796,
9030,
13,
10057,
628,
220,
220,
220,
299,
796,
657,
198,
220,
220,
220,
7377,
121,
796,
657,
13,
15,
198,
220,
220,
220,
7377,
121,
2001,
796,
657,
13,
15,
198,
220,
220,
220,
329,
2800,
287,
9030,
13,
3642,
8656,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
121,
11,
7377,
121,
2001,
11,
299,
796,
1247,
1586,
0,
7,
26180,
11,
7377,
121,
2001,
11,
299,
11,
9030,
11,
2800,
11,
651,
62,
13000,
7,
10057,
11,
2800,
13,
312,
828,
26367,
2001,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
329,
6466,
287,
9030,
13,
73,
1563,
82,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
121,
11,
7377,
121,
2001,
11,
299,
796,
1247,
1586,
0,
7,
26180,
11,
7377,
121,
2001,
11,
299,
11,
9030,
11,
6466,
11,
651,
62,
13000,
7,
10057,
11,
6466,
13,
312,
828,
26367,
2001,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
7377,
121,
1220,
28,
299,
198,
220,
220,
220,
7377,
121,
2001,
1220,
28,
299,
198,
220,
220,
220,
1441,
7377,
121,
11,
7377,
121,
2001,
198,
437,
198,
198,
8818,
1247,
1586,
0,
7,
26180,
11,
7377,
121,
2001,
11,
299,
11,
9030,
11,
2800,
3712,
17829,
3103,
2536,
2913,
90,
51,
11,
45,
11,
45,
66,
11,
32274,
11,
45,
23141,
5512,
15879,
62,
13000,
3712,
30150,
11,
26367,
2001,
8,
810,
1391,
51,
11,
45,
11,
45,
66,
11,
32274,
11,
45,
23141,
92,
198,
220,
220,
220,
264,
796,
2800,
13,
11011,
5753,
274,
62,
646,
282,
58,
17,
60,
198,
220,
220,
220,
7377,
111,
796,
2800,
13,
11011,
5753,
274,
58,
17,
60,
198,
220,
220,
220,
37455,
82,
796,
15879,
62,
13000,
13,
8367,
58,
16,
25,
45,
23141,
60,
198,
220,
220,
220,
37455,
42063,
796,
15879,
62,
13000,
13,
8367,
58,
45,
23141,
764,
10,
357,
16,
25,
45,
23141,
15437,
198,
220,
220,
220,
7377,
121,
15853,
16605,
7,
82,
11,
7377,
111,
8,
198,
220,
220,
220,
7377,
121,
2001,
15853,
16605,
7,
82,
1343,
26367,
2001,
1635,
37455,
82,
11,
7377,
111,
1343,
26367,
2001,
1635,
37455,
42063,
8,
1303,
5556,
393,
20208,
198,
220,
220,
220,
299,
15853,
27763,
62,
16863,
7,
32057,
8,
198,
220,
220,
220,
1441,
7377,
121,
11,
7377,
121,
2001,
11,
299,
198,
437,
198,
198,
8818,
1247,
1586,
0,
7,
26180,
11,
7377,
121,
2001,
11,
299,
11,
9030,
11,
6466,
3712,
41,
1563,
3103,
2536,
2913,
90,
51,
11,
45,
11,
45,
66,
5512,
15879,
62,
13000,
3712,
30150,
11,
26367,
2001,
8,
810,
1391,
51,
11,
45,
11,
45,
66,
92,
198,
220,
220,
220,
329,
357,
72,
11,
5002,
8,
287,
27056,
378,
26933,
73,
1563,
13,
7645,
75,
864,
11,
6466,
13,
10599,
864,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
264,
11,
7377,
111,
796,
6626,
62,
11011,
5753,
274,
7,
30854,
11,
6466,
13,
11011,
5753,
274,
58,
17,
7131,
73,
1563,
62,
11011,
9615,
62,
9630,
7,
73,
1563,
11,
72,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
37455,
82,
11,
37455,
42063,
796,
6626,
62,
11011,
5753,
274,
7,
30854,
11,
15879,
62,
13000,
13,
8367,
58,
73,
1563,
62,
11011,
9615,
62,
9630,
7,
73,
1563,
11,
72,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
121,
15853,
16605,
7,
82,
11,
7377,
111,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
121,
2001,
15853,
16605,
7,
82,
1343,
26367,
2001,
1635,
37455,
82,
11,
7377,
111,
1343,
26367,
2001,
1635,
37455,
42063,
8,
1303,
5556,
393,
20208,
198,
220,
220,
220,
220,
220,
220,
220,
299,
15853,
4129,
7,
82,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
7377,
121,
11,
7377,
121,
2001,
11,
299,
198,
437
] | 2.087218 | 665 |
global const ev2K = 1.160451812e4
global const K2eV = 1.0/1.160451812e4
global const kB = 1.38066e-16
"""
part_weight_one(N::Integer)
Equivalent to no weighting. Returns an Array of ones.
"""
function part_weight_one(N::Integer)
return ones(N)
end
"""
part_weight_physical(N::Integer, par::mappingParameters)
Physical weighting function in units of [cm/pix].
"""
function part_weight_physical(N::Integer, par::mappingParameters, x_cgs::Real=3.085678e21)
return ones(N) .* par.pixelSideLength .* x_cgs
end
"""
part_weight_emission(rho::Array{<:Real}, T_K::Array{<:Real})
Emission weighted mapping. Takes density in internal untis and temperature in K and computes weights.
"""
function part_weight_emission(rho::Array{<:Real}, T_K::Array{<:Real})
return @. rho^2 * √(T_K)
end
"""
part_weight_spectroscopic(rho::Array{<:Real}, T_K::Array{<:Real})
Spectroscopic weighted mapping from Mazotta+ 04. Takes density and temperature and computes weights.
"""
function part_weight_spectroscopic(rho::Array{<:Real}, T_K::Array{<:Real})
return @. rho^2 * T_K^(0.75 - 1.5)
end
"""
part_weight_XrayBand(T_K::Array{<:Real}, Emin::Real, Emax::Real)
Computes Xray weighted emission of a defined energy band. Emin and Emax are energies in eV.
"""
function part_weight_XrayBand(T_K::Array{<:Real}, Emin::Real=5.0e4, Emax::Real=1.0e10)
# convert Kelvin to eV
T_eV = T_K .* cgs2eV
@. exp( -Emin / ( kB * T_eV )) - exp( -Emax / ( kB * T_eV ))
end | [
20541,
1500,
819,
17,
42,
796,
352,
13,
14198,
2231,
1507,
1065,
68,
19,
198,
20541,
1500,
509,
17,
68,
53,
796,
352,
13,
15,
14,
16,
13,
14198,
2231,
1507,
1065,
68,
19,
198,
20541,
1500,
479,
33,
796,
352,
13,
23734,
2791,
68,
12,
1433,
198,
198,
37811,
198,
220,
220,
220,
636,
62,
6551,
62,
505,
7,
45,
3712,
46541,
8,
198,
198,
23588,
29540,
284,
645,
3463,
278,
13,
16409,
281,
15690,
286,
3392,
13,
198,
37811,
198,
8818,
636,
62,
6551,
62,
505,
7,
45,
3712,
46541,
8,
198,
220,
220,
220,
1441,
3392,
7,
45,
8,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
636,
62,
6551,
62,
42854,
7,
45,
3712,
46541,
11,
1582,
3712,
76,
5912,
48944,
8,
198,
198,
31611,
3463,
278,
2163,
287,
4991,
286,
685,
11215,
14,
79,
844,
4083,
198,
37811,
198,
8818,
636,
62,
6551,
62,
42854,
7,
45,
3712,
46541,
11,
1582,
3712,
76,
5912,
48944,
11,
2124,
62,
66,
14542,
3712,
15633,
28,
18,
13,
2919,
20,
30924,
68,
2481,
8,
198,
220,
220,
220,
1441,
3392,
7,
45,
8,
764,
9,
1582,
13,
32515,
24819,
24539,
764,
9,
2124,
62,
66,
14542,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
636,
62,
6551,
62,
368,
1480,
7,
81,
8873,
3712,
19182,
90,
27,
25,
15633,
5512,
309,
62,
42,
3712,
19182,
90,
27,
25,
15633,
30072,
198,
198,
36,
3411,
26356,
16855,
13,
33687,
12109,
287,
5387,
1418,
271,
290,
5951,
287,
509,
290,
552,
1769,
19590,
13,
198,
37811,
198,
8818,
636,
62,
6551,
62,
368,
1480,
7,
81,
8873,
3712,
19182,
90,
27,
25,
15633,
5512,
309,
62,
42,
3712,
19182,
90,
27,
25,
15633,
30072,
198,
220,
220,
220,
1441,
2488,
13,
374,
8873,
61,
17,
1635,
18872,
248,
7,
51,
62,
42,
8,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
636,
62,
6551,
62,
4443,
45943,
16603,
7,
81,
8873,
3712,
19182,
90,
27,
25,
15633,
5512,
309,
62,
42,
3712,
19182,
90,
27,
25,
15633,
30072,
198,
198,
49738,
45943,
16603,
26356,
16855,
422,
21625,
12375,
10,
8702,
13,
33687,
12109,
290,
5951,
290,
552,
1769,
19590,
13,
198,
37811,
198,
8818,
636,
62,
6551,
62,
4443,
45943,
16603,
7,
81,
8873,
3712,
19182,
90,
27,
25,
15633,
5512,
309,
62,
42,
3712,
19182,
90,
27,
25,
15633,
30072,
198,
220,
220,
220,
1441,
2488,
13,
374,
8873,
61,
17,
1635,
309,
62,
42,
61,
7,
15,
13,
2425,
532,
352,
13,
20,
8,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
636,
62,
6551,
62,
55,
2433,
31407,
7,
51,
62,
42,
3712,
19182,
90,
27,
25,
15633,
5512,
37912,
3712,
15633,
11,
2295,
897,
3712,
15633,
8,
198,
198,
7293,
1769,
1395,
2433,
26356,
25592,
286,
257,
5447,
2568,
4097,
13,
37912,
290,
2295,
897,
389,
27598,
287,
304,
53,
13,
198,
37811,
198,
8818,
636,
62,
6551,
62,
55,
2433,
31407,
7,
51,
62,
42,
3712,
19182,
90,
27,
25,
15633,
5512,
37912,
3712,
15633,
28,
20,
13,
15,
68,
19,
11,
2295,
897,
3712,
15633,
28,
16,
13,
15,
68,
940,
8,
198,
220,
220,
220,
1303,
10385,
46577,
284,
304,
53,
198,
220,
220,
220,
309,
62,
68,
53,
796,
309,
62,
42,
764,
9,
269,
14542,
17,
68,
53,
628,
220,
220,
220,
2488,
13,
1033,
7,
532,
36,
1084,
1220,
357,
479,
33,
1635,
309,
62,
68,
53,
15306,
532,
1033,
7,
532,
36,
9806,
1220,
357,
479,
33,
1635,
309,
62,
68,
53,
15306,
198,
437
] | 2.515254 | 590 |
using DataFrames
using NCDatasets
using NetcdfIO
using Test
@testset verbose = true "NetcdfIO Test" begin
@testset "Create" begin
create_nc!("test.nc");
@test true;
create_nc!("test.nc", String["lon", "lat", "ind"], [36, 18, 0]);
@test true;
create_nc!("test.nc", String["lon", "lat", "ind"], [36, 18, Inf]);
@test true;
rm("test.nc"; force=true);
end;
@testset "Add dim" begin
create_nc!("test.nc");
add_nc_dim!("test.nc", "dim1", 0);
@test true;
add_nc_dim!("test.nc", "dim2", 10);
@test true;
@info "Expecting a warning here!";
add_nc_dim!("test.nc", "dim2", 10);
@test true;
add_nc_dim!("test.nc", "dim3", 10.0);
@test true;
add_nc_dim!("test.nc", "dim4", Inf);
@test true;
_dset = Dataset("test.nc", "a");
add_nc_dim!(_dset, "dim5", 0);
@test true;
add_nc_dim!(_dset, "dim6", 10);
@test true;
add_nc_dim!(_dset, "dim7", 10.0);
@test true;
add_nc_dim!(_dset, "dim8", Inf);
@test true;
close(_dset);
rm("test.nc"; force=true);
end;
@testset "Append" begin
create_nc!("test.nc", String["lon", "lat", "ind"], [36, 18, 5]);
_dset = Dataset("test.nc", "a");
append_nc!(_dset, "str", ["A" for i in 1:18], Dict("longname" => "test strings"), ["lat"]);
@test true;
append_nc!(_dset, "lat", collect(1:18), Dict("longname" => "latitude"), ["lat"]);
@test true;
append_nc!(_dset, "lon", collect(1:36), Dict("longname" => "longitude"), ["lon"]; compress=4);
@test true;
append_nc!(_dset, "ind", collect(1:5), Dict("longname" => "index"), ["ind"]);
@test true;
append_nc!(_dset, "d2d", rand(36,18), Dict("longname" => "a 2d dataset"), ["lon", "lat"]);
@test true;
append_nc!(_dset, "d3d", rand(36,18,5), Dict("longname" => "a 3d dataset"), ["lon", "lat", "ind"]);
@test true;
close(_dset);
create_nc!("test.nc", String["lon", "lat", "ind"], [36, 18, 5]);
append_nc!("test.nc", "str", ["A" for i in 1:18], Dict("longname" => "test strings"), ["lat"]);
@test true;
append_nc!("test.nc", "lat", collect(1:18), Dict("longname" => "latitude"), ["lat"]);
@test true;
append_nc!("test.nc", "lon", collect(1:36), Dict("longname" => "longitude"), ["lon"]; compress=4);
@test true;
append_nc!("test.nc", "ind", collect(1:5), Dict("longname" => "index"), ["ind"]);
@test true;
append_nc!("test.nc", "d2d", rand(36,18), Dict("longname" => "a 2d dataset"), ["lon", "lat"]);
@test true;
append_nc!("test.nc", "d3d", rand(36,18,5), Dict("longname" => "a 3d dataset"), ["lon", "lat", "ind"]);
@test true;
rm("test.nc"; force=true);
end;
@testset "Grow" begin
create_nc!("test.nc", String["lon", "lat", "ind"], [36, 18, 0]);
_dset = Dataset("test.nc", "a");
append_nc!(_dset, "lat", collect(1:18), Dict("longname" => "latitude"), ["lat"]);
append_nc!(_dset, "lon", collect(1:36), Dict("longname" => "longitude"), ["lon"]; compress=4);
append_nc!(_dset, "ind", collect(1:5), Dict("longname" => "index"), ["ind"]);
append_nc!(_dset, "d2d", rand(36,5), Dict("longname" => "a 2d dataset"), ["lon", "ind"]);
append_nc!(_dset, "d3d", rand(36,18,5), Dict("longname" => "a 3d dataset"), ["lon", "lat", "ind"]);
grow_nc!(_dset, "ind", 6, true);
@test true;
grow_nc!(_dset, "ind", 6, false);
@test true;
grow_nc!(_dset, "ind", [8,9], true);
@test true;
grow_nc!(_dset, "ind", [10,11], false);
@test true;
grow_nc!(_dset, "d2d", rand(36), true);
@test true;
grow_nc!(_dset, "d2d", rand(36), false);
@test true;
grow_nc!(_dset, "d2d", rand(36,2), true);
@test true;
grow_nc!(_dset, "d2d", rand(36,2), false);
@test true;
grow_nc!(_dset, "d3d", rand(36,18), true);
@test true;
grow_nc!(_dset, "d3d", rand(36,18), false);
@test true;
grow_nc!(_dset, "d3d", rand(36,18, 2), true);
@test true;
grow_nc!(_dset, "d3d", rand(36,18, 2), false);
@test true;
close(_dset);
grow_nc!("test.nc", "ind", 15, true);
@test true;
grow_nc!("test.nc", "d3d", rand(36,18), false);
@test true;
# do not delete the file so as to test other functions
# rm("test.nc"; force=true);
end;
@testset "Info" begin
@test dimname_nc("test.nc") == ["lon", "lat", "ind"];
@test varname_nc("test.nc") == ["lat", "lon", "ind", "d2d", "d3d"];
@test size_nc("test.nc", "d2d") == (2, (36,15));
@test size_nc("test.nc", "d3d") == (3, (36,18,15));
# do not delete the file so as to test other functions
# rm("test.nc"; force=true);
end;
@testset "Read" begin
read_nc(Float32, "test.nc", "d2d");
@test true;
read_nc(Float32, "test.nc", "d2d"; transform=false);
@test true;
read_nc(Float32, "test.nc", "d3d");
@test true;
read_nc(Float32, "test.nc", "d3d"; transform=false);
@test true;
read_nc(Float32, "test.nc", "lat", 1);
@test true;
read_nc(Float32, "test.nc", "lat", 1; transform=false);
@test true;
read_nc(Float32, "test.nc", "d3d", 1);
@test true;
read_nc(Float32, "test.nc", "d3d", 1; transform=false);
@test true;
read_nc(Float32, "test.nc", "d2d", 1, 1);
@test true;
read_nc(Float32, "test.nc", "d2d", 1, 1; transform=false);
@test true;
read_nc(Float32, "test.nc", "d3d", 1, 1);
@test true;
read_nc(Float32, "test.nc", "d3d", 1, 1; transform=false);
@test true;
read_nc(Float32, "test.nc", "d3d", 1, 1, 1);
@test true;
read_nc(Float32, "test.nc", "d3d", 1, 1, 1; transform=false);
@test true;
append_nc!("test.nc", "A", collect(1:15), Dict("longname" => "DataFrame A"), ["ind"]);
append_nc!("test.nc", "B", collect(1:15), Dict("longname" => "DataFrame B"), ["ind"]);
append_nc!("test.nc", "C", collect(1:15), Dict("longname" => "DataFrame C"), ["ind"]);
read_nc("test.nc", ["A", "B", "C"]);
@test true;
read_nc("test.nc", ["A", "B", "C"]; transform=false);
@test true;
rm("test.nc"; force=true);
end;
@testset "Save" begin
data1 = rand(12) .+ 273.15;
data2 = rand(36,18) .+ 273.15;
data3 = rand(36,18,12) .+ 273.15;
save_nc!("data1.nc", "data1", data1, Dict("description" => "Random temperature", "unit" => "K"));
@test true;
save_nc!("data2.nc", "data2", data2, Dict("description" => "Random temperature", "unit" => "K"));
@test true;
save_nc!("data3.nc", "data3", data3, Dict("description" => "Random temperature", "unit" => "K"));
@test true;
_df = DataFrame();
_df[!,"A"] = rand(5);
_df[!,"B"] = rand(5);
_df[!,"C"] = rand(5);
save_nc!("dataf.nc", _df, ["A","B"], [Dict("A" => "Attribute A"), Dict("B" => "Attribute B")]);
@test true;
save_nc!("datag.nc", _df);
@test true;
rm("data1.nc"; force=true);
rm("data2.nc"; force=true);
rm("data3.nc"; force=true);
rm("dataf.nc"; force=true);
rm("datag.nc"; force=true);
end;
end;
| [
3500,
6060,
35439,
198,
3500,
399,
8610,
265,
292,
1039,
198,
3500,
3433,
66,
7568,
9399,
198,
3500,
6208,
628,
198,
31,
9288,
2617,
15942,
577,
796,
2081,
366,
7934,
66,
7568,
9399,
6208,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2617,
366,
16447,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
15341,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
10903,
14692,
14995,
1600,
366,
15460,
1600,
366,
521,
33116,
685,
2623,
11,
1248,
11,
657,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
10903,
14692,
14995,
1600,
366,
15460,
1600,
366,
521,
33116,
685,
2623,
11,
1248,
11,
4806,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
4550,
5391,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
15341,
628,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
7203,
9288,
13,
10782,
1600,
366,
27740,
16,
1600,
657,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
7203,
9288,
13,
10782,
1600,
366,
27740,
17,
1600,
838,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
10951,
366,
3109,
35570,
257,
6509,
994,
2474,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
7203,
9288,
13,
10782,
1600,
366,
27740,
17,
1600,
838,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
7203,
9288,
13,
10782,
1600,
366,
27740,
18,
1600,
838,
13,
15,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
7203,
9288,
13,
10782,
1600,
366,
27740,
19,
1600,
4806,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
67,
2617,
796,
16092,
292,
316,
7203,
9288,
13,
10782,
1600,
366,
64,
15341,
628,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
28264,
67,
2617,
11,
366,
27740,
20,
1600,
657,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
28264,
67,
2617,
11,
366,
27740,
21,
1600,
838,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
28264,
67,
2617,
11,
366,
27740,
22,
1600,
838,
13,
15,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
10782,
62,
27740,
0,
28264,
67,
2617,
11,
366,
27740,
23,
1600,
4806,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
1969,
28264,
67,
2617,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
4677,
437,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
10903,
14692,
14995,
1600,
366,
15460,
1600,
366,
521,
33116,
685,
2623,
11,
1248,
11,
642,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
67,
2617,
796,
16092,
292,
316,
7203,
9288,
13,
10782,
1600,
366,
64,
15341,
628,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
2536,
1600,
14631,
32,
1,
329,
1312,
287,
352,
25,
1507,
4357,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
9288,
13042,
12340,
14631,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
15460,
1600,
2824,
7,
16,
25,
1507,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
15460,
3984,
12340,
14631,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
14995,
1600,
2824,
7,
16,
25,
2623,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6511,
3984,
12340,
14631,
14995,
8973,
26,
27413,
28,
19,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
2824,
7,
16,
25,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
9630,
12340,
14631,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
11,
1507,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
362,
67,
27039,
12340,
14631,
14995,
1600,
366,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
11,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
513,
67,
27039,
12340,
14631,
14995,
1600,
366,
15460,
1600,
366,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
1969,
28264,
67,
2617,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
10903,
14692,
14995,
1600,
366,
15460,
1600,
366,
521,
33116,
685,
2623,
11,
1248,
11,
642,
36563,
628,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
2536,
1600,
14631,
32,
1,
329,
1312,
287,
352,
25,
1507,
4357,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
9288,
13042,
12340,
14631,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
15460,
1600,
2824,
7,
16,
25,
1507,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
15460,
3984,
12340,
14631,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
14995,
1600,
2824,
7,
16,
25,
2623,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6511,
3984,
12340,
14631,
14995,
8973,
26,
27413,
28,
19,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
521,
1600,
2824,
7,
16,
25,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
9630,
12340,
14631,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
67,
17,
67,
1600,
43720,
7,
2623,
11,
1507,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
362,
67,
27039,
12340,
14631,
14995,
1600,
366,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
11,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
513,
67,
27039,
12340,
14631,
14995,
1600,
366,
15460,
1600,
366,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
38,
808,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
10903,
14692,
14995,
1600,
366,
15460,
1600,
366,
521,
33116,
685,
2623,
11,
1248,
11,
657,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
67,
2617,
796,
16092,
292,
316,
7203,
9288,
13,
10782,
1600,
366,
64,
15341,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
15460,
1600,
2824,
7,
16,
25,
1507,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
15460,
3984,
12340,
14631,
15460,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
14995,
1600,
2824,
7,
16,
25,
2623,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6511,
3984,
12340,
14631,
14995,
8973,
26,
27413,
28,
19,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
2824,
7,
16,
25,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
9630,
12340,
14631,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
11,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
362,
67,
27039,
12340,
14631,
14995,
1600,
366,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
11,
20,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
64,
513,
67,
27039,
12340,
14631,
14995,
1600,
366,
15460,
1600,
366,
521,
8973,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
718,
11,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
718,
11,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
685,
23,
11,
24,
4357,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
521,
1600,
685,
940,
11,
1157,
4357,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
828,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
828,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
11,
17,
828,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
17,
67,
1600,
43720,
7,
2623,
11,
17,
828,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
828,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
828,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
11,
362,
828,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
28264,
67,
2617,
11,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
11,
362,
828,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
1969,
28264,
67,
2617,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
521,
1600,
1315,
11,
2081,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1663,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
43720,
7,
2623,
11,
1507,
828,
3991,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
466,
407,
12233,
262,
2393,
523,
355,
284,
1332,
584,
5499,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
12360,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
5391,
3672,
62,
10782,
7203,
9288,
13,
10782,
4943,
6624,
14631,
14995,
1600,
366,
15460,
1600,
366,
521,
8973,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1401,
3672,
62,
10782,
7203,
9288,
13,
10782,
4943,
6624,
14631,
15460,
1600,
366,
14995,
1600,
366,
521,
1600,
366,
67,
17,
67,
1600,
366,
67,
18,
67,
8973,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2546,
62,
10782,
7203,
9288,
13,
10782,
1600,
366,
67,
17,
67,
4943,
6624,
357,
17,
11,
357,
2623,
11,
1314,
18125,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2546,
62,
10782,
7203,
9288,
13,
10782,
1600,
366,
67,
18,
67,
4943,
6624,
357,
18,
11,
357,
2623,
11,
1507,
11,
1314,
18125,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
466,
407,
12233,
262,
2393,
523,
355,
284,
1332,
584,
5499,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
5569,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
17,
67,
15341,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
17,
67,
8172,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
15341,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
8172,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
15460,
1600,
352,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
15460,
1600,
352,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
17,
67,
1600,
352,
11,
352,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
17,
67,
1600,
352,
11,
352,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
11,
352,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
11,
352,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
11,
352,
11,
352,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7,
43879,
2624,
11,
366,
9288,
13,
10782,
1600,
366,
67,
18,
67,
1600,
352,
11,
352,
11,
352,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
32,
1600,
2824,
7,
16,
25,
1314,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6601,
19778,
317,
12340,
14631,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
33,
1600,
2824,
7,
16,
25,
1314,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6601,
19778,
347,
12340,
14631,
521,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
10782,
0,
7203,
9288,
13,
10782,
1600,
366,
34,
1600,
2824,
7,
16,
25,
1314,
828,
360,
713,
7203,
6511,
3672,
1,
5218,
366,
6601,
19778,
327,
12340,
14631,
521,
8973,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7203,
9288,
13,
10782,
1600,
14631,
32,
1600,
366,
33,
1600,
366,
34,
8973,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
10782,
7203,
9288,
13,
10782,
1600,
14631,
32,
1600,
366,
33,
1600,
366,
34,
8973,
26,
6121,
28,
9562,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
9288,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
628,
220,
220,
220,
2488,
9288,
2617,
366,
16928,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
16,
796,
43720,
7,
1065,
8,
764,
10,
38549,
13,
1314,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
17,
796,
43720,
7,
2623,
11,
1507,
8,
764,
10,
38549,
13,
1314,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
18,
796,
43720,
7,
2623,
11,
1507,
11,
1065,
8,
764,
10,
38549,
13,
1314,
26,
628,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
10782,
0,
7203,
7890,
16,
13,
10782,
1600,
366,
7890,
16,
1600,
1366,
16,
11,
360,
713,
7203,
11213,
1,
5218,
366,
29531,
5951,
1600,
366,
20850,
1,
5218,
366,
42,
4943,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
10782,
0,
7203,
7890,
17,
13,
10782,
1600,
366,
7890,
17,
1600,
1366,
17,
11,
360,
713,
7203,
11213,
1,
5218,
366,
29531,
5951,
1600,
366,
20850,
1,
5218,
366,
42,
4943,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
10782,
0,
7203,
7890,
18,
13,
10782,
1600,
366,
7890,
18,
1600,
1366,
18,
11,
360,
713,
7203,
11213,
1,
5218,
366,
29531,
5951,
1600,
366,
20850,
1,
5218,
366,
42,
4943,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
7568,
796,
6060,
19778,
9783,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
7568,
58,
0,
553,
32,
8973,
796,
43720,
7,
20,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
7568,
58,
0,
553,
33,
8973,
796,
43720,
7,
20,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
7568,
58,
0,
553,
34,
8973,
796,
43720,
7,
20,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
10782,
0,
7203,
7890,
69,
13,
10782,
1600,
4808,
7568,
11,
14631,
32,
2430,
33,
33116,
685,
35,
713,
7203,
32,
1,
5218,
366,
33682,
317,
12340,
360,
713,
7203,
33,
1,
5218,
366,
33682,
347,
4943,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
10782,
0,
7203,
19608,
363,
13,
10782,
1600,
4808,
7568,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2081,
26,
628,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
7890,
16,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
7890,
17,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
7890,
18,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
7890,
69,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
42721,
7203,
19608,
363,
13,
10782,
8172,
2700,
28,
7942,
1776,
198,
220,
220,
220,
886,
26,
198,
437,
26,
198
] | 1.966006 | 3,883 |
@testset "DictChain" begin
@testset "Matching keys and value types for get()/set() methods" begin
dc1 = DictChain{Int,String}()
@test_throws KeyError dc1[:NotThere]
@test_throws MethodError (dc1[:NotThere] = 3)
@test_throws MethodError (dc1[:NotThere] = "abc")
@test_throws MethodError (dc1[3] = 3)
dc1[3] = "abc"
@test dc1[3] == "abc"
end
@testset "merging and chaining" begin
dc1 = DictChain{Symbol,String}()
# incompatible dictionary types
@testset "incompatible dictionary types" begin
dc2 = DictChain{Int,String}()
@test_throws MethodError chain(dc1, dc2)
@test_throws MethodError merge(dc1, dc2)
@test_throws MethodError merge!(dc1, dc2)
dc3 = DictChain{Symbol,Int}()
@test_throws MethodError chain(dc1, dc3)
@test_throws MethodError merge(dc1, dc3)
@test_throws MethodError merge!(dc1, dc3)
end
d1 = Dict{Symbol,Int}(:a => 1)
d2 = Dict{Symbol,Int}(:a => 2, :b => 4)
d3 = Dict{Symbol,Int}(:b => 3, :c => 5)
@testset "using constructor" begin
dc = DictChain(d1, d2, d3)
@test typeof(dc) == DictChain{Symbol,Int}
@test (dc[:a], dc[:b], dc[:c]) == (1, 4, 5)
dc = DictChain(d2, d1, d3)
@test (dc[:a], dc[:b], dc[:c]) == (2, 4, 5)
dc = DictChain(DictChain(d3, d1), d2)
@test (dc[:a], dc[:b], dc[:c]) == (1, 3, 5)
end
@testset "using merge()" begin
dc = merge(DictChain(d2, d1), d3)
@test (dc[:a], dc[:b], dc[:c]) == (2, 3, 5)
dc = merge(d2, DictChain(d3, d1))
@test (dc[:a], dc[:b], dc[:c]) == (1, 3, 5)
dc = merge(DictChain(d1, d3), d2)
@test (dc[:a], dc[:b], dc[:c]) == (2, 4, 5)
end
@testset "using merge!()" begin
dc = DictChain{Int,String}()
@test_throws MethodError merge!(dc, d1) # incompatible
dc = DictChain{Symbol,Int}()
merge!(dc, d1)
@test dc[:a] == 1
@test_throws KeyError dc[:b]
merge!(dc, d2)
@test (dc[:a], dc[:b]) == (2, 4)
merge!(dc, d3)
@test (dc[:a], dc[:b], dc[:c]) == (2, 3, 5)
end
@testset "using chain()" begin
dc = chain(chain(d1, d2), d3)
@test typeof(dc) == DictChain{Symbol,Int}
@test (dc[:a], dc[:b], dc[:c]) == (2, 3, 5)
dc = chain(d2, chain(d1, d3))
@test (dc[:a], dc[:b], dc[:c]) == (1, 3, 5)
dc = chain(chain(d3, d1), d2)
@test (dc[:a], dc[:b], dc[:c]) == (2, 4, 5)
dc = chain(d1, d2, d3)
@test (dc[:a], dc[:b], dc[:c]) == (2, 3, 5)
dc = chain(d3, d1, d2)
@test (dc[:a], dc[:b], dc[:c]) == (2, 4, 5)
end
@testset "Check chaining from real use case" begin
# This sequence is used in compare_optimizers.jl:repeated_bboptimize
parameters = BlackBoxOptim.EMPTY_PARAMS
ftol = 1e-5
params = chain(parameters, ParamsDict(:FitnessTolerance => ftol))
@test params[:FitnessTolerance] == ftol
end
end
@testset "converting to Dict" begin
d1 = Dict{Symbol,Int}(:a => 1)
d2 = Dict{Symbol,Int}(:a => 2, :b => 4)
d3 = Dict{Symbol,Int}(:a => 3, :b => 5)
dc = DictChain(d1, d2, d3)
d123 = convert(Dict{Symbol,Int}, dc)
@test typeof(d123) == Dict{Symbol,Int}
@test length(d123) == 2
@test d123[:a] == 1
@test d123[:b] == 4
end
@testset "show()" begin
d1 = Dict{Symbol,Int}(:a => 1)
d2 = Dict{Symbol,Int}(:a => 2, :b => 4)
d3 = Dict{Symbol,Int}(:a => 3, :b => 5)
dc = DictChain(d1, d2, d3)
iob = IOBuffer()
show(iob, dc)
@test replace(String(take!(iob)), ' '=>"") == "BlackBoxOptim.DictChain{Symbol,$Int}[Dict(:a=>1),Dict(:a=>2,:b=>4),Dict(:a=>3,:b=>5)]"
end
@testset "flatten" begin
d1 = Dict{Symbol,Int}(:a => 1)
d2 = Dict{Symbol,Int}(:a => 2, :b => 4)
d3 = Dict{Symbol,Int}(:a => 3, :b => 5)
dc = DictChain(d1, d2, d3)
fd = flatten(dc)
@test fd[:a] == 1
@test fd[:b] == 4
@test sort(collect(keys(fd))) == [:a, :b]
end
end
@testset "Parameters" begin
@testset "When no parameters or key type doesn't match" begin
ps = ParamsDictChain()
@test isa(ps, Parameters)
@test_throws KeyError ps[:NotThere]
@test_throws KeyError ps["Neither there"]
ps[:a] = 1
@test ps[:a] == 1
end
@testset "With one parameter in one set" begin
ps = ParamsDictChain(ParamsDict(:a => 1))
@test isa(ps, Parameters)
@test ps[:a] == 1
@test_throws KeyError ps["a"] # incorrect key
@test_throws KeyError ps[:A]
@test_throws KeyError ps[:B]
end
@testset "With parameters in multiple sets" begin
ps = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3),
ParamsDict(:c => 5))
@test isa(ps, Parameters)
@test ps[:a] == 1
@test ps[:c] == 4
@test ps[:b] == 3
@test_throws KeyError ps[:A]
@test_throws KeyError ps[:B]
end
@testset "Updating parameters after construction" begin
ps = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3),
ParamsDict(:c => 5))
ps[:c] = 6
ps[:b] = 7
@test ps[:a] == 1
@test ps[:c] == 6
@test ps[:b] == 7
end
@testset "Constructing from another parameters object" begin
ps1 = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3))
ps2 = ParamsDictChain(ParamsDict(:a => 5), ps1,
ParamsDict(:c => 6))
@test ps1[:a] == 1
@test ps2[:a] == 5
@test ps2[:c] == 4
end
@testset "Get key without default" begin
ps = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3))
@test get(ps, :a) == 1
@test get(ps, :b) == 3
@test get(ps, :d) == nothing
end
@testset "Get key with default" begin
ps = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3))
@test get(ps, :d, 10) == 10
end
@testset "Merge with Parameters or Dict" begin
ps = ParamsDictChain(ParamsDict(:a => 1, :c => 4),
ParamsDict(:a => 2, :b => 3))
ps2 = chain(ps, ParamsDict(:d => 5, :a => 20))
@test ps2[:d] == 5
@test ps2[:b] == 3
@test ps2[:a] == 20
end
end
| [
31,
9288,
2617,
366,
35,
713,
35491,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2617,
366,
44,
19775,
8251,
290,
1988,
3858,
329,
651,
3419,
14,
2617,
3419,
5050,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
30736,
16,
796,
360,
713,
35491,
90,
5317,
11,
10100,
92,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
30736,
16,
58,
25,
3673,
1858,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
357,
17896,
16,
58,
25,
3673,
1858,
60,
796,
513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
357,
17896,
16,
58,
25,
3673,
1858,
60,
796,
366,
39305,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
357,
17896,
16,
58,
18,
60,
796,
513,
8,
628,
220,
220,
220,
220,
220,
220,
220,
30736,
16,
58,
18,
60,
796,
366,
39305,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
30736,
16,
58,
18,
60,
6624,
366,
39305,
1,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
647,
2667,
290,
442,
1397,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
30736,
16,
796,
360,
713,
35491,
90,
13940,
23650,
11,
10100,
92,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
27294,
22155,
3858,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
259,
38532,
22155,
3858,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
17,
796,
360,
713,
35491,
90,
5317,
11,
10100,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
6333,
7,
17896,
16,
11,
30736,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
20121,
7,
17896,
16,
11,
30736,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
20121,
0,
7,
17896,
16,
11,
30736,
17,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
18,
796,
360,
713,
35491,
90,
13940,
23650,
11,
5317,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
6333,
7,
17896,
16,
11,
30736,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
20121,
7,
17896,
16,
11,
30736,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
20121,
0,
7,
17896,
16,
11,
30736,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
288,
16,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
17,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
18,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
65,
5218,
513,
11,
1058,
66,
5218,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
3500,
23772,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
67,
16,
11,
288,
17,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
17896,
8,
6624,
360,
713,
35491,
90,
13940,
23650,
11,
5317,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
16,
11,
604,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
67,
17,
11,
288,
16,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
604,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
35,
713,
35491,
7,
67,
18,
11,
288,
16,
828,
288,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
16,
11,
513,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
3500,
20121,
3419,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
20121,
7,
35,
713,
35491,
7,
67,
17,
11,
288,
16,
828,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
513,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
20121,
7,
67,
17,
11,
360,
713,
35491,
7,
67,
18,
11,
288,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
16,
11,
513,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
20121,
7,
35,
713,
35491,
7,
67,
16,
11,
288,
18,
828,
288,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
604,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
3500,
20121,
0,
3419,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
90,
5317,
11,
10100,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
11789,
12331,
20121,
0,
7,
17896,
11,
288,
16,
8,
1303,
27294,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
90,
13940,
23650,
11,
5317,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
17896,
11,
288,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
30736,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
30736,
58,
25,
65,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
17896,
11,
288,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
12962,
6624,
357,
17,
11,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
17896,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
513,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
3500,
6333,
3419,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
6333,
7,
7983,
7,
67,
16,
11,
288,
17,
828,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
17896,
8,
6624,
360,
713,
35491,
90,
13940,
23650,
11,
5317,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
513,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
6333,
7,
67,
17,
11,
6333,
7,
67,
16,
11,
288,
18,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
16,
11,
513,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
6333,
7,
7983,
7,
67,
18,
11,
288,
16,
828,
288,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
604,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
6333,
7,
67,
16,
11,
288,
17,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
513,
11,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
6333,
7,
67,
18,
11,
288,
16,
11,
288,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
357,
17896,
58,
25,
64,
4357,
30736,
58,
25,
65,
4357,
30736,
58,
25,
66,
12962,
6624,
357,
17,
11,
604,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
9787,
442,
1397,
422,
1103,
779,
1339,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
8379,
318,
973,
287,
8996,
62,
40085,
11341,
13,
20362,
25,
45956,
515,
62,
11848,
40085,
1096,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10007,
796,
2619,
14253,
27871,
320,
13,
39494,
9936,
62,
27082,
40834,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10117,
349,
796,
352,
68,
12,
20,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
6333,
7,
17143,
7307,
11,
2547,
4105,
35,
713,
7,
25,
37,
3659,
51,
37668,
5218,
10117,
349,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
42287,
58,
25,
37,
3659,
51,
37668,
60,
6624,
10117,
349,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
1102,
48820,
284,
360,
713,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
288,
16,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
17,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
18,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
513,
11,
1058,
65,
5218,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
67,
16,
11,
288,
17,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
10163,
796,
10385,
7,
35,
713,
90,
13940,
23650,
11,
5317,
5512,
30736,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
67,
10163,
8,
6624,
360,
713,
90,
13940,
23650,
11,
5317,
92,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
4129,
7,
67,
10163,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
288,
10163,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
288,
10163,
58,
25,
65,
60,
6624,
604,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
12860,
3419,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
288,
16,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
17,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
18,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
513,
11,
1058,
65,
5218,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
67,
16,
11,
288,
17,
11,
288,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
672,
796,
314,
9864,
13712,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
905,
7,
72,
672,
11,
30736,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
6330,
7,
10100,
7,
20657,
0,
7,
72,
672,
36911,
705,
705,
14804,
1,
4943,
6624,
366,
9915,
14253,
27871,
320,
13,
35,
713,
35491,
90,
13940,
23650,
11,
3,
5317,
92,
58,
35,
713,
7,
25,
64,
14804,
16,
828,
35,
713,
7,
25,
64,
14804,
17,
11,
25,
65,
14804,
19,
828,
35,
713,
7,
25,
64,
14804,
18,
11,
25,
65,
14804,
20,
15437,
1,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
2704,
41769,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
288,
16,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
17,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
18,
796,
360,
713,
90,
13940,
23650,
11,
5317,
92,
7,
25,
64,
5218,
513,
11,
1058,
65,
5218,
642,
8,
628,
220,
220,
220,
220,
220,
220,
220,
30736,
796,
360,
713,
35491,
7,
67,
16,
11,
288,
17,
11,
288,
18,
8,
628,
220,
220,
220,
220,
220,
220,
220,
277,
67,
796,
27172,
268,
7,
17896,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
67,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
67,
58,
25,
65,
60,
6624,
604,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
3297,
7,
33327,
7,
13083,
7,
16344,
22305,
6624,
685,
25,
64,
11,
1058,
65,
60,
198,
220,
220,
220,
886,
198,
437,
198,
198,
31,
9288,
2617,
366,
48944,
1,
2221,
628,
220,
220,
220,
2488,
9288,
2617,
366,
2215,
645,
10007,
393,
1994,
2099,
1595,
470,
2872,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
318,
64,
7,
862,
11,
40117,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
58,
25,
3673,
1858,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
14692,
27270,
612,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
58,
25,
64,
60,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3152,
530,
11507,
287,
530,
900,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
318,
64,
7,
862,
11,
40117,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
14692,
64,
8973,
1303,
11491,
1994,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
58,
25,
32,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
58,
25,
33,
60,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3152,
10007,
287,
3294,
5621,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
66,
5218,
642,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
318,
64,
7,
862,
11,
40117,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
66,
60,
6624,
604,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
65,
60,
6624,
513,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
58,
25,
32,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
7383,
12331,
26692,
58,
25,
33,
60,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
4933,
38734,
10007,
706,
5103,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
66,
5218,
642,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
58,
25,
66,
60,
796,
718,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
58,
25,
65,
60,
796,
767,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
66,
60,
6624,
718,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
58,
25,
65,
60,
6624,
767,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
42316,
278,
422,
1194,
10007,
2134,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
16,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
17,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
642,
828,
26692,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
66,
5218,
718,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
16,
58,
25,
64,
60,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
17,
58,
25,
64,
60,
6624,
642,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
17,
58,
25,
66,
60,
6624,
604,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3855,
1994,
1231,
4277,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
651,
7,
862,
11,
1058,
64,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
651,
7,
862,
11,
1058,
65,
8,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
651,
7,
862,
11,
1058,
67,
8,
6624,
2147,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3855,
1994,
351,
4277,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
651,
7,
862,
11,
1058,
67,
11,
838,
8,
6624,
838,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
13102,
469,
351,
40117,
393,
360,
713,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
2547,
4105,
35,
713,
35491,
7,
10044,
4105,
35,
713,
7,
25,
64,
5218,
352,
11,
1058,
66,
5218,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2547,
4105,
35,
713,
7,
25,
64,
5218,
362,
11,
1058,
65,
5218,
513,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
17,
796,
6333,
7,
862,
11,
2547,
4105,
35,
713,
7,
25,
67,
5218,
642,
11,
1058,
64,
5218,
1160,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
17,
58,
25,
67,
60,
6624,
642,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
17,
58,
25,
65,
60,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
26692,
17,
58,
25,
64,
60,
6624,
1160,
198,
220,
220,
220,
886,
198,
437,
198
] | 1.779102 | 3,943 |
nz=43; nx=35
ny=randn(nz, nx);
my1=GeoPhyInv.get_rhovxI(ny)
my2=GeoPhyInv.get_rhovzI(ny)
myp1 = randn(size(my1));
myp2 = randn(size(my2));
# spray
nyp=zeros(nz, nx);
GeoPhyInv.grad_modrr_sprayrr!(nyp, myp1, myp2)
GeoPhyInv.grad_modrr_sprayrrvx!(nyp, myp1)
GeoPhyInv.grad_modrr_sprayrrvz!(nyp, myp2)
# dot product test
@test LinearAlgebra.dot(vcat(my1,my2), vcat(myp1,myp2)) ≈ LinearAlgebra.dot(ny, nyp)
| [
198,
198,
27305,
28,
3559,
26,
299,
87,
28,
2327,
198,
3281,
28,
25192,
77,
7,
27305,
11,
299,
87,
1776,
198,
198,
1820,
16,
28,
10082,
78,
2725,
88,
19904,
13,
1136,
62,
17179,
709,
87,
40,
7,
3281,
8,
198,
1820,
17,
28,
10082,
78,
2725,
88,
19904,
13,
1136,
62,
17179,
709,
89,
40,
7,
3281,
8,
628,
198,
1820,
79,
16,
796,
43720,
77,
7,
7857,
7,
1820,
16,
18125,
198,
1820,
79,
17,
796,
43720,
77,
7,
7857,
7,
1820,
17,
18125,
198,
198,
2,
11662,
198,
3281,
79,
28,
9107,
418,
7,
27305,
11,
299,
87,
1776,
628,
198,
10082,
78,
2725,
88,
19904,
13,
9744,
62,
4666,
21062,
62,
34975,
323,
21062,
0,
7,
3281,
79,
11,
616,
79,
16,
11,
616,
79,
17,
8,
198,
10082,
78,
2725,
88,
19904,
13,
9744,
62,
4666,
21062,
62,
34975,
323,
21062,
85,
87,
0,
7,
3281,
79,
11,
616,
79,
16,
8,
198,
10082,
78,
2725,
88,
19904,
13,
9744,
62,
4666,
21062,
62,
34975,
323,
21062,
85,
89,
0,
7,
3281,
79,
11,
616,
79,
17,
8,
198,
198,
2,
16605,
1720,
1332,
198,
31,
9288,
44800,
2348,
29230,
13,
26518,
7,
85,
9246,
7,
1820,
16,
11,
1820,
17,
828,
410,
9246,
7,
1820,
79,
16,
11,
1820,
79,
17,
4008,
15139,
230,
44800,
2348,
29230,
13,
26518,
7,
3281,
11,
299,
4464,
8,
628,
198
] | 1.769231 | 234 |
using Test
using DFTK
using IntervalArithmetic
include("testcases.jl")
function discretized_hamiltonian(T, testcase)
Ecut = 10 # Hartree
spec = ElementPsp(testcase.atnum, psp=load_psp(testcase.psp))
atoms = [spec => testcase.positions]
# disable symmetry for interval
model = model_DFT(Array{T}(testcase.lattice), atoms, [:lda_x, :lda_c_vwn], symmetry=:off)
# For interval arithmetic to give useful numbers,
# the fft_size should be a power of 2
fft_size = nextpow.(2, determine_grid_size(model.lattice, Ecut))
basis = PlaneWaveBasis(model, Ecut, kgrid=(1, 1, 1), fft_size=fft_size)
ham = Hamiltonian(basis; ρ=guess_density(basis))
end
@testset "Application of an LDA Hamiltonian with Intervals" begin
T = Float64
ham = discretized_hamiltonian(T, silicon)
hamInt = discretized_hamiltonian(Interval{T}, silicon)
hamk = ham.blocks[1]
hamIntk = hamInt.blocks[1]
x = randn(Complex{T}, length(G_vectors(ham.basis.kpoints[1])))
ref = hamk * x
res = hamIntk * Interval.(x)
# Difference between interval arithmetic and normal application less than 1e-10
@test maximum(mid, abs.(res .- ref)) < 1e-10
# Maximal error done by interval arithmetic less than
@test maximum(radius, abs.(res)) < 1e-10
end
| [
3500,
6208,
198,
3500,
360,
9792,
42,
198,
3500,
4225,
2100,
3163,
29848,
198,
198,
17256,
7203,
9288,
33964,
13,
20362,
4943,
198,
198,
8818,
1221,
1186,
1143,
62,
2763,
9044,
666,
7,
51,
11,
1332,
7442,
8,
198,
220,
220,
220,
412,
8968,
796,
838,
220,
1303,
11345,
631,
628,
220,
220,
220,
1020,
796,
11703,
47,
2777,
7,
9288,
7442,
13,
265,
22510,
11,
279,
2777,
28,
2220,
62,
862,
79,
7,
9288,
7442,
13,
862,
79,
4008,
198,
220,
220,
220,
23235,
796,
685,
16684,
5218,
1332,
7442,
13,
1930,
1756,
60,
198,
220,
220,
220,
1303,
15560,
40686,
329,
16654,
198,
220,
220,
220,
2746,
796,
2746,
62,
8068,
51,
7,
19182,
90,
51,
92,
7,
9288,
7442,
13,
75,
1078,
501,
828,
23235,
11,
685,
25,
18986,
62,
87,
11,
1058,
18986,
62,
66,
62,
85,
675,
4357,
40686,
28,
25,
2364,
8,
628,
220,
220,
220,
1303,
1114,
16654,
34768,
284,
1577,
4465,
3146,
11,
198,
220,
220,
220,
1303,
262,
277,
701,
62,
7857,
815,
307,
257,
1176,
286,
362,
198,
220,
220,
220,
277,
701,
62,
7857,
796,
1306,
79,
322,
12195,
17,
11,
5004,
62,
25928,
62,
7857,
7,
19849,
13,
75,
1078,
501,
11,
412,
8968,
4008,
198,
220,
220,
220,
4308,
796,
36829,
39709,
15522,
271,
7,
19849,
11,
412,
8968,
11,
479,
25928,
16193,
16,
11,
352,
11,
352,
828,
277,
701,
62,
7857,
28,
487,
83,
62,
7857,
8,
628,
220,
220,
220,
8891,
796,
11582,
666,
7,
12093,
271,
26,
18074,
223,
28,
5162,
408,
62,
43337,
7,
12093,
271,
4008,
198,
437,
628,
198,
31,
9288,
2617,
366,
23416,
286,
281,
406,
5631,
11582,
666,
351,
4225,
12786,
1,
2221,
198,
220,
220,
220,
309,
796,
48436,
2414,
198,
220,
220,
220,
8891,
796,
1221,
1186,
1143,
62,
2763,
9044,
666,
7,
51,
11,
29867,
8,
198,
220,
220,
220,
8891,
5317,
796,
1221,
1186,
1143,
62,
2763,
9044,
666,
7,
9492,
2100,
90,
51,
5512,
29867,
8,
628,
220,
220,
220,
8891,
74,
796,
8891,
13,
27372,
58,
16,
60,
198,
220,
220,
220,
8891,
5317,
74,
796,
8891,
5317,
13,
27372,
58,
16,
60,
628,
220,
220,
220,
2124,
796,
43720,
77,
7,
5377,
11141,
90,
51,
5512,
4129,
7,
38,
62,
303,
5217,
7,
2763,
13,
12093,
271,
13,
74,
13033,
58,
16,
60,
22305,
198,
220,
220,
220,
1006,
796,
8891,
74,
1635,
2124,
198,
220,
220,
220,
581,
796,
8891,
5317,
74,
1635,
4225,
2100,
12195,
87,
8,
628,
220,
220,
220,
1303,
43795,
1022,
16654,
34768,
290,
3487,
3586,
1342,
621,
352,
68,
12,
940,
198,
220,
220,
220,
2488,
9288,
5415,
7,
13602,
11,
2352,
12195,
411,
764,
12,
1006,
4008,
1279,
352,
68,
12,
940,
628,
220,
220,
220,
1303,
5436,
4402,
4049,
1760,
416,
16654,
34768,
1342,
621,
198,
220,
220,
220,
2488,
9288,
5415,
7,
42172,
11,
2352,
12195,
411,
4008,
1279,
352,
68,
12,
940,
198,
437,
198
] | 2.611336 | 494 |
#! /usr/bin/env julia
println("Start test 'tests/loadmodel.jl'")
include("../src/DCellC.jl")
using DCellC
model = UNetLike(GreyscaleImage, bn = true)
println("Test loadmodel.jl: Created model successfully")
mname = tempname()
modelsave(mname, model)
println("Test loadmodel.jl: Saved model successfully")
model2 = modelload(mname)
@assert weights(model) == weights(model2)
#@assert state(model) == state(model2)
println("Test loadmodel.jl: Loaded model sucessfully")
println("Test loadmodel.jl completed")
| [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
474,
43640,
198,
198,
35235,
7203,
10434,
1332,
705,
41989,
14,
2220,
19849,
13,
20362,
6,
4943,
198,
198,
17256,
7203,
40720,
10677,
14,
9697,
695,
34,
13,
20362,
4943,
198,
3500,
6257,
695,
34,
198,
198,
19849,
796,
4725,
316,
7594,
7,
43887,
28349,
1000,
5159,
11,
275,
77,
796,
2081,
8,
198,
198,
35235,
7203,
14402,
3440,
19849,
13,
20362,
25,
15622,
2746,
7675,
4943,
198,
198,
76,
3672,
796,
20218,
3672,
3419,
198,
27530,
1015,
7,
76,
3672,
11,
2746,
8,
198,
198,
35235,
7203,
14402,
3440,
19849,
13,
20362,
25,
8858,
276,
2746,
7675,
4943,
198,
198,
19849,
17,
796,
953,
695,
1170,
7,
76,
3672,
8,
198,
198,
31,
30493,
19590,
7,
19849,
8,
6624,
19590,
7,
19849,
17,
8,
198,
2,
31,
30493,
1181,
7,
19849,
8,
6624,
1181,
7,
19849,
17,
8,
198,
198,
35235,
7203,
14402,
3440,
19849,
13,
20362,
25,
42485,
2746,
424,
919,
2759,
4943,
198,
35235,
7203,
14402,
3440,
19849,
13,
20362,
5668,
4943,
198
] | 2.95977 | 174 |
type Arc
initNode::Int
termNode::Int
capacity::Float64
freeflowtime::Float64
flow::Float64
end
Arc(initNode::Int, termNode::Int, capacity::Float64, freeflowtime::Float64) =
Arc(initNode, termNode, capacity, freeflowtime, 0.)
## Solve an inverse tarffic problem over polynomials of degree at most d
## Optionally use a regularizer from the poly kernel
using JuMP
using Gurobi
using Graphs
using Roots
polyEval(coeffs, pt) = sum([coeffs[i] * pt^(i-1) for i = 1:length(coeffs)])
polyEval(coeffs::Array{Float64, 1}, pt) = sum([coeffs[i] * pt^(i-1) for i = 1:length(coeffs)])
bpacost(flow::Float64, capacity::Float64, freeflowtime::Float64) = freeflowtime*(1 + .15 * (flow/capacity)^4)
bpacost(flow::Float64, arc) = bpacost(flow, arc.capacity, arc.freeflowtime)
bpacost(arc::Arc) = bpacost(arc.flow, arc)
function setUpFitting(deg::Int, c::Float64)
m = Model(solver=GurobiSolver(OutputFlag=false))
@defVar(m, coeffs[1:deg+1])
@defVar(m, Calphas[1:deg+1])
#build the graham matrix; cf. Ref. [21] (Regularization Networks and Support Vector Machines), page 47
samples = linspace(0, 1, deg + 1)
k(x,y) = (c + x*y)^deg
K = [ k(x,y) for x = samples, y=samples]
K = convert(Array{Float64, 2}, K)
#assert(rank(K) == deg+1)
C = chol(K + 1e-6* eye(deg+1))
for i=1:deg + 1
@addConstraint(m, polyEval(coeffs, samples[i]) == sum{C[j, i] * Calphas[j], j=1:deg+1})
end
@defVar(m, reg_term >= 0)
reg_term_ = QuadExpr(Calphas[:], Calphas[:], ones(deg+1), AffExpr())
@addConstraint(m, reg_term >= reg_term_)
return m, coeffs, reg_term
end
function fixCoeffs(m, fcoeffs, coeffs)
for (fc, c) in zip(fcoeffs, coeffs[:])
@addConstraint(m, fc == c)
end
end
function addResid(m, coeffs, ys, demands, arcs, scaling)
@defVar(m, resid)
@defVar(m, dual_cost)
@defVar(m, primal_cost)
@addConstraint(m, dual_cost == sum{demands[(s,t)] * (ys[(s,t), t] - ys[(s,t), s]), (s,t)=keys(demands)})
@addConstraint(m, primal_cost == sum{a.flow * a.freeflowtime * polyEval(coeffs, a.flow/a.capacity), a=values(arcs)})
@addConstraint(m, resid >= (dual_cost - primal_cost) / scaling )
@addConstraint(m, resid >= (primal_cost - dual_cost) / scaling )
return resid
end
function addIncreasingCnsts(m, coeffs, arcs; TOL=0.)
sorted_flows = sort([a.flow / a.capacity for a in values(arcs)])
@addConstraint(m, polyEval(coeffs, 0) <= polyEval(coeffs, sorted_flows[1]))
for i = 2:length(sorted_flows)
@addConstraint(m, polyEval(coeffs, sorted_flows[i-1]) <= polyEval(coeffs, sorted_flows[i]) + TOL)
end
@addConstraint(m, coeffs[1] == 1)
end
#equates the total cost of the network to the true total cost
function normalize(m, coeffs, tot_true_cost::Float64, arcs)
@addConstraint(m,
sum{a.freeflowtime * a.flow * polyEval(coeffs, a.flow / a.capacity), a=values(arcs)} == tot_true_cost)
end
function normalize(m, coeffs, scaled_flow::Float64, cost::Float64)
@addConstraint(m, polyEval(coeffs, scaled_flow) == cost)
end
function normalize(m, coeffs, scaled_flows::Array{Float64, 1}, avgCost::Float64)
@addConstraint(m, sum{polyEval(coeffs, f), f=scaled_flows} == avgCost * length(scaled_flows))
end
function addNetworkCnsts(m, coeffs, demands, arcs, numNodes)
@defVar(m, ys[keys(demands), 1:numNodes])
for k = keys(arcs)
a = arcs[k]
rhs = a.freeflowtime * polyEval(coeffs, a.flow/a.capacity)
for od in keys(demands)
@addConstraint(m, ys[od, k[2]] - ys[od, k[1]] <= rhs)
end
end
return ys
end
############
#Read in the demand file
using PyCall
unshift!(PyVector(pyimport("sys")["path"]), "");
@pyimport parameters_julia
out_dir = parameters_julia.out_dir
files_ID = parameters_julia.files_ID
month_w = parameters_julia.month_w
year = parameters_julia.year
instances_ = parameters_julia.instances_ID
instance = readstring(out_dir * "instance_comm.txt")
file = open(out_dir * "data_traffic_assignment_uni-class/" * files_ID * "_trips_" * month_w * "_" * instance * ".txt")
demands = Dict{(Int64,Int64), Float64}()
s = 0
for line in eachline(file)
if contains(line, "Origin")
s = int(split(line)[2])
else
pairs = split(line, ";")
for pair in pairs
if !contains(pair, "\n")
pair_vals = split(pair, ":")
t, demand = int(pair_vals[1]), float(pair_vals[2])
demands[(s,t)] = demand
end
end
end
end
close(file)
############
#read in the arc files
arcs = Dict{(Int, Int), Arc}()
file = open(out_dir * "data_traffic_assignment_uni-class/" * files_ID * "_net_" * month_w * "_" * instance * ".txt")
inHeader=true
for line in eachline(file)
if inHeader
inHeader = !contains(line, "Init node")
continue
end
vals = split(line, )
arcs[(int(vals[1]), int(vals[2]))] = Arc(int(vals[1]), int(vals[2]), float(vals[3]), float(vals[5]))
end
close(file)
#=
###########
#read in the initial flows
file = open("../data_original/SiouxFallsFlow.txt")
ix = 0;
for line in eachline(file)
ix +=1
if ix ==1
continue
end
vals = split(line)
arcs[(int(vals[1]), int(vals[2]))].flow = float(vals[3])
end
close(file)
=#
##########
# Set up demand data and flow data
##########
flow_data = Array(Float64, length(arcs))
flows = Dict{(Int64,Int64), Float64}()
demand_data = Dict{(Int, Int), Array{Float64, 1}}()
numNodes = maximum(map(pair->pair[1], keys(demands)))
g = simple_inclist(numNodes, is_directed=true)
vArcs = Arc[]
for arc in values(arcs)
add_edge!(g, arc.initNode, arc.termNode)
push!(vArcs, arc)
end
for odpair in keys(demands)
if ! haskey(demand_data, odpair)
demand_data[odpair] = [demands[odpair], ]
else
push!(demand_data[odpair], demands[odpair])
end
end
flow_data = [a.flow::Float64 for a in vArcs]
for a in vArcs
flows[(a.initNode, a.termNode)] = a.flow
end
#flows
using JSON
#load node-link incidence
nodeLink = readall("node_link_incidence_Sioux.json");
nodeLink = JSON.parse(nodeLink);
link_label_dict = readall("link_label_dict_Sioux.json");
link_label_dict = JSON.parse(link_label_dict);
link_label_dict["1"]
int(split(link_label_dict["1"], ',')[1]), int(split(link_label_dict["1"], ',')[2])
flows[int(split(link_label_dict["1"], ',')[1]), int(split(link_label_dict["1"], ',')[2])]
#string(1)
function addResid_(m, coeffs, ys, demands_, demands, arcs, scaling)
@defVar(m, resid)
@defVar(m, dual_cost)
@defVar(m, primal_cost)
for (s,t)=keys(demands)
@addConstraint(m, demands_[(s,t)] >= 0)
end
@addConstraint(m, dual_cost == sum{demands_[(s,t)] * (ys[(s,t), t] - ys[(s,t), s]), (s,t)=keys(demands)})
@addConstraint(m, primal_cost == sum{a.flow * a.freeflowtime * polyEval(coeffs, a.flow/a.capacity), a=values(arcs)})
@addConstraint(m, resid >= (dual_cost - primal_cost) / scaling )
@addConstraint(m, resid >= (primal_cost - dual_cost) / scaling )
return resid
end
##########
#Fitting Funcs
##########
function train_cy(lam::Float64, deg::Int, c::Float64, demands, flow_data, arcs; fcoeffs=nothing)
numNodes = maximum(map(pair->pair[1], keys(arcs)))
m, coeffs, reg_term = setUpFitting(deg, c)
addIncreasingCnsts(m, coeffs, arcs, TOL=1e-8) #uses the original obs flows
avgCost = mean( [bpacost(a.flow, a.capacity, 1.0) for a in values(arcs)] )
normalize(m, coeffs, [a.flow / a.capacity for a in values(arcs)], avgCost)
resids = Variable[]
#copy the flow data over to the arcs
for (ix, a) in enumerate(vArcs)
a.flow = flow_data[ix]
end
#Dual Feasibility
ys = addNetworkCnsts(m, coeffs, demands, arcs, numNodes)
#add the residual for this data point
push!(resids, addResid(m, coeffs, ys, demands, arcs, 1e6))
if fcoeffs != nothing
fixCoeffs(m, fcoeffs, coeffs)
end
@setObjective(m, Min, sum{resids[i], i = 1:length(resids)} + lam*reg_term)
solve(m)
return [getValue(coeffs[i]) for i =1:length(coeffs)], getValue(ys), getValue(resids)
end
#nodeLink["0-75"]
#demands
outfile = open("demands_Sioux.json", "w")
JSON.print(outfile, demands)
close(outfile)
##########
#Fitting Funcs
##########
function train_cd(lam::Float64, deg::Int, c::Float64, ys, flow_data, flows, nodeLink, arcs; fcoeffs=nothing)
numNodes = maximum(map(pair->pair[1], keys(arcs)))
m, coeffs, reg_term = setUpFitting(deg, c)
addIncreasingCnsts(m, coeffs, arcs, TOL=1e-8) #uses the original obs flows
avgCost = mean( [bpacost(a.flow, a.capacity, 1.0) for a in values(arcs)] )
normalize(m, coeffs, [a.flow / a.capacity for a in values(arcs)], avgCost)
resids = Variable[]
#copy the flow data over to the arcs
for (ix, a) in enumerate(vArcs)
a.flow = flow_data[ix]
end
for k = keys(arcs)
a = arcs[k]
rhs = a.freeflowtime * polyEval(coeffs, a.flow/a.capacity)
for od in keys(demands)
@addConstraint(m, ys[od, k[2]] - ys[od, k[1]] <= rhs)
end
end
@defVar(m, demands_[keys(demands)])
for (s,t) = keys(demands)
@addConstraint(m, demands_[(s,t)] >= 0)
@addConstraint(m, demands_[(s,t)] - demands[(s,t)] <= demands[(s,t)] * 0.05)
@addConstraint(m, demands[(s,t)] - demands_[(s,t)] <= demands[(s,t)] * 0.05)
end
numLinks = length(flows) # number of links
@defVar(m, odLinkFlow[keys(demands), 1:numLinks])
for (s,t) = keys(demands)
for k = 1:numLinks
@addConstraint(m, odLinkFlow[(s,t), k] >= 0)
end
end
for k = 1:numLinks
linkFlowPartial = sum([odLinkFlow[(s,t), k] for (s,t) = keys(demands)])
key = (int(split(link_label_dict["$(k-1)"], ',')[1]), int(split(link_label_dict["$(k-1)"], ',')[2]))
@addConstraint(m, linkFlowPartial == flows[key])
end
for l = 1:numNodes
for (s,t) = keys(demands)
if s == t
@addConstraint(m, demands_[(s,t)] == 0)
else
odLinkFlowPartial = sum([nodeLink["$(l-1)-$(k-1)"] * odLinkFlow[(s,t), k] for k = 1:numLinks])
if (l == s)
@addConstraint(m, odLinkFlowPartial + demands_[(s,t)] == 0)
elseif (l == t)
@addConstraint(m, odLinkFlowPartial - demands_[(s,t)] == 0)
else
@addConstraint(m, odLinkFlowPartial == 0)
end
end
end
end
#add the residual for this data point
push!(resids, addResid_(m, coeffs, ys, demands_, demands, arcs, 1e6))
if fcoeffs != nothing
fixCoeffs(m, fcoeffs, coeffs)
end
@setObjective(m, Min, sum{resids[i], i = 1:length(resids)} + lam*reg_term)
solve(m)
return [getValue(coeffs[i]) for i =1:length(coeffs)], getValue(demands_), getValue(resids)
end
#demands[(1, 1)]
#include("trafficCval.jl")
coeffs_dict = Dict{(Int64,Float64,Float64),Array{Float64,1}}()
deg = 6
c = 3.41
lam = 1.
demands_0 = copy(demands)
fcoeffs, ys, resids = train_cy(lam, deg, c, demands_0, flow_data, arcs)
coeffs_dict[(deg, c, lam)] = fcoeffs
fcoeffs, demands_, resides_ = train_cd(lam, deg, c, ys, flow_data, flows, nodeLink, arcs)
for (s,t) = keys(demands)
demands_0[(s,t)] = demands_[(s,t)]
end
coeffs_dict[(deg, c, lam)] = fcoeffs
using PyPlot
true_coeffs = [1, 0, 0, 0, .15]
fcoeffs = coeffs_dict[(6, 3.41, 1.)]
xs = linspace(0, 2, 20)
zs_true = map(x->polyEval(true_coeffs, x), xs)
zs = map(x->polyEval(fcoeffs, x), xs)
plot(xs, zs_true, "s-g", label="True")
plot(xs, zs, "^-m", label="deg=6")
legend(loc="upper left",fancybox="true")
grid("on")
xlim(-0.1, 1.6);
ylim(0.9, 2.0);
font1 = ["family"=>"serif","color"=>"darkred","weight"=>"normal","size"=>14]
xlabel("Scaled Flow", fontdict=font1)
ylabel("Scaled Cost", fontdict=font1)
savefig("fitting_Sioux.pdf")
#demands_0
#demands
# based on https://github.com/chkwon/TrafficAssignment.jl
include("load_network_uni-class.jl")
using Graphs
function create_graph(start_node, end_node)
@assert Base.length(start_node)==Base.length(end_node)
no_node = max(maximum(start_node), maximum(end_node))
no_arc = Base.length(start_node)
graph = simple_inclist(no_node)
for i=1:no_arc
add_edge!(graph, start_node[i], end_node[i])
end
return graph
end
function get_vector(state, origin, destination, link_dic)
current = destination
parent = -1
x = zeros(Int, maximum(link_dic))
while parent != origin
parent = state.parents[current]
link_idx = link_dic[parent,current]
if link_idx != 0
x[link_idx] = 1
end
current = parent
end
return x
end
ta_data = load_ta_network("Sioux Falls");
# ta_data.travel_demand;
# unpacking data from ta_data
network_name = ta_data.network_name
number_of_zones = ta_data.number_of_zones
number_of_nodes = ta_data.number_of_nodes
first_thru_node = ta_data.first_thru_node
number_of_links = ta_data.number_of_links
start_node = ta_data.start_node
end_node = ta_data.end_node
capacity = ta_data.capacity
link_length = ta_data.link_length
free_flow_time = ta_data.free_flow_time
B = ta_data.B
power = ta_data.power
speed_limit = ta_data.speed_limit
toll = ta_data.toll
link_type = ta_data.link_type
number_of_zones = ta_data.number_of_zones
total_od_flow = ta_data.total_od_flow
# travel_demand = ta_data.travel_demand
od_pairs = ta_data.od_pairs
toll_factor = ta_data.toll_factor
distance_factor = ta_data.distance_factor
best_objective = ta_data.best_objective
travel_demand = zeros(24, 24)
for (s,t)=keys(demands)
travel_demand[s,t] = demands_0[(s,t)]
end
# preparing a graph
graph = create_graph(start_node, end_node)
link_dic = sparse(start_node, end_node, 1:number_of_links);
function BPR(x)
bpr = similar(x)
for i=1:length(bpr)
bpr[i] = free_flow_time[i] * polyEval(fcoeffs, x[i]/capacity[i])
# bpr[i] = free_flow_time[i] * ( 1.0 + B[i] * (x[i]/capacity[i])^power[i] )
end
return bpr
end
function all_or_nothing(travel_time)
state = []
path = []
x = zeros(size(start_node))
for r=1:size(travel_demand)[1]
# for each origin node r, find shortest paths to all destination nodes
state = dijkstra_shortest_paths(graph, travel_time, r)
for s=1:size(travel_demand)[2]
# for each destination node s, find the shortest-path vector
# load travel demand
x = x + travel_demand[r,s] * get_vector(state, r, s, link_dic)
end
end
return x
end
# Finding a starting feasible solution
travel_time = BPR(zeros(number_of_links))
xl = all_or_nothing(travel_time);
max_iter_no = 1e3
l = 1
#average_excess_cost = 1
tol = 1e-6
while l < max_iter_no
l += 1
xl_old = xl
# Finding yl
travel_time = BPR(xl)
yl = all_or_nothing(travel_time)
assert(yl != xl)
xl = xl + (yl - xl)/l
xl_new = xl
relative_gap = norm(xl_new - xl_old, 1) / norm(xl_new, 1)
# if l % 500 == 0
# print("l = $l------------------------------------------------\n")
# print("relative_gap is $relative_gap\n")
# end
if relative_gap < tol
print("l = $l------------------------------------------------\n")
print("relative_gap is $relative_gap\n")
break
end
end
tapFlows = Dict{(Int64,Int64),Float64}()
for i = 1:length(ta_data.start_node)
key = (ta_data.start_node[i], ta_data.end_node[i])
tapFlows[key] = xl[i]
end
#tapFlows
#flows
#fcoeffs
function sa(x, a) # calculate the partial derivatives of c_a w.r.t. x_a
assert(a <= length(x) && a >= 1)
n = length(fcoeffs)
dcdx = 0
for i=2:n
dcdx += (i-1) * fcoeffs[i] * (x[a]/capacity[a])^(i-2)
end
dcdx *= free_flow_time[a]/capacity[a]
return dcdx
end
x = zeros(size(start_node))
for k = 1:length(x)
key = (int(split(link_label_dict["$(k-1)"], ',')[1]), int(split(link_label_dict["$(k-1)"], ',')[2]))
x[k] = tapFlows[key]
end
x
## Obtain $\left( {\frac{{\partial {c_a}\left( {{g^l}} \right)}}{{\partial {v_a}}};a \in \mathcal{A}} \right)$
saVec = similar(x)
for a = 1:length(x)
saVec[a] = sa(x, a)
end
# saVec[1:5]
#load OD pair-route incidence
odPairRoute = readall("od_pair_route_incidence_Sioux.json");
odPairRoute = JSON.parse(odPairRoute);
#load link-route incidence
linkRoute = readall("link_route_incidence_Sioux.json");
linkRoute = JSON.parse(linkRoute);
#load OD pair labels
odPairLabel = readall("od_pair_label_dict_Sioux.json");
odPairLabel = JSON.parse(odPairLabel);
odPairLabel_ = readall("od_pair_label_dict__Sioux.json");
odPairLabel_ = JSON.parse(odPairLabel_);
# express the demand data as vector (array)
demandsVec = zeros(length(demands))
for i = 1:length(demandsVec)
demandsVec[i] = demands_0[(odPairLabel_["$i"][1], odPairLabel_["$i"][2])]
end
demandsVec[1:5]
# convert the demand data into dictionary
demandsDict = similar(demands)
for key = keys(demands)
demandsDict[key] = demandsVec[odPairLabel["($(key[1]), $(key[2]))"]]
end
# "1-200" in keys(odPairRoute)
numLinks = size(start_node)[1]
numRoutes = length(odPairRoute)
numODpairs = numNodes * (numNodes - 1)
| [
4906,
10173,
198,
220,
220,
220,
2315,
19667,
3712,
5317,
220,
198,
220,
220,
220,
3381,
19667,
3712,
5317,
220,
198,
220,
220,
220,
5339,
3712,
43879,
2414,
198,
220,
220,
220,
1479,
11125,
2435,
3712,
43879,
2414,
198,
220,
220,
220,
5202,
3712,
43879,
2414,
198,
437,
198,
198,
24021,
7,
15003,
19667,
3712,
5317,
11,
3381,
19667,
3712,
5317,
11,
5339,
3712,
43879,
2414,
11,
1479,
11125,
2435,
3712,
43879,
2414,
8,
796,
220,
198,
220,
220,
220,
10173,
7,
15003,
19667,
11,
3381,
19667,
11,
5339,
11,
1479,
11125,
2435,
11,
657,
2014,
198,
198,
2235,
4294,
303,
281,
34062,
13422,
2108,
1917,
625,
745,
6213,
296,
8231,
286,
4922,
379,
749,
288,
198,
198,
2235,
16018,
453,
779,
257,
3218,
7509,
422,
262,
7514,
9720,
198,
198,
3500,
12585,
7378,
198,
3500,
402,
1434,
8482,
198,
3500,
29681,
82,
198,
3500,
34341,
628,
198,
35428,
36,
2100,
7,
1073,
14822,
82,
11,
42975,
8,
796,
2160,
26933,
1073,
14822,
82,
58,
72,
60,
1635,
42975,
61,
7,
72,
12,
16,
8,
329,
1312,
796,
352,
25,
13664,
7,
1073,
14822,
82,
8,
12962,
220,
220,
198,
198,
35428,
36,
2100,
7,
1073,
14822,
82,
3712,
19182,
90,
43879,
2414,
11,
352,
5512,
42975,
8,
796,
2160,
26933,
1073,
14822,
82,
58,
72,
60,
1635,
42975,
61,
7,
72,
12,
16,
8,
329,
1312,
796,
352,
25,
13664,
7,
1073,
14822,
82,
8,
12962,
220,
198,
198,
65,
33587,
455,
7,
11125,
3712,
43879,
2414,
11,
5339,
3712,
43879,
2414,
11,
1479,
11125,
2435,
3712,
43879,
2414,
8,
796,
1479,
11125,
2435,
9,
7,
16,
1343,
764,
1314,
1635,
357,
11125,
14,
42404,
8,
61,
19,
8,
198,
65,
33587,
455,
7,
11125,
3712,
43879,
2414,
11,
10389,
8,
796,
275,
33587,
455,
7,
11125,
11,
10389,
13,
42404,
11,
10389,
13,
5787,
11125,
2435,
8,
198,
65,
33587,
455,
7,
5605,
3712,
24021,
8,
796,
275,
33587,
455,
7,
5605,
13,
11125,
11,
10389,
8,
198,
198,
8818,
900,
4933,
37,
2535,
7,
13500,
3712,
5317,
11,
269,
3712,
43879,
2414,
8,
628,
197,
76,
796,
9104,
7,
82,
14375,
28,
38,
1434,
8482,
50,
14375,
7,
26410,
34227,
28,
9562,
4008,
198,
220,
220,
220,
220,
198,
197,
31,
4299,
19852,
7,
76,
11,
763,
14822,
82,
58,
16,
25,
13500,
10,
16,
12962,
198,
197,
31,
4299,
19852,
7,
76,
11,
2199,
5902,
58,
16,
25,
13500,
10,
16,
12962,
628,
197,
2,
11249,
262,
7933,
2763,
17593,
26,
30218,
13,
6524,
13,
685,
2481,
60,
357,
40164,
1634,
27862,
290,
7929,
20650,
31182,
828,
2443,
6298,
198,
197,
82,
12629,
796,
300,
1040,
10223,
7,
15,
11,
352,
11,
3396,
1343,
352,
8,
198,
197,
74,
7,
87,
11,
88,
8,
796,
357,
66,
1343,
2124,
9,
88,
8,
61,
13500,
198,
197,
42,
796,
685,
479,
7,
87,
11,
88,
8,
329,
2124,
796,
8405,
11,
331,
28,
82,
12629,
60,
198,
197,
42,
796,
10385,
7,
19182,
90,
43879,
2414,
11,
362,
5512,
509,
8,
198,
197,
2,
30493,
7,
43027,
7,
42,
8,
6624,
3396,
10,
16,
8,
198,
220,
220,
220,
220,
198,
197,
34,
796,
442,
349,
7,
42,
1343,
352,
68,
12,
21,
9,
4151,
7,
13500,
10,
16,
4008,
198,
197,
1640,
1312,
28,
16,
25,
13500,
1343,
352,
198,
197,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
8405,
58,
72,
12962,
6624,
2160,
90,
34,
58,
73,
11,
1312,
60,
1635,
2199,
5902,
58,
73,
4357,
474,
28,
16,
25,
13500,
10,
16,
30072,
198,
197,
437,
198,
220,
220,
220,
220,
198,
197,
31,
4299,
19852,
7,
76,
11,
842,
62,
4354,
18189,
657,
8,
198,
197,
2301,
62,
4354,
62,
796,
20648,
3109,
1050,
7,
9771,
5902,
58,
25,
4357,
2199,
5902,
58,
25,
4357,
3392,
7,
13500,
10,
16,
828,
6708,
3109,
1050,
28955,
198,
220,
220,
220,
220,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
842,
62,
4354,
18189,
842,
62,
4354,
62,
8,
198,
220,
220,
220,
220,
198,
197,
7783,
285,
11,
763,
14822,
82,
11,
842,
62,
4354,
198,
198,
437,
198,
198,
8818,
4259,
34,
2577,
487,
82,
7,
76,
11,
277,
1073,
14822,
82,
11,
763,
14822,
82,
8,
198,
197,
1640,
357,
16072,
11,
269,
8,
287,
19974,
7,
69,
1073,
14822,
82,
11,
763,
14822,
82,
58,
25,
12962,
198,
197,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
277,
66,
6624,
269,
8,
198,
197,
437,
198,
437,
198,
198,
8818,
751,
4965,
312,
7,
76,
11,
763,
14822,
82,
11,
331,
82,
11,
8665,
11,
44606,
11,
20796,
8,
198,
220,
220,
220,
2488,
4299,
19852,
7,
76,
11,
15384,
8,
198,
197,
31,
4299,
19852,
7,
76,
11,
10668,
62,
15805,
8,
198,
197,
31,
4299,
19852,
7,
76,
11,
43750,
62,
15805,
8,
628,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
10668,
62,
15805,
6624,
2160,
90,
9536,
1746,
58,
7,
82,
11,
83,
15437,
1635,
357,
893,
58,
7,
82,
11,
83,
828,
256,
60,
532,
331,
82,
58,
7,
82,
11,
83,
828,
264,
46570,
357,
82,
11,
83,
47505,
13083,
7,
9536,
1746,
8,
30072,
220,
220,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
43750,
62,
15805,
6624,
2160,
90,
64,
13,
11125,
1635,
257,
13,
5787,
11125,
2435,
1635,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
257,
13,
11125,
14,
64,
13,
42404,
828,
257,
28,
27160,
7,
5605,
82,
8,
30072,
628,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
15384,
18189,
357,
646,
282,
62,
15805,
532,
43750,
62,
15805,
8,
1220,
20796,
1267,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
15384,
18189,
357,
1050,
4402,
62,
15805,
532,
10668,
62,
15805,
8,
1220,
20796,
1267,
198,
197,
7783,
15384,
198,
437,
198,
198,
8818,
751,
15562,
2313,
34,
77,
6448,
7,
76,
11,
763,
14822,
82,
11,
44606,
26,
309,
3535,
28,
15,
2014,
198,
197,
82,
9741,
62,
44041,
796,
3297,
26933,
64,
13,
11125,
1220,
257,
13,
42404,
329,
257,
287,
3815,
7,
5605,
82,
8,
12962,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
657,
8,
19841,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
23243,
62,
44041,
58,
16,
60,
4008,
198,
197,
1640,
1312,
796,
362,
25,
13664,
7,
82,
9741,
62,
44041,
8,
198,
197,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
23243,
62,
44041,
58,
72,
12,
16,
12962,
19841,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
23243,
62,
44041,
58,
72,
12962,
1343,
309,
3535,
8,
198,
197,
437,
198,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
763,
14822,
82,
58,
16,
60,
6624,
352,
8,
198,
437,
198,
198,
2,
4853,
689,
262,
2472,
1575,
286,
262,
3127,
284,
262,
2081,
2472,
1575,
198,
8818,
3487,
1096,
7,
76,
11,
763,
14822,
82,
11,
2006,
62,
7942,
62,
15805,
3712,
43879,
2414,
11,
44606,
8,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
220,
198,
197,
197,
16345,
90,
64,
13,
5787,
11125,
2435,
1635,
257,
13,
11125,
1635,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
257,
13,
11125,
1220,
257,
13,
42404,
828,
257,
28,
27160,
7,
5605,
82,
38165,
6624,
2006,
62,
7942,
62,
15805,
8,
198,
437,
198,
198,
8818,
3487,
1096,
7,
76,
11,
763,
14822,
82,
11,
27464,
62,
11125,
3712,
43879,
2414,
11,
1575,
3712,
43879,
2414,
8,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
27464,
62,
11125,
8,
6624,
1575,
8,
198,
437,
198,
198,
8818,
3487,
1096,
7,
76,
11,
763,
14822,
82,
11,
27464,
62,
44041,
3712,
19182,
90,
43879,
2414,
11,
352,
5512,
42781,
13729,
3712,
43879,
2414,
8,
198,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
2160,
90,
35428,
36,
2100,
7,
1073,
14822,
82,
11,
277,
828,
277,
28,
1416,
3021,
62,
44041,
92,
6624,
42781,
13729,
1635,
4129,
7,
1416,
3021,
62,
44041,
4008,
198,
437,
198,
198,
8818,
751,
26245,
34,
77,
6448,
7,
76,
11,
763,
14822,
82,
11,
8665,
11,
44606,
11,
997,
45,
4147,
8,
198,
197,
31,
4299,
19852,
7,
76,
11,
331,
82,
58,
13083,
7,
9536,
1746,
828,
352,
25,
22510,
45,
4147,
12962,
198,
197,
1640,
479,
796,
8251,
7,
5605,
82,
8,
198,
197,
197,
64,
796,
44606,
58,
74,
60,
198,
197,
197,
81,
11994,
796,
257,
13,
5787,
11125,
2435,
1635,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
257,
13,
11125,
14,
64,
13,
42404,
8,
198,
197,
197,
1640,
16298,
287,
8251,
7,
9536,
1746,
8,
198,
197,
197,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
331,
82,
58,
375,
11,
479,
58,
17,
11907,
532,
331,
82,
58,
375,
11,
479,
58,
16,
11907,
19841,
9529,
82,
8,
198,
197,
197,
437,
198,
197,
437,
198,
197,
7783,
331,
82,
198,
437,
198,
198,
7804,
4242,
198,
2,
5569,
287,
262,
3512,
2393,
628,
198,
3500,
9485,
14134,
198,
403,
30846,
0,
7,
20519,
38469,
7,
9078,
11748,
7203,
17597,
4943,
14692,
6978,
8973,
828,
13538,
1776,
198,
31,
9078,
11748,
10007,
62,
73,
43640,
198,
198,
448,
62,
15908,
796,
10007,
62,
73,
43640,
13,
448,
62,
15908,
198,
16624,
62,
2389,
796,
10007,
62,
73,
43640,
13,
16624,
62,
2389,
198,
8424,
62,
86,
796,
10007,
62,
73,
43640,
13,
8424,
62,
86,
198,
1941,
796,
10007,
62,
73,
43640,
13,
1941,
198,
8625,
1817,
62,
796,
10007,
62,
73,
43640,
13,
8625,
1817,
62,
2389,
198,
198,
39098,
796,
1100,
8841,
7,
448,
62,
15908,
1635,
366,
39098,
62,
9503,
13,
14116,
4943,
628,
198,
198,
7753,
796,
1280,
7,
448,
62,
15908,
1635,
366,
7890,
62,
9535,
2108,
62,
562,
16747,
62,
35657,
12,
4871,
30487,
1635,
3696,
62,
2389,
1635,
45434,
28461,
862,
62,
1,
1635,
1227,
62,
86,
1635,
45434,
1,
1635,
4554,
1635,
27071,
14116,
4943,
198,
9536,
1746,
796,
360,
713,
90,
7,
5317,
2414,
11,
5317,
2414,
828,
48436,
2414,
92,
3419,
198,
82,
796,
657,
198,
1640,
1627,
287,
1123,
1370,
7,
7753,
8,
198,
220,
220,
220,
611,
4909,
7,
1370,
11,
366,
39688,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
264,
796,
493,
7,
35312,
7,
1370,
38381,
17,
12962,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
14729,
796,
6626,
7,
1370,
11,
366,
26,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5166,
287,
14729,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
3642,
1299,
7,
24874,
11,
37082,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5166,
62,
12786,
796,
6626,
7,
24874,
11,
366,
25,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
11,
3512,
796,
493,
7,
24874,
62,
12786,
58,
16,
46570,
12178,
7,
24874,
62,
12786,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8665,
58,
7,
82,
11,
83,
15437,
796,
3512,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
19836,
7,
7753,
8,
198,
198,
7804,
4242,
198,
2,
961,
287,
262,
10389,
3696,
198,
5605,
82,
796,
360,
713,
90,
7,
5317,
11,
2558,
828,
10173,
92,
3419,
198,
7753,
796,
1280,
7,
448,
62,
15908,
1635,
366,
7890,
62,
9535,
2108,
62,
562,
16747,
62,
35657,
12,
4871,
30487,
1635,
3696,
62,
2389,
1635,
45434,
3262,
62,
1,
1635,
1227,
62,
86,
1635,
45434,
1,
1635,
4554,
1635,
27071,
14116,
4943,
198,
259,
39681,
28,
7942,
198,
1640,
1627,
287,
1123,
1370,
7,
7753,
8,
198,
220,
220,
220,
611,
287,
39681,
198,
220,
220,
220,
220,
220,
220,
220,
287,
39681,
796,
5145,
3642,
1299,
7,
1370,
11,
366,
31768,
10139,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
886,
198,
220,
220,
220,
410,
874,
796,
6626,
7,
1370,
11,
1267,
198,
220,
220,
220,
44606,
58,
7,
600,
7,
12786,
58,
16,
46570,
493,
7,
12786,
58,
17,
60,
4008,
60,
796,
10173,
7,
600,
7,
12786,
58,
16,
46570,
493,
7,
12786,
58,
17,
46570,
12178,
7,
12786,
58,
18,
46570,
12178,
7,
12786,
58,
20,
60,
4008,
198,
437,
198,
19836,
7,
7753,
8,
198,
198,
2,
28,
198,
7804,
21017,
198,
2,
961,
287,
262,
4238,
15623,
198,
7753,
796,
1280,
7203,
40720,
7890,
62,
14986,
14,
42801,
22193,
37,
5691,
37535,
13,
14116,
4943,
198,
844,
796,
657,
26,
220,
198,
1640,
1627,
287,
1123,
1370,
7,
7753,
8,
198,
220,
220,
220,
220,
844,
15853,
16,
198,
220,
220,
220,
611,
220,
844,
6624,
16,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
886,
198,
220,
220,
220,
410,
874,
796,
6626,
7,
1370,
8,
198,
220,
220,
220,
44606,
58,
7,
600,
7,
12786,
58,
16,
46570,
493,
7,
12786,
58,
17,
60,
4008,
4083,
11125,
796,
12178,
7,
12786,
58,
18,
12962,
198,
437,
198,
19836,
7,
7753,
8,
198,
46249,
198,
7804,
2235,
198,
2,
5345,
510,
3512,
1366,
290,
5202,
1366,
198,
7804,
2235,
198,
198,
11125,
62,
7890,
796,
15690,
7,
43879,
2414,
11,
4129,
7,
5605,
82,
4008,
198,
44041,
796,
360,
713,
90,
7,
5317,
2414,
11,
5317,
2414,
828,
48436,
2414,
92,
3419,
198,
28550,
62,
7890,
796,
360,
713,
90,
7,
5317,
11,
2558,
828,
15690,
90,
43879,
2414,
11,
352,
11709,
3419,
198,
198,
22510,
45,
4147,
796,
5415,
7,
8899,
7,
24874,
3784,
24874,
58,
16,
4357,
8251,
7,
9536,
1746,
22305,
198,
70,
796,
2829,
62,
259,
565,
396,
7,
22510,
45,
4147,
11,
318,
62,
34762,
28,
7942,
8,
198,
85,
3163,
6359,
796,
10173,
21737,
198,
1640,
10389,
287,
3815,
7,
5605,
82,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
11,
10389,
13,
15003,
19667,
11,
10389,
13,
4354,
19667,
8,
220,
198,
220,
220,
220,
4574,
0,
7,
85,
3163,
6359,
11,
10389,
8,
198,
437,
198,
198,
1640,
16298,
24874,
287,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
611,
5145,
468,
2539,
7,
28550,
62,
7890,
11,
16298,
24874,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3512,
62,
7890,
58,
375,
24874,
60,
796,
685,
9536,
1746,
58,
375,
24874,
4357,
2361,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
28550,
62,
7890,
58,
375,
24874,
4357,
8665,
58,
375,
24874,
12962,
198,
220,
220,
220,
886,
198,
437,
198,
198,
11125,
62,
7890,
796,
685,
64,
13,
11125,
3712,
43879,
2414,
329,
257,
287,
410,
3163,
6359,
60,
198,
198,
1640,
257,
287,
410,
3163,
6359,
198,
220,
220,
220,
15623,
58,
7,
64,
13,
15003,
19667,
11,
257,
13,
4354,
19667,
15437,
796,
257,
13,
11125,
198,
437,
198,
198,
2,
44041,
198,
198,
3500,
19449,
198,
198,
2,
2220,
10139,
12,
8726,
18349,
198,
17440,
11280,
796,
1100,
439,
7203,
17440,
62,
8726,
62,
1939,
1704,
62,
42801,
22193,
13,
17752,
15341,
198,
17440,
11280,
796,
19449,
13,
29572,
7,
17440,
11280,
1776,
198,
198,
8726,
62,
18242,
62,
11600,
796,
1100,
439,
7203,
8726,
62,
18242,
62,
11600,
62,
42801,
22193,
13,
17752,
15341,
198,
8726,
62,
18242,
62,
11600,
796,
19449,
13,
29572,
7,
8726,
62,
18242,
62,
11600,
1776,
198,
198,
8726,
62,
18242,
62,
11600,
14692,
16,
8973,
198,
198,
600,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
16,
33116,
705,
4032,
38381,
16,
46570,
493,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
16,
33116,
705,
4032,
38381,
17,
12962,
198,
198,
44041,
58,
600,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
16,
33116,
705,
4032,
38381,
16,
46570,
493,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
16,
33116,
705,
4032,
38381,
17,
12962,
60,
198,
198,
2,
8841,
7,
16,
8,
198,
198,
8818,
751,
4965,
312,
41052,
76,
11,
763,
14822,
82,
11,
331,
82,
11,
8665,
62,
11,
8665,
11,
44606,
11,
20796,
8,
198,
220,
220,
220,
2488,
4299,
19852,
7,
76,
11,
15384,
8,
198,
197,
31,
4299,
19852,
7,
76,
11,
10668,
62,
15805,
8,
198,
197,
31,
4299,
19852,
7,
76,
11,
43750,
62,
15805,
8,
628,
220,
220,
220,
329,
357,
82,
11,
83,
47505,
13083,
7,
9536,
1746,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
8665,
62,
58,
7,
82,
11,
83,
15437,
18189,
657,
8,
198,
220,
220,
220,
886,
628,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
10668,
62,
15805,
6624,
2160,
90,
9536,
1746,
62,
58,
7,
82,
11,
83,
15437,
1635,
357,
893,
58,
7,
82,
11,
83,
828,
256,
60,
532,
331,
82,
58,
7,
82,
11,
83,
828,
264,
46570,
357,
82,
11,
83,
47505,
13083,
7,
9536,
1746,
8,
30072,
220,
220,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
43750,
62,
15805,
6624,
2160,
90,
64,
13,
11125,
1635,
257,
13,
5787,
11125,
2435,
1635,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
257,
13,
11125,
14,
64,
13,
42404,
828,
257,
28,
27160,
7,
5605,
82,
8,
30072,
628,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
15384,
18189,
357,
646,
282,
62,
15805,
532,
43750,
62,
15805,
8,
1220,
20796,
1267,
198,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
15384,
18189,
357,
1050,
4402,
62,
15805,
532,
10668,
62,
15805,
8,
1220,
20796,
1267,
198,
197,
7783,
15384,
198,
437,
198,
198,
7804,
2235,
198,
2,
37,
2535,
11138,
6359,
198,
7804,
2235,
198,
198,
8818,
4512,
62,
948,
7,
2543,
3712,
43879,
2414,
11,
3396,
3712,
5317,
11,
269,
3712,
43879,
2414,
11,
8665,
11,
5202,
62,
7890,
11,
44606,
26,
277,
1073,
14822,
82,
28,
22366,
8,
198,
220,
220,
220,
997,
45,
4147,
796,
5415,
7,
8899,
7,
24874,
3784,
24874,
58,
16,
4357,
8251,
7,
5605,
82,
22305,
198,
220,
220,
220,
285,
11,
763,
14822,
82,
11,
842,
62,
4354,
796,
900,
4933,
37,
2535,
7,
13500,
11,
269,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
751,
15562,
2313,
34,
77,
6448,
7,
76,
11,
763,
14822,
82,
11,
44606,
11,
309,
3535,
28,
16,
68,
12,
23,
8,
220,
1303,
2664,
262,
2656,
10201,
15623,
628,
220,
220,
220,
42781,
13729,
796,
1612,
7,
685,
65,
33587,
455,
7,
64,
13,
11125,
11,
257,
13,
42404,
11,
352,
13,
15,
8,
329,
257,
287,
3815,
7,
5605,
82,
15437,
1267,
198,
220,
220,
220,
3487,
1096,
7,
76,
11,
763,
14822,
82,
11,
685,
64,
13,
11125,
1220,
257,
13,
42404,
329,
257,
287,
3815,
7,
5605,
82,
8,
4357,
42781,
13729,
8,
628,
198,
220,
220,
220,
581,
2340,
796,
35748,
21737,
198,
220,
220,
220,
220,
628,
220,
220,
220,
1303,
30073,
262,
5202,
1366,
625,
284,
262,
44606,
198,
220,
220,
220,
329,
357,
844,
11,
257,
8,
287,
27056,
378,
7,
85,
3163,
6359,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
13,
11125,
796,
5202,
62,
7890,
58,
844,
60,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
36248,
5452,
292,
2247,
198,
220,
220,
220,
331,
82,
796,
751,
26245,
34,
77,
6448,
7,
76,
11,
763,
14822,
82,
11,
8665,
11,
44606,
11,
997,
45,
4147,
8,
628,
220,
220,
220,
1303,
2860,
262,
29598,
329,
428,
1366,
966,
198,
220,
220,
220,
4574,
0,
7,
411,
2340,
11,
751,
4965,
312,
7,
76,
11,
763,
14822,
82,
11,
331,
82,
11,
8665,
11,
44606,
11,
352,
68,
21,
4008,
628,
198,
220,
220,
220,
611,
277,
1073,
14822,
82,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
4259,
34,
2577,
487,
82,
7,
76,
11,
277,
1073,
14822,
82,
11,
763,
14822,
82,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
2617,
10267,
425,
7,
76,
11,
1855,
11,
2160,
90,
411,
2340,
58,
72,
4357,
1312,
796,
352,
25,
13664,
7,
411,
2340,
38165,
1343,
30592,
9,
2301,
62,
4354,
8,
198,
220,
220,
220,
8494,
7,
76,
8,
198,
220,
220,
220,
1441,
685,
1136,
11395,
7,
1073,
14822,
82,
58,
72,
12962,
329,
1312,
796,
16,
25,
13664,
7,
1073,
14822,
82,
8,
4357,
651,
11395,
7,
893,
828,
651,
11395,
7,
411,
2340,
8,
198,
437,
198,
198,
2,
17440,
11280,
14692,
15,
12,
2425,
8973,
198,
198,
2,
9536,
1746,
198,
198,
448,
7753,
796,
1280,
7203,
9536,
1746,
62,
42801,
22193,
13,
17752,
1600,
366,
86,
4943,
198,
198,
40386,
13,
4798,
7,
448,
7753,
11,
8665,
8,
198,
198,
19836,
7,
448,
7753,
8,
198,
198,
7804,
2235,
198,
2,
37,
2535,
11138,
6359,
198,
7804,
2235,
198,
198,
8818,
4512,
62,
10210,
7,
2543,
3712,
43879,
2414,
11,
3396,
3712,
5317,
11,
269,
3712,
43879,
2414,
11,
331,
82,
11,
5202,
62,
7890,
11,
15623,
11,
10139,
11280,
11,
44606,
26,
277,
1073,
14822,
82,
28,
22366,
8,
198,
220,
220,
220,
997,
45,
4147,
796,
5415,
7,
8899,
7,
24874,
3784,
24874,
58,
16,
4357,
8251,
7,
5605,
82,
22305,
198,
220,
220,
220,
285,
11,
763,
14822,
82,
11,
842,
62,
4354,
796,
900,
4933,
37,
2535,
7,
13500,
11,
269,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
751,
15562,
2313,
34,
77,
6448,
7,
76,
11,
763,
14822,
82,
11,
44606,
11,
309,
3535,
28,
16,
68,
12,
23,
8,
220,
1303,
2664,
262,
2656,
10201,
15623,
628,
220,
220,
220,
42781,
13729,
796,
1612,
7,
685,
65,
33587,
455,
7,
64,
13,
11125,
11,
257,
13,
42404,
11,
352,
13,
15,
8,
329,
257,
287,
3815,
7,
5605,
82,
15437,
1267,
198,
220,
220,
220,
3487,
1096,
7,
76,
11,
763,
14822,
82,
11,
685,
64,
13,
11125,
1220,
257,
13,
42404,
329,
257,
287,
3815,
7,
5605,
82,
8,
4357,
42781,
13729,
8,
628,
220,
220,
220,
581,
2340,
796,
35748,
21737,
198,
220,
220,
220,
220,
628,
220,
220,
220,
1303,
30073,
262,
5202,
1366,
625,
284,
262,
44606,
198,
220,
220,
220,
329,
357,
844,
11,
257,
8,
287,
27056,
378,
7,
85,
3163,
6359,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
13,
11125,
796,
5202,
62,
7890,
58,
844,
60,
198,
220,
220,
220,
886,
628,
220,
220,
220,
329,
479,
796,
8251,
7,
5605,
82,
8,
198,
197,
197,
64,
796,
44606,
58,
74,
60,
198,
197,
197,
81,
11994,
796,
257,
13,
5787,
11125,
2435,
1635,
7514,
36,
2100,
7,
1073,
14822,
82,
11,
257,
13,
11125,
14,
64,
13,
42404,
8,
198,
197,
197,
1640,
16298,
287,
8251,
7,
9536,
1746,
8,
198,
197,
197,
197,
31,
2860,
3103,
2536,
2913,
7,
76,
11,
331,
82,
58,
375,
11,
479,
58,
17,
11907,
532,
331,
82,
58,
375,
11,
479,
58,
16,
11907,
19841,
9529,
82,
8,
198,
197,
197,
437,
198,
197,
437,
628,
220,
220,
220,
2488,
4299,
19852,
7,
76,
11,
8665,
62,
58,
13083,
7,
9536,
1746,
8,
12962,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
357,
82,
11,
83,
8,
796,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
8665,
62,
58,
7,
82,
11,
83,
15437,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
8665,
62,
58,
7,
82,
11,
83,
15437,
532,
8665,
58,
7,
82,
11,
83,
15437,
19841,
8665,
58,
7,
82,
11,
83,
15437,
1635,
657,
13,
2713,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
8665,
58,
7,
82,
11,
83,
15437,
532,
8665,
62,
58,
7,
82,
11,
83,
15437,
19841,
8665,
58,
7,
82,
11,
83,
15437,
1635,
657,
13,
2713,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
220,
220,
220,
997,
31815,
796,
4129,
7,
44041,
8,
220,
1303,
1271,
286,
6117,
198,
220,
220,
220,
2488,
4299,
19852,
7,
76,
11,
16298,
11280,
37535,
58,
13083,
7,
9536,
1746,
828,
352,
25,
22510,
31815,
12962,
198,
220,
220,
220,
329,
357,
82,
11,
83,
8,
796,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
796,
352,
25,
22510,
31815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
16298,
11280,
37535,
58,
7,
82,
11,
83,
828,
479,
60,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
479,
796,
352,
25,
22510,
31815,
198,
220,
220,
220,
220,
220,
220,
220,
2792,
37535,
7841,
498,
796,
2160,
26933,
375,
11280,
37535,
58,
7,
82,
11,
83,
828,
479,
60,
329,
357,
82,
11,
83,
8,
796,
8251,
7,
9536,
1746,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
357,
600,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
3,
7,
74,
12,
16,
16725,
4357,
705,
4032,
38381,
16,
46570,
493,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
3,
7,
74,
12,
16,
16725,
4357,
705,
4032,
38381,
17,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
2792,
37535,
7841,
498,
6624,
15623,
58,
2539,
12962,
198,
220,
220,
220,
886,
628,
220,
220,
220,
329,
300,
796,
352,
25,
22510,
45,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
82,
11,
83,
8,
796,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
264,
6624,
256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
8665,
62,
58,
7,
82,
11,
83,
15437,
6624,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16298,
11280,
37535,
7841,
498,
796,
2160,
26933,
17440,
11280,
14692,
3,
7,
75,
12,
16,
13219,
3,
7,
74,
12,
16,
8,
8973,
1635,
16298,
11280,
37535,
58,
7,
82,
11,
83,
828,
479,
60,
329,
479,
796,
352,
25,
22510,
31815,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
75,
6624,
264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
16298,
11280,
37535,
7841,
498,
1343,
8665,
62,
58,
7,
82,
11,
83,
15437,
6624,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
357,
75,
6624,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
16298,
11280,
37535,
7841,
498,
532,
8665,
62,
58,
7,
82,
11,
83,
15437,
6624,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
2860,
3103,
2536,
2913,
7,
76,
11,
16298,
11280,
37535,
7841,
498,
6624,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
2860,
262,
29598,
329,
428,
1366,
966,
198,
220,
220,
220,
4574,
0,
7,
411,
2340,
11,
751,
4965,
312,
41052,
76,
11,
763,
14822,
82,
11,
331,
82,
11,
8665,
62,
11,
8665,
11,
44606,
11,
352,
68,
21,
4008,
628,
220,
220,
220,
611,
277,
1073,
14822,
82,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
4259,
34,
2577,
487,
82,
7,
76,
11,
277,
1073,
14822,
82,
11,
763,
14822,
82,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
2617,
10267,
425,
7,
76,
11,
1855,
11,
2160,
90,
411,
2340,
58,
72,
4357,
1312,
796,
352,
25,
13664,
7,
411,
2340,
38165,
1343,
30592,
9,
2301,
62,
4354,
8,
198,
220,
220,
220,
8494,
7,
76,
8,
198,
220,
220,
220,
1441,
685,
1136,
11395,
7,
1073,
14822,
82,
58,
72,
12962,
329,
1312,
796,
16,
25,
13664,
7,
1073,
14822,
82,
8,
4357,
651,
11395,
7,
9536,
1746,
62,
828,
651,
11395,
7,
411,
2340,
8,
198,
437,
198,
198,
2,
9536,
1746,
58,
7,
16,
11,
352,
15437,
198,
198,
2,
17256,
7203,
9535,
2108,
34,
2100,
13,
20362,
4943,
198,
198,
1073,
14822,
82,
62,
11600,
796,
360,
713,
90,
7,
5317,
2414,
11,
43879,
2414,
11,
43879,
2414,
828,
19182,
90,
43879,
2414,
11,
16,
11709,
3419,
198,
198,
13500,
796,
718,
198,
66,
796,
513,
13,
3901,
198,
2543,
796,
352,
13,
198,
198,
9536,
1746,
62,
15,
796,
4866,
7,
9536,
1746,
8,
198,
198,
69,
1073,
14822,
82,
11,
331,
82,
11,
581,
2340,
796,
4512,
62,
948,
7,
2543,
11,
3396,
11,
269,
11,
8665,
62,
15,
11,
5202,
62,
7890,
11,
44606,
8,
198,
1073,
14822,
82,
62,
11600,
58,
7,
13500,
11,
269,
11,
30592,
15437,
796,
277,
1073,
14822,
82,
198,
198,
69,
1073,
14822,
82,
11,
8665,
62,
11,
29076,
62,
796,
4512,
62,
10210,
7,
2543,
11,
3396,
11,
269,
11,
331,
82,
11,
5202,
62,
7890,
11,
15623,
11,
10139,
11280,
11,
44606,
8,
198,
1640,
357,
82,
11,
83,
8,
796,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
8665,
62,
15,
58,
7,
82,
11,
83,
15437,
796,
8665,
62,
58,
7,
82,
11,
83,
15437,
198,
437,
198,
1073,
14822,
82,
62,
11600,
58,
7,
13500,
11,
269,
11,
30592,
15437,
796,
277,
1073,
14822,
82,
198,
198,
3500,
9485,
43328,
198,
198,
7942,
62,
1073,
14822,
82,
796,
685,
16,
11,
657,
11,
657,
11,
657,
11,
764,
1314,
60,
198,
198,
69,
1073,
14822,
82,
796,
763,
14822,
82,
62,
11600,
58,
7,
21,
11,
513,
13,
3901,
11,
352,
2014,
60,
198,
198,
34223,
796,
300,
1040,
10223,
7,
15,
11,
362,
11,
1160,
8,
198,
89,
82,
62,
7942,
796,
3975,
7,
87,
3784,
35428,
36,
2100,
7,
7942,
62,
1073,
14822,
82,
11,
2124,
828,
2124,
82,
8,
198,
198,
89,
82,
796,
3975,
7,
87,
3784,
35428,
36,
2100,
7,
69,
1073,
14822,
82,
11,
2124,
828,
2124,
82,
8,
198,
198,
29487,
7,
34223,
11,
1976,
82,
62,
7942,
11,
366,
82,
12,
70,
1600,
6167,
2625,
17821,
4943,
198,
198,
29487,
7,
34223,
11,
1976,
82,
11,
366,
61,
12,
76,
1600,
6167,
2625,
13500,
28,
21,
4943,
198,
1455,
437,
7,
17946,
2625,
45828,
1364,
1600,
69,
3883,
3524,
2625,
7942,
4943,
220,
198,
198,
25928,
7203,
261,
4943,
198,
87,
2475,
32590,
15,
13,
16,
11,
352,
13,
21,
1776,
198,
88,
2475,
7,
15,
13,
24,
11,
362,
13,
15,
1776,
198,
198,
10331,
16,
796,
14631,
17989,
1,
14804,
1,
2655,
361,
2430,
8043,
1,
14804,
1,
21953,
445,
2430,
6551,
1,
14804,
1,
11265,
2430,
7857,
1,
14804,
1415,
60,
198,
87,
18242,
7203,
3351,
3021,
27782,
1600,
10369,
11600,
28,
10331,
16,
8,
198,
2645,
9608,
7203,
3351,
3021,
6446,
1600,
10369,
11600,
28,
10331,
16,
8,
198,
198,
21928,
5647,
7203,
32232,
62,
42801,
22193,
13,
12315,
4943,
198,
198,
2,
9536,
1746,
62,
15,
198,
198,
2,
9536,
1746,
198,
198,
2,
1912,
319,
3740,
1378,
12567,
13,
785,
14,
354,
74,
26502,
14,
15721,
2108,
8021,
16747,
13,
20362,
198,
198,
17256,
7203,
2220,
62,
27349,
62,
35657,
12,
4871,
13,
20362,
4943,
198,
198,
3500,
29681,
82,
198,
198,
8818,
2251,
62,
34960,
7,
9688,
62,
17440,
11,
886,
62,
17440,
8,
198,
220,
220,
220,
2488,
30493,
7308,
13,
13664,
7,
9688,
62,
17440,
8,
855,
14881,
13,
13664,
7,
437,
62,
17440,
8,
628,
220,
220,
220,
645,
62,
17440,
796,
3509,
7,
47033,
7,
9688,
62,
17440,
828,
5415,
7,
437,
62,
17440,
4008,
198,
220,
220,
220,
645,
62,
5605,
796,
7308,
13,
13664,
7,
9688,
62,
17440,
8,
628,
220,
220,
220,
4823,
796,
2829,
62,
259,
565,
396,
7,
3919,
62,
17440,
8,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
3919,
62,
5605,
198,
220,
220,
220,
220,
220,
220,
220,
751,
62,
14907,
0,
7,
34960,
11,
923,
62,
17440,
58,
72,
4357,
886,
62,
17440,
58,
72,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
4823,
198,
437,
198,
198,
8818,
651,
62,
31364,
7,
5219,
11,
8159,
11,
10965,
11,
2792,
62,
67,
291,
8,
198,
220,
220,
220,
1459,
796,
10965,
198,
220,
220,
220,
2560,
796,
532,
16,
198,
220,
220,
220,
2124,
796,
1976,
27498,
7,
5317,
11,
5415,
7,
8726,
62,
67,
291,
4008,
628,
220,
220,
220,
981,
2560,
14512,
8159,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
796,
1181,
13,
23743,
58,
14421,
60,
628,
220,
220,
220,
220,
220,
220,
220,
2792,
62,
312,
87,
796,
2792,
62,
67,
291,
58,
8000,
11,
14421,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2792,
62,
312,
87,
14512,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
58,
8726,
62,
312,
87,
60,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1459,
796,
2560,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
8326,
62,
7890,
796,
3440,
62,
8326,
62,
27349,
7203,
42801,
22193,
17930,
15341,
198,
198,
2,
20486,
62,
7890,
13,
35927,
62,
28550,
26,
198,
198,
2,
8593,
5430,
1366,
422,
20486,
62,
7890,
198,
27349,
62,
3672,
796,
20486,
62,
7890,
13,
27349,
62,
3672,
198,
198,
17618,
62,
1659,
62,
89,
1952,
796,
20486,
62,
7890,
13,
17618,
62,
1659,
62,
89,
1952,
198,
17618,
62,
1659,
62,
77,
4147,
796,
20486,
62,
7890,
13,
17618,
62,
1659,
62,
77,
4147,
198,
11085,
62,
400,
622,
62,
17440,
796,
20486,
62,
7890,
13,
11085,
62,
400,
622,
62,
17440,
198,
17618,
62,
1659,
62,
28751,
796,
20486,
62,
7890,
13,
17618,
62,
1659,
62,
28751,
198,
198,
9688,
62,
17440,
796,
20486,
62,
7890,
13,
9688,
62,
17440,
198,
437,
62,
17440,
796,
20486,
62,
7890,
13,
437,
62,
17440,
198,
42404,
796,
20486,
62,
7890,
13,
42404,
198,
8726,
62,
13664,
796,
20486,
62,
7890,
13,
8726,
62,
13664,
198,
198,
5787,
62,
11125,
62,
2435,
796,
20486,
62,
7890,
13,
5787,
62,
11125,
62,
2435,
198,
33,
796,
20486,
62,
7890,
13,
33,
198,
6477,
796,
20486,
62,
7890,
13,
6477,
198,
12287,
62,
32374,
796,
20486,
62,
7890,
13,
12287,
62,
32374,
198,
83,
692,
796,
20486,
62,
7890,
13,
83,
692,
198,
8726,
62,
4906,
796,
20486,
62,
7890,
13,
8726,
62,
4906,
198,
17618,
62,
1659,
62,
89,
1952,
796,
20486,
62,
7890,
13,
17618,
62,
1659,
62,
89,
1952,
198,
23350,
62,
375,
62,
11125,
796,
20486,
62,
7890,
13,
23350,
62,
375,
62,
11125,
198,
2,
3067,
62,
28550,
796,
20486,
62,
7890,
13,
35927,
62,
28550,
198,
375,
62,
79,
3468,
796,
20486,
62,
7890,
13,
375,
62,
79,
3468,
198,
198,
83,
692,
62,
31412,
796,
20486,
62,
7890,
13,
83,
692,
62,
31412,
198,
30246,
62,
31412,
796,
20486,
62,
7890,
13,
30246,
62,
31412,
198,
198,
13466,
62,
15252,
425,
796,
20486,
62,
7890,
13,
13466,
62,
15252,
425,
198,
198,
35927,
62,
28550,
796,
1976,
27498,
7,
1731,
11,
1987,
8,
198,
198,
1640,
357,
82,
11,
83,
47505,
13083,
7,
9536,
1746,
8,
198,
220,
220,
220,
3067,
62,
28550,
58,
82,
11,
83,
60,
796,
8665,
62,
15,
58,
7,
82,
11,
83,
15437,
198,
437,
198,
198,
2,
10629,
257,
4823,
198,
34960,
796,
2251,
62,
34960,
7,
9688,
62,
17440,
11,
886,
62,
17440,
8,
198,
8726,
62,
67,
291,
796,
29877,
7,
9688,
62,
17440,
11,
886,
62,
17440,
11,
352,
25,
17618,
62,
1659,
62,
28751,
1776,
198,
198,
8818,
347,
4805,
7,
87,
8,
198,
220,
220,
220,
275,
1050,
796,
2092,
7,
87,
8,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
13664,
7,
65,
1050,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
1050,
58,
72,
60,
796,
1479,
62,
11125,
62,
2435,
58,
72,
60,
1635,
7514,
36,
2100,
7,
69,
1073,
14822,
82,
11,
2124,
58,
72,
60,
14,
42404,
58,
72,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
275,
1050,
58,
72,
60,
796,
1479,
62,
11125,
62,
2435,
58,
72,
60,
1635,
357,
352,
13,
15,
1343,
347,
58,
72,
60,
1635,
357,
87,
58,
72,
60,
14,
42404,
58,
72,
12962,
61,
6477,
58,
72,
60,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
275,
1050,
198,
437,
198,
198,
8818,
477,
62,
273,
62,
22366,
7,
35927,
62,
2435,
8,
198,
220,
220,
220,
1181,
796,
17635,
198,
220,
220,
220,
3108,
796,
17635,
198,
220,
220,
220,
2124,
796,
1976,
27498,
7,
7857,
7,
9688,
62,
17440,
4008,
628,
220,
220,
220,
329,
374,
28,
16,
25,
7857,
7,
35927,
62,
28550,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
1123,
8159,
10139,
374,
11,
1064,
35581,
13532,
284,
477,
10965,
13760,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
2566,
73,
74,
12044,
62,
19509,
395,
62,
6978,
82,
7,
34960,
11,
3067,
62,
2435,
11,
374,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
264,
28,
16,
25,
7857,
7,
35927,
62,
28550,
38381,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
1123,
10965,
10139,
264,
11,
1064,
262,
35581,
12,
6978,
15879,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3440,
3067,
3512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
2124,
1343,
3067,
62,
28550,
58,
81,
11,
82,
60,
1635,
651,
62,
31364,
7,
5219,
11,
374,
11,
264,
11,
2792,
62,
67,
291,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
27063,
257,
3599,
23498,
4610,
198,
35927,
62,
2435,
796,
347,
4805,
7,
9107,
418,
7,
17618,
62,
1659,
62,
28751,
4008,
198,
87,
75,
796,
477,
62,
273,
62,
22366,
7,
35927,
62,
2435,
1776,
198,
198,
9806,
62,
2676,
62,
3919,
796,
352,
68,
18,
198,
75,
796,
352,
198,
2,
23913,
62,
1069,
919,
62,
15805,
796,
352,
198,
83,
349,
796,
352,
68,
12,
21,
198,
198,
4514,
300,
1279,
3509,
62,
2676,
62,
3919,
198,
220,
220,
220,
300,
15853,
352,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
75,
62,
727,
796,
2124,
75,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
27063,
331,
75,
198,
220,
220,
220,
3067,
62,
2435,
796,
347,
4805,
7,
87,
75,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
331,
75,
796,
477,
62,
273,
62,
22366,
7,
35927,
62,
2435,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
6818,
7,
2645,
14512,
2124,
75,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
75,
796,
2124,
75,
1343,
357,
2645,
532,
2124,
75,
20679,
75,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
75,
62,
3605,
796,
2124,
75,
198,
220,
220,
220,
220,
198,
220,
220,
220,
3585,
62,
43554,
796,
2593,
7,
87,
75,
62,
3605,
532,
2124,
75,
62,
727,
11,
352,
8,
1220,
2593,
7,
87,
75,
62,
3605,
11,
352,
8,
198,
198,
2,
220,
220,
220,
220,
611,
300,
4064,
5323,
6624,
657,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
75,
796,
720,
75,
47232,
59,
77,
4943,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
43762,
62,
43554,
318,
720,
43762,
62,
43554,
59,
77,
4943,
198,
2,
220,
220,
220,
220,
886,
628,
220,
220,
220,
611,
3585,
62,
43554,
1279,
284,
75,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
75,
796,
720,
75,
47232,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
43762,
62,
43554,
318,
720,
43762,
62,
43554,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
437,
198,
198,
44335,
7414,
1666,
796,
360,
713,
90,
7,
5317,
2414,
11,
5317,
2414,
828,
43879,
2414,
92,
3419,
198,
198,
1640,
1312,
796,
352,
25,
13664,
7,
8326,
62,
7890,
13,
9688,
62,
17440,
8,
198,
220,
220,
220,
1994,
796,
357,
8326,
62,
7890,
13,
9688,
62,
17440,
58,
72,
4357,
20486,
62,
7890,
13,
437,
62,
17440,
58,
72,
12962,
198,
220,
220,
220,
9814,
7414,
1666,
58,
2539,
60,
796,
2124,
75,
58,
72,
60,
198,
437,
198,
198,
2,
44335,
7414,
1666,
198,
198,
2,
44041,
198,
198,
2,
69,
1073,
14822,
82,
198,
198,
8818,
473,
7,
87,
11,
257,
8,
220,
1303,
15284,
262,
13027,
28486,
286,
269,
62,
64,
266,
13,
81,
13,
83,
13,
2124,
62,
64,
198,
220,
220,
220,
6818,
7,
64,
19841,
4129,
7,
87,
8,
11405,
257,
18189,
352,
8,
198,
220,
220,
220,
299,
796,
4129,
7,
69,
1073,
14822,
82,
8,
198,
220,
220,
220,
288,
10210,
87,
796,
657,
198,
220,
220,
220,
329,
1312,
28,
17,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
288,
10210,
87,
15853,
357,
72,
12,
16,
8,
1635,
277,
1073,
14822,
82,
58,
72,
60,
1635,
357,
87,
58,
64,
60,
14,
42404,
58,
64,
12962,
61,
7,
72,
12,
17,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
288,
10210,
87,
1635,
28,
1479,
62,
11125,
62,
2435,
58,
64,
60,
14,
42404,
58,
64,
60,
198,
220,
220,
220,
1441,
288,
10210,
87,
198,
437,
198,
198,
87,
796,
1976,
27498,
7,
7857,
7,
9688,
62,
17440,
4008,
198,
1640,
479,
796,
352,
25,
13664,
7,
87,
8,
198,
220,
220,
220,
1994,
796,
357,
600,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
3,
7,
74,
12,
16,
16725,
4357,
705,
4032,
38381,
16,
46570,
493,
7,
35312,
7,
8726,
62,
18242,
62,
11600,
14692,
3,
7,
74,
12,
16,
16725,
4357,
705,
4032,
38381,
17,
60,
4008,
198,
220,
220,
220,
2124,
58,
74,
60,
796,
9814,
7414,
1666,
58,
2539,
60,
198,
437,
198,
198,
87,
198,
198,
2235,
1835,
3153,
39280,
9464,
7,
43839,
31944,
27007,
59,
47172,
1391,
66,
62,
64,
32239,
9464,
7,
22935,
70,
61,
75,
11709,
3467,
3506,
8,
11709,
27007,
59,
47172,
1391,
85,
62,
64,
11709,
19629,
64,
3467,
259,
3467,
11018,
9948,
90,
32,
11709,
3467,
3506,
8,
3,
220,
198,
198,
11400,
53,
721,
796,
2092,
7,
87,
8,
198,
1640,
257,
796,
352,
25,
13664,
7,
87,
8,
198,
220,
220,
220,
473,
53,
721,
58,
64,
60,
796,
473,
7,
87,
11,
257,
8,
198,
437,
198,
198,
2,
473,
53,
721,
58,
16,
25,
20,
60,
198,
198,
2,
2220,
31245,
5166,
12,
38629,
18349,
198,
375,
47,
958,
43401,
796,
1100,
439,
7203,
375,
62,
24874,
62,
38629,
62,
1939,
1704,
62,
42801,
22193,
13,
17752,
15341,
198,
375,
47,
958,
43401,
796,
19449,
13,
29572,
7,
375,
47,
958,
43401,
1776,
198,
198,
2,
2220,
2792,
12,
38629,
18349,
198,
8726,
43401,
796,
1100,
439,
7203,
8726,
62,
38629,
62,
1939,
1704,
62,
42801,
22193,
13,
17752,
15341,
198,
8726,
43401,
796,
19449,
13,
29572,
7,
8726,
43401,
1776,
198,
198,
2,
2220,
31245,
5166,
14722,
198,
375,
47,
958,
33986,
796,
1100,
439,
7203,
375,
62,
24874,
62,
18242,
62,
11600,
62,
42801,
22193,
13,
17752,
15341,
198,
375,
47,
958,
33986,
796,
19449,
13,
29572,
7,
375,
47,
958,
33986,
1776,
198,
198,
375,
47,
958,
33986,
62,
796,
1100,
439,
7203,
375,
62,
24874,
62,
18242,
62,
11600,
834,
42801,
22193,
13,
17752,
15341,
198,
375,
47,
958,
33986,
62,
796,
19449,
13,
29572,
7,
375,
47,
958,
33986,
62,
1776,
198,
198,
2,
4911,
262,
3512,
1366,
355,
15879,
357,
18747,
8,
198,
198,
9536,
1746,
53,
721,
796,
1976,
27498,
7,
13664,
7,
9536,
1746,
4008,
198,
198,
1640,
1312,
796,
352,
25,
13664,
7,
9536,
1746,
53,
721,
8,
198,
220,
220,
220,
8665,
53,
721,
58,
72,
60,
796,
8665,
62,
15,
58,
7,
375,
47,
958,
33986,
62,
14692,
3,
72,
1,
7131,
16,
4357,
16298,
47,
958,
33986,
62,
14692,
3,
72,
1,
7131,
17,
12962,
60,
198,
437,
198,
198,
9536,
1746,
53,
721,
58,
16,
25,
20,
60,
198,
198,
2,
10385,
262,
3512,
1366,
656,
22155,
198,
198,
9536,
1746,
35,
713,
796,
2092,
7,
9536,
1746,
8,
198,
198,
1640,
1994,
796,
8251,
7,
9536,
1746,
8,
198,
220,
220,
220,
8665,
35,
713,
58,
2539,
60,
796,
8665,
53,
721,
58,
375,
47,
958,
33986,
14692,
16763,
7,
2539,
58,
16,
46570,
29568,
2539,
58,
17,
60,
4008,
8973,
60,
198,
437,
198,
198,
2,
366,
16,
12,
2167,
1,
287,
8251,
7,
375,
47,
958,
43401,
8,
198,
198,
22510,
31815,
796,
2546,
7,
9688,
62,
17440,
38381,
16,
60,
198,
22510,
49,
448,
274,
796,
4129,
7,
375,
47,
958,
43401,
8,
198,
22510,
3727,
79,
3468,
796,
997,
45,
4147,
1635,
357,
22510,
45,
4147,
532,
352,
8,
198
] | 2.201513 | 7,801 |
include("../src/PersistenceDiagram.jl") | [
17256,
7203,
40720,
10677,
14,
30946,
13274,
18683,
6713,
13,
20362,
4943
] | 3.25 | 12 |
using Trilinos
using Test
using MPI
if Test.get_testset_depth() == 0
MPI.Init()
end
comm = Teuchos.MpiComm(MPI.CComm(MPI.COMM_WORLD))
const n = 20
rowmap0 = Tpetra.Map(n, 0, comm)
@test Tpetra.getIndexBase(rowmap0) == 0
rowmap1 = Tpetra.Map(n, 1, comm)
@test Tpetra.getIndexBase(rowmap1) == 1
if Test.get_testset_depth() == 0
MPI.Finalize()
end
| [
3500,
833,
346,
11996,
198,
3500,
6208,
198,
3500,
4904,
40,
198,
198,
361,
6208,
13,
1136,
62,
9288,
2617,
62,
18053,
3419,
6624,
657,
198,
220,
4904,
40,
13,
31768,
3419,
198,
437,
198,
198,
9503,
796,
1665,
794,
418,
13,
44,
14415,
6935,
7,
7378,
40,
13,
4093,
2002,
7,
7378,
40,
13,
9858,
44,
62,
45359,
11163,
4008,
198,
198,
9979,
299,
796,
1160,
198,
198,
808,
8899,
15,
796,
309,
6449,
430,
13,
13912,
7,
77,
11,
657,
11,
725,
8,
198,
31,
9288,
309,
6449,
430,
13,
1136,
15732,
14881,
7,
808,
8899,
15,
8,
6624,
657,
198,
198,
808,
8899,
16,
796,
309,
6449,
430,
13,
13912,
7,
77,
11,
352,
11,
725,
8,
198,
31,
9288,
309,
6449,
430,
13,
1136,
15732,
14881,
7,
808,
8899,
16,
8,
6624,
352,
198,
198,
361,
6208,
13,
1136,
62,
9288,
2617,
62,
18053,
3419,
6624,
657,
198,
220,
4904,
40,
13,
19006,
1096,
3419,
198,
437,
198
] | 2.191358 | 162 |
# ----------------------------------------------------------------------------
# This file was autogenerated by /dev/parse-SeeK.jl.
# It contains data included in the SeeK-path package (github.com/giovannipizzi/seekpath).
# The SeeK-path package is licensed under the MIT license, a copy of which is
# included below.
# ----------------------------------------------------------------------------
const pathsd_3d = Dict(
:hR1 => [[:Γ, :T, :H₂], [:H₀, :L, :Γ, :S₀], [:S₂, :F, :Γ]],
:tI2 => [[:Γ, :X, :P, :N, :Γ, :M, :S], [:S₀, :Γ], [:X, :R], [:G, :M]],
:tI1 => [[:Γ, :X, :M, :Γ, :Z], [:Z₀, :M], [:X, :P, :N, :Γ]],
:cP1 => [[:Γ, :X, :M, :Γ, :R, :X], [:R, :M, :X₁]],
:oC2 => [[:Γ, :Y, :F₀], [:Δ₀, :Γ, :Z, :B₀], [:G₀, :T, :Y], [:Γ, :S, :R, :Z, :T]],
:oI3 => [[:Γ, :X, :F₀], [:Σ₀, :Γ, :Λ₀], [:G₀, :X], [:Γ, :R, :W, :S, :Γ, :T, :W]],
:oP1 => [[:Γ, :X, :S, :Y, :Γ, :Z, :U, :R, :T, :Z], [:X, :U], [:Y, :T], [:S, :R]],
:oA1 => [[:Γ, :Y, :C₀], [:Σ₀, :Γ, :Z, :A₀], [:E₀, :T, :Y], [:Γ, :S, :R, :Z, :T]],
:mC1 => [[:Γ, :C], [:C₂, :Y₂, :Γ, :M₂, :D], [:D₂, :A, :Γ], [:L₂, :Γ, :V₂]],
:oI2 => [[:Γ, :X, :U₂], [:Y₀, :Γ, :Λ₀], [:G₂, :X], [:Γ, :R, :W, :S, :Γ, :T, :W]],
:hP1 => [[:Γ, :M, :K, :Γ, :A, :L, :H, :A], [:L, :M], [:H, :K, :H₂]],
:tP1 => [[:Γ, :X, :M, :Γ, :Z, :R, :A, :Z], [:X, :R], [:M, :A]],
:cI1 => [[:Γ, :H, :N, :Γ, :P, :H], [:P, :N]],
:mC3 => [[:Γ, :A, :I₂], [:I, :M₂, :Γ, :Y], [:L₂, :Γ, :V₂]],
:hP2 => [[:Γ, :M, :K, :Γ, :A, :L, :H, :A], [:L, :M], [:H, :K]],
:hR2 => [[:Γ, :L, :T, :P₀], [:P₂, :Γ, :F]],
:cF1 => [[:Γ, :X, :U], [:K, :Γ, :L, :W, :X, :W₂]],
:oA2 => [[:Γ, :Y, :F₀], [:Δ₀, :Γ, :Z, :B₀], [:G₀, :T, :Y], [:Γ, :S, :R, :Z, :T]],
:cP2 => [[:Γ, :X, :M, :Γ, :R, :X], [:R, :M]],
:aP2 => [[:Γ, :X], [:Y, :Γ, :Z], [:R, :Γ, :T], [:U, :Γ, :V]],
:oF1 => [[:Γ, :Y, :T, :Z, :Γ, :Σ₀], [:U₀, :T], [:Y, :C₀], [:A₀, :Z], [:Γ, :L]],
:oC1 => [[:Γ, :Y, :C₀], [:Σ₀, :Γ, :Z, :A₀], [:E₀, :T, :Y], [:Γ, :S, :R, :Z, :T]],
:aP3 => [[:Γ, :X], [:Y, :Γ, :Z], [:R₂, :Γ, :T₂], [:U₂, :Γ, :V₂]],
:mC2 => [[:Γ, :Y, :M, :A, :Γ], [:L₂, :Γ, :V₂]],
:oI1 => [[:Γ, :X, :F₂], [:Σ₀, :Γ, :Y₀], [:U₀, :X], [:Γ, :R, :W, :S, :Γ, :T, :W]],
:mP1 => [[:Γ, :Z, :D, :B, :Γ, :A, :E, :Z, :C₂, :Y₂, :Γ]],
:cF2 => [[:Γ, :X, :U], [:K, :Γ, :L, :W, :X]],
:oF2 => [[:Γ, :T, :Z, :Y, :Γ, :Λ₀], [:Q₀, :Z], [:T, :G₀], [:H₀, :Y], [:Γ, :L]],
:oF3 => [[:Γ, :Y, :C₀], [:A₀, :Z, :B₀], [:D₀, :T, :G₀], [:H₀, :Y], [:T, :Γ, :Z], [:Γ, :L]],
)
const pointsd_3d = Dict(
:hR1 => [:Γ => :([0, 0, 0]), :T => :([1 / 2, 1 / 2, 1 / 2]), :L => :([1 / 2, 0, 0]), :F => :([1 / 2, 0, 1 / 2]), :S₀ => :([N, -N, 0]), :S₂ => :([1 - N, 0, N]), :H₀ => :([1 / 2, -1 + Y, 1 - Y]), :H₂ => :([Y, 1 - Y, 1 / 2])],
:tI2 => [:Γ => :([0, 0, 0]), :M => :([1 / 2, 1 / 2, -1 / 2]), :X => :([0, 0, 1 / 2]), :P => :([1 / 4, 1 / 4, 1 / 4]), :N => :([0, 1 / 2, 0]), :S₀ => :([-H, H, H]), :S => :([H, 1 - H, -H]), :R => :([-Z, Z, 1 / 2]), :G => :([1 / 2, 1 / 2, -Z])],
:tI1 => [:Γ => :([0, 0, 0]), :M => :([-1 / 2, 1 / 2, 1 / 2]), :X => :([0, 0, 1 / 2]), :P => :([1 / 4, 1 / 4, 1 / 4]), :Z => :([H, H, -H]), :Z₀ => :([-H, 1 - H, H]), :N => :([0, 1 / 2, 0])],
:cP1 => [:Γ => :([0, 0, 0]), :R => :([1 / 2, 1 / 2, 1 / 2]), :M => :([1 / 2, 1 / 2, 0]), :X => :([0, 1 / 2, 0]), :X₁ => :([1 / 2, 0, 0])],
:oC2 => [:Γ => :([0, 0, 0]), :Y => :([1 / 2, 1 / 2, 0]), :T => :([1 / 2, 1 / 2, 1 / 2]), :Z => :([0, 0, 1 / 2]), :S => :([0, 1 / 2, 0]), :R => :([0, 1 / 2, 1 / 2]), :Δ₀ => :([-X, X, 0]), :F₀ => :([X, 1 - X, 0]), :B₀ => :([-X, X, 1 / 2]), :G₀ => :([X, 1 - X, 1 / 2])],
:oI3 => [:Γ => :([0, 0, 0]), :X => :([1 / 2, -1 / 2, 1 / 2]), :S => :([1 / 2, 0, 0]), :R => :([0, 1 / 2, 0]), :T => :([0, 0, 1 / 2]), :W => :([1 / 4, 1 / 4, 1 / 4]), :Σ₀ => :([-Y, Y, Y]), :F₀ => :([Y, -Y, 1 - Y]), :Λ₀ => :([Z, Z, -Z]), :G₀ => :([1 - Z, -Z, Z])],
:oP1 => [:Γ => :([0, 0, 0]), :X => :([1 / 2, 0, 0]), :Z => :([0, 0, 1 / 2]), :U => :([1 / 2, 0, 1 / 2]), :Y => :([0, 1 / 2, 0]), :S => :([1 / 2, 1 / 2, 0]), :T => :([0, 1 / 2, 1 / 2]), :R => :([1 / 2, 1 / 2, 1 / 2])],
:oA1 => [:Γ => :([0, 0, 0]), :Y => :([-1 / 2, 1 / 2, 0]), :T => :([-1 / 2, 1 / 2, 1 / 2]), :Z => :([0, 0, 1 / 2]), :S => :([0, 1 / 2, 0]), :R => :([0, 1 / 2, 1 / 2]), :Σ₀ => :([X, X, 0]), :C₀ => :([-X, 1 - X, 0]), :A₀ => :([X, X, 1 / 2]), :E₀ => :([-X, 1 - X, 1 / 2])],
:mC1 => [:Γ => :([0, 0, 0]), :Y₂ => :([-1 / 2, 1 / 2, 0]), :A => :([0, 0, 1 / 2]), :M₂ => :([-1 / 2, 1 / 2, 1 / 2]), :V₂ => :([0, 1 / 2, 0]), :L₂ => :([0, 1 / 2, 1 / 2]), :C => :([1 - S, 1 - S, 0]), :C₂ => :([-1 + S, S, 0]), :D => :([-1 + P, P, 1 / 2]), :D₂ => :([1 - P, 1 - P, 1 / 2])],
:oI2 => [:Γ => :([0, 0, 0]), :X => :([-1 / 2, 1 / 2, 1 / 2]), :S => :([1 / 2, 0, 0]), :R => :([0, 1 / 2, 0]), :T => :([0, 0, 1 / 2]), :W => :([1 / 4, 1 / 4, 1 / 4]), :Y₀ => :([Z, -Z, Z]), :U₂ => :([-Z, Z, 1 - Z]), :Λ₀ => :([H, H, -H]), :G₂ => :([-H, 1 - H, H])],
:hP1 => [:Γ => :([0, 0, 0]), :A => :([0, 0, 1 / 2]), :K => :([1 / 3, 1 / 3, 0]), :H => :([1 / 3, 1 / 3, 1 / 2]), :H₂ => :([1 / 3, 1 / 3, -1 / 2]), :M => :([1 / 2, 0, 0]), :L => :([1 / 2, 0, 1 / 2])],
:tP1 => [:Γ => :([0, 0, 0]), :Z => :([0, 0, 1 / 2]), :M => :([1 / 2, 1 / 2, 0]), :A => :([1 / 2, 1 / 2, 1 / 2]), :R => :([0, 1 / 2, 1 / 2]), :X => :([0, 1 / 2, 0])],
:cI1 => [:Γ => :([0, 0, 0]), :H => :([1 / 2, -1 / 2, 1 / 2]), :P => :([1 / 4, 1 / 4, 1 / 4]), :N => :([0, 0, 1 / 2])],
:mC3 => [:Γ => :([0, 0, 0]), :Y => :([1 / 2, 1 / 2, 0]), :A => :([0, 0, 1 / 2]), :M₂ => :([-1 / 2, 1 / 2, 1 / 2]), :V₂ => :([0, 1 / 2, 0]), :L₂ => :([0, 1 / 2, 1 / 2]), :I => :([-1 + R, R, 1 / 2]), :I₂ => :([1 - R, 1 - R, 1 / 2])],
:hP2 => [:Γ => :([0, 0, 0]), :A => :([0, 0, 1 / 2]), :K => :([1 / 3, 1 / 3, 0]), :H => :([1 / 3, 1 / 3, 1 / 2]), :M => :([1 / 2, 0, 0]), :L => :([1 / 2, 0, 1 / 2])],
:hR2 => [:Γ => :([0, 0, 0]), :T => :([1 / 2, -1 / 2, 1 / 2]), :P₀ => :([H, -1 + H, H]), :P₂ => :([H, H, H]), :L => :([1 / 2, 0, 0]), :F => :([1 / 2, -1 / 2, 0])],
:cF1 => [:Γ => :([0, 0, 0]), :X => :([1 / 2, 0, 1 / 2]), :L => :([1 / 2, 1 / 2, 1 / 2]), :W => :([1 / 2, 1 / 4, 3 / 4]), :W₂ => :([3 / 4, 1 / 4, 1 / 2]), :K => :([3 / 8, 3 / 8, 3 / 4]), :U => :([5 / 8, 1 / 4, 5 / 8])],
:oA2 => [:Γ => :([0, 0, 0]), :Y => :([1 / 2, 1 / 2, 0]), :T => :([1 / 2, 1 / 2, 1 / 2]), :Z => :([0, 0, 1 / 2]), :S => :([0, 1 / 2, 0]), :R => :([0, 1 / 2, 1 / 2]), :Δ₀ => :([-X, X, 0]), :F₀ => :([X, 1 - X, 0]), :B₀ => :([-X, X, 1 / 2]), :G₀ => :([X, 1 - X, 1 / 2])],
:cP2 => [:Γ => :([0, 0, 0]), :R => :([1 / 2, 1 / 2, 1 / 2]), :M => :([1 / 2, 1 / 2, 0]), :X => :([0, 1 / 2, 0])],
:aP2 => [:Γ => :([0, 0, 0]), :Z => :([0, 0, 1 / 2]), :Y => :([0, 1 / 2, 0]), :X => :([1 / 2, 0, 0]), :V => :([1 / 2, 1 / 2, 0]), :U => :([1 / 2, 0, 1 / 2]), :T => :([0, 1 / 2, 1 / 2]), :R => :([1 / 2, 1 / 2, 1 / 2])],
:oF1 => [:Γ => :([0, 0, 0]), :T => :([1, 1 / 2, 1 / 2]), :Z => :([1 / 2, 1 / 2, 0]), :Y => :([1 / 2, 0, 1 / 2]), :Σ₀ => :([0, H, H]), :U₀ => :([1, 1 - H, 1 - H]), :A₀ => :([1 / 2, 1 / 2 + J, J]), :C₀ => :([1 / 2, 1 / 2 - J, 1 - J]), :L => :([1 / 2, 1 / 2, 1 / 2])],
:oC1 => [:Γ => :([0, 0, 0]), :Y => :([-1 / 2, 1 / 2, 0]), :T => :([-1 / 2, 1 / 2, 1 / 2]), :Z => :([0, 0, 1 / 2]), :S => :([0, 1 / 2, 0]), :R => :([0, 1 / 2, 1 / 2]), :Σ₀ => :([X, X, 0]), :C₀ => :([-X, 1 - X, 0]), :A₀ => :([X, X, 1 / 2]), :E₀ => :([-X, 1 - X, 1 / 2])],
:aP3 => [:Γ => :([0, 0, 0]), :Z => :([0, 0, 1 / 2]), :Y => :([0, 1 / 2, 0]), :X => :([1 / 2, 0, 0]), :V₂ => :([1 / 2, -1 / 2, 0]), :U₂ => :([-1 / 2, 0, 1 / 2]), :T₂ => :([0, -1 / 2, 1 / 2]), :R₂ => :([-1 / 2, -1 / 2, 1 / 2])],
:mC2 => [:Γ => :([0, 0, 0]), :Y => :([1 / 2, 1 / 2, 0]), :A => :([0, 0, 1 / 2]), :M => :([1 / 2, 1 / 2, 1 / 2]), :V₂ => :([0, 1 / 2, 0]), :L₂ => :([0, 1 / 2, 1 / 2])],
:oI1 => [:Γ => :([0, 0, 0]), :X => :([1 / 2, 1 / 2, -1 / 2]), :S => :([1 / 2, 0, 0]), :R => :([0, 1 / 2, 0]), :T => :([0, 0, 1 / 2]), :W => :([1 / 4, 1 / 4, 1 / 4]), :Σ₀ => :([-Z, Z, Z]), :F₂ => :([Z, 1 - Z, -Z]), :Y₀ => :([H, -H, H]), :U₀ => :([1 - H, H, -H])],
:mP1 => [:Γ => :([0, 0, 0]), :Z => :([0, 1 / 2, 0]), :B => :([0, 0, 1 / 2]), :Y₂ => :([-1 / 2, 0, 0]), :C₂ => :([-1 / 2, 1 / 2, 0]), :D => :([0, 1 / 2, 1 / 2]), :A => :([-1 / 2, 0, 1 / 2]), :E => :([-1 / 2, 1 / 2, 1 / 2])],
:cF2 => [:Γ => :([0, 0, 0]), :X => :([1 / 2, 0, 1 / 2]), :L => :([1 / 2, 1 / 2, 1 / 2]), :W => :([1 / 2, 1 / 4, 3 / 4]), :K => :([3 / 8, 3 / 8, 3 / 4]), :U => :([5 / 8, 1 / 4, 5 / 8])],
:oF2 => [:Γ => :([0, 0, 0]), :T => :([0, 1 / 2, 1 / 2]), :Z => :([1 / 2, 1 / 2, 1]), :Y => :([1 / 2, 0, 1 / 2]), :Λ₀ => :([K, K, 0]), :Q₀ => :([1 - K, 1 - K, 1]), :G₀ => :([1 / 2 - J, 1 - J, 1 / 2]), :H₀ => :([1 / 2 + J, J, 1 / 2]), :L => :([1 / 2, 1 / 2, 1 / 2])],
:oF3 => [:Γ => :([0, 0, 0]), :T => :([0, 1 / 2, 1 / 2]), :Z => :([1 / 2, 1 / 2, 0]), :Y => :([1 / 2, 0, 1 / 2]), :A₀ => :([1 / 2, 1 / 2 + H, H]), :C₀ => :([1 / 2, 1 / 2 - H, 1 - H]), :B₀ => :([1 / 2 + K, 1 / 2, K]), :D₀ => :([1 / 2 - K, 1 / 2, 1 - K]), :G₀ => :([P, 1 / 2 + P, 1 / 2]), :H₀ => :([1 - P, 1 / 2 - P, 1 / 2]), :L => :([1 / 2, 1 / 2, 1 / 2])],
)
const paramsd_3d = Dict(
:hR1 => [:D => :((((a * a) / 4) / c) / c), :Y => :(5 / 6 - 2D), :N => :(1 / 3 + D)],
:tI2 => [:H => :((1 + ((a * a) / c) / c) / 4), :Z => :((((a * a) / 2) / c) / c)],
:tI1 => [:H => :((1 + ((c * c) / a) / a) / 4)],
:oC2 => [:X => :((1 + ((b * b) / a) / a) / 4)],
:oI3 => [:Z => :((1 + ((c * c) / b) / b) / 4), :Y => :((1 + ((a * a) / b) / b) / 4), :D => :((((a * a - c * c) / 4) / b) / b), :M => :((((c * c + a * a) / 4) / b) / b)],
:oA1 => [:X => :((1 + ((b * b) / c) / c) / 4)],
:mC1 => [:Z => :((((2 + (a / c) * cosβ) / 4) / sinβ) / sinβ), :H => :(1 / 2 - (2 * Z * c * cosβ) / a), :S => :(3 / 4 - (((((b * b) / 4) / a) / a) / sinβ) / sinβ), :P => :(S - ((3 / 4 - S) * a * cosβ) / c)],
:oI2 => [:Z => :((1 + ((b * b) / a) / a) / 4), :H => :((1 + ((c * c) / a) / a) / 4), :D => :((((c * c - b * b) / 4) / a) / a), :N => :((((b * b + c * c) / 4) / a) / a)],
:mC3 => [:Z => :((((a * a) / b) / b + ((1 + (a / c) * cosβ) / sinβ) / sinβ) / 4), :R => :(1 - ((Z * b * b) / a) / a), :E => :(1 / 2 - (2 * Z * c * cosβ) / a), :F => :(E / 2 + (((a * a) / 4) / b) / b + (((a * c * cosβ) / 2) / b) / b), :U => :(2F - Z), :W => :((((c / 2) / a) / cosβ) * ((1 - 4U) + ((a * a * sinβ * sinβ) / b) / b)), :D => :((-1 / 4 + W / 2) - (Z * c * cosβ) / a)],
:hR2 => [:Z => :(1 / 6 - (((c * c) / 9) / a) / a), :H => :(1 / 2 - 2Z), :N => :(1 / 2 + Z)],
:oA2 => [:X => :((1 + ((c * c) / b) / b) / 4)],
:oF1 => [:J => :(((1 + ((a * a) / b) / b) - ((a * a) / c) / c) / 4), :H => :((1 + ((a * a) / b) / b + ((a * a) / c) / c) / 4)],
:oC1 => [:X => :((1 + ((a * a) / b) / b) / 4)],
:mC2 => [:Z => :((((a * a) / b) / b + ((1 + (a / c) * cosβ) / sinβ) / sinβ) / 4), :M => :((1 + ((a * a) / b) / b) / 4), :D => :((((-a * c * cosβ) / 2) / b) / b), :X => :(1 / 2 - (2 * Z * c * cosβ) / a), :P => :((1 + Z) - 2M), :S => :(X - 2D)],
:oI1 => [:Z => :((1 + ((a * a) / c) / c) / 4), :H => :((1 + ((b * b) / c) / c) / 4), :D => :((((b * b - a * a) / 4) / c) / c), :N => :((((a * a + b * b) / 4) / c) / c)],
:mP1 => [:Y => :((((1 + (a / c) * cosβ) / 2) / sinβ) / sinβ), :N => :(1 / 2 + (Y * c * cosβ) / a)],
:oF2 => [:J => :(((1 + ((c * c) / a) / a) - ((c * c) / b) / b) / 4), :K => :((1 + ((c * c) / a) / a + ((c * c) / b) / b) / 4)],
:oF3 => [:H => :(((1 + ((a * a) / b) / b) - ((a * a) / c) / c) / 4), :K => :(((1 + ((b * b) / a) / a) - ((b * b) / c) / c) / 4), :P => :(((1 + ((c * c) / b) / b) - ((c * c) / a) / a) / 4)],
)
# ------------------ COPY OF GIOVANNIPIZZI/SEEKPATH LICENSE ------------------
# The MIT License (MIT)
#
# Copyright (c), 2016-2018, Giovanni Pizzi, ECOLE POLYTECHNIQUE FEDERALE DE
# LAUSANNE (Theory and Simulation of Materials (THEOS) and National Centre for
# Computational Design and Discovery of Novel Materials (NCCR MARVEL)),
# Switzerland. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
# ---
#
# For a list of open-source software included in this repository, see the file
# open_source_linceses.txt.
# ---------------------------------------------------------------------------- | [
2,
16529,
10541,
198,
2,
770,
2393,
373,
1960,
519,
877,
515,
416,
1220,
7959,
14,
29572,
12,
6214,
42,
13,
20362,
13,
198,
2,
632,
4909,
1366,
3017,
287,
262,
4091,
42,
12,
6978,
5301,
357,
12567,
13,
785,
14,
12397,
709,
1236,
541,
6457,
72,
14,
36163,
6978,
737,
198,
2,
383,
4091,
42,
12,
6978,
5301,
318,
11971,
739,
262,
17168,
5964,
11,
257,
4866,
286,
543,
318,
198,
2,
3017,
2174,
13,
198,
2,
16529,
10541,
198,
198,
9979,
13532,
67,
62,
18,
67,
796,
360,
713,
7,
198,
220,
220,
1058,
71,
49,
16,
5218,
16410,
25,
138,
241,
11,
1058,
51,
11,
1058,
39,
158,
224,
224,
4357,
685,
25,
39,
158,
224,
222,
11,
1058,
43,
11,
1058,
138,
241,
11,
1058,
50,
158,
224,
222,
4357,
685,
25,
50,
158,
224,
224,
11,
1058,
37,
11,
1058,
138,
241,
60,
4357,
198,
220,
220,
1058,
83,
40,
17,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
47,
11,
1058,
45,
11,
1058,
138,
241,
11,
1058,
44,
11,
1058,
50,
4357,
685,
25,
50,
158,
224,
222,
11,
1058,
138,
241,
4357,
685,
25,
55,
11,
1058,
49,
4357,
685,
25,
38,
11,
1058,
44,
60,
4357,
198,
220,
220,
1058,
83,
40,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
44,
11,
1058,
138,
241,
11,
1058,
57,
4357,
685,
25,
57,
158,
224,
222,
11,
1058,
44,
4357,
685,
25,
55,
11,
1058,
47,
11,
1058,
45,
11,
1058,
138,
241,
60,
4357,
198,
220,
220,
1058,
66,
47,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
44,
11,
1058,
138,
241,
11,
1058,
49,
11,
1058,
55,
4357,
685,
25,
49,
11,
1058,
44,
11,
1058,
55,
158,
224,
223,
60,
4357,
198,
220,
220,
1058,
78,
34,
17,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
37,
158,
224,
222,
4357,
685,
25,
138,
242,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
33,
158,
224,
222,
4357,
685,
25,
38,
158,
224,
222,
11,
1058,
51,
11,
1058,
56,
4357,
685,
25,
138,
241,
11,
1058,
50,
11,
1058,
49,
11,
1058,
57,
11,
1058,
51,
60,
4357,
198,
220,
220,
1058,
78,
40,
18,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
37,
158,
224,
222,
4357,
685,
25,
138,
96,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
138,
249,
158,
224,
222,
4357,
685,
25,
38,
158,
224,
222,
11,
1058,
55,
4357,
685,
25,
138,
241,
11,
1058,
49,
11,
1058,
54,
11,
1058,
50,
11,
1058,
138,
241,
11,
1058,
51,
11,
1058,
54,
60,
4357,
198,
220,
220,
1058,
78,
47,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
50,
11,
1058,
56,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
52,
11,
1058,
49,
11,
1058,
51,
11,
1058,
57,
4357,
685,
25,
55,
11,
1058,
52,
4357,
685,
25,
56,
11,
1058,
51,
4357,
685,
25,
50,
11,
1058,
49,
60,
4357,
198,
220,
220,
1058,
78,
32,
16,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
34,
158,
224,
222,
4357,
685,
25,
138,
96,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
32,
158,
224,
222,
4357,
685,
25,
36,
158,
224,
222,
11,
1058,
51,
11,
1058,
56,
4357,
685,
25,
138,
241,
11,
1058,
50,
11,
1058,
49,
11,
1058,
57,
11,
1058,
51,
60,
4357,
198,
220,
220,
1058,
76,
34,
16,
5218,
16410,
25,
138,
241,
11,
1058,
34,
4357,
685,
25,
34,
158,
224,
224,
11,
1058,
56,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
44,
158,
224,
224,
11,
1058,
35,
4357,
685,
25,
35,
158,
224,
224,
11,
1058,
32,
11,
1058,
138,
241,
4357,
685,
25,
43,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
53,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
78,
40,
17,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
52,
158,
224,
224,
4357,
685,
25,
56,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
138,
249,
158,
224,
222,
4357,
685,
25,
38,
158,
224,
224,
11,
1058,
55,
4357,
685,
25,
138,
241,
11,
1058,
49,
11,
1058,
54,
11,
1058,
50,
11,
1058,
138,
241,
11,
1058,
51,
11,
1058,
54,
60,
4357,
198,
220,
220,
1058,
71,
47,
16,
5218,
16410,
25,
138,
241,
11,
1058,
44,
11,
1058,
42,
11,
1058,
138,
241,
11,
1058,
32,
11,
1058,
43,
11,
1058,
39,
11,
1058,
32,
4357,
685,
25,
43,
11,
1058,
44,
4357,
685,
25,
39,
11,
1058,
42,
11,
1058,
39,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
83,
47,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
44,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
49,
11,
1058,
32,
11,
1058,
57,
4357,
685,
25,
55,
11,
1058,
49,
4357,
685,
25,
44,
11,
1058,
32,
60,
4357,
198,
220,
220,
1058,
66,
40,
16,
5218,
16410,
25,
138,
241,
11,
1058,
39,
11,
1058,
45,
11,
1058,
138,
241,
11,
1058,
47,
11,
1058,
39,
4357,
685,
25,
47,
11,
1058,
45,
60,
4357,
198,
220,
220,
1058,
76,
34,
18,
5218,
16410,
25,
138,
241,
11,
1058,
32,
11,
1058,
40,
158,
224,
224,
4357,
685,
25,
40,
11,
1058,
44,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
56,
4357,
685,
25,
43,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
53,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
71,
47,
17,
5218,
16410,
25,
138,
241,
11,
1058,
44,
11,
1058,
42,
11,
1058,
138,
241,
11,
1058,
32,
11,
1058,
43,
11,
1058,
39,
11,
1058,
32,
4357,
685,
25,
43,
11,
1058,
44,
4357,
685,
25,
39,
11,
1058,
42,
60,
4357,
198,
220,
220,
1058,
71,
49,
17,
5218,
16410,
25,
138,
241,
11,
1058,
43,
11,
1058,
51,
11,
1058,
47,
158,
224,
222,
4357,
685,
25,
47,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
37,
60,
4357,
198,
220,
220,
1058,
66,
37,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
52,
4357,
685,
25,
42,
11,
1058,
138,
241,
11,
1058,
43,
11,
1058,
54,
11,
1058,
55,
11,
1058,
54,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
78,
32,
17,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
37,
158,
224,
222,
4357,
685,
25,
138,
242,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
33,
158,
224,
222,
4357,
685,
25,
38,
158,
224,
222,
11,
1058,
51,
11,
1058,
56,
4357,
685,
25,
138,
241,
11,
1058,
50,
11,
1058,
49,
11,
1058,
57,
11,
1058,
51,
60,
4357,
198,
220,
220,
1058,
66,
47,
17,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
44,
11,
1058,
138,
241,
11,
1058,
49,
11,
1058,
55,
4357,
685,
25,
49,
11,
1058,
44,
60,
4357,
198,
220,
220,
1058,
64,
47,
17,
5218,
16410,
25,
138,
241,
11,
1058,
55,
4357,
685,
25,
56,
11,
1058,
138,
241,
11,
1058,
57,
4357,
685,
25,
49,
11,
1058,
138,
241,
11,
1058,
51,
4357,
685,
25,
52,
11,
1058,
138,
241,
11,
1058,
53,
60,
4357,
198,
220,
220,
1058,
78,
37,
16,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
51,
11,
1058,
57,
11,
1058,
138,
241,
11,
1058,
138,
96,
158,
224,
222,
4357,
685,
25,
52,
158,
224,
222,
11,
1058,
51,
4357,
685,
25,
56,
11,
1058,
34,
158,
224,
222,
4357,
685,
25,
32,
158,
224,
222,
11,
1058,
57,
4357,
685,
25,
138,
241,
11,
1058,
43,
60,
4357,
198,
220,
220,
1058,
78,
34,
16,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
34,
158,
224,
222,
4357,
685,
25,
138,
96,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
57,
11,
1058,
32,
158,
224,
222,
4357,
685,
25,
36,
158,
224,
222,
11,
1058,
51,
11,
1058,
56,
4357,
685,
25,
138,
241,
11,
1058,
50,
11,
1058,
49,
11,
1058,
57,
11,
1058,
51,
60,
4357,
198,
220,
220,
1058,
64,
47,
18,
5218,
16410,
25,
138,
241,
11,
1058,
55,
4357,
685,
25,
56,
11,
1058,
138,
241,
11,
1058,
57,
4357,
685,
25,
49,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
51,
158,
224,
224,
4357,
685,
25,
52,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
53,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
76,
34,
17,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
44,
11,
1058,
32,
11,
1058,
138,
241,
4357,
685,
25,
43,
158,
224,
224,
11,
1058,
138,
241,
11,
1058,
53,
158,
224,
224,
60,
4357,
198,
220,
220,
1058,
78,
40,
16,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
37,
158,
224,
224,
4357,
685,
25,
138,
96,
158,
224,
222,
11,
1058,
138,
241,
11,
1058,
56,
158,
224,
222,
4357,
685,
25,
52,
158,
224,
222,
11,
1058,
55,
4357,
685,
25,
138,
241,
11,
1058,
49,
11,
1058,
54,
11,
1058,
50,
11,
1058,
138,
241,
11,
1058,
51,
11,
1058,
54,
60,
4357,
198,
220,
220,
1058,
76,
47,
16,
5218,
16410,
25,
138,
241,
11,
1058,
57,
11,
1058,
35,
11,
1058,
33,
11,
1058,
138,
241,
11,
1058,
32,
11,
1058,
36,
11,
1058,
57,
11,
1058,
34,
158,
224,
224,
11,
1058,
56,
158,
224,
224,
11,
1058,
138,
241,
60,
4357,
198,
220,
220,
1058,
66,
37,
17,
5218,
16410,
25,
138,
241,
11,
1058,
55,
11,
1058,
52,
4357,
685,
25,
42,
11,
1058,
138,
241,
11,
1058,
43,
11,
1058,
54,
11,
1058,
55,
60,
4357,
198,
220,
220,
1058,
78,
37,
17,
5218,
16410,
25,
138,
241,
11,
1058,
51,
11,
1058,
57,
11,
1058,
56,
11,
1058,
138,
241,
11,
1058,
138,
249,
158,
224,
222,
4357,
685,
25,
48,
158,
224,
222,
11,
1058,
57,
4357,
685,
25,
51,
11,
1058,
38,
158,
224,
222,
4357,
685,
25,
39,
158,
224,
222,
11,
1058,
56,
4357,
685,
25,
138,
241,
11,
1058,
43,
60,
4357,
198,
220,
220,
1058,
78,
37,
18,
5218,
16410,
25,
138,
241,
11,
1058,
56,
11,
1058,
34,
158,
224,
222,
4357,
685,
25,
32,
158,
224,
222,
11,
1058,
57,
11,
1058,
33,
158,
224,
222,
4357,
685,
25,
35,
158,
224,
222,
11,
1058,
51,
11,
1058,
38,
158,
224,
222,
4357,
685,
25,
39,
158,
224,
222,
11,
1058,
56,
4357,
685,
25,
51,
11,
1058,
138,
241,
11,
1058,
57,
4357,
685,
25,
138,
241,
11,
1058,
43,
60,
4357,
198,
8,
198,
198,
9979,
2173,
67,
62,
18,
67,
796,
360,
713,
7,
198,
220,
220,
1058,
71,
49,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
37,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
50,
158,
224,
222,
5218,
1058,
26933,
45,
11,
532,
45,
11,
657,
46570,
1058,
50,
158,
224,
224,
5218,
1058,
26933,
16,
532,
399,
11,
657,
11,
399,
46570,
1058,
39,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1343,
575,
11,
352,
532,
575,
46570,
1058,
39,
158,
224,
224,
5218,
1058,
26933,
56,
11,
352,
532,
575,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
83,
40,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
532,
16,
1220,
362,
46570,
1058,
55,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
47,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
45,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
50,
158,
224,
222,
5218,
1058,
26933,
12,
39,
11,
367,
11,
367,
46570,
1058,
50,
5218,
1058,
26933,
39,
11,
352,
532,
367,
11,
532,
39,
46570,
1058,
49,
5218,
1058,
26933,
12,
57,
11,
1168,
11,
352,
1220,
362,
46570,
1058,
38,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
532,
57,
12962,
4357,
198,
220,
220,
1058,
83,
40,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
44,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
55,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
47,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
57,
5218,
1058,
26933,
39,
11,
367,
11,
532,
39,
46570,
1058,
57,
158,
224,
222,
5218,
1058,
26933,
12,
39,
11,
352,
532,
367,
11,
367,
46570,
1058,
45,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
12962,
4357,
198,
220,
220,
1058,
66,
47,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
55,
158,
224,
223,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
12962,
4357,
198,
220,
220,
1058,
78,
34,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
138,
242,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
1395,
11,
657,
46570,
1058,
37,
158,
224,
222,
5218,
1058,
26933,
55,
11,
352,
532,
1395,
11,
657,
46570,
1058,
33,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
1395,
11,
352,
1220,
362,
46570,
1058,
38,
158,
224,
222,
5218,
1058,
26933,
55,
11,
352,
532,
1395,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
40,
18,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
54,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
138,
96,
158,
224,
222,
5218,
1058,
26933,
12,
56,
11,
575,
11,
575,
46570,
1058,
37,
158,
224,
222,
5218,
1058,
26933,
56,
11,
532,
56,
11,
352,
532,
575,
46570,
1058,
138,
249,
158,
224,
222,
5218,
1058,
26933,
57,
11,
1168,
11,
532,
57,
46570,
1058,
38,
158,
224,
222,
5218,
1058,
26933,
16,
532,
1168,
11,
532,
57,
11,
1168,
12962,
4357,
198,
220,
220,
1058,
78,
47,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
52,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
56,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
50,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
49,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
32,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
138,
96,
158,
224,
222,
5218,
1058,
26933,
55,
11,
1395,
11,
657,
46570,
1058,
34,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
352,
532,
1395,
11,
657,
46570,
1058,
32,
158,
224,
222,
5218,
1058,
26933,
55,
11,
1395,
11,
352,
1220,
362,
46570,
1058,
36,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
352,
532,
1395,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
76,
34,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
44,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
53,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
43,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
34,
5218,
1058,
26933,
16,
532,
311,
11,
352,
532,
311,
11,
657,
46570,
1058,
34,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1343,
311,
11,
311,
11,
657,
46570,
1058,
35,
5218,
1058,
26933,
12,
16,
1343,
350,
11,
350,
11,
352,
1220,
362,
46570,
1058,
35,
158,
224,
224,
5218,
1058,
26933,
16,
532,
350,
11,
352,
532,
350,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
40,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
54,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
56,
158,
224,
222,
5218,
1058,
26933,
57,
11,
532,
57,
11,
1168,
46570,
1058,
52,
158,
224,
224,
5218,
1058,
26933,
12,
57,
11,
1168,
11,
352,
532,
1168,
46570,
1058,
138,
249,
158,
224,
222,
5218,
1058,
26933,
39,
11,
367,
11,
532,
39,
46570,
1058,
38,
158,
224,
224,
5218,
1058,
26933,
12,
39,
11,
352,
532,
367,
11,
367,
12962,
4357,
198,
220,
220,
1058,
71,
47,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
42,
5218,
1058,
26933,
16,
1220,
513,
11,
352,
1220,
513,
11,
657,
46570,
1058,
39,
5218,
1058,
26933,
16,
1220,
513,
11,
352,
1220,
513,
11,
352,
1220,
362,
46570,
1058,
39,
158,
224,
224,
5218,
1058,
26933,
16,
1220,
513,
11,
352,
1220,
513,
11,
532,
16,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
83,
47,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
55,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
12962,
4357,
198,
220,
220,
1058,
66,
40,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
39,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
47,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
45,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
76,
34,
18,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
44,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
53,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
43,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
40,
5218,
1058,
26933,
12,
16,
1343,
371,
11,
371,
11,
352,
1220,
362,
46570,
1058,
40,
158,
224,
224,
5218,
1058,
26933,
16,
532,
371,
11,
352,
532,
371,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
71,
47,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
42,
5218,
1058,
26933,
16,
1220,
513,
11,
352,
1220,
513,
11,
657,
46570,
1058,
39,
5218,
1058,
26933,
16,
1220,
513,
11,
352,
1220,
513,
11,
352,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
71,
49,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
47,
158,
224,
222,
5218,
1058,
26933,
39,
11,
532,
16,
1343,
367,
11,
367,
46570,
1058,
47,
158,
224,
224,
5218,
1058,
26933,
39,
11,
367,
11,
367,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
37,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
657,
12962,
4357,
198,
220,
220,
1058,
66,
37,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
54,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
604,
11,
513,
1220,
604,
46570,
1058,
54,
158,
224,
224,
5218,
1058,
26933,
18,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
362,
46570,
1058,
42,
5218,
1058,
26933,
18,
1220,
807,
11,
513,
1220,
807,
11,
513,
1220,
604,
46570,
1058,
52,
5218,
1058,
26933,
20,
1220,
807,
11,
352,
1220,
604,
11,
642,
1220,
807,
12962,
4357,
198,
220,
220,
1058,
78,
32,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
138,
242,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
1395,
11,
657,
46570,
1058,
37,
158,
224,
222,
5218,
1058,
26933,
55,
11,
352,
532,
1395,
11,
657,
46570,
1058,
33,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
1395,
11,
352,
1220,
362,
46570,
1058,
38,
158,
224,
222,
5218,
1058,
26933,
55,
11,
352,
532,
1395,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
66,
47,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
12962,
4357,
198,
220,
220,
1058,
64,
47,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
56,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
53,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
52,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
49,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
37,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
16,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
138,
96,
158,
224,
222,
5218,
1058,
26933,
15,
11,
367,
11,
367,
46570,
1058,
52,
158,
224,
222,
5218,
1058,
26933,
16,
11,
352,
532,
367,
11,
352,
532,
367,
46570,
1058,
32,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
1343,
449,
11,
449,
46570,
1058,
34,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
532,
449,
11,
352,
532,
449,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
34,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
138,
96,
158,
224,
222,
5218,
1058,
26933,
55,
11,
1395,
11,
657,
46570,
1058,
34,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
352,
532,
1395,
11,
657,
46570,
1058,
32,
158,
224,
222,
5218,
1058,
26933,
55,
11,
1395,
11,
352,
1220,
362,
46570,
1058,
36,
158,
224,
222,
5218,
1058,
26933,
12,
55,
11,
352,
532,
1395,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
64,
47,
18,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
56,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
53,
158,
224,
224,
5218,
1058,
26933,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
657,
46570,
1058,
52,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
51,
158,
224,
224,
5218,
1058,
26933,
15,
11,
532,
16,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
49,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
532,
16,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
76,
34,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
32,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
44,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
53,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
43,
158,
224,
224,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
40,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
532,
16,
1220,
362,
46570,
1058,
50,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
49,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
54,
5218,
1058,
26933,
16,
1220,
604,
11,
352,
1220,
604,
11,
352,
1220,
604,
46570,
1058,
138,
96,
158,
224,
222,
5218,
1058,
26933,
12,
57,
11,
1168,
11,
1168,
46570,
1058,
37,
158,
224,
224,
5218,
1058,
26933,
57,
11,
352,
532,
1168,
11,
532,
57,
46570,
1058,
56,
158,
224,
222,
5218,
1058,
26933,
39,
11,
532,
39,
11,
367,
46570,
1058,
52,
158,
224,
222,
5218,
1058,
26933,
16,
532,
367,
11,
367,
11,
532,
39,
12962,
4357,
198,
220,
220,
1058,
76,
47,
16,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
57,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
657,
46570,
1058,
33,
5218,
1058,
26933,
15,
11,
657,
11,
352,
1220,
362,
46570,
1058,
56,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
657,
11,
657,
46570,
1058,
34,
158,
224,
224,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
35,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
32,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
36,
5218,
1058,
26933,
12,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
66,
37,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
55,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
54,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
604,
11,
513,
1220,
604,
46570,
1058,
42,
5218,
1058,
26933,
18,
1220,
807,
11,
513,
1220,
807,
11,
513,
1220,
604,
46570,
1058,
52,
5218,
1058,
26933,
20,
1220,
807,
11,
352,
1220,
604,
11,
642,
1220,
807,
12962,
4357,
198,
220,
220,
1058,
78,
37,
17,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
138,
249,
158,
224,
222,
5218,
1058,
26933,
42,
11,
509,
11,
657,
46570,
1058,
48,
158,
224,
222,
5218,
1058,
26933,
16,
532,
509,
11,
352,
532,
509,
11,
352,
46570,
1058,
38,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
532,
449,
11,
352,
532,
449,
11,
352,
1220,
362,
46570,
1058,
39,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
1343,
449,
11,
449,
11,
352,
1220,
362,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
220,
220,
1058,
78,
37,
18,
5218,
685,
25,
138,
241,
5218,
1058,
26933,
15,
11,
657,
11,
657,
46570,
1058,
51,
5218,
1058,
26933,
15,
11,
352,
1220,
362,
11,
352,
1220,
362,
46570,
1058,
57,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
657,
46570,
1058,
56,
5218,
1058,
26933,
16,
1220,
362,
11,
657,
11,
352,
1220,
362,
46570,
1058,
32,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
1343,
367,
11,
367,
46570,
1058,
34,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
532,
367,
11,
352,
532,
367,
46570,
1058,
33,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
1343,
509,
11,
352,
1220,
362,
11,
509,
46570,
1058,
35,
158,
224,
222,
5218,
1058,
26933,
16,
1220,
362,
532,
509,
11,
352,
1220,
362,
11,
352,
532,
509,
46570,
1058,
38,
158,
224,
222,
5218,
1058,
26933,
47,
11,
352,
1220,
362,
1343,
350,
11,
352,
1220,
362,
46570,
1058,
39,
158,
224,
222,
5218,
1058,
26933,
16,
532,
350,
11,
352,
1220,
362,
532,
350,
11,
352,
1220,
362,
46570,
1058,
43,
5218,
1058,
26933,
16,
1220,
362,
11,
352,
1220,
362,
11,
352,
1220,
362,
12962,
4357,
198,
8,
198,
198,
9979,
42287,
67,
62,
18,
67,
796,
360,
713,
7,
198,
220,
220,
1058,
71,
49,
16,
5218,
685,
25,
35,
5218,
1058,
19510,
19510,
64,
1635,
257,
8,
1220,
604,
8,
1220,
269,
8,
1220,
269,
828,
1058,
56,
5218,
36147,
20,
1220,
718,
532,
362,
35,
828,
1058,
45,
5218,
36147,
16,
1220,
513,
1343,
360,
8,
4357,
198,
220,
220,
1058,
83,
40,
17,
5218,
685,
25,
39,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
57,
5218,
1058,
19510,
19510,
64,
1635,
257,
8,
1220,
362,
8,
1220,
269,
8,
1220,
269,
8,
4357,
198,
220,
220,
1058,
83,
40,
16,
5218,
685,
25,
39,
5218,
1058,
19510,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
257,
8,
1220,
257,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
78,
34,
17,
5218,
685,
25,
55,
5218,
1058,
19510,
16,
1343,
14808,
65,
1635,
275,
8,
1220,
257,
8,
1220,
257,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
78,
40,
18,
5218,
685,
25,
57,
5218,
1058,
19510,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
828,
1058,
56,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
828,
1058,
35,
5218,
1058,
19510,
19510,
64,
1635,
257,
532,
269,
1635,
269,
8,
1220,
604,
8,
1220,
275,
8,
1220,
275,
828,
1058,
44,
5218,
1058,
19510,
19510,
66,
1635,
269,
1343,
257,
1635,
257,
8,
1220,
604,
8,
1220,
275,
8,
1220,
275,
8,
4357,
198,
220,
220,
1058,
78,
32,
16,
5218,
685,
25,
55,
5218,
1058,
19510,
16,
1343,
14808,
65,
1635,
275,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
76,
34,
16,
5218,
685,
25,
57,
5218,
1058,
19510,
19510,
17,
1343,
357,
64,
1220,
269,
8,
1635,
8615,
26638,
8,
1220,
604,
8,
1220,
7813,
26638,
8,
1220,
7813,
26638,
828,
1058,
39,
5218,
36147,
16,
1220,
362,
532,
357,
17,
1635,
1168,
1635,
269,
1635,
8615,
26638,
8,
1220,
257,
828,
1058,
50,
5218,
36147,
18,
1220,
604,
532,
14808,
19510,
7,
65,
1635,
275,
8,
1220,
604,
8,
1220,
257,
8,
1220,
257,
8,
1220,
7813,
26638,
8,
1220,
7813,
26638,
828,
1058,
47,
5218,
36147,
50,
532,
14808,
18,
1220,
604,
532,
311,
8,
1635,
257,
1635,
8615,
26638,
8,
1220,
269,
8,
4357,
198,
220,
220,
1058,
78,
40,
17,
5218,
685,
25,
57,
5218,
1058,
19510,
16,
1343,
14808,
65,
1635,
275,
8,
1220,
257,
8,
1220,
257,
8,
1220,
604,
828,
1058,
39,
5218,
1058,
19510,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
257,
8,
1220,
257,
8,
1220,
604,
828,
1058,
35,
5218,
1058,
19510,
19510,
66,
1635,
269,
532,
275,
1635,
275,
8,
1220,
604,
8,
1220,
257,
8,
1220,
257,
828,
1058,
45,
5218,
1058,
19510,
19510,
65,
1635,
275,
1343,
269,
1635,
269,
8,
1220,
604,
8,
1220,
257,
8,
1220,
257,
8,
4357,
198,
220,
220,
1058,
76,
34,
18,
5218,
685,
25,
57,
5218,
1058,
19510,
19510,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
1343,
14808,
16,
1343,
357,
64,
1220,
269,
8,
1635,
8615,
26638,
8,
1220,
7813,
26638,
8,
1220,
7813,
26638,
8,
1220,
604,
828,
1058,
49,
5218,
36147,
16,
532,
14808,
57,
1635,
275,
1635,
275,
8,
1220,
257,
8,
1220,
257,
828,
1058,
36,
5218,
36147,
16,
1220,
362,
532,
357,
17,
1635,
1168,
1635,
269,
1635,
8615,
26638,
8,
1220,
257,
828,
1058,
37,
5218,
36147,
36,
1220,
362,
1343,
14808,
7,
64,
1635,
257,
8,
1220,
604,
8,
1220,
275,
8,
1220,
275,
1343,
14808,
7,
64,
1635,
269,
1635,
8615,
26638,
8,
1220,
362,
8,
1220,
275,
8,
1220,
275,
828,
1058,
52,
5218,
36147,
17,
37,
532,
1168,
828,
1058,
54,
5218,
1058,
19510,
19510,
66,
1220,
362,
8,
1220,
257,
8,
1220,
8615,
26638,
8,
1635,
14808,
16,
532,
604,
52,
8,
1343,
14808,
64,
1635,
257,
1635,
7813,
26638,
1635,
7813,
26638,
8,
1220,
275,
8,
1220,
275,
36911,
1058,
35,
5218,
1058,
19510,
12,
16,
1220,
604,
1343,
370,
1220,
362,
8,
532,
357,
57,
1635,
269,
1635,
8615,
26638,
8,
1220,
257,
8,
4357,
198,
220,
220,
1058,
71,
49,
17,
5218,
685,
25,
57,
5218,
36147,
16,
1220,
718,
532,
14808,
7,
66,
1635,
269,
8,
1220,
860,
8,
1220,
257,
8,
1220,
257,
828,
1058,
39,
5218,
36147,
16,
1220,
362,
532,
362,
57,
828,
1058,
45,
5218,
36147,
16,
1220,
362,
1343,
1168,
8,
4357,
198,
220,
220,
1058,
78,
32,
17,
5218,
685,
25,
55,
5218,
1058,
19510,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
78,
37,
16,
5218,
685,
25,
41,
5218,
1058,
19510,
7,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
8,
532,
14808,
64,
1635,
257,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
39,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
1343,
14808,
64,
1635,
257,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
78,
34,
16,
5218,
685,
25,
55,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
76,
34,
17,
5218,
685,
25,
57,
5218,
1058,
19510,
19510,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
1343,
14808,
16,
1343,
357,
64,
1220,
269,
8,
1635,
8615,
26638,
8,
1220,
7813,
26638,
8,
1220,
7813,
26638,
8,
1220,
604,
828,
1058,
44,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
828,
1058,
35,
5218,
1058,
19510,
19510,
12,
64,
1635,
269,
1635,
8615,
26638,
8,
1220,
362,
8,
1220,
275,
8,
1220,
275,
828,
1058,
55,
5218,
36147,
16,
1220,
362,
532,
357,
17,
1635,
1168,
1635,
269,
1635,
8615,
26638,
8,
1220,
257,
828,
1058,
47,
5218,
1058,
19510,
16,
1343,
1168,
8,
532,
362,
44,
828,
1058,
50,
5218,
36147,
55,
532,
362,
35,
8,
4357,
198,
220,
220,
1058,
78,
40,
16,
5218,
685,
25,
57,
5218,
1058,
19510,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
39,
5218,
1058,
19510,
16,
1343,
14808,
65,
1635,
275,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
35,
5218,
1058,
19510,
19510,
65,
1635,
275,
532,
257,
1635,
257,
8,
1220,
604,
8,
1220,
269,
8,
1220,
269,
828,
1058,
45,
5218,
1058,
19510,
19510,
64,
1635,
257,
1343,
275,
1635,
275,
8,
1220,
604,
8,
1220,
269,
8,
1220,
269,
8,
4357,
198,
220,
220,
1058,
76,
47,
16,
5218,
685,
25,
56,
5218,
1058,
19510,
19510,
16,
1343,
357,
64,
1220,
269,
8,
1635,
8615,
26638,
8,
1220,
362,
8,
1220,
7813,
26638,
8,
1220,
7813,
26638,
828,
1058,
45,
5218,
36147,
16,
1220,
362,
1343,
357,
56,
1635,
269,
1635,
8615,
26638,
8,
1220,
257,
8,
4357,
198,
220,
220,
1058,
78,
37,
17,
5218,
685,
25,
41,
5218,
1058,
19510,
7,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
257,
8,
1220,
257,
8,
532,
14808,
66,
1635,
269,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
828,
1058,
42,
5218,
1058,
19510,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
257,
8,
1220,
257,
1343,
14808,
66,
1635,
269,
8,
1220,
275,
8,
1220,
275,
8,
1220,
604,
8,
4357,
198,
220,
220,
1058,
78,
37,
18,
5218,
685,
25,
39,
5218,
1058,
19510,
7,
16,
1343,
14808,
64,
1635,
257,
8,
1220,
275,
8,
1220,
275,
8,
532,
14808,
64,
1635,
257,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
42,
5218,
1058,
19510,
7,
16,
1343,
14808,
65,
1635,
275,
8,
1220,
257,
8,
1220,
257,
8,
532,
14808,
65,
1635,
275,
8,
1220,
269,
8,
1220,
269,
8,
1220,
604,
828,
1058,
47,
5218,
1058,
19510,
7,
16,
1343,
14808,
66,
1635,
269,
8,
1220,
275,
8,
1220,
275,
8,
532,
14808,
66,
1635,
269,
8,
1220,
257,
8,
1220,
257,
8,
1220,
604,
8,
4357,
198,
8,
198,
198,
2,
34400,
438,
27975,
56,
3963,
30616,
8874,
22846,
4061,
14887,
48926,
14,
36078,
42,
34219,
38559,
24290,
34400,
438,
198,
2,
383,
17168,
13789,
357,
36393,
8,
198,
2,
220,
198,
2,
15069,
357,
66,
828,
1584,
12,
7908,
11,
50191,
350,
6457,
72,
11,
39031,
2538,
20634,
56,
51,
25994,
22125,
48,
8924,
376,
1961,
1137,
21358,
5550,
198,
2,
9131,
2937,
1565,
12161,
357,
464,
652,
290,
41798,
286,
24310,
357,
10970,
2640,
8,
290,
2351,
9072,
329,
198,
2,
22476,
864,
8495,
290,
23455,
286,
24467,
24310,
357,
45,
4093,
49,
18805,
18697,
36911,
198,
2,
14679,
13,
1439,
2489,
10395,
13,
198,
2,
220,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
198,
2,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
198,
2,
287,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
2489,
198,
2,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
198,
2,
9088,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
2,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
2,
220,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
198,
2,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
220,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
198,
2,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
198,
2,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
198,
2,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
198,
2,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
198,
2,
16289,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
198,
2,
3336,
47466,
13,
198,
2,
220,
198,
2,
11420,
198,
2,
220,
198,
2,
1114,
257,
1351,
286,
1280,
12,
10459,
3788,
3017,
287,
428,
16099,
11,
766,
262,
2393,
198,
2,
1280,
62,
10459,
62,
2815,
728,
274,
13,
14116,
13,
198,
2,
16529,
10541
] | 1.753606 | 7,488 |
#############################################################################
# ECOS.jl
# Wrapper around the ECOS solver https://github.com/ifa-ethz/ecos
# See http://github.com/JuliaOpt/ECOS.jl
#############################################################################
# ECOSSolverInterface.jl
# MathProgBase.jl interface for the ECOS.jl solver wrapper
#############################################################################
require(joinpath(Pkg.dir("MathProgBase"),"src","MathProgSolverInterface.jl"))
importall MathProgSolverInterface
#############################################################################
# Define the MPB Solver and Model objects
export ECOSSolver
immutable ECOSSolver <: AbstractMathProgSolver
end
type ECOSMathProgModel <: AbstractMathProgModel
nvar::Int # Number of variables
nineq::Int # Number of inequalities Gx <=_K h
neq::Int # Number of equalities Ax = b
npos::Int # Number of ???
ncones::Int # Number of SO cones
conedims::Vector{Int} # ?
G::SparseMatrixCSC{Float64,Int} # The G matrix (inequalties)
A::SparseMatrixCSC{Float64,Int} # The A matrix (equalities)
c::Vector{Float64} # The objective coeffs (always min)
orig_sense::Symbol # Original objective sense
h::Vector{Float64} # RHS for inequality
b::Vector{Float64} # RHS for equality
# Post-solve
solve_stat::Symbol
obj_val::Float64
primal_sol::Vector{Float64}
fwd_map::Vector{Int} # To reorder solution if we solved
end # using the conic interface
ECOSMathProgModel() = ECOSMathProgModel(0,0,0,0,0,
Int[],
spzeros(0,0),
spzeros(0,0),
Float64[], :Min,
Float64[], Float64[],
:NotSolved, 0.0, Float64[], Int[])
#############################################################################
# Begin implementation of the MPB low-level interface
# Implements
# - model
# - loadproblem!
# - optimize!
# - status
# http://mathprogbasejl.readthedocs.org/en/latest/lowlevel.html
model(s::ECOSSolver) = ECOSMathProgModel()
# Loads the provided problem data to set up the linear programming problem:
# min c'x
# st lb <= Ax <= ub
# l <= x <= u
# where sense = :Min or :Max
function loadproblem!(m::ECOSMathProgModel, A, collb, colub, obj, rowlb, rowub, sense)
(nvar = length(collb)) == length(colub) || error("Unequal lengths for column bounds")
(nrow = length(rowlb)) == length(rowub) || error("Unequal lengths for row bounds")
# Turn variable bounds into constraints
# Inefficient, because keeps allocating memory!
# Would need to batch, get tricky...
for j = 1:nvar
if collb[j] != -Inf
# Variable has lower bound
newrow = zeros(1, nvar)
newrow[j] = -1.0
A = vcat(A, newrow)
rowlb = vcat(rowlb, -Inf)
rowub = vcat(rowub, -collb[j])
nrow += 1
end
if colub[j] != +Inf
# Variable has upper bound
newrow = zeros(1, nvar)
newrow[j] = 1.0
A = vcat(A, newrow)
rowlb = vcat(rowlb, -Inf)
rowub = vcat(rowub, colub[j])
nrow += 1
end
end
eqidx = Int[] # Equality row indicies
ineqidx = Int[] # Inequality row indicies
eqbnd = Float64[] # Bounds for equality rows
ineqbnd = Float64[] # Bounds for inequality row
for it in 1:nrow
# Equality constraint
if rowlb[it] == rowub[it]
push!(eqidx, it)
push!(eqbnd, rowlb[it])
# Range constraint - not supported
elseif rowlb[it] != -Inf && rowub[it] != Inf
error("Ranged constraints unsupported!")
# Less-than constraint
elseif rowlb[it] == -Inf
push!(ineqidx, it)
push!(ineqbnd, rowub[it])
# Greater-than constraint - flip sign so only have <= constraints
else
push!(ineqidx, it)
push!(ineqbnd, -rowlb[it])
A[it,:] *= -1 # flip signs so we have Ax<=b
end
end
m.nvar = nvar # Number of variables
m.nineq = length(ineqidx) # Number of inequalities Gx <=_K h
m.neq = length(eqidx) # Number of equalities Ax = b
m.npos = length(ineqidx) # Number of ???
m.ncones = 0 # Number of SO cones
m.conedims = Int[] # ???
m.G = sparse(A[ineqidx,:]) # The G matrix (inequalties)
m.A = sparse(A[eqidx,:]) # The A matrix (equalities)
m.c = (sense == :Max) ? obj * -1 : obj[:]
# The objective coeffs (always min)
m.orig_sense = sense # Original objective sense
m.h = ineqbnd # RHS for inequality
m.b = eqbnd # RHS for equality
m.fwd_map = [1:nvar] # Identity mapping
end
function optimize!(m::ECOSMathProgModel)
ecos_prob_ptr = setup(
m.nvar, m.nineq, m.neq,
m.npos, m.ncones, m.conedims,
m.G, m.A,
m.c[:], # Seems to modify this
m.h, m.b)
flag = solve(ecos_prob_ptr)
if flag == ECOS_OPTIMAL
m.solve_stat = :Optimal
elseif flag == ECOS_PINF
m.solve_stat = :Infeasible
elseif flag == ECOS_DINF # Dual infeasible = primal unbounded, probably
m.solve_stat = :Unbounded
elseif flag == ECOS_MAXIT
m.solve_stat = :UserLimit
else
m.solve_stat = :Error
end
# Extract solution
ecos_prob = pointer_to_array(ecos_prob_ptr, 1)[1]
m.primal_sol = pointer_to_array(ecos_prob.x, m.nvar)[:]
m.obj_val = dot(m.c, m.primal_sol) * (m.orig_sense == :Max ? -1 : +1)
cleanup(ecos_prob_ptr, 0)
end
status(m::ECOSMathProgModel) = m.solve_stat
getobjval(m::ECOSMathProgModel) = m.obj_val
getsolution(m::ECOSMathProgModel) = m.primal_sol[m.fwd_map]
#############################################################################
# Begin implementation of the MPB conic interface
# Implements
# - loadconicproblem!
# http://mathprogbasejl.readthedocs.org/en/latest/conic.html
function loadconicproblem!(m::ECOSMathProgModel, c, A, b, cones)
# TODO (if it matters): make this more efficient for sparse A
# We don't support SOCRotated, SDP, or Exp*
bad_cones = [:SOCRotated, :SDP, :ExpPrimal, :ExpDual]
for cone_vars in cones
cone_vars[1] in bad_cones && error("Cone type $(cone_vars[1]) not supported")
end
# MathProgBase form ECOS form
# min c'x min c'x
# st A x = b st A x = b
# x in K h - Gx in K
# Expand out the cones info
# The cones can come in any order, so we need to build a mapping
# from the variable indices in the input to the internal ordering
# we will use.
# In the first past we'll just count up the number of variables
# of each type.
num_vars = 0
for (cone_type, idxs) in cones
num_vars += length(idxs)
end
fwd_map = Array(Int, num_vars) # Will be used for SOCs
rev_map = Array(Int, num_vars) # Need to restore sol. vec.
idxcone = Array(Symbol, num_vars) # We'll uses this for non-SOCs
# Now build the mapping
pos = 1
for (cone, idxs) in cones
for i in idxs
fwd_map[i] = pos # fwd_map = orig idx -> internal idx
rev_map[pos] = i # rev_map = internal idx -> orig idx
idxcone[pos] = cone
pos += 1
end
end
# Rearrange data into the internal ordering
ecos_c = c[rev_map]
ecos_A = A[:,rev_map]
ecos_b = b[:]
# For all variables in the :Zero cone, fix at 0 with an
# equality constraint. TODO: Don't even include them
for j = 1:num_vars
idxcone[j] != :Zero && continue
new_row = zeros(1,num_vars)
new_row[j] = 1.0
ecos_A = vcat(ecos_A, new_row)
ecos_b = vcat(ecos_b, 0.0)
end
# Build G matrix
# There will be one row for every :NonNeg and :NonPos cone
# and an additional row for every variable in a :SOC cone
# Or in other words, everything that isn't a :Free or :Zero
# gets a row in G and h
num_G_row = 0
for j = 1:num_vars
idxcone[j] == :Free && continue
idxcone[j] == :Zero && continue
num_G_row += 1
end
ecos_G = zeros(num_G_row,num_vars)
ecos_h = zeros(num_G_row)
# First, handle the :NonNeg, :NonPos cases
num_pos_orth = 0
G_row = 1
for j = 1:num_vars
if idxcone[j] == :NonNeg
ecos_G[G_row,j] = -1.0
G_row += 1
num_pos_orth += 1
elseif idxcone[j] == :NonPos
ecos_G[G_row,j] = +1.0
G_row += 1
num_pos_orth += 1
end
end
@assert G_row == num_pos_orth + 1
# Now handle the SOCs
# The MPB unput form is basically just says a vector of
# variables (y,x) lives in the SOC || x || <= y
# ECOS wants somethings in the form h - Gx in Q so we
# will prove 0 - Ix \in Q
num_SOC_cones = 0
SOC_conedims = Int[]
for (cone, idxs) in cones
cone != :SOC && continue
# Found a new SOC
num_SOC_cones += 1
push!(SOC_conedims, length(idxs))
# Add the entries (carrying on from pos. orthant)
for j in idxs
ecos_G[G_row,fwd_map[j]] = -1.0
G_row += 1
end
end
@assert G_row == num_G_row + 1
# Store in the ECOS structure
m.nvar = num_vars
m.nineq = num_G_row
m.neq = length(ecos_b)
m.npos = num_pos_orth
m.ncones = num_SOC_cones
m.conedims = SOC_conedims
m.G = ecos_G
m.A = ecos_A
m.c = ecos_c
m.orig_sense = :Min
m.h = ecos_h
m.b = ecos_b
m.fwd_map = fwd_map
end | [
29113,
29113,
7804,
4242,
2,
198,
2,
13182,
2640,
13,
20362,
198,
2,
27323,
2848,
1088,
262,
13182,
2640,
1540,
332,
3740,
1378,
12567,
13,
785,
14,
19215,
12,
2788,
89,
14,
721,
418,
198,
2,
4091,
2638,
1378,
12567,
13,
785,
14,
16980,
544,
27871,
14,
2943,
2640,
13,
20362,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
13182,
18420,
14375,
39317,
13,
20362,
198,
2,
16320,
2964,
70,
14881,
13,
20362,
7071,
329,
262,
13182,
2640,
13,
20362,
1540,
332,
29908,
198,
29113,
29113,
7804,
4242,
2,
198,
198,
46115,
7,
22179,
6978,
7,
47,
10025,
13,
15908,
7203,
37372,
2964,
70,
14881,
4943,
553,
10677,
2430,
37372,
2964,
70,
50,
14375,
39317,
13,
20362,
48774,
198,
11748,
439,
16320,
2964,
70,
50,
14375,
39317,
198,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
2896,
500,
262,
4904,
33,
4294,
332,
290,
9104,
5563,
198,
39344,
13182,
18420,
14375,
198,
8608,
18187,
13182,
18420,
14375,
1279,
25,
27741,
37372,
2964,
70,
50,
14375,
198,
437,
198,
198,
4906,
13182,
2640,
37372,
2964,
70,
17633,
1279,
25,
27741,
37372,
2964,
70,
17633,
198,
220,
220,
220,
299,
7785,
3712,
5317,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
9633,
198,
220,
220,
220,
5193,
80,
3712,
5317,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
45460,
402,
87,
19841,
62,
42,
289,
198,
220,
220,
220,
497,
80,
3712,
5317,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
4961,
871,
12176,
796,
275,
198,
220,
220,
220,
299,
1930,
3712,
5317,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
34913,
198,
220,
220,
220,
299,
1102,
274,
3712,
5317,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
12809,
47314,
198,
220,
220,
220,
369,
276,
12078,
3712,
38469,
90,
5317,
92,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5633,
198,
220,
220,
220,
402,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
5317,
92,
220,
220,
220,
220,
1303,
383,
402,
17593,
357,
500,
421,
10355,
8,
198,
220,
220,
220,
317,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
5317,
92,
220,
220,
220,
220,
1303,
383,
317,
17593,
357,
4853,
27969,
8,
198,
220,
220,
220,
269,
3712,
38469,
90,
43879,
2414,
92,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
9432,
763,
14822,
82,
357,
33770,
949,
8,
198,
220,
220,
220,
1796,
62,
33819,
3712,
13940,
23650,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13745,
9432,
2565,
198,
220,
220,
220,
289,
3712,
38469,
90,
43879,
2414,
92,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
371,
7998,
329,
12791,
220,
198,
220,
220,
220,
275,
3712,
38469,
90,
43879,
2414,
92,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
371,
7998,
329,
10537,
198,
220,
220,
220,
1303,
2947,
12,
82,
6442,
198,
220,
220,
220,
8494,
62,
14269,
3712,
13940,
23650,
198,
220,
220,
220,
26181,
62,
2100,
3712,
43879,
2414,
198,
220,
220,
220,
43750,
62,
34453,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
277,
16993,
62,
8899,
3712,
38469,
90,
5317,
92,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1675,
302,
2875,
4610,
611,
356,
16019,
198,
437,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1262,
262,
369,
291,
7071,
198,
2943,
2640,
37372,
2964,
70,
17633,
3419,
796,
13182,
2640,
37372,
2964,
70,
17633,
7,
15,
11,
15,
11,
15,
11,
15,
11,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2558,
58,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
9107,
418,
7,
15,
11,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
9107,
418,
7,
15,
11,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48436,
2414,
58,
4357,
1058,
9452,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48436,
2414,
58,
4357,
48436,
2414,
58,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
3673,
50,
5634,
11,
657,
13,
15,
11,
48436,
2414,
58,
4357,
2558,
58,
12962,
198,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
16623,
7822,
286,
262,
4904,
33,
1877,
12,
5715,
7071,
220,
198,
2,
1846,
1154,
902,
198,
2,
532,
2746,
198,
2,
532,
3440,
45573,
0,
198,
2,
532,
27183,
0,
198,
2,
532,
3722,
198,
2,
2638,
1378,
11018,
1676,
70,
8692,
20362,
13,
961,
83,
704,
420,
82,
13,
2398,
14,
268,
14,
42861,
14,
9319,
5715,
13,
6494,
198,
198,
19849,
7,
82,
3712,
2943,
18420,
14375,
8,
796,
13182,
2640,
37372,
2964,
70,
17633,
3419,
198,
198,
2,
8778,
82,
262,
2810,
1917,
1366,
284,
900,
510,
262,
14174,
8300,
1917,
25,
198,
2,
949,
269,
6,
87,
198,
2,
336,
220,
18360,
19841,
12176,
19841,
20967,
198,
2,
220,
220,
220,
220,
220,
300,
19841,
220,
2124,
19841,
334,
198,
2,
810,
2565,
796,
1058,
9452,
393,
1058,
11518,
198,
8818,
3440,
45573,
0,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
11,
317,
11,
2927,
65,
11,
951,
549,
11,
26181,
11,
5752,
23160,
11,
5752,
549,
11,
2565,
8,
198,
220,
220,
220,
357,
77,
7785,
796,
4129,
7,
26000,
65,
4008,
6624,
4129,
7,
4033,
549,
8,
8614,
4049,
7203,
52,
710,
13255,
20428,
329,
5721,
22303,
4943,
198,
220,
220,
220,
357,
77,
808,
796,
4129,
7,
808,
23160,
4008,
6624,
4129,
7,
808,
549,
8,
8614,
4049,
7203,
52,
710,
13255,
20428,
329,
5752,
22303,
4943,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
6756,
7885,
22303,
656,
17778,
198,
220,
220,
220,
1303,
554,
16814,
11,
780,
7622,
477,
27123,
4088,
0,
198,
220,
220,
220,
1303,
10928,
761,
284,
15458,
11,
651,
17198,
986,
198,
220,
220,
220,
329,
474,
796,
352,
25,
77,
7785,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2927,
65,
58,
73,
60,
14512,
532,
18943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35748,
468,
2793,
5421,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
808,
796,
1976,
27498,
7,
16,
11,
299,
7785,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
808,
58,
73,
60,
796,
532,
16,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
796,
410,
9246,
7,
32,
11,
649,
808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5752,
23160,
796,
410,
9246,
7,
808,
23160,
11,
532,
18943,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5752,
549,
796,
410,
9246,
7,
808,
549,
11,
532,
26000,
65,
58,
73,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
808,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
951,
549,
58,
73,
60,
14512,
1343,
18943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35748,
468,
6727,
5421,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
808,
796,
1976,
27498,
7,
16,
11,
299,
7785,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
808,
58,
73,
60,
796,
352,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
796,
410,
9246,
7,
32,
11,
649,
808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5752,
23160,
796,
410,
9246,
7,
808,
23160,
11,
532,
18943,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5752,
549,
796,
410,
9246,
7,
808,
549,
11,
951,
549,
58,
73,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
808,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
37430,
312,
87,
220,
220,
796,
2558,
21737,
220,
220,
220,
220,
220,
1303,
31428,
5752,
2699,
444,
198,
220,
220,
220,
287,
27363,
312,
87,
796,
2558,
21737,
220,
220,
220,
220,
220,
1303,
554,
48203,
5752,
2699,
444,
198,
220,
220,
220,
37430,
65,
358,
220,
220,
796,
48436,
2414,
21737,
220,
1303,
347,
3733,
329,
10537,
15274,
198,
220,
220,
220,
287,
27363,
65,
358,
796,
48436,
2414,
21737,
220,
1303,
347,
3733,
329,
12791,
5752,
198,
220,
220,
220,
329,
340,
287,
352,
25,
77,
808,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31428,
32315,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
23160,
58,
270,
60,
6624,
5752,
549,
58,
270,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
27363,
312,
87,
11,
340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
27363,
65,
358,
11,
5752,
23160,
58,
270,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13667,
32315,
532,
407,
4855,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
5752,
23160,
58,
270,
60,
14512,
532,
18943,
11405,
5752,
549,
58,
270,
60,
14512,
4806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
49,
5102,
17778,
24222,
2474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12892,
12,
14813,
32315,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
5752,
23160,
58,
270,
60,
6624,
532,
18943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
500,
80,
312,
87,
11,
340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
500,
80,
65,
358,
11,
5752,
549,
58,
270,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18169,
12,
14813,
32315,
532,
14283,
1051,
523,
691,
423,
19841,
17778,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
500,
80,
312,
87,
11,
340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
500,
80,
65,
358,
11,
532,
808,
23160,
58,
270,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
58,
270,
11,
47715,
1635,
28,
532,
16,
1303,
14283,
5895,
523,
356,
423,
12176,
27,
28,
65,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
285,
13,
77,
7785,
220,
220,
220,
220,
220,
796,
299,
7785,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
9633,
198,
220,
220,
220,
285,
13,
30888,
80,
220,
220,
220,
220,
796,
4129,
7,
500,
80,
312,
87,
8,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
45460,
402,
87,
19841,
62,
42,
289,
198,
220,
220,
220,
285,
13,
710,
80,
220,
220,
220,
220,
220,
220,
796,
4129,
7,
27363,
312,
87,
8,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
4961,
871,
12176,
796,
275,
198,
220,
220,
220,
285,
13,
77,
1930,
220,
220,
220,
220,
220,
796,
4129,
7,
500,
80,
312,
87,
8,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
34913,
198,
220,
220,
220,
285,
13,
77,
1102,
274,
220,
220,
220,
796,
657,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7913,
286,
12809,
47314,
198,
220,
220,
220,
285,
13,
1102,
276,
12078,
220,
796,
2558,
21737,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34913,
198,
220,
220,
220,
285,
13,
38,
220,
220,
220,
220,
220,
220,
220,
220,
796,
29877,
7,
32,
58,
500,
80,
312,
87,
11,
25,
12962,
220,
1303,
383,
402,
17593,
357,
500,
421,
10355,
8,
198,
220,
220,
220,
285,
13,
32,
220,
220,
220,
220,
220,
220,
220,
220,
796,
29877,
7,
32,
58,
27363,
312,
87,
11,
25,
12962,
220,
220,
220,
1303,
383,
317,
17593,
357,
4853,
27969,
8,
198,
220,
220,
220,
285,
13,
66,
220,
220,
220,
220,
220,
220,
220,
220,
796,
357,
33819,
6624,
1058,
11518,
8,
5633,
26181,
1635,
532,
16,
1058,
26181,
58,
47715,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
9432,
763,
14822,
82,
357,
33770,
949,
8,
198,
220,
220,
220,
285,
13,
11612,
62,
33819,
796,
2565,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13745,
9432,
2565,
198,
220,
220,
220,
285,
13,
71,
220,
220,
220,
220,
220,
220,
220,
220,
796,
287,
27363,
65,
358,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
371,
7998,
329,
12791,
220,
198,
220,
220,
220,
285,
13,
65,
220,
220,
220,
220,
220,
220,
220,
220,
796,
37430,
65,
358,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
371,
7998,
329,
10537,
198,
220,
220,
220,
285,
13,
69,
16993,
62,
8899,
220,
220,
796,
685,
16,
25,
77,
7785,
60,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27207,
16855,
198,
437,
198,
198,
8818,
27183,
0,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
8,
198,
220,
220,
220,
304,
6966,
62,
1676,
65,
62,
20692,
796,
9058,
7,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
77,
7785,
11,
285,
13,
30888,
80,
11,
285,
13,
710,
80,
11,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
77,
1930,
11,
285,
13,
77,
1102,
274,
11,
285,
13,
1102,
276,
12078,
11,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
38,
11,
285,
13,
32,
11,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
66,
58,
25,
4357,
220,
1303,
37614,
284,
13096,
428,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
71,
11,
285,
13,
65,
8,
628,
220,
220,
220,
6056,
796,
8494,
7,
721,
418,
62,
1676,
65,
62,
20692,
8,
198,
220,
220,
220,
611,
6056,
6624,
13182,
2640,
62,
3185,
51,
3955,
1847,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
82,
6442,
62,
14269,
796,
1058,
27871,
4402,
198,
220,
220,
220,
2073,
361,
6056,
6624,
13182,
2640,
62,
44032,
37,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
82,
6442,
62,
14269,
796,
1058,
818,
5036,
292,
856,
198,
220,
220,
220,
2073,
361,
6056,
6624,
13182,
2640,
62,
35,
1268,
37,
220,
1303,
20446,
1167,
30412,
856,
796,
43750,
22619,
6302,
11,
2192,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
82,
6442,
62,
14269,
796,
1058,
3118,
65,
6302,
198,
220,
220,
220,
2073,
361,
6056,
6624,
13182,
2640,
62,
22921,
2043,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
82,
6442,
62,
14269,
796,
1058,
12982,
39184,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
82,
6442,
62,
14269,
796,
1058,
12331,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
29677,
4610,
198,
220,
220,
220,
304,
6966,
62,
1676,
65,
796,
17562,
62,
1462,
62,
18747,
7,
721,
418,
62,
1676,
65,
62,
20692,
11,
352,
38381,
16,
60,
198,
220,
220,
220,
285,
13,
1050,
4402,
62,
34453,
796,
17562,
62,
1462,
62,
18747,
7,
721,
418,
62,
1676,
65,
13,
87,
11,
285,
13,
77,
7785,
38381,
47715,
198,
220,
220,
220,
285,
13,
26801,
62,
2100,
796,
16605,
7,
76,
13,
66,
11,
285,
13,
1050,
4402,
62,
34453,
8,
1635,
357,
76,
13,
11612,
62,
33819,
6624,
1058,
11518,
5633,
532,
16,
1058,
1343,
16,
8,
220,
220,
198,
220,
220,
220,
27425,
7,
721,
418,
62,
1676,
65,
62,
20692,
11,
657,
8,
198,
437,
198,
198,
13376,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
8,
796,
285,
13,
82,
6442,
62,
14269,
198,
1136,
26801,
2100,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
8,
796,
285,
13,
26801,
62,
2100,
198,
11407,
2122,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
8,
796,
285,
13,
1050,
4402,
62,
34453,
58,
76,
13,
69,
16993,
62,
8899,
60,
198,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
16623,
7822,
286,
262,
4904,
33,
369,
291,
7071,
220,
198,
2,
1846,
1154,
902,
198,
2,
532,
3440,
1102,
291,
45573,
0,
198,
2,
2638,
1378,
11018,
1676,
70,
8692,
20362,
13,
961,
83,
704,
420,
82,
13,
2398,
14,
268,
14,
42861,
14,
1102,
291,
13,
6494,
198,
198,
8818,
3440,
1102,
291,
45573,
0,
7,
76,
3712,
2943,
2640,
37372,
2964,
70,
17633,
11,
269,
11,
317,
11,
275,
11,
47314,
8,
198,
220,
220,
220,
1303,
16926,
46,
357,
361,
340,
6067,
2599,
787,
428,
517,
6942,
329,
29877,
317,
628,
220,
220,
220,
1303,
775,
836,
470,
1104,
31430,
24864,
515,
11,
311,
6322,
11,
393,
5518,
9,
198,
220,
220,
220,
2089,
62,
1102,
274,
796,
685,
25,
50,
4503,
24864,
515,
11,
1058,
50,
6322,
11,
1058,
16870,
23828,
282,
11,
1058,
16870,
36248,
60,
198,
220,
220,
220,
329,
27763,
62,
85,
945,
287,
47314,
198,
220,
220,
220,
220,
220,
220,
220,
27763,
62,
85,
945,
58,
16,
60,
287,
2089,
62,
1102,
274,
11405,
4049,
7203,
34,
505,
2099,
29568,
49180,
62,
85,
945,
58,
16,
12962,
407,
4855,
4943,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
16320,
2964,
70,
14881,
1296,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13182,
2640,
1296,
198,
220,
220,
220,
1303,
949,
269,
6,
87,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
269,
6,
87,
198,
220,
220,
220,
1303,
336,
220,
317,
2124,
796,
275,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
220,
317,
2124,
796,
275,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
2124,
287,
509,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
532,
402,
87,
287,
509,
628,
220,
220,
220,
1303,
49368,
503,
262,
47314,
7508,
198,
220,
220,
220,
1303,
383,
47314,
460,
1282,
287,
597,
1502,
11,
523,
356,
761,
284,
1382,
257,
16855,
198,
220,
220,
220,
1303,
422,
262,
7885,
36525,
287,
262,
5128,
284,
262,
5387,
16216,
198,
220,
220,
220,
1303,
356,
481,
779,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
554,
262,
717,
1613,
356,
1183,
655,
954,
510,
262,
1271,
286,
9633,
220,
198,
220,
220,
220,
1303,
286,
1123,
2099,
13,
198,
220,
220,
220,
997,
62,
85,
945,
796,
657,
198,
220,
220,
220,
329,
357,
49180,
62,
4906,
11,
4686,
34223,
8,
287,
47314,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
85,
945,
15853,
4129,
7,
312,
34223,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
277,
16993,
62,
8899,
796,
15690,
7,
5317,
11,
220,
220,
220,
997,
62,
85,
945,
8,
220,
1303,
2561,
307,
973,
329,
31430,
82,
198,
220,
220,
220,
2710,
62,
8899,
796,
15690,
7,
5317,
11,
220,
220,
220,
997,
62,
85,
945,
8,
220,
1303,
10664,
284,
11169,
1540,
13,
43030,
13,
198,
220,
220,
220,
4686,
25306,
505,
796,
15690,
7,
13940,
23650,
11,
997,
62,
85,
945,
8,
220,
1303,
775,
1183,
3544,
428,
329,
1729,
12,
50,
4503,
82,
628,
220,
220,
220,
1303,
2735,
1382,
262,
16855,
198,
220,
220,
220,
1426,
796,
352,
198,
220,
220,
220,
329,
357,
49180,
11,
4686,
34223,
8,
287,
47314,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
4686,
34223,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
16993,
62,
8899,
58,
72,
60,
220,
220,
796,
1426,
220,
220,
1303,
277,
16993,
62,
8899,
796,
1796,
4686,
87,
4613,
5387,
4686,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
8899,
58,
1930,
60,
796,
1312,
220,
220,
220,
220,
1303,
2710,
62,
8899,
796,
5387,
4686,
87,
4613,
1796,
4686,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
25306,
505,
58,
1930,
60,
796,
27763,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
30144,
9521,
1366,
656,
262,
5387,
16216,
198,
220,
220,
220,
304,
6966,
62,
66,
796,
269,
58,
18218,
62,
8899,
60,
198,
220,
220,
220,
304,
6966,
62,
32,
796,
317,
58,
45299,
18218,
62,
8899,
60,
198,
220,
220,
220,
304,
6966,
62,
65,
796,
275,
58,
47715,
628,
220,
220,
220,
1303,
1114,
477,
9633,
287,
262,
1058,
28667,
27763,
11,
4259,
379,
657,
351,
281,
198,
220,
220,
220,
1303,
10537,
32315,
13,
16926,
46,
25,
2094,
470,
772,
2291,
606,
628,
220,
220,
220,
329,
474,
796,
352,
25,
22510,
62,
85,
945,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
25306,
505,
58,
73,
60,
14512,
1058,
28667,
11405,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
808,
220,
220,
220,
796,
1976,
27498,
7,
16,
11,
22510,
62,
85,
945,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
808,
58,
73,
60,
796,
352,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
304,
6966,
62,
32,
220,
220,
220,
220,
796,
410,
9246,
7,
721,
418,
62,
32,
11,
649,
62,
808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
304,
6966,
62,
65,
220,
220,
220,
220,
796,
410,
9246,
7,
721,
418,
62,
65,
11,
657,
13,
15,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
10934,
402,
17593,
198,
220,
220,
220,
1303,
1318,
481,
307,
530,
5752,
329,
790,
1058,
15419,
32863,
290,
1058,
15419,
21604,
27763,
198,
220,
220,
220,
1303,
290,
281,
3224,
5752,
329,
790,
7885,
287,
257,
1058,
50,
4503,
27763,
198,
220,
220,
220,
1303,
1471,
287,
584,
2456,
11,
2279,
326,
2125,
470,
257,
1058,
11146,
393,
1058,
28667,
198,
220,
220,
220,
1303,
3011,
257,
5752,
287,
402,
290,
289,
198,
220,
220,
220,
997,
62,
38,
62,
808,
796,
657,
198,
220,
220,
220,
329,
474,
796,
352,
25,
22510,
62,
85,
945,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
25306,
505,
58,
73,
60,
6624,
1058,
11146,
11405,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
25306,
505,
58,
73,
60,
6624,
1058,
28667,
11405,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
38,
62,
808,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
304,
6966,
62,
38,
796,
1976,
27498,
7,
22510,
62,
38,
62,
808,
11,
22510,
62,
85,
945,
8,
198,
220,
220,
220,
304,
6966,
62,
71,
796,
1976,
27498,
7,
22510,
62,
38,
62,
808,
8,
628,
220,
220,
220,
1303,
3274,
11,
5412,
262,
1058,
15419,
32863,
11,
1058,
15419,
21604,
2663,
198,
220,
220,
220,
997,
62,
1930,
62,
1506,
796,
657,
198,
220,
220,
220,
402,
62,
808,
796,
352,
198,
220,
220,
220,
329,
474,
796,
352,
25,
22510,
62,
85,
945,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
25306,
505,
58,
73,
60,
6624,
1058,
15419,
32863,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
6966,
62,
38,
58,
38,
62,
808,
11,
73,
60,
796,
532,
16,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
402,
62,
808,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
1930,
62,
1506,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4686,
25306,
505,
58,
73,
60,
6624,
1058,
15419,
21604,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
6966,
62,
38,
58,
38,
62,
808,
11,
73,
60,
796,
1343,
16,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
402,
62,
808,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
1930,
62,
1506,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
30493,
402,
62,
808,
6624,
997,
62,
1930,
62,
1506,
1343,
352,
198,
220,
220,
220,
1303,
2735,
5412,
262,
31430,
82,
198,
220,
220,
220,
1303,
383,
4904,
33,
555,
1996,
1296,
318,
6209,
655,
1139,
257,
15879,
286,
198,
220,
220,
220,
1303,
9633,
357,
88,
11,
87,
8,
3160,
287,
262,
31430,
220,
8614,
2124,
8614,
19841,
331,
198,
220,
220,
220,
1303,
13182,
2640,
3382,
1054,
71,
654,
287,
262,
1296,
289,
532,
402,
87,
287,
1195,
523,
356,
198,
220,
220,
220,
1303,
481,
5879,
657,
532,
314,
87,
3467,
259,
1195,
198,
220,
220,
220,
997,
62,
50,
4503,
62,
1102,
274,
796,
657,
198,
220,
220,
220,
31430,
62,
1102,
276,
12078,
220,
796,
2558,
21737,
198,
220,
220,
220,
329,
357,
49180,
11,
4686,
34223,
8,
287,
47314,
198,
220,
220,
220,
220,
220,
220,
220,
27763,
14512,
1058,
50,
4503,
11405,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4062,
257,
649,
31430,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
50,
4503,
62,
1102,
274,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
50,
4503,
62,
1102,
276,
12078,
11,
4129,
7,
312,
34223,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
262,
12784,
357,
34993,
278,
319,
422,
1426,
13,
29617,
415,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
4686,
34223,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
6966,
62,
38,
58,
38,
62,
808,
11,
69,
16993,
62,
8899,
58,
73,
11907,
796,
532,
16,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
402,
62,
808,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
30493,
402,
62,
808,
6624,
997,
62,
38,
62,
808,
1343,
352,
628,
220,
220,
220,
1303,
9363,
287,
262,
13182,
2640,
4645,
198,
220,
220,
220,
285,
13,
77,
7785,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
997,
62,
85,
945,
198,
220,
220,
220,
285,
13,
30888,
80,
220,
220,
220,
220,
220,
220,
220,
220,
796,
997,
62,
38,
62,
808,
198,
220,
220,
220,
285,
13,
710,
80,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4129,
7,
721,
418,
62,
65,
8,
198,
220,
220,
220,
285,
13,
77,
1930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
997,
62,
1930,
62,
1506,
198,
220,
220,
220,
285,
13,
77,
1102,
274,
220,
220,
220,
220,
220,
220,
220,
796,
997,
62,
50,
4503,
62,
1102,
274,
198,
220,
220,
220,
285,
13,
1102,
276,
12078,
220,
220,
220,
220,
220,
796,
31430,
62,
1102,
276,
12078,
198,
220,
220,
220,
285,
13,
38,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
304,
6966,
62,
38,
198,
220,
220,
220,
285,
13,
32,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
304,
6966,
62,
32,
198,
220,
220,
220,
285,
13,
66,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
304,
6966,
62,
66,
198,
220,
220,
220,
285,
13,
11612,
62,
33819,
220,
220,
220,
796,
1058,
9452,
198,
220,
220,
220,
285,
13,
71,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
304,
6966,
62,
71,
198,
220,
220,
220,
285,
13,
65,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
304,
6966,
62,
65,
198,
220,
220,
220,
285,
13,
69,
16993,
62,
8899,
220,
220,
220,
220,
220,
220,
796,
277,
16993,
62,
8899,
198,
437
] | 2.026734 | 5,162 |
function vertex_input_attribute_descriptions(::Type{T}, binding, formats=Format.(fieldtypes(T))) where {T}
VertexInputAttributeDescription.(
0:fieldcount(T)-1,
binding,
formats,
fieldoffset.(T, 1:fieldcount(T)),
)
end
Vulkan.VertexInputBindingDescription(::Type{T}, binding; input_rate = VERTEX_INPUT_RATE_VERTEX) where {T} =
VertexInputBindingDescription(binding, sizeof(T), input_rate)
| [
8818,
37423,
62,
15414,
62,
42348,
62,
20147,
1968,
507,
7,
3712,
6030,
90,
51,
5512,
12765,
11,
17519,
28,
26227,
12195,
3245,
19199,
7,
51,
22305,
810,
1391,
51,
92,
198,
220,
220,
220,
4643,
16886,
20560,
33682,
11828,
12195,
198,
220,
220,
220,
220,
220,
220,
220,
657,
25,
3245,
9127,
7,
51,
13219,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
12765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
17519,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2214,
28968,
12195,
51,
11,
352,
25,
3245,
9127,
7,
51,
36911,
198,
220,
220,
220,
1267,
198,
437,
198,
198,
53,
31263,
13,
13414,
16886,
20560,
33,
6020,
11828,
7,
3712,
6030,
90,
51,
5512,
12765,
26,
5128,
62,
4873,
796,
569,
17395,
6369,
62,
1268,
30076,
62,
49,
6158,
62,
15858,
6369,
8,
810,
1391,
51,
92,
796,
198,
220,
220,
220,
4643,
16886,
20560,
33,
6020,
11828,
7,
30786,
11,
39364,
7,
51,
828,
5128,
62,
4873,
8,
198
] | 2.577381 | 168 |
let
# fitting noisy data to an exponential model
model(x, p) = @. p[1] * exp(-x * p[2])
#model(x,p) = [p[1],100*(p[2]-p[1]^2)]
# some example data
Random.seed!(12345)
xdata = range(0, stop=10, length=50_000)
ydata = model(xdata, [1.0, 2.0]) + 0.01*randn(length(xdata))
p0 = [.5, .5]
function jacobian_model(x,p)
J = Array{Float64}(undef, length(x), length(p))
@. J[:,1] = exp(-x*p[2]) #dmodel/dp[1]
@. @views J[:,2] = -x*p[1]*J[:,1]
J
end
#Generating the "automatic" avv
model_inplace(out, p) = @. out = p[1] * exp(-xdata * p[2])
hessians = Array{Float64}(undef, length(xdata)*length(p0), length(p0))
h! = make_hessian(model_inplace, xdata, p0)
auto_avv! = Avv(h!, length(p0), length(xdata))
# a couple notes on the Avv function:
# - the basic idea is to see the model output as simply a collection of functions: f1...fm
# - then Avv return an array of size m, where each elements corresponds to
# v'H(p)v, with H an n*n Hessian matrix of the m-th function, with n the size of p
function manual_avv!(dir_deriv,p,v)
v1 = v[1]
v2 = v[2]
for i=1:length(xdata)
#compute all the elements of the H matrix
h11 = 0
h12 = (-xdata[i] * exp(-xdata[i] * p[2]))
#h21 = h12
h22 = (xdata[i]^2 * p[1] * exp(-xdata[i] * p[2]))
# manually compute v'Hv. This whole process might seem cumbersome, but
# allocating temporary matrices quickly becomes REALLY expensive and might even
# render the use of geodesic acceleration terribly inefficient
dir_deriv[i] = h11*v1^2 + 2*h12*v1*v2 + h22*v2^2
end
end
curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=1); #warmup
curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=1, avv! = manual_avv!,lambda=0, min_step_quality = 0); #lambda = 0 to match Mark's code
curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=10, avv! = auto_avv!,lambda=0, min_step_quality = 0)
println("--------------\nPerformance of curve_fit vs geo")
println("\t Non-inplace")
fit = @time curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=1000)
@test fit.converged
println("\t Geodesic")
fit_geo = @time curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=10, avv! = manual_avv!,lambda=0, min_step_quality = 0)
@test fit_geo.converged
println("\t Geodesic - auto avv!")
fit_geo_auto = @time curve_fit(model, jacobian_model, xdata, ydata, p0; maxIter=10, avv! = auto_avv!,lambda=0, min_step_quality = 0)
@test fit_geo_auto.converged
@test maximum(abs.(fit.param-[1.0, 2.0])) < 1e-1
@test maximum(abs.(fit.param-fit_geo.param)) < 1e-6
@test maximum(abs.(fit.param-fit_geo_auto.param)) < 1e-6
#with noise
yvars = 1e-6*rand(length(xdata))
ydata = model(xdata, [1.0, 2.0]) + sqrt.(yvars) .* randn(length(xdata))
#warm up
curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=1)
curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=1, avv! = manual_avv!,lambda=0, min_step_quality = 0)
curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=1, avv! = auto_avv!,lambda=0, min_step_quality = 0)
println("--------------\nPerformance of curve_fit vs geo with weights")
println("\t Non-inplace")
fit_wt = @time curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=100)
@test fit_wt.converged
println("\t Geodesic")
fit_geo_wt = @time curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=100, avv! = manual_avv!,lambda=0, min_step_quality = 0)
@test fit_geo_wt.converged
println("\t Geodesic - auto avv!")
fit_geo_auto_wt = @time curve_fit(model, jacobian_model, xdata, ydata, 1 ./ yvars, p0; maxIter=100, avv! = auto_avv!,lambda=0, min_step_quality = 0)
@test fit_geo_auto_wt.converged
@test maximum(abs.(fit_wt.param-[1.0, 2.0])) < 1e-1
@test maximum(abs.(fit_wt.param-fit_geo_wt.param)) < 1e-6
@test maximum(abs.(fit_wt.param-fit_geo_auto_wt.param)) < 1e-6
end
| [
1616,
198,
220,
220,
220,
220,
628,
220,
220,
220,
1303,
15830,
31210,
1366,
284,
281,
39682,
2746,
198,
220,
220,
220,
2746,
7,
87,
11,
279,
8,
796,
2488,
13,
279,
58,
16,
60,
1635,
1033,
32590,
87,
1635,
279,
58,
17,
12962,
198,
220,
220,
220,
1303,
19849,
7,
87,
11,
79,
8,
796,
685,
79,
58,
16,
4357,
3064,
9,
7,
79,
58,
17,
45297,
79,
58,
16,
60,
61,
17,
15437,
198,
220,
220,
220,
1303,
617,
1672,
1366,
198,
220,
220,
220,
14534,
13,
28826,
0,
7,
10163,
2231,
8,
198,
220,
220,
220,
2124,
7890,
796,
2837,
7,
15,
11,
2245,
28,
940,
11,
4129,
28,
1120,
62,
830,
8,
198,
220,
220,
220,
331,
7890,
796,
2746,
7,
87,
7890,
11,
685,
16,
13,
15,
11,
362,
13,
15,
12962,
1343,
657,
13,
486,
9,
25192,
77,
7,
13664,
7,
87,
7890,
4008,
198,
220,
220,
220,
279,
15,
796,
685,
13,
20,
11,
764,
20,
60,
628,
220,
220,
220,
2163,
474,
330,
672,
666,
62,
19849,
7,
87,
11,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
449,
796,
15690,
90,
43879,
2414,
92,
7,
917,
891,
11,
4129,
7,
87,
828,
4129,
7,
79,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
13,
449,
58,
45299,
16,
60,
796,
1033,
32590,
87,
9,
79,
58,
17,
12962,
220,
220,
220,
220,
1303,
67,
19849,
14,
26059,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
13,
2488,
33571,
449,
58,
45299,
17,
60,
796,
532,
87,
9,
79,
58,
16,
60,
9,
41,
58,
45299,
16,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
449,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
8645,
803,
262,
366,
37800,
1,
1196,
85,
198,
220,
220,
220,
2746,
62,
259,
5372,
7,
448,
11,
279,
8,
796,
220,
2488,
13,
503,
796,
279,
58,
16,
60,
1635,
1033,
32590,
87,
7890,
1635,
279,
58,
17,
12962,
628,
220,
220,
220,
339,
824,
1547,
796,
15690,
90,
43879,
2414,
92,
7,
917,
891,
11,
4129,
7,
87,
7890,
27493,
13664,
7,
79,
15,
828,
4129,
7,
79,
15,
4008,
198,
220,
220,
220,
289,
0,
796,
787,
62,
33979,
666,
7,
19849,
62,
259,
5372,
11,
2124,
7890,
11,
279,
15,
8,
198,
220,
220,
220,
8295,
62,
615,
85,
0,
796,
5184,
85,
7,
71,
28265,
4129,
7,
79,
15,
828,
4129,
7,
87,
7890,
4008,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
628,
220,
220,
220,
1303,
257,
3155,
4710,
319,
262,
5184,
85,
2163,
25,
198,
220,
220,
220,
1303,
532,
262,
4096,
2126,
318,
284,
766,
262,
2746,
5072,
355,
2391,
257,
4947,
286,
5499,
25,
277,
16,
986,
38353,
198,
220,
220,
220,
1303,
532,
788,
5184,
85,
1441,
281,
7177,
286,
2546,
285,
11,
810,
1123,
4847,
24866,
284,
198,
220,
220,
220,
1303,
410,
6,
39,
7,
79,
8,
85,
11,
351,
367,
281,
299,
9,
77,
46305,
666,
17593,
286,
262,
285,
12,
400,
2163,
11,
351,
299,
262,
2546,
286,
279,
198,
220,
220,
220,
2163,
10107,
62,
615,
85,
0,
7,
15908,
62,
1082,
452,
11,
79,
11,
85,
8,
198,
220,
220,
220,
220,
220,
220,
220,
410,
16,
796,
410,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
410,
17,
796,
410,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
28,
16,
25,
13664,
7,
87,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5589,
1133,
477,
262,
4847,
286,
262,
367,
17593,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
1157,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
1065,
796,
13841,
87,
7890,
58,
72,
60,
1635,
1033,
32590,
87,
7890,
58,
72,
60,
1635,
279,
58,
17,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
71,
2481,
796,
289,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
1828,
796,
357,
87,
7890,
58,
72,
60,
61,
17,
1635,
279,
58,
16,
60,
1635,
1033,
32590,
87,
7890,
58,
72,
60,
1635,
279,
58,
17,
60,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
14500,
24061,
410,
6,
39,
85,
13,
770,
2187,
1429,
1244,
1283,
44491,
11,
475,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
477,
27123,
8584,
2603,
45977,
2952,
4329,
36413,
5789,
290,
1244,
772,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8543,
262,
779,
286,
4903,
4147,
291,
20309,
22121,
30904,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
1082,
452,
58,
72,
60,
796,
289,
1157,
9,
85,
16,
61,
17,
1343,
362,
9,
71,
1065,
9,
85,
16,
9,
85,
17,
1343,
289,
1828,
9,
85,
17,
61,
17,
628,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
220,
628,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
16,
1776,
1303,
31975,
929,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
16,
11,
1196,
85,
0,
796,
10107,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
1776,
1303,
50033,
796,
657,
284,
2872,
2940,
338,
2438,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
940,
11,
1196,
85,
0,
796,
8295,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
628,
220,
220,
220,
44872,
7203,
26171,
59,
77,
32273,
286,
12133,
62,
11147,
3691,
40087,
4943,
628,
220,
220,
220,
44872,
7203,
59,
83,
8504,
12,
259,
5372,
4943,
198,
220,
220,
220,
4197,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
12825,
8,
198,
220,
220,
220,
2488,
9288,
4197,
13,
1102,
332,
2004,
628,
198,
220,
220,
220,
44872,
7203,
59,
83,
2269,
4147,
291,
4943,
198,
220,
220,
220,
4197,
62,
469,
78,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
940,
11,
1196,
85,
0,
796,
10107,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
198,
220,
220,
220,
2488,
9288,
4197,
62,
469,
78,
13,
1102,
332,
2004,
628,
220,
220,
220,
220,
198,
220,
220,
220,
44872,
7203,
59,
83,
2269,
4147,
291,
532,
8295,
1196,
85,
2474,
8,
198,
220,
220,
220,
4197,
62,
469,
78,
62,
23736,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
279,
15,
26,
3509,
29993,
28,
940,
11,
1196,
85,
0,
796,
8295,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
198,
220,
220,
220,
2488,
9288,
4197,
62,
469,
78,
62,
23736,
13,
1102,
332,
2004,
628,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
13,
17143,
49146,
16,
13,
15,
11,
362,
13,
15,
60,
4008,
1279,
352,
68,
12,
16,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
13,
17143,
12,
11147,
62,
469,
78,
13,
17143,
4008,
1279,
352,
68,
12,
21,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
13,
17143,
12,
11147,
62,
469,
78,
62,
23736,
13,
17143,
4008,
1279,
352,
68,
12,
21,
628,
628,
220,
220,
220,
1303,
4480,
7838,
198,
220,
220,
220,
331,
85,
945,
796,
352,
68,
12,
21,
9,
25192,
7,
13664,
7,
87,
7890,
4008,
198,
220,
220,
220,
331,
7890,
796,
2746,
7,
87,
7890,
11,
685,
16,
13,
15,
11,
362,
13,
15,
12962,
1343,
19862,
17034,
12195,
88,
85,
945,
8,
764,
9,
43720,
77,
7,
13664,
7,
87,
7890,
4008,
628,
220,
220,
220,
1303,
31975,
510,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
16,
8,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
220,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
16,
11,
1196,
85,
0,
796,
10107,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
198,
220,
220,
220,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
220,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
16,
11,
1196,
85,
0,
796,
8295,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
628,
220,
220,
220,
44872,
7203,
26171,
59,
77,
32273,
286,
12133,
62,
11147,
3691,
40087,
351,
19590,
4943,
628,
220,
220,
220,
44872,
7203,
59,
83,
8504,
12,
259,
5372,
4943,
198,
220,
220,
220,
4197,
62,
46569,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
3064,
8,
198,
220,
220,
220,
2488,
9288,
4197,
62,
46569,
13,
1102,
332,
2004,
628,
198,
220,
220,
220,
44872,
7203,
59,
83,
2269,
4147,
291,
4943,
198,
220,
220,
220,
4197,
62,
469,
78,
62,
46569,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
220,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
3064,
11,
1196,
85,
0,
796,
10107,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
198,
220,
220,
220,
2488,
9288,
4197,
62,
469,
78,
62,
46569,
13,
1102,
332,
2004,
628,
198,
220,
220,
220,
44872,
7203,
59,
83,
2269,
4147,
291,
532,
8295,
1196,
85,
2474,
8,
198,
220,
220,
220,
4197,
62,
469,
78,
62,
23736,
62,
46569,
796,
2488,
2435,
12133,
62,
11147,
7,
19849,
11,
474,
330,
672,
666,
62,
19849,
11,
2124,
7890,
11,
331,
7890,
11,
220,
352,
24457,
331,
85,
945,
11,
279,
15,
26,
3509,
29993,
28,
3064,
11,
1196,
85,
0,
796,
8295,
62,
615,
85,
28265,
50033,
28,
15,
11,
949,
62,
9662,
62,
13237,
796,
657,
8,
198,
220,
220,
220,
2488,
9288,
4197,
62,
469,
78,
62,
23736,
62,
46569,
13,
1102,
332,
2004,
628,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
62,
46569,
13,
17143,
49146,
16,
13,
15,
11,
362,
13,
15,
60,
4008,
1279,
352,
68,
12,
16,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
62,
46569,
13,
17143,
12,
11147,
62,
469,
78,
62,
46569,
13,
17143,
4008,
1279,
352,
68,
12,
21,
198,
220,
220,
220,
2488,
9288,
5415,
7,
8937,
12195,
11147,
62,
46569,
13,
17143,
12,
11147,
62,
469,
78,
62,
23736,
62,
46569,
13,
17143,
4008,
1279,
352,
68,
12,
21,
198,
198,
437,
628
] | 2.149594 | 1,972 |
using Catalyst
using PathWeightSampling: ComplexSystem
using StaticArrays
using Test
sn = @reaction_network begin
κ, ∅ --> 2L
λ, L --> ∅
end κ λ
rn = @reaction_network begin
ρ, L + R --> L + LR
μ, LR --> R
ξ, R + CheY --> R + CheYp
ν, CheYp --> CheY
end ρ μ ξ ν
xn = @reaction_network begin
δ, CheYp --> CheYp + X
χ, X --> ∅
end δ χ
u0 = SA[10, 30, 0, 50, 0, 0]
dtimes = 0:0.5:10.0
ps = [5.0, 1.0]
pr = [1.0, 4.0, 1.0, 2.0]
px = [1.0, 1.0]
system = ComplexSystem(sn, rn, xn, u0, ps, pr, px, dtimes)
algorithms = [DirectMCEstimate(128), SMCEstimate(128)]
for algorithm in algorithms
result = mutual_information(system, algorithm, num_samples = 5)
for v in result[!, :MutualInformation]
@test length(v) == length(system.dtimes)
end
end | [
3500,
48238,
198,
3500,
10644,
25844,
16305,
11347,
25,
19157,
11964,
198,
3500,
36125,
3163,
20477,
198,
3500,
6208,
198,
198,
16184,
796,
2488,
260,
2673,
62,
27349,
2221,
198,
220,
220,
220,
7377,
118,
11,
18872,
227,
14610,
362,
43,
198,
220,
220,
220,
7377,
119,
11,
406,
14610,
18872,
227,
198,
437,
7377,
118,
7377,
119,
198,
198,
35906,
796,
2488,
260,
2673,
62,
27349,
2221,
198,
220,
220,
220,
18074,
223,
11,
406,
1343,
371,
14610,
406,
1343,
37491,
198,
220,
220,
220,
18919,
11,
37491,
14610,
371,
198,
220,
220,
220,
7377,
122,
11,
371,
1343,
2580,
56,
14610,
371,
1343,
2580,
56,
79,
198,
220,
220,
220,
7377,
121,
11,
2580,
56,
79,
14610,
2580,
56,
198,
437,
18074,
223,
18919,
7377,
122,
7377,
121,
198,
198,
87,
77,
796,
2488,
260,
2673,
62,
27349,
2221,
198,
220,
220,
220,
7377,
112,
11,
2580,
56,
79,
14610,
2580,
56,
79,
1343,
1395,
198,
220,
220,
220,
18074,
229,
11,
1395,
14610,
18872,
227,
198,
437,
7377,
112,
18074,
229,
198,
198,
84,
15,
796,
14719,
58,
940,
11,
1542,
11,
657,
11,
2026,
11,
657,
11,
657,
60,
198,
67,
22355,
796,
657,
25,
15,
13,
20,
25,
940,
13,
15,
198,
862,
796,
685,
20,
13,
15,
11,
352,
13,
15,
60,
198,
1050,
796,
685,
16,
13,
15,
11,
604,
13,
15,
11,
352,
13,
15,
11,
362,
13,
15,
60,
198,
8416,
796,
685,
16,
13,
15,
11,
352,
13,
15,
60,
198,
198,
10057,
796,
19157,
11964,
7,
16184,
11,
374,
77,
11,
2124,
77,
11,
334,
15,
11,
26692,
11,
778,
11,
279,
87,
11,
288,
22355,
8,
198,
198,
282,
7727,
907,
796,
685,
13470,
44,
5222,
301,
1920,
7,
12762,
828,
9447,
5222,
301,
1920,
7,
12762,
15437,
198,
198,
1640,
11862,
287,
16113,
198,
220,
220,
220,
1255,
796,
13584,
62,
17018,
7,
10057,
11,
11862,
11,
997,
62,
82,
12629,
796,
642,
8,
628,
220,
220,
220,
329,
410,
287,
1255,
58,
28265,
1058,
41603,
723,
21918,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
4129,
7,
85,
8,
6624,
4129,
7,
10057,
13,
67,
22355,
8,
198,
220,
220,
220,
886,
198,
437
] | 2.137466 | 371 |
function raster_one_to_all(T, V, cfg)::Matrix{T}
# Load the data
rasterdata = load_raster_data(T, V, cfg)
# Get flags
flags = get_raster_flags(cfg)
# Send to main kernel
onetoall_kernel(rasterdata, flags, cfg)
end
function onetoall_kernel(data::RasData{T,V}, flags, cfg)::Matrix{T} where {T,V}
# Data
strengths = data.strengths
included_pairs = data.included_pairs
points_rc = data.points_rc
gmap = data.cellmap
polymap = data.polymap
hbmeta = data.hbmeta
source_map = data.source_map
# Flags
use_variable_strengths = !isempty(strengths)
use_included_pairs = !isempty(included_pairs)
mode = included_pairs.mode == :include ? 0 : 1
one_to_all = flags.is_onetoall
avg_res = flags.avg_res
four_neighbors = flags.four_neighbors
if use_included_pairs
points_unique = included_pairs.point_ids
prune_points!(points_rc, included_pairs.point_ids)
if use_variable_strengths
prune_strengths!(strengths, included_pairs.point_ids)
end
end
# Construct point map
point_map = zeros(V, size(gmap))
f(i, x) = points_rc[i][x]
for x = 1:size(points_rc[1], 1)
point_map[f(1,x), f(2,x)] = f(3, x)
end
points_unique = unique(points_rc[3])
newpoly = create_new_polymap(gmap, polymap, points_rc, 0, 0, point_map)
nodemap = construct_node_map(gmap, newpoly)
a = construct_graph(gmap, nodemap, avg_res, four_neighbors)
cc = connected_components(SimpleWeightedGraph(a))
G = laplacian(a)
csinfo("There are $(size(a, 1)) points and $(length(cc)) connected components")
# source_map = Matrix{eltype(a)}(0, 0)
# ground_map = Matrix{eltype(a)}(0, 0)
s = zeros(eltype(a), size(point_map))
z = deepcopy(s)
cum = initialize_cum_maps(gmap, flags.outputflags.write_max_cur_maps)
point_ids = included_pairs.point_ids
res = zeros(eltype(a), size(points_unique, 1)) |> SharedArray
num_points_to_solve = size(points_unique, 1)
original_point_map = copy(point_map)
unique_point_map = zeros(V, size(gmap))
for i in points_unique
ind = findfirst(x -> x == i, points_rc[3])
unique_point_map[f(1,ind), f(2,ind)] = f(3,ind)
end
# @distributed for i = 1:num_points_to_solve
function f(i)
# copyto!(point_map, original_point_map)
point_map = copy(original_point_map)
str = use_variable_strengths ? strengths[i,2] : 1
csinfo("Solving point $i of $num_points_to_solve")
# copyto!(s, z)
s = copy(z)
n = points_unique[i]
if use_included_pairs
for j = 1:size(point_ids,1)
if i != j && included_pairs.include_pairs[i,j] == mode
exclude = point_ids[j]
map!(x -> x == exclude ? 0 : x, point_map, point_map)
end
end
# polymap = create_new_polymap(gmap, Polymap(polymap), points_rc, point_map = point_map)
newpoly = create_new_polymap(gmap, polymap, points_rc, 0, 0, point_map)
nodemap = construct_node_map(gmap, polymap)
a = construct_graph(gmap, nodemap, avg_res, four_neighbors)
end
# T = eltype(a)
if one_to_all
#source_map = map(x -> x == n ? str : 0, point_map)
source_map = map(x -> x == n ? T(str) : T(0), unique_point_map)
ground_map = map(x -> x == n ? T(0) : T(x), point_map)
map!(x -> x > 0 ? Inf : x, ground_map, ground_map)
else
source_map = map(x -> x != 0 ? T(x) : T(0), point_map)
map!(x -> x == n ? 0 : x, source_map, source_map)
map!(x -> x != 0 ? 1 : x, source_map, source_map)
ground_map = map(x -> x == n ? Inf : T(0), point_map)
end
check_node = nodemap[points_rc[1][i], points_rc[2][i]]
policy = one_to_all ? :rmvgnd : :rmvsrc
sources, grounds, finite_grounds =
_get_sources_and_grounds(source_map, ground_map,
flags, G, nodemap, policy)
advanced_data = AdvancedData(G, cc, nodemap, newpoly, hbmeta,
sources, grounds, source_map, finite_grounds,
check_node, n, gmap)
if one_to_all
# v = advanced(cfg, a, source_map, ground_map; nodemap = nodemap, policy = :rmvgnd,
# check_node = check_node, src = n, polymap = Polymap(newpoly), hbmeta = hbmeta)
v, curr = advanced_kernel(advanced_data, flags, cfg)
else
# v = advanced(cfg, a, source_map, ground_map; nodemap = nodemap, policy = :rmvsrc,
# check_node = check_node, src = n, polymap = Polymap(newpoly), hbmeta = hbmeta)
v, curr = advanced_kernel(advanced_data, flags, cfg)
end
res[i] = v[1]
cum.cum_curr[mycsid()] .+= curr
flags.outputflags.write_max_cur_maps && (cum.max_curr[mycsid()] .= max.(cum.max_curr[mycsid()], curr))
end
pmap(x -> f(x), 1:num_points_to_solve)
if flags.outputflags.write_cur_maps
write_cum_maps(cum, gmap, cfg, hbmeta,
flags.outputflags.write_max_cur_maps,
flags.outputflags.write_cum_cur_map_only)
end
hcat(points_unique, res)
end
function prune_points!(points_rc, point_ids::Vector{V}) where V
rmv = V[]
for (i,p) in enumerate(points_rc[3])
if p in point_ids
continue
else
#for it in 1:3 deleteat!(points_rc[it], i) end
push!(rmv, i)
end
end
for i in 1:3 deleteat!(points_rc[i], rmv) end
end
function prune_strengths!(strengths, point_ids::Vector{V}) where V
pts = strengths[:,1]
l = length(pts)
rmv = V[]
for (i,p) in enumerate(pts)
if !(p in point_ids)
push!(rmv, i)
end
end
rng = collect(1:l)
deleteat!(rng, rmv)
strengths[rng,:]
end
| [
8818,
374,
1603,
62,
505,
62,
1462,
62,
439,
7,
51,
11,
569,
11,
30218,
70,
2599,
25,
46912,
90,
51,
92,
628,
220,
220,
220,
1303,
8778,
262,
1366,
198,
220,
220,
220,
374,
1603,
7890,
796,
3440,
62,
81,
1603,
62,
7890,
7,
51,
11,
569,
11,
30218,
70,
8,
628,
220,
220,
220,
1303,
3497,
9701,
198,
220,
220,
220,
9701,
796,
651,
62,
81,
1603,
62,
33152,
7,
37581,
8,
628,
220,
220,
220,
1303,
16290,
284,
1388,
9720,
198,
220,
220,
220,
319,
27206,
439,
62,
33885,
7,
81,
1603,
7890,
11,
9701,
11,
30218,
70,
8,
198,
437,
198,
198,
8818,
319,
27206,
439,
62,
33885,
7,
7890,
3712,
49,
292,
6601,
90,
51,
11,
53,
5512,
9701,
11,
30218,
70,
2599,
25,
46912,
90,
51,
92,
810,
1391,
51,
11,
53,
92,
628,
220,
220,
220,
1303,
6060,
198,
220,
220,
220,
18929,
796,
1366,
13,
22853,
782,
9998,
198,
220,
220,
220,
3017,
62,
79,
3468,
796,
1366,
13,
259,
10341,
62,
79,
3468,
198,
220,
220,
220,
2173,
62,
6015,
796,
1366,
13,
13033,
62,
6015,
198,
220,
220,
220,
308,
8899,
796,
1366,
13,
3846,
8899,
198,
220,
220,
220,
7514,
8899,
796,
1366,
13,
35428,
8899,
198,
220,
220,
220,
289,
65,
28961,
796,
1366,
13,
71,
65,
28961,
198,
220,
220,
220,
2723,
62,
8899,
796,
1366,
13,
10459,
62,
8899,
628,
220,
220,
220,
1303,
34771,
198,
220,
220,
220,
779,
62,
45286,
62,
22853,
782,
9998,
796,
5145,
271,
28920,
7,
22853,
782,
9998,
8,
198,
220,
220,
220,
779,
62,
259,
10341,
62,
79,
3468,
796,
5145,
271,
28920,
7,
259,
10341,
62,
79,
3468,
8,
198,
220,
220,
220,
4235,
796,
3017,
62,
79,
3468,
13,
14171,
6624,
1058,
17256,
5633,
657,
1058,
352,
198,
220,
220,
220,
530,
62,
1462,
62,
439,
796,
9701,
13,
271,
62,
261,
27206,
439,
220,
198,
220,
220,
220,
42781,
62,
411,
796,
9701,
13,
615,
70,
62,
411,
198,
220,
220,
220,
1440,
62,
710,
394,
32289,
796,
9701,
13,
14337,
62,
710,
394,
32289,
220,
220,
220,
628,
220,
220,
220,
611,
779,
62,
259,
10341,
62,
79,
3468,
198,
220,
220,
220,
220,
220,
220,
220,
2173,
62,
34642,
796,
3017,
62,
79,
3468,
13,
4122,
62,
2340,
198,
220,
220,
220,
220,
220,
220,
220,
778,
1726,
62,
13033,
0,
7,
13033,
62,
6015,
11,
3017,
62,
79,
3468,
13,
4122,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
779,
62,
45286,
62,
22853,
782,
9998,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
778,
1726,
62,
22853,
782,
9998,
0,
7,
22853,
782,
9998,
11,
3017,
62,
79,
3468,
13,
4122,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
28407,
966,
3975,
198,
220,
220,
220,
966,
62,
8899,
796,
1976,
27498,
7,
53,
11,
2546,
7,
70,
8899,
4008,
198,
220,
220,
220,
277,
7,
72,
11,
2124,
8,
796,
2173,
62,
6015,
58,
72,
7131,
87,
60,
198,
220,
220,
220,
329,
2124,
796,
352,
25,
7857,
7,
13033,
62,
6015,
58,
16,
4357,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
966,
62,
8899,
58,
69,
7,
16,
11,
87,
828,
277,
7,
17,
11,
87,
15437,
796,
277,
7,
18,
11,
2124,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2173,
62,
34642,
796,
3748,
7,
13033,
62,
6015,
58,
18,
12962,
628,
220,
220,
220,
649,
35428,
796,
2251,
62,
3605,
62,
35428,
8899,
7,
70,
8899,
11,
7514,
8899,
11,
2173,
62,
6015,
11,
657,
11,
657,
11,
966,
62,
8899,
8,
628,
220,
220,
220,
18666,
368,
499,
796,
5678,
62,
17440,
62,
8899,
7,
70,
8899,
11,
649,
35428,
8,
628,
220,
220,
220,
257,
796,
5678,
62,
34960,
7,
70,
8899,
11,
18666,
368,
499,
11,
42781,
62,
411,
11,
1440,
62,
710,
394,
32289,
8,
198,
220,
220,
220,
36624,
796,
5884,
62,
5589,
3906,
7,
26437,
25844,
276,
37065,
7,
64,
4008,
198,
220,
220,
220,
402,
796,
8591,
489,
330,
666,
7,
64,
8,
198,
220,
220,
220,
50115,
10951,
7203,
1858,
389,
29568,
7857,
7,
64,
11,
352,
4008,
2173,
290,
29568,
13664,
7,
535,
4008,
5884,
6805,
4943,
628,
220,
220,
220,
1303,
2723,
62,
8899,
796,
24936,
90,
417,
4906,
7,
64,
38165,
7,
15,
11,
657,
8,
198,
220,
220,
220,
1303,
2323,
62,
8899,
796,
24936,
90,
417,
4906,
7,
64,
38165,
7,
15,
11,
657,
8,
198,
220,
220,
220,
264,
796,
1976,
27498,
7,
417,
4906,
7,
64,
828,
2546,
7,
4122,
62,
8899,
4008,
198,
220,
220,
220,
1976,
796,
2769,
30073,
7,
82,
8,
198,
220,
220,
220,
10973,
796,
41216,
62,
36340,
62,
31803,
7,
70,
8899,
11,
9701,
13,
22915,
33152,
13,
13564,
62,
9806,
62,
22019,
62,
31803,
8,
628,
220,
220,
220,
966,
62,
2340,
796,
3017,
62,
79,
3468,
13,
4122,
62,
2340,
198,
220,
220,
220,
581,
796,
1976,
27498,
7,
417,
4906,
7,
64,
828,
2546,
7,
13033,
62,
34642,
11,
352,
4008,
930,
29,
39403,
19182,
198,
220,
220,
220,
997,
62,
13033,
62,
1462,
62,
82,
6442,
796,
2546,
7,
13033,
62,
34642,
11,
352,
8,
198,
220,
220,
220,
2656,
62,
4122,
62,
8899,
796,
4866,
7,
4122,
62,
8899,
8,
198,
220,
220,
220,
3748,
62,
4122,
62,
8899,
796,
1976,
27498,
7,
53,
11,
2546,
7,
70,
8899,
4008,
628,
220,
220,
220,
329,
1312,
287,
2173,
62,
34642,
198,
220,
220,
220,
220,
220,
220,
220,
773,
796,
1064,
11085,
7,
87,
4613,
2124,
6624,
1312,
11,
2173,
62,
6015,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3748,
62,
4122,
62,
8899,
58,
69,
7,
16,
11,
521,
828,
277,
7,
17,
11,
521,
15437,
796,
277,
7,
18,
11,
521,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
2488,
17080,
6169,
329,
1312,
796,
352,
25,
22510,
62,
13033,
62,
1462,
62,
82,
6442,
198,
220,
220,
220,
2163,
277,
7,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4866,
1462,
0,
7,
4122,
62,
8899,
11,
2656,
62,
4122,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
966,
62,
8899,
796,
4866,
7,
14986,
62,
4122,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
965,
796,
779,
62,
45286,
62,
22853,
782,
9998,
5633,
18929,
58,
72,
11,
17,
60,
1058,
352,
198,
220,
220,
220,
220,
220,
220,
220,
50115,
10951,
7203,
50,
10890,
966,
720,
72,
286,
720,
22510,
62,
13033,
62,
1462,
62,
82,
6442,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4866,
1462,
0,
7,
82,
11,
1976,
8,
198,
220,
220,
220,
220,
220,
220,
220,
264,
796,
4866,
7,
89,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
2173,
62,
34642,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
779,
62,
259,
10341,
62,
79,
3468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
7857,
7,
4122,
62,
2340,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
14512,
474,
11405,
3017,
62,
79,
3468,
13,
17256,
62,
79,
3468,
58,
72,
11,
73,
60,
6624,
4235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19607,
796,
966,
62,
2340,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
0,
7,
87,
4613,
2124,
6624,
19607,
5633,
657,
1058,
2124,
11,
966,
62,
8899,
11,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7514,
8899,
796,
2251,
62,
3605,
62,
35428,
8899,
7,
70,
8899,
11,
12280,
8899,
7,
35428,
8899,
828,
2173,
62,
6015,
11,
966,
62,
8899,
796,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
35428,
796,
2251,
62,
3605,
62,
35428,
8899,
7,
70,
8899,
11,
7514,
8899,
11,
2173,
62,
6015,
11,
657,
11,
657,
11,
966,
62,
8899,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18666,
368,
499,
796,
5678,
62,
17440,
62,
8899,
7,
70,
8899,
11,
7514,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
5678,
62,
34960,
7,
70,
8899,
11,
18666,
368,
499,
11,
42781,
62,
411,
11,
1440,
62,
710,
394,
32289,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
309,
796,
1288,
4906,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
530,
62,
1462,
62,
439,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10459,
62,
8899,
796,
3975,
7,
87,
4613,
2124,
6624,
299,
5633,
965,
1058,
657,
11,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2723,
62,
8899,
796,
3975,
7,
87,
4613,
2124,
6624,
299,
5633,
309,
7,
2536,
8,
1058,
309,
7,
15,
828,
3748,
62,
4122,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2323,
62,
8899,
796,
3975,
7,
87,
4613,
2124,
6624,
299,
5633,
309,
7,
15,
8,
1058,
309,
7,
87,
828,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
0,
7,
87,
4613,
2124,
1875,
657,
5633,
4806,
1058,
2124,
11,
2323,
62,
8899,
11,
2323,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2723,
62,
8899,
796,
3975,
7,
87,
4613,
2124,
14512,
657,
5633,
309,
7,
87,
8,
1058,
309,
7,
15,
828,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
0,
7,
87,
4613,
2124,
6624,
299,
5633,
657,
1058,
2124,
11,
2723,
62,
8899,
11,
2723,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
0,
7,
87,
4613,
2124,
14512,
657,
5633,
352,
1058,
2124,
11,
2723,
62,
8899,
11,
2723,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2323,
62,
8899,
796,
3975,
7,
87,
4613,
2124,
6624,
299,
5633,
4806,
1058,
309,
7,
15,
828,
966,
62,
8899,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
17440,
796,
18666,
368,
499,
58,
13033,
62,
6015,
58,
16,
7131,
72,
4357,
2173,
62,
6015,
58,
17,
7131,
72,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2450,
796,
530,
62,
1462,
62,
439,
5633,
1058,
26224,
45119,
358,
1058,
1058,
26224,
85,
10677,
198,
220,
220,
220,
220,
220,
220,
220,
4237,
11,
9384,
11,
27454,
62,
40520,
796,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
1136,
62,
82,
2203,
62,
392,
62,
40520,
7,
10459,
62,
8899,
11,
2323,
62,
8899,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9701,
11,
402,
11,
18666,
368,
499,
11,
2450,
8,
198,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
6190,
62,
7890,
796,
13435,
6601,
7,
38,
11,
36624,
11,
18666,
368,
499,
11,
649,
35428,
11,
289,
65,
28961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4237,
11,
9384,
11,
2723,
62,
8899,
11,
27454,
62,
40520,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
17440,
11,
299,
11,
308,
8899,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
530,
62,
1462,
62,
439,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
410,
796,
6190,
7,
37581,
11,
257,
11,
2723,
62,
8899,
11,
2323,
62,
8899,
26,
18666,
368,
499,
796,
18666,
368,
499,
11,
2450,
796,
1058,
26224,
45119,
358,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
17440,
796,
2198,
62,
17440,
11,
12351,
796,
299,
11,
7514,
8899,
796,
12280,
8899,
7,
3605,
35428,
828,
289,
65,
28961,
796,
289,
65,
28961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
11,
1090,
81,
796,
6190,
62,
33885,
7,
32225,
2903,
62,
7890,
11,
9701,
11,
30218,
70,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
410,
796,
6190,
7,
37581,
11,
257,
11,
2723,
62,
8899,
11,
2323,
62,
8899,
26,
18666,
368,
499,
796,
18666,
368,
499,
11,
2450,
796,
1058,
26224,
85,
10677,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
17440,
796,
2198,
62,
17440,
11,
12351,
796,
299,
11,
7514,
8899,
796,
12280,
8899,
7,
3605,
35428,
828,
289,
65,
28961,
796,
289,
65,
28961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
11,
1090,
81,
796,
6190,
62,
33885,
7,
32225,
2903,
62,
7890,
11,
9701,
11,
30218,
70,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
581,
58,
72,
60,
796,
410,
58,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
10973,
13,
36340,
62,
22019,
81,
58,
1820,
6359,
312,
3419,
60,
764,
47932,
1090,
81,
198,
220,
220,
220,
220,
220,
220,
220,
9701,
13,
22915,
33152,
13,
13564,
62,
9806,
62,
22019,
62,
31803,
11405,
357,
36340,
13,
9806,
62,
22019,
81,
58,
1820,
6359,
312,
3419,
60,
764,
28,
3509,
12195,
36340,
13,
9806,
62,
22019,
81,
58,
1820,
6359,
312,
3419,
4357,
1090,
81,
4008,
198,
220,
220,
220,
886,
628,
220,
220,
220,
279,
8899,
7,
87,
4613,
277,
7,
87,
828,
352,
25,
22510,
62,
13033,
62,
1462,
62,
82,
6442,
8,
628,
220,
220,
220,
611,
9701,
13,
22915,
33152,
13,
13564,
62,
22019,
62,
31803,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
36340,
62,
31803,
7,
36340,
11,
308,
8899,
11,
30218,
70,
11,
289,
65,
28961,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9701,
13,
22915,
33152,
13,
13564,
62,
9806,
62,
22019,
62,
31803,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9701,
13,
22915,
33152,
13,
13564,
62,
36340,
62,
22019,
62,
8899,
62,
8807,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
289,
9246,
7,
13033,
62,
34642,
11,
581,
8,
198,
437,
198,
198,
8818,
778,
1726,
62,
13033,
0,
7,
13033,
62,
6015,
11,
966,
62,
2340,
3712,
38469,
90,
53,
30072,
810,
569,
198,
220,
220,
220,
42721,
85,
796,
569,
21737,
198,
220,
220,
220,
329,
357,
72,
11,
79,
8,
287,
27056,
378,
7,
13033,
62,
6015,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
279,
287,
966,
62,
2340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1640,
340,
287,
352,
25,
18,
12233,
265,
0,
7,
13033,
62,
6015,
58,
270,
4357,
1312,
8,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
26224,
85,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
18,
12233,
265,
0,
7,
13033,
62,
6015,
58,
72,
4357,
42721,
85,
8,
886,
198,
437,
198,
198,
8818,
778,
1726,
62,
22853,
782,
9998,
0,
7,
22853,
782,
9998,
11,
966,
62,
2340,
3712,
38469,
90,
53,
30072,
810,
569,
198,
220,
220,
220,
43344,
796,
18929,
58,
45299,
16,
60,
198,
220,
220,
220,
300,
796,
4129,
7,
457,
82,
8,
198,
220,
220,
220,
42721,
85,
796,
569,
21737,
198,
220,
220,
220,
329,
357,
72,
11,
79,
8,
287,
27056,
378,
7,
457,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
7,
79,
287,
966,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
26224,
85,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
374,
782,
796,
2824,
7,
16,
25,
75,
8,
198,
220,
220,
220,
12233,
265,
0,
7,
81,
782,
11,
42721,
85,
8,
198,
220,
220,
220,
18929,
58,
81,
782,
11,
47715,
198,
437,
198
] | 2.001657 | 3,018 |
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder, Pkg
name = "glmnet"
version = v"4.0.2"
# Collection of sources required to complete build
sources = [
GitSource("https://github.com/cran/glmnet.git", "b1a4b50de01e0cd24343959d7cf86452bac17b26")
]
# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/glmnet/src
# Add stub for `setpb`, which normally comes from `pb.c` to connect the
# progress meter to R, but we don't need that
echo "
subroutine setpb(val)
return
end
" > pb.f
flags="-fdefault-real-8 -ffixed-form -shared -O3"
if [[ ${target} != *mingw* ]]; then
flags="${flags} -fPIC";
fi
if [[ ${target} != aarch64* ]] && [[ ${target} != arm* ]]; then
flags="${flags} -m${nbits}";
fi
mkdir -p ${libdir}
${FC} ${LDFLAGS} ${flags} glmnet5dpclean.f wls.f pb.f -o ${libdir}/libglmnet.${dlext}
install_license ../DESCRIPTION
"""
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = expand_gfortran_versions(supported_platforms())
# The products that we will ensure are always built
products = [
LibraryProduct("libglmnet", :libglmnet)
]
# Dependencies that must be installed before this package can be built
dependencies = Dependency[
Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae"))
]
# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies)
| [
2,
5740,
326,
428,
4226,
460,
2453,
617,
3614,
3141,
12,
1370,
7159,
11,
1057,
198,
2,
4600,
73,
43640,
1382,
62,
18870,
21591,
13,
20362,
1377,
16794,
63,
284,
766,
257,
8748,
3275,
13,
198,
3500,
45755,
32875,
11,
350,
10025,
198,
198,
3672,
796,
366,
4743,
76,
3262,
1,
198,
9641,
796,
410,
1,
19,
13,
15,
13,
17,
1,
198,
198,
2,
12251,
286,
4237,
2672,
284,
1844,
1382,
198,
82,
2203,
796,
685,
198,
220,
220,
220,
15151,
7416,
7203,
5450,
1378,
12567,
13,
785,
14,
66,
2596,
14,
4743,
76,
3262,
13,
18300,
1600,
366,
65,
16,
64,
19,
65,
1120,
2934,
486,
68,
15,
10210,
1731,
2682,
2670,
3270,
67,
22,
12993,
4521,
37730,
65,
330,
1558,
65,
2075,
4943,
198,
60,
198,
198,
2,
15743,
8364,
329,
2615,
1973,
477,
9554,
198,
12048,
796,
8246,
37811,
198,
10210,
720,
33249,
4303,
11598,
14,
10677,
15908,
14,
4743,
76,
3262,
14,
10677,
198,
198,
2,
3060,
17071,
329,
4600,
2617,
40842,
47671,
543,
7685,
2058,
422,
4600,
40842,
13,
66,
63,
284,
2018,
262,
220,
198,
2,
4371,
16430,
284,
371,
11,
475,
356,
836,
470,
761,
326,
198,
30328,
366,
198,
220,
220,
220,
220,
220,
850,
81,
28399,
900,
40842,
7,
2100,
8,
198,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
886,
198,
1,
1875,
279,
65,
13,
69,
198,
198,
33152,
2625,
12,
69,
12286,
12,
5305,
12,
23,
532,
487,
2966,
12,
687,
532,
28710,
532,
46,
18,
1,
198,
361,
16410,
25597,
16793,
92,
14512,
1635,
2229,
86,
9,
2361,
11208,
788,
198,
220,
220,
220,
9701,
2625,
38892,
33152,
92,
532,
69,
47,
2149,
8172,
198,
12463,
198,
361,
16410,
25597,
16793,
92,
14512,
257,
998,
2414,
9,
2361,
60,
11405,
16410,
25597,
16793,
92,
14512,
3211,
9,
2361,
11208,
788,
198,
220,
220,
220,
9701,
2625,
38892,
33152,
92,
532,
76,
38892,
77,
9895,
92,
8172,
198,
12463,
198,
28015,
15908,
532,
79,
25597,
8019,
15908,
92,
198,
38892,
4851,
92,
25597,
11163,
38948,
50,
92,
25597,
33152,
92,
1278,
76,
3262,
20,
26059,
27773,
13,
69,
266,
7278,
13,
69,
279,
65,
13,
69,
532,
78,
25597,
8019,
15908,
92,
14,
8019,
4743,
76,
3262,
13,
38892,
67,
293,
742,
92,
198,
17350,
62,
43085,
11485,
14,
30910,
40165,
198,
37811,
198,
198,
2,
2312,
389,
262,
9554,
356,
481,
1382,
329,
416,
4277,
11,
4556,
2252,
198,
2,
9554,
389,
3804,
287,
319,
262,
3141,
1627,
198,
24254,
82,
796,
4292,
62,
70,
3319,
2596,
62,
47178,
7,
15999,
62,
24254,
82,
28955,
198,
198,
2,
383,
3186,
326,
356,
481,
4155,
389,
1464,
3170,
198,
29498,
796,
685,
198,
220,
220,
220,
10074,
15667,
7203,
8019,
4743,
76,
3262,
1600,
1058,
8019,
4743,
76,
3262,
8,
198,
60,
198,
198,
2,
37947,
3976,
326,
1276,
307,
6589,
878,
428,
5301,
460,
307,
3170,
198,
45841,
3976,
796,
37947,
1387,
58,
198,
220,
220,
220,
37947,
1387,
7,
27813,
22882,
7,
3672,
2625,
7293,
5329,
15514,
43,
11127,
62,
73,
297,
1600,
334,
27112,
2625,
68,
2791,
68,
405,
3695,
12,
22,
25150,
12,
4051,
1120,
12,
5892,
69,
22,
12,
1314,
69,
17457,
24,
3553,
69,
17,
3609,
48774,
198,
60,
198,
198,
2,
10934,
262,
13422,
21591,
11,
290,
5457,
257,
4600,
11249,
13,
20362,
63,
355,
880,
13,
198,
11249,
62,
18870,
21591,
7,
1503,
14313,
11,
1438,
11,
2196,
11,
4237,
11,
4226,
11,
9554,
11,
3186,
11,
20086,
8,
198
] | 2.815385 | 585 |
module UMAP
using Arpack
using Distances
using LinearAlgebra
using LsqFit: curve_fit
using NearestNeighborDescent
using SparseArrays
include("utils.jl")
include("embeddings.jl")
include("umap_.jl")
export umap, UMAP_, transform
end # module
| [
21412,
471,
33767,
198,
198,
3500,
943,
8002,
198,
3500,
4307,
1817,
198,
3500,
44800,
2348,
29230,
198,
3500,
406,
31166,
31805,
25,
12133,
62,
11147,
198,
3500,
3169,
12423,
46445,
2865,
5960,
1087,
198,
3500,
1338,
17208,
3163,
20477,
198,
198,
17256,
7203,
26791,
13,
20362,
4943,
198,
17256,
7203,
20521,
67,
654,
13,
20362,
4943,
198,
17256,
7203,
388,
499,
44807,
20362,
4943,
198,
198,
39344,
334,
8899,
11,
471,
33767,
62,
11,
6121,
198,
198,
437,
1303,
8265,
198
] | 2.987805 | 82 |
module CompGrids
using ParallelStencil
using ImplicitGlobalGrid
using MPI
using OffsetArrays
@init_parallel_stencil(Threads, Float64, 3);
export backend,
BackendPETSc, BackendParallelStencil, BackendNone,
#
initialize_backend, initialize_grid,
# Boundary topology
# Grids
RegularRectilinearCollocatedGrid, Bounded, Ghosted, Periodic
# Declare the backend we are employing:
include("Backends.jl")
include("PETSc_backend.jl")
include("ParallelStencil_backend.jl")
include("Grids.jl")
# Declare the backend we are employing:
# Define different grid types
end # module
| [
21412,
3082,
8642,
2340,
198,
198,
3500,
42945,
1273,
268,
2856,
198,
3500,
34347,
3628,
22289,
41339,
198,
3500,
4904,
40,
198,
3500,
3242,
2617,
3163,
20477,
198,
198,
31,
15003,
62,
1845,
29363,
62,
26400,
2856,
7,
16818,
82,
11,
48436,
2414,
11,
513,
1776,
198,
198,
39344,
30203,
11,
198,
220,
220,
220,
220,
220,
220,
5157,
437,
47731,
3351,
11,
220,
5157,
437,
10044,
29363,
1273,
268,
2856,
11,
5157,
437,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
41216,
62,
1891,
437,
11,
41216,
62,
25928,
11,
198,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
1303,
30149,
560,
1353,
1435,
628,
220,
220,
220,
220,
220,
220,
1303,
1902,
2340,
198,
220,
220,
220,
220,
220,
220,
23603,
45474,
346,
259,
451,
22667,
10533,
41339,
11,
347,
6302,
11,
9897,
276,
11,
18581,
291,
628,
198,
198,
2,
16691,
533,
262,
30203,
356,
389,
26490,
25,
198,
17256,
7203,
7282,
2412,
13,
20362,
4943,
198,
17256,
7203,
47731,
3351,
62,
1891,
437,
13,
20362,
4943,
198,
17256,
7203,
10044,
29363,
1273,
268,
2856,
62,
1891,
437,
13,
20362,
4943,
198,
17256,
7203,
8642,
2340,
13,
20362,
4943,
198,
198,
2,
16691,
533,
262,
30203,
356,
389,
26490,
25,
628,
198,
2,
2896,
500,
1180,
10706,
3858,
628,
628,
198,
198,
437,
1303,
8265,
198
] | 2.640496 | 242 |
using MathOptInterface
const MOI = MathOptInterface
struct DIRCOLProblemMT{T} <: MOI.AbstractNLPEvaluator
prob::Problem{T,Continuous}
cost::Function
cost_gradient!::Function
solver::DIRCOLSolverMT{T,HermiteSimpson}
jac_struct
part_z::NamedTuple{(:X,:U,:H), NTuple{3,Matrix{Int}}}
p::NTuple{4,Int} # (total constraints, p_colloc, p_custom, p_h)
nG::NTuple{4,Int} # (total constraint jacobian, nG_colloc, nG_custom, nG_h)
end
function DIRCOLProblemMT(prob::Problem{T,Continuous}, solver::DIRCOLSolverMT{T,HermiteSimpson}) where T
n,m,N = size(prob)
p = num_constraints(prob)
p_colloc = num_colloc(prob)
p_custom = sum(p)
p_h = N-2
P = p_colloc + p_custom + p_h
NN = N*(n+m) + (N-1)
nG_colloc = p_colloc*2*(n + m) + p_colloc
nG_custom = sum(p[1:N-1])*(n+m) + p[N]*n
nG_h = (N-2)*2
nG = nG_colloc + nG_custom + nG_h
part_z = create_partition(n,m,1,N,N,N-1)
jac_struct_colloc = collocation_constraint_jacobian_sparsityMT!(prob)
jac_struct_custom = custom_constraint_jacobian_sparsityMT!(prob,p_colloc)
jac_struct_h = h_eq_constraint_sparsityMT!(prob,p_colloc+p_custom)
jac_struct = copy(jac_struct_colloc)
append!(jac_struct,jac_struct_custom)
append!(jac_struct,jac_struct_h)
num_con = (P,p_colloc,p_custom,p_h)
num_jac = (nG, nG_colloc, nG_custom, nG_h)
DIRCOLProblemMT(prob, gen_stage_cost_min_time(prob,solver.opts.R_min_time), gen_stage_cost_gradient_min_time(prob,solver.opts.R_min_time), solver, jac_struct, part_z, num_con, num_jac)
end
MOI.features_available(d::DIRCOLProblemMT) = [:Grad, :Jac]
MOI.initialize(d::DIRCOLProblemMT, features) = nothing
MOI.jacobian_structure(d::DIRCOLProblemMT) = d.jac_struct
MOI.hessian_lagrangian_structure(d::DIRCOLProblemMT) = []
function MOI.eval_objective(d::DIRCOLProblemMT, Z)
X,U,H = unpackMT(Z, d.part_z)
d.cost(X, U, H)
end
function MOI.eval_objective_gradient(d::DIRCOLProblemMT, grad_f, Z)
X,U,H = unpackMT(Z, d.part_z)
d.cost_gradient!(grad_f,X,U,H)
end
function MOI.eval_constraint(d::DIRCOLProblemMT, g, Z)
X,U,H = unpackMT(Z, d.part_z)
P,p_colloc,p_custom,p_h = d.p
g_colloc = view(g, 1:p_colloc)
g_custom = view(g, p_colloc .+ (1:p_custom))
g_h = view(g, (p_colloc+p_custom) .+ (1:p_h))
collocation_constraints!(g_colloc, d.prob, d.solver, X, U, H)
update_constraints!(g_custom, d.prob, d.solver, X, U)
h_eq_constraints!(g_h,d.prob,d.solver,H)
end
function MOI.eval_constraint_jacobian(d::DIRCOLProblemMT, jac, Z)
X,U,H = unpackMT(Z, d.part_z)
n,m = size(d.prob)
P, p_colloc, p_custom, p_h = d.p
nG, nG_colloc, nG_custom, nG_h = d.nG
jac_colloc = view(jac, 1:nG_colloc)
jac_custom = view(jac, nG_colloc .+ (1:nG_custom))
jac_h = view(jac, (nG_colloc+nG_custom) .+ (1:nG_h))
collocation_constraint_jacobian!(jac_colloc, d.prob, d.solver, X, U, H)
constraint_jacobian!(jac_custom, d.prob, d.solver, X, U)
h_eq_constraint_jacobian!(jac_h,d.prob,d.solver,H)
end
MOI.eval_hessian_lagrangian(::DIRCOLProblemMT, H, x, σ, μ) = nothing
function solve_moi(prob::Problem, opts::DIRCOLSolverMTOptions)
prob = copy(prob)
bnds = remove_bounds!(prob)
z_U, z_L, g_U, g_L = get_boundsMT(prob, bnds, opts.h_max, opts.h_min)
n,m,N = size(prob)
NN = (n+m)*N + (N-1)
# Get initial condition
Z0 = PrimalsMT(prob, true)
# Create NLP Block
has_objective = true
dircol = DIRCOLSolverMT(prob, opts)
d = DIRCOLProblemMT(prob, dircol)
nlp_bounds = MOI.NLPBoundsPair.(g_L, g_U)
block_data = MOI.NLPBlockData(nlp_bounds, d, has_objective)
# Create solver
solver = typeof(opts.nlp)(;opts.opts...)
Z = MOI.add_variables(solver, NN)
# Add bound constraints
for i = 1:NN
zi = MOI.SingleVariable(Z[i])
MOI.add_constraint(solver, zi, MOI.LessThan(z_U[i]))
MOI.add_constraint(solver, zi, MOI.GreaterThan(z_L[i]))
MOI.set(solver, MOI.VariablePrimalStart(), Z[i], Z0.Z[i])
end
# Solve the problem
@info "DIRCOL solve using " * String(nameof(parentmodule(typeof(solver))))
MOI.set(solver, MOI.NLPBlock(), block_data)
MOI.set(solver, MOI.ObjectiveSense(), MOI.MIN_SENSE)
MOI.optimize!(solver)
# Get the solution
res = MOI.get(solver, MOI.VariablePrimal(), Z)
res = PrimalsMT(res, d.part_z)
d.solver.Z = res
d.solver.stats[:status] = MOI.get(solver, MOI.TerminationStatus())
# Return the results
return d.solver
end
function solve!(prob::Problem,opts::DIRCOLSolverMTOptions)
dircol = solve_moi(prob, opts)
copyto!(prob.X,dircol.Z.X)
prob.U = [k != prob.N ? [dircol.Z.U[k];sqrt(dircol.Z.H[k])] : dircol.Z.U[k] for k = 1:prob.N]
return dircol
end
| [
3500,
16320,
27871,
39317,
198,
9979,
13070,
40,
796,
16320,
27871,
39317,
198,
198,
7249,
360,
4663,
25154,
40781,
13752,
90,
51,
92,
1279,
25,
13070,
40,
13,
23839,
32572,
11401,
2100,
84,
1352,
198,
220,
220,
220,
1861,
3712,
40781,
90,
51,
11,
17875,
5623,
92,
198,
220,
220,
220,
1575,
3712,
22203,
198,
220,
220,
220,
1575,
62,
49607,
0,
3712,
22203,
198,
220,
220,
220,
1540,
332,
3712,
34720,
25154,
50,
14375,
13752,
90,
51,
11,
48523,
578,
8890,
8430,
92,
198,
220,
220,
220,
474,
330,
62,
7249,
198,
220,
220,
220,
636,
62,
89,
3712,
45,
2434,
51,
29291,
90,
7,
25,
55,
11,
25,
52,
11,
25,
39,
828,
24563,
29291,
90,
18,
11,
46912,
90,
5317,
42535,
198,
220,
220,
220,
279,
3712,
11251,
29291,
90,
19,
11,
5317,
92,
220,
220,
220,
1303,
357,
23350,
17778,
11,
279,
62,
26000,
420,
11,
279,
62,
23144,
11,
279,
62,
71,
8,
198,
220,
220,
220,
299,
38,
3712,
11251,
29291,
90,
19,
11,
5317,
92,
220,
220,
1303,
357,
23350,
32315,
474,
330,
672,
666,
11,
299,
38,
62,
26000,
420,
11,
299,
38,
62,
23144,
11,
299,
38,
62,
71,
8,
198,
437,
198,
198,
8818,
360,
4663,
25154,
40781,
13752,
7,
1676,
65,
3712,
40781,
90,
51,
11,
17875,
5623,
5512,
1540,
332,
3712,
34720,
25154,
50,
14375,
13752,
90,
51,
11,
48523,
578,
8890,
8430,
30072,
810,
309,
198,
220,
220,
220,
299,
11,
76,
11,
45,
796,
2546,
7,
1676,
65,
8,
198,
220,
220,
220,
279,
796,
997,
62,
1102,
2536,
6003,
7,
1676,
65,
8,
198,
220,
220,
220,
279,
62,
26000,
420,
796,
997,
62,
26000,
420,
7,
1676,
65,
8,
198,
220,
220,
220,
279,
62,
23144,
796,
2160,
7,
79,
8,
198,
220,
220,
220,
279,
62,
71,
796,
399,
12,
17,
198,
220,
220,
220,
350,
796,
279,
62,
26000,
420,
1343,
279,
62,
23144,
1343,
279,
62,
71,
628,
220,
220,
220,
399,
45,
796,
399,
9,
7,
77,
10,
76,
8,
1343,
357,
45,
12,
16,
8,
628,
220,
220,
220,
299,
38,
62,
26000,
420,
796,
279,
62,
26000,
420,
9,
17,
9,
7,
77,
1343,
285,
8,
1343,
279,
62,
26000,
420,
198,
220,
220,
220,
299,
38,
62,
23144,
796,
2160,
7,
79,
58,
16,
25,
45,
12,
16,
12962,
9,
7,
77,
10,
76,
8,
1343,
279,
58,
45,
60,
9,
77,
198,
220,
220,
220,
299,
38,
62,
71,
796,
357,
45,
12,
17,
27493,
17,
198,
220,
220,
220,
299,
38,
796,
299,
38,
62,
26000,
420,
1343,
299,
38,
62,
23144,
1343,
299,
38,
62,
71,
628,
220,
220,
220,
636,
62,
89,
796,
2251,
62,
3911,
653,
7,
77,
11,
76,
11,
16,
11,
45,
11,
45,
11,
45,
12,
16,
8,
628,
220,
220,
220,
474,
330,
62,
7249,
62,
26000,
420,
796,
2927,
5040,
62,
1102,
2536,
2913,
62,
30482,
672,
666,
62,
2777,
45826,
13752,
0,
7,
1676,
65,
8,
198,
220,
220,
220,
474,
330,
62,
7249,
62,
23144,
796,
2183,
62,
1102,
2536,
2913,
62,
30482,
672,
666,
62,
2777,
45826,
13752,
0,
7,
1676,
65,
11,
79,
62,
26000,
420,
8,
198,
220,
220,
220,
474,
330,
62,
7249,
62,
71,
796,
289,
62,
27363,
62,
1102,
2536,
2913,
62,
2777,
45826,
13752,
0,
7,
1676,
65,
11,
79,
62,
26000,
420,
10,
79,
62,
23144,
8,
628,
220,
220,
220,
474,
330,
62,
7249,
796,
4866,
7,
30482,
62,
7249,
62,
26000,
420,
8,
198,
220,
220,
220,
24443,
0,
7,
30482,
62,
7249,
11,
30482,
62,
7249,
62,
23144,
8,
198,
220,
220,
220,
24443,
0,
7,
30482,
62,
7249,
11,
30482,
62,
7249,
62,
71,
8,
628,
220,
220,
220,
997,
62,
1102,
796,
357,
47,
11,
79,
62,
26000,
420,
11,
79,
62,
23144,
11,
79,
62,
71,
8,
198,
220,
220,
220,
997,
62,
30482,
796,
357,
77,
38,
11,
299,
38,
62,
26000,
420,
11,
299,
38,
62,
23144,
11,
299,
38,
62,
71,
8,
198,
220,
220,
220,
360,
4663,
25154,
40781,
13752,
7,
1676,
65,
11,
2429,
62,
14247,
62,
15805,
62,
1084,
62,
2435,
7,
1676,
65,
11,
82,
14375,
13,
404,
912,
13,
49,
62,
1084,
62,
2435,
828,
2429,
62,
14247,
62,
15805,
62,
49607,
62,
1084,
62,
2435,
7,
1676,
65,
11,
82,
14375,
13,
404,
912,
13,
49,
62,
1084,
62,
2435,
828,
1540,
332,
11,
474,
330,
62,
7249,
11,
636,
62,
89,
11,
997,
62,
1102,
11,
997,
62,
30482,
8,
198,
437,
198,
198,
11770,
40,
13,
40890,
62,
15182,
7,
67,
3712,
34720,
25154,
40781,
13752,
8,
796,
685,
25,
42731,
11,
1058,
28821,
60,
198,
11770,
40,
13,
36733,
1096,
7,
67,
3712,
34720,
25154,
40781,
13752,
11,
3033,
8,
796,
2147,
198,
198,
11770,
40,
13,
30482,
672,
666,
62,
301,
5620,
7,
67,
3712,
34720,
25154,
40781,
13752,
8,
796,
288,
13,
30482,
62,
7249,
198,
11770,
40,
13,
33979,
666,
62,
30909,
36985,
666,
62,
301,
5620,
7,
67,
3712,
34720,
25154,
40781,
13752,
8,
796,
17635,
198,
198,
8818,
13070,
40,
13,
18206,
62,
15252,
425,
7,
67,
3712,
34720,
25154,
40781,
13752,
11,
1168,
8,
198,
220,
220,
220,
1395,
11,
52,
11,
39,
796,
555,
8002,
13752,
7,
57,
11,
288,
13,
3911,
62,
89,
8,
198,
220,
220,
220,
288,
13,
15805,
7,
55,
11,
471,
11,
367,
8,
198,
437,
198,
198,
8818,
13070,
40,
13,
18206,
62,
15252,
425,
62,
49607,
7,
67,
3712,
34720,
25154,
40781,
13752,
11,
3915,
62,
69,
11,
1168,
8,
198,
220,
220,
220,
1395,
11,
52,
11,
39,
796,
555,
8002,
13752,
7,
57,
11,
288,
13,
3911,
62,
89,
8,
198,
220,
220,
220,
288,
13,
15805,
62,
49607,
0,
7,
9744,
62,
69,
11,
55,
11,
52,
11,
39,
8,
198,
437,
198,
198,
8818,
13070,
40,
13,
18206,
62,
1102,
2536,
2913,
7,
67,
3712,
34720,
25154,
40781,
13752,
11,
308,
11,
1168,
8,
198,
220,
220,
220,
1395,
11,
52,
11,
39,
796,
555,
8002,
13752,
7,
57,
11,
288,
13,
3911,
62,
89,
8,
198,
220,
220,
220,
350,
11,
79,
62,
26000,
420,
11,
79,
62,
23144,
11,
79,
62,
71,
796,
288,
13,
79,
198,
220,
220,
220,
308,
62,
26000,
420,
796,
1570,
7,
70,
11,
352,
25,
79,
62,
26000,
420,
8,
198,
220,
220,
220,
308,
62,
23144,
796,
1570,
7,
70,
11,
279,
62,
26000,
420,
764,
10,
357,
16,
25,
79,
62,
23144,
4008,
198,
220,
220,
220,
308,
62,
71,
796,
1570,
7,
70,
11,
357,
79,
62,
26000,
420,
10,
79,
62,
23144,
8,
764,
10,
357,
16,
25,
79,
62,
71,
4008,
628,
220,
220,
220,
2927,
5040,
62,
1102,
2536,
6003,
0,
7,
70,
62,
26000,
420,
11,
288,
13,
1676,
65,
11,
288,
13,
82,
14375,
11,
1395,
11,
471,
11,
367,
8,
198,
220,
220,
220,
4296,
62,
1102,
2536,
6003,
0,
7,
70,
62,
23144,
11,
288,
13,
1676,
65,
11,
288,
13,
82,
14375,
11,
1395,
11,
471,
8,
198,
220,
220,
220,
289,
62,
27363,
62,
1102,
2536,
6003,
0,
7,
70,
62,
71,
11,
67,
13,
1676,
65,
11,
67,
13,
82,
14375,
11,
39,
8,
198,
437,
198,
198,
8818,
13070,
40,
13,
18206,
62,
1102,
2536,
2913,
62,
30482,
672,
666,
7,
67,
3712,
34720,
25154,
40781,
13752,
11,
474,
330,
11,
1168,
8,
198,
220,
220,
220,
1395,
11,
52,
11,
39,
796,
555,
8002,
13752,
7,
57,
11,
288,
13,
3911,
62,
89,
8,
198,
220,
220,
220,
299,
11,
76,
796,
2546,
7,
67,
13,
1676,
65,
8,
198,
220,
220,
220,
350,
11,
279,
62,
26000,
420,
11,
279,
62,
23144,
11,
279,
62,
71,
796,
288,
13,
79,
198,
220,
220,
220,
299,
38,
11,
299,
38,
62,
26000,
420,
11,
299,
38,
62,
23144,
11,
299,
38,
62,
71,
796,
288,
13,
77,
38,
198,
220,
220,
220,
474,
330,
62,
26000,
420,
796,
1570,
7,
30482,
11,
352,
25,
77,
38,
62,
26000,
420,
8,
198,
220,
220,
220,
474,
330,
62,
23144,
796,
1570,
7,
30482,
11,
299,
38,
62,
26000,
420,
764,
10,
357,
16,
25,
77,
38,
62,
23144,
4008,
198,
220,
220,
220,
474,
330,
62,
71,
796,
1570,
7,
30482,
11,
357,
77,
38,
62,
26000,
420,
10,
77,
38,
62,
23144,
8,
764,
10,
357,
16,
25,
77,
38,
62,
71,
4008,
628,
220,
220,
220,
2927,
5040,
62,
1102,
2536,
2913,
62,
30482,
672,
666,
0,
7,
30482,
62,
26000,
420,
11,
288,
13,
1676,
65,
11,
288,
13,
82,
14375,
11,
1395,
11,
471,
11,
367,
8,
198,
220,
220,
220,
32315,
62,
30482,
672,
666,
0,
7,
30482,
62,
23144,
11,
288,
13,
1676,
65,
11,
288,
13,
82,
14375,
11,
1395,
11,
471,
8,
198,
220,
220,
220,
289,
62,
27363,
62,
1102,
2536,
2913,
62,
30482,
672,
666,
0,
7,
30482,
62,
71,
11,
67,
13,
1676,
65,
11,
67,
13,
82,
14375,
11,
39,
8,
198,
437,
198,
198,
11770,
40,
13,
18206,
62,
33979,
666,
62,
30909,
36985,
666,
7,
3712,
34720,
25154,
40781,
13752,
11,
367,
11,
2124,
11,
18074,
225,
11,
18919,
8,
796,
2147,
198,
198,
8818,
8494,
62,
5908,
72,
7,
1676,
65,
3712,
40781,
11,
2172,
82,
3712,
34720,
25154,
50,
14375,
44,
10468,
8544,
8,
198,
220,
220,
220,
1861,
796,
4866,
7,
1676,
65,
8,
198,
220,
220,
220,
275,
358,
82,
796,
4781,
62,
65,
3733,
0,
7,
1676,
65,
8,
198,
220,
220,
220,
1976,
62,
52,
11,
1976,
62,
43,
11,
308,
62,
52,
11,
308,
62,
43,
796,
651,
62,
65,
3733,
13752,
7,
1676,
65,
11,
275,
358,
82,
11,
2172,
82,
13,
71,
62,
9806,
11,
2172,
82,
13,
71,
62,
1084,
8,
198,
220,
220,
220,
299,
11,
76,
11,
45,
796,
2546,
7,
1676,
65,
8,
198,
220,
220,
220,
399,
45,
796,
357,
77,
10,
76,
27493,
45,
1343,
357,
45,
12,
16,
8,
628,
220,
220,
220,
1303,
3497,
4238,
4006,
198,
220,
220,
220,
1168,
15,
796,
11460,
874,
13752,
7,
1676,
65,
11,
2081,
8,
628,
220,
220,
220,
1303,
13610,
399,
19930,
9726,
198,
220,
220,
220,
468,
62,
15252,
425,
796,
2081,
198,
220,
220,
220,
288,
1980,
349,
796,
360,
4663,
25154,
50,
14375,
13752,
7,
1676,
65,
11,
2172,
82,
8,
198,
220,
220,
220,
288,
796,
360,
4663,
25154,
40781,
13752,
7,
1676,
65,
11,
288,
1980,
349,
8,
198,
220,
220,
220,
299,
34431,
62,
65,
3733,
796,
13070,
40,
13,
45,
19930,
33,
3733,
47,
958,
12195,
70,
62,
43,
11,
308,
62,
52,
8,
198,
220,
220,
220,
2512,
62,
7890,
796,
13070,
40,
13,
45,
19930,
12235,
6601,
7,
21283,
79,
62,
65,
3733,
11,
288,
11,
468,
62,
15252,
425,
8,
628,
220,
220,
220,
1303,
13610,
1540,
332,
198,
220,
220,
220,
1540,
332,
796,
2099,
1659,
7,
404,
912,
13,
21283,
79,
5769,
26,
404,
912,
13,
404,
912,
23029,
198,
220,
220,
220,
1168,
796,
13070,
40,
13,
2860,
62,
25641,
2977,
7,
82,
14375,
11,
399,
45,
8,
628,
220,
220,
220,
1303,
3060,
5421,
17778,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
6144,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
72,
796,
13070,
40,
13,
28008,
43015,
7,
57,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
2860,
62,
1102,
2536,
2913,
7,
82,
14375,
11,
1976,
72,
11,
13070,
40,
13,
22058,
817,
272,
7,
89,
62,
52,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
2860,
62,
1102,
2536,
2913,
7,
82,
14375,
11,
1976,
72,
11,
13070,
40,
13,
13681,
263,
817,
272,
7,
89,
62,
43,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
2617,
7,
82,
14375,
11,
13070,
40,
13,
43015,
23828,
282,
10434,
22784,
1168,
58,
72,
4357,
1168,
15,
13,
57,
58,
72,
12962,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
4294,
303,
262,
1917,
198,
220,
220,
220,
2488,
10951,
366,
34720,
25154,
8494,
1262,
366,
1635,
10903,
7,
3672,
1659,
7,
8000,
21412,
7,
4906,
1659,
7,
82,
14375,
35514,
198,
220,
220,
220,
13070,
40,
13,
2617,
7,
82,
14375,
11,
13070,
40,
13,
45,
19930,
12235,
22784,
2512,
62,
7890,
8,
198,
220,
220,
220,
13070,
40,
13,
2617,
7,
82,
14375,
11,
13070,
40,
13,
10267,
425,
41166,
22784,
13070,
40,
13,
23678,
62,
50,
24290,
8,
198,
220,
220,
220,
13070,
40,
13,
40085,
1096,
0,
7,
82,
14375,
8,
628,
220,
220,
220,
1303,
3497,
262,
4610,
198,
220,
220,
220,
581,
796,
13070,
40,
13,
1136,
7,
82,
14375,
11,
13070,
40,
13,
43015,
23828,
282,
22784,
1168,
8,
198,
220,
220,
220,
581,
796,
11460,
874,
13752,
7,
411,
11,
288,
13,
3911,
62,
89,
8,
628,
220,
220,
220,
288,
13,
82,
14375,
13,
57,
796,
581,
198,
220,
220,
220,
288,
13,
82,
14375,
13,
34242,
58,
25,
13376,
60,
796,
13070,
40,
13,
1136,
7,
82,
14375,
11,
13070,
40,
13,
15156,
17928,
19580,
28955,
628,
220,
220,
220,
1303,
8229,
262,
2482,
198,
220,
220,
220,
1441,
288,
13,
82,
14375,
198,
437,
198,
198,
8818,
8494,
0,
7,
1676,
65,
3712,
40781,
11,
404,
912,
3712,
34720,
25154,
50,
14375,
44,
10468,
8544,
8,
198,
220,
220,
220,
288,
1980,
349,
796,
8494,
62,
5908,
72,
7,
1676,
65,
11,
2172,
82,
8,
628,
220,
220,
220,
4866,
1462,
0,
7,
1676,
65,
13,
55,
11,
67,
1980,
349,
13,
57,
13,
55,
8,
198,
220,
220,
220,
1861,
13,
52,
796,
685,
74,
14512,
1861,
13,
45,
5633,
685,
67,
1980,
349,
13,
57,
13,
52,
58,
74,
11208,
31166,
17034,
7,
67,
1980,
349,
13,
57,
13,
39,
58,
74,
12962,
60,
1058,
288,
1980,
349,
13,
57,
13,
52,
58,
74,
60,
329,
479,
796,
352,
25,
1676,
65,
13,
45,
60,
628,
220,
220,
220,
1441,
288,
1980,
349,
198,
437,
198
] | 2.012241 | 2,369 |
# ------------------------------------------------------------------
# Licensed under the ISC License. See LICENSE in the project root.
# ------------------------------------------------------------------
"""
UniversalKriging(γ, degree, dim)
UniversalKriging(X, z, γ, degree)
Universal Kriging with variogram model `γ` and polynomial
`degree` on a spatial domain of dimension `dim`.
Optionally, pass the coordinates `X` and values `z`
to the [`fit`](@ref) function.
### Notes
* [`OrdinaryKriging`](@ref) is recovered for 0th degree polynomial
* For non-polynomial mean, see [`ExternalDriftKriging`](@ref)
"""
struct UniversalKriging{G<:Variogram} <: KrigingEstimator
γ::G
degree::Int
dim::Int
exponents::Matrix{Int}
function UniversalKriging{G}(γ, degree, dim) where {G<:Variogram}
@assert degree ≥ 0 "degree must be nonnegative"
@assert dim > 0 "dimension must be positive"
exponents = UKexps(degree, dim)
new(γ, degree, dim, exponents)
end
end
UniversalKriging(γ, degree, dim) = UniversalKriging{typeof(γ)}(γ, degree, dim)
UniversalKriging(X, z, γ, degree) = GeoStatsBase.fit(UniversalKriging(γ, degree, size(X,1)), X, z)
function UKexps(degree::Int, dim::Int)
# multinomial expansion
expmats = [hcat(collect(multiexponents(dim, d))...) for d in 0:degree]
exponents = hcat(expmats...)
# sort expansion for better conditioned Kriging matrices
sorted = sortperm(vec(maximum(exponents, dims=1)), rev=true)
exponents[:,sorted]
end
nconstraints(estimator::UniversalKriging) = size(estimator.exponents, 2)
function set_constraints_lhs!(estimator::UniversalKriging, LHS::AbstractMatrix, X::AbstractMatrix)
exponents = estimator.exponents
nobs = size(X, 2)
nterms = size(exponents, 2)
T = eltype(LHS)
# set polynomial drift blocks
for i=1:nobs, j=1:nterms
LHS[nobs+j,i] = prod(X[:,i].^exponents[:,j])
LHS[i,nobs+j] = LHS[nobs+j,i]
end
# set zero block
LHS[nobs+1:end,nobs+1:end] .= zero(T)
nothing
end
factorize(estimator::UniversalKriging, LHS::AbstractMatrix) = lu(LHS, check=false)
function set_constraints_rhs!(estimator::FittedKriging{E,S},
xₒ::AbstractVector) where {E<:UniversalKriging,S<:KrigingState}
exponents = estimator.estimator.exponents
RHS = estimator.state.RHS
nobs = size(estimator.state.X, 2)
nterms = size(exponents, 2)
for j in 1:nterms
RHS[nobs+j] = prod(xₒ.^exponents[:,j])
end
nothing
end
| [
2,
16529,
438,
198,
2,
49962,
739,
262,
3180,
34,
13789,
13,
4091,
38559,
24290,
287,
262,
1628,
6808,
13,
198,
2,
16529,
438,
198,
198,
37811,
198,
220,
220,
220,
14499,
42,
4359,
278,
7,
42063,
11,
4922,
11,
5391,
8,
198,
220,
220,
220,
14499,
42,
4359,
278,
7,
55,
11,
1976,
11,
7377,
111,
11,
4922,
8,
198,
198,
38747,
509,
4359,
278,
351,
5553,
21857,
2746,
4600,
42063,
63,
290,
745,
6213,
49070,
198,
63,
16863,
63,
319,
257,
21739,
7386,
286,
15793,
4600,
27740,
44646,
198,
198,
19722,
453,
11,
1208,
262,
22715,
4600,
55,
63,
290,
3815,
4600,
89,
63,
198,
1462,
262,
685,
63,
11147,
63,
16151,
31,
5420,
8,
2163,
13,
198,
198,
21017,
11822,
198,
198,
9,
685,
63,
35422,
3219,
42,
4359,
278,
63,
16151,
31,
5420,
8,
318,
11911,
329,
657,
400,
4922,
745,
6213,
49070,
198,
9,
1114,
1729,
12,
35428,
26601,
498,
1612,
11,
766,
685,
63,
41506,
6187,
2135,
42,
4359,
278,
63,
16151,
31,
5420,
8,
198,
37811,
198,
7249,
14499,
42,
4359,
278,
90,
38,
27,
25,
23907,
21857,
92,
1279,
25,
509,
4359,
278,
22362,
320,
1352,
198,
220,
7377,
111,
3712,
38,
198,
220,
4922,
3712,
5317,
198,
220,
5391,
3712,
5317,
198,
220,
1033,
3906,
3712,
46912,
90,
5317,
92,
628,
220,
2163,
14499,
42,
4359,
278,
90,
38,
92,
7,
42063,
11,
4922,
11,
5391,
8,
810,
1391,
38,
27,
25,
23907,
21857,
92,
198,
220,
220,
220,
2488,
30493,
4922,
26870,
657,
366,
16863,
1276,
307,
1729,
31591,
1,
198,
220,
220,
220,
2488,
30493,
5391,
1875,
657,
366,
46156,
1276,
307,
3967,
1,
198,
220,
220,
220,
1033,
3906,
796,
3482,
1069,
862,
7,
16863,
11,
5391,
8,
198,
220,
220,
220,
649,
7,
42063,
11,
4922,
11,
5391,
11,
1033,
3906,
8,
198,
220,
886,
198,
437,
198,
198,
38747,
42,
4359,
278,
7,
42063,
11,
4922,
11,
5391,
8,
796,
14499,
42,
4359,
278,
90,
4906,
1659,
7,
42063,
38165,
7,
42063,
11,
4922,
11,
5391,
8,
198,
198,
38747,
42,
4359,
278,
7,
55,
11,
1976,
11,
7377,
111,
11,
4922,
8,
796,
32960,
29668,
14881,
13,
11147,
7,
38747,
42,
4359,
278,
7,
42063,
11,
4922,
11,
2546,
7,
55,
11,
16,
36911,
1395,
11,
1976,
8,
198,
198,
8818,
3482,
1069,
862,
7,
16863,
3712,
5317,
11,
5391,
3712,
5317,
8,
198,
220,
1303,
1963,
259,
49070,
7118,
198,
220,
1033,
76,
1381,
796,
685,
71,
9246,
7,
33327,
7,
16680,
494,
42372,
3906,
7,
27740,
11,
288,
4008,
23029,
329,
288,
287,
657,
25,
16863,
60,
198,
220,
1033,
3906,
796,
289,
9246,
7,
1069,
4426,
1381,
23029,
628,
220,
1303,
3297,
7118,
329,
1365,
31964,
509,
4359,
278,
2603,
45977,
198,
220,
23243,
796,
3297,
16321,
7,
35138,
7,
47033,
7,
11201,
3906,
11,
5391,
82,
28,
16,
36911,
2710,
28,
7942,
8,
628,
220,
1033,
3906,
58,
45299,
82,
9741,
60,
198,
437,
198,
198,
77,
1102,
2536,
6003,
7,
395,
320,
1352,
3712,
38747,
42,
4359,
278,
8,
796,
2546,
7,
395,
320,
1352,
13,
11201,
3906,
11,
362,
8,
198,
198,
8818,
900,
62,
1102,
2536,
6003,
62,
75,
11994,
0,
7,
395,
320,
1352,
3712,
38747,
42,
4359,
278,
11,
406,
7998,
3712,
23839,
46912,
11,
1395,
3712,
23839,
46912,
8,
198,
220,
1033,
3906,
796,
3959,
1352,
13,
11201,
3906,
198,
220,
645,
1443,
796,
2546,
7,
55,
11,
362,
8,
198,
220,
299,
38707,
796,
2546,
7,
11201,
3906,
11,
362,
8,
198,
220,
309,
796,
1288,
4906,
7,
43,
7998,
8,
628,
220,
1303,
900,
745,
6213,
49070,
24260,
7021,
198,
220,
329,
1312,
28,
16,
25,
77,
8158,
11,
474,
28,
16,
25,
77,
38707,
198,
220,
220,
220,
406,
7998,
58,
77,
8158,
10,
73,
11,
72,
60,
796,
40426,
7,
55,
58,
45299,
72,
4083,
61,
11201,
3906,
58,
45299,
73,
12962,
198,
220,
220,
220,
406,
7998,
58,
72,
11,
77,
8158,
10,
73,
60,
796,
406,
7998,
58,
77,
8158,
10,
73,
11,
72,
60,
198,
220,
886,
628,
220,
1303,
900,
6632,
2512,
198,
220,
406,
7998,
58,
77,
8158,
10,
16,
25,
437,
11,
77,
8158,
10,
16,
25,
437,
60,
764,
28,
6632,
7,
51,
8,
628,
220,
2147,
198,
437,
198,
198,
31412,
1096,
7,
395,
320,
1352,
3712,
38747,
42,
4359,
278,
11,
406,
7998,
3712,
23839,
46912,
8,
796,
300,
84,
7,
43,
7998,
11,
2198,
28,
9562,
8,
198,
198,
8818,
900,
62,
1102,
2536,
6003,
62,
81,
11994,
0,
7,
395,
320,
1352,
3712,
37,
2175,
42,
4359,
278,
90,
36,
11,
50,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
158,
224,
240,
3712,
23839,
38469,
8,
810,
1391,
36,
27,
25,
38747,
42,
4359,
278,
11,
50,
27,
25,
42,
4359,
278,
9012,
92,
198,
220,
1033,
3906,
796,
3959,
1352,
13,
395,
320,
1352,
13,
11201,
3906,
198,
220,
371,
7998,
796,
3959,
1352,
13,
5219,
13,
49,
7998,
198,
220,
645,
1443,
796,
2546,
7,
395,
320,
1352,
13,
5219,
13,
55,
11,
362,
8,
198,
220,
299,
38707,
796,
2546,
7,
11201,
3906,
11,
362,
8,
628,
220,
329,
474,
287,
352,
25,
77,
38707,
198,
220,
220,
220,
371,
7998,
58,
77,
8158,
10,
73,
60,
796,
40426,
7,
87,
158,
224,
240,
13,
61,
11201,
3906,
58,
45299,
73,
12962,
198,
220,
886,
628,
220,
2147,
198,
437,
198
] | 2.638321 | 929 |
# *****************************************************************************
# Written by Ritchie Lee, ritchie.lee@sv.cmu.edu
# *****************************************************************************
# Copyright ã 2015, United States Government, as represented by the
# Administrator of the National Aeronautics and Space Administration. All
# rights reserved. The Reinforcement Learning Encounter Simulator (RLES)
# platform is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. You
# may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable
# law or agreed to in writing, software distributed under the License is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.
# _____________________________________________________________________________
# Reinforcement Learning Encounter Simulator (RLES) includes the following
# third party software. The SISLES.jl package is licensed under the MIT Expat
# License: Copyright (c) 2014: Youngjun Kim.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED
# "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
# NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# *****************************************************************************
module ConfigMCTS
export defineMCTSParams
using AdaptiveStressTesting
function defineMCTSParams(;
d::Int64 = 51,
ec::Float64 = 100.0,
n::Int64 = 1000,
k::Float64 = 0.5,
alpha::Float64 = 0.85,
kp::Float64 = 1.0,
alphap::Float64 = 0.0,
clear_nodes::Bool = true,
maxtime_s::Float64 = realmax(Float64),
rng_seed::UInt64 = UInt64(0)
)
return p = DPWParams(d, ec, n, k, alpha, kp, alphap, clear_nodes, maxtime_s, rng_seed)
end
end #module
| [
2,
41906,
17174,
4557,
35625,
201,
198,
2,
22503,
416,
371,
48423,
5741,
11,
374,
48423,
13,
7197,
31,
21370,
13,
11215,
84,
13,
15532,
201,
198,
2,
41906,
17174,
4557,
35625,
201,
198,
2,
15069,
6184,
96,
1853,
11,
1578,
1829,
5070,
11,
355,
7997,
416,
262,
201,
198,
2,
22998,
286,
262,
2351,
15781,
261,
2306,
873,
290,
4687,
8694,
13,
1439,
201,
198,
2,
2489,
10395,
13,
220,
383,
22299,
13442,
18252,
40998,
13942,
357,
7836,
1546,
8,
201,
198,
2,
3859,
318,
11971,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
201,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
201,
198,
2,
743,
7330,
257,
4866,
286,
262,
13789,
379,
201,
198,
2,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
13,
17486,
2672,
416,
9723,
201,
198,
2,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
9387,
739,
262,
13789,
318,
201,
198,
2,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
201,
198,
2,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
13789,
329,
262,
2176,
3303,
201,
198,
2,
15030,
21627,
290,
11247,
739,
262,
13789,
13,
201,
198,
2,
220,
27193,
2602,
29343,
201,
198,
2,
22299,
13442,
18252,
40998,
13942,
357,
7836,
1546,
8,
3407,
262,
1708,
201,
198,
2,
2368,
2151,
3788,
13,
383,
311,
1797,
28378,
13,
20362,
5301,
318,
11971,
739,
262,
17168,
5518,
265,
201,
198,
2,
13789,
25,
15069,
357,
66,
8,
1946,
25,
6960,
29741,
6502,
13,
201,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
201,
198,
2,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
201,
198,
2,
1730,
287,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
201,
198,
2,
2489,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
201,
198,
2,
3677,
9088,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
201,
198,
2,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
201,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
201,
198,
2,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
3336,
47466,
3180,
36592,
2389,
1961,
201,
198,
2,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
8959,
49094,
11,
47783,
2751,
21728,
201,
198,
2,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
376,
46144,
7473,
317,
16652,
2149,
37232,
201,
198,
2,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
37195,
20673,
6375,
27975,
38162,
9947,
201,
198,
2,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
201,
198,
2,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
16289,
3963,
6375,
3268,
201,
198,
2,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
47466,
13,
201,
198,
2,
41906,
17174,
4557,
35625,
201,
198,
201,
198,
21412,
17056,
44,
4177,
50,
201,
198,
201,
198,
39344,
8160,
44,
4177,
4303,
283,
4105,
201,
198,
201,
198,
3500,
30019,
425,
1273,
601,
44154,
201,
198,
201,
198,
8818,
8160,
44,
4177,
4303,
283,
4105,
7,
26,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
3712,
5317,
2414,
796,
6885,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
3712,
43879,
2414,
796,
1802,
13,
15,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
3712,
5317,
2414,
796,
8576,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
3712,
43879,
2414,
796,
657,
13,
20,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17130,
3712,
43879,
2414,
796,
657,
13,
5332,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
79,
3712,
43879,
2414,
796,
352,
13,
15,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
746,
499,
3712,
43879,
2414,
796,
657,
13,
15,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1598,
62,
77,
4147,
3712,
33,
970,
796,
2081,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17266,
742,
524,
62,
82,
3712,
43879,
2414,
796,
1103,
9806,
7,
43879,
2414,
828,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
782,
62,
28826,
3712,
52,
5317,
2414,
796,
471,
5317,
2414,
7,
15,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
201,
198,
201,
198,
220,
1441,
279,
796,
27704,
54,
10044,
4105,
7,
67,
11,
9940,
11,
299,
11,
479,
11,
17130,
11,
479,
79,
11,
435,
746,
499,
11,
1598,
62,
77,
4147,
11,
17266,
742,
524,
62,
82,
11,
374,
782,
62,
28826,
8,
201,
198,
437,
201,
198,
201,
198,
437,
1303,
21412,
201,
198
] | 2.967167 | 1,066 |
"""
## module Potentials
### Summary
This module implements some basic interatomic potentials in pure Julia, as well
as provides building blocks and prototypes for further implementations
The implementation is done in such a way that they can be used either in "raw"
form or withinabstractframeworks.
### Types
### `evaluate`, `evaluate_d`, `evaluate_dd`, `grad`
### The `@D`, `@DD`, `@GRAD` macros
TODO: write documentation
"""
module Potentials
using JuLIP: Atoms, AbstractAtoms, AbstractCalculator,
JVec, mat, vec, JMat, SVec, vecs, SMat,
positions, set_positions!, fltype_intersect
using JuLIP.Chemistry: atomic_number
using StaticArrays: @SMatrix, SVector
using NeighbourLists
using LinearAlgebra: norm
using SparseArrays: sparse
import JuLIP: energy, forces, cutoff, virial, hessian_pos, hessian,
site_energies, r_sum,
site_energy, site_energy_d,
energy!, forces!, virial!,
alloc_temp, alloc_temp_d, alloc_temp_dd,
read_dict, write_dict, fltype, rfltype
export PairPotential, SitePotential, ZeroSitePotential
# the following are prototypes for internal functions around which IPs are
# defined
function evaluate end
function evaluate_d end
function evaluate_ed end
function evaluate_dd end
function evaluate! end
function evaluate_d! end
function evaluate_dd! end
function precon! end
include("potentials_base.jl")
# * @pot, @D, @DD
# *
"""
`SitePotential`:abstractsupertype for generic site potentials
"""
abstract type SitePotential <: AbstractCalculator end
"""
`SimpleSitePotential`:abstractsupertype for generic site potentials,
ignoring species
"""
abstract type SimpleSitePotential <: SitePotential end
"""
`PairPotential`:abstractsupertype for pair potentials
"""
abstract type PairPotential <: SitePotential end
"""
`SimplePairPotential`:abstractsupertype for pair potentials,
ignoring species
"""
abstract type SimplePairPotential <: PairPotential end
abstract type ExplicitPairPotential <: SimplePairPotential end
# ---- redirect with some convenience functions ----
# redirect allocating -> non-allocating calls
evaluate(V::SitePotential, R, args...) =
evaluate!(alloc_temp(V, length(R)), V, R, args...)
evaluate_d(V::SitePotential, R::AbstractVector{JVec{T}}, args...) where {T} =
evaluate_d!(zeros(JVec{fltype_intersect(V, T)}, length(R)),
alloc_temp_d(V, length(R)),
V, R, args...)
evaluate_dd(V::SitePotential, R::AbstractVector{JVec{T}}, args...) where {T} =
evaluate_dd!(zeros(JMat{fltype_intersect(V, T)}, length(R), length(R)),
alloc_temp_dd(V, length(R)),
V, R, args...)
# ----- interface for SimpleSitePotential
evaluate!(tmp, V::SimpleSitePotential, R, Z, z0) =
evaluate!(tmp, V, R)
evaluate_d!(dEs, tmp, V::SimpleSitePotential, R, Z, z0) =
evaluate_d!(dEs, tmp, V, R)
evaluate_dd!(hEs, tmp, V::SimpleSitePotential, R, Z, z0) =
evaluate_dd!(hEs, tmp, V, R)
precon!(hEs, tmp, V::SimpleSitePotential, R, Z, z0, innerstab) =
precon!(hEs, tmp, V, R, innerstab)
# ------- Neighbourlist related business -------------------
NeighbourLists.sites(at::AbstractAtoms, rcut::AbstractFloat) =
sites(neighbourlist(at, rcut))
NeighbourLists.pairs(at::AbstractAtoms, rcut::AbstractFloat) =
pairs(neighbourlist(at, rcut))
"""
`neigsz!(tmp, nlist::PairList, at::Atoms, i::Integer) -> j, R Z`
requires a temporary storage array `tmp` with fields
`tmp.R, tmp.Z`.
"""
function neigsz!(tmp, nlist::PairList, at::Atoms, i::Integer)
j, R = neigs!(tmp.R, nlist, i)
Z = tmp.Z
for n = 1:length(j)
Z[n] = at.Z[j[n]]
end
return j, R, (@view Z[1:length(j)])
end
function neigsz(nlist::PairList, at::Atoms, i::Integer)
j, R = NeighbourLists.neigs(nlist, i)
return j, R, at.Z[j]
end
# ------------------------------------------------------
"a site potential that just returns zero"
mutable struct ZeroSitePotential <: SitePotential
end
@pot ZeroSitePotential
cutoff(::ZeroSitePotential) = Bool(0)
energy(V::ZeroSitePotential, at::AbstractAtoms{T}; kwargs...) where T = zero(T)
forces(V::ZeroSitePotential, at::AbstractAtoms{T}; kwargs...) where T = zeros(JVec{T}, length(at))
evaluate!(tmp, p::ZeroSitePotential, args...) = Bool(0)
evaluate_d!(dEs, tmp, V::ZeroSitePotential, args...) = fill!(dEs, zero(eltype(dEs)))
evaluate_dd!(hEs, tmp, V::ZeroSitePotential, args...) = fill!(hEs, zero(eltype(hEs)))
# Implementation of a generic site potential
# ================================================
alloc_temp_site(N::Integer, T=Float64) =
( R = zeros(JVec{T}, N),
Z = zeros(AtomicNumber, N), )
alloc_temp(V::SitePotential, at::AbstractAtoms) =
alloc_temp(V, maxneigs(neighbourlist(at, cutoff(V))))
alloc_temp(V::SitePotential, N::Integer) =
( R = zeros(JVecF, N),
Z = zeros(AtomicNumber, N), )
alloc_temp_d(V::SitePotential, at::AbstractAtoms) =
alloc_temp_d(V, maxneigs(neighbourlist(at, cutoff(V))))
alloc_temp_d(V::SitePotential, N::Integer) =
(dV = zeros(JVec{fltype(V)}, N),
R = zeros(JVecF, N),
Z = zeros(AtomicNumber, N), )
alloc_temp_dd(V::SitePotential, args...) = nothing
# -------------- Implementations of energy, forces, virials
# for a generic site potential
energy(V::SitePotential, at::AbstractAtoms; kwargs...) =
energy!(alloc_temp(V, at), V, at; kwargs...)
virial(V::SitePotential, at::AbstractAtoms; kwargs...) =
virial!(alloc_temp_d(V, at), V, at; kwargs...)
forces(V::SitePotential, at::AbstractAtoms; kwargs...) =
forces!(zeros(JVec{fltype_intersect(V, at)}, length(at)),
alloc_temp_d(V, at), V, at; kwargs...)
function energy!(tmp, calc::SitePotential, at::Atoms;
domain=1:length(at))
TFL = fltype_intersect(calc, at)
E = zero(TFL)
nlist = neighbourlist(at, cutoff(calc))
for i in domain
j, R, Z = neigsz!(tmp, nlist, at, i)
E += evaluate!(tmp, calc, R, Z, at.Z[i])
end
return E
end
function forces!(frc, tmp, calc::SitePotential, at::Atoms;
domain=1:length(at), reset=true)
TFL = fltype_intersect(calc, at)
if reset; fill!(frc, zero(eltype(frc))); end
nlist = neighbourlist(at, cutoff(calc))
for i in domain
j, R, Z = neigsz!(tmp, nlist, at, i)
if length(j) > 0
evaluate_d!(tmp.dV, tmp, calc, R, Z, at.Z[i])
for a = 1:length(j)
frc[j[a]] -= tmp.dV[a]
frc[i] += tmp.dV[a]
end
end
end
return frc
end
site_virial(dV::AbstractVector{JVec{T1}}, R::AbstractVector{JVec{T2}}
) where {T1, T2} = (
length(R) > 0 ? (- sum( dVi * Ri' for (dVi, Ri) in zip(dV, R) ))
: zero(JMat{fltype_intersect(T1, T2)})
)
function virial!(tmp, calc::SitePotential, at::Atoms; domain=1:length(at))
TFL = fltype_intersect(calc, at)
nlist = neighbourlist(at, cutoff(calc))
vir = zero(JMat{TFL})
for i in domain
j, R, Z = neigsz!(tmp, nlist, at, i)
if length(j) > 0
evaluate_d!(tmp.dV, tmp, calc, R, Z, at.Z[i])
vir += site_virial(tmp.dV, R)
end
end
return vir
end
function site_energies(V::SitePotential, at::AbstractAtoms; kwargs...)
TFL = fltype_intersect(V, at)
return site_energies!(zeros(TFL, length(at)),
alloc_temp(V, at), V, at; kwargs...)
end
function site_energies!(Es, tmp, V::SitePotential, at::AbstractAtoms;
domain = 1:length(at))
nlist = neighbourlist(at, cutoff(V))
for i in domain
_j, R, Z = neigsz!(tmp, nlist, at, i)
Es[i] = evaluate!(tmp, V, R, Z, at.Z[i])
end
return Es
end
site_energy(V::SitePotential, at::AbstractAtoms, i0::Integer) =
energy(V, at; domain = (i0,))
site_energy_d(V::SitePotential, at::AbstractAtoms, i0::Integer) =
rmul!(forces(V, at; domain = (i0,)), -one(fltype(at)))
# ------------------------------------------------
# specialisation for Pair potentials
include("analyticpotential.jl")
include("cutoffs.jl")
include("pairpotentials.jl")
include("adsite.jl")
include("stillingerweber.jl")
include("splines.jl")
include("eam.jl")
include("onebody.jl")
include("hessians.jl")
include("emt.jl")
end
| [
37811,
198,
2235,
8265,
6902,
14817,
198,
198,
21017,
21293,
198,
198,
1212,
8265,
23986,
617,
4096,
987,
47116,
2785,
82,
287,
5899,
22300,
11,
355,
880,
198,
292,
3769,
2615,
7021,
290,
32338,
329,
2252,
25504,
198,
464,
7822,
318,
1760,
287,
884,
257,
835,
326,
484,
460,
307,
973,
2035,
287,
366,
1831,
1,
198,
687,
393,
1626,
397,
8709,
19298,
19653,
13,
198,
198,
21017,
24897,
198,
198,
21017,
4600,
49786,
47671,
4600,
49786,
62,
67,
47671,
4600,
49786,
62,
1860,
47671,
4600,
9744,
63,
198,
198,
21017,
383,
4600,
31,
35,
47671,
4600,
31,
16458,
47671,
4600,
31,
10761,
2885,
63,
34749,
198,
198,
51,
3727,
46,
25,
3551,
10314,
198,
198,
37811,
198,
21412,
6902,
14817,
628,
198,
198,
3500,
12585,
43,
4061,
25,
1629,
3150,
11,
27741,
2953,
3150,
11,
27741,
9771,
3129,
1352,
11,
198,
220,
220,
220,
220,
220,
449,
53,
721,
11,
2603,
11,
43030,
11,
449,
19044,
11,
20546,
721,
11,
1569,
6359,
11,
9447,
265,
11,
198,
220,
220,
220,
220,
220,
6116,
11,
900,
62,
1930,
1756,
28265,
781,
4906,
62,
3849,
8831,
198,
198,
3500,
12585,
43,
4061,
13,
41829,
4592,
25,
17226,
62,
17618,
198,
198,
3500,
36125,
3163,
20477,
25,
2488,
12310,
265,
8609,
11,
20546,
9250,
198,
198,
3500,
22505,
6084,
43,
1023,
198,
198,
3500,
44800,
2348,
29230,
25,
2593,
198,
198,
3500,
1338,
17208,
3163,
20477,
25,
29877,
198,
198,
11748,
12585,
43,
4061,
25,
2568,
11,
3386,
11,
45616,
11,
5709,
498,
11,
339,
824,
666,
62,
1930,
11,
339,
824,
666,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2524,
62,
877,
70,
444,
11,
374,
62,
16345,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2524,
62,
22554,
11,
2524,
62,
22554,
62,
67,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2568,
28265,
3386,
28265,
5709,
498,
28265,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36836,
62,
29510,
11,
36836,
62,
29510,
62,
67,
11,
36836,
62,
29510,
62,
1860,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1100,
62,
11600,
11,
3551,
62,
11600,
11,
781,
4906,
11,
374,
2704,
4906,
198,
198,
39344,
39645,
25396,
1843,
11,
14413,
25396,
1843,
11,
12169,
29123,
25396,
1843,
198,
198,
2,
262,
1708,
389,
32338,
329,
5387,
5499,
1088,
543,
6101,
82,
389,
198,
2,
5447,
198,
198,
8818,
13446,
886,
198,
8818,
13446,
62,
67,
886,
198,
8818,
13446,
62,
276,
886,
198,
8818,
13446,
62,
1860,
886,
198,
8818,
13446,
0,
886,
198,
8818,
13446,
62,
67,
0,
886,
198,
8818,
13446,
62,
1860,
0,
886,
198,
8818,
49394,
0,
886,
628,
198,
17256,
7203,
13059,
14817,
62,
8692,
13,
20362,
4943,
198,
2,
1635,
2488,
13059,
11,
2488,
35,
11,
2488,
16458,
198,
2,
1635,
628,
198,
37811,
198,
63,
29123,
25396,
1843,
63,
25,
397,
8709,
16668,
4906,
329,
14276,
2524,
2785,
82,
198,
37811,
198,
397,
8709,
2099,
14413,
25396,
1843,
1279,
25,
27741,
9771,
3129,
1352,
886,
198,
198,
37811,
198,
63,
26437,
29123,
25396,
1843,
63,
25,
397,
8709,
16668,
4906,
329,
14276,
2524,
2785,
82,
11,
198,
570,
3255,
4693,
198,
37811,
198,
397,
8709,
2099,
17427,
29123,
25396,
1843,
1279,
25,
14413,
25396,
1843,
886,
628,
198,
37811,
198,
63,
47,
958,
25396,
1843,
63,
25,
397,
8709,
16668,
4906,
329,
5166,
2785,
82,
198,
37811,
198,
397,
8709,
2099,
39645,
25396,
1843,
1279,
25,
14413,
25396,
1843,
886,
198,
198,
37811,
198,
63,
26437,
47,
958,
25396,
1843,
63,
25,
397,
8709,
16668,
4906,
329,
5166,
2785,
82,
11,
198,
570,
3255,
4693,
198,
37811,
198,
397,
8709,
2099,
17427,
47,
958,
25396,
1843,
1279,
25,
39645,
25396,
1843,
886,
198,
198,
397,
8709,
2099,
11884,
47,
958,
25396,
1843,
1279,
25,
17427,
47,
958,
25396,
1843,
886,
628,
198,
198,
2,
13498,
18941,
351,
617,
15607,
5499,
13498,
198,
198,
2,
18941,
477,
27123,
4613,
1729,
12,
439,
27123,
3848,
198,
198,
49786,
7,
53,
3712,
29123,
25396,
1843,
11,
371,
11,
26498,
23029,
796,
198,
220,
220,
220,
220,
220,
13446,
0,
7,
32332,
62,
29510,
7,
53,
11,
4129,
7,
49,
36911,
569,
11,
371,
11,
26498,
23029,
198,
198,
49786,
62,
67,
7,
53,
3712,
29123,
25396,
1843,
11,
371,
3712,
23839,
38469,
90,
41697,
721,
90,
51,
92,
5512,
26498,
23029,
810,
1391,
51,
92,
796,
198,
220,
220,
220,
220,
220,
13446,
62,
67,
0,
7,
9107,
418,
7,
41697,
721,
90,
2704,
4906,
62,
3849,
8831,
7,
53,
11,
309,
8,
5512,
4129,
7,
49,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36836,
62,
29510,
62,
67,
7,
53,
11,
4129,
7,
49,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
569,
11,
371,
11,
26498,
23029,
198,
198,
49786,
62,
1860,
7,
53,
3712,
29123,
25396,
1843,
11,
371,
3712,
23839,
38469,
90,
41697,
721,
90,
51,
92,
5512,
26498,
23029,
810,
1391,
51,
92,
796,
198,
220,
220,
220,
220,
220,
13446,
62,
1860,
0,
7,
9107,
418,
7,
41,
19044,
90,
2704,
4906,
62,
3849,
8831,
7,
53,
11,
309,
8,
5512,
4129,
7,
49,
828,
4129,
7,
49,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36836,
62,
29510,
62,
1860,
7,
53,
11,
4129,
7,
49,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
569,
11,
371,
11,
26498,
23029,
628,
198,
2,
37404,
7071,
329,
17427,
29123,
25396,
1843,
198,
198,
49786,
0,
7,
22065,
11,
569,
3712,
26437,
29123,
25396,
1843,
11,
371,
11,
1168,
11,
1976,
15,
8,
796,
198,
220,
220,
220,
220,
220,
13446,
0,
7,
22065,
11,
569,
11,
371,
8,
198,
49786,
62,
67,
0,
7,
67,
23041,
11,
45218,
11,
569,
3712,
26437,
29123,
25396,
1843,
11,
371,
11,
1168,
11,
1976,
15,
8,
796,
198,
220,
220,
220,
220,
220,
13446,
62,
67,
0,
7,
67,
23041,
11,
45218,
11,
569,
11,
371,
8,
198,
49786,
62,
1860,
0,
7,
71,
23041,
11,
45218,
11,
569,
3712,
26437,
29123,
25396,
1843,
11,
371,
11,
1168,
11,
1976,
15,
8,
796,
198,
220,
220,
220,
220,
220,
13446,
62,
1860,
0,
7,
71,
23041,
11,
45218,
11,
569,
11,
371,
8,
198,
3866,
1102,
0,
7,
71,
23041,
11,
45218,
11,
569,
3712,
26437,
29123,
25396,
1843,
11,
371,
11,
1168,
11,
1976,
15,
11,
8434,
39029,
8,
796,
198,
220,
220,
220,
220,
220,
49394,
0,
7,
71,
23041,
11,
45218,
11,
569,
11,
371,
11,
8434,
39029,
8,
198,
198,
2,
35656,
22505,
6084,
4868,
3519,
1597,
34400,
6329,
198,
198,
46445,
6084,
43,
1023,
13,
49315,
7,
265,
3712,
23839,
2953,
3150,
11,
374,
8968,
3712,
23839,
43879,
8,
796,
198,
220,
220,
220,
220,
220,
5043,
7,
710,
394,
6084,
4868,
7,
265,
11,
374,
8968,
4008,
198,
198,
46445,
6084,
43,
1023,
13,
79,
3468,
7,
265,
3712,
23839,
2953,
3150,
11,
374,
8968,
3712,
23839,
43879,
8,
796,
198,
220,
220,
220,
220,
220,
14729,
7,
710,
394,
6084,
4868,
7,
265,
11,
374,
8968,
4008,
198,
198,
37811,
198,
63,
710,
9235,
89,
0,
7,
22065,
11,
299,
4868,
3712,
47,
958,
8053,
11,
379,
3712,
2953,
3150,
11,
1312,
3712,
46541,
8,
4613,
474,
11,
371,
1168,
63,
198,
198,
47911,
257,
8584,
6143,
7177,
4600,
22065,
63,
351,
7032,
198,
63,
22065,
13,
49,
11,
45218,
13,
57,
44646,
198,
37811,
198,
8818,
497,
9235,
89,
0,
7,
22065,
11,
299,
4868,
3712,
47,
958,
8053,
11,
379,
3712,
2953,
3150,
11,
1312,
3712,
46541,
8,
198,
220,
220,
474,
11,
371,
796,
497,
9235,
0,
7,
22065,
13,
49,
11,
299,
4868,
11,
1312,
8,
198,
220,
220,
1168,
796,
45218,
13,
57,
198,
220,
220,
329,
299,
796,
352,
25,
13664,
7,
73,
8,
198,
220,
220,
220,
220,
220,
1168,
58,
77,
60,
796,
379,
13,
57,
58,
73,
58,
77,
11907,
198,
220,
220,
886,
198,
220,
220,
1441,
474,
11,
371,
11,
4275,
1177,
1168,
58,
16,
25,
13664,
7,
73,
8,
12962,
198,
437,
198,
198,
8818,
497,
9235,
89,
7,
77,
4868,
3712,
47,
958,
8053,
11,
379,
3712,
2953,
3150,
11,
1312,
3712,
46541,
8,
198,
220,
220,
474,
11,
371,
796,
22505,
6084,
43,
1023,
13,
710,
9235,
7,
77,
4868,
11,
1312,
8,
198,
220,
220,
1441,
474,
11,
371,
11,
379,
13,
57,
58,
73,
60,
198,
437,
198,
198,
2,
20368,
19351,
438,
198,
198,
1,
64,
2524,
2785,
326,
655,
5860,
6632,
1,
198,
76,
18187,
2878,
12169,
29123,
25396,
1843,
1279,
25,
14413,
25396,
1843,
198,
437,
198,
198,
31,
13059,
12169,
29123,
25396,
1843,
198,
198,
8968,
2364,
7,
3712,
28667,
29123,
25396,
1843,
8,
796,
347,
970,
7,
15,
8,
198,
22554,
7,
53,
3712,
28667,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
90,
51,
19629,
479,
86,
22046,
23029,
810,
309,
796,
6632,
7,
51,
8,
198,
27087,
7,
53,
3712,
28667,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
90,
51,
19629,
479,
86,
22046,
23029,
810,
309,
796,
1976,
27498,
7,
41697,
721,
90,
51,
5512,
4129,
7,
265,
4008,
198,
49786,
0,
7,
22065,
11,
279,
3712,
28667,
29123,
25396,
1843,
11,
26498,
23029,
796,
347,
970,
7,
15,
8,
198,
49786,
62,
67,
0,
7,
67,
23041,
11,
45218,
11,
569,
3712,
28667,
29123,
25396,
1843,
11,
26498,
23029,
796,
6070,
0,
7,
67,
23041,
11,
6632,
7,
417,
4906,
7,
67,
23041,
22305,
198,
49786,
62,
1860,
0,
7,
71,
23041,
11,
45218,
11,
569,
3712,
28667,
29123,
25396,
1843,
11,
26498,
23029,
796,
6070,
0,
7,
71,
23041,
11,
6632,
7,
417,
4906,
7,
71,
23041,
22305,
628,
198,
198,
2,
46333,
286,
257,
14276,
2524,
2785,
198,
2,
46111,
25609,
18604,
198,
198,
32332,
62,
29510,
62,
15654,
7,
45,
3712,
46541,
11,
309,
28,
43879,
2414,
8,
796,
198,
220,
220,
220,
220,
220,
357,
371,
796,
1976,
27498,
7,
41697,
721,
90,
51,
5512,
399,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
796,
1976,
27498,
7,
2953,
10179,
15057,
11,
399,
828,
1267,
198,
198,
32332,
62,
29510,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
8,
796,
198,
220,
220,
220,
220,
220,
36836,
62,
29510,
7,
53,
11,
3509,
710,
9235,
7,
710,
394,
6084,
4868,
7,
265,
11,
45616,
7,
53,
35514,
198,
198,
32332,
62,
29510,
7,
53,
3712,
29123,
25396,
1843,
11,
399,
3712,
46541,
8,
796,
198,
220,
220,
220,
220,
220,
357,
371,
796,
1976,
27498,
7,
41697,
721,
37,
11,
399,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
796,
1976,
27498,
7,
2953,
10179,
15057,
11,
399,
828,
1267,
198,
198,
32332,
62,
29510,
62,
67,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
8,
796,
198,
220,
220,
220,
220,
220,
36836,
62,
29510,
62,
67,
7,
53,
11,
3509,
710,
9235,
7,
710,
394,
6084,
4868,
7,
265,
11,
45616,
7,
53,
35514,
198,
198,
32332,
62,
29510,
62,
67,
7,
53,
3712,
29123,
25396,
1843,
11,
399,
3712,
46541,
8,
796,
198,
220,
220,
220,
220,
220,
357,
67,
53,
796,
1976,
27498,
7,
41697,
721,
90,
2704,
4906,
7,
53,
8,
5512,
399,
828,
198,
220,
220,
220,
220,
220,
220,
220,
371,
796,
1976,
27498,
7,
41697,
721,
37,
11,
399,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
796,
1976,
27498,
7,
2953,
10179,
15057,
11,
399,
828,
1267,
198,
198,
32332,
62,
29510,
62,
1860,
7,
53,
3712,
29123,
25396,
1843,
11,
26498,
23029,
796,
2147,
628,
198,
2,
220,
26171,
48282,
602,
286,
2568,
11,
3386,
11,
5709,
8231,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
257,
14276,
2524,
2785,
628,
198,
22554,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
26,
479,
86,
22046,
23029,
796,
198,
220,
220,
220,
220,
220,
2568,
0,
7,
32332,
62,
29510,
7,
53,
11,
379,
828,
569,
11,
379,
26,
479,
86,
22046,
23029,
198,
198,
37040,
498,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
26,
479,
86,
22046,
23029,
796,
198,
220,
220,
220,
220,
220,
5709,
498,
0,
7,
32332,
62,
29510,
62,
67,
7,
53,
11,
379,
828,
569,
11,
379,
26,
479,
86,
22046,
23029,
198,
198,
27087,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
26,
479,
86,
22046,
23029,
796,
198,
220,
220,
220,
220,
220,
3386,
0,
7,
9107,
418,
7,
41697,
721,
90,
2704,
4906,
62,
3849,
8831,
7,
53,
11,
379,
8,
5512,
4129,
7,
265,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36836,
62,
29510,
62,
67,
7,
53,
11,
379,
828,
569,
11,
379,
26,
479,
86,
22046,
23029,
628,
198,
8818,
2568,
0,
7,
22065,
11,
42302,
3712,
29123,
25396,
1843,
11,
379,
3712,
2953,
3150,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7386,
28,
16,
25,
13664,
7,
265,
4008,
198,
220,
220,
309,
3697,
796,
781,
4906,
62,
3849,
8831,
7,
9948,
66,
11,
379,
8,
198,
220,
220,
412,
796,
6632,
7,
51,
3697,
8,
198,
220,
220,
299,
4868,
796,
12250,
4868,
7,
265,
11,
45616,
7,
9948,
66,
4008,
198,
220,
220,
329,
1312,
287,
7386,
198,
220,
220,
220,
220,
220,
474,
11,
371,
11,
1168,
796,
497,
9235,
89,
0,
7,
22065,
11,
299,
4868,
11,
379,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
412,
15853,
13446,
0,
7,
22065,
11,
42302,
11,
371,
11,
1168,
11,
379,
13,
57,
58,
72,
12962,
198,
220,
220,
886,
198,
220,
220,
1441,
412,
198,
437,
198,
198,
8818,
3386,
0,
7,
69,
6015,
11,
45218,
11,
42302,
3712,
29123,
25396,
1843,
11,
379,
3712,
2953,
3150,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7386,
28,
16,
25,
13664,
7,
265,
828,
13259,
28,
7942,
8,
198,
220,
220,
309,
3697,
796,
781,
4906,
62,
3849,
8831,
7,
9948,
66,
11,
379,
8,
198,
220,
220,
611,
13259,
26,
6070,
0,
7,
69,
6015,
11,
6632,
7,
417,
4906,
7,
69,
6015,
4008,
1776,
886,
198,
220,
220,
299,
4868,
796,
12250,
4868,
7,
265,
11,
45616,
7,
9948,
66,
4008,
198,
220,
220,
329,
1312,
287,
7386,
198,
220,
220,
220,
220,
220,
474,
11,
371,
11,
1168,
796,
497,
9235,
89,
0,
7,
22065,
11,
299,
4868,
11,
379,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
611,
4129,
7,
73,
8,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
13446,
62,
67,
0,
7,
22065,
13,
67,
53,
11,
45218,
11,
42302,
11,
371,
11,
1168,
11,
379,
13,
57,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
329,
257,
796,
352,
25,
13664,
7,
73,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1216,
66,
58,
73,
58,
64,
11907,
48185,
45218,
13,
67,
53,
58,
64,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1216,
66,
58,
72,
60,
220,
220,
220,
15853,
45218,
13,
67,
53,
58,
64,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
886,
198,
220,
220,
1441,
1216,
66,
198,
437,
628,
198,
15654,
62,
37040,
498,
7,
67,
53,
3712,
23839,
38469,
90,
41697,
721,
90,
51,
16,
92,
5512,
371,
3712,
23839,
38469,
90,
41697,
721,
90,
51,
17,
11709,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
810,
1391,
51,
16,
11,
309,
17,
92,
796,
220,
357,
198,
220,
220,
220,
220,
220,
4129,
7,
49,
8,
1875,
657,
5633,
13841,
2160,
7,
288,
38432,
1635,
30385,
6,
329,
357,
67,
38432,
11,
30385,
8,
287,
19974,
7,
67,
53,
11,
371,
8,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
6632,
7,
41,
19044,
90,
2704,
4906,
62,
3849,
8831,
7,
51,
16,
11,
309,
17,
8,
30072,
198,
220,
220,
220,
220,
220,
1267,
198,
198,
8818,
5709,
498,
0,
7,
22065,
11,
42302,
3712,
29123,
25396,
1843,
11,
379,
3712,
2953,
3150,
26,
7386,
28,
16,
25,
13664,
7,
265,
4008,
198,
220,
220,
309,
3697,
796,
781,
4906,
62,
3849,
8831,
7,
9948,
66,
11,
379,
8,
198,
220,
220,
299,
4868,
796,
12250,
4868,
7,
265,
11,
45616,
7,
9948,
66,
4008,
198,
220,
220,
5709,
796,
6632,
7,
41,
19044,
90,
51,
3697,
30072,
198,
220,
220,
329,
1312,
287,
7386,
198,
220,
220,
220,
220,
220,
474,
11,
371,
11,
1168,
796,
497,
9235,
89,
0,
7,
22065,
11,
299,
4868,
11,
379,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
611,
4129,
7,
73,
8,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
13446,
62,
67,
0,
7,
22065,
13,
67,
53,
11,
45218,
11,
42302,
11,
371,
11,
1168,
11,
379,
13,
57,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
5709,
15853,
2524,
62,
37040,
498,
7,
22065,
13,
67,
53,
11,
371,
8,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
886,
198,
220,
220,
1441,
5709,
198,
437,
628,
198,
8818,
2524,
62,
877,
70,
444,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
26,
479,
86,
22046,
23029,
198,
220,
220,
309,
3697,
796,
781,
4906,
62,
3849,
8831,
7,
53,
11,
379,
8,
198,
220,
220,
1441,
2524,
62,
877,
70,
444,
0,
7,
9107,
418,
7,
51,
3697,
11,
4129,
7,
265,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36836,
62,
29510,
7,
53,
11,
379,
828,
569,
11,
379,
26,
479,
86,
22046,
23029,
198,
437,
198,
198,
8818,
2524,
62,
877,
70,
444,
0,
7,
23041,
11,
45218,
11,
569,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7386,
796,
352,
25,
13664,
7,
265,
4008,
198,
220,
220,
299,
4868,
796,
12250,
4868,
7,
265,
11,
45616,
7,
53,
4008,
198,
220,
220,
329,
1312,
287,
7386,
198,
220,
220,
220,
220,
220,
4808,
73,
11,
371,
11,
1168,
796,
497,
9235,
89,
0,
7,
22065,
11,
299,
4868,
11,
379,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
8678,
58,
72,
60,
796,
13446,
0,
7,
22065,
11,
569,
11,
371,
11,
1168,
11,
379,
13,
57,
58,
72,
12962,
198,
220,
220,
886,
198,
220,
220,
1441,
8678,
198,
437,
198,
198,
15654,
62,
22554,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
11,
1312,
15,
3712,
46541,
8,
796,
198,
220,
220,
220,
220,
220,
2568,
7,
53,
11,
379,
26,
7386,
796,
357,
72,
15,
11,
4008,
198,
198,
15654,
62,
22554,
62,
67,
7,
53,
3712,
29123,
25396,
1843,
11,
379,
3712,
23839,
2953,
3150,
11,
1312,
15,
3712,
46541,
8,
796,
198,
220,
220,
220,
220,
220,
42721,
377,
0,
7,
27087,
7,
53,
11,
379,
26,
7386,
796,
357,
72,
15,
35751,
828,
532,
505,
7,
2704,
4906,
7,
265,
22305,
628,
198,
2,
20368,
1783,
198,
2,
220,
2041,
5612,
329,
39645,
2785,
82,
198,
198,
17256,
7203,
38200,
13370,
13059,
1843,
13,
20362,
4943,
198,
198,
17256,
7203,
8968,
8210,
13,
20362,
4943,
198,
198,
17256,
7203,
24874,
13059,
14817,
13,
20362,
4943,
628,
198,
17256,
7203,
5643,
578,
13,
20362,
4943,
198,
198,
17256,
7203,
24219,
3889,
732,
527,
13,
20362,
4943,
198,
198,
17256,
7203,
22018,
1127,
13,
20362,
4943,
198,
17256,
7203,
68,
321,
13,
20362,
4943,
198,
198,
17256,
7203,
505,
2618,
13,
20362,
4943,
198,
198,
17256,
7203,
33979,
1547,
13,
20362,
4943,
198,
198,
17256,
7203,
368,
83,
13,
20362,
4943,
198,
198,
437,
198
] | 2.40104 | 3,461 |
using BinaryBuilder, Pkg
# Read in input `.json` file
json = String(read(ARGS[1]))
buff = IOBuffer(strip(json))
objs = []
while !eof(buff)
push!(objs, BinaryBuilder.JSON.parse(buff))
end
# Merge the multiple outputs into one
merged = BinaryBuilder.merge_json_objects(objs)
BinaryBuilder.cleanup_merged_object!(merged)
# Determine build version
name = merged["name"]
jll_name = string(name, "_jll")
repo_name = string("JuliaBinaryWrappers/", jll_name, ".jl")
@info "Initializing $(repo_name)..."
BinaryBuilder.init_jll_package(name, joinpath(Pkg.devdir(), jll_name), repo_name)
| [
3500,
45755,
32875,
11,
350,
10025,
198,
198,
2,
4149,
287,
5128,
4600,
13,
17752,
63,
2393,
198,
17752,
796,
10903,
7,
961,
7,
1503,
14313,
58,
16,
60,
4008,
198,
36873,
796,
314,
9864,
13712,
7,
36311,
7,
17752,
4008,
198,
672,
8457,
796,
17635,
198,
4514,
5145,
68,
1659,
7,
36873,
8,
198,
220,
220,
220,
4574,
0,
7,
672,
8457,
11,
45755,
32875,
13,
40386,
13,
29572,
7,
36873,
4008,
198,
437,
198,
2,
39407,
262,
3294,
23862,
656,
530,
198,
647,
2004,
796,
45755,
32875,
13,
647,
469,
62,
17752,
62,
48205,
7,
672,
8457,
8,
198,
33,
3219,
32875,
13,
27773,
929,
62,
647,
2004,
62,
15252,
0,
7,
647,
2004,
8,
198,
2,
45559,
3810,
1382,
2196,
198,
3672,
796,
23791,
14692,
3672,
8973,
198,
73,
297,
62,
3672,
796,
4731,
7,
3672,
11,
45434,
73,
297,
4943,
198,
260,
7501,
62,
3672,
796,
4731,
7203,
16980,
544,
33,
3219,
36918,
11799,
14,
1600,
474,
297,
62,
3672,
11,
27071,
20362,
4943,
198,
198,
31,
10951,
366,
24243,
2890,
29568,
260,
7501,
62,
3672,
8,
9313,
198,
198,
33,
3219,
32875,
13,
15003,
62,
73,
297,
62,
26495,
7,
3672,
11,
4654,
6978,
7,
47,
10025,
13,
7959,
15908,
22784,
474,
297,
62,
3672,
828,
29924,
62,
3672,
8,
198
] | 2.703704 | 216 |
using LinearAlgebra
using DataFrames
using CSV
using Plots
A = CSV.File("../../DATA/hald_ingredients.csv", header = false) |> Tables.matrix
b = CSV.File("../../DATA/hald_heat.csv", header = false) |> Tables.matrix
U, S, V = svd(A)
x = (V*inv(diagm(S))*U'*b) # Solve Ax=b using the SVD
p1 = plot(b, label = "Heat data") # Plot data
plot!(A*x, label = "Regression") # Plot regression
| [
198,
3500,
44800,
2348,
29230,
198,
3500,
6060,
35439,
198,
3500,
44189,
198,
3500,
1345,
1747,
198,
198,
32,
796,
44189,
13,
8979,
7203,
40720,
40720,
26947,
14,
71,
1940,
62,
278,
23320,
13,
40664,
1600,
13639,
796,
3991,
8,
930,
29,
33220,
13,
6759,
8609,
198,
65,
796,
44189,
13,
8979,
7203,
40720,
40720,
26947,
14,
71,
1940,
62,
25080,
13,
40664,
1600,
13639,
796,
3991,
8,
930,
29,
33220,
13,
6759,
8609,
198,
198,
52,
11,
311,
11,
569,
796,
264,
20306,
7,
32,
8,
198,
87,
796,
357,
53,
9,
16340,
7,
10989,
363,
76,
7,
50,
4008,
9,
52,
6,
9,
65,
8,
1303,
4294,
303,
12176,
28,
65,
1262,
262,
311,
8898,
198,
198,
79,
16,
796,
7110,
7,
65,
11,
6167,
796,
366,
39596,
1366,
4943,
1303,
28114,
1366,
198,
29487,
0,
7,
32,
9,
87,
11,
6167,
796,
366,
8081,
2234,
4943,
1303,
28114,
20683,
198
] | 2.522876 | 153 |
__precompile__()
module OSQP
export OSQPMathProgBaseInterface
# Compatibility stuff
using Compat
using Compat.SparseArrays
using Compat.Iterators
if isfile(joinpath(dirname(@__FILE__), "..", "deps", "deps.jl"))
include("../deps/deps.jl")
else
error("OSQP not properly installed. Please run Pkg.build(\"OSQP\")")
end
function __init__()
# Get version
ver_array = split(version(), ".")
ver_string = string(ver_array[1], ".", ver_array[2], ".", ver_array[3]) # Get string without dev vers
vnum = VersionNumber(ver_string)
depsdir = realpath(joinpath(dirname(@__FILE__), "..", "deps"))
if (vnum.major != 0 && vnum.minor != 2)
error("Current OSQP version installed is $(osqp_version()), but we require version 0.2.*. Delete the contents of the `$depsdir` directory except for the files `build.jl` and `.gitignore`, then rerun Pkg.build(\"OSQP\").")
end
end
include("constants.jl")
include("types.jl")
include("interface.jl")
include("mpbinterface.jl")
include("MathOptInterfaceOSQP.jl")
end # module
| [
834,
3866,
5589,
576,
834,
3419,
198,
198,
21412,
7294,
48,
47,
198,
198,
39344,
7294,
48,
5868,
776,
2964,
70,
14881,
39317,
198,
198,
2,
46021,
3404,
198,
3500,
3082,
265,
198,
3500,
3082,
265,
13,
50,
29572,
3163,
20477,
198,
3500,
3082,
265,
13,
29993,
2024,
628,
198,
361,
318,
7753,
7,
22179,
6978,
7,
15908,
3672,
7,
31,
834,
25664,
834,
828,
366,
492,
1600,
366,
10378,
82,
1600,
366,
10378,
82,
13,
20362,
48774,
198,
220,
220,
220,
2291,
7203,
40720,
10378,
82,
14,
10378,
82,
13,
20362,
4943,
198,
17772,
198,
220,
220,
220,
4049,
7203,
2640,
48,
47,
407,
6105,
6589,
13,
4222,
1057,
350,
10025,
13,
11249,
7,
7879,
2640,
48,
47,
59,
4943,
4943,
198,
437,
628,
198,
8818,
11593,
15003,
834,
3419,
198,
220,
220,
220,
1303,
3497,
2196,
198,
220,
220,
220,
3326,
62,
18747,
796,
6626,
7,
9641,
22784,
366,
19570,
198,
220,
220,
220,
3326,
62,
8841,
796,
4731,
7,
332,
62,
18747,
58,
16,
4357,
366,
33283,
3326,
62,
18747,
58,
17,
4357,
366,
33283,
3326,
62,
18747,
58,
18,
12962,
220,
1303,
3497,
4731,
1231,
1614,
1646,
198,
220,
220,
220,
410,
22510,
796,
10628,
15057,
7,
332,
62,
8841,
8,
628,
198,
220,
220,
220,
390,
862,
15908,
796,
1103,
6978,
7,
22179,
6978,
7,
15908,
3672,
7,
31,
834,
25664,
834,
828,
366,
492,
1600,
366,
10378,
82,
48774,
198,
220,
220,
220,
611,
357,
85,
22510,
13,
22478,
14512,
657,
11405,
410,
22510,
13,
1084,
273,
14512,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
11297,
7294,
48,
47,
2196,
6589,
318,
29568,
418,
80,
79,
62,
9641,
3419,
828,
475,
356,
2421,
2196,
657,
13,
17,
15885,
13,
23520,
262,
10154,
286,
262,
4600,
3,
10378,
82,
15908,
63,
8619,
2845,
329,
262,
3696,
4600,
11249,
13,
20362,
63,
290,
4600,
13,
18300,
46430,
47671,
788,
302,
5143,
350,
10025,
13,
11249,
7,
7879,
2640,
48,
47,
59,
4943,
19570,
198,
220,
220,
220,
886,
198,
437,
198,
198,
17256,
7203,
9979,
1187,
13,
20362,
4943,
198,
17256,
7203,
19199,
13,
20362,
4943,
198,
17256,
7203,
39994,
13,
20362,
4943,
198,
17256,
7203,
3149,
65,
39994,
13,
20362,
4943,
198,
17256,
7203,
37372,
27871,
39317,
2640,
48,
47,
13,
20362,
4943,
198,
198,
437,
1303,
8265,
198
] | 2.701799 | 389 |
# Produces a maximally entangled state as vector or density matrix
export maxEnt, maxEntVec;
""" `vec = maxEnt(d)`
Returns a projector (density matrix) onto the maximally entangled state of a given dimension *d*.
"""
function maxEnt(d::Number)
v = maxEntVec(d);
return (v*v');
end
""" `vec = maxEntVec(d)`
Returns the maximally entangled state of a given dimension *d* as a vector.
"""
function maxEntVec(d::Number)
v = zeros(d^2);
for j = 1:d
v += (1/sqrt(d)) * kron(eVec(d,j),eVec(d,j));
end
return v;
end
| [
2,
21522,
728,
257,
12991,
453,
47446,
1181,
355,
15879,
393,
12109,
17593,
198,
198,
39344,
3509,
14539,
11,
3509,
14539,
53,
721,
26,
198,
198,
37811,
4600,
35138,
796,
3509,
14539,
7,
67,
8,
63,
198,
198,
35561,
257,
43396,
357,
43337,
17593,
8,
4291,
262,
12991,
453,
47446,
1181,
286,
257,
1813,
15793,
1635,
67,
24620,
198,
198,
37811,
198,
8818,
3509,
14539,
7,
67,
3712,
15057,
8,
198,
197,
85,
796,
3509,
14539,
53,
721,
7,
67,
1776,
198,
197,
7783,
357,
85,
9,
85,
24036,
198,
437,
198,
198,
37811,
4600,
35138,
796,
3509,
14539,
53,
721,
7,
67,
8,
63,
198,
198,
35561,
262,
12991,
453,
47446,
1181,
286,
257,
1813,
15793,
1635,
67,
9,
355,
257,
15879,
13,
198,
198,
37811,
198,
8818,
3509,
14539,
53,
721,
7,
67,
3712,
15057,
8,
198,
197,
85,
796,
1976,
27498,
7,
67,
61,
17,
1776,
198,
197,
1640,
474,
796,
352,
25,
67,
198,
197,
197,
85,
15853,
357,
16,
14,
31166,
17034,
7,
67,
4008,
1635,
479,
1313,
7,
68,
53,
721,
7,
67,
11,
73,
828,
68,
53,
721,
7,
67,
11,
73,
18125,
198,
197,
437,
198,
197,
7783,
410,
26,
198,
437,
198
] | 2.60199 | 201 |
"""
WeightedCovMatrix(T = Float64)
Weighted covariance matrix, tracked as a matrix of type `T`.
*After* a call to `cov` the covariance matrix is stored in `o.C`.
# Example:
o = fit!(WeightedCovMatrix(), rand(100, 4), rand(100))
sum(o)
mean(o)
var(o)
std(o)
cov(o)
cor(o)
"""
mutable struct WeightedCovMatrix{T} <: WeightedOnlineStat{VectorOb}
C::Matrix{T}
A::Matrix{T}
b::Vector{T}
W::T
W2::T
n::Int
function WeightedCovMatrix{T}(
C = zeros(T, 0, 0),
A = zeros(T, 0, 0),
b = zeros(T, 0),
W = T(0),
W2 = T(0),
n = 0
) where T
new{T}(C, A, b, W, W2, n)
end
end
function WeightedCovMatrix(
C::Matrix{T},
A::Matrix{T},
b::Vector{T},
W::T,
W2::T,
n::Int
) where T
WeightedCovMatrix{T}(C, A, b, W, W2, n)
end
WeightedCovMatrix(::Type{T}, p::Int=0) where T =
WeightedCovMatrix(zeros(T, p, p), zeros(T, p, p), zeros(T, p), T(0), T(0), 0)
WeightedCovMatrix() = WeightedCovMatrix(Float64)
function _fit!(o::WeightedCovMatrix{T}, x, w) where T
xx = convert(Vector{T}, x)
ww = convert(T, w)
o.n += 1
γ1 = T(1) / o.n
o.W = smooth(o.W, ww, γ1)
o.W2 = smooth(o.W2, ww*ww, γ1)
γ2 = ww / (o.W * o.n)
if isempty(o.A)
p = length(xx)
o.b = zeros(T, p)
o.A = zeros(T, p, p)
o.C = zeros(T, p, p)
end
smooth!(o.b, xx, γ2)
smooth_syr!(o.A, xx, γ2)
end
function _fit!(o::WeightedCovMatrix{T1},
x::AbstractVector{Union{T2, Missing}}, w) where {T1, T2}
if !mapreduce(ismissing, |, x)
xx = convert(Vector{T1}, x)
_fit!(o, xx, w)
end
return o
end
_fit!(o::WeightedCovMatrix, x, w::Missing) = o
function _merge!(o::WeightedCovMatrix{T}, o2::WeightedCovMatrix) where T
o2_A = convert(Matrix{T}, o2.A)
o2_b = convert(Vector{T}, o2.b)
o2_W = convert(T, o2.W)
o2_W2 = convert(T, o2.W2)
if isempty(o.A)
o.C = convert(Matrix{T}, o2.C)
o.A = o2_A
o.b = o2_b
o.W = o2_W
o.W2 = o2_W2
o.n = o2.n
else
n = o.n + o2.n
W = smooth(o.W, o2_W, o2.n / n)
γ = (o2_W * o2.n) / (W * n)
smooth!(o.A, o2_A, γ)
smooth!(o.b, o2_b, γ)
o.n = n
o.W = W
o.W2 = smooth(o.W2, o2_W2, o2.n / o.n)
end
return o
end
nvars(o::WeightedCovMatrix) = size(o.A, 1)
function OnlineStatsBase.value(o::WeightedCovMatrix)
# o.A is only the upper triangle:
# o.C .= o.A .- o.b .* o.b'
@inbounds for i in 1:size(o.A, 1)
for j in 1:i
o.C[j, i] = o.A[j, i] - o.b[i] * o.b[j]
end
end
LinearAlgebra.copytri!(o.C, 'U')
o.C
end
function Statistics.cov(o::WeightedCovMatrix; corrected = false, weight_type = :analytic)
if corrected
if weight_type == :analytic
LinearAlgebra.rmul!(
value(o), 1 / (1 - (o.W2 * nobs(o)) / (weightsum(o) ^ 2))
)
elseif weight_type == :frequency
LinearAlgebra.rmul!(
value(o), 1 / (weightsum(o) - 1) * weightsum(o)
)
elseif weight_type == :probability
error("If you need this, please make a PR or open an issue")
else
throw(ArgumentError("weight type $weight_type not implemented"))
end
else
value(o)
end
end
function Statistics.cor(o::WeightedCovMatrix; kw...)
cov(o; kw...)
v = diag(o.C)
v .= 1 ./ sqrt.(v)
return o.C .* v .* v'
end
Base.sum(o::WeightedCovMatrix) = o.b .* (meanweight(o) * nobs(o))
Statistics.mean(o::WeightedCovMatrix) = copy(o.b)
Statistics.var(o::WeightedCovMatrix; kw...) = diag(cov(o; kw...))
Statistics.std(o::WeightedCovMatrix; kw...) = sqrt.(var(o; kw...))
Base.eltype(o::WeightedCovMatrix{T}) where T = T
Base.copy(o::WeightedCovMatrix) =
WeightedCovMatrix(copy(o.C), copy(o.A), copy(o.b), o.W, o.W2, o.n)
Base.size(x::WeightedCovMatrix, i) = size(x.C, i)
Base.size(x::WeightedCovMatrix) = size(x.C)
function Base.convert(::Type{WeightedCovMatrix{T}}, o::WeightedCovMatrix) where T
WeightedCovMatrix{T}(
convert(Matrix{T}, o.C),
convert(Matrix{T}, o.A),
convert(Vector{T}, o.b),
convert(T, o.W),
convert(T, o.W2),
o.n
)
end
| [
37811,
198,
220,
220,
220,
14331,
276,
34,
709,
46912,
7,
51,
796,
48436,
2414,
8,
198,
198,
25844,
276,
44829,
590,
17593,
11,
18283,
355,
257,
17593,
286,
2099,
4600,
51,
44646,
198,
198,
9,
3260,
9,
257,
869,
284,
4600,
66,
709,
63,
262,
44829,
590,
17593,
318,
8574,
287,
4600,
78,
13,
34,
44646,
198,
198,
2,
17934,
25,
198,
220,
220,
220,
267,
796,
4197,
0,
7,
25844,
276,
34,
709,
46912,
22784,
43720,
7,
3064,
11,
604,
828,
43720,
7,
3064,
4008,
198,
220,
220,
220,
2160,
7,
78,
8,
198,
220,
220,
220,
1612,
7,
78,
8,
198,
220,
220,
220,
1401,
7,
78,
8,
198,
220,
220,
220,
14367,
7,
78,
8,
198,
220,
220,
220,
39849,
7,
78,
8,
198,
220,
220,
220,
1162,
7,
78,
8,
198,
37811,
198,
76,
18187,
2878,
14331,
276,
34,
709,
46912,
90,
51,
92,
1279,
25,
14331,
276,
14439,
17126,
90,
38469,
5944,
92,
198,
220,
220,
220,
327,
3712,
46912,
90,
51,
92,
198,
220,
220,
220,
317,
3712,
46912,
90,
51,
92,
198,
220,
220,
220,
275,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
370,
3712,
51,
198,
220,
220,
220,
370,
17,
3712,
51,
198,
220,
220,
220,
299,
3712,
5317,
198,
220,
220,
220,
2163,
14331,
276,
34,
709,
46912,
90,
51,
92,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
796,
1976,
27498,
7,
51,
11,
657,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
796,
1976,
27498,
7,
51,
11,
657,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
1976,
27498,
7,
51,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
370,
796,
309,
7,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
370,
17,
796,
309,
7,
15,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
810,
309,
198,
220,
220,
220,
220,
220,
220,
220,
649,
90,
51,
92,
7,
34,
11,
317,
11,
275,
11,
370,
11,
370,
17,
11,
299,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
14331,
276,
34,
709,
46912,
7,
198,
220,
220,
220,
220,
220,
220,
220,
327,
3712,
46912,
90,
51,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
317,
3712,
46912,
90,
51,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3712,
38469,
90,
51,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
370,
3712,
51,
11,
198,
220,
220,
220,
220,
220,
220,
220,
370,
17,
3712,
51,
11,
198,
220,
220,
220,
220,
220,
220,
220,
299,
3712,
5317,
198,
220,
220,
220,
1267,
810,
309,
198,
220,
220,
220,
14331,
276,
34,
709,
46912,
90,
51,
92,
7,
34,
11,
317,
11,
275,
11,
370,
11,
370,
17,
11,
299,
8,
198,
437,
198,
198,
25844,
276,
34,
709,
46912,
7,
3712,
6030,
90,
51,
5512,
279,
3712,
5317,
28,
15,
8,
810,
309,
796,
198,
220,
220,
220,
14331,
276,
34,
709,
46912,
7,
9107,
418,
7,
51,
11,
279,
11,
279,
828,
1976,
27498,
7,
51,
11,
279,
11,
279,
828,
1976,
27498,
7,
51,
11,
279,
828,
309,
7,
15,
828,
309,
7,
15,
828,
657,
8,
198,
25844,
276,
34,
709,
46912,
3419,
796,
14331,
276,
34,
709,
46912,
7,
43879,
2414,
8,
198,
198,
8818,
4808,
11147,
0,
7,
78,
3712,
25844,
276,
34,
709,
46912,
90,
51,
5512,
2124,
11,
266,
8,
810,
309,
198,
220,
220,
220,
31383,
796,
10385,
7,
38469,
90,
51,
5512,
2124,
8,
198,
220,
220,
220,
266,
86,
796,
10385,
7,
51,
11,
266,
8,
628,
220,
220,
220,
267,
13,
77,
15853,
352,
198,
220,
220,
220,
7377,
111,
16,
796,
309,
7,
16,
8,
1220,
267,
13,
77,
198,
220,
220,
220,
267,
13,
54,
796,
7209,
7,
78,
13,
54,
11,
266,
86,
11,
7377,
111,
16,
8,
198,
220,
220,
220,
267,
13,
54,
17,
796,
7209,
7,
78,
13,
54,
17,
11,
266,
86,
9,
1383,
11,
7377,
111,
16,
8,
198,
220,
220,
220,
7377,
111,
17,
796,
266,
86,
1220,
357,
78,
13,
54,
1635,
267,
13,
77,
8,
198,
220,
220,
220,
611,
318,
28920,
7,
78,
13,
32,
8,
198,
220,
220,
220,
220,
220,
220,
220,
279,
796,
4129,
7,
5324,
8,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
65,
796,
1976,
27498,
7,
51,
11,
279,
8,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
32,
796,
1976,
27498,
7,
51,
11,
279,
11,
279,
8,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
34,
796,
1976,
27498,
7,
51,
11,
279,
11,
279,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7209,
0,
7,
78,
13,
65,
11,
31383,
11,
7377,
111,
17,
8,
198,
220,
220,
220,
7209,
62,
1837,
81,
0,
7,
78,
13,
32,
11,
31383,
11,
7377,
111,
17,
8,
198,
437,
198,
198,
8818,
4808,
11147,
0,
7,
78,
3712,
25844,
276,
34,
709,
46912,
90,
51,
16,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
3712,
23839,
38469,
90,
38176,
90,
51,
17,
11,
25639,
92,
5512,
266,
8,
810,
1391,
51,
16,
11,
309,
17,
92,
198,
220,
220,
220,
611,
5145,
8899,
445,
7234,
7,
1042,
747,
278,
11,
930,
11,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
31383,
796,
10385,
7,
38469,
90,
51,
16,
5512,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11147,
0,
7,
78,
11,
31383,
11,
266,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
267,
198,
437,
198,
62,
11147,
0,
7,
78,
3712,
25844,
276,
34,
709,
46912,
11,
2124,
11,
266,
3712,
43730,
8,
796,
267,
198,
198,
8818,
4808,
647,
469,
0,
7,
78,
3712,
25844,
276,
34,
709,
46912,
90,
51,
5512,
267,
17,
3712,
25844,
276,
34,
709,
46912,
8,
810,
309,
198,
220,
220,
220,
267,
17,
62,
32,
796,
10385,
7,
46912,
90,
51,
5512,
267,
17,
13,
32,
8,
198,
220,
220,
220,
267,
17,
62,
65,
796,
10385,
7,
38469,
90,
51,
5512,
267,
17,
13,
65,
8,
198,
220,
220,
220,
267,
17,
62,
54,
796,
10385,
7,
51,
11,
267,
17,
13,
54,
8,
198,
220,
220,
220,
267,
17,
62,
54,
17,
796,
10385,
7,
51,
11,
267,
17,
13,
54,
17,
8,
628,
220,
220,
220,
611,
318,
28920,
7,
78,
13,
32,
8,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
34,
796,
10385,
7,
46912,
90,
51,
5512,
267,
17,
13,
34,
8,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
32,
796,
267,
17,
62,
32,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
65,
796,
267,
17,
62,
65,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
796,
267,
17,
62,
54,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
17,
796,
267,
17,
62,
54,
17,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
77,
796,
267,
17,
13,
77,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
267,
13,
77,
1343,
267,
17,
13,
77,
198,
220,
220,
220,
220,
220,
220,
220,
370,
796,
7209,
7,
78,
13,
54,
11,
267,
17,
62,
54,
11,
267,
17,
13,
77,
1220,
299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
111,
796,
357,
78,
17,
62,
54,
1635,
267,
17,
13,
77,
8,
1220,
357,
54,
1635,
299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7209,
0,
7,
78,
13,
32,
11,
267,
17,
62,
32,
11,
7377,
111,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7209,
0,
7,
78,
13,
65,
11,
267,
17,
62,
65,
11,
7377,
111,
8,
628,
220,
220,
220,
220,
220,
220,
220,
267,
13,
77,
796,
299,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
796,
370,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
17,
796,
7209,
7,
78,
13,
54,
17,
11,
267,
17,
62,
54,
17,
11,
267,
17,
13,
77,
1220,
267,
13,
77,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
267,
198,
437,
198,
198,
48005,
945,
7,
78,
3712,
25844,
276,
34,
709,
46912,
8,
796,
2546,
7,
78,
13,
32,
11,
352,
8,
198,
198,
8818,
7467,
29668,
14881,
13,
8367,
7,
78,
3712,
25844,
276,
34,
709,
46912,
8,
198,
220,
220,
220,
1303,
267,
13,
32,
318,
691,
262,
6727,
22950,
25,
198,
220,
220,
220,
1303,
267,
13,
34,
764,
28,
267,
13,
32,
764,
12,
267,
13,
65,
764,
9,
267,
13,
65,
6,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
287,
352,
25,
7857,
7,
78,
13,
32,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
352,
25,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
13,
34,
58,
73,
11,
1312,
60,
796,
267,
13,
32,
58,
73,
11,
1312,
60,
532,
267,
13,
65,
58,
72,
60,
1635,
267,
13,
65,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
886,
198,
220,
220,
220,
44800,
2348,
29230,
13,
30073,
28461,
0,
7,
78,
13,
34,
11,
705,
52,
11537,
198,
220,
220,
220,
267,
13,
34,
198,
437,
198,
198,
8818,
14370,
13,
66,
709,
7,
78,
3712,
25844,
276,
34,
709,
46912,
26,
19267,
796,
3991,
11,
3463,
62,
4906,
796,
1058,
38200,
13370,
8,
198,
220,
220,
220,
611,
19267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3463,
62,
4906,
6624,
1058,
38200,
13370,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44800,
2348,
29230,
13,
26224,
377,
0,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
7,
78,
828,
352,
1220,
357,
16,
532,
357,
78,
13,
54,
17,
1635,
645,
1443,
7,
78,
4008,
1220,
357,
43775,
388,
7,
78,
8,
10563,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
3463,
62,
4906,
6624,
1058,
35324,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44800,
2348,
29230,
13,
26224,
377,
0,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
7,
78,
828,
352,
1220,
357,
43775,
388,
7,
78,
8,
532,
352,
8,
1635,
19590,
388,
7,
78,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
3463,
62,
4906,
6624,
1058,
1676,
65,
1799,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
1532,
345,
761,
428,
11,
3387,
787,
257,
4810,
393,
1280,
281,
2071,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
28100,
1713,
12331,
7203,
6551,
2099,
720,
6551,
62,
4906,
407,
9177,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
7,
78,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
14370,
13,
10215,
7,
78,
3712,
25844,
276,
34,
709,
46912,
26,
479,
86,
23029,
198,
220,
220,
220,
39849,
7,
78,
26,
479,
86,
23029,
198,
220,
220,
220,
410,
796,
2566,
363,
7,
78,
13,
34,
8,
198,
220,
220,
220,
410,
764,
28,
352,
24457,
19862,
17034,
12195,
85,
8,
198,
220,
220,
220,
1441,
267,
13,
34,
764,
9,
410,
764,
9,
410,
6,
198,
437,
198,
198,
14881,
13,
16345,
7,
78,
3712,
25844,
276,
34,
709,
46912,
8,
796,
267,
13,
65,
764,
9,
357,
32604,
6551,
7,
78,
8,
1635,
645,
1443,
7,
78,
4008,
198,
48346,
13,
32604,
7,
78,
3712,
25844,
276,
34,
709,
46912,
8,
796,
4866,
7,
78,
13,
65,
8,
198,
48346,
13,
7785,
7,
78,
3712,
25844,
276,
34,
709,
46912,
26,
479,
86,
23029,
796,
2566,
363,
7,
66,
709,
7,
78,
26,
479,
86,
986,
4008,
198,
48346,
13,
19282,
7,
78,
3712,
25844,
276,
34,
709,
46912,
26,
479,
86,
23029,
796,
19862,
17034,
12195,
7785,
7,
78,
26,
479,
86,
986,
4008,
198,
198,
14881,
13,
417,
4906,
7,
78,
3712,
25844,
276,
34,
709,
46912,
90,
51,
30072,
810,
309,
796,
309,
198,
14881,
13,
30073,
7,
78,
3712,
25844,
276,
34,
709,
46912,
8,
796,
198,
220,
220,
220,
14331,
276,
34,
709,
46912,
7,
30073,
7,
78,
13,
34,
828,
4866,
7,
78,
13,
32,
828,
4866,
7,
78,
13,
65,
828,
267,
13,
54,
11,
267,
13,
54,
17,
11,
267,
13,
77,
8,
198,
198,
14881,
13,
7857,
7,
87,
3712,
25844,
276,
34,
709,
46912,
11,
1312,
8,
796,
2546,
7,
87,
13,
34,
11,
1312,
8,
198,
14881,
13,
7857,
7,
87,
3712,
25844,
276,
34,
709,
46912,
8,
796,
2546,
7,
87,
13,
34,
8,
628,
198,
8818,
7308,
13,
1102,
1851,
7,
3712,
6030,
90,
25844,
276,
34,
709,
46912,
90,
51,
92,
5512,
267,
3712,
25844,
276,
34,
709,
46912,
8,
810,
309,
198,
220,
220,
220,
14331,
276,
34,
709,
46912,
90,
51,
92,
7,
198,
220,
220,
220,
220,
220,
220,
220,
10385,
7,
46912,
90,
51,
5512,
267,
13,
34,
828,
198,
220,
220,
220,
220,
220,
220,
220,
10385,
7,
46912,
90,
51,
5512,
267,
13,
32,
828,
198,
220,
220,
220,
220,
220,
220,
220,
10385,
7,
38469,
90,
51,
5512,
267,
13,
65,
828,
198,
220,
220,
220,
220,
220,
220,
220,
10385,
7,
51,
11,
220,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
828,
198,
220,
220,
220,
220,
220,
220,
220,
10385,
7,
51,
11,
220,
220,
220,
220,
220,
220,
220,
220,
267,
13,
54,
17,
828,
198,
220,
220,
220,
220,
220,
220,
220,
267,
13,
77,
198,
220,
220,
220,
1267,
198,
437,
198
] | 1.812268 | 2,429 |
export rmap
rmap(f, x) = f(x)
function rmap(f, t::Tuple)
map(x -> rmap(f,x), t)
end
function rmap(f, nt::NamedTuple{N,T}) where {N,T}
NamedTuple{N}(map(x -> rmap(f,x), values(nt)))
end
| [
39344,
374,
8899,
198,
198,
81,
8899,
7,
69,
11,
2124,
8,
796,
277,
7,
87,
8,
198,
198,
8818,
374,
8899,
7,
69,
11,
256,
3712,
51,
29291,
8,
198,
220,
220,
220,
3975,
7,
87,
4613,
374,
8899,
7,
69,
11,
87,
828,
256,
8,
198,
437,
198,
198,
8818,
374,
8899,
7,
69,
11,
299,
83,
3712,
45,
2434,
51,
29291,
90,
45,
11,
51,
30072,
810,
1391,
45,
11,
51,
92,
198,
220,
220,
220,
34441,
51,
29291,
90,
45,
92,
7,
8899,
7,
87,
4613,
374,
8899,
7,
69,
11,
87,
828,
3815,
7,
429,
22305,
198,
437,
198
] | 1.884615 | 104 |
# ---
# title: 1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
# id: problem1414
# author: Indigo
# date: 2022-2-18
# difficulty: Medium
# categories: Array, Greedy
# link: <https://leetcode.com/problems/find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k/description/>
# hidden: true
# ---
#
# Given an integer `k`, _return the minimum number of Fibonacci numbers whose
# sum is equal to_`k`. The same Fibonacci number can be used multiple times.
#
# The Fibonacci numbers are defined as:
#
# * `F1 = 1`
# * `F2 = 1`
# * `Fn = Fn-1 + Fn-2` for `n > 2.`
#
# It is guaranteed that for the given constraints we can always find such
# Fibonacci numbers that sum up to `k`.
#
#
#
# **Example 1:**
#
#
#
# Input: k = 7
# Output: 2
# Explanation: The Fibonacci numbers are: 1, 1, 2, 3, 5, 8, 13, ...
# For k = 7 we can use 2 + 5 = 7.
#
# **Example 2:**
#
#
#
# Input: k = 10
# Output: 2
# Explanation: For k = 10 we can use 2 + 8 = 10.
#
#
# **Example 3:**
#
#
#
# Input: k = 19
# Output: 3
# Explanation: For k = 19 we can use 1 + 5 + 13 = 19.
#
#
#
#
# **Constraints:**
#
# * `1 <= k <= 10^9`
#
#
## @lc code=start
using LeetCode
function find_min_fibonacci_numbers(k::Int)
fibs = [0, 1, 1]
while fibs[end] <= k
push!(fibs, fibs[end] + fibs[end - 1])
end
"""
If we need 2 or more fib_i's,
we can always use fib_{i+1} and fib_{i-2} to replace them:
2fib_i = fib_i + fib_{i-1} + fib_{i-2} = fib_{i+1} + fib_{i-2}.
So greedy algorithm can be performed.
"""
pop!(fibs)
res = 0
idx = length(fibs) + 1
while k != 0
idx -= 1
k >= fibs[idx] || continue
k -= fibs[idx]
res += 1
end
return res
end
## @lc code=end
| [
2,
11420,
198,
2,
3670,
25,
1478,
1415,
13,
9938,
262,
26265,
7913,
286,
41566,
261,
44456,
27797,
854,
577,
5060,
1148,
509,
198,
2,
4686,
25,
1917,
1415,
1415,
198,
2,
1772,
25,
40673,
198,
2,
3128,
25,
33160,
12,
17,
12,
1507,
198,
2,
8722,
25,
13398,
198,
2,
9376,
25,
15690,
11,
11955,
4716,
198,
2,
2792,
25,
1279,
5450,
1378,
293,
316,
8189,
13,
785,
14,
1676,
22143,
14,
19796,
12,
1169,
12,
39504,
12,
17618,
12,
1659,
12,
69,
571,
261,
44456,
12,
77,
17024,
12,
38159,
12,
16345,
12,
271,
12,
74,
14,
11213,
15913,
198,
2,
7104,
25,
2081,
198,
2,
11420,
198,
2,
220,
198,
2,
11259,
281,
18253,
4600,
74,
47671,
4808,
7783,
262,
5288,
1271,
286,
41566,
261,
44456,
3146,
3025,
198,
2,
2160,
318,
4961,
284,
62,
63,
74,
44646,
383,
976,
41566,
261,
44456,
1271,
460,
307,
973,
3294,
1661,
13,
198,
2,
220,
198,
2,
383,
41566,
261,
44456,
3146,
389,
5447,
355,
25,
198,
2,
220,
198,
2,
220,
220,
1635,
4600,
37,
16,
796,
352,
63,
198,
2,
220,
220,
1635,
4600,
37,
17,
796,
352,
63,
198,
2,
220,
220,
1635,
4600,
37,
77,
796,
37481,
12,
16,
1343,
37481,
12,
17,
63,
329,
4600,
77,
1875,
362,
13,
63,
198,
2,
220,
198,
2,
632,
318,
11462,
326,
329,
262,
1813,
17778,
356,
460,
1464,
1064,
884,
198,
2,
41566,
261,
44456,
3146,
326,
2160,
510,
284,
4600,
74,
44646,
198,
2,
220,
198,
2,
220,
198,
2,
220,
198,
2,
12429,
16281,
352,
25,
1174,
198,
2,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
23412,
25,
479,
796,
767,
198,
2,
220,
220,
220,
220,
25235,
25,
362,
220,
198,
2,
220,
220,
220,
220,
50125,
341,
25,
383,
41566,
261,
44456,
3146,
389,
25,
352,
11,
352,
11,
362,
11,
513,
11,
642,
11,
807,
11,
1511,
11,
2644,
220,
198,
2,
220,
220,
220,
220,
1114,
479,
796,
767,
356,
460,
779,
362,
1343,
642,
796,
767,
13,
198,
2,
220,
198,
2,
12429,
16281,
362,
25,
1174,
198,
2,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
23412,
25,
479,
796,
838,
198,
2,
220,
220,
220,
220,
25235,
25,
362,
220,
198,
2,
220,
220,
220,
220,
50125,
341,
25,
1114,
479,
796,
838,
356,
460,
779,
362,
1343,
807,
796,
838,
13,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
198,
2,
12429,
16281,
513,
25,
1174,
198,
2,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
23412,
25,
479,
796,
678,
198,
2,
220,
220,
220,
220,
25235,
25,
513,
220,
198,
2,
220,
220,
220,
220,
50125,
341,
25,
1114,
479,
796,
678,
356,
460,
779,
352,
1343,
642,
1343,
1511,
796,
678,
13,
198,
2,
220,
220,
220,
220,
220,
198,
2,
220,
198,
2,
220,
198,
2,
220,
198,
2,
12429,
3103,
2536,
6003,
25,
1174,
198,
2,
220,
198,
2,
220,
220,
1635,
4600,
16,
19841,
479,
19841,
838,
61,
24,
63,
198,
2,
220,
198,
2,
220,
198,
2235,
2488,
44601,
2438,
28,
9688,
198,
3500,
1004,
316,
10669,
198,
198,
8818,
1064,
62,
1084,
62,
69,
571,
261,
44456,
62,
77,
17024,
7,
74,
3712,
5317,
8,
198,
220,
220,
220,
12900,
82,
796,
685,
15,
11,
352,
11,
352,
60,
198,
220,
220,
220,
981,
12900,
82,
58,
437,
60,
19841,
479,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
69,
571,
82,
11,
12900,
82,
58,
437,
60,
1343,
12900,
82,
58,
437,
532,
352,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1002,
356,
761,
362,
393,
517,
12900,
62,
72,
338,
11,
198,
220,
220,
220,
356,
460,
1464,
779,
12900,
23330,
72,
10,
16,
92,
290,
12900,
23330,
72,
12,
17,
92,
284,
6330,
606,
25,
198,
220,
220,
220,
362,
69,
571,
62,
72,
796,
12900,
62,
72,
1343,
12900,
23330,
72,
12,
16,
92,
1343,
12900,
23330,
72,
12,
17,
92,
796,
12900,
23330,
72,
10,
16,
92,
1343,
12900,
23330,
72,
12,
17,
27422,
628,
220,
220,
220,
1406,
31828,
11862,
460,
307,
6157,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1461,
0,
7,
69,
571,
82,
8,
198,
220,
220,
220,
581,
796,
657,
198,
220,
220,
220,
4686,
87,
796,
4129,
7,
69,
571,
82,
8,
1343,
352,
198,
220,
220,
220,
981,
479,
14512,
657,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
48185,
352,
198,
220,
220,
220,
220,
220,
220,
220,
479,
18189,
12900,
82,
58,
312,
87,
60,
8614,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
479,
48185,
12900,
82,
58,
312,
87,
60,
198,
220,
220,
220,
220,
220,
220,
220,
581,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
581,
198,
437,
198,
2235,
2488,
44601,
2438,
28,
437,
198
] | 2.139697 | 859 |
using ConvolutionTools
using Base.Test
import Base.isapprox
function isapprox{T, N}(a::Array{T, N}, b::Array{T, N}, eps=10e-10)
if size(a) != size(b)
return false
end
el_diff = sum(abs(a .- b)) / prod(size(a))
return el_diff < eps
end
function test_pad_const_1d()
a = rand(3)
n = [1]
c = 2.3
res = pad_const(a, n, c)
return length(res) == 5 && res[1] == c && res[end] == c && typeof(res) == typeof(a)
end
function test_pad_const_2d()
a = rand(3, 2)
n = [1, 3]
res = pad_const(a, n)
return size(res) == (5, 8)
end
function test_1d()
a = rand((7))
b = rand((2))
res = ConvolutionTools.conv_valid(a, b)
return ndims(res) == 1 && eltype(res) <: Number
end
function test_2d()
a = rand((6, 7))
b = rand((1, 2))
res = ConvolutionTools.conv_valid(a, b)
return ndims(res) == 2 && eltype(res) <: Number
end
function test_3d()
a = rand((6, 7, 10))
b = rand((1, 2, 3))
res = ConvolutionTools.conv_valid(a, b)
return ndims(res) == 3 && eltype(res) <: Number
end
function test_identity()
a = [i^2 for i in 1:100]
b = [1]
res = ConvolutionTools.conv_valid(a, b)
return all(a .== res)
end
function test_zero()
a = float([i^2 for i in 1:100])
b = float([0])
res = ConvolutionTools.conv_valid(a, b)
return all(res .== zero(eltype(res)))
end
function test_derivative()
n = 10
a = float([0.5 * i^2 for i in 1:n])
b = float([1, 0, -1]) / 2
res = ConvolutionTools.conv_valid(a, b)
ref = float([i for i in 2:(n-1)])
return isapprox(ref, res)
end
function test_integers()
n = 10
a = [i for i in 1:n]
b = [1, 0, -1]
res = ConvolutionTools.conv_valid(a, b)
return all(res .== 2)
end
function test_mixed_input()
a = [i for i in 1:10]
b = float([1, 2, 3])
res1 = ConvolutionTools.conv(a, b)
res2 = ConvolutionTools.conv(b, a)
return isapprox(res1, res2)
end
custom_handler(r::Test.Success) = print(".")
custom_handler(r::Test.Failure) = Test.default_handler(r)
custom_handler(r::Test.Error) = Test.default_handler(r)
Test.with_handler(custom_handler) do
@test test_pad_const_1d()
@test test_pad_const_2d()
@test test_1d()
@test test_2d()
@test test_3d()
@test test_zero()
@test test_identity()
@test test_derivative()
@test test_integers()
@test test_mixed_input()
end
println("")
| [
3500,
34872,
2122,
33637,
198,
3500,
7308,
13,
14402,
198,
198,
11748,
7308,
13,
271,
1324,
13907,
198,
198,
8818,
318,
1324,
13907,
90,
51,
11,
399,
92,
7,
64,
3712,
19182,
90,
51,
11,
399,
5512,
275,
3712,
19182,
90,
51,
11,
399,
5512,
304,
862,
28,
940,
68,
12,
940,
8,
198,
220,
220,
220,
611,
2546,
7,
64,
8,
14512,
2546,
7,
65,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3991,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1288,
62,
26069,
796,
2160,
7,
8937,
7,
64,
764,
12,
275,
4008,
1220,
40426,
7,
7857,
7,
64,
4008,
198,
220,
220,
220,
1441,
1288,
62,
26069,
1279,
304,
862,
198,
437,
198,
198,
8818,
1332,
62,
15636,
62,
9979,
62,
16,
67,
3419,
198,
220,
220,
220,
257,
796,
43720,
7,
18,
8,
198,
220,
220,
220,
299,
796,
685,
16,
60,
198,
220,
220,
220,
269,
796,
362,
13,
18,
198,
220,
220,
220,
581,
796,
14841,
62,
9979,
7,
64,
11,
299,
11,
269,
8,
198,
220,
220,
220,
1441,
4129,
7,
411,
8,
6624,
642,
11405,
581,
58,
16,
60,
6624,
269,
11405,
581,
58,
437,
60,
6624,
269,
11405,
2099,
1659,
7,
411,
8,
6624,
2099,
1659,
7,
64,
8,
198,
437,
198,
198,
8818,
1332,
62,
15636,
62,
9979,
62,
17,
67,
3419,
198,
220,
220,
220,
257,
796,
43720,
7,
18,
11,
362,
8,
198,
220,
220,
220,
299,
796,
685,
16,
11,
513,
60,
198,
220,
220,
220,
581,
796,
14841,
62,
9979,
7,
64,
11,
299,
8,
198,
220,
220,
220,
1441,
2546,
7,
411,
8,
6624,
357,
20,
11,
807,
8,
198,
437,
198,
198,
8818,
1332,
62,
16,
67,
3419,
198,
220,
220,
220,
257,
796,
43720,
19510,
22,
4008,
198,
220,
220,
220,
275,
796,
43720,
19510,
17,
4008,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
299,
67,
12078,
7,
411,
8,
6624,
352,
11405,
1288,
4906,
7,
411,
8,
1279,
25,
7913,
198,
437,
198,
198,
8818,
1332,
62,
17,
67,
3419,
198,
220,
220,
220,
257,
796,
43720,
19510,
21,
11,
767,
4008,
198,
220,
220,
220,
275,
796,
43720,
19510,
16,
11,
362,
4008,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
299,
67,
12078,
7,
411,
8,
6624,
362,
11405,
1288,
4906,
7,
411,
8,
1279,
25,
7913,
198,
437,
198,
198,
8818,
1332,
62,
18,
67,
3419,
198,
220,
220,
220,
257,
796,
43720,
19510,
21,
11,
767,
11,
838,
4008,
198,
220,
220,
220,
275,
796,
43720,
19510,
16,
11,
362,
11,
513,
4008,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
299,
67,
12078,
7,
411,
8,
6624,
513,
11405,
1288,
4906,
7,
411,
8,
1279,
25,
7913,
198,
437,
198,
198,
8818,
1332,
62,
738,
414,
3419,
198,
220,
220,
220,
257,
796,
685,
72,
61,
17,
329,
1312,
287,
352,
25,
3064,
60,
198,
220,
220,
220,
275,
796,
685,
16,
60,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
477,
7,
64,
764,
855,
581,
8,
198,
437,
198,
198,
8818,
1332,
62,
22570,
3419,
198,
220,
220,
220,
257,
796,
12178,
26933,
72,
61,
17,
329,
1312,
287,
352,
25,
3064,
12962,
198,
220,
220,
220,
275,
796,
12178,
26933,
15,
12962,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
477,
7,
411,
764,
855,
6632,
7,
417,
4906,
7,
411,
22305,
198,
437,
198,
198,
8818,
1332,
62,
1082,
452,
876,
3419,
198,
220,
220,
220,
299,
796,
838,
198,
220,
220,
220,
257,
796,
12178,
26933,
15,
13,
20,
1635,
1312,
61,
17,
329,
1312,
287,
352,
25,
77,
12962,
198,
220,
220,
220,
275,
796,
12178,
26933,
16,
11,
657,
11,
532,
16,
12962,
1220,
362,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1006,
796,
12178,
26933,
72,
329,
1312,
287,
362,
37498,
77,
12,
16,
8,
12962,
198,
220,
220,
220,
1441,
318,
1324,
13907,
7,
5420,
11,
581,
8,
198,
437,
198,
198,
8818,
1332,
62,
18908,
364,
3419,
198,
220,
220,
220,
299,
796,
838,
198,
220,
220,
220,
257,
796,
685,
72,
329,
1312,
287,
352,
25,
77,
60,
198,
220,
220,
220,
275,
796,
685,
16,
11,
657,
11,
532,
16,
60,
198,
220,
220,
220,
581,
796,
34872,
2122,
33637,
13,
42946,
62,
12102,
7,
64,
11,
275,
8,
198,
220,
220,
220,
1441,
477,
7,
411,
764,
855,
362,
8,
198,
437,
198,
198,
8818,
1332,
62,
76,
2966,
62,
15414,
3419,
198,
220,
220,
220,
257,
796,
685,
72,
329,
1312,
287,
352,
25,
940,
60,
198,
220,
220,
220,
275,
796,
12178,
26933,
16,
11,
362,
11,
513,
12962,
198,
220,
220,
220,
581,
16,
796,
34872,
2122,
33637,
13,
42946,
7,
64,
11,
275,
8,
198,
220,
220,
220,
581,
17,
796,
34872,
2122,
33637,
13,
42946,
7,
65,
11,
257,
8,
198,
220,
220,
220,
1441,
318,
1324,
13907,
7,
411,
16,
11,
581,
17,
8,
198,
437,
198,
198,
23144,
62,
30281,
7,
81,
3712,
14402,
13,
33244,
8,
796,
3601,
7203,
19570,
198,
23144,
62,
30281,
7,
81,
3712,
14402,
13,
50015,
8,
796,
6208,
13,
12286,
62,
30281,
7,
81,
8,
198,
23144,
62,
30281,
7,
81,
3712,
14402,
13,
12331,
8,
220,
220,
796,
6208,
13,
12286,
62,
30281,
7,
81,
8,
198,
198,
14402,
13,
4480,
62,
30281,
7,
23144,
62,
30281,
8,
466,
198,
220,
220,
220,
2488,
9288,
1332,
62,
15636,
62,
9979,
62,
16,
67,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
15636,
62,
9979,
62,
17,
67,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
16,
67,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
17,
67,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
18,
67,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
22570,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
738,
414,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
1082,
452,
876,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
18908,
364,
3419,
198,
220,
220,
220,
2488,
9288,
1332,
62,
76,
2966,
62,
15414,
3419,
198,
437,
198,
198,
35235,
7203,
4943,
628
] | 2.171763 | 1,112 |
@cache mutable struct ABDF2ConstantCache{N,dtType,rate_prototype} <: OrdinaryDiffEqConstantCache
nlsolver::N
eulercache::ImplicitEulerConstantCache
dtₙ₋₁::dtType
fsalfirstprev::rate_prototype
end
function alg_cache(alg::ABDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},
uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 2//3, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
eulercache = ImplicitEulerConstantCache(nlsolver)
dtₙ₋₁ = one(dt)
fsalfirstprev = rate_prototype
ABDF2ConstantCache(nlsolver, eulercache, dtₙ₋₁, fsalfirstprev)
end
@cache mutable struct ABDF2Cache{uType,rateType,uNoUnitsType,N,dtType} <: OrdinaryDiffEqMutableCache
uₙ::uType
uₙ₋₁::uType
uₙ₋₂::uType
fsalfirst::rateType
fsalfirstprev::rateType
zₙ₋₁::uType
atmp::uNoUnitsType
nlsolver::N
eulercache::ImplicitEulerCache
dtₙ₋₁::dtType
end
function alg_cache(alg::ABDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},
::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 2//3, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
fsalfirstprev = zero(rate_prototype)
atmp = similar(u,uEltypeNoUnits); recursivefill!(atmp,false)
eulercache = ImplicitEulerCache(u,uprev,uprev2,fsalfirst,atmp,nlsolver)
dtₙ₋₁ = one(dt)
zₙ₋₁ = zero(u)
ABDF2Cache(u,uprev,uprev2,fsalfirst,fsalfirstprev,zₙ₋₁,atmp,
nlsolver,eulercache,dtₙ₋₁)
end
# SBDF
@cache mutable struct SBDFConstantCache{rateType,N,uType} <: OrdinaryDiffEqConstantCache
cnt::Int
ark::Bool
k2::rateType
nlsolver::N
uprev2::uType
uprev4::uType
uprev3::uType
k₁::rateType
k₂::rateType
k₃::rateType
du₁::rateType
du₂::rateType
end
@cache mutable struct SBDFCache{uType,rateType,N} <: OrdinaryDiffEqMutableCache
cnt::Int
ark::Bool
u::uType
uprev::uType
fsalfirst::rateType
nlsolver::N
uprev2::uType
uprev3::uType
uprev4::uType
k₁::rateType
k₂::rateType
k₃::rateType
du₁::rateType
du₂::rateType
end
function alg_cache(alg::SBDF,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 1//1, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
k2 = rate_prototype
k₁ = rate_prototype; k₂ = rate_prototype; k₃ = rate_prototype
du₁ = rate_prototype; du₂ = rate_prototype
uprev2 = u; uprev3 = u; uprev4 = u
SBDFConstantCache(1,alg.ark,k2,nlsolver,uprev2,uprev3,uprev4,k₁,k₂,k₃,du₁,du₂)
end
function alg_cache(alg::SBDF,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 1//1, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
order = alg.order
k₁ = zero(rate_prototype)
k₂ = order >= 3 ? zero(rate_prototype) : k₁
k₃ = order == 4 ? zero(rate_prototype) : k₁
du₁ = zero(rate_prototype)
du₂ = zero(rate_prototype)
uprev2 = zero(u)
uprev3 = order >= 3 ? zero(u) : uprev2
uprev4 = order == 4 ? zero(u) : uprev2
SBDFCache(1,alg.ark,u,uprev,fsalfirst,nlsolver,uprev2,uprev3,uprev4,k₁,k₂,k₃,du₁,du₂)
end
# QNDF1
@cache mutable struct QNDF1ConstantCache{N,coefType,coefType1,coefType2,dtType,uType} <: OrdinaryDiffEqConstantCache
nlsolver::N
D::coefType1
D2::coefType2
R::coefType
U::coefType
uprev2::uType
dtₙ₋₁::dtType
end
@cache mutable struct QNDF1Cache{uType,rateType,coefType,coefType1,coefType2,uNoUnitsType,N,dtType} <: OrdinaryDiffEqMutableCache
uprev2::uType
fsalfirst::rateType
D::coefType1
D2::coefType2
R::coefType
U::coefType
atmp::uNoUnitsType
utilde::uType
nlsolver::N
dtₙ₋₁::dtType
end
function alg_cache(alg::QNDF1,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = zero(inv((1-alg.kappa))), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
uprev2 = u
dtₙ₋₁ = zero(t)
D = fill(zero(u), 1, 1)
D2 = fill(zero(u), 1, 2)
R = fill(zero(t), 1, 1)
U = fill(zero(t), 1, 1)
U!(1,U)
QNDF1ConstantCache(nlsolver,D,D2,R,U,uprev2,dtₙ₋₁)
end
function alg_cache(alg::QNDF1,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = zero(inv((1-alg.kappa))), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
D = Array{typeof(u)}(undef, 1, 1)
D2 = Array{typeof(u)}(undef, 1, 2)
R = fill(zero(t), 1, 1)
U = fill(zero(t), 1, 1)
D[1] = zero(u)
D2[1] = zero(u); D2[2] = zero(u)
U!(1,U)
atmp = similar(u,uEltypeNoUnits); recursivefill!(atmp,false)
utilde = zero(u)
uprev2 = zero(u)
dtₙ₋₁ = zero(dt)
QNDF1Cache(uprev2,fsalfirst,D,D2,R,U,atmp,utilde,nlsolver,dtₙ₋₁)
end
# QNDF2
@cache mutable struct QNDF2ConstantCache{N,coefType,coefType1,coefType2,uType,dtType} <: OrdinaryDiffEqConstantCache
nlsolver::N
D::coefType1
D2::coefType2
R::coefType
U::coefType
uprev2::uType
uprev3::uType
dtₙ₋₁::dtType
dtₙ₋₂::dtType
end
@cache mutable struct QNDF2Cache{uType,rateType,coefType,coefType1,coefType2,uNoUnitsType,N,dtType} <: OrdinaryDiffEqMutableCache
uprev2::uType
uprev3::uType
fsalfirst::rateType
D::coefType1
D2::coefType2
R::coefType
U::coefType
atmp::uNoUnitsType
utilde::uType
nlsolver::N
dtₙ₋₁::dtType
dtₙ₋₂::dtType
end
function alg_cache(alg::QNDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = zero(inv((1-alg.kappa))), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
uprev2 = u
uprev3 = u
dtₙ₋₁ = zero(t)
dtₙ₋₂ = zero(t)
D = fill(zero(u), 1, 2)
D2 = fill(zero(u), 1, 3)
R = fill(zero(t), 2, 2)
U = fill(zero(t), 2, 2)
U!(2,U)
QNDF2ConstantCache(nlsolver,D,D2,R,U,uprev2,uprev3,dtₙ₋₁,dtₙ₋₂)
end
function alg_cache(alg::QNDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = zero(inv((1-alg.kappa))), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
D = Array{typeof(u)}(undef, 1, 2)
D2 = Array{typeof(u)}(undef, 1, 3)
R = fill(zero(t), 2, 2)
U = fill(zero(t), 2, 2)
D[1] = zero(u); D[2] = zero(u)
D2[1] = zero(u); D2[2] = zero(u); D2[3] = zero(u)
U!(2,U)
atmp = similar(u,uEltypeNoUnits); recursivefill!(atmp,false)
utilde = zero(u)
uprev2 = zero(u)
uprev3 = zero(u)
dtₙ₋₁ = zero(dt)
dtₙ₋₂ = zero(dt)
QNDF2Cache(uprev2,uprev3,fsalfirst,D,D2,R,U,atmp,utilde,nlsolver,dtₙ₋₁,dtₙ₋₂)
end
@cache mutable struct QNDFConstantCache{MO,N,coefType,UType,dtType,EEstType,gammaType} <: OrdinaryDiffEqConstantCache
nlsolver::N
U::UType
D::coefType
prevD::coefType
prevorder::Int
order::Int
max_order::Val{MO}
dtprev::dtType
nconsteps::Int ##Successful Consecutive Step with the same step size
consfailcnt::Int #Consecutive failed steps count
EEst1::EEstType #Error Estimator for k-1 order
EEst2::EEstType #Error Estimator for k+1 order
γₖ::gammaType
end
function alg_cache(alg::QNDF{MO},u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits} where MO
max_order = MO
γ, c = one(eltype(alg.kappa)), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
dtprev = one(dt)
D = Matrix{uEltypeNoUnits}(undef, length(u), max_order+2)
recursivefill!(D, zero(uEltypeNoUnits))
prevD = similar(D)
recursivefill!(prevD, zero(uEltypeNoUnits))
EEst1 = tTypeNoUnits(1)
EEst2 = tTypeNoUnits(1)
U = zero(MMatrix{max_order,max_order,tTypeNoUnits})
for r = 1:max_order
U[1,r] = -r
for j = 2:max_order
U[j,r] = U[j-1,r] * ((j-1) - r)/j
end
end
U = SArray(U)
γₖ = SVector(ntuple(k->sum(tTypeNoUnits(1//j) for j in 1:k), Val(max_order)))
QNDFConstantCache(nlsolver, U, D, prevD, 1, 1, Val(max_order), dtprev, 0, 0, EEst1, EEst2, γₖ)
end
@cache mutable struct QNDFCache{MO,UType,RUType,rateType,N,coefType,dtType,EEstType,gammaType,uType,uNoUnitsType} <: OrdinaryDiffEqMutableCache
fsalfirst::rateType
dd::uType
utilde::uType
utildem1::uType
utildep1::uType
ϕ::uType
u₀::uType
nlsolver::N
U::UType
RU::RUType
D::coefType
Dtmp::coefType
tmp2::uType
prevD::coefType
order::Int
prevorder::Int
max_order::Val{MO}
dtprev::dtType
nconsteps::Int ##Successful consecutive step with the same step size
consfailcnt::Int #Consecutive failed steps count
EEst1::EEstType #Error Estimator for k-1 order
EEst2::EEstType #Error Estimator for k+1 order
γₖ::gammaType
atmp::uNoUnitsType
atmpm1::uNoUnitsType
atmpp1::uNoUnitsType
end
function alg_cache(alg::QNDF{MO},u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits} where MO
max_order = MO
γ, c = one(eltype(alg.kappa)), 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
dd = zero(u)
utilde = zero(u)
utildem1 = zero(u)
utildep1 = zero(u)
ϕ = zero(u)
u₀ = zero(u)
dtprev = one(dt)
D = similar(u, uEltypeNoUnits, length(u), max_order + 2)
recursivefill!(D, zero(uEltypeNoUnits))
Dtmp = similar(D)
recursivefill!(Dtmp, zero(uEltypeNoUnits))
prevD = zero(similar(D))
atmp = zero(similar(u, uEltypeNoUnits))
atmpm1 = zero(similar(u, uEltypeNoUnits))
atmpp1 = zero(similar(u, uEltypeNoUnits))
tmp2 = zero(u)
EEst1 = tTypeNoUnits(1)
EEst2 = tTypeNoUnits(1)
U = zero(MMatrix{max_order,max_order,tTypeNoUnits})
for r = 1:max_order
U[1,r] = -r
for j = 2:max_order
U[j,r] = U[j-1,r] * ((j-1) - r)/j
end
end
U = SArray(U)
RU = Matrix(U)
γₖ = SVector(ntuple(k->sum(tTypeNoUnits(1//j) for j in 1:k), Val(max_order)))
QNDFCache(fsalfirst, dd, utilde, utildem1, utildep1, ϕ, u₀, nlsolver, U, RU, D, Dtmp, tmp2, prevD, 1, 1, Val(max_order), dtprev, 0, 0, EEst1, EEst2, γₖ, atmp, atmpm1, atmpp1)
end
@cache mutable struct MEBDF2Cache{uType,rateType,uNoUnitsType,N} <: OrdinaryDiffEqMutableCache
u::uType
uprev::uType
uprev2::uType
fsalfirst::rateType
z₁::uType
z₂::uType
tmp2::uType
atmp::uNoUnitsType
nlsolver::N
end
function alg_cache(alg::MEBDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},
::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 1, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
fsalfirst = zero(rate_prototype)
z₁ = zero(u); z₂ = zero(u); z₃ = zero(u); tmp2 = zero(u)
atmp = similar(u,uEltypeNoUnits); recursivefill!(atmp,false)
MEBDF2Cache(u,uprev,uprev2,fsalfirst,z₁,z₂,tmp2,atmp,nlsolver)
end
mutable struct MEBDF2ConstantCache{N} <: OrdinaryDiffEqConstantCache
nlsolver::N
end
function alg_cache(alg::MEBDF2,u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},
::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 1, 1
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
MEBDF2ConstantCache(nlsolver)
end
@cache mutable struct FBDFConstantCache{MO,N,tsType,tType,uType,uuType,coeffType,EEstType,rType,wType} <: OrdinaryDiffEqConstantCache
nlsolver::N
ts::tsType
ts_tmp::tsType
t_old::tType
u_history::uuType
order::Int
prev_order::Int
u_corrector::uType
bdf_coeffs::coeffType
max_order::Val{MO}
nconsteps::Int # consecutive success steps
consfailcnt::Int #consecutive failed step counts
terkm2::EEstType
terkm1::EEstType
terk::EEstType
terkp1::EEstType
r::rType
weights::wType
iters_from_event::Int
end
function alg_cache(alg::FBDF{MO},u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{false}) where {uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits} where MO
γ, c = 1.0, 1.0
max_order = MO
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(false))
bdf_coeffs = SA[1 -1 0 0 0 0 ;
3//2 -2 1//2 0 0 0 ;
11//6 -3 3//2 -1//3 0 0 ;
25//12 -4 3 -4//3 1//4 0 ;
137//60 -5 5 -10//3 5//4 -1//5]
ts = zero(Vector{typeof(t)}(undef,max_order+2)) #ts is the successful past points, it will be updated after successful step
ts_tmp = similar(ts)
u_history = zero(Matrix{eltype(u)}(undef,length(u),max_order+2))
order = 1
prev_order = 1
u_corrector = similar(u_history)
recursivefill!(u_corrector,zero(eltype(u)))
recursivefill!(u_history,zero(eltype(u_history)))
terkm2 = tTypeNoUnits(1)
terkm1= tTypeNoUnits(1)
terk= tTypeNoUnits(1)
terkp1 = tTypeNoUnits(1)
r = zero(Vector{typeof(t)}(undef,max_order+2))
weights = zero(Vector{typeof(t)}(undef,max_order+2))
weights[1] = 1
nconsteps = 0
consfailcnt = 0
t_old = zero(t)
iters_from_event = 0
FBDFConstantCache(nlsolver,ts,ts_tmp,t_old,u_history,order,prev_order,u_corrector,bdf_coeffs,Val(5),nconsteps,consfailcnt,terkm2,terkm1,terk,terkp1,r,weights,iters_from_event)
end
@cache mutable struct FBDFCache{MO,N,rateType,uNoUnitsType,tsType,tType,uType,uuType,coeffType,EEstType,rType,wType} <: OrdinaryDiffEqMutableCache
fsalfirst::rateType
nlsolver::N
ts::tsType
ts_tmp::tsType
t_old::tType
u_history::uuType
order::Int
prev_order::Int
u_corrector::uuType
u₀::uType
bdf_coeffs::coeffType
max_order::Val{MO}
nconsteps::Int # consecutive success steps
consfailcnt::Int #consecutive failed step counts
tmp::uType
atmp::uNoUnitsType
terkm2::EEstType
terkm1::EEstType
terk::EEstType #terk corresponds to hᵏyᵏ(tₙ₊₁)
terkp1::EEstType
terk_tmp::uType
terkp1_tmp::uType
r::rType
weights::wType #weights of Lagrangian formula
equi_ts::tsType
iters_from_event::Int
end
function alg_cache(alg::FBDF{MO},u,rate_prototype,::Type{uEltypeNoUnits},::Type{uBottomEltypeNoUnits},::Type{tTypeNoUnits},uprev,uprev2,f,t,dt,reltol,p,calck,::Val{true}) where {MO,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits}
γ, c = 1.0, 1.0
fsalfirst = zero(rate_prototype)
max_order = MO
nlsolver = build_nlsolver(alg,u,uprev,p,t,dt,f,rate_prototype,uEltypeNoUnits,uBottomEltypeNoUnits,tTypeNoUnits,γ,c,Val(true))
bdf_coeffs = SA[1 -1 0 0 0 0 ;
3//2 -2 1//2 0 0 0 ;
11//6 -3 3//2 -1//3 0 0 ;
25//12 -4 3 -4//3 1//4 0 ;
137//60 -5 5 -10//3 5//4 -1//5]
ts = Vector{typeof(t)}(undef,max_order+2) #ts is the successful past points, it will be updated after successful step
u_history = Matrix{eltype(u)}(undef,length(u),max_order+2)
order = 1
prev_order = 1
u_corrector = similar(u_history)
recursivefill!(ts,zero(t))
recursivefill!(u_corrector,zero(eltype(u)))
recursivefill!(u_history,zero(eltype(u_history)))
terkm2 = tTypeNoUnits(1)
terkm1= tTypeNoUnits(1)
terk= tTypeNoUnits(1)
terkp1 = tTypeNoUnits(1)
terk_tmp = similar(u)
terkp1_tmp = similar(u)
r = Vector{typeof(t)}(undef,max_order+2)
weights = Vector{typeof(t)}(undef,max_order+2)
recursivefill!(r,zero(t))
recursivefill!(weights,zero(t))
weights[1] = 1
nconsteps = 0
consfailcnt = 0
t_old = zero(t)
atmp = similar(u, uEltypeNoUnits)
recursivefill!(atmp,zero(uEltypeNoUnits))
u₀ = similar(u)
equi_ts = similar(ts)
tmp = similar(u)
ts_tmp = similar(ts)
iters_from_event = 0
FBDFCache(fsalfirst,nlsolver,ts,ts_tmp,t_old,u_history,order,prev_order,u_corrector,u₀,bdf_coeffs,Val(5),nconsteps,consfailcnt,tmp,atmp,terkm2,terkm1,terk,terkp1,terk_tmp,terkp1_tmp,r,weights,equi_ts,iters_from_event)
end
| [
31,
23870,
4517,
540,
2878,
9564,
8068,
17,
3103,
18797,
30562,
90,
45,
11,
28664,
6030,
11,
4873,
62,
38124,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
304,
377,
2798,
4891,
3712,
29710,
3628,
36,
18173,
3103,
18797,
30562,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
220,
43458,
1604,
667,
47050,
3712,
4873,
62,
38124,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
6242,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
510,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
362,
1003,
18,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
198,
220,
304,
377,
2798,
4891,
796,
34347,
3628,
36,
18173,
3103,
18797,
30562,
7,
77,
7278,
14375,
8,
628,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
530,
7,
28664,
8,
198,
220,
43458,
1604,
667,
47050,
796,
2494,
62,
38124,
628,
220,
9564,
8068,
17,
3103,
18797,
30562,
7,
77,
7278,
14375,
11,
304,
377,
2798,
4891,
11,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
11,
43458,
1604,
667,
47050,
8,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
9564,
8068,
17,
30562,
90,
84,
6030,
11,
4873,
6030,
11,
84,
2949,
3118,
896,
6030,
11,
45,
11,
28664,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
334,
158,
224,
247,
3712,
84,
6030,
198,
220,
334,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
84,
6030,
198,
220,
334,
158,
224,
247,
158,
224,
233,
158,
224,
224,
3712,
84,
6030,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
43458,
1604,
667,
47050,
3712,
4873,
6030,
198,
220,
1976,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
84,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
304,
377,
2798,
4891,
3712,
29710,
3628,
36,
18173,
30562,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
6242,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7904,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
362,
1003,
18,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
43458,
1604,
667,
47050,
796,
6632,
7,
4873,
62,
38124,
8,
198,
220,
379,
3149,
796,
2092,
7,
84,
11,
84,
9527,
4906,
2949,
3118,
896,
1776,
45115,
20797,
0,
7,
265,
3149,
11,
9562,
8,
628,
220,
304,
377,
2798,
4891,
796,
34347,
3628,
36,
18173,
30562,
7,
84,
11,
929,
18218,
11,
929,
18218,
17,
11,
9501,
1604,
667,
11,
265,
3149,
11,
77,
7278,
14375,
8,
628,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
530,
7,
28664,
8,
198,
220,
1976,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
6632,
7,
84,
8,
628,
220,
9564,
8068,
17,
30562,
7,
84,
11,
929,
18218,
11,
929,
18218,
17,
11,
9501,
1604,
667,
11,
9501,
1604,
667,
47050,
11,
89,
158,
224,
247,
158,
224,
233,
158,
224,
223,
11,
265,
3149,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
7278,
14375,
11,
68,
377,
2798,
4891,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
223,
8,
198,
437,
198,
198,
2,
18056,
8068,
198,
198,
31,
23870,
4517,
540,
2878,
18056,
8068,
3103,
18797,
30562,
90,
4873,
6030,
11,
45,
11,
84,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
269,
429,
3712,
5317,
198,
220,
610,
74,
3712,
33,
970,
198,
220,
479,
17,
3712,
4873,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
510,
18218,
19,
3712,
84,
6030,
198,
220,
510,
18218,
18,
3712,
84,
6030,
198,
220,
479,
158,
224,
223,
3712,
4873,
6030,
198,
220,
479,
158,
224,
224,
3712,
4873,
6030,
198,
220,
479,
158,
224,
225,
3712,
4873,
6030,
198,
220,
7043,
158,
224,
223,
3712,
4873,
6030,
198,
220,
7043,
158,
224,
224,
3712,
4873,
6030,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
311,
14529,
4851,
4891,
90,
84,
6030,
11,
4873,
6030,
11,
45,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
269,
429,
3712,
5317,
198,
220,
610,
74,
3712,
33,
970,
198,
220,
334,
3712,
84,
6030,
198,
220,
510,
18218,
3712,
84,
6030,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
510,
18218,
18,
3712,
84,
6030,
198,
220,
510,
18218,
19,
3712,
84,
6030,
198,
220,
479,
158,
224,
223,
3712,
4873,
6030,
198,
220,
479,
158,
224,
224,
3712,
4873,
6030,
198,
220,
479,
158,
224,
225,
3712,
4873,
6030,
198,
220,
7043,
158,
224,
223,
3712,
4873,
6030,
198,
220,
7043,
158,
224,
224,
3712,
4873,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
16811,
8068,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
352,
1003,
16,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
628,
220,
479,
17,
796,
2494,
62,
38124,
198,
220,
479,
158,
224,
223,
796,
2494,
62,
38124,
26,
479,
158,
224,
224,
796,
2494,
62,
38124,
26,
479,
158,
224,
225,
796,
2494,
62,
38124,
198,
220,
7043,
158,
224,
223,
796,
2494,
62,
38124,
26,
7043,
158,
224,
224,
796,
2494,
62,
38124,
628,
220,
510,
18218,
17,
796,
334,
26,
510,
18218,
18,
796,
334,
26,
510,
18218,
19,
796,
334,
628,
220,
18056,
8068,
3103,
18797,
30562,
7,
16,
11,
14016,
13,
668,
11,
74,
17,
11,
77,
7278,
14375,
11,
929,
18218,
17,
11,
929,
18218,
18,
11,
929,
18218,
19,
11,
74,
158,
224,
223,
11,
74,
158,
224,
224,
11,
74,
158,
224,
225,
11,
646,
158,
224,
223,
11,
646,
158,
224,
224,
8,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
16811,
8068,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
352,
1003,
16,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
1502,
796,
435,
70,
13,
2875,
628,
220,
479,
158,
224,
223,
796,
6632,
7,
4873,
62,
38124,
8,
198,
220,
479,
158,
224,
224,
796,
1502,
18189,
513,
5633,
6632,
7,
4873,
62,
38124,
8,
1058,
479,
158,
224,
223,
198,
220,
479,
158,
224,
225,
796,
1502,
6624,
604,
5633,
6632,
7,
4873,
62,
38124,
8,
1058,
479,
158,
224,
223,
198,
220,
7043,
158,
224,
223,
796,
6632,
7,
4873,
62,
38124,
8,
198,
220,
7043,
158,
224,
224,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
510,
18218,
17,
796,
6632,
7,
84,
8,
198,
220,
510,
18218,
18,
796,
1502,
18189,
513,
5633,
6632,
7,
84,
8,
1058,
510,
18218,
17,
198,
220,
510,
18218,
19,
796,
1502,
6624,
604,
5633,
6632,
7,
84,
8,
1058,
510,
18218,
17,
628,
220,
311,
14529,
4851,
4891,
7,
16,
11,
14016,
13,
668,
11,
84,
11,
929,
18218,
11,
9501,
1604,
667,
11,
77,
7278,
14375,
11,
929,
18218,
17,
11,
929,
18218,
18,
11,
929,
18218,
19,
11,
74,
158,
224,
223,
11,
74,
158,
224,
224,
11,
74,
158,
224,
225,
11,
646,
158,
224,
223,
11,
646,
158,
224,
224,
8,
198,
437,
198,
198,
2,
1195,
45,
8068,
16,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
45,
8068,
16,
3103,
18797,
30562,
90,
45,
11,
1073,
891,
6030,
11,
1073,
891,
6030,
16,
11,
1073,
891,
6030,
17,
11,
28664,
6030,
11,
84,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
360,
3712,
1073,
891,
6030,
16,
198,
220,
360,
17,
3712,
1073,
891,
6030,
17,
198,
220,
371,
3712,
1073,
891,
6030,
198,
220,
471,
3712,
1073,
891,
6030,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
45,
8068,
16,
30562,
90,
84,
6030,
11,
4873,
6030,
11,
1073,
891,
6030,
11,
1073,
891,
6030,
16,
11,
1073,
891,
6030,
17,
11,
84,
2949,
3118,
896,
6030,
11,
45,
11,
28664,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
360,
3712,
1073,
891,
6030,
16,
198,
220,
360,
17,
3712,
1073,
891,
6030,
17,
198,
220,
371,
3712,
1073,
891,
6030,
198,
220,
471,
3712,
1073,
891,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
3384,
44725,
3712,
84,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
16,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
6632,
7,
16340,
19510,
16,
12,
14016,
13,
74,
20975,
4008,
828,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
628,
220,
510,
18218,
17,
796,
334,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
6632,
7,
83,
8,
628,
220,
360,
796,
6070,
7,
22570,
7,
84,
828,
352,
11,
352,
8,
198,
220,
360,
17,
796,
6070,
7,
22570,
7,
84,
828,
352,
11,
362,
8,
198,
220,
371,
796,
6070,
7,
22570,
7,
83,
828,
352,
11,
352,
8,
198,
220,
471,
796,
6070,
7,
22570,
7,
83,
828,
352,
11,
352,
8,
628,
220,
471,
0,
7,
16,
11,
52,
8,
628,
220,
1195,
45,
8068,
16,
3103,
18797,
30562,
7,
77,
7278,
14375,
11,
35,
11,
35,
17,
11,
49,
11,
52,
11,
929,
18218,
17,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
223,
8,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
16,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
6632,
7,
16340,
19510,
16,
12,
14016,
13,
74,
20975,
4008,
828,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
360,
796,
15690,
90,
4906,
1659,
7,
84,
38165,
7,
917,
891,
11,
352,
11,
352,
8,
198,
220,
360,
17,
796,
15690,
90,
4906,
1659,
7,
84,
38165,
7,
917,
891,
11,
352,
11,
362,
8,
628,
220,
371,
796,
6070,
7,
22570,
7,
83,
828,
352,
11,
352,
8,
198,
220,
471,
796,
6070,
7,
22570,
7,
83,
828,
352,
11,
352,
8,
628,
220,
360,
58,
16,
60,
796,
6632,
7,
84,
8,
198,
220,
360,
17,
58,
16,
60,
796,
6632,
7,
84,
1776,
360,
17,
58,
17,
60,
796,
6632,
7,
84,
8,
628,
220,
471,
0,
7,
16,
11,
52,
8,
628,
220,
379,
3149,
796,
2092,
7,
84,
11,
84,
9527,
4906,
2949,
3118,
896,
1776,
45115,
20797,
0,
7,
265,
3149,
11,
9562,
8,
198,
220,
3384,
44725,
796,
6632,
7,
84,
8,
198,
220,
510,
18218,
17,
796,
6632,
7,
84,
8,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
6632,
7,
28664,
8,
628,
220,
1195,
45,
8068,
16,
30562,
7,
929,
18218,
17,
11,
9501,
1604,
667,
11,
35,
11,
35,
17,
11,
49,
11,
52,
11,
265,
3149,
11,
315,
44725,
11,
77,
7278,
14375,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
223,
8,
198,
437,
198,
198,
2,
1195,
45,
8068,
17,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
45,
8068,
17,
3103,
18797,
30562,
90,
45,
11,
1073,
891,
6030,
11,
1073,
891,
6030,
16,
11,
1073,
891,
6030,
17,
11,
84,
6030,
11,
28664,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
360,
3712,
1073,
891,
6030,
16,
198,
220,
360,
17,
3712,
1073,
891,
6030,
17,
198,
220,
371,
3712,
1073,
891,
6030,
198,
220,
471,
3712,
1073,
891,
6030,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
510,
18218,
18,
3712,
84,
6030,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
224,
3712,
28664,
6030,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
45,
8068,
17,
30562,
90,
84,
6030,
11,
4873,
6030,
11,
1073,
891,
6030,
11,
1073,
891,
6030,
16,
11,
1073,
891,
6030,
17,
11,
84,
2949,
3118,
896,
6030,
11,
45,
11,
28664,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
510,
18218,
18,
3712,
84,
6030,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
360,
3712,
1073,
891,
6030,
16,
198,
220,
360,
17,
3712,
1073,
891,
6030,
17,
198,
220,
371,
3712,
1073,
891,
6030,
198,
220,
471,
3712,
1073,
891,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
3384,
44725,
3712,
84,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
3712,
28664,
6030,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
224,
3712,
28664,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
6632,
7,
16340,
19510,
16,
12,
14016,
13,
74,
20975,
4008,
828,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
628,
220,
510,
18218,
17,
796,
334,
198,
220,
510,
18218,
18,
796,
334,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
6632,
7,
83,
8,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
224,
796,
6632,
7,
83,
8,
628,
220,
360,
796,
6070,
7,
22570,
7,
84,
828,
352,
11,
362,
8,
198,
220,
360,
17,
796,
6070,
7,
22570,
7,
84,
828,
352,
11,
513,
8,
198,
220,
371,
796,
6070,
7,
22570,
7,
83,
828,
362,
11,
362,
8,
198,
220,
471,
796,
6070,
7,
22570,
7,
83,
828,
362,
11,
362,
8,
628,
220,
471,
0,
7,
17,
11,
52,
8,
628,
220,
1195,
45,
8068,
17,
3103,
18797,
30562,
7,
77,
7278,
14375,
11,
35,
11,
35,
17,
11,
49,
11,
52,
11,
929,
18218,
17,
11,
929,
18218,
18,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
223,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
224,
8,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
6632,
7,
16340,
19510,
16,
12,
14016,
13,
74,
20975,
4008,
828,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
360,
796,
15690,
90,
4906,
1659,
7,
84,
38165,
7,
917,
891,
11,
352,
11,
362,
8,
198,
220,
360,
17,
796,
15690,
90,
4906,
1659,
7,
84,
38165,
7,
917,
891,
11,
352,
11,
513,
8,
198,
220,
371,
796,
6070,
7,
22570,
7,
83,
828,
362,
11,
362,
8,
198,
220,
471,
796,
6070,
7,
22570,
7,
83,
828,
362,
11,
362,
8,
628,
220,
360,
58,
16,
60,
796,
6632,
7,
84,
1776,
360,
58,
17,
60,
796,
6632,
7,
84,
8,
198,
220,
360,
17,
58,
16,
60,
796,
6632,
7,
84,
1776,
220,
360,
17,
58,
17,
60,
796,
6632,
7,
84,
1776,
360,
17,
58,
18,
60,
796,
6632,
7,
84,
8,
628,
220,
471,
0,
7,
17,
11,
52,
8,
628,
220,
379,
3149,
796,
2092,
7,
84,
11,
84,
9527,
4906,
2949,
3118,
896,
1776,
45115,
20797,
0,
7,
265,
3149,
11,
9562,
8,
198,
220,
3384,
44725,
796,
6632,
7,
84,
8,
198,
220,
510,
18218,
17,
796,
6632,
7,
84,
8,
198,
220,
510,
18218,
18,
796,
6632,
7,
84,
8,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
223,
796,
6632,
7,
28664,
8,
198,
220,
288,
83,
158,
224,
247,
158,
224,
233,
158,
224,
224,
796,
6632,
7,
28664,
8,
628,
220,
1195,
45,
8068,
17,
30562,
7,
929,
18218,
17,
11,
929,
18218,
18,
11,
9501,
1604,
667,
11,
35,
11,
35,
17,
11,
49,
11,
52,
11,
265,
3149,
11,
315,
44725,
11,
77,
7278,
14375,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
223,
11,
28664,
158,
224,
247,
158,
224,
233,
158,
224,
224,
8,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
45,
8068,
3103,
18797,
30562,
90,
11770,
11,
45,
11,
1073,
891,
6030,
11,
3843,
2981,
11,
28664,
6030,
11,
6500,
301,
6030,
11,
28483,
2611,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
471,
3712,
3843,
2981,
198,
220,
360,
3712,
1073,
891,
6030,
198,
220,
8654,
35,
3712,
1073,
891,
6030,
198,
220,
8654,
2875,
3712,
5317,
198,
220,
1502,
3712,
5317,
198,
220,
3509,
62,
2875,
3712,
7762,
90,
11770,
92,
198,
220,
288,
83,
47050,
3712,
28664,
6030,
198,
220,
299,
1102,
20214,
3712,
5317,
22492,
33244,
913,
1482,
4552,
425,
5012,
351,
262,
976,
2239,
2546,
198,
220,
762,
32165,
66,
429,
3712,
5317,
1303,
3103,
4552,
425,
4054,
4831,
954,
198,
220,
412,
22362,
16,
3712,
6500,
301,
6030,
1303,
12331,
10062,
320,
1352,
329,
479,
12,
16,
1502,
198,
220,
412,
22362,
17,
3712,
6500,
301,
6030,
1303,
12331,
10062,
320,
1352,
329,
479,
10,
16,
1502,
198,
220,
7377,
111,
158,
224,
244,
3712,
28483,
2611,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
90,
11770,
5512,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
810,
13070,
198,
220,
3509,
62,
2875,
796,
13070,
198,
220,
7377,
111,
11,
269,
796,
530,
7,
417,
4906,
7,
14016,
13,
74,
20975,
36911,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
198,
220,
288,
83,
47050,
796,
530,
7,
28664,
8,
198,
220,
360,
796,
24936,
90,
84,
9527,
4906,
2949,
3118,
896,
92,
7,
917,
891,
11,
4129,
7,
84,
828,
3509,
62,
2875,
10,
17,
8,
198,
220,
45115,
20797,
0,
7,
35,
11,
6632,
7,
84,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
8654,
35,
796,
2092,
7,
35,
8,
198,
220,
45115,
20797,
0,
7,
47050,
35,
11,
6632,
7,
84,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
412,
22362,
16,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
412,
22362,
17,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
628,
220,
471,
796,
6632,
7,
12038,
265,
8609,
90,
9806,
62,
2875,
11,
9806,
62,
2875,
11,
83,
6030,
2949,
3118,
896,
30072,
198,
220,
329,
374,
796,
352,
25,
9806,
62,
2875,
198,
220,
220,
220,
471,
58,
16,
11,
81,
60,
796,
532,
81,
198,
220,
220,
220,
329,
474,
796,
362,
25,
9806,
62,
2875,
198,
220,
220,
220,
220,
220,
471,
58,
73,
11,
81,
60,
796,
471,
58,
73,
12,
16,
11,
81,
60,
1635,
14808,
73,
12,
16,
8,
532,
374,
20679,
73,
198,
220,
220,
220,
886,
198,
220,
886,
198,
220,
471,
796,
311,
19182,
7,
52,
8,
628,
220,
7377,
111,
158,
224,
244,
796,
20546,
9250,
7,
429,
29291,
7,
74,
3784,
16345,
7,
83,
6030,
2949,
3118,
896,
7,
16,
1003,
73,
8,
329,
474,
287,
352,
25,
74,
828,
3254,
7,
9806,
62,
2875,
22305,
628,
220,
1195,
45,
8068,
3103,
18797,
30562,
7,
77,
7278,
14375,
11,
471,
11,
360,
11,
8654,
35,
11,
352,
11,
352,
11,
3254,
7,
9806,
62,
2875,
828,
288,
83,
47050,
11,
657,
11,
657,
11,
412,
22362,
16,
11,
412,
22362,
17,
11,
7377,
111,
158,
224,
244,
8,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
1195,
8575,
4851,
4891,
90,
11770,
11,
3843,
2981,
11,
49,
3843,
2981,
11,
4873,
6030,
11,
45,
11,
1073,
891,
6030,
11,
28664,
6030,
11,
6500,
301,
6030,
11,
28483,
2611,
6030,
11,
84,
6030,
11,
84,
2949,
3118,
896,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
49427,
3712,
84,
6030,
198,
220,
3384,
44725,
3712,
84,
6030,
198,
220,
3384,
688,
368,
16,
3712,
84,
6030,
198,
220,
3384,
688,
538,
16,
3712,
84,
6030,
198,
220,
18074,
243,
3712,
84,
6030,
198,
220,
334,
158,
224,
222,
3712,
84,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
471,
3712,
3843,
2981,
198,
220,
46432,
3712,
49,
3843,
2981,
198,
220,
360,
3712,
1073,
891,
6030,
198,
220,
360,
22065,
3712,
1073,
891,
6030,
198,
220,
45218,
17,
3712,
84,
6030,
198,
220,
8654,
35,
3712,
1073,
891,
6030,
198,
220,
1502,
3712,
5317,
198,
220,
8654,
2875,
3712,
5317,
198,
220,
3509,
62,
2875,
3712,
7762,
90,
11770,
92,
198,
220,
288,
83,
47050,
3712,
28664,
6030,
198,
220,
299,
1102,
20214,
3712,
5317,
22492,
33244,
913,
12785,
2239,
351,
262,
976,
2239,
2546,
198,
220,
762,
32165,
66,
429,
3712,
5317,
1303,
3103,
4552,
425,
4054,
4831,
954,
198,
220,
412,
22362,
16,
3712,
6500,
301,
6030,
1303,
12331,
10062,
320,
1352,
329,
479,
12,
16,
1502,
198,
220,
412,
22362,
17,
3712,
6500,
301,
6030,
1303,
12331,
10062,
320,
1352,
329,
479,
10,
16,
1502,
198,
220,
7377,
111,
158,
224,
244,
3712,
28483,
2611,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
379,
3149,
76,
16,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
379,
76,
381,
16,
3712,
84,
2949,
3118,
896,
6030,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
48,
45,
8068,
90,
11770,
5512,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
810,
13070,
198,
220,
3509,
62,
2875,
796,
13070,
198,
220,
7377,
111,
11,
269,
796,
530,
7,
417,
4906,
7,
14016,
13,
74,
20975,
36911,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
198,
220,
49427,
796,
6632,
7,
84,
8,
198,
220,
3384,
44725,
796,
6632,
7,
84,
8,
198,
220,
3384,
688,
368,
16,
796,
6632,
7,
84,
8,
198,
220,
3384,
688,
538,
16,
796,
6632,
7,
84,
8,
198,
220,
18074,
243,
796,
6632,
7,
84,
8,
198,
220,
334,
158,
224,
222,
796,
6632,
7,
84,
8,
198,
220,
288,
83,
47050,
796,
530,
7,
28664,
8,
198,
220,
360,
796,
2092,
7,
84,
11,
334,
9527,
4906,
2949,
3118,
896,
11,
4129,
7,
84,
828,
3509,
62,
2875,
1343,
362,
8,
198,
220,
45115,
20797,
0,
7,
35,
11,
6632,
7,
84,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
360,
22065,
796,
2092,
7,
35,
8,
198,
220,
45115,
20797,
0,
7,
35,
22065,
11,
6632,
7,
84,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
8654,
35,
796,
6632,
7,
38610,
7,
35,
4008,
198,
220,
379,
3149,
796,
6632,
7,
38610,
7,
84,
11,
334,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
379,
3149,
76,
16,
796,
6632,
7,
38610,
7,
84,
11,
334,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
379,
76,
381,
16,
796,
6632,
7,
38610,
7,
84,
11,
334,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
45218,
17,
796,
6632,
7,
84,
8,
198,
220,
412,
22362,
16,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
412,
22362,
17,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
628,
220,
471,
796,
6632,
7,
12038,
265,
8609,
90,
9806,
62,
2875,
11,
9806,
62,
2875,
11,
83,
6030,
2949,
3118,
896,
30072,
198,
220,
329,
374,
796,
352,
25,
9806,
62,
2875,
198,
220,
220,
220,
471,
58,
16,
11,
81,
60,
796,
532,
81,
198,
220,
220,
220,
329,
474,
796,
362,
25,
9806,
62,
2875,
198,
220,
220,
220,
220,
220,
471,
58,
73,
11,
81,
60,
796,
471,
58,
73,
12,
16,
11,
81,
60,
1635,
14808,
73,
12,
16,
8,
532,
374,
20679,
73,
198,
220,
220,
220,
886,
198,
220,
886,
198,
220,
471,
796,
311,
19182,
7,
52,
8,
628,
220,
46432,
796,
24936,
7,
52,
8,
198,
220,
7377,
111,
158,
224,
244,
796,
20546,
9250,
7,
429,
29291,
7,
74,
3784,
16345,
7,
83,
6030,
2949,
3118,
896,
7,
16,
1003,
73,
8,
329,
474,
287,
352,
25,
74,
828,
3254,
7,
9806,
62,
2875,
22305,
628,
220,
1195,
8575,
4851,
4891,
7,
9501,
1604,
667,
11,
49427,
11,
3384,
44725,
11,
3384,
688,
368,
16,
11,
3384,
688,
538,
16,
11,
18074,
243,
11,
334,
158,
224,
222,
11,
299,
7278,
14375,
11,
471,
11,
46432,
11,
360,
11,
360,
22065,
11,
45218,
17,
11,
8654,
35,
11,
352,
11,
352,
11,
3254,
7,
9806,
62,
2875,
828,
288,
83,
47050,
11,
657,
11,
657,
11,
412,
22362,
16,
11,
412,
22362,
17,
11,
7377,
111,
158,
224,
244,
11,
379,
3149,
11,
379,
3149,
76,
16,
11,
379,
76,
381,
16,
8,
198,
437,
628,
198,
31,
23870,
4517,
540,
2878,
11948,
33,
8068,
17,
30562,
90,
84,
6030,
11,
4873,
6030,
11,
84,
2949,
3118,
896,
6030,
11,
45,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
334,
3712,
84,
6030,
198,
220,
510,
18218,
3712,
84,
6030,
198,
220,
510,
18218,
17,
3712,
84,
6030,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
1976,
158,
224,
223,
3712,
84,
6030,
198,
220,
1976,
158,
224,
224,
3712,
84,
6030,
198,
220,
45218,
17,
3712,
84,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
11682,
33,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7904,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
352,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
628,
220,
1976,
158,
224,
223,
796,
6632,
7,
84,
1776,
1976,
158,
224,
224,
796,
6632,
7,
84,
1776,
1976,
158,
224,
225,
796,
6632,
7,
84,
1776,
45218,
17,
796,
6632,
7,
84,
8,
198,
220,
379,
3149,
796,
2092,
7,
84,
11,
84,
9527,
4906,
2949,
3118,
896,
1776,
45115,
20797,
0,
7,
265,
3149,
11,
9562,
8,
628,
220,
11948,
33,
8068,
17,
30562,
7,
84,
11,
929,
18218,
11,
929,
18218,
17,
11,
9501,
1604,
667,
11,
89,
158,
224,
223,
11,
89,
158,
224,
224,
11,
22065,
17,
11,
265,
3149,
11,
77,
7278,
14375,
8,
198,
437,
198,
198,
76,
18187,
2878,
11948,
33,
8068,
17,
3103,
18797,
30562,
90,
45,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
11682,
33,
8068,
17,
11,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7904,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
352,
11,
352,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
198,
220,
11948,
33,
8068,
17,
3103,
18797,
30562,
7,
77,
7278,
14375,
8,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
13186,
8068,
3103,
18797,
30562,
90,
11770,
11,
45,
11,
912,
6030,
11,
83,
6030,
11,
84,
6030,
11,
12303,
6030,
11,
1073,
14822,
6030,
11,
6500,
301,
6030,
11,
81,
6030,
11,
86,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
3103,
18797,
30562,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
40379,
3712,
912,
6030,
198,
220,
40379,
62,
22065,
3712,
912,
6030,
198,
220,
256,
62,
727,
3712,
83,
6030,
198,
220,
334,
62,
23569,
3712,
12303,
6030,
198,
220,
1502,
3712,
5317,
198,
220,
8654,
62,
2875,
3712,
5317,
198,
220,
334,
62,
30283,
273,
3712,
84,
6030,
198,
220,
275,
7568,
62,
1073,
14822,
82,
3712,
1073,
14822,
6030,
198,
220,
3509,
62,
2875,
3712,
7762,
90,
11770,
92,
198,
220,
299,
1102,
20214,
3712,
5317,
1303,
12785,
1943,
4831,
198,
220,
762,
32165,
66,
429,
3712,
5317,
1303,
1102,
4552,
425,
4054,
2239,
9853,
198,
220,
1059,
13276,
17,
3712,
6500,
301,
6030,
198,
220,
1059,
13276,
16,
3712,
6500,
301,
6030,
198,
220,
1059,
74,
3712,
6500,
301,
6030,
198,
220,
1059,
74,
79,
16,
3712,
6500,
301,
6030,
198,
220,
374,
3712,
81,
6030,
198,
220,
19590,
3712,
86,
6030,
198,
220,
340,
364,
62,
6738,
62,
15596,
3712,
5317,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
26001,
8068,
90,
11770,
5512,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
9562,
30072,
810,
1391,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
810,
13070,
198,
220,
7377,
111,
11,
269,
796,
352,
13,
15,
11,
352,
13,
15,
198,
220,
3509,
62,
2875,
796,
13070,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
9562,
4008,
198,
220,
275,
7568,
62,
1073,
14822,
82,
796,
14719,
58,
16,
532,
16,
657,
657,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
1003,
17,
532,
17,
352,
1003,
17,
657,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1367,
1003,
21,
532,
18,
513,
1003,
17,
532,
16,
1003,
18,
220,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1679,
1003,
1065,
532,
19,
513,
532,
19,
1003,
18,
352,
1003,
19,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21643,
1003,
1899,
532,
20,
642,
532,
940,
1003,
18,
642,
1003,
19,
532,
16,
1003,
20,
60,
198,
220,
40379,
796,
6632,
7,
38469,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
4008,
1303,
912,
318,
262,
4388,
1613,
2173,
11,
340,
481,
307,
6153,
706,
4388,
2239,
198,
220,
40379,
62,
22065,
796,
2092,
7,
912,
8,
628,
220,
334,
62,
23569,
796,
6632,
7,
46912,
90,
417,
4906,
7,
84,
38165,
7,
917,
891,
11,
13664,
7,
84,
828,
9806,
62,
2875,
10,
17,
4008,
198,
220,
1502,
796,
352,
198,
220,
8654,
62,
2875,
796,
352,
198,
220,
334,
62,
30283,
273,
796,
2092,
7,
84,
62,
23569,
8,
198,
220,
45115,
20797,
0,
7,
84,
62,
30283,
273,
11,
22570,
7,
417,
4906,
7,
84,
22305,
198,
220,
45115,
20797,
0,
7,
84,
62,
23569,
11,
22570,
7,
417,
4906,
7,
84,
62,
23569,
22305,
198,
220,
1059,
13276,
17,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
13276,
16,
28,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
74,
28,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
74,
79,
16,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
374,
796,
6632,
7,
38469,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
4008,
198,
220,
19590,
796,
6632,
7,
38469,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
4008,
198,
220,
19590,
58,
16,
60,
796,
352,
198,
220,
299,
1102,
20214,
796,
657,
198,
220,
762,
32165,
66,
429,
796,
657,
198,
220,
256,
62,
727,
796,
6632,
7,
83,
8,
198,
220,
340,
364,
62,
6738,
62,
15596,
796,
657,
628,
220,
13186,
8068,
3103,
18797,
30562,
7,
77,
7278,
14375,
11,
912,
11,
912,
62,
22065,
11,
83,
62,
727,
11,
84,
62,
23569,
11,
2875,
11,
47050,
62,
2875,
11,
84,
62,
30283,
273,
11,
65,
7568,
62,
1073,
14822,
82,
11,
7762,
7,
20,
828,
77,
1102,
20214,
11,
5936,
32165,
66,
429,
11,
353,
13276,
17,
11,
353,
13276,
16,
11,
353,
74,
11,
353,
74,
79,
16,
11,
81,
11,
43775,
11,
270,
364,
62,
6738,
62,
15596,
8,
198,
437,
198,
198,
31,
23870,
4517,
540,
2878,
13186,
35,
4851,
4891,
90,
11770,
11,
45,
11,
4873,
6030,
11,
84,
2949,
3118,
896,
6030,
11,
912,
6030,
11,
83,
6030,
11,
84,
6030,
11,
12303,
6030,
11,
1073,
14822,
6030,
11,
6500,
301,
6030,
11,
81,
6030,
11,
86,
6030,
92,
1279,
25,
14230,
3219,
28813,
36,
80,
44,
18187,
30562,
198,
220,
43458,
1604,
667,
3712,
4873,
6030,
198,
220,
299,
7278,
14375,
3712,
45,
198,
220,
40379,
3712,
912,
6030,
198,
220,
40379,
62,
22065,
3712,
912,
6030,
198,
220,
256,
62,
727,
3712,
83,
6030,
198,
220,
334,
62,
23569,
3712,
12303,
6030,
198,
220,
1502,
3712,
5317,
198,
220,
8654,
62,
2875,
3712,
5317,
198,
220,
334,
62,
30283,
273,
3712,
12303,
6030,
198,
220,
334,
158,
224,
222,
3712,
84,
6030,
198,
220,
275,
7568,
62,
1073,
14822,
82,
3712,
1073,
14822,
6030,
198,
220,
3509,
62,
2875,
3712,
7762,
90,
11770,
92,
198,
220,
299,
1102,
20214,
3712,
5317,
1303,
12785,
1943,
4831,
198,
220,
762,
32165,
66,
429,
3712,
5317,
1303,
1102,
4552,
425,
4054,
2239,
9853,
198,
220,
45218,
3712,
84,
6030,
198,
220,
379,
3149,
3712,
84,
2949,
3118,
896,
6030,
198,
220,
1059,
13276,
17,
3712,
6500,
301,
6030,
198,
220,
1059,
13276,
16,
3712,
6500,
301,
6030,
198,
220,
1059,
74,
3712,
6500,
301,
6030,
1303,
353,
74,
24866,
284,
289,
39611,
237,
88,
39611,
237,
7,
83,
158,
224,
247,
158,
224,
232,
158,
224,
223,
8,
198,
220,
1059,
74,
79,
16,
3712,
6500,
301,
6030,
198,
220,
1059,
74,
62,
22065,
3712,
84,
6030,
198,
220,
1059,
74,
79,
16,
62,
22065,
3712,
84,
6030,
198,
220,
374,
3712,
81,
6030,
198,
220,
19590,
3712,
86,
6030,
1303,
43775,
286,
21003,
36985,
666,
10451,
198,
220,
1602,
72,
62,
912,
3712,
912,
6030,
198,
220,
340,
364,
62,
6738,
62,
15596,
3712,
5317,
198,
437,
198,
198,
8818,
435,
70,
62,
23870,
7,
14016,
3712,
26001,
8068,
90,
11770,
5512,
84,
11,
4873,
62,
38124,
11,
3712,
6030,
90,
84,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
84,
34104,
9527,
4906,
2949,
3118,
896,
5512,
3712,
6030,
90,
83,
6030,
2949,
3118,
896,
5512,
929,
18218,
11,
929,
18218,
17,
11,
69,
11,
83,
11,
28664,
11,
2411,
83,
349,
11,
79,
11,
9948,
694,
11,
3712,
7762,
90,
7942,
30072,
810,
1391,
11770,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
92,
198,
220,
7377,
111,
11,
269,
796,
352,
13,
15,
11,
352,
13,
15,
198,
220,
43458,
1604,
667,
796,
6632,
7,
4873,
62,
38124,
8,
198,
220,
3509,
62,
2875,
796,
13070,
198,
220,
299,
7278,
14375,
796,
1382,
62,
77,
7278,
14375,
7,
14016,
11,
84,
11,
929,
18218,
11,
79,
11,
83,
11,
28664,
11,
69,
11,
4873,
62,
38124,
11,
84,
9527,
4906,
2949,
3118,
896,
11,
84,
34104,
9527,
4906,
2949,
3118,
896,
11,
83,
6030,
2949,
3118,
896,
11,
42063,
11,
66,
11,
7762,
7,
7942,
4008,
198,
220,
275,
7568,
62,
1073,
14822,
82,
796,
14719,
58,
16,
532,
16,
657,
657,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
513,
1003,
17,
532,
17,
352,
1003,
17,
657,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1367,
1003,
21,
532,
18,
513,
1003,
17,
532,
16,
1003,
18,
220,
657,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1679,
1003,
1065,
532,
19,
513,
532,
19,
1003,
18,
352,
1003,
19,
657,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21643,
1003,
1899,
532,
20,
642,
532,
940,
1003,
18,
642,
1003,
19,
532,
16,
1003,
20,
60,
198,
220,
40379,
796,
20650,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
8,
1303,
912,
318,
262,
4388,
1613,
2173,
11,
340,
481,
307,
6153,
706,
4388,
2239,
198,
220,
334,
62,
23569,
796,
24936,
90,
417,
4906,
7,
84,
38165,
7,
917,
891,
11,
13664,
7,
84,
828,
9806,
62,
2875,
10,
17,
8,
198,
220,
1502,
796,
352,
198,
220,
8654,
62,
2875,
796,
352,
198,
220,
334,
62,
30283,
273,
796,
2092,
7,
84,
62,
23569,
8,
198,
220,
45115,
20797,
0,
7,
912,
11,
22570,
7,
83,
4008,
198,
220,
45115,
20797,
0,
7,
84,
62,
30283,
273,
11,
22570,
7,
417,
4906,
7,
84,
22305,
198,
220,
45115,
20797,
0,
7,
84,
62,
23569,
11,
22570,
7,
417,
4906,
7,
84,
62,
23569,
22305,
198,
220,
1059,
13276,
17,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
13276,
16,
28,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
74,
28,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
74,
79,
16,
796,
256,
6030,
2949,
3118,
896,
7,
16,
8,
198,
220,
1059,
74,
62,
22065,
796,
2092,
7,
84,
8,
198,
220,
1059,
74,
79,
16,
62,
22065,
796,
2092,
7,
84,
8,
198,
220,
374,
796,
20650,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
8,
198,
220,
19590,
796,
20650,
90,
4906,
1659,
7,
83,
38165,
7,
917,
891,
11,
9806,
62,
2875,
10,
17,
8,
198,
220,
45115,
20797,
0,
7,
81,
11,
22570,
7,
83,
4008,
198,
220,
45115,
20797,
0,
7,
43775,
11,
22570,
7,
83,
4008,
198,
220,
19590,
58,
16,
60,
796,
352,
198,
220,
299,
1102,
20214,
796,
657,
198,
220,
762,
32165,
66,
429,
796,
657,
198,
220,
256,
62,
727,
796,
6632,
7,
83,
8,
198,
220,
379,
3149,
796,
2092,
7,
84,
11,
334,
9527,
4906,
2949,
3118,
896,
8,
198,
220,
45115,
20797,
0,
7,
265,
3149,
11,
22570,
7,
84,
9527,
4906,
2949,
3118,
896,
4008,
198,
220,
334,
158,
224,
222,
796,
2092,
7,
84,
8,
198,
220,
1602,
72,
62,
912,
796,
2092,
7,
912,
8,
198,
220,
45218,
796,
2092,
7,
84,
8,
198,
220,
40379,
62,
22065,
796,
2092,
7,
912,
8,
198,
220,
340,
364,
62,
6738,
62,
15596,
796,
657,
628,
220,
13186,
35,
4851,
4891,
7,
9501,
1604,
667,
11,
77,
7278,
14375,
11,
912,
11,
912,
62,
22065,
11,
83,
62,
727,
11,
84,
62,
23569,
11,
2875,
11,
47050,
62,
2875,
11,
84,
62,
30283,
273,
11,
84,
158,
224,
222,
11,
65,
7568,
62,
1073,
14822,
82,
11,
7762,
7,
20,
828,
77,
1102,
20214,
11,
5936,
32165,
66,
429,
11,
22065,
11,
265,
3149,
11,
353,
13276,
17,
11,
353,
13276,
16,
11,
353,
74,
11,
353,
74,
79,
16,
11,
353,
74,
62,
22065,
11,
353,
74,
79,
16,
62,
22065,
11,
81,
11,
43775,
11,
4853,
72,
62,
912,
11,
270,
364,
62,
6738,
62,
15596,
8,
198,
437,
198
] | 2.071615 | 8,448 |
using ImageMethodReverb
using Test
using LinearAlgebra
using DelimitedFiles, Random
@testset "ImageMethodReverb" begin
@testset "Image source method" begin
include("test_ism.jl")
end
@testset "equivalence with MATLAB" begin
include("test_julia_vs_matlab.jl")
end
end
| [
3500,
7412,
17410,
49,
964,
65,
198,
3500,
6208,
198,
3500,
44800,
2348,
29230,
198,
3500,
4216,
320,
863,
25876,
11,
14534,
198,
198,
31,
9288,
2617,
366,
5159,
17410,
49,
964,
65,
1,
2221,
198,
220,
2488,
9288,
2617,
366,
5159,
2723,
2446,
1,
2221,
220,
198,
220,
220,
220,
2291,
7203,
9288,
62,
1042,
13,
20362,
4943,
198,
220,
886,
198,
220,
2488,
9288,
2617,
366,
4853,
2473,
594,
351,
36775,
48780,
1,
2221,
220,
198,
220,
220,
220,
2291,
7203,
9288,
62,
73,
43640,
62,
14259,
62,
6759,
23912,
13,
20362,
4943,
198,
220,
886,
198,
437,
198
] | 2.831683 | 101 |
# This file was generated, do not modify it.
using CategoricalArrays
v = categorical(["AA", "BB", "CC", "AA", "BB", "CC"])
levels(v)
v = categorical([1, 2, 3, 1, 2, 3, 1, 2, 3], ordered=true)
levels(v)
v[1] < v[2]
v = categorical(["high", "med", "low", "high", "med", "low"], ordered=true)
levels(v)
v[1] < v[2]
levels!(v, ["low", "med", "high"])
v[1] < v[2]
v = categorical(["AA", "BB", missing, "AA", "BB", "CC"]);
levels(v)
| [
2,
770,
2393,
373,
7560,
11,
466,
407,
13096,
340,
13,
198,
198,
3500,
327,
2397,
12409,
3163,
20477,
198,
198,
85,
796,
4253,
12409,
7,
14692,
3838,
1600,
366,
15199,
1600,
366,
4093,
1600,
366,
3838,
1600,
366,
15199,
1600,
366,
4093,
8973,
8,
198,
198,
46170,
7,
85,
8,
198,
198,
85,
796,
4253,
12409,
26933,
16,
11,
362,
11,
513,
11,
352,
11,
362,
11,
513,
11,
352,
11,
362,
11,
513,
4357,
6149,
28,
7942,
8,
198,
198,
46170,
7,
85,
8,
198,
198,
85,
58,
16,
60,
1279,
410,
58,
17,
60,
198,
198,
85,
796,
4253,
12409,
7,
14692,
8929,
1600,
366,
1150,
1600,
366,
9319,
1600,
366,
8929,
1600,
366,
1150,
1600,
366,
9319,
33116,
6149,
28,
7942,
8,
198,
198,
46170,
7,
85,
8,
198,
198,
85,
58,
16,
60,
1279,
410,
58,
17,
60,
198,
198,
46170,
0,
7,
85,
11,
14631,
9319,
1600,
366,
1150,
1600,
366,
8929,
8973,
8,
198,
198,
85,
58,
16,
60,
1279,
410,
58,
17,
60,
198,
198,
85,
796,
4253,
12409,
7,
14692,
3838,
1600,
366,
15199,
1600,
4814,
11,
366,
3838,
1600,
366,
15199,
1600,
366,
4093,
8973,
1776,
198,
198,
46170,
7,
85,
8,
628
] | 2.172414 | 203 |
#=------------------------------------------------------------------------------
Formatting Routines
------------------------------------------------------------------------------=#
function produce_ssten_from_triangles(file;use_metis=false,lcc=false)
A = MatrixNetworks.readSMAT(file)
(n,m) = size(A)
if(n != m)
println("rectangular")
end
if !issymmetric(A)
A = max.(A,A') #symmetrize for Triangles routine
end
if use_lcc
A, _ = largest_component(A)
end
if use_metis
apply_Metis_permutation!(A)
end
T = collect(MatrixNetworks.triangles(A))
alterfilename = (file,postfix)-> split(file,".smat")[1]*postfix
if use_metis
output_file = alterfilename(file,"_with_metis.ssten")
else
output_file = alterfilename(file,".ssten")
end
open(output_file,"w") do f
write(f,"$(3)\t$(n)\t$(length(T))\n")
for (v_i,v_j,v_k) in T
write(f,"$(v_i)\t$(v_j)\t$(v_k)\t1.0\n")
end
end
end
function load_UnweightedThirdOrderSymTensor(filepath;enforceFormatting = true)
#check path validity
@assert filepath[end-5:end] == ".ssten"
open(filepath) do file
#preallocate from the header line
order, n, m =
[parse(Int,elem) for elem in split(chomp(readline(file)),'\t')]
@assert order == 3
Ti = [ Vector{Tuple{Int,Int}}(undef, 0) for i in 1:n ]
i = 1
@inbounds for line in eachline(file)
entries = split(chomp(line),'\t')
if enforceFormatting
(ti,tj,tk) = sort([parse(Int,elem) for elem in entries[1:end-1]])
else
(ti,tj,tk) = [parse(Int,elem) for elem in entries[1:end-1]]
end
if 0 == ti || 0 == tj || 0 == tk
error("elements must be indexed by 1.")
end
push!(Ti[ti], (tj,tk))
push!(Ti[tj], (ti,tk))
push!(Ti[tk], (ti,tj))
end
sort!.(Ti)
return UnweightedThirdOrderSymTensor(n,Ti)
end
end
"""------------------------------------------------------------------------------
Loads in a ThirdOrderSymTensor from an ssten file. Data specifications can be
found in the 'formatting_specification.info' file the data/ folder. The
enforceFormatting can be used to ensure that the indices are sorted in
increasing order, and any files which have 0's in indices are updated to be
indexed by 1.
------------------------------------------------------------------------------"""
function load_ThirdOrderSymTensor(filepath;enforceFormatting = true)
#check path validity
@assert filepath[end-5:end] == ".ssten"
open(filepath) do file
#preallocate from the header line
order, n, m =
[parse(Int,elem) for elem in split(chomp(readline(file)),'\t')]
@assert order == 3
indices = Array{Int,2}(undef,order,m)
values = Array{Float64,1}(undef,m)
i = 1
@inbounds for line in eachline(file)
entries = split(chomp(line),'\t')
indices[:,i] = [parse(Int,elem) for elem in entries[1:end-1]]
if enforceFormatting
sort!(indices[:,i])
end
values[i] = parse(Float64,entries[end])
i += 1
end
#check for 0 indexing
zero_indexed = false
@inbounds for i in 1:m
if indices[1,i] == 0
zero_indexed = true
break
end
end
if zero_indexed
indices .+= 1
end
return ThirdOrderSymTensor(n,indices,values)
end
end
function write_to_armadillo_raw_ascii_format(X::Array{T,2},output_file::String) where T
open(output_file,"w") do f
for row in eachrow(X)
println(f,join(row," "))
end
end
end
function write_smat(A::SparseMatrixCSC{T,Int},path::String;delimeter::Char=',',kwargs...) where T
@assert path[end-4:end] == ".smat"
open(path,"w") do f
header = join([size(A)...,nnz(A)],delimeter)# ::NTuple{3,Int}
println(f,header)
for (i,j,v)=zip(findnz(A)...)
i -= 1
j -= 1
print(f,i,delimeter,j,delimeter)
println(f,v)
end
end
end | [
198,
2,
28,
10097,
26171,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18980,
889,
39602,
1127,
198,
10097,
26171,
46249,
198,
8818,
4439,
62,
82,
26400,
62,
6738,
62,
28461,
27787,
7,
7753,
26,
1904,
62,
4164,
271,
28,
9562,
11,
75,
535,
28,
9562,
8,
628,
220,
220,
220,
317,
796,
24936,
7934,
5225,
13,
961,
12310,
1404,
7,
7753,
8,
198,
220,
220,
220,
357,
77,
11,
76,
8,
796,
2546,
7,
32,
8,
198,
220,
220,
220,
611,
7,
77,
14512,
285,
8,
198,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
2554,
21413,
4943,
198,
220,
220,
220,
886,
628,
197,
361,
5145,
747,
26621,
19482,
7,
32,
8,
198,
197,
197,
32,
796,
3509,
12195,
32,
11,
32,
11537,
220,
1303,
1837,
3020,
316,
380,
2736,
329,
7563,
27787,
8027,
198,
220,
220,
220,
886,
628,
220,
220,
220,
611,
779,
62,
75,
535,
198,
220,
220,
220,
220,
220,
220,
220,
317,
11,
4808,
796,
4387,
62,
42895,
7,
32,
8,
198,
220,
220,
220,
886,
628,
197,
361,
779,
62,
4164,
271,
198,
197,
197,
39014,
62,
9171,
271,
62,
16321,
7094,
0,
7,
32,
8,
198,
197,
437,
628,
220,
220,
220,
309,
796,
2824,
7,
46912,
7934,
5225,
13,
28461,
27787,
7,
32,
4008,
628,
197,
47653,
34345,
796,
357,
7753,
11,
7353,
13049,
8,
3784,
6626,
7,
7753,
553,
13,
5796,
265,
4943,
58,
16,
60,
9,
7353,
13049,
198,
197,
361,
779,
62,
4164,
271,
198,
197,
220,
220,
220,
5072,
62,
7753,
796,
8343,
34345,
7,
7753,
553,
62,
4480,
62,
4164,
271,
13,
82,
26400,
4943,
198,
197,
17772,
198,
197,
220,
220,
220,
5072,
62,
7753,
796,
8343,
34345,
7,
7753,
553,
13,
82,
26400,
4943,
198,
197,
437,
628,
220,
220,
220,
1280,
7,
22915,
62,
7753,
553,
86,
4943,
466,
277,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
553,
3,
7,
18,
19415,
83,
3,
7,
77,
19415,
83,
3,
7,
13664,
7,
51,
4008,
59,
77,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
85,
62,
72,
11,
85,
62,
73,
11,
85,
62,
74,
8,
287,
309,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
553,
3,
7,
85,
62,
72,
19415,
83,
3,
7,
85,
62,
73,
19415,
83,
3,
7,
85,
62,
74,
19415,
83,
16,
13,
15,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
198,
437,
198,
198,
8818,
3440,
62,
3118,
6551,
276,
22747,
18743,
43094,
51,
22854,
7,
7753,
6978,
26,
268,
3174,
26227,
889,
796,
2081,
8,
628,
197,
2,
9122,
3108,
19648,
198,
197,
31,
30493,
2393,
6978,
58,
437,
12,
20,
25,
437,
60,
6624,
27071,
82,
26400,
1,
628,
220,
220,
220,
1280,
7,
7753,
6978,
8,
466,
2393,
198,
197,
197,
2,
3866,
439,
13369,
422,
262,
13639,
1627,
198,
197,
197,
2875,
11,
299,
11,
285,
796,
198,
197,
197,
197,
58,
29572,
7,
5317,
11,
68,
10671,
8,
329,
9766,
76,
287,
6626,
7,
354,
3361,
7,
961,
1370,
7,
7753,
36911,
6,
59,
83,
11537,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
1502,
6624,
513,
628,
197,
197,
40533,
796,
685,
20650,
90,
51,
29291,
90,
5317,
11,
5317,
11709,
7,
917,
891,
11,
657,
8,
329,
1312,
287,
352,
25,
77,
2361,
628,
197,
197,
72,
796,
352,
198,
197,
197,
31,
259,
65,
3733,
329,
1627,
287,
1123,
1370,
7,
7753,
8,
198,
197,
197,
197,
298,
1678,
796,
6626,
7,
354,
3361,
7,
1370,
828,
6,
59,
83,
11537,
628,
197,
197,
197,
361,
4605,
26227,
889,
198,
197,
197,
197,
197,
7,
20259,
11,
83,
73,
11,
30488,
8,
796,
3297,
26933,
29572,
7,
5317,
11,
68,
10671,
8,
329,
9766,
76,
287,
12784,
58,
16,
25,
437,
12,
16,
11907,
8,
198,
197,
197,
197,
17772,
198,
197,
197,
197,
197,
7,
20259,
11,
83,
73,
11,
30488,
8,
796,
685,
29572,
7,
5317,
11,
68,
10671,
8,
329,
9766,
76,
287,
12784,
58,
16,
25,
437,
12,
16,
11907,
198,
197,
197,
197,
437,
628,
197,
197,
197,
361,
657,
6624,
46668,
8614,
657,
6624,
256,
73,
8614,
657,
6624,
256,
74,
198,
197,
197,
197,
197,
18224,
7203,
68,
3639,
1276,
307,
41497,
416,
352,
19570,
198,
197,
197,
197,
437,
198,
197,
197,
197,
14689,
0,
7,
40533,
58,
20259,
4357,
357,
83,
73,
11,
30488,
4008,
198,
197,
197,
197,
14689,
0,
7,
40533,
58,
83,
73,
4357,
357,
20259,
11,
30488,
4008,
198,
197,
197,
197,
14689,
0,
7,
40533,
58,
30488,
4357,
357,
20259,
11,
83,
73,
4008,
628,
197,
197,
437,
628,
197,
197,
30619,
0,
12195,
40533,
8,
198,
197,
197,
7783,
791,
6551,
276,
22747,
18743,
43094,
51,
22854,
7,
77,
11,
40533,
8,
198,
197,
437,
198,
198,
437,
198,
37811,
10097,
26171,
198,
220,
8778,
82,
287,
257,
10467,
18743,
43094,
51,
22854,
422,
281,
264,
26400,
2393,
13,
6060,
20640,
460,
307,
220,
198,
220,
1043,
287,
262,
705,
18982,
889,
62,
16684,
2649,
13,
10951,
6,
2393,
262,
1366,
14,
9483,
13,
383,
220,
198,
220,
4605,
26227,
889,
460,
307,
973,
284,
4155,
326,
262,
36525,
389,
23243,
287,
220,
198,
220,
3649,
1502,
11,
290,
597,
3696,
543,
423,
657,
338,
287,
36525,
389,
6153,
284,
307,
198,
220,
41497,
416,
352,
13,
198,
10097,
26171,
37811,
198,
8818,
3440,
62,
22747,
18743,
43094,
51,
22854,
7,
7753,
6978,
26,
268,
3174,
26227,
889,
796,
2081,
8,
628,
197,
2,
9122,
3108,
19648,
198,
197,
31,
30493,
2393,
6978,
58,
437,
12,
20,
25,
437,
60,
6624,
27071,
82,
26400,
1,
628,
220,
220,
220,
1280,
7,
7753,
6978,
8,
466,
2393,
198,
197,
197,
2,
3866,
439,
13369,
422,
262,
13639,
1627,
198,
197,
197,
2875,
11,
299,
11,
285,
796,
198,
197,
197,
197,
58,
29572,
7,
5317,
11,
68,
10671,
8,
329,
9766,
76,
287,
6626,
7,
354,
3361,
7,
961,
1370,
7,
7753,
36911,
6,
59,
83,
11537,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
1502,
6624,
513,
628,
197,
197,
521,
1063,
796,
15690,
90,
5317,
11,
17,
92,
7,
917,
891,
11,
2875,
11,
76,
8,
198,
197,
197,
27160,
796,
15690,
90,
43879,
2414,
11,
16,
92,
7,
917,
891,
11,
76,
8,
628,
198,
197,
197,
72,
796,
352,
198,
197,
197,
31,
259,
65,
3733,
329,
1627,
287,
1123,
1370,
7,
7753,
8,
198,
197,
197,
197,
298,
1678,
796,
6626,
7,
354,
3361,
7,
1370,
828,
6,
59,
83,
11537,
628,
197,
197,
197,
521,
1063,
58,
45299,
72,
60,
796,
685,
29572,
7,
5317,
11,
68,
10671,
8,
329,
9766,
76,
287,
12784,
58,
16,
25,
437,
12,
16,
11907,
198,
197,
197,
197,
361,
4605,
26227,
889,
198,
197,
197,
197,
197,
30619,
0,
7,
521,
1063,
58,
45299,
72,
12962,
198,
197,
197,
197,
437,
198,
197,
197,
197,
27160,
58,
72,
60,
796,
21136,
7,
43879,
2414,
11,
298,
1678,
58,
437,
12962,
198,
197,
197,
197,
72,
15853,
352,
198,
197,
197,
437,
628,
197,
197,
2,
9122,
329,
657,
6376,
278,
198,
197,
197,
22570,
62,
9630,
276,
796,
3991,
628,
197,
197,
31,
259,
65,
3733,
329,
1312,
287,
352,
25,
76,
198,
197,
197,
220,
220,
220,
611,
36525,
58,
16,
11,
72,
60,
6624,
657,
198,
220,
220,
220,
220,
197,
197,
197,
22570,
62,
9630,
276,
796,
2081,
198,
197,
197,
197,
197,
9032,
198,
197,
197,
197,
437,
198,
197,
220,
220,
220,
886,
628,
198,
197,
197,
361,
6632,
62,
9630,
276,
198,
197,
197,
197,
521,
1063,
764,
47932,
352,
198,
197,
197,
437,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
10467,
18743,
43094,
51,
22854,
7,
77,
11,
521,
1063,
11,
27160,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
3551,
62,
1462,
62,
1670,
324,
16111,
62,
1831,
62,
292,
979,
72,
62,
18982,
7,
55,
3712,
19182,
90,
51,
11,
17,
5512,
22915,
62,
7753,
3712,
10100,
8,
810,
309,
198,
220,
220,
220,
1280,
7,
22915,
62,
7753,
553,
86,
4943,
466,
277,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
1123,
808,
7,
55,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
7,
69,
11,
22179,
7,
808,
553,
366,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
628,
198,
8818,
3551,
62,
5796,
265,
7,
32,
3712,
50,
29572,
46912,
34,
6173,
90,
51,
11,
5317,
5512,
6978,
3712,
10100,
26,
12381,
16912,
3712,
12441,
28,
3256,
3256,
46265,
22046,
23029,
810,
309,
198,
197,
31,
30493,
3108,
58,
437,
12,
19,
25,
437,
60,
6624,
27071,
5796,
265,
1,
198,
197,
9654,
7,
6978,
553,
86,
4943,
466,
277,
220,
198,
197,
197,
25677,
796,
4654,
26933,
7857,
7,
32,
26513,
11,
20471,
89,
7,
32,
8,
4357,
12381,
16912,
8,
2,
7904,
11251,
29291,
90,
18,
11,
5317,
92,
198,
197,
197,
35235,
7,
69,
11,
25677,
8,
198,
197,
197,
1640,
357,
72,
11,
73,
11,
85,
47505,
13344,
7,
19796,
27305,
7,
32,
8,
23029,
198,
197,
197,
197,
72,
48185,
352,
198,
197,
197,
197,
73,
48185,
352,
198,
197,
197,
197,
4798,
7,
69,
11,
72,
11,
12381,
16912,
11,
73,
11,
12381,
16912,
8,
198,
197,
197,
197,
35235,
7,
69,
11,
85,
8,
198,
197,
197,
437,
198,
197,
437,
198,
437
] | 2.378695 | 1,624 |
"""
`function construct_fcast_and_hist_dfs(m, cond_type, vars, save_to_table, table_caption,
filename, savedir, forecast_string, include_T_in_df_forecast, use_4q, hist_start,
forecast_end)`
Construct and return two DataFrame objects that respectively contain the forecast and corresponding
history series for a set of specified variables. Alternatively, if `save_to_table` is
specified to be true with `table_caption`, `filename`, and `savedir` also specified, then
`construct_fcast_and_hist_dfs` will save the DataFrames as LaTeX tables in the specified directory.
### Arguments
- `m::AbstractDSGEModel`: The model object that was used for the forecast.
- `cond_type::Symbol`: The conditioning of the forecast.
- `vars::Vector{Symbol}`: The vector of forecasted variables (can be any combination of observables or pseudo-observables) from which to construct the table.
### Keyword Arguments
- `save_to_table::Bool`: Boolean indicator of whether or not to save the table. If set to be true, then one should also specify the `table_caption`, `filename`, and `savedir`.
- `forecast_string::String`: The forecast string (if relevant) for the given forecast.
- `include_T_in_df_forecast`: Whether or not the last historical period value should be included in the forecast table for reference.
- `use_4q::Bool`: Whether to pull the 4q output_var as opposed to the standard quarterly.
- `hist_start::Date`: The date from which to start the historical table.
- `forecast_end::Date`: The date from which to end the forecast table.
"""
function construct_fcast_and_hist_dfs(m::AbstractDSGEModel, cond_type::Symbol,
vars::Vector{Symbol};
save_to_table::Bool = false,
table_caption::String = "",
filename::String = "",
savedir::String = "",
forecast_string::String = "",
include_T_in_df_forecast::Bool = true,
use_4q::Bool = false,
hist_start::Date = quartertodate("2008-Q4"),
forecast_end::Date = iterate_quarters(date_forecast_start(m), 12))
# Assert that if save_to_table is true, there is a caption, filename, and a savedir
if save_to_table
@assert !isempty(table_caption) && !isempty(filename) && !isempty(savedir)
end
if use_4q
mb_histobs = read_mb(m, :full, cond_type, :hist4qobs, forecast_string = forecast_string)
mb_histpseudo = read_mb(m, :full, cond_type, :hist4qpseudo, forecast_string = forecast_string)
mb_forecastobs = read_mb(m, :full, cond_type, :forecast4qobs, forecast_string = forecast_string)
mb_forecastpseudo = read_mb(m, :full, cond_type, :forecast4qpseudo, forecast_string = forecast_string)
mb_histobs = create_q4q4_mb(mb_histobs)
mb_histpseudo = create_q4q4_mb(mb_histpseudo)
mb_forecastobs = create_q4q4_mb(mb_forecastobs)
mb_forecastpseudo = create_q4q4_mb(mb_forecastpseudo)
else
mb_histobs = read_mb(m, :full, cond_type, :histobs, forecast_string = forecast_string)
mb_histpseudo = read_mb(m, :full, cond_type, :histpseudo, forecast_string = forecast_string)
mb_forecastobs = read_mb(m, :full, cond_type, :forecastobs, forecast_string = forecast_string)
mb_forecastpseudo = read_mb(m, :full, cond_type, :forecastpseudo, forecast_string = forecast_string)
end
obs = intersect(vars, m.observables.keys)
pseudo = intersect(vars, m.pseudo_observables.keys)
df_histobs = mb_histobs.means[:, vcat(:date, obs)]
df_histpseudo = mb_histpseudo.means[:, vcat(:date, pseudo)]
hist_start_ind = findfirst(x -> x == hist_start, df_histobs[!, :date])
df_histobs = df_histobs[hist_start_ind:end, :]
df_histpseudo = df_histpseudo[hist_start_ind:end, :]
df_forecastobs = mb_forecastobs.means[:, vcat(:date, obs)]
df_forecastpseudo = mb_forecastpseudo.means[:, vcat(:date, pseudo)]
if use_4q
# If producing 4q figures, then the forecast_end date must be a Q4 date
forecast_end = quartertodate(string(Dates.year(forecast_end))*"-Q4")
end
forecast_end_ind = findfirst(x -> x == forecast_end, df_forecastobs[!, :date])
df_forecastobs = df_forecastobs[1:forecast_end_ind, :]
df_forecastpseudo = df_forecastpseudo[1:forecast_end_ind, :]
if include_T_in_df_forecast
df_forecastobs = append!(DataFrame(df_histobs[end, :]), df_forecastobs)
df_forecastpseudo = append!(DataFrame(df_histpseudo[end, :]), df_forecastpseudo)
end
if isdefined(DataFrames, :innerjoin)
df_forecast = innerjoin(df_forecastobs, df_forecastpseudo, on = :date)
df_hist = innerjoin(df_histobs, df_histpseudo, on = :date)
else
df_forecast = join(df_forecastobs, df_forecastpseudo, on = :date)
df_hist = join(df_histobs, df_histpseudo, on = :date)
end
obs_keys = m.observables.keys
pseudo_keys = m.pseudo_observables.keys
# Constructs mapping from standard key names in observable/pseudo observable means-bands objects
# to actual names of variables and the corresponding inverse mapping (for the purposes
# of creating a mapping of actual names of variables to units)
header_mappings = create_table_header_mappings(m, vars)
units = unit_mappings(m, df_forecast, header_mappings, use_4q = use_4q)
rename!(df_forecast, header_mappings)
rename!(df_hist, header_mappings)
if save_to_table
fcast_table_caption = table_caption*" Forecast"
hist_table_caption = table_caption*" History"
fcast_filename = filename*"_forecast"
hist_filename = filename*"_history"
df_to_table(df_forecast, fcast_table_caption, fcast_filename, savedir, units)
df_to_table(df_hist, hist_table_caption, hist_filename, savedir, units)
else
return df_forecast, df_hist
end
end
# Implement a df_to_table like function that splits up the df/units into
# sub-DataFrames/Dictionaries of 3/4 variables and creates a single LaTeX
# document that has all of the variables in it
# Enforce that the first column of df is a date column named :date
"""
`function df_to_table(df, caption, filename, savedir, units)`
This is the low level function that is called by `construct_fcast_and_hist_dfs` if the
`save_to_table` kwarg for that function is set to be true.
Alternatively, this function can be called directly, provided with the relevant arguments
for naming, labeling, and saving the table.
### Arguments
- `df::DataFrame`: The DataFrame object that is storing the various series.
- `caption::String`: The title of the LaTeX table.
- `filename::String`: The name of the file.
- `savedir::String`: The filepath ending in the lowest level directory that should contain the table.
- `units::OrderedDict{Symbol, String}`: A dictionary that maps the column names of `df` to
the units of that particular series (this calculation is done automatically in if
`save_to_table` is set to be true.
"""
function df_to_table(df::DataFrame, caption::String, filename::String, savedir::String,
units::OrderedDict{Symbol, String})
# Open the TeX file
savedir = savedir[end] == "/" ? savedir : savedir*"/"
if !ispath(savedir)
println("The savedir path provided does not currently exist. Do you want to create the path '"*savedir*"'? y/n")
answer = readline(stdin)
if answer == "y"
mkpath(savedir)
else
error("Create the proper savedir and call df_to_table again.")
end
else
mkpath(savedir)
end
table_out = savedir*filename*".tex"
fid = open(table_out, "w")
write_table_preamble(fid)
function write_single_table(fid::IOStream, df::DataFrame, units::OrderedDict{Symbol, String})
# Write header
n_columns = length(propertynames(df))
col_str = repeat("c", n_columns)
@printf fid "%s%s%s" "\\begin{longtable}{" col_str "}\n"
@printf fid "\\caption{%s}\n" caption
@printf fid "\\\\ \\hline\n"
# Write column names
date_range = Vector(df[:, :date])
column_keys = propertynames(df)
@printf fid "%s " column_keys[1]
for i in 2:n_columns
column_key = string(column_keys[i])
if occursin(r"_", column_key) # if the key has an underscore then replace it with the proper LaTeX syntax
sub_strs = split(column_key, "_")
column_key = sub_strs[1]*"\\_"*sub_strs[2]
end
column_entry = "\\parbox\\{0.3\\linewidth\\}\\{\\centering "*column_key*"\\}"
if i != n_columns
@printf fid "& %s " column_entry
else
@printf fid "& %s \\\\\n" column_entry
end
end
# Write units
for i in 2:n_columns
if i != n_columns
@printf fid "& %s " units[column_keys[i]]
else
@printf fid "& %s\n" units[column_keys[i]]
end
end
@printf fid "\\\\ \\hline\n"
@printf fid "\\endhead\n"
for (i, date) in enumerate(date_range)
for (j, key) in enumerate(column_keys)
if j != length(column_keys)
if key == :date
@printf fid "%s " df[:, key][i]
else
@printf fid "& %.2f " df[:, key][i]
end
else
@printf fid "& %.2f \\\\\n" df[:, key][i]
end
end
end
@printf fid "\\end{longtable}\n"
end
k = 1
for i in 1:3:length(units)
units_keys = i+2 < length(units) ? units.keys[i:i+2] : units.keys[i:end]
df_subset = DataFrame()
units_subset = OrderedDict{Symbol, String}()
df_subset[!, :date] = df[!, :date]
for unit in units_keys
df_subset[!, unit] = df[!, unit]
units_subset[unit] = units[unit]
end
write_single_table(fid, df_subset, units_subset)
if k % 2 == 0
@printf fid "\\clearpage\n" # every two tables, break the page
else
@printf fid "\\vspace*{.5cm}\n"
end
k += 1
end
@printf fid "\\end{document}"
close(fid)
end
# Rename keys in the obs dictionaries
# So that the DataFrame has LaTeX conformant names
function create_table_header_mappings(m::AbstractDSGEModel, vars::Vector{Symbol})
obs_keys = m.observables.keys
header_mappings = OrderedDict{Symbol, Symbol}()
for var in vars
if var in obs_keys
header_mappings[var] = Symbol(m.observable_mappings[var].name)
else
header_mappings[var] = detexify(Symbol(m.pseudo_observable_mappings[var].name))
end
end
return header_mappings
end
# Defining the units for the variables included
function unit_mappings(m::AbstractDSGEModel, df::DataFrame,
header_mappings::OrderedDict{Symbol, Symbol}; use_4q::Bool = false)
units = OrderedDict{Symbol, String}()
quarter = use_4q ? "Q4" : "Q"
obs_keys = m.observables.keys
pseudo_keys = m.pseudo_observables.keys
for key in propertynames(df)
name = key != :date ? header_mappings[key] : continue
if key in obs_keys
if occursin(r"pct_annualized", string(m.observable_mappings[key].rev_transform))
units[name] = "("*quarter*"/"*quarter*") \\% Annualized"
elseif occursin(r"quartertoannual", string(m.observable_mappings[key].rev_transform))
units[name] = quarter
end
elseif key in pseudo_keys
if occursin(r"pct_annualized", string(m.pseudo_observable_mappings[key].rev_transform))
units[name] = "("*quarter*"/"*quarter*") \\% Annualized"
elseif occursin(r"quartertoannual", string(m.pseudo_observable_mappings[key].rev_transform))
units[name] = quarter
elseif occursin(r"identity", string(m.pseudo_observable_mappings[key].rev_transform))
units[name] = quarter
end
end
end
return units
end
| [
37811,
198,
63,
8818,
5678,
62,
69,
2701,
62,
392,
62,
10034,
62,
7568,
82,
7,
76,
11,
1779,
62,
4906,
11,
410,
945,
11,
3613,
62,
1462,
62,
11487,
11,
3084,
62,
6888,
1159,
11,
198,
34345,
11,
7448,
343,
11,
11092,
62,
8841,
11,
2291,
62,
51,
62,
259,
62,
7568,
62,
754,
2701,
11,
779,
62,
19,
80,
11,
1554,
62,
9688,
11,
198,
754,
2701,
62,
437,
8,
63,
198,
198,
42316,
290,
1441,
734,
6060,
19778,
5563,
326,
8148,
3994,
262,
11092,
290,
11188,
198,
23569,
2168,
329,
257,
900,
286,
7368,
9633,
13,
25929,
11,
611,
4600,
21928,
62,
1462,
62,
11487,
63,
318,
198,
23599,
284,
307,
2081,
351,
4600,
11487,
62,
6888,
1159,
47671,
4600,
34345,
47671,
290,
4600,
82,
9586,
343,
63,
635,
7368,
11,
788,
198,
63,
41571,
62,
69,
2701,
62,
392,
62,
10034,
62,
7568,
82,
63,
481,
3613,
262,
6060,
35439,
355,
4689,
49568,
8893,
287,
262,
7368,
8619,
13,
198,
198,
21017,
20559,
2886,
198,
12,
4600,
76,
3712,
23839,
5258,
38,
3620,
375,
417,
63,
25,
383,
2746,
2134,
326,
373,
973,
329,
262,
11092,
13,
198,
12,
4600,
17561,
62,
4906,
3712,
13940,
23650,
63,
25,
383,
21143,
286,
262,
11092,
13,
198,
12,
4600,
85,
945,
3712,
38469,
90,
13940,
23650,
92,
63,
25,
383,
15879,
286,
11092,
276,
9633,
357,
5171,
307,
597,
6087,
286,
3799,
2977,
393,
24543,
12,
672,
3168,
2977,
8,
422,
543,
284,
5678,
262,
3084,
13,
198,
198,
21017,
7383,
4775,
20559,
2886,
198,
12,
4600,
21928,
62,
1462,
62,
11487,
3712,
33,
970,
63,
25,
41146,
16916,
286,
1771,
393,
407,
284,
3613,
262,
3084,
13,
1002,
900,
284,
307,
2081,
11,
788,
530,
815,
635,
11986,
262,
4600,
11487,
62,
6888,
1159,
47671,
4600,
34345,
47671,
290,
4600,
82,
9586,
343,
44646,
198,
12,
4600,
754,
2701,
62,
8841,
3712,
10100,
63,
25,
383,
11092,
4731,
357,
361,
5981,
8,
329,
262,
1813,
11092,
13,
198,
12,
4600,
17256,
62,
51,
62,
259,
62,
7568,
62,
754,
2701,
63,
25,
10127,
393,
407,
262,
938,
6754,
2278,
1988,
815,
307,
3017,
287,
262,
11092,
3084,
329,
4941,
13,
198,
12,
4600,
1904,
62,
19,
80,
3712,
33,
970,
63,
25,
10127,
284,
2834,
262,
604,
80,
5072,
62,
7785,
355,
6886,
284,
262,
3210,
27868,
13,
198,
12,
4600,
10034,
62,
9688,
3712,
10430,
63,
25,
383,
3128,
422,
543,
284,
923,
262,
6754,
3084,
13,
198,
12,
4600,
754,
2701,
62,
437,
3712,
10430,
63,
25,
383,
3128,
422,
543,
284,
886,
262,
11092,
3084,
13,
198,
37811,
198,
8818,
5678,
62,
69,
2701,
62,
392,
62,
10034,
62,
7568,
82,
7,
76,
3712,
23839,
5258,
38,
3620,
375,
417,
11,
1779,
62,
4906,
3712,
13940,
23650,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
945,
3712,
38469,
90,
13940,
23650,
19629,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
1462,
62,
11487,
3712,
33,
970,
796,
3991,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
6888,
1159,
3712,
10100,
796,
366,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
3712,
10100,
796,
366,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7448,
343,
3712,
10100,
796,
366,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11092,
62,
8841,
3712,
10100,
796,
366,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2291,
62,
51,
62,
259,
62,
7568,
62,
754,
2701,
3712,
33,
970,
796,
2081,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
779,
62,
19,
80,
3712,
33,
970,
796,
3991,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1554,
62,
9688,
3712,
10430,
796,
3860,
83,
375,
378,
7203,
11528,
12,
48,
19,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11092,
62,
437,
3712,
10430,
796,
11629,
378,
62,
8230,
7,
4475,
62,
754,
2701,
62,
9688,
7,
76,
828,
1105,
4008,
628,
220,
220,
220,
1303,
2195,
861,
326,
611,
3613,
62,
1462,
62,
11487,
318,
2081,
11,
612,
318,
257,
8305,
11,
29472,
11,
290,
257,
7448,
343,
198,
220,
220,
220,
611,
3613,
62,
1462,
62,
11487,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
5145,
271,
28920,
7,
11487,
62,
6888,
1159,
8,
11405,
5145,
271,
28920,
7,
34345,
8,
11405,
5145,
271,
28920,
7,
82,
9586,
343,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
611,
779,
62,
19,
80,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
8158,
220,
220,
220,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
10034,
19,
80,
8158,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
7752,
12003,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
10034,
19,
80,
7752,
12003,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
8158,
220,
220,
220,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
754,
2701,
19,
80,
8158,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
7752,
12003,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
754,
2701,
19,
80,
7752,
12003,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
628,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
8158,
796,
2251,
62,
80,
19,
80,
19,
62,
2022,
7,
2022,
62,
10034,
8158,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
7752,
12003,
796,
2251,
62,
80,
19,
80,
19,
62,
2022,
7,
2022,
62,
10034,
7752,
12003,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
8158,
796,
2251,
62,
80,
19,
80,
19,
62,
2022,
7,
2022,
62,
754,
2701,
8158,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
7752,
12003,
796,
2251,
62,
80,
19,
80,
19,
62,
2022,
7,
2022,
62,
754,
2701,
7752,
12003,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
8158,
220,
220,
220,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
10034,
8158,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
10034,
7752,
12003,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
10034,
7752,
12003,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
8158,
220,
220,
220,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
754,
2701,
8158,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
65,
62,
754,
2701,
7752,
12003,
220,
220,
796,
1100,
62,
2022,
7,
76,
11,
1058,
12853,
11,
1779,
62,
4906,
11,
1058,
754,
2701,
7752,
12003,
11,
11092,
62,
8841,
796,
11092,
62,
8841,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
10201,
796,
36177,
7,
85,
945,
11,
285,
13,
672,
3168,
2977,
13,
13083,
8,
198,
220,
220,
220,
24543,
796,
36177,
7,
85,
945,
11,
285,
13,
7752,
12003,
62,
672,
3168,
2977,
13,
13083,
8,
628,
220,
220,
220,
47764,
62,
10034,
8158,
220,
220,
220,
796,
285,
65,
62,
10034,
8158,
13,
1326,
504,
58,
45299,
410,
9246,
7,
25,
4475,
11,
10201,
15437,
198,
220,
220,
220,
47764,
62,
10034,
7752,
12003,
796,
285,
65,
62,
10034,
7752,
12003,
13,
1326,
504,
58,
45299,
410,
9246,
7,
25,
4475,
11,
24543,
15437,
198,
220,
220,
220,
1554,
62,
9688,
62,
521,
796,
1064,
11085,
7,
87,
4613,
2124,
6624,
1554,
62,
9688,
11,
47764,
62,
10034,
8158,
58,
28265,
1058,
4475,
12962,
198,
220,
220,
220,
47764,
62,
10034,
8158,
220,
220,
220,
796,
47764,
62,
10034,
8158,
58,
10034,
62,
9688,
62,
521,
25,
437,
11,
1058,
60,
198,
220,
220,
220,
47764,
62,
10034,
7752,
12003,
796,
47764,
62,
10034,
7752,
12003,
58,
10034,
62,
9688,
62,
521,
25,
437,
11,
1058,
60,
628,
220,
220,
220,
47764,
62,
754,
2701,
8158,
220,
220,
220,
220,
220,
796,
285,
65,
62,
754,
2701,
8158,
13,
1326,
504,
58,
45299,
410,
9246,
7,
25,
4475,
11,
10201,
15437,
198,
220,
220,
220,
47764,
62,
754,
2701,
7752,
12003,
220,
220,
796,
285,
65,
62,
754,
2701,
7752,
12003,
13,
1326,
504,
58,
45299,
410,
9246,
7,
25,
4475,
11,
24543,
15437,
198,
220,
220,
220,
611,
779,
62,
19,
80,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
9194,
604,
80,
5538,
11,
788,
262,
11092,
62,
437,
3128,
1276,
307,
257,
1195,
19,
3128,
198,
220,
220,
220,
220,
220,
220,
220,
11092,
62,
437,
796,
3860,
83,
375,
378,
7,
8841,
7,
35,
689,
13,
1941,
7,
754,
2701,
62,
437,
4008,
9,
26793,
48,
19,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11092,
62,
437,
62,
521,
796,
1064,
11085,
7,
87,
4613,
2124,
6624,
11092,
62,
437,
11,
47764,
62,
754,
2701,
8158,
58,
28265,
1058,
4475,
12962,
198,
220,
220,
220,
47764,
62,
754,
2701,
8158,
220,
220,
220,
220,
220,
796,
47764,
62,
754,
2701,
8158,
58,
16,
25,
754,
2701,
62,
437,
62,
521,
11,
1058,
60,
198,
220,
220,
220,
47764,
62,
754,
2701,
7752,
12003,
220,
220,
796,
47764,
62,
754,
2701,
7752,
12003,
58,
16,
25,
754,
2701,
62,
437,
62,
521,
11,
1058,
60,
628,
220,
220,
220,
611,
2291,
62,
51,
62,
259,
62,
7568,
62,
754,
2701,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
754,
2701,
8158,
796,
24443,
0,
7,
6601,
19778,
7,
7568,
62,
10034,
8158,
58,
437,
11,
1058,
46570,
47764,
62,
754,
2701,
8158,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
754,
2701,
7752,
12003,
796,
24443,
0,
7,
6601,
19778,
7,
7568,
62,
10034,
7752,
12003,
58,
437,
11,
1058,
46570,
47764,
62,
754,
2701,
7752,
12003,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
611,
318,
23211,
7,
6601,
35439,
11,
1058,
5083,
22179,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
754,
2701,
796,
8434,
22179,
7,
7568,
62,
754,
2701,
8158,
11,
47764,
62,
754,
2701,
7752,
12003,
11,
319,
796,
1058,
4475,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
10034,
220,
220,
220,
220,
796,
8434,
22179,
7,
7568,
62,
10034,
8158,
11,
47764,
62,
10034,
7752,
12003,
11,
319,
796,
1058,
4475,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
754,
2701,
796,
4654,
7,
7568,
62,
754,
2701,
8158,
11,
47764,
62,
754,
2701,
7752,
12003,
11,
319,
796,
1058,
4475,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
10034,
220,
220,
220,
220,
796,
4654,
7,
7568,
62,
10034,
8158,
11,
47764,
62,
10034,
7752,
12003,
11,
319,
796,
1058,
4475,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
10201,
62,
13083,
796,
285,
13,
672,
3168,
2977,
13,
13083,
198,
220,
220,
220,
24543,
62,
13083,
796,
285,
13,
7752,
12003,
62,
672,
3168,
2977,
13,
13083,
628,
220,
220,
220,
1303,
28407,
82,
16855,
422,
3210,
1994,
3891,
287,
42550,
14,
7752,
12003,
42550,
1724,
12,
21397,
5563,
198,
220,
220,
220,
1303,
284,
4036,
3891,
286,
9633,
290,
262,
11188,
34062,
16855,
357,
1640,
262,
4959,
198,
220,
220,
220,
1303,
286,
4441,
257,
16855,
286,
4036,
3891,
286,
9633,
284,
4991,
8,
198,
220,
220,
220,
13639,
62,
76,
39242,
796,
2251,
62,
11487,
62,
25677,
62,
76,
39242,
7,
76,
11,
410,
945,
8,
198,
220,
220,
220,
4991,
796,
4326,
62,
76,
39242,
7,
76,
11,
47764,
62,
754,
2701,
11,
13639,
62,
76,
39242,
11,
779,
62,
19,
80,
796,
779,
62,
19,
80,
8,
628,
220,
220,
220,
36265,
0,
7,
7568,
62,
754,
2701,
11,
13639,
62,
76,
39242,
8,
198,
220,
220,
220,
36265,
0,
7,
7568,
62,
10034,
11,
13639,
62,
76,
39242,
8,
628,
220,
220,
220,
611,
3613,
62,
1462,
62,
11487,
198,
220,
220,
220,
220,
220,
220,
220,
277,
2701,
62,
11487,
62,
6888,
1159,
796,
220,
3084,
62,
6888,
1159,
9,
1,
4558,
2701,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1554,
62,
11487,
62,
6888,
1159,
220,
796,
220,
3084,
62,
6888,
1159,
9,
1,
7443,
1,
198,
220,
220,
220,
220,
220,
220,
220,
277,
2701,
62,
34345,
796,
29472,
9,
1,
62,
754,
2701,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1554,
62,
34345,
220,
796,
29472,
9,
1,
62,
23569,
1,
628,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
1462,
62,
11487,
7,
7568,
62,
754,
2701,
11,
277,
2701,
62,
11487,
62,
6888,
1159,
11,
277,
2701,
62,
34345,
11,
7448,
343,
11,
4991,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
1462,
62,
11487,
7,
7568,
62,
10034,
11,
1554,
62,
11487,
62,
6888,
1159,
11,
1554,
62,
34345,
11,
7448,
343,
11,
4991,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
47764,
62,
754,
2701,
11,
47764,
62,
10034,
198,
220,
220,
220,
886,
198,
437,
198,
198,
2,
48282,
257,
47764,
62,
1462,
62,
11487,
588,
2163,
326,
30778,
510,
262,
47764,
14,
41667,
656,
198,
2,
850,
12,
6601,
35439,
14,
35,
2867,
3166,
286,
513,
14,
19,
9633,
290,
8075,
257,
2060,
4689,
49568,
198,
2,
3188,
326,
468,
477,
286,
262,
9633,
287,
340,
198,
198,
2,
2039,
3174,
326,
262,
717,
5721,
286,
47764,
318,
257,
3128,
5721,
3706,
1058,
4475,
198,
198,
37811,
198,
63,
8818,
47764,
62,
1462,
62,
11487,
7,
7568,
11,
8305,
11,
29472,
11,
7448,
343,
11,
4991,
8,
63,
198,
198,
1212,
318,
262,
1877,
1241,
2163,
326,
318,
1444,
416,
4600,
41571,
62,
69,
2701,
62,
392,
62,
10034,
62,
7568,
82,
63,
611,
262,
198,
63,
21928,
62,
1462,
62,
11487,
63,
479,
86,
853,
329,
326,
2163,
318,
900,
284,
307,
2081,
13,
198,
198,
44163,
11,
428,
2163,
460,
307,
1444,
3264,
11,
2810,
351,
262,
5981,
7159,
198,
1640,
19264,
11,
27393,
11,
290,
8914,
262,
3084,
13,
198,
198,
21017,
20559,
2886,
198,
12,
4600,
7568,
3712,
6601,
19778,
63,
25,
383,
6060,
19778,
2134,
326,
318,
23069,
262,
2972,
2168,
13,
198,
12,
4600,
6888,
1159,
3712,
10100,
63,
25,
383,
3670,
286,
262,
4689,
49568,
3084,
13,
198,
12,
4600,
34345,
3712,
10100,
63,
25,
383,
1438,
286,
262,
2393,
13,
198,
12,
4600,
82,
9586,
343,
3712,
10100,
63,
25,
383,
2393,
6978,
7464,
287,
262,
9016,
1241,
8619,
326,
815,
3994,
262,
3084,
13,
198,
12,
4600,
41667,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
10903,
92,
63,
25,
317,
22155,
326,
8739,
262,
5721,
3891,
286,
4600,
7568,
63,
284,
198,
1169,
4991,
286,
326,
1948,
2168,
357,
5661,
17952,
318,
1760,
6338,
287,
611,
198,
63,
21928,
62,
1462,
62,
11487,
63,
318,
900,
284,
307,
2081,
13,
198,
37811,
198,
8818,
47764,
62,
1462,
62,
11487,
7,
7568,
3712,
6601,
19778,
11,
8305,
3712,
10100,
11,
29472,
3712,
10100,
11,
7448,
343,
3712,
10100,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
10903,
30072,
628,
220,
220,
220,
1303,
4946,
262,
1665,
55,
2393,
198,
220,
220,
220,
7448,
343,
796,
7448,
343,
58,
437,
60,
6624,
12813,
1,
5633,
7448,
343,
1058,
7448,
343,
9,
1,
30487,
198,
220,
220,
220,
611,
5145,
271,
6978,
7,
82,
9586,
343,
8,
198,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
464,
7448,
343,
3108,
2810,
857,
407,
3058,
2152,
13,
2141,
345,
765,
284,
2251,
262,
3108,
705,
1,
9,
82,
9586,
343,
9,
30543,
30,
331,
14,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3280,
796,
1100,
1370,
7,
19282,
259,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3280,
6624,
366,
88,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33480,
6978,
7,
82,
9586,
343,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
16447,
262,
1774,
7448,
343,
290,
869,
47764,
62,
1462,
62,
11487,
757,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
33480,
6978,
7,
82,
9586,
343,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3084,
62,
448,
796,
7448,
343,
9,
34345,
9,
1911,
16886,
1,
198,
220,
220,
220,
49909,
796,
1280,
7,
11487,
62,
448,
11,
366,
86,
4943,
628,
220,
220,
220,
3551,
62,
11487,
62,
79,
1476,
903,
7,
69,
312,
8,
198,
220,
220,
220,
2163,
3551,
62,
29762,
62,
11487,
7,
69,
312,
3712,
9399,
12124,
11,
47764,
3712,
6601,
19778,
11,
4991,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
10903,
30072,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
19430,
13639,
198,
220,
220,
220,
220,
220,
220,
220,
299,
62,
28665,
82,
796,
4129,
7,
26745,
14933,
7,
7568,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
951,
62,
2536,
220,
220,
796,
9585,
7203,
66,
1600,
299,
62,
28665,
82,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
36521,
82,
4,
82,
4,
82,
1,
366,
6852,
27471,
90,
6511,
11487,
92,
4895,
951,
62,
2536,
366,
32239,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
6888,
1159,
90,
4,
82,
32239,
77,
1,
8305,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
13426,
26867,
71,
1370,
59,
77,
1,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
19430,
5721,
3891,
198,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
9521,
796,
20650,
7,
7568,
58,
45299,
1058,
4475,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
13083,
796,
3119,
14933,
7,
7568,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
36521,
82,
366,
5721,
62,
13083,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
25,
77,
62,
28665,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
2539,
796,
4731,
7,
28665,
62,
13083,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8833,
259,
7,
81,
1,
62,
1600,
5721,
62,
2539,
8,
1303,
611,
262,
1994,
468,
281,
44810,
788,
6330,
340,
351,
262,
1774,
4689,
49568,
15582,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
2536,
82,
796,
6626,
7,
28665,
62,
2539,
11,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
2539,
796,
850,
62,
2536,
82,
58,
16,
60,
9,
1,
6852,
62,
1,
9,
7266,
62,
2536,
82,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5721,
62,
13000,
796,
366,
6852,
1845,
3524,
6852,
90,
15,
13,
18,
6852,
2815,
413,
5649,
6852,
92,
6852,
90,
6852,
1087,
1586,
366,
9,
28665,
62,
2539,
9,
1,
6852,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
14512,
299,
62,
28665,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
82,
366,
5721,
62,
13000,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
82,
3467,
13426,
77,
1,
5721,
62,
13000,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
19430,
4991,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
25,
77,
62,
28665,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
14512,
299,
62,
28665,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
82,
366,
4991,
58,
28665,
62,
13083,
58,
72,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
82,
59,
77,
1,
4991,
58,
28665,
62,
13083,
58,
72,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
13426,
26867,
71,
1370,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
437,
2256,
59,
77,
1,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
72,
11,
3128,
8,
287,
27056,
378,
7,
4475,
62,
9521,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
73,
11,
1994,
8,
287,
27056,
378,
7,
28665,
62,
13083,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
474,
14512,
4129,
7,
28665,
62,
13083,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
6624,
1058,
4475,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
36521,
82,
366,
47764,
58,
45299,
1994,
7131,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
13,
17,
69,
366,
47764,
58,
45299,
1994,
7131,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
5,
4064,
13,
17,
69,
3467,
13426,
77,
1,
47764,
58,
45299,
1994,
7131,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
437,
90,
6511,
11487,
32239,
77,
1,
198,
220,
220,
220,
886,
628,
220,
220,
220,
479,
796,
352,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
18,
25,
13664,
7,
41667,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4991,
62,
13083,
220,
220,
796,
1312,
10,
17,
1279,
4129,
7,
41667,
8,
5633,
4991,
13,
13083,
58,
72,
25,
72,
10,
17,
60,
1058,
4991,
13,
13083,
58,
72,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
7266,
2617,
220,
220,
220,
796,
6060,
19778,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
4991,
62,
7266,
2617,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
10903,
92,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
7266,
2617,
58,
28265,
1058,
4475,
60,
796,
47764,
58,
28265,
1058,
4475,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4326,
287,
4991,
62,
13083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47764,
62,
7266,
2617,
58,
28265,
4326,
60,
796,
47764,
58,
28265,
4326,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
62,
7266,
2617,
58,
20850,
60,
796,
4991,
58,
20850,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
62,
29762,
62,
11487,
7,
69,
312,
11,
47764,
62,
7266,
2617,
11,
4991,
62,
7266,
2617,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
4064,
362,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
2375,
5117,
496,
59,
77,
1,
1303,
790,
734,
8893,
11,
2270,
262,
2443,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
85,
13200,
9,
90,
13,
20,
11215,
32239,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
479,
15853,
352,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
37435,
49909,
366,
6852,
437,
90,
22897,
36786,
628,
220,
220,
220,
1969,
7,
69,
312,
8,
198,
437,
198,
198,
2,
7152,
480,
8251,
287,
262,
10201,
48589,
3166,
198,
2,
1406,
326,
262,
6060,
19778,
468,
4689,
49568,
17216,
415,
3891,
198,
8818,
2251,
62,
11487,
62,
25677,
62,
76,
39242,
7,
76,
3712,
23839,
5258,
38,
3620,
375,
417,
11,
410,
945,
3712,
38469,
90,
13940,
23650,
30072,
198,
220,
220,
220,
10201,
62,
13083,
796,
285,
13,
672,
3168,
2977,
13,
13083,
198,
220,
220,
220,
13639,
62,
76,
39242,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
38357,
92,
3419,
198,
220,
220,
220,
329,
1401,
287,
410,
945,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1401,
287,
10201,
62,
13083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
76,
39242,
58,
7785,
60,
796,
38357,
7,
76,
13,
672,
3168,
540,
62,
76,
39242,
58,
7785,
4083,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
76,
39242,
58,
7785,
60,
796,
1062,
1069,
1958,
7,
13940,
23650,
7,
76,
13,
7752,
12003,
62,
672,
3168,
540,
62,
76,
39242,
58,
7785,
4083,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
13639,
62,
76,
39242,
198,
437,
198,
198,
2,
2896,
3191,
262,
4991,
329,
262,
9633,
3017,
198,
8818,
4326,
62,
76,
39242,
7,
76,
3712,
23839,
5258,
38,
3620,
375,
417,
11,
47764,
3712,
6601,
19778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
76,
39242,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
38357,
19629,
779,
62,
19,
80,
3712,
33,
970,
796,
3991,
8,
198,
220,
220,
220,
4991,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
10903,
92,
3419,
198,
220,
220,
220,
3860,
796,
779,
62,
19,
80,
5633,
366,
48,
19,
1,
1058,
366,
48,
1,
198,
220,
220,
220,
10201,
62,
13083,
796,
285,
13,
672,
3168,
2977,
13,
13083,
198,
220,
220,
220,
24543,
62,
13083,
796,
285,
13,
7752,
12003,
62,
672,
3168,
2977,
13,
13083,
198,
220,
220,
220,
329,
1994,
287,
3119,
14933,
7,
7568,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1994,
14512,
1058,
4475,
5633,
13639,
62,
76,
39242,
58,
2539,
60,
1058,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
10201,
62,
13083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8833,
259,
7,
81,
1,
79,
310,
62,
1236,
723,
1143,
1600,
4731,
7,
76,
13,
672,
3168,
540,
62,
76,
39242,
58,
2539,
4083,
18218,
62,
35636,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
58,
3672,
60,
796,
366,
7203,
9,
24385,
9,
1,
30487,
9,
24385,
9,
4943,
26867,
4,
16328,
1143,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
8833,
259,
7,
81,
1,
24385,
1462,
1236,
723,
1600,
4731,
7,
76,
13,
672,
3168,
540,
62,
76,
39242,
58,
2539,
4083,
18218,
62,
35636,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
58,
3672,
60,
796,
3860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1994,
287,
24543,
62,
13083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8833,
259,
7,
81,
1,
79,
310,
62,
1236,
723,
1143,
1600,
4731,
7,
76,
13,
7752,
12003,
62,
672,
3168,
540,
62,
76,
39242,
58,
2539,
4083,
18218,
62,
35636,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
58,
3672,
60,
796,
366,
7203,
9,
24385,
9,
1,
30487,
9,
24385,
9,
4943,
26867,
4,
16328,
1143,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
8833,
259,
7,
81,
1,
24385,
1462,
1236,
723,
1600,
4731,
7,
76,
13,
7752,
12003,
62,
672,
3168,
540,
62,
76,
39242,
58,
2539,
4083,
18218,
62,
35636,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
58,
3672,
60,
796,
3860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
8833,
259,
7,
81,
1,
738,
414,
1600,
4731,
7,
76,
13,
7752,
12003,
62,
672,
3168,
540,
62,
76,
39242,
58,
2539,
4083,
18218,
62,
35636,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
58,
3672,
60,
796,
3860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
4991,
198,
437,
198
] | 2.270689 | 5,486 |
using Comonicon
using AdvancedHMC: AdvancedHMC
println("Environment variables for testing")
println(ENV)
const DIRECTORY_AdvancedHMC = dirname(dirname(pathof(AdvancedHMC)))
const DIRECTORY_Turing_tests = joinpath(DIRECTORY_AdvancedHMC, "test", "turing")
const GROUP = get(ENV, "AHMC_TEST_GROUP", "AdvancedHMC")
if GROUP == "All" || GROUP == "AdvancedHMC"
using ReTest, CUDA
include("metric.jl")
include("hamiltonian.jl")
include("integrator.jl")
include("trajectory.jl")
include("adaptation.jl")
include("sampler.jl")
include("sampler-vec.jl")
include("demo.jl")
include("models.jl")
include("abstractmcmc.jl")
if CUDA.functional()
include("cuda.jl")
else
@warn "Skipping GPU tests because no GPU available."
end
@main function runtests(patterns...; dry::Bool=false)
retest(patterns...; dry=dry, verbose=Inf)
end
end
if GROUP == "All" || GROUP == "Downstream"
using Pkg
try
# activate separate test environment
Pkg.activate(DIRECTORY_Turing_tests)
Pkg.develop(PackageSpec(; path=DIRECTORY_AdvancedHMC))
Pkg.instantiate()
# make sure that the new environment is considered `using` and `import` statements
# (not added automatically on Julia 1.3, see e.g. PR #209)
if !(joinpath(DIRECTORY_Turing_tests, "Project.toml") in Base.load_path())
pushfirst!(LOAD_PATH, DIRECTORY_Turing_tests)
end
# Avoids conflicting namespaces, e.g. `NUTS` used in Turing.jl's tests
# refers to `Turing.NUTS` not `AdvancedHMC.NUTS`.
include(joinpath("turing", "runtests.jl"))
catch err
err isa Pkg.Resolve.ResolverError || rethrow()
# If we can't resolve that means this is incompatible by SemVer and this is fine
# It means we marked this as a breaking change, so we don't need to worry about
# Mistakenly introducing a breaking change, as we have intentionally made one
@info "Not compatible with this release. No problem." exception = err
end
end
| [
3500,
955,
261,
4749,
198,
3500,
13435,
39,
9655,
25,
13435,
39,
9655,
198,
198,
35235,
7203,
31441,
9633,
329,
4856,
4943,
198,
35235,
7,
1677,
53,
8,
198,
198,
9979,
42242,
15513,
62,
28809,
39,
9655,
796,
26672,
3672,
7,
15908,
3672,
7,
6978,
1659,
7,
28809,
39,
9655,
22305,
198,
9979,
42242,
15513,
62,
51,
870,
62,
41989,
796,
4654,
6978,
7,
17931,
23988,
15513,
62,
28809,
39,
9655,
11,
366,
9288,
1600,
366,
83,
870,
4943,
198,
9979,
44441,
796,
651,
7,
1677,
53,
11,
366,
18429,
9655,
62,
51,
6465,
62,
46846,
1600,
366,
28809,
39,
9655,
4943,
198,
198,
361,
44441,
6624,
366,
3237,
1,
8614,
44441,
6624,
366,
28809,
39,
9655,
1,
198,
220,
220,
220,
1262,
797,
14402,
11,
29369,
5631,
628,
220,
220,
220,
2291,
7203,
4164,
1173,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
2763,
9044,
666,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
18908,
12392,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
9535,
752,
652,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
42552,
341,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
37687,
20053,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
37687,
20053,
12,
35138,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
9536,
78,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
27530,
13,
20362,
4943,
198,
220,
220,
220,
2291,
7203,
397,
8709,
76,
11215,
66,
13,
20362,
4943,
628,
220,
220,
220,
611,
29369,
5631,
13,
45124,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
7203,
66,
15339,
13,
20362,
4943,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
50,
4106,
2105,
11362,
5254,
780,
645,
11362,
1695,
526,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
12417,
2163,
1057,
41989,
7,
33279,
82,
986,
26,
5894,
3712,
33,
970,
28,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
395,
7,
33279,
82,
986,
26,
5894,
28,
39140,
11,
15942,
577,
28,
18943,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
361,
44441,
6624,
366,
3237,
1,
8614,
44441,
6624,
366,
8048,
5532,
1,
198,
220,
220,
220,
1262,
350,
10025,
198,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15155,
4553,
1332,
2858,
198,
220,
220,
220,
220,
220,
220,
220,
350,
10025,
13,
39022,
7,
17931,
23988,
15513,
62,
51,
870,
62,
41989,
8,
198,
220,
220,
220,
220,
220,
220,
220,
350,
10025,
13,
16244,
7,
27813,
22882,
7,
26,
3108,
28,
17931,
23988,
15513,
62,
28809,
39,
9655,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
350,
10025,
13,
8625,
415,
9386,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
787,
1654,
326,
262,
649,
2858,
318,
3177,
4600,
3500,
63,
290,
4600,
11748,
63,
6299,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
1662,
2087,
6338,
319,
22300,
352,
13,
18,
11,
766,
304,
13,
70,
13,
4810,
1303,
22567,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
7,
22179,
6978,
7,
17931,
23988,
15513,
62,
51,
870,
62,
41989,
11,
366,
16775,
13,
39532,
75,
4943,
287,
7308,
13,
2220,
62,
6978,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
11085,
0,
7,
35613,
62,
34219,
11,
42242,
15513,
62,
51,
870,
62,
41989,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5184,
10994,
24916,
3891,
43076,
11,
304,
13,
70,
13,
4600,
45,
3843,
50,
63,
973,
287,
39141,
13,
20362,
338,
5254,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10229,
284,
4600,
51,
870,
13,
45,
3843,
50,
63,
407,
4600,
28809,
39,
9655,
13,
45,
3843,
50,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
7,
22179,
6978,
7203,
83,
870,
1600,
366,
81,
2797,
3558,
13,
20362,
48774,
198,
220,
220,
220,
4929,
11454,
198,
220,
220,
220,
220,
220,
220,
220,
11454,
318,
64,
350,
10025,
13,
4965,
6442,
13,
4965,
14375,
12331,
8614,
302,
16939,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
356,
460,
470,
10568,
326,
1724,
428,
318,
27294,
416,
12449,
13414,
290,
428,
318,
3734,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
632,
1724,
356,
7498,
428,
355,
257,
7163,
1487,
11,
523,
356,
836,
470,
761,
284,
5490,
546,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15078,
1685,
306,
16118,
257,
7163,
1487,
11,
355,
356,
423,
16464,
925,
530,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
10951,
366,
3673,
11670,
351,
428,
2650,
13,
1400,
1917,
526,
6631,
796,
11454,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.592269 | 802 |
"""
curve_length(f::Function,a::Real,b::Real;rtol=1e-13) -> Float64
Calculates the length of the curve given by `f`, where `f` is function of one parameter, on interval <`a`, `b`> of said parameter.
# Arguments
- `f::Function`: function of the curve to be measured,
- `a::Real`: left-bound of the interval to be integrated on,
- `b::Real`: right-bound of the interval to be integrated on,
- `rtol::Real`: default `rtol = 1e-13`, relative tolerance,
# Keywords
# Returns
- `Float64`: length of the curve defined by the `f` on the interval <`a`, `b`>.
# Throws
"""
function curve_length(f::Function,a::Real,b::Real;rtol=1e-13)
df = x -> ForwardDiff.derivative(f,x)
dr = x -> sqrt(1+df(x)^2)
l,_ = quadgk(dr,a,b;rtol=rtol)
return l
end
"""
curve_fraction(f::Function,a::Real,b::Real,r::Real) -> Float64
Retunrs the position of the fraction of the length from the interval <`a`, `b`>, where the length of the curve is given by one parameter function `f`.
# Arguments
- `f::Function`: function of the curve,
- `a::Real`: left-bound of the interval to be integrated on,
- `b::Real`: right-bound of the interval to be integrated on,
- `r::Real`: fraction of the length of the curve given by `f` from the left,
- `rtol:Real`: default `rtol = 1e-13`, relative tolerance,
# Keywords
# Returns
- `Float64`: position of the fraction of the length from the interval <`a`, `b`>.
# Throws
"""
function curve_fraction(f::Function,a::Real,b::Real,r::Real;rtol=1e-13)
df = x -> ForwardDiff.derivative(f,x)
dr = x -> sqrt(1.0 + df(x)^2)
l,_ = quadgk(dr,a,b;rtol=rtol)
lf = l*r
xo = (a+b)/2
xn = 0.0
eps_n = 1.0
while eps_n > xo*rtol
l,_ = quadgk(dr,a,xo;rtol=rtol)
xn = xo - (l - lf)/dr(xo)
eps_n = abs(xo-xn)
xo = xn
end
return xo
end
| [
37811,
198,
220,
220,
220,
12133,
62,
13664,
7,
69,
3712,
22203,
11,
64,
3712,
15633,
11,
65,
3712,
15633,
26,
17034,
349,
28,
16,
68,
12,
1485,
8,
4613,
48436,
2414,
198,
198,
9771,
3129,
689,
262,
4129,
286,
262,
12133,
1813,
416,
4600,
69,
47671,
810,
4600,
69,
63,
318,
2163,
286,
530,
11507,
11,
319,
16654,
1279,
63,
64,
47671,
4600,
65,
63,
29,
286,
531,
11507,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
69,
3712,
22203,
63,
25,
2163,
286,
262,
12133,
284,
307,
8630,
11,
198,
12,
4600,
64,
3712,
15633,
63,
25,
1364,
12,
7784,
286,
262,
16654,
284,
307,
11521,
319,
11,
198,
12,
4600,
65,
3712,
15633,
63,
25,
826,
12,
7784,
286,
262,
16654,
284,
307,
11521,
319,
11,
198,
12,
4600,
17034,
349,
3712,
15633,
63,
25,
4277,
4600,
17034,
349,
796,
352,
68,
12,
1485,
47671,
3585,
15621,
11,
198,
198,
2,
7383,
10879,
198,
198,
2,
16409,
198,
12,
4600,
43879,
2414,
63,
25,
4129,
286,
262,
12133,
5447,
416,
262,
4600,
69,
63,
319,
262,
16654,
1279,
63,
64,
47671,
4600,
65,
63,
28401,
220,
198,
198,
2,
536,
8516,
198,
37811,
198,
8818,
12133,
62,
13664,
7,
69,
3712,
22203,
11,
64,
3712,
15633,
11,
65,
3712,
15633,
26,
17034,
349,
28,
16,
68,
12,
1485,
8,
198,
220,
220,
220,
47764,
796,
2124,
4613,
19530,
28813,
13,
1082,
452,
876,
7,
69,
11,
87,
8,
198,
220,
220,
220,
1553,
796,
2124,
4613,
19862,
17034,
7,
16,
10,
7568,
7,
87,
8,
61,
17,
8,
198,
220,
220,
220,
300,
11,
62,
796,
15094,
70,
74,
7,
7109,
11,
64,
11,
65,
26,
17034,
349,
28,
17034,
349,
8,
198,
220,
220,
220,
1441,
300,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
12133,
62,
69,
7861,
7,
69,
3712,
22203,
11,
64,
3712,
15633,
11,
65,
3712,
15633,
11,
81,
3712,
15633,
8,
4613,
48436,
2414,
198,
198,
9781,
403,
3808,
262,
2292,
286,
262,
13390,
286,
262,
4129,
422,
262,
16654,
1279,
63,
64,
47671,
4600,
65,
63,
22330,
810,
262,
4129,
286,
262,
12133,
318,
1813,
416,
530,
11507,
2163,
4600,
69,
44646,
198,
198,
2,
20559,
2886,
198,
12,
4600,
69,
3712,
22203,
63,
25,
2163,
286,
262,
12133,
11,
198,
12,
4600,
64,
3712,
15633,
63,
25,
1364,
12,
7784,
286,
262,
16654,
284,
307,
11521,
319,
11,
198,
12,
4600,
65,
3712,
15633,
63,
25,
826,
12,
7784,
286,
262,
16654,
284,
307,
11521,
319,
11,
198,
12,
4600,
81,
3712,
15633,
63,
25,
13390,
286,
262,
4129,
286,
262,
12133,
1813,
416,
4600,
69,
63,
422,
262,
1364,
11,
198,
12,
4600,
17034,
349,
25,
15633,
63,
25,
4277,
4600,
17034,
349,
796,
352,
68,
12,
1485,
47671,
3585,
15621,
11,
198,
198,
2,
7383,
10879,
198,
198,
2,
16409,
198,
12,
4600,
43879,
2414,
63,
25,
2292,
286,
262,
13390,
286,
262,
4129,
422,
262,
16654,
1279,
63,
64,
47671,
4600,
65,
63,
28401,
220,
198,
198,
2,
536,
8516,
198,
37811,
198,
8818,
12133,
62,
69,
7861,
7,
69,
3712,
22203,
11,
64,
3712,
15633,
11,
65,
3712,
15633,
11,
81,
3712,
15633,
26,
17034,
349,
28,
16,
68,
12,
1485,
8,
198,
220,
220,
220,
47764,
796,
2124,
4613,
19530,
28813,
13,
1082,
452,
876,
7,
69,
11,
87,
8,
198,
220,
220,
220,
1553,
796,
2124,
4613,
19862,
17034,
7,
16,
13,
15,
1343,
47764,
7,
87,
8,
61,
17,
8,
628,
220,
220,
220,
300,
11,
62,
796,
15094,
70,
74,
7,
7109,
11,
64,
11,
65,
26,
17034,
349,
28,
17034,
349,
8,
198,
220,
220,
220,
300,
69,
796,
300,
9,
81,
628,
220,
220,
220,
2124,
78,
796,
357,
64,
10,
65,
20679,
17,
198,
220,
220,
220,
2124,
77,
796,
657,
13,
15,
198,
220,
220,
220,
304,
862,
62,
77,
796,
352,
13,
15,
198,
220,
220,
220,
981,
304,
862,
62,
77,
1875,
2124,
78,
9,
17034,
349,
198,
220,
220,
220,
220,
220,
220,
220,
300,
11,
62,
796,
15094,
70,
74,
7,
7109,
11,
64,
11,
87,
78,
26,
17034,
349,
28,
17034,
349,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
77,
796,
2124,
78,
532,
357,
75,
532,
300,
69,
20679,
7109,
7,
87,
78,
8,
198,
220,
220,
220,
220,
220,
220,
220,
304,
862,
62,
77,
796,
2352,
7,
87,
78,
12,
87,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
78,
796,
2124,
77,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
2124,
78,
198,
437,
198
] | 2.384615 | 767 |
@testset "Read GFA" begin
g_test = SimpleDiGraph(7)
add_edge!(g_test, 1, 2)
add_edge!(g_test, 2, 3)
add_edge!(g_test, 3, 4)
add_edge!(g_test, 4, 5)
add_edge!(g_test, 5, 6)
add_edge!(g_test, 7, 2)
w_test = [Weight(7, 10),
Weight(4, 10),
Weight(2, 44),
Weight(3, 2),
Weight(5, 1),
Weight(6, 11),
Weight(1, 2)
]
l_test = [NodeLabel(7, "4\t-", "TACAGGGTGA", ""),
NodeLabel(4, "4\t+", "TACAGGGTGA", ""),
NodeLabel(2, "2\t+", "TTAACTCCATCTTTGAGAAACATTTAATAATGTAATGTGTTTGT", ""),
NodeLabel(3, "3\t+", "CA", ""),
NodeLabel(5, "5\t+", "A", ""),
NodeLabel(6, "6\t+", "TACAGATGCAC", ""),
NodeLabel(1, "1\t+", "AT", "")
]
e_test = [EdgeLabel("2\t+", "3\t+", "0M", ""),
EdgeLabel("4\t-", "2\t+", "0M", ""),
EdgeLabel("1\t+", "2\t+", "0M", ""),
EdgeLabel("5\t+", "6\t+", "0M", ""),
EdgeLabel("4\t+", "5\t+", "0M", ""),
EdgeLabel("3\t+", "4\t+", "0M", "")
]
gfa_result = read_from_gfa("data/gfa_sample_1.gfa");
g = gfa_result.g
w = gfa_result.w
l = gfa_result.l
e = gfa_result.e
@test g == g_test
@test w == w_test
@test e == e_test
@test l == l_test
end
@testset "Read GFA with weight" begin
w_test = [Weight(7, 4),
Weight(4, 4),
Weight(2, 7),
Weight(3, 6),
Weight(5, 11),
Weight(6, 52),
Weight(1, 2)
]
gfa_result = read_from_gfa("data/gfa_sample_1.gfa"; weight_file = "data/weight.csv")
w = gfa_result.w
@test w == w_test
end | [
31,
9288,
2617,
366,
5569,
402,
7708,
1,
2221,
198,
220,
220,
220,
308,
62,
9288,
796,
17427,
18683,
37065,
7,
22,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
352,
11,
362,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
362,
11,
513,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
513,
11,
604,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
604,
11,
642,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
642,
11,
718,
8,
198,
220,
220,
220,
751,
62,
14907,
0,
7,
70,
62,
9288,
11,
767,
11,
362,
8,
198,
220,
220,
220,
266,
62,
9288,
796,
685,
25844,
7,
22,
11,
838,
828,
198,
220,
220,
220,
14331,
7,
19,
11,
838,
828,
198,
220,
220,
220,
14331,
7,
17,
11,
5846,
828,
198,
220,
220,
220,
14331,
7,
18,
11,
362,
828,
198,
220,
220,
220,
14331,
7,
20,
11,
352,
828,
198,
220,
220,
220,
14331,
7,
21,
11,
1367,
828,
198,
220,
220,
220,
14331,
7,
16,
11,
362,
8,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
300,
62,
9288,
796,
685,
19667,
33986,
7,
22,
11,
366,
19,
59,
83,
12,
1600,
366,
51,
2246,
4760,
11190,
51,
9273,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
19,
11,
366,
19,
59,
83,
10,
1600,
366,
51,
2246,
4760,
11190,
51,
9273,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
17,
11,
366,
17,
59,
83,
10,
1600,
366,
51,
5603,
10659,
4093,
1404,
4177,
15751,
38,
4760,
3838,
2246,
17139,
5603,
13563,
1404,
38,
5603,
1404,
19555,
38,
15751,
51,
19555,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
18,
11,
366,
18,
59,
83,
10,
1600,
366,
8141,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
20,
11,
366,
20,
59,
83,
10,
1600,
366,
32,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
21,
11,
366,
21,
59,
83,
10,
1600,
366,
51,
2246,
4760,
1404,
15916,
2246,
1600,
366,
12340,
198,
220,
220,
220,
19081,
33986,
7,
16,
11,
366,
16,
59,
83,
10,
1600,
366,
1404,
1600,
366,
4943,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
304,
62,
9288,
796,
685,
37021,
33986,
7203,
17,
59,
83,
10,
1600,
366,
18,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
12340,
198,
220,
220,
220,
13113,
33986,
7203,
19,
59,
83,
12,
1600,
366,
17,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
12340,
198,
220,
220,
220,
13113,
33986,
7203,
16,
59,
83,
10,
1600,
366,
17,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
12340,
198,
220,
220,
220,
13113,
33986,
7203,
20,
59,
83,
10,
1600,
366,
21,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
12340,
198,
220,
220,
220,
13113,
33986,
7203,
19,
59,
83,
10,
1600,
366,
20,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
12340,
198,
220,
220,
220,
13113,
33986,
7203,
18,
59,
83,
10,
1600,
366,
19,
59,
83,
10,
1600,
366,
15,
44,
1600,
366,
4943,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
308,
13331,
62,
20274,
796,
1100,
62,
6738,
62,
70,
13331,
7203,
7890,
14,
70,
13331,
62,
39873,
62,
16,
13,
70,
13331,
15341,
198,
220,
220,
220,
308,
796,
308,
13331,
62,
20274,
13,
70,
198,
220,
220,
220,
266,
796,
308,
13331,
62,
20274,
13,
86,
198,
220,
220,
220,
300,
796,
308,
13331,
62,
20274,
13,
75,
198,
220,
220,
220,
304,
796,
308,
13331,
62,
20274,
13,
68,
198,
220,
220,
220,
2488,
9288,
308,
6624,
308,
62,
9288,
198,
220,
220,
220,
2488,
9288,
266,
6624,
266,
62,
9288,
198,
220,
220,
220,
2488,
9288,
304,
6624,
304,
62,
9288,
198,
220,
220,
220,
2488,
9288,
300,
6624,
300,
62,
9288,
198,
437,
198,
198,
31,
9288,
2617,
366,
5569,
402,
7708,
351,
3463,
1,
2221,
198,
220,
220,
220,
266,
62,
9288,
796,
685,
25844,
7,
22,
11,
604,
828,
198,
220,
220,
220,
14331,
7,
19,
11,
604,
828,
198,
220,
220,
220,
14331,
7,
17,
11,
767,
828,
198,
220,
220,
220,
14331,
7,
18,
11,
718,
828,
198,
220,
220,
220,
14331,
7,
20,
11,
1367,
828,
198,
220,
220,
220,
14331,
7,
21,
11,
6740,
828,
198,
220,
220,
220,
14331,
7,
16,
11,
362,
8,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
308,
13331,
62,
20274,
796,
1100,
62,
6738,
62,
70,
13331,
7203,
7890,
14,
70,
13331,
62,
39873,
62,
16,
13,
70,
13331,
8172,
3463,
62,
7753,
796,
366,
7890,
14,
6551,
13,
40664,
4943,
198,
220,
220,
220,
266,
796,
308,
13331,
62,
20274,
13,
86,
198,
220,
220,
220,
2488,
9288,
266,
6624,
266,
62,
9288,
198,
437
] | 1.833939 | 825 |
# This file is a part of Julia. License is MIT: http://julialang.org/license
abstract AbstractSparseArray{Tv,Ti,N} <: AbstractArray{Tv,N}
typealias AbstractSparseVector{Tv,Ti} AbstractSparseArray{Tv,Ti,1}
typealias AbstractSparseMatrix{Tv,Ti} AbstractSparseArray{Tv,Ti,2}
"""
issparse(S)
Returns `true` if `S` is sparse, and `false` otherwise.
"""
issparse(A::AbstractArray) = false
issparse(S::AbstractSparseArray) = true
issparse{T, A<:AbstractSparseMatrix}(S::Symmetric{T, A}) = true
issparse{T, A<:AbstractSparseMatrix}(S::Hermitian{T, A}) = true
issparse{T, A<:AbstractSparseMatrix}(S::LowerTriangular{T, A}) = true
issparse{T, A<:AbstractSparseMatrix}(S::LinAlg.UnitLowerTriangular{T, A}) = true
issparse{T, A<:AbstractSparseMatrix}(S::UpperTriangular{T, A}) = true
issparse{T, A<:AbstractSparseMatrix}(S::LinAlg.UnitUpperTriangular{T, A}) = true
indtype{Tv,Ti}(S::AbstractSparseArray{Tv,Ti}) = Ti
| [
2,
770,
2393,
318,
257,
636,
286,
22300,
13,
13789,
318,
17168,
25,
2638,
1378,
73,
377,
498,
648,
13,
2398,
14,
43085,
198,
198,
397,
8709,
27741,
50,
29572,
19182,
90,
51,
85,
11,
40533,
11,
45,
92,
1279,
25,
27741,
19182,
90,
51,
85,
11,
45,
92,
198,
198,
4906,
26011,
27741,
50,
29572,
38469,
90,
51,
85,
11,
40533,
92,
27741,
50,
29572,
19182,
90,
51,
85,
11,
40533,
11,
16,
92,
198,
4906,
26011,
27741,
50,
29572,
46912,
90,
51,
85,
11,
40533,
92,
27741,
50,
29572,
19182,
90,
51,
85,
11,
40533,
11,
17,
92,
198,
198,
37811,
198,
220,
220,
220,
1189,
29572,
7,
50,
8,
198,
198,
35561,
4600,
7942,
63,
611,
4600,
50,
63,
318,
29877,
11,
290,
4600,
9562,
63,
4306,
13,
198,
37811,
198,
747,
29572,
7,
32,
3712,
23839,
19182,
8,
796,
3991,
198,
747,
29572,
7,
50,
3712,
23839,
50,
29572,
19182,
8,
796,
2081,
198,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
13940,
3020,
19482,
90,
51,
11,
317,
30072,
796,
2081,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
9360,
2781,
666,
90,
51,
11,
317,
30072,
796,
2081,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
31426,
14824,
21413,
90,
51,
11,
317,
30072,
796,
2081,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
14993,
2348,
70,
13,
26453,
31426,
14824,
21413,
90,
51,
11,
317,
30072,
796,
2081,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
52,
2848,
14824,
21413,
90,
51,
11,
317,
30072,
796,
2081,
198,
747,
29572,
90,
51,
11,
317,
27,
25,
23839,
50,
29572,
46912,
92,
7,
50,
3712,
14993,
2348,
70,
13,
26453,
52,
2848,
14824,
21413,
90,
51,
11,
317,
30072,
796,
2081,
198,
198,
521,
4906,
90,
51,
85,
11,
40533,
92,
7,
50,
3712,
23839,
50,
29572,
19182,
90,
51,
85,
11,
40533,
30072,
796,
16953,
198
] | 2.553073 | 358 |
mutable struct VMCgutzwiller
model :: UnitCellQModel
wavefunction :: GutzwillerSlater
total_steps :: Int
n_proposed :: Int
n_accepted :: Int
data :: Vector{Float64}
end
function report(sim::VMCgutzwiller)
println("Finished with ", sim.total_steps)
println("Number of proposed moves = ", sim.n_proposed)
println("Number of accepted moves = ", sim.n_accepted)
n_sites = numofsites(sim.model)
Dict(zip([(i,j) for i=1:n_sites for j=i+1:n_sites],
sim.data./sim.n_accepted))
end
function runVMC(model::UnitCellQModel,
total_steps::Int)
n_sites = numofsites(model)
hmat = generatebdg(model)
symmetrize = eltype(hmat) <: Complex ? Hermitian : Symmetric
fact = eigen(symmetrize(hmat))
n_occupied = div(n_sites, 2)
println(fact.values[n_occupied-2:n_occupied+2])
e_fermi = fact.values[n_occupied]
n=1
while fact.values[n_occupied+n] - e_fermi < 1.e-10
n=n+1
end
states = fact.vectors[:, 1:n_occupied]
wavefunction = random_gutzwiller_half(states)
sim = VMCgutzwiller(model, wavefunction,
total_steps, 0, 0,
zeros(Float64, binomial(n_sites, 2)))
while sim.n_accepted < sim.total_steps
sim.n_proposed +=1
if propose_step!(sim.wavefunction)
sim.n_accepted += 1
corrdata = measure(sim.wavefunction, :ZZ)
sim.data += corrdata
# display progress every 1000 accepted steps
if sim.n_accepted % 1000 == 0
check_and_update_gutzwiller!(sim.wavefunction)
print("*")
end
end
end
println()
report(sim)
end
function measure(wf::GutzwillerSlater, m::Symbol)
n_sites = size(wf.states, 1)
n_operators = binomial(n_sites, 2)
correlations = zeros(Float64, n_operators)
index = 1
for i=1:n_sites, j=i+1:n_sites
ni = wf.configuration[i] - 1/2
nj = wf.configuration[j] - 1/2
correlations[index] = ni * nj
index += 1
end
correlations
end
| [
76,
18187,
2878,
569,
9655,
70,
27839,
86,
4665,
198,
220,
220,
220,
2746,
7904,
11801,
28780,
48,
17633,
628,
220,
220,
220,
6769,
8818,
7904,
27549,
89,
86,
4665,
11122,
729,
628,
220,
220,
220,
2472,
62,
20214,
7904,
2558,
628,
220,
220,
220,
299,
62,
22930,
1335,
7904,
2558,
198,
220,
220,
220,
299,
62,
13635,
276,
7904,
2558,
628,
220,
220,
220,
1366,
7904,
20650,
90,
43879,
2414,
92,
198,
437,
198,
198,
8818,
989,
7,
14323,
3712,
53,
9655,
70,
27839,
86,
4665,
8,
198,
220,
220,
220,
44872,
7203,
18467,
1348,
351,
33172,
985,
13,
23350,
62,
20214,
8,
198,
220,
220,
220,
44872,
7203,
15057,
286,
5150,
6100,
796,
33172,
985,
13,
77,
62,
22930,
1335,
8,
198,
220,
220,
220,
44872,
7203,
15057,
286,
6292,
6100,
796,
33172,
985,
13,
77,
62,
13635,
276,
8,
198,
220,
220,
220,
299,
62,
49315,
796,
997,
1659,
49315,
7,
14323,
13,
19849,
8,
198,
220,
220,
220,
360,
713,
7,
13344,
26933,
7,
72,
11,
73,
8,
329,
1312,
28,
16,
25,
77,
62,
49315,
329,
474,
28,
72,
10,
16,
25,
77,
62,
49315,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
985,
13,
7890,
19571,
14323,
13,
77,
62,
13635,
276,
4008,
198,
437,
198,
198,
8818,
1057,
53,
9655,
7,
19849,
3712,
26453,
28780,
48,
17633,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
20214,
3712,
5317,
8,
198,
220,
220,
220,
299,
62,
49315,
796,
997,
1659,
49315,
7,
19849,
8,
628,
220,
220,
220,
289,
6759,
796,
7716,
17457,
70,
7,
19849,
8,
198,
220,
220,
220,
23606,
316,
380,
2736,
796,
1288,
4906,
7,
71,
6759,
8,
1279,
25,
19157,
5633,
2332,
2781,
666,
1058,
1632,
3020,
19482,
198,
220,
220,
220,
1109,
796,
304,
9324,
7,
1837,
3020,
316,
380,
2736,
7,
71,
6759,
4008,
628,
220,
220,
220,
299,
62,
28756,
796,
2659,
7,
77,
62,
49315,
11,
362,
8,
198,
220,
220,
220,
44872,
7,
22584,
13,
27160,
58,
77,
62,
28756,
12,
17,
25,
77,
62,
28756,
10,
17,
12962,
198,
220,
220,
220,
304,
62,
2232,
11632,
796,
1109,
13,
27160,
58,
77,
62,
28756,
60,
198,
220,
220,
220,
299,
28,
16,
198,
220,
220,
220,
981,
1109,
13,
27160,
58,
77,
62,
28756,
10,
77,
60,
532,
304,
62,
2232,
11632,
1279,
352,
13,
68,
12,
940,
198,
220,
220,
220,
220,
220,
220,
220,
299,
28,
77,
10,
16,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2585,
796,
1109,
13,
303,
5217,
58,
45299,
352,
25,
77,
62,
28756,
60,
628,
220,
220,
220,
6769,
8818,
796,
4738,
62,
70,
27839,
86,
4665,
62,
13959,
7,
27219,
8,
628,
220,
220,
220,
985,
796,
569,
9655,
70,
27839,
86,
4665,
7,
19849,
11,
6769,
8818,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
20214,
11,
657,
11,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
27498,
7,
43879,
2414,
11,
9874,
49070,
7,
77,
62,
49315,
11,
362,
22305,
628,
220,
220,
220,
981,
985,
13,
77,
62,
13635,
276,
1279,
985,
13,
23350,
62,
20214,
198,
220,
220,
220,
220,
220,
220,
220,
985,
13,
77,
62,
22930,
1335,
15853,
16,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18077,
62,
9662,
0,
7,
14323,
13,
19204,
8818,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
985,
13,
77,
62,
13635,
276,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1162,
4372,
1045,
796,
3953,
7,
14323,
13,
19204,
8818,
11,
1058,
30148,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
985,
13,
7890,
15853,
1162,
4372,
1045,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
4371,
790,
8576,
6292,
4831,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
985,
13,
77,
62,
13635,
276,
4064,
8576,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
392,
62,
19119,
62,
70,
27839,
86,
4665,
0,
7,
14323,
13,
19204,
8818,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
9,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
44872,
3419,
198,
220,
220,
220,
989,
7,
14323,
8,
198,
437,
198,
198,
8818,
3953,
7,
86,
69,
3712,
38,
27839,
86,
4665,
11122,
729,
11,
285,
3712,
13940,
23650,
8,
198,
220,
220,
220,
299,
62,
49315,
796,
2546,
7,
86,
69,
13,
27219,
11,
352,
8,
198,
220,
220,
220,
299,
62,
3575,
2024,
796,
9874,
49070,
7,
77,
62,
49315,
11,
362,
8,
198,
220,
220,
220,
35811,
796,
1976,
27498,
7,
43879,
2414,
11,
299,
62,
3575,
2024,
8,
198,
220,
220,
220,
6376,
796,
352,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
77,
62,
49315,
11,
474,
28,
72,
10,
16,
25,
77,
62,
49315,
198,
220,
220,
220,
220,
220,
220,
220,
37628,
796,
266,
69,
13,
11250,
3924,
58,
72,
60,
532,
352,
14,
17,
198,
220,
220,
220,
220,
220,
220,
220,
299,
73,
796,
266,
69,
13,
11250,
3924,
58,
73,
60,
532,
352,
14,
17,
198,
220,
220,
220,
220,
220,
220,
220,
35811,
58,
9630,
60,
796,
37628,
1635,
299,
73,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
35811,
198,
437,
198
] | 2.109328 | 997 |
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder
name = "H3"
version = v"3.4.2"
# function url2hash(url)
# path = download(url)
# open(io-> bytes2hex(BinaryProvider.sha256(io)), path)
# end
# url2hash("https://github.com/uber/h3/archive/v3.4.2.zip") |> println
sources = [
"https://github.com/uber/h3/archive/v$version.zip" => "c5d024af8f7a852349ffce69fe33b456f96d7c940c4ffbeb872f98318b21e03c",
]
# Bash recipe for building across all platforms
script = """
cd \$WORKSPACE/srcdir/h3-$version/
cat <<EOF > CMakeLists.txt.patch
diff -uNr h3-3.4.2-original/CMakeLists.txt h3-3.4.2/CMakeLists.txt
--- h3-3.4.2-original/CMakeLists.txt 2019-02-23 18:30:30.000000000 +0900
+++ h3-3.4.2/CMakeLists.txt 2019-02-23 17:58:02.000000000 +0900
@@ -53,6 +53,8 @@
project(h3 LANGUAGES C VERSION \\\${H3_VERSION})
+set(CMAKE_C_FLAGS "-std=c99 \\\${CMAKE_C_FLAGS}")
+
set(H3_COMPILE_FLAGS "")
set(H3_LINK_FLAGS "")
if(NOT WIN32)
@@ -495,21 +497,6 @@
add_h3_executable(mkRandGeo src/apps/testapps/mkRandGeo.c \\\${APP_SOURCE_FILES})
add_h3_executable(mkRandGeoBoundary src/apps/testapps/mkRandGeoBoundary.c \\\${APP_SOURCE_FILES})
- # Benchmarks
- add_custom_target(benchmarks)
-
- macro(add_h3_benchmark name srcfile)
- add_h3_executable(\\\${name} \\\${srcfile} \\\${APP_SOURCE_FILES})
- add_custom_target(bench_\\\${name} COMMAND \\\${TEST_WRAPPER} \\\$<TARGET_FILE:\\\${name}>)
- add_dependencies(benchmarks bench_\\\${name})
- endmacro()
-
- add_h3_benchmark(benchmarkH3Api src/apps/benchmarks/benchmarkH3Api.c)
- add_h3_benchmark(benchmarkKRing src/apps/benchmarks/benchmarkKRing.c)
- add_h3_benchmark(benchmarkH3Line src/apps/benchmarks/benchmarkH3Line.c)
- add_h3_benchmark(benchmarkH3SetToLinkedGeo src/apps/benchmarks/benchmarkH3SetToLinkedGeo.c)
- add_h3_benchmark(benchmarkPolyfill src/apps/benchmarks/benchmarkPolyfill.c)
- add_h3_benchmark(benchmarkPolygon src/apps/benchmarks/benchmarkPolygon.c)
endif()
# Installation (https://github.com/forexample/package-example)
EOF
patch -p1 -i CMakeLists.txt.patch
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=\$prefix -DCMAKE_TOOLCHAIN_FILE=/opt/\$target/\$target.toolchain ..
make
make install
rm -rf \$WORKSPACE/destdir/bin/{g,h,k}* \$WORKSPACE/destdir/lib/cmake \$WORKSPACE/destdir/logs
ls \$WORKSPACE/destdir/lib
"""
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = supported_platforms()
# The products that we will ensure are always built
products(prefix) = [
LibraryProduct(prefix, "libh3", :libh3),
]
# Dependencies that must be installed before this package can be built
dependencies = [
]
# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies)
| [
2,
5740,
326,
428,
4226,
460,
2453,
617,
3614,
3141,
12,
1370,
7159,
11,
1057,
198,
2,
4600,
73,
43640,
1382,
62,
18870,
21591,
13,
20362,
1377,
16794,
63,
284,
766,
257,
8748,
3275,
13,
198,
3500,
45755,
32875,
198,
3672,
796,
366,
39,
18,
1,
198,
9641,
796,
410,
1,
18,
13,
19,
13,
17,
1,
198,
198,
2,
2163,
19016,
17,
17831,
7,
6371,
8,
198,
2,
220,
220,
220,
220,
3108,
796,
4321,
7,
6371,
8,
198,
2,
220,
220,
220,
220,
1280,
7,
952,
3784,
9881,
17,
33095,
7,
33,
3219,
29495,
13,
26270,
11645,
7,
952,
36911,
3108,
8,
198,
2,
886,
198,
2,
19016,
17,
17831,
7203,
5450,
1378,
12567,
13,
785,
14,
18478,
14,
71,
18,
14,
17474,
14,
85,
18,
13,
19,
13,
17,
13,
13344,
4943,
930,
29,
44872,
198,
198,
82,
2203,
796,
685,
198,
220,
220,
220,
366,
5450,
1378,
12567,
13,
785,
14,
18478,
14,
71,
18,
14,
17474,
14,
85,
3,
9641,
13,
13344,
1,
5218,
366,
66,
20,
67,
40839,
1878,
23,
69,
22,
64,
5332,
1954,
2920,
487,
344,
3388,
5036,
2091,
65,
29228,
69,
4846,
67,
22,
66,
46899,
66,
19,
487,
1350,
65,
23,
4761,
69,
4089,
36042,
65,
2481,
68,
3070,
66,
1600,
198,
60,
198,
198,
2,
15743,
8364,
329,
2615,
1973,
477,
9554,
198,
12048,
796,
37227,
198,
10210,
3467,
3,
33249,
4303,
11598,
14,
10677,
15908,
14,
71,
18,
22799,
9641,
14,
198,
9246,
9959,
4720,
37,
1875,
327,
12050,
43,
1023,
13,
14116,
13,
17147,
198,
26069,
532,
84,
45,
81,
289,
18,
12,
18,
13,
19,
13,
17,
12,
14986,
14,
34,
12050,
43,
1023,
13,
14116,
289,
18,
12,
18,
13,
19,
13,
17,
14,
34,
12050,
43,
1023,
13,
14116,
198,
6329,
289,
18,
12,
18,
13,
19,
13,
17,
12,
14986,
14,
34,
12050,
43,
1023,
13,
14116,
220,
220,
220,
13130,
12,
2999,
12,
1954,
1248,
25,
1270,
25,
1270,
13,
10535,
830,
1343,
2931,
405,
198,
45340,
289,
18,
12,
18,
13,
19,
13,
17,
14,
34,
12050,
43,
1023,
13,
14116,
13130,
12,
2999,
12,
1954,
1596,
25,
3365,
25,
2999,
13,
10535,
830,
1343,
2931,
405,
198,
12404,
532,
4310,
11,
21,
1343,
4310,
11,
23,
25248,
628,
1628,
7,
71,
18,
406,
15567,
52,
25552,
327,
44156,
2849,
3467,
6852,
38892,
39,
18,
62,
43717,
30072,
198,
198,
10,
2617,
7,
34,
5673,
7336,
62,
34,
62,
38948,
50,
27444,
19282,
28,
66,
2079,
3467,
6852,
38892,
34,
5673,
7336,
62,
34,
62,
38948,
50,
92,
4943,
198,
10,
198,
900,
7,
39,
18,
62,
9858,
11901,
2538,
62,
38948,
50,
366,
4943,
198,
900,
7,
39,
18,
62,
43,
17248,
62,
38948,
50,
366,
4943,
198,
611,
7,
11929,
25779,
2624,
8,
198,
12404,
532,
33781,
11,
2481,
1343,
38073,
11,
21,
25248,
198,
220,
220,
220,
220,
751,
62,
71,
18,
62,
18558,
18187,
7,
28015,
38918,
10082,
78,
12351,
14,
18211,
14,
9288,
18211,
14,
28015,
38918,
10082,
78,
13,
66,
3467,
6852,
38892,
24805,
62,
47690,
62,
46700,
1546,
30072,
198,
220,
220,
220,
220,
751,
62,
71,
18,
62,
18558,
18187,
7,
28015,
38918,
10082,
78,
49646,
560,
12351,
14,
18211,
14,
9288,
18211,
14,
28015,
38918,
10082,
78,
49646,
560,
13,
66,
3467,
6852,
38892,
24805,
62,
47690,
62,
46700,
1546,
30072,
198,
198,
12,
220,
220,
220,
1303,
25187,
14306,
198,
12,
220,
220,
220,
751,
62,
23144,
62,
16793,
7,
26968,
14306,
8,
198,
12,
198,
12,
220,
220,
220,
15021,
7,
2860,
62,
71,
18,
62,
26968,
4102,
1438,
12351,
7753,
8,
198,
12,
220,
220,
220,
220,
220,
220,
220,
751,
62,
71,
18,
62,
18558,
18187,
7,
6852,
59,
38892,
3672,
92,
3467,
6852,
38892,
10677,
7753,
92,
3467,
6852,
38892,
24805,
62,
47690,
62,
46700,
1546,
30072,
198,
12,
220,
220,
220,
220,
220,
220,
220,
751,
62,
23144,
62,
16793,
7,
26968,
62,
6852,
59,
38892,
3672,
92,
22240,
6981,
3467,
6852,
38892,
51,
6465,
62,
18564,
2969,
18973,
92,
3467,
6852,
3,
27,
51,
46095,
62,
25664,
25,
6852,
59,
38892,
3672,
92,
43734,
198,
12,
220,
220,
220,
220,
220,
220,
220,
751,
62,
45841,
3976,
7,
26968,
14306,
7624,
62,
6852,
59,
38892,
3672,
30072,
198,
12,
220,
220,
220,
886,
20285,
305,
3419,
198,
12,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
39,
18,
32,
14415,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
39,
18,
32,
14415,
13,
66,
8,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
30758,
278,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
30758,
278,
13,
66,
8,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
39,
18,
13949,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
39,
18,
13949,
13,
66,
8,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
39,
18,
7248,
2514,
11280,
276,
10082,
78,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
39,
18,
7248,
2514,
11280,
276,
10082,
78,
13,
66,
8,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
34220,
20797,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
34220,
20797,
13,
66,
8,
198,
12,
220,
220,
220,
751,
62,
71,
18,
62,
26968,
4102,
7,
26968,
4102,
34220,
14520,
12351,
14,
18211,
14,
26968,
14306,
14,
26968,
4102,
34220,
14520,
13,
66,
8,
198,
45762,
3419,
628,
1303,
32588,
357,
5450,
1378,
12567,
13,
785,
14,
754,
87,
1403,
14,
26495,
12,
20688,
8,
198,
4720,
37,
198,
17147,
532,
79,
16,
532,
72,
327,
12050,
43,
1023,
13,
14116,
13,
17147,
198,
28015,
15908,
1382,
198,
10210,
1382,
198,
11215,
539,
532,
11012,
52,
26761,
62,
9693,
1503,
1961,
62,
31271,
4462,
28,
16,
532,
9697,
5673,
7336,
62,
38604,
7036,
62,
47,
31688,
10426,
28,
59,
3,
40290,
532,
9697,
5673,
7336,
62,
10468,
3535,
3398,
29833,
62,
25664,
33223,
8738,
14,
59,
3,
16793,
14,
59,
3,
16793,
13,
25981,
7983,
11485,
198,
15883,
198,
15883,
2721,
198,
26224,
532,
41871,
3467,
3,
33249,
4303,
11598,
14,
16520,
15908,
14,
8800,
14,
90,
70,
11,
71,
11,
74,
92,
9,
3467,
3,
33249,
4303,
11598,
14,
16520,
15908,
14,
8019,
14,
11215,
539,
3467,
3,
33249,
4303,
11598,
14,
16520,
15908,
14,
6404,
82,
198,
7278,
3467,
3,
33249,
4303,
11598,
14,
16520,
15908,
14,
8019,
198,
37811,
198,
198,
2,
2312,
389,
262,
9554,
356,
481,
1382,
329,
416,
4277,
11,
4556,
2252,
198,
2,
9554,
389,
3804,
287,
319,
262,
3141,
1627,
198,
24254,
82,
796,
4855,
62,
24254,
82,
3419,
198,
198,
2,
383,
3186,
326,
356,
481,
4155,
389,
1464,
3170,
198,
29498,
7,
40290,
8,
796,
685,
198,
220,
220,
220,
10074,
15667,
7,
40290,
11,
366,
8019,
71,
18,
1600,
1058,
8019,
71,
18,
828,
198,
60,
198,
198,
2,
37947,
3976,
326,
1276,
307,
6589,
878,
428,
5301,
460,
307,
3170,
198,
45841,
3976,
796,
685,
198,
60,
198,
198,
2,
10934,
262,
13422,
21591,
11,
290,
5457,
257,
4600,
11249,
13,
20362,
63,
355,
880,
13,
198,
11249,
62,
18870,
21591,
7,
1503,
14313,
11,
1438,
11,
2196,
11,
4237,
11,
4226,
11,
9554,
11,
3186,
11,
20086,
8,
198
] | 2.421053 | 1,235 |
using CircuitComponentRounding
using Documenter
DocMeta.setdocmeta!(CircuitComponentRounding, :DocTestSetup, :(using CircuitComponentRounding); recursive=true)
makedocs(;
modules=[CircuitComponentRounding],
authors="KronosTheLate",
repo="https://github.com/KronosTheLate/CircuitComponentRounding.jl/blob/{commit}{path}#{line}",
sitename="CircuitComponentRounding.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://KronosTheLate.github.io/CircuitComponentRounding.jl",
assets=String[],
),
pages=[
"Home" => "index.md",
],
)
deploydocs(;
repo="github.com/KronosTheLate/CircuitComponentRounding.jl",
)
| [
3500,
13588,
21950,
49,
9969,
198,
3500,
16854,
263,
198,
198,
23579,
48526,
13,
2617,
15390,
28961,
0,
7,
31560,
5013,
21950,
49,
9969,
11,
1058,
23579,
14402,
40786,
11,
36147,
3500,
13588,
21950,
49,
9969,
1776,
45115,
28,
7942,
8,
198,
198,
76,
4335,
420,
82,
7,
26,
198,
220,
220,
220,
13103,
41888,
31560,
5013,
21950,
49,
9969,
4357,
198,
220,
220,
220,
7035,
2625,
42,
1313,
418,
464,
26302,
1600,
198,
220,
220,
220,
29924,
2625,
5450,
1378,
12567,
13,
785,
14,
42,
1313,
418,
464,
26302,
14,
31560,
5013,
21950,
49,
9969,
13,
20362,
14,
2436,
672,
14,
90,
41509,
18477,
6978,
92,
2,
90,
1370,
92,
1600,
198,
220,
220,
220,
1650,
12453,
2625,
31560,
5013,
21950,
49,
9969,
13,
20362,
1600,
198,
220,
220,
220,
5794,
28,
24941,
263,
13,
28656,
7,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2495,
6371,
82,
28,
1136,
7,
1677,
53,
11,
366,
25690,
1600,
366,
9562,
4943,
6624,
366,
7942,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
40091,
2625,
5450,
1378,
42,
1313,
418,
464,
26302,
13,
12567,
13,
952,
14,
31560,
5013,
21950,
49,
9969,
13,
20362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
6798,
28,
10100,
58,
4357,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
5468,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16060,
1,
5218,
366,
9630,
13,
9132,
1600,
198,
220,
220,
220,
16589,
198,
8,
198,
198,
2934,
1420,
31628,
7,
26,
198,
220,
220,
220,
29924,
2625,
12567,
13,
785,
14,
42,
1313,
418,
464,
26302,
14,
31560,
5013,
21950,
49,
9969,
13,
20362,
1600,
198,
8,
198
] | 2.568345 | 278 |
function update_derivs_pos!(state::Vector{Float64}, derivs::Vector{Float64} )
# Input: state = [x,y,vx,vy], a vector of two 2-d positions and velocities for a test particle
# Output: The derivatives of the position are updated in the preallocated array derivs.
@assert length(state) == 4
@assert length(derivs) == 4
v_x = state[3]
v_y = state[4]
derivs[1] = v_x
derivs[2] = v_y
return derivs;
end
function update_derivs_vel!(state::Vector{Float64}, derivs::Vector{Float64} )
# Input: state = [x,y,vx,vy], a vector of two 2-d positions and velocities for a test particle
# Output: The derivatives of the velocity are updated in the preallocated array derivs.
@assert length(state) == 4
@assert length(derivs) == 4
GM = 1.0
r_x = state[1]
r_y = state[2]
r2 = r_x*r_x+r_y*r_y
a = -GM/r2
r = sqrt(r2)
a_x = a * r_x/r
a_y = a * r_y/r
derivs[3] = a_x
derivs[4] = a_y
return derivs;
end
function update_derivs!(state::Vector{Float64}, derivs::Vector{Float64} )
# Input: state = [x,y,vx,vy], a vector of two 2-d positions and velocities for a test particle
# Output: The derivatives are updated in the preallocated array derivs.
update_derivs_vel!(state,derivs)
update_derivs_pos!(state,derivs)
return derivs
end
function advance_leapfrog!(state::Vector{Float64},derivs::Vector{Float64}, dt::Float64; derivs_current::Bool = false)
# Input/Output: state = array of two 2-d positions and velocities for a test particle
# Temporary space: The derivatives are updated in the preallocated array derivs.
# Input: dt is the fixed time step
# Optional param: derivs_current: whether need to calculate derivatives at beginning
@assert length(state) == length(derivs)
if !derivs_current
update_derivs_pos!(state,derivs);
end
state[1] += 0.5*dt*derivs[1]
state[2] += 0.5*dt*derivs[2]
update_derivs_vel!(state,derivs);
state[3] += dt*derivs[3]
state[4] += dt*derivs[4]
update_derivs_pos!(state,derivs);
state[1] += 0.5*dt*derivs[1]
state[2] += 0.5*dt*derivs[2]
end
# Input/Output: state = [x,y,vx,vy], an array of two 2-d positions and velocities for a test particle
# Input: dt is the fixed time step
# Input: duration is the total
function integrate_leapfrog!(state::Vector{Float64}, dt::Float64, duration::Float64; max_num_log::Integer = 100000)
@assert(length(state)==4)
@assert(dt>0.0)
@assert(duration>0.0)
# Preallocate array to hold data log (including initial state)
nsteps = iceil(duration/dt);
nskip = (nsteps<max_num_log) ? 1 : iceil(nsteps/(max_num_log-1))
num_log = iceil(nsteps/nskip)+1
log = Array(Float64,(num_log,length(state)));
# Pre-allocate and pre-compute derivaties
derivs = Array(Float64,4);
update_derivs!(state,derivs);
# Log initial state
log_pos = 1
log[log_pos,:] = deepcopy(state)
n = 0
t = 0.0
while t<duration
# ensure don't integrate for more than duration
dt_tmp = (t+dt<=duration) ? dt : duration-t;
# advance system by one time step
advance_leapfrog!(state,derivs,dt_tmp, derivs_current=true)
t = t + dt_tmp
n = n + 1
if (n%nskip==0) # Log data
log_pos += 1
@assert( log_pos<=length(log) )
@assert( length(log[log_pos,:])==length(state) )
log[log_pos,:] = deepcopy(state)
end
end
return log
end
function calc_error_leapfrog_old(dur::Float64, dt::Float64 = 2pi/200.0)
state = [1.,0.,0.,1.];
integrate_leapfrog!(state,dt,dur*2pi);
dist = state[1]^2+state[2]^2
phase = atan2(state[2],state[1])
offset = sum((state[1:2].-[1.0,0.0]).^2)
return (dist-1.0,phase,offset)
end
function calc_end_distance_leapfrog(dur::Integer, dt::Float64 = 2pi/200.0, state::Vector{Float64} = [1., 0., 0., 1.] )
#state = [1.,0.,0.,1.];
dist_init = sqrt(state[1]^2+state[2]^2)
phase_init = atan2(state[2],state[1])
integrate_leapfrog!(state,dt,dur*2pi);
# Calculate three metrics of the accuracy of the integration
dist = sqrt(state[1]^2+state[2]^2)
phase = atan2(state[2],state[1])
offset = sqrt(sum((state[1:2].-[1.0,0.0]).^2))
return (dist-dist_init,phase-phase_init,offset)
end
using Base.Test
function test_leapfrog(dur::Integer, dt::Float64 = 2pi/200.0)
err = calc_end_distance_leapfrog(dur,dt)
@test_approx_eq_eps(err[1], 0., 1e-6)
@test_approx_eq_eps(err[2], 0., 1e-1)
@test_approx_eq_eps(err[3], 0., 1e-1)
end
| [
201,
198,
8818,
4296,
62,
1082,
452,
82,
62,
1930,
0,
7,
5219,
3712,
38469,
90,
43879,
2414,
5512,
16124,
82,
3712,
38469,
90,
43879,
2414,
92,
1267,
201,
198,
1303,
23412,
25,
1181,
796,
685,
87,
11,
88,
11,
85,
87,
11,
7670,
4357,
257,
15879,
286,
734,
362,
12,
67,
6116,
290,
11555,
420,
871,
329,
257,
1332,
18758,
201,
198,
1303,
25235,
25,
383,
28486,
286,
262,
2292,
389,
6153,
287,
262,
662,
439,
10533,
7177,
16124,
82,
13,
201,
198,
220,
2488,
30493,
4129,
7,
5219,
8,
6624,
604,
201,
198,
220,
2488,
30493,
4129,
7,
1082,
452,
82,
8,
6624,
604,
201,
198,
220,
410,
62,
87,
796,
1181,
58,
18,
60,
201,
198,
220,
410,
62,
88,
796,
1181,
58,
19,
60,
201,
198,
220,
16124,
82,
58,
16,
60,
796,
410,
62,
87,
201,
198,
220,
16124,
82,
58,
17,
60,
796,
410,
62,
88,
201,
198,
220,
1441,
16124,
82,
26,
201,
198,
437,
201,
198,
201,
198,
8818,
4296,
62,
1082,
452,
82,
62,
626,
0,
7,
5219,
3712,
38469,
90,
43879,
2414,
5512,
16124,
82,
3712,
38469,
90,
43879,
2414,
92,
1267,
201,
198,
220,
1303,
23412,
25,
1181,
796,
685,
87,
11,
88,
11,
85,
87,
11,
7670,
4357,
257,
15879,
286,
734,
362,
12,
67,
6116,
290,
11555,
420,
871,
329,
257,
1332,
18758,
201,
198,
220,
1303,
25235,
25,
383,
28486,
286,
262,
15432,
389,
6153,
287,
262,
662,
439,
10533,
7177,
16124,
82,
13,
220,
220,
201,
198,
220,
2488,
30493,
4129,
7,
5219,
8,
6624,
604,
201,
198,
220,
2488,
30493,
4129,
7,
1082,
452,
82,
8,
6624,
604,
201,
198,
220,
6951,
796,
352,
13,
15,
201,
198,
220,
374,
62,
87,
796,
1181,
58,
16,
60,
201,
198,
220,
374,
62,
88,
796,
1181,
58,
17,
60,
201,
198,
220,
374,
17,
796,
374,
62,
87,
9,
81,
62,
87,
10,
81,
62,
88,
9,
81,
62,
88,
201,
198,
220,
257,
796,
532,
15548,
14,
81,
17,
201,
198,
220,
374,
796,
19862,
17034,
7,
81,
17,
8,
201,
198,
220,
257,
62,
87,
796,
257,
1635,
374,
62,
87,
14,
81,
201,
198,
220,
257,
62,
88,
796,
257,
1635,
374,
62,
88,
14,
81,
201,
198,
220,
16124,
82,
58,
18,
60,
796,
257,
62,
87,
201,
198,
220,
16124,
82,
58,
19,
60,
796,
257,
62,
88,
201,
198,
220,
1441,
16124,
82,
26,
201,
198,
437,
201,
198,
201,
198,
8818,
4296,
62,
1082,
452,
82,
0,
7,
5219,
3712,
38469,
90,
43879,
2414,
5512,
16124,
82,
3712,
38469,
90,
43879,
2414,
92,
1267,
201,
198,
220,
1303,
23412,
25,
1181,
796,
685,
87,
11,
88,
11,
85,
87,
11,
7670,
4357,
257,
15879,
286,
734,
362,
12,
67,
6116,
290,
11555,
420,
871,
329,
257,
1332,
18758,
201,
198,
220,
1303,
25235,
25,
383,
28486,
389,
6153,
287,
262,
662,
439,
10533,
7177,
16124,
82,
13,
220,
220,
201,
198,
220,
4296,
62,
1082,
452,
82,
62,
626,
0,
7,
5219,
11,
1082,
452,
82,
8,
201,
198,
220,
4296,
62,
1082,
452,
82,
62,
1930,
0,
7,
5219,
11,
1082,
452,
82,
8,
201,
198,
220,
1441,
16124,
82,
201,
198,
437,
201,
198,
220,
220,
201,
198,
8818,
5963,
62,
293,
499,
49956,
0,
7,
5219,
3712,
38469,
90,
43879,
2414,
5512,
1082,
452,
82,
3712,
38469,
90,
43879,
2414,
5512,
288,
83,
3712,
43879,
2414,
26,
16124,
82,
62,
14421,
3712,
33,
970,
796,
3991,
8,
201,
198,
220,
1303,
23412,
14,
26410,
25,
1181,
796,
7177,
286,
734,
362,
12,
67,
6116,
290,
11555,
420,
871,
329,
257,
1332,
18758,
201,
198,
220,
1303,
46042,
2272,
25,
383,
28486,
389,
6153,
287,
262,
662,
439,
10533,
7177,
16124,
82,
13,
201,
198,
220,
1303,
23412,
25,
288,
83,
318,
262,
5969,
640,
2239,
220,
201,
198,
220,
1303,
32233,
5772,
25,
16124,
82,
62,
14421,
25,
1771,
761,
284,
15284,
28486,
379,
3726,
201,
198,
220,
2488,
30493,
4129,
7,
5219,
8,
6624,
4129,
7,
1082,
452,
82,
8,
201,
198,
220,
220,
201,
198,
220,
611,
5145,
1082,
452,
82,
62,
14421,
220,
201,
198,
220,
220,
220,
4296,
62,
1082,
452,
82,
62,
1930,
0,
7,
5219,
11,
1082,
452,
82,
1776,
201,
198,
220,
886,
201,
198,
220,
1181,
58,
16,
60,
15853,
657,
13,
20,
9,
28664,
9,
1082,
452,
82,
58,
16,
60,
201,
198,
220,
1181,
58,
17,
60,
15853,
657,
13,
20,
9,
28664,
9,
1082,
452,
82,
58,
17,
60,
201,
198,
220,
4296,
62,
1082,
452,
82,
62,
626,
0,
7,
5219,
11,
1082,
452,
82,
1776,
201,
198,
220,
1181,
58,
18,
60,
15853,
288,
83,
9,
1082,
452,
82,
58,
18,
60,
220,
220,
201,
198,
220,
1181,
58,
19,
60,
15853,
288,
83,
9,
1082,
452,
82,
58,
19,
60,
220,
220,
220,
201,
198,
220,
4296,
62,
1082,
452,
82,
62,
1930,
0,
7,
5219,
11,
1082,
452,
82,
1776,
201,
198,
220,
1181,
58,
16,
60,
15853,
657,
13,
20,
9,
28664,
9,
1082,
452,
82,
58,
16,
60,
201,
198,
220,
1181,
58,
17,
60,
15853,
657,
13,
20,
9,
28664,
9,
1082,
452,
82,
58,
17,
60,
201,
198,
437,
201,
198,
201,
198,
2,
23412,
14,
26410,
25,
1181,
796,
685,
87,
11,
88,
11,
85,
87,
11,
7670,
4357,
281,
7177,
286,
734,
362,
12,
67,
6116,
290,
11555,
420,
871,
329,
257,
1332,
18758,
201,
198,
2,
23412,
25,
288,
83,
318,
262,
5969,
640,
2239,
220,
201,
198,
2,
23412,
25,
9478,
318,
262,
2472,
220,
201,
198,
8818,
19386,
62,
293,
499,
49956,
0,
7,
5219,
3712,
38469,
90,
43879,
2414,
5512,
288,
83,
3712,
43879,
2414,
11,
9478,
3712,
43879,
2414,
26,
3509,
62,
22510,
62,
6404,
3712,
46541,
796,
1802,
830,
8,
201,
198,
220,
2488,
30493,
7,
13664,
7,
5219,
8,
855,
19,
8,
220,
201,
198,
220,
2488,
30493,
7,
28664,
29,
15,
13,
15,
8,
201,
198,
220,
2488,
30493,
7,
32257,
29,
15,
13,
15,
8,
201,
198,
220,
220,
201,
198,
220,
1303,
3771,
439,
13369,
7177,
284,
1745,
1366,
2604,
357,
8201,
220,
4238,
1181,
8,
201,
198,
220,
299,
20214,
796,
4771,
346,
7,
32257,
14,
28664,
1776,
201,
198,
220,
299,
48267,
796,
357,
77,
20214,
27,
9806,
62,
22510,
62,
6404,
8,
5633,
352,
1058,
4771,
346,
7,
77,
20214,
29006,
9806,
62,
22510,
62,
6404,
12,
16,
4008,
201,
198,
220,
997,
62,
6404,
796,
4771,
346,
7,
77,
20214,
14,
5907,
74,
541,
47762,
16,
220,
220,
220,
201,
198,
220,
2604,
796,
15690,
7,
43879,
2414,
11,
7,
22510,
62,
6404,
11,
13664,
7,
5219,
4008,
1776,
201,
198,
201,
198,
220,
1303,
3771,
12,
439,
13369,
290,
662,
12,
5589,
1133,
16124,
265,
444,
201,
198,
220,
16124,
82,
796,
15690,
7,
43879,
2414,
11,
19,
1776,
220,
220,
201,
198,
220,
4296,
62,
1082,
452,
82,
0,
7,
5219,
11,
1082,
452,
82,
1776,
201,
198,
201,
198,
220,
1303,
5972,
4238,
1181,
220,
201,
198,
220,
2604,
62,
1930,
796,
352,
201,
198,
220,
2604,
58,
6404,
62,
1930,
11,
47715,
796,
2769,
30073,
7,
5219,
8,
220,
201,
198,
201,
198,
220,
299,
796,
657,
201,
198,
220,
256,
796,
657,
13,
15,
201,
198,
220,
981,
256,
27,
32257,
201,
198,
220,
220,
220,
1303,
4155,
836,
470,
19386,
329,
517,
621,
9478,
201,
198,
220,
220,
220,
288,
83,
62,
22065,
796,
357,
83,
10,
28664,
27,
28,
32257,
8,
5633,
288,
83,
1058,
9478,
12,
83,
26,
201,
198,
201,
198,
197,
2,
5963,
1080,
416,
530,
640,
2239,
201,
198,
220,
220,
220,
5963,
62,
293,
499,
49956,
0,
7,
5219,
11,
1082,
452,
82,
11,
28664,
62,
22065,
11,
16124,
82,
62,
14421,
28,
7942,
8,
201,
198,
220,
220,
220,
256,
796,
256,
1343,
288,
83,
62,
22065,
201,
198,
220,
220,
220,
299,
796,
299,
1343,
352,
201,
198,
201,
198,
220,
220,
220,
611,
357,
77,
4,
5907,
74,
541,
855,
15,
8,
1303,
5972,
1366,
201,
198,
197,
220,
220,
2604,
62,
1930,
15853,
352,
201,
198,
220,
220,
220,
197,
220,
220,
2488,
30493,
7,
2604,
62,
1930,
27,
28,
13664,
7,
6404,
8,
1267,
201,
198,
197,
220,
220,
2488,
30493,
7,
4129,
7,
6404,
58,
6404,
62,
1930,
11,
25,
12962,
855,
13664,
7,
5219,
8,
1267,
201,
198,
197,
220,
220,
2604,
58,
6404,
62,
1930,
11,
47715,
796,
2769,
30073,
7,
5219,
8,
220,
201,
198,
197,
437,
201,
198,
220,
886,
201,
198,
220,
1441,
2604,
201,
198,
437,
201,
198,
201,
198,
8818,
42302,
62,
18224,
62,
293,
499,
49956,
62,
727,
7,
67,
333,
3712,
43879,
2414,
11,
288,
83,
3712,
43879,
2414,
796,
362,
14415,
14,
2167,
13,
15,
8,
201,
198,
220,
1181,
796,
685,
16,
1539,
15,
1539,
15,
1539,
16,
8183,
26,
220,
220,
201,
198,
220,
19386,
62,
293,
499,
49956,
0,
7,
5219,
11,
28664,
11,
67,
333,
9,
17,
14415,
1776,
201,
198,
220,
1233,
796,
1181,
58,
16,
60,
61,
17,
10,
5219,
58,
17,
60,
61,
17,
201,
198,
220,
7108,
796,
379,
272,
17,
7,
5219,
58,
17,
4357,
5219,
58,
16,
12962,
201,
198,
220,
11677,
796,
2160,
19510,
5219,
58,
16,
25,
17,
4083,
49146,
16,
13,
15,
11,
15,
13,
15,
35944,
61,
17,
8,
201,
198,
220,
1441,
357,
17080,
12,
16,
13,
15,
11,
40715,
11,
28968,
8,
201,
198,
437,
201,
198,
201,
198,
8818,
42302,
62,
437,
62,
30246,
62,
293,
499,
49956,
7,
67,
333,
3712,
46541,
11,
288,
83,
3712,
43879,
2414,
796,
362,
14415,
14,
2167,
13,
15,
11,
1181,
3712,
38469,
90,
43879,
2414,
92,
796,
685,
16,
1539,
657,
1539,
657,
1539,
352,
8183,
1267,
201,
198,
220,
1303,
5219,
796,
685,
16,
1539,
15,
1539,
15,
1539,
16,
8183,
26,
220,
220,
201,
198,
220,
1233,
62,
15003,
796,
19862,
17034,
7,
5219,
58,
16,
60,
61,
17,
10,
5219,
58,
17,
60,
61,
17,
8,
201,
198,
220,
7108,
62,
15003,
796,
379,
272,
17,
7,
5219,
58,
17,
4357,
5219,
58,
16,
12962,
201,
198,
220,
19386,
62,
293,
499,
49956,
0,
7,
5219,
11,
28664,
11,
67,
333,
9,
17,
14415,
1776,
201,
198,
220,
1303,
27131,
378,
1115,
20731,
286,
262,
9922,
286,
262,
11812,
220,
220,
201,
198,
220,
1233,
796,
19862,
17034,
7,
5219,
58,
16,
60,
61,
17,
10,
5219,
58,
17,
60,
61,
17,
8,
201,
198,
220,
7108,
796,
379,
272,
17,
7,
5219,
58,
17,
4357,
5219,
58,
16,
12962,
201,
198,
220,
11677,
796,
19862,
17034,
7,
16345,
19510,
5219,
58,
16,
25,
17,
4083,
49146,
16,
13,
15,
11,
15,
13,
15,
35944,
61,
17,
4008,
201,
198,
220,
1441,
357,
17080,
12,
17080,
62,
15003,
11,
40715,
12,
40715,
62,
15003,
11,
28968,
8,
201,
198,
437,
201,
198,
201,
198,
3500,
7308,
13,
14402,
201,
198,
8818,
1332,
62,
293,
499,
49956,
7,
67,
333,
3712,
46541,
11,
288,
83,
3712,
43879,
2414,
796,
362,
14415,
14,
2167,
13,
15,
8,
220,
220,
201,
198,
220,
11454,
796,
42302,
62,
437,
62,
30246,
62,
293,
499,
49956,
7,
67,
333,
11,
28664,
8,
201,
198,
220,
2488,
9288,
62,
1324,
13907,
62,
27363,
62,
25386,
7,
8056,
58,
16,
4357,
657,
1539,
352,
68,
12,
21,
8,
201,
198,
220,
2488,
9288,
62,
1324,
13907,
62,
27363,
62,
25386,
7,
8056,
58,
17,
4357,
657,
1539,
352,
68,
12,
16,
8,
201,
198,
220,
2488,
9288,
62,
1324,
13907,
62,
27363,
62,
25386,
7,
8056,
58,
18,
4357,
657,
1539,
352,
68,
12,
16,
8,
201,
198,
437,
201,
198,
201,
198
] | 2.295617 | 1,962 |
const Min_Max = NamedTuple{(:min, :max),Tuple{Float64,Float64}}
const From_To_Float = NamedTuple{(:from, :to),Tuple{Float64,Float64}}
const FromTo_ToFrom_Float = NamedTuple{(:from_to, :to_from),Tuple{Float64,Float64}}
"From http://www.pserc.cornell.edu/matpower/MATPOWER-manual.pdf Table B-4"
@enum GeneratorCostModel begin
PIECEWISE_LINEAR = 1
POLYNOMIAL = 2
end
@enum AngleUnit begin
DEGREES
RADIANS
end
@enum BusType begin
ISOLATED
PQ
PV
REF
SLACK
end
@enum LoadModel begin
ConstantImpedance #Z
ConstantCurrent #I
ConstantPower #P
end
"From https://www.eia.gov/survey/form/eia_923/instructions.pdf"
@enum PrimeMovers begin
BA #Energy Storage, Battery
BT #Turbines Used in a Binary Cycle (including those used for geothermal applications)
CA #Combined-Cycle – Steam Part
CC #Combined-Cycle - Aggregated Plant *augmentation of EIA
CE #Energy Storage, Compressed Air
CP #Energy Storage, Concentrated Solar Power
CS #Combined-Cycle Single-Shaft Combustion turbine and steam turbine share a single generator
CT #Combined-Cycle Combustion Turbine Part
ES #Energy Storage, Other (Specify on Schedule 9, Comments)
FC #Fuel Cell
FW #Energy Storage, Flywheel
GT #Combustion (Gas) Turbine (including jet engine design)
HA #Hydrokinetic, Axial Flow Turbine
HB #Hydrokinetic, Wave Buoy
HK #Hydrokinetic, Other
HY #Hydraulic Turbine (including turbines associated with delivery of water by pipeline)
IC #Internal Combustion (diesel, piston, reciprocating) Engine
PS #Energy Storage, Reversible Hydraulic Turbine (Pumped Storage)
OT #Other – Specify on SCHEDULE 9.
ST #Steam Turbine (including nuclear, geothermal and solar steam; does not include combined-cycle turbine)
PVe #Photovoltaic *renaming from EIA PV to PVe to avoid conflict with BusType::PV
WT #Wind Turbine, Onshore
WS #Wind Turbine, Offshore
end
"AER Aggregated Fuel Code From https://www.eia.gov/survey/form/eia_923/instructions.pdf"
@enum ThermalFuels begin
COAL #COL #Anthracite Coal and Bituminous Coal
WASTE_COAL #WOC #Waste/Other Coal (includes anthracite culm, gob, fine coal, lignite waste, waste coal)
DISTILLATE_FUEL_OIL #DFO #Distillate Fuel Oil (Diesel, No. 1, No. 2, and No. 4
WASTE_OIL #WOO #Waste Oil Kerosene and JetFuel Butane, Propane,
PETROLEUM_COKE #PC #Petroleum Coke
RESIDUAL_FUEL_OIL #RFO #Residual Fuel Oil (No. 5, No. 6 Fuel Oils, and Bunker Oil)
NATURAL_GAS #NG #Natural Gas
OTHER_GAS #OOG #Other Gas and blast furnace gas
NUCLEAR #NUC #Nuclear Fission (Uranium, Plutonium, Thorium)
AG_BIPRODUCT #ORW #Agricultural Crop Byproducts/Straw/Energy Crops
MUNICIPAL_WASTE #MLG #Municipal Solid Waste – Biogenic component
WOOD_WASTE #WWW #Wood Waste Liquids excluding Black Liquor (BLQ) (Includes red liquor, sludge wood, spent sulfite liquor, and other wood-based liquids)
GEOTHERMAL #GEO #Geothermal
OTHER #OTH #Other
end
PS_MAX_LOG = parse(Int, get(ENV, "PS_MAX_LOG", "50"))
DEFAULT_BASE_MVA = 100.0
const POWER_SYSTEM_STRUCT_DESCRIPTOR_FILE =
joinpath(dirname(pathof(PowerSystems)), "descriptors", "power_system_structs.json")
| [
9979,
1855,
62,
11518,
796,
34441,
51,
29291,
90,
7,
25,
1084,
11,
1058,
9806,
828,
51,
29291,
90,
43879,
2414,
11,
43879,
2414,
11709,
198,
9979,
3574,
62,
2514,
62,
43879,
796,
34441,
51,
29291,
90,
7,
25,
6738,
11,
1058,
1462,
828,
51,
29291,
90,
43879,
2414,
11,
43879,
2414,
11709,
198,
9979,
3574,
2514,
62,
2514,
4863,
62,
43879,
796,
34441,
51,
29291,
90,
7,
25,
6738,
62,
1462,
11,
1058,
1462,
62,
6738,
828,
51,
29291,
90,
43879,
2414,
11,
43879,
2414,
11709,
198,
198,
1,
4863,
2638,
1378,
2503,
13,
862,
2798,
13,
20772,
695,
13,
15532,
14,
6759,
6477,
14,
41636,
47,
36048,
12,
805,
723,
13,
12315,
8655,
347,
12,
19,
1,
198,
31,
44709,
35986,
13729,
17633,
2221,
198,
220,
220,
220,
30434,
2943,
6217,
24352,
62,
24027,
1503,
796,
352,
198,
220,
220,
220,
20634,
40760,
2662,
12576,
796,
362,
198,
437,
198,
198,
31,
44709,
42375,
26453,
2221,
198,
220,
220,
220,
5550,
28934,
1546,
198,
220,
220,
220,
33540,
40,
15037,
198,
437,
198,
198,
31,
44709,
5869,
6030,
2221,
198,
220,
220,
220,
3180,
3535,
11617,
198,
220,
220,
220,
350,
48,
198,
220,
220,
220,
31392,
198,
220,
220,
220,
4526,
37,
198,
220,
220,
220,
12419,
8120,
198,
437,
198,
198,
31,
44709,
8778,
17633,
2221,
198,
220,
220,
220,
20217,
26950,
276,
590,
1303,
57,
198,
220,
220,
220,
20217,
11297,
220,
220,
1303,
40,
198,
220,
220,
220,
20217,
13434,
220,
220,
220,
220,
1303,
47,
198,
437,
198,
198,
1,
4863,
3740,
1378,
2503,
13,
68,
544,
13,
9567,
14,
11793,
3304,
14,
687,
14,
68,
544,
62,
24,
1954,
14,
259,
7249,
507,
13,
12315,
1,
198,
31,
44709,
5537,
44,
13801,
2221,
198,
220,
220,
220,
23715,
1303,
28925,
20514,
11,
23490,
198,
220,
220,
220,
22205,
1303,
51,
5945,
1127,
16718,
287,
257,
45755,
26993,
357,
8201,
883,
973,
329,
4903,
49723,
5479,
8,
198,
220,
220,
220,
7257,
1303,
20575,
1389,
12,
20418,
2375,
784,
9094,
2142,
198,
220,
220,
220,
12624,
1303,
20575,
1389,
12,
20418,
2375,
532,
19015,
2301,
515,
16561,
1635,
559,
5154,
341,
286,
412,
3539,
198,
220,
220,
220,
18671,
1303,
28925,
20514,
11,
3082,
2790,
3701,
198,
220,
220,
220,
16932,
1303,
28925,
20514,
11,
37613,
4111,
12347,
4333,
198,
220,
220,
220,
9429,
1303,
20575,
1389,
12,
20418,
2375,
14206,
12,
2484,
14940,
14336,
436,
295,
36489,
290,
13324,
36489,
2648,
257,
2060,
17301,
198,
220,
220,
220,
16356,
1303,
20575,
1389,
12,
20418,
2375,
14336,
436,
295,
3831,
65,
500,
2142,
198,
220,
220,
220,
13380,
1303,
28925,
20514,
11,
3819,
357,
22882,
1958,
319,
19281,
860,
11,
19502,
8,
198,
220,
220,
220,
10029,
1303,
42663,
12440,
198,
220,
220,
220,
48849,
1303,
28925,
20514,
11,
13575,
22001,
198,
220,
220,
220,
7963,
1303,
20575,
436,
295,
357,
39699,
8,
3831,
65,
500,
357,
8201,
12644,
3113,
1486,
8,
198,
220,
220,
220,
14558,
1303,
40436,
305,
5116,
5139,
11,
12176,
498,
27782,
3831,
65,
500,
198,
220,
220,
220,
25997,
1303,
40436,
305,
5116,
5139,
11,
17084,
9842,
726,
198,
220,
220,
220,
31440,
1303,
40436,
305,
5116,
5139,
11,
3819,
198,
220,
220,
220,
43624,
1303,
40436,
430,
28575,
3831,
65,
500,
357,
8201,
35658,
3917,
351,
7585,
286,
1660,
416,
11523,
8,
198,
220,
220,
220,
12460,
1303,
37693,
14336,
436,
295,
357,
25990,
417,
11,
41743,
11,
36564,
803,
8,
7117,
198,
220,
220,
220,
6599,
1303,
28925,
20514,
11,
797,
37393,
31613,
28575,
3831,
65,
500,
357,
47,
27073,
20514,
8,
198,
220,
220,
220,
21676,
1303,
6395,
784,
18291,
1958,
319,
22374,
1961,
24212,
860,
13,
198,
220,
220,
220,
3563,
1303,
19109,
3831,
65,
500,
357,
8201,
4523,
11,
4903,
49723,
290,
6591,
13324,
26,
857,
407,
2291,
5929,
12,
13696,
36489,
8,
198,
220,
220,
220,
350,
26979,
1303,
27248,
709,
5978,
18452,
1635,
918,
3723,
422,
412,
3539,
31392,
284,
350,
26979,
284,
3368,
5358,
351,
5869,
6030,
3712,
47,
53,
198,
220,
220,
220,
41281,
1303,
8731,
3831,
65,
500,
11,
1550,
14640,
198,
220,
220,
220,
25290,
1303,
8731,
3831,
65,
500,
11,
3242,
14640,
198,
437,
198,
198,
1,
32,
1137,
19015,
2301,
515,
25483,
6127,
3574,
3740,
1378,
2503,
13,
68,
544,
13,
9567,
14,
11793,
3304,
14,
687,
14,
68,
544,
62,
24,
1954,
14,
259,
7249,
507,
13,
12315,
1,
198,
31,
44709,
41590,
41133,
1424,
2221,
198,
220,
220,
220,
7375,
1847,
1303,
25154,
220,
220,
220,
1303,
30327,
11510,
578,
12896,
290,
4722,
7230,
516,
12896,
198,
220,
220,
220,
21725,
9328,
62,
8220,
1847,
1303,
54,
4503,
220,
220,
220,
1303,
54,
4594,
14,
6395,
12896,
357,
42813,
26794,
11510,
578,
10845,
76,
11,
48484,
11,
3734,
5655,
11,
300,
570,
578,
7030,
11,
7030,
5655,
8,
198,
220,
220,
220,
360,
8808,
8267,
6158,
62,
38989,
3698,
62,
49713,
1303,
35,
6080,
1303,
20344,
359,
378,
25483,
11474,
357,
35,
29893,
11,
1400,
13,
352,
11,
1400,
13,
362,
11,
290,
1400,
13,
604,
198,
220,
220,
220,
21725,
9328,
62,
49713,
1303,
54,
6684,
220,
220,
220,
1303,
54,
4594,
11474,
17337,
418,
1734,
290,
19013,
42663,
887,
1531,
11,
8772,
1531,
11,
198,
220,
220,
220,
32043,
13252,
2538,
5883,
62,
8220,
7336,
1303,
5662,
220,
1303,
25803,
21945,
34723,
198,
220,
220,
220,
15731,
2389,
25620,
62,
38989,
3698,
62,
49713,
220,
220,
220,
1303,
49,
6080,
1303,
4965,
312,
723,
25483,
11474,
357,
2949,
13,
642,
11,
1400,
13,
718,
25483,
440,
4487,
11,
290,
44761,
11474,
8,
198,
220,
220,
220,
10149,
4261,
1847,
62,
38,
1921,
1303,
10503,
220,
220,
220,
1303,
35364,
14345,
198,
220,
220,
220,
25401,
62,
38,
1921,
1303,
6684,
38,
220,
220,
220,
1303,
6395,
14345,
290,
11975,
42227,
3623,
198,
220,
220,
220,
399,
9598,
2538,
1503,
1303,
45,
9598,
1303,
45,
4016,
376,
1480,
357,
52,
2596,
1505,
11,
1345,
43078,
11,
13002,
1505,
8,
198,
220,
220,
220,
13077,
62,
3483,
4805,
28644,
1303,
1581,
54,
220,
220,
220,
1303,
10262,
1173,
8596,
327,
1773,
2750,
29498,
14,
1273,
1831,
14,
28925,
9325,
862,
198,
220,
220,
220,
337,
4944,
2149,
4061,
1847,
62,
54,
1921,
9328,
1303,
5805,
38,
220,
220,
220,
1303,
44,
9462,
282,
15831,
35304,
784,
8436,
15147,
7515,
198,
220,
220,
220,
370,
22808,
62,
54,
1921,
9328,
1303,
17947,
54,
220,
220,
220,
220,
1303,
22911,
35304,
35515,
2340,
23494,
2619,
35515,
273,
357,
9148,
48,
8,
357,
42986,
2266,
20030,
11,
1017,
12587,
4898,
11,
3377,
22443,
578,
20030,
11,
290,
584,
4898,
12,
3106,
38236,
8,
198,
220,
220,
220,
22319,
31858,
42126,
1303,
38,
4720,
220,
220,
220,
220,
1303,
10082,
49723,
198,
220,
220,
220,
25401,
1303,
26946,
220,
220,
220,
220,
1303,
6395,
198,
437,
198,
198,
3705,
62,
22921,
62,
25294,
796,
21136,
7,
5317,
11,
651,
7,
1677,
53,
11,
366,
3705,
62,
22921,
62,
25294,
1600,
366,
1120,
48774,
198,
7206,
38865,
62,
33,
11159,
62,
44,
11731,
796,
1802,
13,
15,
198,
198,
9979,
40295,
62,
23060,
25361,
62,
46126,
62,
30910,
36584,
32961,
62,
25664,
796,
198,
220,
220,
220,
4654,
6978,
7,
15908,
3672,
7,
6978,
1659,
7,
13434,
11964,
82,
36911,
366,
20147,
1968,
669,
1600,
366,
6477,
62,
10057,
62,
7249,
82,
13,
17752,
4943,
628
] | 2.650651 | 1,228 |
using Documenter, DocumenterTools
include("DocumenterShowcase.jl")
# The DOCSARGS environment variable can be used to pass additional arguments to make.jl.
# This is useful on CI, if you need to change the behavior of the build slightly but you
# can not change the .travis.yml or make.jl scripts any more (e.g. for a tag build).
if haskey(ENV, "DOCSARGS")
for arg in split(ENV["DOCSARGS"])
(arg in ARGS) || push!(ARGS, arg)
end
end
makedocs(
modules = [Documenter, DocumenterTools, DocumenterShowcase],
format = Documenter.HTML(
# Use clean URLs, unless built as a "local" build
prettyurls = !("local" in ARGS),
canonical = "https://juliadocs.github.io/Documenter.jl/stable/",
assets = ["assets/favicon.ico"],
analytics = "UA-136089579-2",
highlights = ["yaml"],
),
clean = false,
sitename = "Documenter.jl",
authors = "Michael Hatherly, Morten Piibeleht, and contributors.",
linkcheck = !("skiplinks" in ARGS),
pages = [
"Home" => "index.md",
"Manual" => Any[
"Guide" => "man/guide.md",
"man/examples.md",
"man/syntax.md",
"man/doctests.md",
"man/latex.md",
hide("man/hosting.md", [
"man/hosting/walkthrough.md"
]),
"man/other-formats.md",
],
"showcase.md",
"Library" => Any[
"Public" => "lib/public.md",
"Internals" => map(
s -> "lib/internals/$(s)",
sort(readdir(joinpath(@__DIR__, "src/lib/internals")))
),
],
"contributing.md",
],
strict = !("strict=false" in ARGS),
doctest = ("doctest=only" in ARGS) ? :only : true,
)
deploydocs(
repo = "github.com/JuliaDocs/Documenter.jl.git",
target = "build",
)
| [
3500,
16854,
263,
11,
16854,
263,
33637,
198,
17256,
7203,
24941,
263,
15307,
7442,
13,
20362,
4943,
198,
198,
2,
383,
37760,
50,
1503,
14313,
2858,
7885,
460,
307,
973,
284,
1208,
3224,
7159,
284,
787,
13,
20362,
13,
198,
2,
770,
318,
4465,
319,
14514,
11,
611,
345,
761,
284,
1487,
262,
4069,
286,
262,
1382,
4622,
475,
345,
198,
2,
460,
407,
1487,
262,
764,
83,
16956,
13,
88,
4029,
393,
787,
13,
20362,
14750,
597,
517,
357,
68,
13,
70,
13,
329,
257,
7621,
1382,
737,
198,
361,
468,
2539,
7,
1677,
53,
11,
366,
38715,
50,
1503,
14313,
4943,
198,
220,
220,
220,
329,
1822,
287,
6626,
7,
1677,
53,
14692,
38715,
50,
1503,
14313,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
853,
287,
5923,
14313,
8,
8614,
4574,
0,
7,
1503,
14313,
11,
1822,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
76,
4335,
420,
82,
7,
198,
220,
220,
220,
13103,
796,
685,
24941,
263,
11,
16854,
263,
33637,
11,
16854,
263,
15307,
7442,
4357,
198,
220,
220,
220,
5794,
796,
16854,
263,
13,
28656,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5765,
3424,
32336,
11,
4556,
3170,
355,
257,
366,
12001,
1,
1382,
198,
220,
220,
220,
220,
220,
220,
220,
2495,
6371,
82,
796,
5145,
7203,
12001,
1,
287,
5923,
14313,
828,
198,
220,
220,
220,
220,
220,
220,
220,
40091,
796,
366,
5450,
1378,
73,
32176,
324,
420,
82,
13,
12567,
13,
952,
14,
24941,
263,
13,
20362,
14,
31284,
14,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
6798,
796,
14631,
19668,
14,
69,
615,
4749,
13,
3713,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
23696,
796,
366,
34970,
12,
1485,
1899,
4531,
41734,
12,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
11330,
796,
14631,
88,
43695,
33116,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
3424,
796,
3991,
11,
198,
220,
220,
220,
1650,
12453,
796,
366,
24941,
263,
13,
20362,
1600,
198,
220,
220,
220,
7035,
796,
366,
13256,
367,
1032,
306,
11,
10788,
268,
13993,
571,
11129,
4352,
11,
290,
20420,
33283,
198,
220,
220,
220,
2792,
9122,
796,
5145,
7203,
20545,
489,
2973,
1,
287,
5923,
14313,
828,
198,
220,
220,
220,
5468,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16060,
1,
5218,
366,
9630,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5124,
723,
1,
5218,
4377,
58,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
47889,
1,
5218,
366,
805,
14,
41311,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
1069,
12629,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
1837,
41641,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
4598,
310,
3558,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
17660,
87,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7808,
7203,
805,
14,
4774,
278,
13,
9132,
1600,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
4774,
278,
14,
11152,
9579,
13,
9132,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
805,
14,
847,
12,
687,
1381,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12860,
7442,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23377,
1,
5218,
4377,
58,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15202,
1,
5218,
366,
8019,
14,
11377,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15865,
874,
1,
5218,
3975,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
4613,
366,
8019,
14,
23124,
874,
32624,
7,
82,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3297,
7,
961,
15908,
7,
22179,
6978,
7,
31,
834,
34720,
834,
11,
366,
10677,
14,
8019,
14,
23124,
874,
1,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3642,
2455,
278,
13,
9132,
1600,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
7646,
796,
5145,
7203,
301,
2012,
28,
9562,
1,
287,
5923,
14313,
828,
198,
220,
220,
220,
10412,
395,
796,
5855,
4598,
310,
395,
28,
8807,
1,
287,
5923,
14313,
8,
5633,
1058,
8807,
1058,
2081,
11,
198,
8,
198,
198,
2934,
1420,
31628,
7,
198,
220,
220,
220,
29924,
796,
366,
12567,
13,
785,
14,
16980,
544,
23579,
82,
14,
24941,
263,
13,
20362,
13,
18300,
1600,
198,
220,
220,
220,
2496,
796,
366,
11249,
1600,
198,
8,
198
] | 2.125571 | 876 |
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder
name = "at_spi2_core"
version = v"2.34.0"
# Collection of sources required to build at-spi2-core
sources = [
ArchiveSource("http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/$(version.major).$(version.minor)/at-spi2-core-$(version).tar.xz",
"d629cdbd674e539f8912028512af583990938c7b49e25184c126b00121ef11c6"),
]
# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/at-spi2-core-*/
mkdir build && cd build
# Get a local gettext for msgfmt cross-building
apk add gettext
meson .. --cross-file="${MESON_TARGET_TOOLCHAIN}" \
-Dintrospection=no \
-Dx11=yes \
-Dsystemd_user_dir=no
ninja -j${nproc}
ninja install
"""
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = [p for p in supported_platforms() if Sys.islinux(p) || Sys.isfreebsd(p)]
# The products that we will ensure are always built
products = [
LibraryProduct("libatspi", :libatspi),
]
# Dependencies that must be installed before this package can be built
dependencies = [
Dependency("Dbus_jll"),
Dependency("Glib_jll", v"2.59.0"; compat="2.59.0"),
Dependency("Xorg_libXtst_jll"),
]
# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies)
| [
2,
5740,
326,
428,
4226,
460,
2453,
617,
3614,
3141,
12,
1370,
7159,
11,
1057,
198,
2,
4600,
73,
43640,
1382,
62,
18870,
21591,
13,
20362,
1377,
16794,
63,
284,
766,
257,
8748,
3275,
13,
198,
3500,
45755,
32875,
198,
198,
3672,
796,
366,
265,
62,
2777,
72,
17,
62,
7295,
1,
198,
9641,
796,
410,
1,
17,
13,
2682,
13,
15,
1,
198,
198,
2,
12251,
286,
4237,
2672,
284,
1382,
379,
12,
2777,
72,
17,
12,
7295,
198,
82,
2203,
796,
685,
198,
220,
220,
220,
20816,
7416,
7203,
4023,
1378,
701,
79,
13,
4593,
462,
13,
2398,
14,
12984,
14,
4593,
462,
14,
82,
2203,
14,
265,
12,
2777,
72,
17,
12,
7295,
32624,
7,
9641,
13,
22478,
737,
3,
7,
9641,
13,
1084,
273,
20679,
265,
12,
2777,
72,
17,
12,
7295,
22799,
7,
9641,
737,
18870,
13,
87,
89,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
48602,
66,
9945,
67,
45385,
68,
20,
2670,
69,
4531,
10232,
2078,
25836,
1878,
3365,
28771,
2931,
2548,
66,
22,
65,
2920,
68,
1495,
22883,
66,
19420,
65,
405,
19244,
891,
1157,
66,
21,
12340,
198,
60,
198,
198,
2,
15743,
8364,
329,
2615,
1973,
477,
9554,
198,
12048,
796,
8246,
37811,
198,
10210,
720,
33249,
4303,
11598,
14,
10677,
15908,
14,
265,
12,
2777,
72,
17,
12,
7295,
12,
16208,
198,
28015,
15908,
1382,
11405,
22927,
1382,
198,
198,
2,
3497,
257,
1957,
651,
5239,
329,
31456,
69,
16762,
3272,
12,
16894,
198,
499,
74,
751,
651,
5239,
198,
198,
6880,
261,
11485,
1377,
19692,
12,
7753,
2625,
38892,
44,
1546,
1340,
62,
51,
46095,
62,
10468,
3535,
3398,
29833,
36786,
3467,
198,
220,
220,
220,
532,
35,
600,
305,
31308,
28,
3919,
3467,
198,
220,
220,
220,
532,
35,
87,
1157,
28,
8505,
3467,
198,
220,
220,
220,
532,
35,
10057,
67,
62,
7220,
62,
15908,
28,
3919,
198,
35073,
6592,
532,
73,
38892,
77,
36942,
92,
198,
35073,
6592,
2721,
198,
37811,
198,
198,
2,
2312,
389,
262,
9554,
356,
481,
1382,
329,
416,
4277,
11,
4556,
2252,
198,
2,
9554,
389,
3804,
287,
319,
262,
3141,
1627,
198,
24254,
82,
796,
685,
79,
329,
279,
287,
4855,
62,
24254,
82,
3419,
611,
311,
893,
13,
271,
23289,
7,
79,
8,
8614,
311,
893,
13,
4468,
631,
1443,
67,
7,
79,
15437,
198,
198,
2,
383,
3186,
326,
356,
481,
4155,
389,
1464,
3170,
198,
29498,
796,
685,
198,
220,
220,
220,
10074,
15667,
7203,
8019,
1381,
14415,
1600,
1058,
8019,
1381,
14415,
828,
198,
60,
198,
198,
2,
37947,
3976,
326,
1276,
307,
6589,
878,
428,
5301,
460,
307,
3170,
198,
45841,
3976,
796,
685,
198,
220,
220,
220,
37947,
1387,
7203,
35,
10885,
62,
73,
297,
12340,
198,
220,
220,
220,
37947,
1387,
7203,
38,
8019,
62,
73,
297,
1600,
410,
1,
17,
13,
3270,
13,
15,
8172,
8330,
2625,
17,
13,
3270,
13,
15,
12340,
198,
220,
220,
220,
37947,
1387,
7203,
55,
2398,
62,
8019,
55,
83,
301,
62,
73,
297,
12340,
198,
60,
198,
198,
2,
10934,
262,
13422,
21591,
11,
290,
5457,
257,
4600,
11249,
13,
20362,
63,
355,
880,
13,
198,
11249,
62,
18870,
21591,
7,
1503,
14313,
11,
1438,
11,
2196,
11,
4237,
11,
4226,
11,
9554,
11,
3186,
11,
20086,
8,
198
] | 2.701252 | 559 |
"""
function blowfish()
A blowfish.
```jldoctest
julia> cowsay("Bloop, bloop", cow=Cowsay.blowfish)
______________
< Bloop, bloop >
--------------
\\
\\
| .
. |L /|
_ . |\\ _| \\--+._/| .
/ ||\\| Y J ) / |/| ./
J |)'( | ` F`.'/
-<| F __ .-<
| / .-'. `. /-. L___
J \\ < \\ | | O\\|.-'
_J \\ .- \\/ O | | \\ |F
'-F -<_. \\ .-' `-' L__
__J _ _. >-' )._. |-'
`-|.' /_. \\_| F
/.- . _.<
/' /.' .' `\\
/L /' |/ _.-'-\\
/'J ___.---'\\|
|\\ .--' V | `. `
|/`. `-. `._)
/ .-.\\
VK \\ ( `\\
`.\\
```
"""
function blowfish(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
| .
. |L /|
_ . |\\ _| \\--+._/| .
/ ||\\| Y J ) / |/| ./
J |)'( | ` F`.'/
-<| F __ .-<
| / .-'. `. /-. L___
J \\ < \\ | | O\\|.-'
_J \\ .- \\/ O | | \\ |F
'-F -<_. \\ .-' `-' L__
__J _ _. >-' )._. |-'
`-|.' /_. \\_| F
/.- . _.<
/' /.' .' `\\
/L /' |/ _.-'-\\
/'J ___.---'\\|
|\\ .--' V | `. `
|/`. `-. `._)
/ .-.\\
VK \\ ( `\\
`.\\
"""
return the_cow
end
| [
37811,
198,
220,
220,
220,
2163,
6611,
11084,
3419,
198,
198,
32,
6611,
11084,
13,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
22575,
323,
7203,
3629,
11224,
11,
698,
11224,
1600,
9875,
28,
34,
1666,
323,
13,
48619,
11084,
8,
198,
220,
2602,
25947,
198,
27,
1086,
11224,
11,
698,
11224,
1875,
198,
220,
26171,
198,
220,
220,
26867,
198,
220,
220,
220,
26867,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
220,
220,
220,
764,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
220,
220,
930,
43,
220,
1220,
91,
198,
220,
220,
220,
220,
220,
220,
4808,
764,
930,
6852,
4808,
91,
26867,
44785,
13557,
14,
91,
764,
198,
220,
220,
220,
220,
220,
1220,
8614,
6852,
91,
575,
449,
220,
1267,
220,
220,
1220,
930,
14,
91,
24457,
198,
220,
220,
220,
220,
449,
220,
930,
33047,
7,
930,
220,
220,
220,
220,
220,
220,
220,
4600,
376,
63,
2637,
14,
198,
220,
220,
532,
27,
91,
220,
376,
220,
220,
220,
220,
220,
220,
220,
220,
11593,
220,
220,
220,
220,
764,
12,
27,
198,
220,
220,
220,
220,
930,
1220,
220,
220,
220,
220,
220,
220,
764,
12,
4458,
4600,
13,
220,
1220,
34507,
406,
17569,
198,
220,
220,
220,
220,
449,
26867,
220,
220,
220,
220,
220,
1279,
220,
220,
220,
26867,
220,
930,
930,
440,
6852,
91,
7874,
6,
198,
220,
220,
4808,
41,
26867,
220,
764,
12,
220,
220,
220,
3467,
11139,
440,
930,
930,
26867,
220,
930,
37,
198,
220,
705,
12,
37,
220,
532,
27,
44807,
220,
220,
220,
220,
26867,
220,
220,
764,
19355,
220,
4600,
19355,
406,
834,
198,
11593,
41,
220,
4808,
220,
220,
4808,
13,
220,
220,
220,
220,
1875,
19355,
220,
6739,
44807,
220,
220,
930,
19355,
198,
4600,
22831,
2637,
220,
220,
1220,
44807,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26867,
62,
91,
220,
220,
376,
198,
220,
220,
1220,
7874,
220,
220,
764,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
29847,
198,
220,
1220,
6,
220,
220,
220,
1220,
2637,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
6,
220,
4600,
6852,
198,
220,
220,
1220,
43,
220,
1220,
6,
220,
220,
930,
14,
220,
220,
220,
220,
220,
4808,
7874,
29001,
6852,
198,
220,
1220,
6,
41,
220,
220,
220,
220,
220,
220,
11593,
44807,
6329,
6,
6852,
91,
198,
220,
220,
220,
930,
6852,
220,
764,
438,
6,
569,
220,
930,
4600,
13,
4600,
198,
220,
220,
220,
930,
14,
44646,
4600,
34507,
220,
220,
220,
220,
4600,
13557,
8,
198,
220,
220,
220,
220,
220,
220,
1220,
764,
34507,
6852,
198,
45917,
220,
220,
220,
26867,
357,
220,
4600,
6852,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
13,
6852,
628,
198,
198,
15506,
63,
198,
37811,
198,
8818,
6611,
11084,
7,
26,
48418,
2625,
2238,
1600,
11880,
2625,
220,
33172,
6066,
2625,
6852,
4943,
198,
1169,
62,
8232,
796,
198,
37811,
198,
220,
220,
720,
2016,
912,
198,
220,
220,
220,
720,
2016,
912,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
220,
220,
220,
764,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
220,
220,
930,
43,
220,
1220,
91,
198,
220,
220,
220,
220,
220,
220,
4808,
764,
930,
6852,
4808,
91,
26867,
44785,
13557,
14,
91,
764,
198,
220,
220,
220,
220,
220,
1220,
8614,
6852,
91,
575,
449,
220,
1267,
220,
220,
1220,
930,
14,
91,
24457,
198,
220,
220,
220,
220,
449,
220,
930,
33047,
7,
930,
220,
220,
220,
220,
220,
220,
220,
4600,
376,
63,
2637,
14,
198,
220,
220,
532,
27,
91,
220,
376,
220,
220,
220,
220,
220,
220,
220,
220,
11593,
220,
220,
220,
220,
764,
12,
27,
198,
220,
220,
220,
220,
930,
1220,
220,
220,
220,
220,
220,
220,
764,
12,
4458,
4600,
13,
220,
1220,
34507,
406,
17569,
198,
220,
220,
220,
220,
449,
26867,
220,
220,
220,
220,
220,
1279,
220,
220,
220,
26867,
220,
930,
930,
440,
6852,
91,
7874,
6,
198,
220,
220,
4808,
41,
26867,
220,
764,
12,
220,
220,
220,
3467,
11139,
440,
930,
930,
26867,
220,
930,
37,
198,
220,
705,
12,
37,
220,
532,
27,
44807,
220,
220,
220,
220,
26867,
220,
220,
764,
19355,
220,
4600,
19355,
406,
834,
198,
11593,
41,
220,
4808,
220,
220,
4808,
13,
220,
220,
220,
220,
1875,
19355,
220,
6739,
44807,
220,
220,
930,
19355,
198,
4600,
22831,
2637,
220,
220,
1220,
44807,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26867,
62,
91,
220,
220,
376,
198,
220,
220,
1220,
7874,
220,
220,
764,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
29847,
198,
220,
1220,
6,
220,
220,
220,
1220,
2637,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
6,
220,
4600,
6852,
198,
220,
220,
1220,
43,
220,
1220,
6,
220,
220,
930,
14,
220,
220,
220,
220,
220,
4808,
7874,
29001,
6852,
198,
220,
1220,
6,
41,
220,
220,
220,
220,
220,
220,
11593,
44807,
6329,
6,
6852,
91,
198,
220,
220,
220,
930,
6852,
220,
764,
438,
6,
569,
220,
930,
4600,
13,
4600,
198,
220,
220,
220,
930,
14,
44646,
4600,
34507,
220,
220,
220,
220,
4600,
13557,
8,
198,
220,
220,
220,
220,
220,
220,
1220,
764,
34507,
6852,
198,
45917,
220,
220,
220,
26867,
357,
220,
4600,
6852,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
13,
6852,
198,
198,
37811,
198,
7783,
262,
62,
8232,
198,
437,
198
] | 1.505735 | 959 |
function PolynomialNutation(arg0::Vector{jdouble})
return PolynomialNutation((Vector{jdouble},), arg0)
end
function derivative(obj::PolynomialNutation, arg0::RealFieldElement)
return jcall(obj, "derivative", RealFieldElement, (RealFieldElement,), arg0)
end
function derivative(obj::PolynomialNutation, arg0::jdouble)
return jcall(obj, "derivative", jdouble, (jdouble,), arg0)
end
function value(obj::PolynomialNutation, arg0::RealFieldElement)
return jcall(obj, "value", RealFieldElement, (RealFieldElement,), arg0)
end
function value(obj::PolynomialNutation, arg0::jdouble)
return jcall(obj, "value", jdouble, (jdouble,), arg0)
end
| [
8818,
12280,
26601,
498,
45,
7094,
7,
853,
15,
3712,
38469,
90,
73,
23352,
30072,
198,
220,
220,
220,
1441,
12280,
26601,
498,
45,
7094,
19510,
38469,
90,
73,
23352,
5512,
828,
1822,
15,
8,
198,
437,
198,
198,
8818,
27255,
7,
26801,
3712,
34220,
26601,
498,
45,
7094,
11,
1822,
15,
3712,
15633,
15878,
20180,
8,
198,
220,
220,
220,
1441,
474,
13345,
7,
26801,
11,
366,
1082,
452,
876,
1600,
6416,
15878,
20180,
11,
357,
15633,
15878,
20180,
11,
828,
1822,
15,
8,
198,
437,
198,
198,
8818,
27255,
7,
26801,
3712,
34220,
26601,
498,
45,
7094,
11,
1822,
15,
3712,
73,
23352,
8,
198,
220,
220,
220,
1441,
474,
13345,
7,
26801,
11,
366,
1082,
452,
876,
1600,
474,
23352,
11,
357,
73,
23352,
11,
828,
1822,
15,
8,
198,
437,
198,
198,
8818,
1988,
7,
26801,
3712,
34220,
26601,
498,
45,
7094,
11,
1822,
15,
3712,
15633,
15878,
20180,
8,
198,
220,
220,
220,
1441,
474,
13345,
7,
26801,
11,
366,
8367,
1600,
6416,
15878,
20180,
11,
357,
15633,
15878,
20180,
11,
828,
1822,
15,
8,
198,
437,
198,
198,
8818,
1988,
7,
26801,
3712,
34220,
26601,
498,
45,
7094,
11,
1822,
15,
3712,
73,
23352,
8,
198,
220,
220,
220,
1441,
474,
13345,
7,
26801,
11,
366,
8367,
1600,
474,
23352,
11,
357,
73,
23352,
11,
828,
1822,
15,
8,
198,
437,
628
] | 2.885965 | 228 |
# unit test the bGrad
include("../src/DMD_Util.jl");
include("../src/DMD_Type.jl");
include("../src/DMD_Func.jl");
# Generate DMD Synthetic Data
#------------------------------------------------------------------------------
# dimensions
m = 100; # temporal dimension
n = 100; # spatial dimension
k = 3; # number of modes
T = Float64;
# generate data
X, t, at, Bt = simDMD(m, n, k, T; seed=123456);
# specify the loss
function lossFunc(r)
return sum(abs2, r)
end
#
function lossGrad(r)
conj!(r)
end
#
# Create object
#------------------------------------------------------------------------------
params = DMDParams(k, X, t, lossFunc, lossGrad);
#
# Initialize with true parameter
#------------------------------------------------------------------------------
copyto!(params.a, at);
copyto!(params.B, Bt);
#
# Evaluate bGrad
#------------------------------------------------------------------------------
Random.randn!(params.B);
#
err = aBFunc(params);
#
if err < 1e-6
println("aBFunc: OK");
else
println("aBFunc: Wrong, err: $err");
end
#
id = rand(1:params.n);
#
Random.randn!(params.b[id]);
#
err = abFunc(params, id);
#
if err < 1e-6
println("abFunc: OK");
else
println("abFunc: Wrong, err: $err");
end | [
2,
4326,
1332,
262,
275,
42731,
198,
198,
17256,
7203,
40720,
10677,
14,
35,
12740,
62,
18274,
346,
13,
20362,
15341,
198,
17256,
7203,
40720,
10677,
14,
35,
12740,
62,
6030,
13,
20362,
15341,
198,
17256,
7203,
40720,
10677,
14,
35,
12740,
62,
37,
19524,
13,
20362,
15341,
198,
198,
2,
2980,
378,
360,
12740,
26375,
6587,
6060,
198,
2,
10097,
26171,
198,
2,
15225,
198,
76,
796,
1802,
26,
220,
220,
220,
1303,
21964,
15793,
198,
77,
796,
1802,
26,
220,
220,
220,
1303,
21739,
15793,
198,
74,
796,
513,
26,
220,
220,
220,
220,
220,
1303,
1271,
286,
12881,
198,
51,
796,
48436,
2414,
26,
198,
2,
7716,
1366,
198,
55,
11,
256,
11,
379,
11,
347,
83,
796,
985,
35,
12740,
7,
76,
11,
299,
11,
479,
11,
309,
26,
9403,
28,
10163,
29228,
1776,
198,
2,
11986,
262,
2994,
198,
8818,
2994,
37,
19524,
7,
81,
8,
198,
197,
7783,
2160,
7,
8937,
17,
11,
374,
8,
198,
437,
198,
2,
198,
8818,
2994,
42731,
7,
81,
8,
198,
197,
1102,
73,
0,
7,
81,
8,
198,
437,
198,
2,
198,
2,
13610,
2134,
198,
2,
10097,
26171,
198,
37266,
796,
14848,
6322,
283,
4105,
7,
74,
11,
1395,
11,
256,
11,
2994,
37,
19524,
11,
2994,
42731,
1776,
198,
2,
198,
2,
20768,
1096,
351,
2081,
11507,
198,
2,
10097,
26171,
198,
30073,
1462,
0,
7,
37266,
13,
64,
11,
379,
1776,
198,
30073,
1462,
0,
7,
37266,
13,
33,
11,
347,
83,
1776,
198,
2,
198,
2,
26439,
4985,
275,
42731,
198,
2,
10097,
26171,
198,
29531,
13,
25192,
77,
0,
7,
37266,
13,
33,
1776,
198,
2,
198,
8056,
796,
257,
29499,
19524,
7,
37266,
1776,
198,
2,
198,
361,
11454,
1279,
352,
68,
12,
21,
198,
197,
35235,
7203,
64,
29499,
19524,
25,
7477,
15341,
198,
17772,
198,
197,
35235,
7203,
64,
29499,
19524,
25,
28843,
11,
11454,
25,
720,
8056,
15341,
198,
437,
198,
2,
198,
312,
796,
43720,
7,
16,
25,
37266,
13,
77,
1776,
198,
2,
198,
29531,
13,
25192,
77,
0,
7,
37266,
13,
65,
58,
312,
36563,
198,
2,
198,
8056,
796,
450,
37,
19524,
7,
37266,
11,
4686,
1776,
198,
2,
198,
361,
11454,
1279,
352,
68,
12,
21,
198,
197,
35235,
7203,
397,
37,
19524,
25,
7477,
15341,
198,
17772,
198,
197,
35235,
7203,
397,
37,
19524,
25,
28843,
11,
11454,
25,
720,
8056,
15341,
198,
437
] | 3.052239 | 402 |
using Documenter, JuliaDB, IndexedTables
@info "makedocs"
makedocs(
clean = true,
debug = true,
format = Documenter.HTML(),
sitename = "JuliaDB.jl",
pages = [
"index.md",
"basics.md",
"operations.md",
"joins.md",
"onlinestats.md",
"plotting.md",
"missing_values.md",
"out_of_core.md",
"ml.md",
"tutorial.md",
"api.md",
]
)
@info "deploydocs"
deploydocs(
repo = "github.com/JuliaComputing/JuliaDB.jl.git"
)
| [
3500,
16854,
263,
11,
22300,
11012,
11,
12901,
276,
51,
2977,
198,
198,
31,
10951,
366,
76,
4335,
420,
82,
1,
198,
76,
4335,
420,
82,
7,
198,
220,
220,
3424,
796,
2081,
11,
198,
220,
220,
14257,
796,
2081,
11,
198,
220,
220,
5794,
796,
16854,
263,
13,
28656,
22784,
198,
220,
220,
1650,
12453,
796,
366,
16980,
544,
11012,
13,
20362,
1600,
198,
220,
220,
5468,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9630,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12093,
873,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3575,
602,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7639,
1040,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
261,
2815,
395,
1381,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
29487,
889,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
45688,
62,
27160,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
62,
1659,
62,
7295,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4029,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
83,
44917,
13,
9132,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15042,
13,
9132,
1600,
198,
220,
220,
2361,
198,
8,
198,
198,
31,
10951,
366,
2934,
1420,
31628,
1,
198,
2934,
1420,
31628,
7,
198,
220,
220,
220,
29924,
796,
366,
12567,
13,
785,
14,
16980,
544,
5377,
48074,
14,
16980,
544,
11012,
13,
20362,
13,
18300,
1,
198,
8,
198
] | 1.890511 | 274 |
@doc raw"""
ProbabilitySimplex{n} <: AbstractEmbeddedManifold{ℝ,DefaultEmbeddingType}
The (relative interior of) the probability simplex is the set
````math
Δ^n := \biggl\{ p ∈ ℝ^{n+1}\ \big|\ p_i > 0 \text{ for all } i=1,…,n+1,
\text{ and } ⟨\mathbb{1},p⟩ = \sum_{i=1}^{n+1} p_i = 1\biggr\},
````
where $\mathbb{1}=(1,…,1)^{\mathrm{T}}∈ ℝ^{n+1}$ denotes the vector containing only ones.
This set is also called the unit simplex or standard simplex.
The tangent space is given by
````math
T_pΔ^n = \biggl\{ X ∈ ℝ^{n+1}\ \big|\ ⟨\mathbb{1},X⟩ = \sum_{i=1}^{n+1} X_i = 0 \biggr\}
````
The manifold is implemented assuming the Fisher-Rao metric for the multinomial distribution,
which is equivalent to the induced metric from isometrically embedding the probability
simplex in the $n$-sphere of radius 2.
The corresponding diffeomorphism $\varphi: \mathbb Δ^n → \mathcal N$,
where $\mathcal N \subset 2𝕊^n$ is given by $\varphi(p) = 2\sqrt{p}$.
This implementation follows the notation in [^ÅströmPetraSchmitzerSchnörr2017].
[^ÅströmPetraSchmitzerSchnörr2017]:
> F. Åström, S. Petra, B. Schmitzer, C. Schnörr: “Image Labeling by Assignment”,
> Journal of Mathematical Imaging and Vision, 58(2), pp. 221–238, 2017.
> doi: [10.1007/s10851-016-0702-4](https://doi.org/10.1007/s10851-016-0702-4)
> arxiv: [1603.05285](https://arxiv.org/abs/1603.05285).
"""
struct ProbabilitySimplex{n} <: AbstractEmbeddedManifold{ℝ,DefaultEmbeddingType} end
ProbabilitySimplex(n::Int) = ProbabilitySimplex{n}()
"""
SoftmaxRetraction <: AbstractRetractionMethod
Describes a retraction that is based on the softmax function.
"""
struct SoftmaxRetraction <: AbstractRetractionMethod end
"""
SoftmaxInverseRetraction <: AbstractInverseRetractionMethod
Describes an inverse retraction that is based on the softmax function.
"""
struct SoftmaxInverseRetraction <: AbstractInverseRetractionMethod end
"""
FisherRaoMetric <: Metric
The Fisher-Rao metric or Fisher information metric is a particular Riemannian metric which
can be defined on a smooth statistical manifold, i.e., a smooth manifold whose points are
probability measures defined on a common probability space.
See for example the [`ProbabilitySimplex`](@ref).
"""
struct FisherRaoMetric <: Metric end
"""
check_manifold_point(M::ProbabilitySimplex, p; kwargs...)
Check whether `p` is a valid point on the [`ProbabilitySimplex`](@ref) `M`, i.e. is a point in
the embedding with positive entries that sum to one
The tolerance for the last test can be set using the `kwargs...`.
"""
function check_manifold_point(M::ProbabilitySimplex, p; kwargs...)
mpv = invoke(
check_manifold_point,
Tuple{(typeof(get_embedding(M))),typeof(p)},
get_embedding(M),
p;
kwargs...,
)
mpv === nothing || return mpv
if minimum(p) <= 0
return DomainError(
minimum(p),
"The point $(p) does not lie on the $(M) since it has nonpositive entries.",
)
end
if !isapprox(sum(p), 1.0; kwargs...)
return DomainError(
sum(p),
"The point $(p) does not lie on the $(M) since its sum is not 1.",
)
end
return nothing
end
"""
check_tangent_vector(M::ProbabilitySimplex, p, X; check_base_point = true, kwargs... )
Check whether `X` is a tangent vector to `p` on the [`ProbabilitySimplex`](@ref) `M`, i.e.
after [`check_manifold_point`](@ref check_manifold_point(::ProbabilitySimplex, ::Any))`(M,p)`,
`X` has to be of same dimension as `p` and its elements have to sum to one.
The optional parameter `check_base_point` indicates, whether to call
[`check_manifold_point`](@ref check_manifold_point(::ProbabilitySimplex, ::Any)) for `p` or not.
The tolerance for the last test can be set using the `kwargs...`.
"""
function check_tangent_vector(M::ProbabilitySimplex, p, X; check_base_point=true, kwargs...)
if check_base_point
mpe = check_manifold_point(M, p; kwargs...)
mpe === nothing || return mpe
end
mpv = invoke(
check_tangent_vector,
Tuple{typeof(get_embedding(M)),typeof(p),typeof(X)},
get_embedding(M),
p,
X;
check_base_point=false, # already checked above
kwargs...,
)
mpv === nothing || return mpv
if !isapprox(sum(X), 0.0; kwargs...)
return DomainError(
sum(X),
"The vector $(X) is not a tangent vector to $(p) on $(M), since its elements to not sum up to 0.",
)
end
return nothing
end
decorated_manifold(M::ProbabilitySimplex) = Euclidean(representation_size(M)...; field=ℝ)
default_metric_dispatch(::ProbabilitySimplex, ::FisherRaoMetric) = Val(true)
@doc raw"""
distance(M,p,q)
Compute the distance between two points on the [`ProbabilitySimplex`](@ref) `M`.
The formula reads
````math
d_{Δ^n}(p,q) = 2\arccos \biggl( \sum_{i=1}^{n+1} \sqrt{p_i q_i} \biggr)
````
"""
function distance(::ProbabilitySimplex, p, q)
sumsqrt = zero(Base.promote_eltype(p, q))
@inbounds for i in eachindex(p, q)
sumsqrt += sqrt(p[i] * q[i])
end
return 2 * acos(sumsqrt)
end
@doc raw"""
exp(M::ProbabilitySimplex,p,X)
Compute the exponential map on the probability simplex.
````math
\exp_pX = \frac{1}{2}\Bigl(p+\frac{X_p^2}{\lVert X_p \rVert^2}\Bigr)
+ \frac{1}{2}\Bigl(p - \frac{X_p^2}{\lVert X_p \rVert^2}\Bigr)\cos(\lVert X_p\rVert)
+ \frac{1}{\lVert X_p \rVert}\sqrt{p}\sin(\lVert X_p\rVert),
````
where $X_p = \frac{X}{\sqrt{p}}$, with its division meant elementwise, as well as for the
operations $X_p^2$ and $\sqrt{p}$.
"""
exp(::ProbabilitySimplex, ::Any...)
function exp!(::ProbabilitySimplex, q, p, X)
s = sqrt.(p)
Xs = X ./ s ./ 2
θ = norm(Xs)
q .= (cos(θ) .* s .+ usinc(θ) .* Xs) .^ 2
return q
end
@doc raw"""
injectivity_radius(M,p)
compute the injectivity radius on the [`ProbabilitySimplex`](@ref) `M` at the point `p`,
i.e. the distanceradius to a point near/on the boundary, that could be reached by following the
geodesic.
"""
function injectivity_radius(::ProbabilitySimplex{n}, p) where {n}
i = argmin(p)
s = sum(p) - p[i]
return 2 * acos(sqrt(s))
end
function injectivity_radius(M::ProbabilitySimplex, p, ::ExponentialRetraction)
return injectivity_radius(M, p)
end
injectivity_radius(M::ProbabilitySimplex, p, ::SoftmaxRetraction) = injectivity_radius(M, p)
injectivity_radius(M::ProbabilitySimplex) = 0
injectivity_radius(M::ProbabilitySimplex, ::SoftmaxRetraction) = 0
injectivity_radius(M::ProbabilitySimplex, ::ExponentialRetraction) = 0
eval(
quote
@invoke_maker 1 Manifold injectivity_radius(
M::ProbabilitySimplex,
rm::AbstractRetractionMethod,
)
end,
)
@doc raw"""
inner(M::ProbabilitySimplex,p,X,Y)
Compute the inner product of two tangent vectors `X`, `Y` from the tangent space $T_pΔ^n$ at
`p`. The formula reads
````math
g_p(X,Y) = \sum_{i=1}^{n+1}\frac{X_iY_i}{p_i}
````
"""
function inner(::ProbabilitySimplex, p, X, Y)
d = zero(Base.promote_eltype(p, X, Y))
@inbounds for i in eachindex(p, X, Y)
d += X[i] * Y[i] / p[i]
end
return d
end
@doc raw"""
inverse_retract(M::ProbabilitySimplex, p, q, ::SoftmaxInverseRetraction)
Compute a first order approximation by projection. The formula reads
````math
\operatorname{retr}^{-1}_p q = \bigl( I_{n+1} - \frac{1}{n}\mathbb{1}^{n+1,n+1} \bigr)(\log(q)-\log(p))
````
where $\mathbb{1}^{m,n}$ is the size `(m,n)` matrix containing ones, and $\log$ is applied elementwise.
"""
inverse_retract(::ProbabilitySimplex, ::Any, ::Any, ::SoftmaxInverseRetraction)
function inverse_retract!(
::ProbabilitySimplex{n},
X,
p,
q,
::SoftmaxInverseRetraction,
) where {n}
X .= log.(q) .- log.(p)
meanlogdiff = mean(X)
X .-= meanlogdiff
return X
end
@doc raw"""
log(M::ProbabilitySimplex, p, q)
Compute the logarithmic map of `p` and `q` on the [`ProbabilitySimplex`](@ref) `M`.
````math
\log_pq = \frac{d_{Δ^n}(p,q)}{\sqrt{1-⟨\sqrt{p},\sqrt{q}⟩}}(\sqrt{pq} - ⟨\sqrt{p},\sqrt{q}⟩p),
````
where $pq$ and $\sqrt{p}$ is meant elementwise.
"""
log(::ProbabilitySimplex, ::Any...)
function log!(::ProbabilitySimplex, X, p, q)
if p ≈ q
fill!(X, 0)
else
z = sqrt.(p .* q)
s = sum(z)
X .= 2 * acos(s) / sqrt(1 - s^2) .* (z .- s .* p)
end
return X
end
@doc raw"""
manifold_dimension(M::ProbabilitySimplex{n})
Returns the manifold dimension of the probability simplex in $ℝ^{n+1}$, i.e.
````math
\dim_{Δ^n} = n.
````
"""
manifold_dimension(::ProbabilitySimplex{n}) where {n} = n
@doc raw"""
mean(
M::ProbabilitySimplex,
x::AbstractVector,
[w::AbstractWeights,]
method = GeodesicInterpolation();
kwargs...,
)
Compute the Riemannian [`mean`](@ref mean(M::Manifold, args...)) of `x` using
[`GeodesicInterpolation`](@ref).
"""
mean(::ProbabilitySimplex, ::Any...)
function Statistics.mean!(
M::ProbabilitySimplex,
p,
x::AbstractVector,
w::AbstractVector;
kwargs...,
)
return mean!(M, p, x, w, GeodesicInterpolation(); kwargs...)
end
@doc raw"""
project(M::ProbabilitySimplex, p, Y)
project `Y` from the embedding onto the tangent space at `p` on
the [`ProbabilitySimplex`](@ref) `M`. The formula reads
````math
\operatorname{proj}_{Δ^n}(p,Y) = Y - ⟨p,Y⟩p.
````
"""
project(::ProbabilitySimplex, ::Any, ::Any)
function project!(::ProbabilitySimplex, q, p)
if any(x -> x <= 0, p)
throw(
DomainError(
p,
"All coordinates of point from the embedding, that should be projected, must be positive, otherwise the projection is not well defined.",
),
)
end
q .= p ./ sum(p)
return q
end
function project!(::ProbabilitySimplex, X, p, Y)
X .= Y .- sum(Y) .* p
return X
end
@doc raw"""
representation_size(::ProbabilitySimplex{n})
return the representation size of points in the $n$-dimensional probability simplex,
i.e. an array size of `(n+1,)`.
"""
representation_size(::ProbabilitySimplex{n}) where {n} = (n + 1,)
@doc raw"""
retract(M::ProbabilitySimplex, p, X, ::SoftmaxRetraction)
Compute a first order approximation by applying the softmax function. The formula reads
````math
\operatorname{retr}_p X = \frac{p\mathrm{e}^X}{⟨p,\mathrm{e}^X⟩},
````
where multiplication, exponentiation and division are meant elementwise.
"""
retract(::ProbabilitySimplex, ::Any, ::Any, ::SoftmaxRetraction)
function retract!(::ProbabilitySimplex, q, p, X, ::SoftmaxRetraction)
s = zero(eltype(q))
@inbounds for i in eachindex(q, p, X)
q[i] = p[i] * exp(X[i])
s += q[i]
end
q ./= s
return q
end
function Base.show(io::IO, ::ProbabilitySimplex{n}) where {n}
return print(io, "ProbabilitySimplex($(n))")
end
@doc raw"""
zero_tangent_vector(M::ProbabilitySimplex,p)
returns the zero tangent vector in the tangent space of the point `p` from the
[`ProbabilitySimplex`](@ref) `M`, i.e. its representation by the zero vector in the embedding.
"""
zero_tangent_vector(::ProbabilitySimplex, ::Any)
zero_tangent_vector!(M::ProbabilitySimplex, v, p) = fill!(v, 0)
| [
31,
15390,
8246,
37811,
198,
220,
220,
220,
30873,
1799,
8890,
11141,
90,
77,
92,
1279,
25,
27741,
31567,
47238,
5124,
361,
727,
90,
158,
226,
251,
11,
19463,
31567,
6048,
278,
6030,
92,
198,
198,
464,
357,
43762,
11087,
286,
8,
262,
12867,
2829,
87,
318,
262,
900,
198,
33153,
11018,
198,
138,
242,
61,
77,
19039,
3467,
14261,
4743,
59,
90,
279,
18872,
230,
2343,
226,
251,
36796,
77,
10,
16,
32239,
3467,
14261,
91,
59,
279,
62,
72,
1875,
657,
3467,
5239,
90,
329,
477,
1782,
1312,
28,
16,
11,
1399,
11,
77,
10,
16,
11,
198,
59,
5239,
90,
290,
1782,
2343,
253,
101,
59,
11018,
11848,
90,
16,
5512,
79,
158,
253,
102,
796,
3467,
16345,
23330,
72,
28,
16,
92,
36796,
77,
10,
16,
92,
279,
62,
72,
796,
352,
59,
14261,
2164,
59,
5512,
198,
33153,
198,
3003,
39280,
11018,
11848,
90,
16,
92,
16193,
16,
11,
1399,
11,
16,
8,
61,
31478,
11018,
26224,
90,
51,
11709,
24861,
230,
2343,
226,
251,
36796,
77,
10,
16,
92,
3,
43397,
262,
15879,
7268,
691,
3392,
13,
198,
198,
1212,
900,
318,
635,
1444,
262,
4326,
2829,
87,
393,
3210,
2829,
87,
13,
198,
198,
464,
13875,
298,
2272,
318,
1813,
416,
198,
33153,
11018,
198,
51,
62,
79,
138,
242,
61,
77,
796,
3467,
14261,
4743,
59,
90,
1395,
18872,
230,
2343,
226,
251,
36796,
77,
10,
16,
32239,
3467,
14261,
91,
59,
2343,
253,
101,
59,
11018,
11848,
90,
16,
5512,
55,
158,
253,
102,
796,
3467,
16345,
23330,
72,
28,
16,
92,
36796,
77,
10,
16,
92,
1395,
62,
72,
796,
657,
3467,
14261,
2164,
59,
92,
198,
33153,
198,
198,
464,
48048,
318,
9177,
13148,
262,
14388,
12,
49,
5488,
18663,
329,
262,
1963,
259,
49070,
6082,
11,
198,
4758,
318,
7548,
284,
262,
18268,
18663,
422,
318,
908,
81,
1146,
11525,
12083,
262,
12867,
198,
14323,
11141,
287,
262,
720,
77,
3,
12,
2777,
1456,
286,
16874,
362,
13,
198,
464,
11188,
814,
68,
25831,
1042,
39280,
7785,
34846,
25,
3467,
11018,
11848,
37455,
61,
77,
15168,
3467,
11018,
9948,
399,
47113,
198,
3003,
39280,
11018,
9948,
399,
3467,
7266,
2617,
362,
47728,
243,
232,
61,
77,
3,
318,
1813,
416,
39280,
7785,
34846,
7,
79,
8,
796,
362,
59,
31166,
17034,
90,
79,
92,
35307,
198,
198,
1212,
7822,
5679,
262,
33274,
287,
685,
61,
127,
227,
2536,
9101,
76,
25803,
430,
14874,
2781,
9107,
50,
1349,
9101,
21062,
5539,
4083,
198,
198,
58,
61,
127,
227,
2536,
9101,
76,
25803,
430,
14874,
2781,
9107,
50,
1349,
9101,
21062,
5539,
5974,
198,
220,
220,
220,
1875,
376,
13,
6184,
227,
2536,
9101,
76,
11,
311,
13,
37285,
11,
347,
13,
3059,
2781,
9107,
11,
327,
13,
45606,
9101,
21062,
25,
564,
250,
5159,
3498,
10809,
416,
50144,
447,
251,
11,
198,
220,
220,
220,
1875,
4913,
286,
30535,
605,
48656,
290,
19009,
11,
7618,
7,
17,
828,
9788,
13,
31566,
1906,
23721,
11,
2177,
13,
198,
220,
220,
220,
1875,
23899,
25,
685,
940,
13,
44318,
14,
82,
15711,
4349,
12,
27037,
12,
15,
36680,
12,
19,
16151,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
44318,
14,
82,
15711,
4349,
12,
27037,
12,
15,
36680,
12,
19,
8,
198,
220,
220,
220,
1875,
610,
87,
452,
25,
685,
1433,
3070,
13,
2713,
26279,
16151,
5450,
1378,
283,
87,
452,
13,
2398,
14,
8937,
14,
1433,
3070,
13,
2713,
26279,
737,
198,
37811,
198,
7249,
30873,
1799,
8890,
11141,
90,
77,
92,
1279,
25,
27741,
31567,
47238,
5124,
361,
727,
90,
158,
226,
251,
11,
19463,
31567,
6048,
278,
6030,
92,
886,
198,
198,
2964,
65,
1799,
8890,
11141,
7,
77,
3712,
5317,
8,
796,
30873,
1799,
8890,
11141,
90,
77,
92,
3419,
198,
198,
37811,
198,
220,
220,
220,
8297,
9806,
9781,
7861,
1279,
25,
27741,
9781,
7861,
17410,
198,
198,
24564,
22090,
257,
1005,
7861,
326,
318,
1912,
319,
262,
2705,
9806,
2163,
13,
198,
37811,
198,
7249,
8297,
9806,
9781,
7861,
1279,
25,
27741,
9781,
7861,
17410,
886,
198,
198,
37811,
198,
220,
220,
220,
8297,
9806,
818,
4399,
9781,
7861,
1279,
25,
27741,
818,
4399,
9781,
7861,
17410,
198,
198,
24564,
22090,
281,
34062,
1005,
7861,
326,
318,
1912,
319,
262,
2705,
9806,
2163,
13,
198,
37811,
198,
7249,
8297,
9806,
818,
4399,
9781,
7861,
1279,
25,
27741,
818,
4399,
9781,
7861,
17410,
886,
198,
198,
37811,
198,
220,
220,
220,
14388,
49,
5488,
9171,
1173,
1279,
25,
3395,
1173,
198,
198,
464,
14388,
12,
49,
5488,
18663,
393,
14388,
1321,
18663,
318,
257,
1948,
371,
26597,
1236,
666,
18663,
543,
198,
5171,
307,
5447,
319,
257,
7209,
13905,
48048,
11,
1312,
13,
68,
1539,
257,
7209,
48048,
3025,
2173,
389,
198,
1676,
65,
1799,
5260,
5447,
319,
257,
2219,
12867,
2272,
13,
198,
198,
6214,
329,
1672,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
737,
198,
37811,
198,
7249,
14388,
49,
5488,
9171,
1173,
1279,
25,
3395,
1173,
886,
198,
198,
37811,
198,
220,
220,
220,
2198,
62,
805,
361,
727,
62,
4122,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
26,
479,
86,
22046,
23029,
198,
198,
9787,
1771,
4600,
79,
63,
318,
257,
4938,
966,
319,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
47671,
1312,
13,
68,
13,
318,
257,
966,
287,
198,
1169,
11525,
12083,
351,
3967,
12784,
326,
2160,
284,
530,
198,
464,
15621,
329,
262,
938,
1332,
460,
307,
900,
1262,
262,
4600,
46265,
22046,
986,
44646,
198,
37811,
198,
8818,
2198,
62,
805,
361,
727,
62,
4122,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
29034,
85,
796,
26342,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
805,
361,
727,
62,
4122,
11,
198,
220,
220,
220,
220,
220,
220,
220,
309,
29291,
90,
7,
4906,
1659,
7,
1136,
62,
20521,
12083,
7,
44,
4008,
828,
4906,
1659,
7,
79,
8,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
651,
62,
20521,
12083,
7,
44,
828,
198,
220,
220,
220,
220,
220,
220,
220,
279,
26,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
986,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
29034,
85,
24844,
2147,
8614,
1441,
29034,
85,
198,
220,
220,
220,
611,
5288,
7,
79,
8,
19841,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5288,
7,
79,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
464,
966,
29568,
79,
8,
857,
407,
6486,
319,
262,
29568,
44,
8,
1201,
340,
468,
1729,
24561,
12784,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
5145,
271,
1324,
13907,
7,
16345,
7,
79,
828,
352,
13,
15,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
79,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
464,
966,
29568,
79,
8,
857,
407,
6486,
319,
262,
29568,
44,
8,
1201,
663,
2160,
318,
407,
352,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
2198,
62,
83,
648,
298,
62,
31364,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
1395,
26,
2198,
62,
8692,
62,
4122,
796,
2081,
11,
479,
86,
22046,
986,
1267,
198,
198,
9787,
1771,
4600,
55,
63,
318,
257,
13875,
298,
15879,
284,
4600,
79,
63,
319,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
47671,
1312,
13,
68,
13,
198,
8499,
685,
63,
9122,
62,
805,
361,
727,
62,
4122,
63,
16151,
31,
5420,
2198,
62,
805,
361,
727,
62,
4122,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
4008,
63,
7,
44,
11,
79,
8,
47671,
198,
63,
55,
63,
468,
284,
307,
286,
976,
15793,
355,
4600,
79,
63,
290,
663,
4847,
423,
284,
2160,
284,
530,
13,
198,
464,
11902,
11507,
4600,
9122,
62,
8692,
62,
4122,
63,
9217,
11,
1771,
284,
869,
198,
58,
63,
9122,
62,
805,
361,
727,
62,
4122,
63,
16151,
31,
5420,
2198,
62,
805,
361,
727,
62,
4122,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
4008,
220,
329,
4600,
79,
63,
393,
407,
13,
198,
464,
15621,
329,
262,
938,
1332,
460,
307,
900,
1262,
262,
4600,
46265,
22046,
986,
44646,
198,
37811,
198,
8818,
2198,
62,
83,
648,
298,
62,
31364,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
1395,
26,
2198,
62,
8692,
62,
4122,
28,
7942,
11,
479,
86,
22046,
23029,
198,
220,
220,
220,
611,
2198,
62,
8692,
62,
4122,
198,
220,
220,
220,
220,
220,
220,
220,
285,
431,
796,
2198,
62,
805,
361,
727,
62,
4122,
7,
44,
11,
279,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
285,
431,
24844,
2147,
8614,
1441,
285,
431,
198,
220,
220,
220,
886,
198,
220,
220,
220,
29034,
85,
796,
26342,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
83,
648,
298,
62,
31364,
11,
198,
220,
220,
220,
220,
220,
220,
220,
309,
29291,
90,
4906,
1659,
7,
1136,
62,
20521,
12083,
7,
44,
36911,
4906,
1659,
7,
79,
828,
4906,
1659,
7,
55,
8,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
651,
62,
20521,
12083,
7,
44,
828,
198,
220,
220,
220,
220,
220,
220,
220,
279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
26,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
8692,
62,
4122,
28,
9562,
11,
1303,
1541,
10667,
2029,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
986,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
29034,
85,
24844,
2147,
8614,
1441,
29034,
85,
198,
220,
220,
220,
611,
5145,
271,
1324,
13907,
7,
16345,
7,
55,
828,
657,
13,
15,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
55,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
464,
15879,
29568,
55,
8,
318,
407,
257,
13875,
298,
15879,
284,
29568,
79,
8,
319,
29568,
44,
828,
1201,
663,
4847,
284,
407,
2160,
510,
284,
657,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
12501,
273,
515,
62,
805,
361,
727,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
8,
796,
48862,
485,
272,
7,
15603,
341,
62,
7857,
7,
44,
26513,
26,
2214,
28,
158,
226,
251,
8,
198,
198,
12286,
62,
4164,
1173,
62,
6381,
17147,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
37,
4828,
49,
5488,
9171,
1173,
8,
796,
3254,
7,
7942,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
5253,
7,
44,
11,
79,
11,
80,
8,
198,
198,
7293,
1133,
262,
5253,
1022,
734,
2173,
319,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
44646,
198,
464,
10451,
9743,
198,
33153,
11018,
198,
67,
23330,
138,
242,
61,
77,
92,
7,
79,
11,
80,
8,
796,
362,
59,
283,
535,
418,
3467,
14261,
4743,
7,
3467,
16345,
23330,
72,
28,
16,
92,
36796,
77,
10,
16,
92,
3467,
31166,
17034,
90,
79,
62,
72,
10662,
62,
72,
92,
3467,
14261,
2164,
8,
198,
33153,
198,
37811,
198,
8818,
5253,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
10662,
8,
198,
220,
220,
220,
21784,
80,
17034,
796,
6632,
7,
14881,
13,
16963,
1258,
62,
417,
4906,
7,
79,
11,
10662,
4008,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
287,
1123,
9630,
7,
79,
11,
10662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
21784,
80,
17034,
15853,
19862,
17034,
7,
79,
58,
72,
60,
1635,
10662,
58,
72,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
362,
1635,
936,
418,
7,
82,
5700,
80,
17034,
8,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
1033,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
79,
11,
55,
8,
198,
198,
7293,
1133,
262,
39682,
3975,
319,
262,
12867,
2829,
87,
13,
198,
198,
33153,
11018,
198,
59,
11201,
62,
79,
55,
796,
3467,
31944,
90,
16,
18477,
17,
32239,
12804,
75,
7,
79,
10,
59,
31944,
90,
55,
62,
79,
61,
17,
18477,
59,
75,
42369,
1395,
62,
79,
3467,
81,
42369,
61,
17,
32239,
33,
3692,
8,
198,
10,
3467,
31944,
90,
16,
18477,
17,
32239,
12804,
75,
7,
79,
532,
3467,
31944,
90,
55,
62,
79,
61,
17,
18477,
59,
75,
42369,
1395,
62,
79,
3467,
81,
42369,
61,
17,
32239,
33,
3692,
19415,
6966,
38016,
75,
42369,
1395,
62,
79,
59,
81,
42369,
8,
198,
10,
3467,
31944,
90,
16,
18477,
59,
75,
42369,
1395,
62,
79,
3467,
81,
42369,
32239,
31166,
17034,
90,
79,
32239,
31369,
38016,
75,
42369,
1395,
62,
79,
59,
81,
42369,
828,
198,
33153,
198,
198,
3003,
720,
55,
62,
79,
796,
3467,
31944,
90,
55,
18477,
59,
31166,
17034,
90,
79,
11709,
47113,
351,
663,
7297,
4001,
5002,
3083,
11,
355,
880,
355,
329,
262,
198,
3575,
602,
720,
55,
62,
79,
61,
17,
3,
290,
39280,
31166,
17034,
90,
79,
92,
35307,
198,
37811,
198,
11201,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
23029,
198,
198,
8818,
1033,
0,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
10662,
11,
279,
11,
1395,
8,
198,
220,
220,
220,
264,
796,
19862,
17034,
12195,
79,
8,
198,
220,
220,
220,
1395,
82,
796,
1395,
24457,
264,
24457,
362,
198,
220,
220,
220,
7377,
116,
796,
2593,
7,
55,
82,
8,
198,
220,
220,
220,
10662,
764,
28,
357,
6966,
7,
138,
116,
8,
764,
9,
264,
764,
10,
514,
1939,
7,
138,
116,
8,
764,
9,
1395,
82,
8,
764,
61,
362,
198,
220,
220,
220,
1441,
10662,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
8677,
3458,
62,
42172,
7,
44,
11,
79,
8,
198,
198,
5589,
1133,
262,
8677,
3458,
16874,
319,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
63,
379,
262,
966,
4600,
79,
47671,
198,
72,
13,
68,
13,
262,
1233,
8250,
324,
3754,
284,
257,
966,
1474,
14,
261,
262,
18645,
11,
326,
714,
307,
4251,
416,
1708,
262,
198,
469,
4147,
291,
13,
198,
37811,
198,
8818,
8677,
3458,
62,
42172,
7,
3712,
2964,
65,
1799,
8890,
11141,
90,
77,
5512,
279,
8,
810,
1391,
77,
92,
198,
220,
220,
220,
1312,
796,
1822,
1084,
7,
79,
8,
198,
220,
220,
220,
264,
796,
2160,
7,
79,
8,
532,
279,
58,
72,
60,
198,
220,
220,
220,
1441,
362,
1635,
936,
418,
7,
31166,
17034,
7,
82,
4008,
198,
437,
198,
8818,
8677,
3458,
62,
42172,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
7904,
16870,
35470,
9781,
7861,
8,
198,
220,
220,
220,
1441,
8677,
3458,
62,
42172,
7,
44,
11,
279,
8,
198,
437,
198,
259,
752,
3458,
62,
42172,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
7904,
18380,
9806,
9781,
7861,
8,
796,
8677,
3458,
62,
42172,
7,
44,
11,
279,
8,
198,
259,
752,
3458,
62,
42172,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
8,
796,
657,
198,
259,
752,
3458,
62,
42172,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
18380,
9806,
9781,
7861,
8,
796,
657,
198,
259,
752,
3458,
62,
42172,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
16870,
35470,
9781,
7861,
8,
796,
657,
198,
18206,
7,
198,
220,
220,
220,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
37669,
62,
10297,
352,
1869,
361,
727,
8677,
3458,
62,
42172,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
3712,
2964,
65,
1799,
8890,
11141,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42721,
3712,
23839,
9781,
7861,
17410,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
11,
198,
8,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
8434,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
79,
11,
55,
11,
56,
8,
198,
198,
7293,
1133,
262,
8434,
1720,
286,
734,
13875,
298,
30104,
4600,
55,
47671,
4600,
56,
63,
422,
262,
13875,
298,
2272,
720,
51,
62,
79,
138,
242,
61,
77,
3,
379,
198,
63,
79,
44646,
383,
10451,
9743,
198,
33153,
11018,
198,
70,
62,
79,
7,
55,
11,
56,
8,
796,
3467,
16345,
23330,
72,
28,
16,
92,
36796,
77,
10,
16,
32239,
31944,
90,
55,
62,
72,
56,
62,
72,
18477,
79,
62,
72,
92,
198,
33153,
198,
37811,
198,
8818,
8434,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
1395,
11,
575,
8,
198,
220,
220,
220,
288,
796,
6632,
7,
14881,
13,
16963,
1258,
62,
417,
4906,
7,
79,
11,
1395,
11,
575,
4008,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
287,
1123,
9630,
7,
79,
11,
1395,
11,
575,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
15853,
1395,
58,
72,
60,
1635,
575,
58,
72,
60,
1220,
279,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
288,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34062,
62,
1186,
974,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
10662,
11,
7904,
18380,
9806,
818,
4399,
9781,
7861,
8,
198,
198,
7293,
1133,
257,
717,
1502,
40874,
416,
20128,
13,
383,
10451,
9743,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
36796,
12,
16,
92,
62,
79,
10662,
796,
3467,
14261,
75,
7,
314,
23330,
77,
10,
16,
92,
532,
3467,
31944,
90,
16,
18477,
77,
32239,
11018,
11848,
90,
16,
92,
36796,
77,
10,
16,
11,
77,
10,
16,
92,
3467,
65,
3692,
5769,
59,
6404,
7,
80,
13219,
59,
6404,
7,
79,
4008,
198,
33153,
198,
3003,
39280,
11018,
11848,
90,
16,
92,
36796,
76,
11,
77,
92,
3,
318,
262,
2546,
4600,
7,
76,
11,
77,
8,
63,
17593,
7268,
3392,
11,
290,
39280,
6404,
3,
318,
5625,
5002,
3083,
13,
198,
37811,
198,
259,
4399,
62,
1186,
974,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
18380,
9806,
818,
4399,
9781,
7861,
8,
198,
198,
8818,
34062,
62,
1186,
974,
0,
7,
198,
220,
220,
220,
7904,
2964,
65,
1799,
8890,
11141,
90,
77,
5512,
198,
220,
220,
220,
1395,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
10662,
11,
198,
220,
220,
220,
7904,
18380,
9806,
818,
4399,
9781,
7861,
11,
198,
8,
810,
1391,
77,
92,
198,
220,
220,
220,
1395,
764,
28,
2604,
12195,
80,
8,
764,
12,
2604,
12195,
79,
8,
198,
220,
220,
220,
1612,
6404,
26069,
796,
1612,
7,
55,
8,
198,
220,
220,
220,
1395,
764,
12,
28,
1612,
6404,
26069,
198,
220,
220,
220,
1441,
1395,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
2604,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
10662,
8,
198,
198,
7293,
1133,
262,
2604,
283,
342,
9383,
3975,
286,
4600,
79,
63,
290,
4600,
80,
63,
319,
262,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
44646,
198,
198,
33153,
11018,
198,
59,
6404,
62,
79,
80,
796,
3467,
31944,
90,
67,
23330,
138,
242,
61,
77,
92,
7,
79,
11,
80,
8,
18477,
59,
31166,
17034,
90,
16,
12,
158,
253,
101,
59,
31166,
17034,
90,
79,
5512,
59,
31166,
17034,
90,
80,
92,
158,
253,
102,
11709,
38016,
31166,
17034,
90,
79,
80,
92,
532,
2343,
253,
101,
59,
31166,
17034,
90,
79,
5512,
59,
31166,
17034,
90,
80,
92,
158,
253,
102,
79,
828,
198,
33153,
198,
198,
3003,
720,
79,
80,
3,
290,
39280,
31166,
17034,
90,
79,
92,
3,
318,
4001,
5002,
3083,
13,
198,
37811,
198,
6404,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
23029,
198,
198,
8818,
2604,
0,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
1395,
11,
279,
11,
10662,
8,
198,
220,
220,
220,
611,
279,
15139,
230,
10662,
198,
220,
220,
220,
220,
220,
220,
220,
6070,
0,
7,
55,
11,
657,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
796,
19862,
17034,
12195,
79,
764,
9,
10662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
264,
796,
2160,
7,
89,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
764,
28,
362,
1635,
936,
418,
7,
82,
8,
1220,
19862,
17034,
7,
16,
532,
264,
61,
17,
8,
764,
9,
357,
89,
764,
12,
264,
764,
9,
279,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1395,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
48048,
62,
46156,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
90,
77,
30072,
198,
198,
35561,
262,
48048,
15793,
286,
262,
12867,
2829,
87,
287,
720,
158,
226,
251,
36796,
77,
10,
16,
92,
47113,
1312,
13,
68,
13,
198,
33153,
11018,
198,
220,
220,
220,
3467,
27740,
23330,
138,
242,
61,
77,
92,
796,
299,
13,
198,
33153,
198,
37811,
198,
805,
361,
727,
62,
46156,
7,
3712,
2964,
65,
1799,
8890,
11141,
90,
77,
30072,
810,
1391,
77,
92,
796,
299,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
1612,
7,
198,
220,
220,
220,
220,
220,
220,
220,
337,
3712,
2964,
65,
1799,
8890,
11141,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
3712,
23839,
38469,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
86,
3712,
23839,
1135,
2337,
11,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2446,
796,
2269,
4147,
291,
9492,
16104,
341,
9783,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
986,
11,
198,
220,
220,
220,
1267,
198,
198,
7293,
1133,
262,
371,
26597,
1236,
666,
685,
63,
32604,
63,
16151,
31,
5420,
1612,
7,
44,
3712,
5124,
361,
727,
11,
26498,
986,
4008,
286,
4600,
87,
63,
1262,
198,
58,
63,
10082,
4147,
291,
9492,
16104,
341,
63,
16151,
31,
5420,
737,
198,
37811,
198,
32604,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
23029,
198,
198,
8818,
14370,
13,
32604,
0,
7,
198,
220,
220,
220,
337,
3712,
2964,
65,
1799,
8890,
11141,
11,
198,
220,
220,
220,
279,
11,
198,
220,
220,
220,
2124,
3712,
23839,
38469,
11,
198,
220,
220,
220,
266,
3712,
23839,
38469,
26,
198,
220,
220,
220,
479,
86,
22046,
986,
11,
198,
8,
198,
220,
220,
220,
1441,
1612,
0,
7,
44,
11,
279,
11,
2124,
11,
266,
11,
2269,
4147,
291,
9492,
16104,
341,
9783,
479,
86,
22046,
23029,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
1628,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
575,
8,
198,
198,
16302,
4600,
56,
63,
422,
262,
11525,
12083,
4291,
262,
13875,
298,
2272,
379,
4600,
79,
63,
319,
198,
1169,
685,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
44646,
383,
10451,
9743,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1676,
73,
92,
23330,
138,
242,
61,
77,
92,
7,
79,
11,
56,
8,
796,
575,
532,
2343,
253,
101,
79,
11,
56,
158,
253,
102,
79,
13,
198,
33153,
198,
37811,
198,
16302,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
11,
7904,
7149,
8,
198,
198,
8818,
1628,
0,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
10662,
11,
279,
8,
198,
220,
220,
220,
611,
597,
7,
87,
4613,
2124,
19841,
657,
11,
279,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20021,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3237,
22715,
286,
966,
422,
262,
11525,
12083,
11,
326,
815,
307,
13301,
11,
1276,
307,
3967,
11,
4306,
262,
20128,
318,
407,
880,
5447,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
220,
220,
220,
10662,
764,
28,
279,
24457,
2160,
7,
79,
8,
198,
220,
220,
220,
1441,
10662,
198,
437,
198,
198,
8818,
1628,
0,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
1395,
11,
279,
11,
575,
8,
198,
220,
220,
220,
1395,
764,
28,
575,
764,
12,
2160,
7,
56,
8,
764,
9,
279,
198,
220,
220,
220,
1441,
1395,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
10552,
62,
7857,
7,
3712,
2964,
65,
1799,
8890,
11141,
90,
77,
30072,
198,
198,
7783,
262,
10552,
2546,
286,
2173,
287,
262,
720,
77,
3,
12,
19577,
12867,
2829,
87,
11,
198,
72,
13,
68,
13,
281,
7177,
2546,
286,
4600,
7,
77,
10,
16,
35751,
44646,
198,
37811,
198,
15603,
341,
62,
7857,
7,
3712,
2964,
65,
1799,
8890,
11141,
90,
77,
30072,
810,
1391,
77,
92,
796,
357,
77,
1343,
352,
35751,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
34449,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
279,
11,
1395,
11,
7904,
18380,
9806,
9781,
7861,
8,
198,
198,
7293,
1133,
257,
717,
1502,
40874,
416,
11524,
262,
2705,
9806,
2163,
13,
383,
10451,
9743,
198,
198,
33153,
11018,
198,
59,
3575,
265,
1211,
480,
90,
1186,
81,
92,
62,
79,
1395,
796,
3467,
31944,
90,
79,
59,
11018,
26224,
90,
68,
92,
61,
55,
18477,
158,
253,
101,
79,
11,
59,
11018,
26224,
90,
68,
92,
61,
55,
158,
253,
102,
5512,
198,
33153,
198,
198,
3003,
48473,
11,
28622,
3920,
290,
7297,
389,
4001,
5002,
3083,
13,
198,
37811,
198,
1186,
974,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
11,
7904,
7149,
11,
7904,
18380,
9806,
9781,
7861,
8,
198,
198,
8818,
34449,
0,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
10662,
11,
279,
11,
1395,
11,
7904,
18380,
9806,
9781,
7861,
8,
198,
220,
220,
220,
264,
796,
6632,
7,
417,
4906,
7,
80,
4008,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
287,
1123,
9630,
7,
80,
11,
279,
11,
1395,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
58,
72,
60,
796,
279,
58,
72,
60,
1635,
1033,
7,
55,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
264,
15853,
10662,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
10662,
24457,
28,
264,
198,
220,
220,
220,
1441,
10662,
198,
437,
198,
198,
8818,
7308,
13,
12860,
7,
952,
3712,
9399,
11,
7904,
2964,
65,
1799,
8890,
11141,
90,
77,
30072,
810,
1391,
77,
92,
198,
220,
220,
220,
1441,
3601,
7,
952,
11,
366,
2964,
65,
1799,
8890,
11141,
16763,
7,
77,
4008,
4943,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
6632,
62,
83,
648,
298,
62,
31364,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
79,
8,
198,
198,
7783,
82,
262,
6632,
13875,
298,
15879,
287,
262,
13875,
298,
2272,
286,
262,
966,
4600,
79,
63,
220,
422,
262,
198,
58,
63,
2964,
65,
1799,
8890,
11141,
63,
16151,
31,
5420,
8,
4600,
44,
47671,
1312,
13,
68,
13,
663,
10552,
416,
262,
6632,
15879,
287,
262,
11525,
12083,
13,
198,
37811,
198,
22570,
62,
83,
648,
298,
62,
31364,
7,
3712,
2964,
65,
1799,
8890,
11141,
11,
7904,
7149,
8,
198,
198,
22570,
62,
83,
648,
298,
62,
31364,
0,
7,
44,
3712,
2964,
65,
1799,
8890,
11141,
11,
410,
11,
279,
8,
796,
6070,
0,
7,
85,
11,
657,
8,
198
] | 2.355914 | 4,768 |
# create an index for id6
import Base.ht_keyindex
import Base.ht_keyindex2
function buildindex_iter{T}(val::Vector{T})
index = zeros(Int64, length(val))
for (i,v) in enumerate(val)
dindex = ht_keyindex2(index, v)
end
return index
end
function sumby_index{T,S}(index::Dict{T, Vector{Int64}}, val::Vector{S})
return Dict{T,S}(k => sum(val[index[k]]) for k in keys(index))
end
@time iid4_iter = buildindex_iter(id4); #9
@time sumby_index(iid4_iter, v1); #8
@time sumby_index(iid4_iter, v1); #8
@time iid6_iter = buildindex_iter(id6); #259
@time sumby_index(iid6, v1); # 30.93
@time sumby_index(iid6, v3); #26.7
| [
2,
2251,
281,
6376,
329,
4686,
21,
198,
11748,
7308,
13,
4352,
62,
2539,
9630,
198,
11748,
7308,
13,
4352,
62,
2539,
9630,
17,
198,
198,
8818,
1382,
9630,
62,
2676,
90,
51,
92,
7,
2100,
3712,
38469,
90,
51,
30072,
198,
220,
6376,
796,
1976,
27498,
7,
5317,
2414,
11,
4129,
7,
2100,
4008,
628,
220,
329,
357,
72,
11,
85,
8,
287,
27056,
378,
7,
2100,
8,
198,
220,
220,
220,
288,
9630,
796,
289,
83,
62,
2539,
9630,
17,
7,
9630,
11,
410,
8,
628,
220,
886,
198,
220,
1441,
6376,
198,
437,
198,
198,
8818,
2160,
1525,
62,
9630,
90,
51,
11,
50,
92,
7,
9630,
3712,
35,
713,
90,
51,
11,
20650,
90,
5317,
2414,
92,
5512,
1188,
3712,
38469,
90,
50,
30072,
198,
220,
1441,
360,
713,
90,
51,
11,
50,
92,
7,
74,
5218,
2160,
7,
2100,
58,
9630,
58,
74,
11907,
8,
329,
479,
287,
8251,
7,
9630,
4008,
198,
437,
198,
198,
31,
2435,
1312,
312,
19,
62,
2676,
796,
1382,
9630,
62,
2676,
7,
312,
19,
1776,
1303,
24,
198,
31,
2435,
2160,
1525,
62,
9630,
7,
72,
312,
19,
62,
2676,
11,
410,
16,
1776,
1303,
23,
198,
31,
2435,
2160,
1525,
62,
9630,
7,
72,
312,
19,
62,
2676,
11,
410,
16,
1776,
220,
1303,
23,
198,
198,
31,
2435,
1312,
312,
21,
62,
2676,
796,
1382,
9630,
62,
2676,
7,
312,
21,
1776,
220,
1303,
25191,
198,
31,
2435,
2160,
1525,
62,
9630,
7,
72,
312,
21,
11,
410,
16,
1776,
1303,
1542,
13,
6052,
198,
31,
2435,
2160,
1525,
62,
9630,
7,
72,
312,
21,
11,
410,
18,
1776,
1303,
2075,
13,
22,
198
] | 2.266187 | 278 |
abstract type AbstractWakeDeflectionModel end
"""
GaussYawDeflection(horizontal_spread_rate, vertical_spread_rate, alpha_star, beta_star)
Container for parameters related to the Gaussian deflection model presented by Bastankhah and Porte-Agel 2016
# Arguments
- `horizontal_spread_rate::Float`: parameter controlling the horizontal spread of the deficit model. Default value is 0.022.
- `vertical_spread_rate::Float`: parameter controlling the vertical spread of the deficit model. Default value is 0.022.
- `alpha_star::Float`: parameter controlling the impact of turbulence intensity on the length of the near wake. Default value is 2.32.
- `beta_star::Float`: parameter controlling the impact of the thrust coefficient on the length of the near wake. Default value is 0.154.
"""
struct GaussYawDeflection{TF} <: AbstractWakeDeflectionModel
horizontal_spread_rate::TF
vertical_spread_rate::TF
alpha_star::TF
beta_star::TF
end
GaussYawDeflection() = GaussYawDeflection(0.022, 0.022, 2.32, 0.154)
"""
GaussYawDeflectionVariableSpread(alpha_star, beta_star, k1, k2, wec_factor)
Container for parameters related to the Gaussian deflection model with yaw presented by Bastankhah and Porte-Agel 2016
# Arguments
- `alpha_star::Float`: parameter controlling the impact of turbulence intensity on the length of the near wake. Default value is 2.32.
- `beta_star::Float`: parameter controlling the impact of the thrust coefficient on the length of the near wake. Default value is 0.154.
- `k1::Float`: first parameter tuning wake spread as based on turbulence intensity
- `k2::Float`: second parameter tuning wake spread as based on turbulence intensity
"""
struct GaussYawVariableSpreadDeflection{TF} <: AbstractWakeDeflectionModel
alpha_star::TF
beta_star::TF
k1::TF
k2::TF
end
GaussYawVariableSpreadDeflection() = GaussYawVariableSpreadDeflection(2.32, 0.154, 0.3837, 0.003678)
GaussYawVariableSpreadDeflection(x, y) = GaussYawVariableSpreadDeflection(x, y, 0.3837, 0.003678)
"""
JiminezYawDeflection(horizontal_spread_rate)
Container for parameters related to the Jiminez deflection model
# Arguments
- `horizontal_spread_rate::Float`: parameter controlling the wake spreading rate and deficit decay. Default value is 0.1
"""
struct JiminezYawDeflection{TF} <: AbstractWakeDeflectionModel
horizontal_spread_rate::TF
end
JiminezYawDeflection() = JiminezYawDeflection(0.1)
"""
MultizoneDeflection(horizontal_spread_rate)
Container for parameters related to the Jiminez deflection model
# Arguments
- `horizontal_spread_rate::Float`: parameter controlling the wake spreading rate and deficit decay. Default value is 0.1
- `ad::Float`:Helps define the horizontal deflection of the wake at 0 deg yaw
- `bd::Float`:Helps define the horizontal deflection of the wake due to downwind distance at 0 deg yaw
"""
struct MultizoneDeflection{TF} <: AbstractWakeDeflectionModel
horizontal_spread_rate::TF
ad::TF
bd::TF
end
MultizoneDeflection() = MultizoneDeflection(0.15, -4.5, -0.01)
"""
wake_deflection_model(locx, locy, locz, turbine_id, turbine_definition::TurbineDefinition, model::JiminezYawDeflection, windfarmstate::SingleWindFarmState)
Calculates the horizontal deflection of the wind turbine wake
Based on:
[1] Jiminez 2010 "Wake defl ection of a wind turbine in yaw"
[2] Gebraad 2014 "Wind plant optimization by yaw control using a parametric wake model"
this version ignores the corrections made to the yaw model for rotor rotation as described in [2] and
[3] Thomas 2017 "Improving the FLORIS wind plant model for compatibility with gradient-based optimization"
"""
function wake_deflection_model(locx, locy, locz, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::JiminezYawDeflection)
dx = locx-turbine_x[turbine_id]
yaw = -turbine_yaw[turbine_id] # Jiminez used opposite rotation convention, hence (-) sign
ct = turbine_ct[turbine_id]
diam = rotor_diameter[turbine_id]
kd = model.horizontal_spread_rate
initial_yaw_angle = 0.5*((cos(yaw))^2)*sin(yaw)*ct # [1] eq. 20, [2] eq. 8
# [2] eq. 10
a = 2.0*kd*dx/diam + 1.0
b = initial_yaw_angle*(15.0*a^4+initial_yaw_angle^2)
c = (30.0*kd/diam)*a^5
d = initial_yaw_angle*diam*(15.0 + initial_yaw_angle^2)
e = 30.0*kd
y_deflection = b/c - d/e
return y_deflection
end
"""
wake_deflection_model(locx, locy, locz, turbine_id, turbine_definition::TurbineDefinition, model::MultizoneDeflection, windfarmstate::SingleWindFarmState)
Calculates the horizontal deflection of the wind turbine wake accounting for both yaw and rotational deflection
Based on:
[1] Jiminez 2010 "Wake defl ection of a wind turbine in yaw"
[2] Gebraad 2014 "Wind plant optimization by yaw control using a parametric wake model"
this version ignores the corrections made to the yaw model for rotor rotation as described in [2] and
[3] Thomas 2017 "Improving the FLORIS wind plant model for compatibility with gradient-based optimization"
"""
function wake_deflection_model(locx, locy, locz, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::MultizoneDeflection)
dx = locx-turbine_x[turbine_id]
yaw = -turbine_yaw[turbine_id] # Jiminez used opposite rotation convention, hence (-) sign
ct = turbine_ct[turbine_id]
diam = rotor_diameter[turbine_id]
kd = model.horizontal_spread_rate
ad = model.ad
bd = model.bd
initial_yaw_angle = 0.5*((cos(yaw))^2)*sin(yaw)*ct # [1] eq. 20, [2] eq. 8
# [2] eq. 10
a = 2.0*kd*dx/diam + 1.0
b = initial_yaw_angle*(15.0*a^4+initial_yaw_angle^2)
c = (30.0*kd/diam)*a^5
d = initial_yaw_angle*diam*(15.0 + initial_yaw_angle^2)
e = 30.0*kd
# [2] eq. 10, 11, and 12 define deflection
yaw_deflection = b/c - d/e
rotation_deflection = ad + bd*(dx)
y_deflection = -1*(yaw_deflection + rotation_deflection)
return y_deflection
end
function _bpa_theta_0(yaw, ct)
theta0 = (0.3*yaw/cos(yaw))*(1.0-sqrt(1.0-ct*cos(yaw)))
return theta0
end
function _bpa_deflection(diam, ct, yaw, ky, kz, sigmay, sigmaz, theta0, x0)
a = theta0*x0/diam
b = (theta0/14.7)*sqrt(cos(yaw)/(ky*kz*ct))*(2.9-1.3*sqrt(1.0-ct)-ct)
c = (1.6+sqrt(ct))*(1.6*sqrt(8.0*sigmay*sigmaz/(cos(yaw)*diam^2))-ct)
d = (1.6-sqrt(ct))*(1.6*sqrt(8.0*sigmay*sigmaz/(cos(yaw)*diam^2))+ct)
y_deflection = diam*(a+b*log(c/d))
return y_deflection
end
"""
wake_deflection_model(locx, locy, locz, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::GaussYawDeflection)
Calculates the horizontal deflection of the wind turbine wake
Based on:
[1] Bastankhah and Porte-Agel 2016 "Experimental and theoretical study of
wind turbine wakes in yawed conditions"
"""
function wake_deflection_model(locx, locy, locz, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::GaussYawDeflection)
dx = locx-turbine_x[turbine_id]
yaw = turbine_yaw[turbine_id]
ct = turbine_ct[turbine_id]
diam = rotor_diameter[turbine_id]
ti = turbine_local_ti[turbine_id]
as = model.alpha_star
bs = model.beta_star
ky = model.horizontal_spread_rate
kz = model.vertical_spread_rate
# [1] eqn 6.12
theta0 = _bpa_theta_0(yaw, ct)
# [1] eqn 7.4
x0 = _gauss_yaw_potential_core(diam, yaw, ct, as, ti, bs)
# calculate the discontinuity point of the gauss yaw model
xd = _gauss_yaw_discontinuity(diam, x0, ky, kz, yaw, ct)
# calculate horizontal wake spread (paper eq: 7.2)
sigmay = _gauss_yaw_spread_interpolated(diam, ky, dx, x0, yaw, xd)
# calculate vertical wake spread (paper eq: 7.2)
sigmaz = _gauss_yaw_spread_interpolated(diam, kz, dx, x0, 0.0, xd)
y_deflection = _bpa_deflection(diam, ct, yaw, ky, kz, sigmay, sigmaz, theta0, x0)
return y_deflection
end
"""
wake_deflection_model(oc, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::GaussYawVariableSpreadDeflection)
Calculates the horizontal deflection of the wind turbine wake. Varies based on local turbulence intensity.
Based on:
[1] Bastankhah and Porte-Agel 2016 "Experimental and theoretical study of
wind turbine wakes in yawed conditions"
[2] Niayifar and Porte-Agel 2016 "Analytical Modeling of Wind Farms:
A New Approach for Power Prediction"
"""
function wake_deflection_model(locx, locy, locz, turbine_x, turbine_yaw, turbine_ct, turbine_id, rotor_diameter, turbine_local_ti, model::GaussYawVariableSpreadDeflection)
dx = locx-turbine_x[turbine_id]
yaw = turbine_yaw[turbine_id]
ct = turbine_ct[turbine_id]
dt = rotor_diameter[turbine_id]
ti = turbine_local_ti[turbine_id]
as = model.alpha_star
bs = model.beta_star
# [2] calculate wake spread based on local turbulence intensity
ky = kz = _k_star_func(ti, model.k1, model.k2)
# [1] eqn 6.12 initial wake angle
theta0 = _bpa_theta_0(yaw, ct)
# [1] eqn 7.4
x0 = _gauss_yaw_potential_core(dt, yaw, ct, as, ti, bs)
# calculate the discontinuity point of the gauss yaw model
xd = _gauss_yaw_discontinuity(dt, x0, ky, kz, yaw, ct)
# calculate horizontal wake spread (paper eq: 7.2)
sigma_y = _gauss_yaw_spread_interpolated(dt, ky, dx, x0, yaw, xd)
# calculate vertical wake spread (paper eq: 7.2)
sigma_z = _gauss_yaw_spread_interpolated(dt, kz, dx, x0, 0.0, xd)
# finally, calculate deflection
y_deflection = _bpa_deflection(dt, ct, yaw, ky, kz, sigma_y, sigma_z, theta0, x0)
return y_deflection
end | [
397,
8709,
2099,
27741,
54,
539,
7469,
1564,
17633,
886,
198,
198,
37811,
198,
220,
220,
220,
12822,
1046,
56,
707,
7469,
1564,
7,
17899,
38342,
62,
43639,
62,
4873,
11,
11723,
62,
43639,
62,
4873,
11,
17130,
62,
7364,
11,
12159,
62,
7364,
8,
198,
198,
29869,
329,
10007,
3519,
284,
262,
12822,
31562,
825,
1564,
2746,
5545,
416,
17520,
962,
71,
993,
290,
4347,
68,
12,
10262,
417,
1584,
198,
198,
2,
20559,
2886,
198,
12,
4600,
17899,
38342,
62,
43639,
62,
4873,
3712,
43879,
63,
25,
11507,
12755,
262,
16021,
4104,
286,
262,
11807,
2746,
13,
15161,
1988,
318,
657,
13,
44087,
13,
198,
12,
4600,
1851,
605,
62,
43639,
62,
4873,
3712,
43879,
63,
25,
11507,
12755,
262,
11723,
4104,
286,
262,
11807,
2746,
13,
15161,
1988,
318,
657,
13,
44087,
13,
198,
12,
4600,
26591,
62,
7364,
3712,
43879,
63,
25,
11507,
12755,
262,
2928,
286,
47741,
12245,
319,
262,
4129,
286,
262,
1474,
7765,
13,
15161,
1988,
318,
362,
13,
2624,
13,
198,
12,
4600,
31361,
62,
7364,
3712,
43879,
63,
25,
11507,
12755,
262,
2928,
286,
262,
14613,
35381,
319,
262,
4129,
286,
262,
1474,
7765,
13,
15161,
1988,
318,
657,
13,
21526,
13,
198,
37811,
198,
7249,
12822,
1046,
56,
707,
7469,
1564,
90,
10234,
92,
1279,
25,
27741,
54,
539,
7469,
1564,
17633,
198,
220,
220,
220,
16021,
62,
43639,
62,
4873,
3712,
10234,
198,
220,
220,
220,
11723,
62,
43639,
62,
4873,
3712,
10234,
198,
220,
220,
220,
17130,
62,
7364,
3712,
10234,
198,
220,
220,
220,
12159,
62,
7364,
3712,
10234,
198,
437,
198,
35389,
1046,
56,
707,
7469,
1564,
3419,
796,
12822,
1046,
56,
707,
7469,
1564,
7,
15,
13,
44087,
11,
657,
13,
44087,
11,
362,
13,
2624,
11,
657,
13,
21526,
8,
198,
198,
37811,
198,
220,
220,
220,
12822,
1046,
56,
707,
7469,
1564,
43015,
44458,
7,
26591,
62,
7364,
11,
12159,
62,
7364,
11,
479,
16,
11,
479,
17,
11,
356,
66,
62,
31412,
8,
198,
198,
29869,
329,
10007,
3519,
284,
262,
12822,
31562,
825,
1564,
2746,
351,
331,
707,
5545,
416,
17520,
962,
71,
993,
290,
4347,
68,
12,
10262,
417,
1584,
198,
198,
2,
20559,
2886,
198,
12,
4600,
26591,
62,
7364,
3712,
43879,
63,
25,
11507,
12755,
262,
2928,
286,
47741,
12245,
319,
262,
4129,
286,
262,
1474,
7765,
13,
15161,
1988,
318,
362,
13,
2624,
13,
198,
12,
4600,
31361,
62,
7364,
3712,
43879,
63,
25,
11507,
12755,
262,
2928,
286,
262,
14613,
35381,
319,
262,
4129,
286,
262,
1474,
7765,
13,
15161,
1988,
318,
657,
13,
21526,
13,
198,
12,
4600,
74,
16,
3712,
43879,
63,
25,
717,
11507,
24549,
7765,
4104,
355,
1912,
319,
47741,
12245,
198,
12,
4600,
74,
17,
3712,
43879,
63,
25,
1218,
11507,
24549,
7765,
4104,
355,
1912,
319,
47741,
12245,
198,
37811,
198,
7249,
12822,
1046,
56,
707,
43015,
44458,
7469,
1564,
90,
10234,
92,
1279,
25,
27741,
54,
539,
7469,
1564,
17633,
198,
220,
220,
220,
17130,
62,
7364,
3712,
10234,
198,
220,
220,
220,
12159,
62,
7364,
3712,
10234,
198,
220,
220,
220,
479,
16,
3712,
10234,
198,
220,
220,
220,
479,
17,
3712,
10234,
198,
437,
198,
35389,
1046,
56,
707,
43015,
44458,
7469,
1564,
3419,
796,
12822,
1046,
56,
707,
43015,
44458,
7469,
1564,
7,
17,
13,
2624,
11,
657,
13,
21526,
11,
657,
13,
2548,
2718,
11,
657,
13,
405,
2623,
3695,
8,
198,
35389,
1046,
56,
707,
43015,
44458,
7469,
1564,
7,
87,
11,
331,
8,
796,
12822,
1046,
56,
707,
43015,
44458,
7469,
1564,
7,
87,
11,
331,
11,
657,
13,
2548,
2718,
11,
657,
13,
405,
2623,
3695,
8,
198,
198,
37811,
198,
220,
220,
220,
5395,
18885,
56,
707,
7469,
1564,
7,
17899,
38342,
62,
43639,
62,
4873,
8,
198,
198,
29869,
329,
10007,
3519,
284,
262,
5395,
18885,
825,
1564,
2746,
198,
198,
2,
20559,
2886,
198,
12,
4600,
17899,
38342,
62,
43639,
62,
4873,
3712,
43879,
63,
25,
11507,
12755,
262,
7765,
14342,
2494,
290,
11807,
22119,
13,
15161,
1988,
318,
657,
13,
16,
198,
37811,
198,
7249,
5395,
18885,
56,
707,
7469,
1564,
90,
10234,
92,
1279,
25,
27741,
54,
539,
7469,
1564,
17633,
198,
220,
220,
220,
16021,
62,
43639,
62,
4873,
3712,
10234,
198,
437,
198,
18050,
18885,
56,
707,
7469,
1564,
3419,
796,
5395,
18885,
56,
707,
7469,
1564,
7,
15,
13,
16,
8,
198,
198,
37811,
198,
220,
220,
220,
7854,
528,
505,
7469,
1564,
7,
17899,
38342,
62,
43639,
62,
4873,
8,
198,
198,
29869,
329,
10007,
3519,
284,
262,
5395,
18885,
825,
1564,
2746,
198,
198,
2,
20559,
2886,
198,
12,
4600,
17899,
38342,
62,
43639,
62,
4873,
3712,
43879,
63,
25,
11507,
12755,
262,
7765,
14342,
2494,
290,
11807,
22119,
13,
15161,
1988,
318,
657,
13,
16,
198,
12,
4600,
324,
3712,
43879,
63,
25,
12621,
862,
8160,
262,
16021,
825,
1564,
286,
262,
7765,
379,
657,
3396,
331,
707,
198,
12,
4600,
17457,
3712,
43879,
63,
25,
12621,
862,
8160,
262,
16021,
825,
1564,
286,
262,
7765,
2233,
284,
866,
7972,
5253,
379,
657,
3396,
331,
707,
198,
37811,
198,
7249,
7854,
528,
505,
7469,
1564,
90,
10234,
92,
1279,
25,
27741,
54,
539,
7469,
1564,
17633,
198,
220,
220,
220,
16021,
62,
43639,
62,
4873,
3712,
10234,
198,
220,
220,
220,
512,
3712,
10234,
198,
220,
220,
220,
275,
67,
3712,
10234,
198,
437,
198,
15205,
528,
505,
7469,
1564,
3419,
796,
7854,
528,
505,
7469,
1564,
7,
15,
13,
1314,
11,
532,
19,
13,
20,
11,
532,
15,
13,
486,
8,
198,
198,
37811,
198,
220,
220,
220,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
312,
11,
36489,
62,
46758,
3712,
51,
5945,
500,
36621,
11,
2746,
3712,
18050,
18885,
56,
707,
7469,
1564,
11,
2344,
43323,
5219,
3712,
28008,
8731,
48412,
9012,
8,
628,
220,
220,
220,
27131,
689,
262,
16021,
825,
1564,
286,
262,
2344,
36489,
7765,
628,
220,
220,
220,
13403,
319,
25,
198,
220,
220,
220,
685,
16,
60,
5395,
18885,
3050,
366,
54,
539,
825,
75,
304,
596,
286,
257,
2344,
36489,
287,
331,
707,
1,
198,
220,
220,
220,
685,
17,
60,
402,
37052,
324,
1946,
366,
8731,
4618,
23989,
416,
331,
707,
1630,
1262,
257,
5772,
19482,
7765,
2746,
1,
198,
220,
220,
220,
428,
2196,
24245,
262,
26251,
925,
284,
262,
331,
707,
2746,
329,
44883,
13179,
355,
3417,
287,
685,
17,
60,
290,
198,
220,
220,
220,
685,
18,
60,
5658,
2177,
366,
23028,
1075,
262,
9977,
1581,
1797,
2344,
4618,
2746,
329,
17764,
351,
31312,
12,
3106,
23989,
1,
198,
37811,
198,
8818,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
18050,
18885,
56,
707,
7469,
1564,
8,
628,
220,
220,
220,
44332,
796,
1179,
87,
12,
83,
5945,
500,
62,
87,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
331,
707,
796,
532,
83,
5945,
500,
62,
88,
707,
58,
83,
5945,
500,
62,
312,
60,
1303,
5395,
18885,
973,
6697,
13179,
9831,
11,
12891,
13841,
8,
1051,
198,
220,
220,
220,
269,
83,
796,
36489,
62,
310,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
48428,
796,
44883,
62,
67,
13173,
58,
83,
5945,
500,
62,
312,
60,
628,
220,
220,
220,
479,
67,
796,
2746,
13,
17899,
38342,
62,
43639,
62,
4873,
628,
220,
220,
220,
4238,
62,
88,
707,
62,
9248,
796,
657,
13,
20,
9,
19510,
6966,
7,
88,
707,
4008,
61,
17,
27493,
31369,
7,
88,
707,
27493,
310,
220,
1303,
685,
16,
60,
37430,
13,
1160,
11,
685,
17,
60,
37430,
13,
807,
628,
220,
220,
220,
1303,
685,
17,
60,
37430,
13,
838,
198,
220,
220,
220,
257,
796,
362,
13,
15,
9,
74,
67,
9,
34350,
14,
67,
1789,
1343,
352,
13,
15,
198,
220,
220,
220,
275,
796,
4238,
62,
88,
707,
62,
9248,
9,
7,
1314,
13,
15,
9,
64,
61,
19,
10,
36733,
62,
88,
707,
62,
9248,
61,
17,
8,
198,
220,
220,
220,
269,
796,
357,
1270,
13,
15,
9,
74,
67,
14,
67,
1789,
27493,
64,
61,
20,
198,
220,
220,
220,
288,
796,
4238,
62,
88,
707,
62,
9248,
9,
67,
1789,
9,
7,
1314,
13,
15,
1343,
4238,
62,
88,
707,
62,
9248,
61,
17,
8,
198,
220,
220,
220,
304,
796,
1542,
13,
15,
9,
74,
67,
628,
220,
220,
220,
331,
62,
4299,
1564,
796,
275,
14,
66,
532,
288,
14,
68,
628,
220,
220,
220,
1441,
331,
62,
4299,
1564,
198,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
312,
11,
36489,
62,
46758,
3712,
51,
5945,
500,
36621,
11,
2746,
3712,
15205,
528,
505,
7469,
1564,
11,
2344,
43323,
5219,
3712,
28008,
8731,
48412,
9012,
8,
628,
220,
220,
220,
27131,
689,
262,
16021,
825,
1564,
286,
262,
2344,
36489,
7765,
14317,
329,
1111,
331,
707,
290,
5724,
864,
825,
1564,
628,
220,
220,
220,
13403,
319,
25,
198,
220,
220,
220,
685,
16,
60,
5395,
18885,
3050,
366,
54,
539,
825,
75,
304,
596,
286,
257,
2344,
36489,
287,
331,
707,
1,
198,
220,
220,
220,
685,
17,
60,
402,
37052,
324,
1946,
366,
8731,
4618,
23989,
416,
331,
707,
1630,
1262,
257,
5772,
19482,
7765,
2746,
1,
198,
220,
220,
220,
428,
2196,
24245,
262,
26251,
925,
284,
262,
331,
707,
2746,
329,
44883,
13179,
355,
3417,
287,
685,
17,
60,
290,
198,
220,
220,
220,
685,
18,
60,
5658,
2177,
366,
23028,
1075,
262,
9977,
1581,
1797,
2344,
4618,
2746,
329,
17764,
351,
31312,
12,
3106,
23989,
1,
198,
37811,
198,
198,
8818,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
15205,
528,
505,
7469,
1564,
8,
628,
220,
220,
220,
44332,
796,
1179,
87,
12,
83,
5945,
500,
62,
87,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
331,
707,
796,
532,
83,
5945,
500,
62,
88,
707,
58,
83,
5945,
500,
62,
312,
60,
1303,
5395,
18885,
973,
6697,
13179,
9831,
11,
12891,
13841,
8,
1051,
198,
220,
220,
220,
269,
83,
796,
36489,
62,
310,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
48428,
796,
44883,
62,
67,
13173,
58,
83,
5945,
500,
62,
312,
60,
628,
220,
220,
220,
479,
67,
796,
2746,
13,
17899,
38342,
62,
43639,
62,
4873,
198,
220,
220,
220,
512,
796,
2746,
13,
324,
198,
220,
220,
220,
275,
67,
796,
2746,
13,
17457,
628,
220,
220,
220,
4238,
62,
88,
707,
62,
9248,
796,
657,
13,
20,
9,
19510,
6966,
7,
88,
707,
4008,
61,
17,
27493,
31369,
7,
88,
707,
27493,
310,
220,
1303,
685,
16,
60,
37430,
13,
1160,
11,
685,
17,
60,
37430,
13,
807,
628,
220,
220,
220,
1303,
685,
17,
60,
37430,
13,
838,
198,
220,
220,
220,
257,
796,
362,
13,
15,
9,
74,
67,
9,
34350,
14,
67,
1789,
1343,
352,
13,
15,
198,
220,
220,
220,
275,
796,
4238,
62,
88,
707,
62,
9248,
9,
7,
1314,
13,
15,
9,
64,
61,
19,
10,
36733,
62,
88,
707,
62,
9248,
61,
17,
8,
198,
220,
220,
220,
269,
796,
357,
1270,
13,
15,
9,
74,
67,
14,
67,
1789,
27493,
64,
61,
20,
198,
220,
220,
220,
288,
796,
4238,
62,
88,
707,
62,
9248,
9,
67,
1789,
9,
7,
1314,
13,
15,
1343,
4238,
62,
88,
707,
62,
9248,
61,
17,
8,
198,
220,
220,
220,
304,
796,
1542,
13,
15,
9,
74,
67,
628,
220,
220,
220,
1303,
685,
17,
60,
37430,
13,
838,
11,
1367,
11,
290,
1105,
8160,
825,
1564,
198,
220,
220,
220,
331,
707,
62,
4299,
1564,
796,
275,
14,
66,
532,
288,
14,
68,
198,
220,
220,
220,
13179,
62,
4299,
1564,
796,
512,
1343,
275,
67,
9,
7,
34350,
8,
198,
220,
220,
220,
331,
62,
4299,
1564,
796,
532,
16,
9,
7,
88,
707,
62,
4299,
1564,
1343,
13179,
62,
4299,
1564,
8,
628,
220,
220,
220,
1441,
331,
62,
4299,
1564,
198,
198,
437,
198,
198,
8818,
4808,
65,
8957,
62,
1169,
8326,
62,
15,
7,
88,
707,
11,
269,
83,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
262,
8326,
15,
796,
357,
15,
13,
18,
9,
88,
707,
14,
6966,
7,
88,
707,
4008,
9,
7,
16,
13,
15,
12,
31166,
17034,
7,
16,
13,
15,
12,
310,
9,
6966,
7,
88,
707,
22305,
628,
220,
220,
220,
1441,
262,
8326,
15,
198,
437,
198,
198,
8818,
4808,
65,
8957,
62,
4299,
1564,
7,
67,
1789,
11,
269,
83,
11,
331,
707,
11,
479,
88,
11,
479,
89,
11,
43237,
11261,
11,
264,
17225,
1031,
11,
262,
8326,
15,
11,
2124,
15,
8,
198,
220,
220,
220,
257,
796,
262,
8326,
15,
9,
87,
15,
14,
67,
1789,
198,
220,
220,
220,
275,
796,
357,
1169,
8326,
15,
14,
1415,
13,
22,
27493,
31166,
17034,
7,
6966,
7,
88,
707,
20679,
7,
2584,
9,
74,
89,
9,
310,
4008,
9,
7,
17,
13,
24,
12,
16,
13,
18,
9,
31166,
17034,
7,
16,
13,
15,
12,
310,
13219,
310,
8,
198,
220,
220,
220,
269,
796,
357,
16,
13,
21,
10,
31166,
17034,
7,
310,
4008,
9,
7,
16,
13,
21,
9,
31166,
17034,
7,
23,
13,
15,
9,
82,
328,
11261,
9,
82,
17225,
1031,
29006,
6966,
7,
88,
707,
27493,
67,
1789,
61,
17,
4008,
12,
310,
8,
198,
220,
220,
220,
288,
796,
357,
16,
13,
21,
12,
31166,
17034,
7,
310,
4008,
9,
7,
16,
13,
21,
9,
31166,
17034,
7,
23,
13,
15,
9,
82,
328,
11261,
9,
82,
17225,
1031,
29006,
6966,
7,
88,
707,
27493,
67,
1789,
61,
17,
4008,
10,
310,
8,
198,
220,
220,
220,
331,
62,
4299,
1564,
796,
48428,
9,
7,
64,
10,
65,
9,
6404,
7,
66,
14,
67,
4008,
198,
220,
220,
220,
1441,
331,
62,
4299,
1564,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
35389,
1046,
56,
707,
7469,
1564,
8,
628,
220,
220,
220,
27131,
689,
262,
16021,
825,
1564,
286,
262,
2344,
36489,
7765,
628,
220,
220,
220,
13403,
319,
25,
198,
220,
220,
220,
685,
16,
60,
17520,
962,
71,
993,
290,
4347,
68,
12,
10262,
417,
1584,
366,
20468,
9134,
290,
16200,
2050,
286,
198,
220,
220,
220,
2344,
36489,
34267,
287,
331,
36825,
3403,
1,
198,
37811,
198,
8818,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
35389,
1046,
56,
707,
7469,
1564,
8,
628,
220,
220,
220,
44332,
796,
1179,
87,
12,
83,
5945,
500,
62,
87,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
331,
707,
796,
36489,
62,
88,
707,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
269,
83,
796,
36489,
62,
310,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
48428,
796,
44883,
62,
67,
13173,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
46668,
796,
36489,
62,
12001,
62,
20259,
58,
83,
5945,
500,
62,
312,
60,
628,
220,
220,
220,
355,
796,
2746,
13,
26591,
62,
7364,
198,
220,
220,
220,
275,
82,
796,
2746,
13,
31361,
62,
7364,
198,
220,
220,
220,
479,
88,
796,
2746,
13,
17899,
38342,
62,
43639,
62,
4873,
198,
220,
220,
220,
479,
89,
796,
2746,
13,
1851,
605,
62,
43639,
62,
4873,
628,
220,
220,
220,
1303,
685,
16,
60,
37430,
77,
718,
13,
1065,
198,
220,
220,
220,
262,
8326,
15,
796,
4808,
65,
8957,
62,
1169,
8326,
62,
15,
7,
88,
707,
11,
269,
83,
8,
628,
220,
220,
220,
1303,
685,
16,
60,
37430,
77,
767,
13,
19,
198,
220,
220,
220,
2124,
15,
796,
4808,
4908,
1046,
62,
88,
707,
62,
13059,
1843,
62,
7295,
7,
67,
1789,
11,
331,
707,
11,
269,
83,
11,
355,
11,
46668,
11,
275,
82,
8,
628,
220,
220,
220,
1303,
15284,
262,
19936,
14834,
966,
286,
262,
31986,
1046,
331,
707,
2746,
220,
198,
220,
220,
220,
2124,
67,
796,
4808,
4908,
1046,
62,
88,
707,
62,
15410,
756,
259,
14834,
7,
67,
1789,
11,
2124,
15,
11,
479,
88,
11,
479,
89,
11,
331,
707,
11,
269,
83,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
15284,
16021,
7765,
4104,
357,
20189,
37430,
25,
767,
13,
17,
8,
198,
220,
220,
220,
43237,
11261,
796,
4808,
4908,
1046,
62,
88,
707,
62,
43639,
62,
3849,
16104,
515,
7,
67,
1789,
11,
479,
88,
11,
44332,
11,
2124,
15,
11,
331,
707,
11,
2124,
67,
8,
628,
220,
220,
220,
1303,
15284,
11723,
7765,
4104,
357,
20189,
37430,
25,
767,
13,
17,
8,
198,
220,
220,
220,
264,
17225,
1031,
796,
4808,
4908,
1046,
62,
88,
707,
62,
43639,
62,
3849,
16104,
515,
7,
67,
1789,
11,
479,
89,
11,
44332,
11,
2124,
15,
11,
657,
13,
15,
11,
2124,
67,
8,
628,
220,
220,
220,
220,
198,
220,
220,
220,
331,
62,
4299,
1564,
796,
4808,
65,
8957,
62,
4299,
1564,
7,
67,
1789,
11,
269,
83,
11,
331,
707,
11,
479,
88,
11,
479,
89,
11,
43237,
11261,
11,
264,
17225,
1031,
11,
262,
8326,
15,
11,
2124,
15,
8,
628,
220,
220,
220,
1441,
331,
62,
4299,
1564,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
7765,
62,
4299,
1564,
62,
19849,
7,
420,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
35389,
1046,
56,
707,
43015,
44458,
7469,
1564,
8,
628,
220,
220,
220,
27131,
689,
262,
16021,
825,
1564,
286,
262,
2344,
36489,
7765,
13,
569,
3166,
1912,
319,
1957,
47741,
12245,
13,
628,
220,
220,
220,
13403,
319,
25,
198,
220,
220,
220,
685,
16,
60,
17520,
962,
71,
993,
290,
4347,
68,
12,
10262,
417,
1584,
366,
20468,
9134,
290,
16200,
2050,
286,
198,
220,
220,
220,
2344,
36489,
34267,
287,
331,
36825,
3403,
1,
198,
220,
220,
220,
685,
17,
60,
11556,
323,
361,
283,
290,
4347,
68,
12,
10262,
417,
1584,
366,
37702,
22869,
9104,
278,
286,
3086,
39045,
25,
198,
220,
220,
220,
317,
968,
38066,
329,
4333,
46690,
1,
198,
37811,
198,
8818,
7765,
62,
4299,
1564,
62,
19849,
7,
17946,
87,
11,
1179,
88,
11,
1179,
89,
11,
36489,
62,
87,
11,
36489,
62,
88,
707,
11,
36489,
62,
310,
11,
36489,
62,
312,
11,
44883,
62,
67,
13173,
11,
36489,
62,
12001,
62,
20259,
11,
2746,
3712,
35389,
1046,
56,
707,
43015,
44458,
7469,
1564,
8,
628,
220,
220,
220,
44332,
796,
1179,
87,
12,
83,
5945,
500,
62,
87,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
331,
707,
796,
36489,
62,
88,
707,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
269,
83,
796,
36489,
62,
310,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
288,
83,
796,
44883,
62,
67,
13173,
58,
83,
5945,
500,
62,
312,
60,
198,
220,
220,
220,
46668,
796,
36489,
62,
12001,
62,
20259,
58,
83,
5945,
500,
62,
312,
60,
628,
220,
220,
220,
355,
796,
2746,
13,
26591,
62,
7364,
198,
220,
220,
220,
275,
82,
796,
2746,
13,
31361,
62,
7364,
628,
220,
220,
220,
1303,
685,
17,
60,
15284,
7765,
4104,
1912,
319,
1957,
47741,
12245,
198,
220,
220,
220,
479,
88,
796,
479,
89,
796,
4808,
74,
62,
7364,
62,
20786,
7,
20259,
11,
2746,
13,
74,
16,
11,
2746,
13,
74,
17,
8,
628,
220,
220,
220,
1303,
685,
16,
60,
37430,
77,
718,
13,
1065,
4238,
7765,
9848,
198,
220,
220,
220,
262,
8326,
15,
796,
4808,
65,
8957,
62,
1169,
8326,
62,
15,
7,
88,
707,
11,
269,
83,
8,
628,
220,
220,
220,
1303,
685,
16,
60,
37430,
77,
767,
13,
19,
198,
220,
220,
220,
2124,
15,
796,
4808,
4908,
1046,
62,
88,
707,
62,
13059,
1843,
62,
7295,
7,
28664,
11,
331,
707,
11,
269,
83,
11,
355,
11,
46668,
11,
275,
82,
8,
628,
220,
220,
220,
1303,
15284,
262,
19936,
14834,
966,
286,
262,
31986,
1046,
331,
707,
2746,
220,
198,
220,
220,
220,
2124,
67,
796,
4808,
4908,
1046,
62,
88,
707,
62,
15410,
756,
259,
14834,
7,
28664,
11,
2124,
15,
11,
479,
88,
11,
479,
89,
11,
331,
707,
11,
269,
83,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
15284,
16021,
7765,
4104,
357,
20189,
37430,
25,
767,
13,
17,
8,
198,
220,
220,
220,
264,
13495,
62,
88,
796,
4808,
4908,
1046,
62,
88,
707,
62,
43639,
62,
3849,
16104,
515,
7,
28664,
11,
479,
88,
11,
44332,
11,
2124,
15,
11,
331,
707,
11,
2124,
67,
8,
628,
220,
220,
220,
1303,
15284,
11723,
7765,
4104,
357,
20189,
37430,
25,
767,
13,
17,
8,
198,
220,
220,
220,
264,
13495,
62,
89,
796,
4808,
4908,
1046,
62,
88,
707,
62,
43639,
62,
3849,
16104,
515,
7,
28664,
11,
479,
89,
11,
44332,
11,
2124,
15,
11,
657,
13,
15,
11,
2124,
67,
8,
628,
220,
220,
220,
1303,
3443,
11,
15284,
825,
1564,
198,
220,
220,
220,
331,
62,
4299,
1564,
796,
4808,
65,
8957,
62,
4299,
1564,
7,
28664,
11,
269,
83,
11,
331,
707,
11,
479,
88,
11,
479,
89,
11,
264,
13495,
62,
88,
11,
264,
13495,
62,
89,
11,
262,
8326,
15,
11,
2124,
15,
8,
628,
220,
220,
220,
1441,
331,
62,
4299,
1564,
198,
437
] | 2.604925 | 3,736 |
download("https://cdn.plot.ly/plotly-2.8.3.min.js", joinpath(@__DIR__, "plotly-2.8.3.min.js"))
| [
15002,
7203,
5450,
1378,
32341,
13,
29487,
13,
306,
14,
29487,
306,
12,
17,
13,
23,
13,
18,
13,
1084,
13,
8457,
1600,
4654,
6978,
7,
31,
834,
34720,
834,
11,
366,
29487,
306,
12,
17,
13,
23,
13,
18,
13,
1084,
13,
8457,
48774,
198
] | 2.065217 | 46 |
"""
The Accounting Trinity or [CAL]!
[]: Important (somehow) - (it's objective alright)
(): an Optional read , acts as a comment
me: personal words, notes , to add an overall flavor & meaning to the comment itself - as needed
A/C : Account - a fancy way accountants use for any account 'book'
1.Assets k let's start - here goes nothing
2.Capital : an abstract entity me: i.e. bank account value- me: has a Direct Relation with either an 'Asset' or a Liability A/C "Account"
3.Assets: a Tangible object, of Value, has an/a owner(s)
below is the explination, non-academic - based on the Personal View -- for your eyes only,ok
# 3.1 thinking about it - I'm a comment after all oh wait maybe I'm not -- who Am ... I ??? - stop talking this is your brain police stop --or what ? - we'll see
#3.2 Ownership:
the actual Owner: for whom the Account belongs to - usualy 1 or more Seperate entities (persons, companies - or mix of the 2 )
1. One Owner: 1 is the lonliest number, if that's you , kudos to you!
2. A couple, partnerships or best Friends (usually Spoils in, or before the end (whatever that means) you know, as nothing stands still on its own for good- hate to spoil that on you!) - but sb gotta spill the Beans, right ;) -- sb: somebody
3. 3 ot more: fits the bill for family-related members - [Time: for either long-term or short-term]
3.Liabilities: Debt, shares US ()(intl.) - how to say in the UK???(if you're authorized to issue that ), given by other people willingly (hopefully they know what they're doing, right) i.e. Accounts payable A/P , me: the 'pay me back later, okay?' accounts - [either long-term or short-term]
together, they make up the following Golden (brown) Equation:
Assets = Liabilites + Capital
"""
# the Accounting Equation , :
## Assets = Liabilites + Capital
## ---
#existential question the function is already equal to its absolute value -talk about a Self-reference !
#global capital(totalCapital) =abs(totalCapital);
asset(totalAssets) = totalLiabilities # no-abs-allowed #TODO:sanity-check
liability(totalLiabilities) = totalLiabilities # no-abs-allowed #TODO:sanity-check
#nothing, yet - chop chop, gotta go, are you there yet, where you at!
#syntax: incomplete: "module" at /Users/ahmadlutfi/Desktop/src/src/accountingTrinity.jl:3 requires end
#TODO: working input ref ... # DONE!
capital = passmissing(input("please insert total capital")) # insert a value only
liability = passmissing( input("please insert total liability"))#throws(ERROR) : redefinition of Constant Liability #TODO:sanity-check
asset = passmissing(input("please insert total asset"))
print("capital: $capital") # TODO: Ignore Alpha words -- REGEX - maybe later -- I guessed it
#@assert capital >= 0 #doesn;t matter # capital can take both positive & Negative values
#export calcCapital, capital,liability
#=
function calcCapital(totalAssets,totalLiabilities)
asset = abs(totalAssets); liability = abs(totalLiabilites) #edit: I don't recall writing those , conciously -wow
=#
#---
function calcCapital(asset, liability)
#return max(asset, liability) - min(asset, liability) #that's another thing I've been thinking about - to add or not the add -- that is the Question
"""
capital = asset - liability
"""
capital = asset - liability # for some reason i have to check with liability ... #TODO:
return capital # Capital
#---
function calcAsset(capital, liability)
"""
after subtracting all debt (personal debt included)
asset = - liab
capital = asset - liability
"""
# asset = asset < 0 : asset = 0 # if any account is less than 0 , adds it as 0 : Reason: a cadlag process cannot be less than a 0
asset = capital - liability
# capital = asset - liability
return asset # capital
end
function calcLiability(capital, asset)
"""
Liability Could be in a form of bonds
Liability (Debt) = (short-term) Debt + (Long-term) Debt
"""
liability = capital - asset
return liability
end
end
#--- Asset Calculation
#capital Calculation ?
#TODO:calculate Asset = capital - liability #Done!
#"""user inserts totalCapital"""
#TODO:finish
"""
function calcAssets(totalCapital, totalLiabilities)
capital(totalCapital) = tryparse(:Number, input("please insert total Capital")) # capital(totalCapital)
liability(totalLiabilities) = tryparse(:Number, input("please insert total Liabilities")) #abs(totalLiabilities)
#TODO:
return max(capital, liability) - min(capital, liability) #
return capital - liability # = Asset
end
end
"""
"
Capital account v.s liability account
Credit / debit account algebra :
Cr*Cr = Dr
Dr*Dr = Dr
(-): credit
(+): debit
Dr: Debit
Cr: Credit
liability account decrease could be from
paying off Accounts Payable i.e. (-) Accounts Payable A/C [Credit Account] : (-)credit Accounts Payable A/C,
decreasing(-) Accounts Payable A/C - Credit Account #whenever you Credit a (-)credit account, that means you are Debiting (decreasing, here) the Credit Account i.e. Cr*Cr = Dr,
adding(+) more Accounts Recievable (+) Accounts Recievable A/R [Debit Account] : (+)debit, Accounts Recieveble A/C - Debit Account (+)is debit #whenever you Debit a Debit account, means you
i.e. some one is Paying you off Dr*Dr = Dr
(-) Accounts Payable A/C
"
function calcAsset(totalCapital, totalLiabilities)
return totalCapital - totalLiabilites
end
#--- prompt Area
#=
using Parsers
function baseline(s,delimiter=' ')
pieces = split(s, delimiter, keepempty=false)
map(pieces) do piece
parse(Float64, piece)
end
end
read = readline()
#p = Parsers.DELIMITED(" ", ignorerepeated=true);
=#
#--- ....
#= TODO:READ - Someday, ok - getback -- on it
function _sth parse(::Type{T}, s::AbstractString) where T
y = tryparse(T, s)
y === nothing && throw(ArgumentError("Cannot parse as $T: \"$s\""))
return y
end
=#
#--- Checking region ...
# TODO: prompt #Done @ 6:15 pm
function prompt(message="How are you feeling?") #Working: #getback: prompt's 2 methods prompt() & prompt(message)
print(message*"\n")
line = readline() #read # ok # string
# splits on spaces and casts to T
#result = produce(map(x -> parse(T, x), split(line)))
# return #result
return parse(Complex,line) #ok
end #Done ! #Correct #checked #prompt(message)
prompt() #gets lost: reason(type input variable)- i.e. is it Float64 ? --unsure: the most existential questionyou might ask
#oh my handling complex vars is complex (in itself!)
#what type of work around & remedyyou'll do
#don't know what type of input user may enter either string or number
# if number, will it be complex - Problem
#but. let it be a Float64 - no problem!
using Test
global digits= 10
global datatype = nothing
function inputHandling(T)
#--- test Region
for sign in ('-','+'), Im in ("i","j","im"), s1 in (""," "), s2 in (""," "), s3 in (""," "), s4 in (""," ")
for r in (1,0,-1), i in (1,0,-1),
n = Complex(r, sign == '+' ? i : -i)
s = string(s1, r, s2, sign, s3, i, Im, s4)
@test n === parse(Complex{Int}, s)
@test Complex(r) === parse(Complex{Int}, string(s1, r, s2))
@test Complex(0,i) === parse(Complex{Int}, string(s3, i, Im, s4))
for T in (Float64, BigFloat)
nT = parse(Complex{T}, s)
@test nT isa Complex{T}
@test nT == n
@test n == parse(Complex{T}, string(s1, r, ".0", s2, sign, s3, i, ".0", Im, s4))
@test n*parse(T,"1e-3") == parse(Complex{T}, string(s1, r, "e-3", s2, sign, s3, i, "e-3", Im, s4))
end
end
for r in (-1.0,-1e-9,Inf,-Inf,NaN), i in (-1.0,-1e-9,Inf,NaN)
n = Complex(r, sign == '+' ? i : -i)
s = lowercase(string(s1, r, s2, sign, s3, i, Im, s4))
@test n === parse(ComplexF64, s)
@test Complex(r) === parse(ComplexF64, string(s1, r, s2))
@test Complex(0,i) === parse(ComplexF64, string(s3, i, Im, s4))
end
end
end
for T in (Int, Float64), bad in ("3 + 4*im", "3 + 4", "1+2ij", "1im-3im", "++4im")
@test_throws ArgumentError parse(Complex{T}, bad)
end
@test_throws ArgumentError parse(Complex{Int}, "3 + 4.2im")
#test passed
#--- T Input Handling #Re-Opened!
#TODO: sanity check code below
#TODO: isa Useful ?
if(typeof(T) isa Int)
datatype = Int
@inferred parse(Int, "$digits") #throws(error): @inferred not defined
# end
elseif (typeof(T) isa Float64)
datatype = Float64
@inferred parse(Float64, "$digits") #throws(error): @inferred not defined
#end
elseif(typeof(T) isa Complex{Int})
datatype = Complex{Int}
@inferred parse(Complex{Int}, "$digits") #throws(error): @inferred not defined
end
#you're in my head, Always....
| [
37811,
198,
464,
40964,
22844,
393,
685,
34,
1847,
60,
0,
198,
198,
58,
5974,
28511,
357,
11246,
4919,
8,
532,
357,
270,
338,
9432,
23036,
8,
198,
33529,
281,
32233,
1100,
837,
6529,
355,
257,
2912,
198,
1326,
25,
2614,
2456,
11,
4710,
837,
284,
751,
281,
4045,
9565,
1222,
3616,
284,
262,
2912,
2346,
532,
355,
2622,
198,
32,
14,
34,
1058,
10781,
532,
257,
14996,
835,
1848,
1187,
779,
329,
597,
1848,
705,
2070,
6,
198,
16,
13,
8021,
1039,
479,
1309,
338,
923,
532,
994,
2925,
2147,
198,
198,
17,
13,
39315,
1058,
220,
281,
12531,
9312,
502,
25,
1312,
13,
68,
13,
3331,
1848,
1988,
12,
502,
25,
468,
257,
4128,
4718,
341,
351,
2035,
281,
705,
45869,
6,
393,
257,
7455,
1799,
317,
14,
34,
366,
30116,
1,
198,
18,
13,
8021,
1039,
25,
257,
18816,
856,
2134,
11,
286,
11052,
11,
468,
281,
14,
64,
4870,
7,
82,
8,
198,
198,
35993,
318,
262,
1193,
1883,
11,
1729,
12,
330,
49113,
532,
1912,
319,
262,
15644,
3582,
1377,
329,
534,
2951,
691,
11,
482,
198,
2,
513,
13,
16,
3612,
546,
340,
532,
314,
1101,
257,
2912,
706,
477,
11752,
4043,
3863,
314,
1101,
407,
1377,
508,
1703,
2644,
314,
34913,
532,
2245,
3375,
428,
318,
534,
3632,
1644,
2245,
1377,
273,
644,
5633,
532,
356,
1183,
766,
198,
2,
18,
13,
17,
33147,
1056,
25,
628,
198,
1169,
4036,
23853,
25,
329,
4150,
262,
10781,
14448,
284,
532,
6678,
88,
352,
393,
517,
1001,
30052,
12066,
357,
19276,
684,
11,
2706,
532,
393,
5022,
286,
262,
362,
1267,
198,
198,
16,
13,
1881,
23853,
25,
352,
318,
262,
300,
261,
11318,
1271,
11,
611,
326,
338,
345,
837,
479,
42418,
284,
345,
0,
198,
17,
13,
317,
3155,
11,
22867,
393,
1266,
14213,
357,
23073,
49331,
4487,
287,
11,
393,
878,
262,
886,
357,
39664,
326,
1724,
8,
220,
345,
760,
11,
220,
355,
2147,
6296,
991,
319,
663,
898,
329,
922,
12,
5465,
284,
20851,
326,
319,
345,
8133,
532,
475,
264,
65,
17753,
19431,
262,
49740,
11,
826,
35540,
1377,
264,
65,
25,
8276,
198,
18,
13,
513,
30972,
517,
25,
11414,
262,
2855,
329,
220,
1641,
12,
5363,
220,
1866,
220,
532,
685,
7575,
25,
329,
2035,
890,
12,
4354,
393,
1790,
12,
4354,
60,
198,
198,
18,
13,
32304,
5738,
25,
30319,
11,
220,
7303,
1294,
357,
5769,
600,
75,
2014,
532,
703,
284,
910,
287,
262,
3482,
28358,
7,
361,
345,
821,
10435,
284,
2071,
326,
10612,
1813,
416,
584,
661,
30981,
357,
8548,
7549,
484,
760,
644,
484,
821,
1804,
11,
826,
8,
1312,
13,
68,
13,
220,
35584,
28538,
317,
14,
47,
220,
837,
502,
25,
262,
705,
15577,
502,
736,
1568,
11,
8788,
8348,
5504,
220,
532,
685,
31336,
890,
12,
4354,
393,
1790,
12,
4354,
60,
198,
198,
45525,
11,
484,
787,
510,
262,
1708,
8407,
357,
33282,
8,
7889,
341,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41059,
796,
7455,
14991,
2737,
1343,
9747,
198,
37811,
198,
2,
262,
40964,
7889,
341,
837,
1058,
198,
2235,
41059,
796,
7455,
14991,
2737,
1343,
9747,
198,
2235,
11420,
198,
2,
38476,
1843,
1808,
262,
2163,
318,
1541,
4961,
284,
663,
4112,
1988,
532,
16620,
546,
257,
12189,
12,
35790,
5145,
198,
2,
20541,
3139,
7,
23350,
39315,
8,
796,
8937,
7,
23350,
39315,
1776,
628,
11171,
7,
23350,
8021,
1039,
8,
796,
2472,
32304,
5738,
220,
1303,
645,
12,
8937,
12,
40845,
1303,
51,
3727,
46,
25,
12807,
414,
12,
9122,
198,
12247,
7,
23350,
32304,
5738,
8,
796,
2472,
32304,
5738,
1303,
645,
12,
8937,
12,
40845,
1303,
51,
3727,
46,
25,
12807,
414,
12,
9122,
198,
198,
2,
22366,
11,
1865,
532,
30506,
30506,
11,
17753,
467,
11,
389,
345,
612,
1865,
11,
810,
345,
379,
0,
628,
198,
1303,
1837,
41641,
25,
17503,
25,
366,
21412,
1,
379,
1220,
14490,
14,
993,
9937,
75,
315,
12463,
14,
36881,
14,
10677,
14,
10677,
14,
23317,
278,
2898,
6269,
13,
20362,
25,
18,
4433,
886,
198,
198,
2,
51,
3727,
46,
25,
1762,
5128,
1006,
2644,
1303,
360,
11651,
0,
198,
27544,
796,
1208,
45688,
7,
15414,
7203,
29688,
7550,
2472,
3139,
48774,
220,
1303,
7550,
257,
1988,
691,
198,
4528,
1799,
796,
1208,
45688,
7,
5128,
7203,
29688,
7550,
2472,
12247,
48774,
2,
400,
8516,
7,
24908,
8,
1058,
34087,
17750,
286,
20217,
7455,
1799,
1303,
51,
3727,
46,
25,
12807,
414,
12,
9122,
198,
562,
316,
796,
1208,
45688,
7,
15414,
7203,
29688,
7550,
2472,
11171,
48774,
198,
198,
4798,
7203,
27544,
25,
220,
220,
720,
27544,
4943,
1303,
16926,
46,
25,
41032,
12995,
2456,
1377,
23337,
6369,
220,
532,
3863,
1568,
1377,
314,
25183,
340,
198,
2,
31,
30493,
3139,
18189,
657,
1303,
45084,
26,
83,
2300,
220,
1303,
3139,
460,
1011,
1111,
3967,
1222,
36183,
3815,
198,
198,
2,
39344,
42302,
39315,
11,
3139,
11,
4528,
1799,
198,
2,
28,
198,
8818,
42302,
39315,
7,
23350,
8021,
1039,
11,
23350,
32304,
5738,
8,
198,
562,
316,
796,
2352,
7,
23350,
8021,
1039,
1776,
220,
12247,
796,
2352,
7,
23350,
32304,
14991,
2737,
8,
1303,
19312,
25,
314,
836,
470,
10014,
3597,
883,
837,
1673,
6819,
532,
42773,
198,
46249,
198,
2,
6329,
198,
8818,
42302,
39315,
7,
562,
316,
11,
12247,
8,
198,
2,
7783,
3509,
7,
562,
316,
11,
12247,
8,
532,
949,
7,
562,
316,
11,
12247,
8,
1303,
5562,
338,
1194,
1517,
314,
1053,
587,
3612,
546,
532,
284,
751,
393,
407,
262,
751,
1377,
326,
318,
262,
18233,
198,
37811,
198,
27544,
796,
11171,
532,
12247,
198,
37811,
198,
27544,
796,
11171,
532,
12247,
1303,
329,
617,
1738,
1312,
423,
284,
2198,
351,
12247,
2644,
1303,
51,
3727,
46,
25,
198,
7783,
3139,
1303,
9747,
198,
198,
2,
6329,
198,
8818,
42302,
45869,
7,
27544,
11,
12247,
8,
198,
37811,
198,
198,
8499,
34128,
278,
477,
5057,
357,
22682,
5057,
3017,
8,
198,
198,
562,
316,
796,
532,
220,
7649,
397,
198,
27544,
796,
11171,
220,
532,
12247,
198,
198,
37811,
198,
2,
11171,
796,
11171,
1279,
657,
1058,
11171,
796,
657,
1303,
611,
597,
1848,
318,
1342,
621,
657,
837,
6673,
340,
355,
657,
1058,
23219,
25,
220,
257,
20603,
30909,
1429,
2314,
307,
1342,
621,
257,
220,
657,
198,
562,
316,
796,
3139,
532,
12247,
198,
2,
3139,
796,
11171,
532,
12247,
198,
7783,
11171,
220,
1303,
3139,
198,
437,
198,
198,
8818,
42302,
43,
12455,
7,
27544,
11,
11171,
8,
198,
37811,
198,
43,
12455,
10347,
307,
287,
257,
1296,
286,
13100,
198,
43,
12455,
357,
16587,
83,
8,
796,
357,
19509,
12,
4354,
8,
30319,
1343,
357,
14617,
12,
4354,
8,
30319,
198,
37811,
198,
220,
220,
220,
12247,
220,
796,
220,
220,
3139,
532,
11171,
198,
220,
220,
220,
1441,
12247,
628,
220,
220,
220,
886,
198,
198,
437,
198,
198,
2,
6329,
31433,
2199,
14902,
198,
2,
27544,
2199,
14902,
5633,
198,
198,
2,
51,
3727,
46,
25,
9948,
3129,
378,
31433,
220,
796,
3139,
532,
12247,
220,
1303,
45677,
0,
198,
2,
37811,
7220,
42220,
220,
2472,
39315,
37811,
198,
198,
2,
51,
3727,
46,
25,
15643,
680,
198,
37811,
198,
8818,
42302,
8021,
1039,
7,
23350,
39315,
11,
2472,
32304,
5738,
8,
198,
27544,
7,
23350,
39315,
8,
796,
1949,
29572,
7,
25,
15057,
11,
5128,
7203,
29688,
7550,
2472,
9747,
48774,
220,
1303,
3139,
7,
23350,
39315,
8,
198,
4528,
1799,
7,
23350,
32304,
5738,
8,
796,
1949,
29572,
7,
25,
15057,
11,
5128,
7203,
29688,
7550,
2472,
7455,
5738,
48774,
1303,
8937,
7,
23350,
32304,
5738,
8,
198,
2,
51,
3727,
46,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
3509,
7,
27544,
11,
12247,
8,
532,
949,
7,
27544,
11,
12247,
8,
1303,
198,
7783,
3139,
532,
12247,
1303,
796,
31433,
198,
437,
198,
437,
198,
37811,
198,
198,
1,
198,
39315,
1848,
410,
13,
82,
12247,
1848,
198,
198,
23690,
1220,
30977,
220,
220,
1848,
37139,
1058,
198,
198,
13916,
9,
13916,
796,
1583,
198,
198,
6187,
9,
6187,
796,
1583,
198,
198,
32590,
2599,
3884,
198,
7,
10,
2599,
30977,
198,
198,
6187,
25,
1024,
2545,
198,
13916,
25,
10504,
198,
198,
4528,
1799,
1848,
10070,
714,
307,
422,
198,
32629,
572,
35584,
7119,
540,
1312,
13,
68,
13,
13841,
8,
35584,
7119,
540,
317,
14,
34,
685,
23690,
10781,
60,
1058,
13841,
8,
43082,
35584,
7119,
540,
317,
14,
34,
11,
198,
12501,
260,
2313,
7,
25106,
35584,
7119,
540,
317,
14,
34,
532,
10504,
10781,
1303,
12491,
12081,
345,
10504,
257,
220,
220,
13841,
8,
43082,
1848,
11,
326,
1724,
345,
389,
8965,
1780,
357,
12501,
260,
2313,
11,
994,
8,
262,
10504,
10781,
1312,
13,
68,
13,
3864,
9,
13916,
796,
1583,
11,
198,
26872,
7,
28988,
517,
35584,
3311,
11203,
540,
11502,
8,
35584,
3311,
11203,
540,
317,
14,
49,
685,
16587,
270,
10781,
60,
1058,
11502,
8,
11275,
270,
11,
35584,
3311,
12311,
903,
317,
14,
34,
532,
1024,
2545,
10781,
11502,
8,
271,
30977,
1303,
12491,
12081,
345,
1024,
2545,
257,
1024,
2545,
1848,
11,
1724,
345,
198,
72,
13,
68,
13,
617,
530,
318,
7119,
278,
345,
572,
1583,
9,
6187,
796,
1583,
198,
198,
7,
25106,
35584,
7119,
540,
317,
14,
34,
198,
198,
1,
198,
8818,
42302,
45869,
7,
23350,
39315,
11,
2472,
32304,
5738,
8,
198,
198,
7783,
2472,
39315,
532,
2472,
32304,
14991,
2737,
198,
198,
437,
198,
198,
2,
6329,
6152,
9498,
198,
2,
28,
198,
3500,
23042,
364,
198,
2163,
14805,
7,
82,
11,
12381,
320,
2676,
11639,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5207,
796,
6626,
7,
82,
11,
46728,
2676,
11,
1394,
28920,
28,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
34154,
8,
466,
3704,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21136,
7,
43879,
2414,
11,
3704,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
886,
198,
198,
961,
220,
796,
1100,
1370,
3419,
628,
1303,
79,
796,
23042,
364,
13,
35,
3698,
3955,
22061,
7203,
33172,
8856,
45956,
515,
28,
7942,
1776,
198,
46249,
198,
2,
6329,
19424,
198,
2,
28,
16926,
46,
25,
15675,
532,
9995,
23712,
11,
12876,
532,
651,
1891,
1377,
319,
340,
198,
8818,
4808,
48476,
21136,
7,
3712,
6030,
90,
51,
5512,
264,
3712,
23839,
10100,
8,
810,
309,
198,
220,
220,
220,
331,
796,
1949,
29572,
7,
51,
11,
264,
8,
198,
220,
220,
220,
331,
24844,
2147,
11405,
3714,
7,
28100,
1713,
12331,
7203,
34,
34574,
21136,
355,
720,
51,
25,
19990,
3,
82,
7879,
48774,
198,
220,
220,
220,
1441,
331,
198,
437,
198,
46249,
198,
2,
6329,
39432,
3814,
2644,
198,
2,
16926,
46,
25,
220,
6152,
1303,
45677,
2488,
718,
25,
1314,
9114,
198,
8818,
6152,
7,
20500,
2625,
2437,
389,
345,
4203,
1701,
8,
1303,
28516,
25,
1303,
1136,
1891,
25,
6152,
338,
362,
5050,
6152,
3419,
1222,
6152,
7,
20500,
8,
198,
198,
4798,
7,
20500,
9,
1,
59,
77,
4943,
198,
1370,
796,
1100,
1370,
3419,
1303,
961,
1303,
12876,
1303,
4731,
198,
2,
30778,
319,
9029,
290,
26217,
284,
309,
198,
2,
20274,
796,
4439,
7,
8899,
7,
87,
4613,
21136,
7,
51,
11,
2124,
828,
6626,
7,
1370,
22305,
198,
2,
1441,
1303,
20274,
198,
7783,
21136,
7,
5377,
11141,
11,
1370,
8,
1303,
482,
198,
437,
1303,
45677,
5145,
1303,
42779,
1303,
26752,
1303,
16963,
457,
7,
20500,
8,
198,
16963,
457,
3419,
1303,
11407,
2626,
25,
1738,
7,
4906,
5128,
7885,
13219,
1312,
13,
68,
13,
318,
340,
48436,
2414,
5633,
1377,
13271,
495,
25,
262,
749,
28954,
1808,
5832,
1244,
1265,
198,
2,
1219,
616,
9041,
3716,
410,
945,
318,
3716,
357,
259,
2346,
8133,
198,
2,
10919,
2099,
286,
670,
1088,
1222,
21210,
5832,
1183,
466,
198,
2,
9099,
470,
760,
644,
2099,
286,
5128,
2836,
743,
3802,
220,
2035,
4731,
393,
1271,
198,
2,
611,
1271,
11,
481,
340,
307,
3716,
532,
20647,
198,
2,
4360,
13,
1309,
220,
340,
307,
257,
220,
48436,
2414,
532,
645,
1917,
0,
628,
198,
198,
3500,
6208,
198,
20541,
19561,
28,
838,
198,
20541,
4818,
265,
2981,
796,
2147,
198,
8818,
5128,
12885,
1359,
7,
51,
8,
198,
1303,
6329,
1332,
17718,
628,
220,
220,
220,
329,
1051,
287,
19203,
12,
41707,
10,
33809,
1846,
287,
5855,
72,
2430,
73,
2430,
320,
12340,
264,
16,
287,
5855,
2430,
366,
828,
264,
17,
287,
5855,
2430,
366,
828,
264,
18,
287,
5855,
2430,
366,
828,
264,
19,
287,
5855,
2430,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
357,
16,
11,
15,
12095,
16,
828,
1312,
287,
357,
16,
11,
15,
12095,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
19157,
7,
81,
11,
1051,
6624,
705,
10,
6,
5633,
1312,
1058,
532,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
796,
4731,
7,
82,
16,
11,
374,
11,
264,
17,
11,
1051,
11,
264,
18,
11,
1312,
11,
1846,
11,
264,
19,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
299,
24844,
21136,
7,
5377,
11141,
90,
5317,
5512,
264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
19157,
7,
81,
8,
24844,
21136,
7,
5377,
11141,
90,
5317,
5512,
4731,
7,
82,
16,
11,
374,
11,
264,
17,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
19157,
7,
15,
11,
72,
8,
24844,
21136,
7,
5377,
11141,
90,
5317,
5512,
4731,
7,
82,
18,
11,
1312,
11,
1846,
11,
264,
19,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
309,
287,
357,
43879,
2414,
11,
4403,
43879,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
51,
796,
21136,
7,
5377,
11141,
90,
51,
5512,
264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
299,
51,
318,
64,
19157,
90,
51,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
299,
51,
6624,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
299,
6624,
21136,
7,
5377,
11141,
90,
51,
5512,
4731,
7,
82,
16,
11,
374,
11,
27071,
15,
1600,
264,
17,
11,
1051,
11,
264,
18,
11,
1312,
11,
27071,
15,
1600,
1846,
11,
264,
19,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
299,
9,
29572,
7,
51,
553,
16,
68,
12,
18,
4943,
6624,
21136,
7,
5377,
11141,
90,
51,
5512,
4731,
7,
82,
16,
11,
374,
11,
366,
68,
12,
18,
1600,
264,
17,
11,
1051,
11,
264,
18,
11,
1312,
11,
366,
68,
12,
18,
1600,
1846,
11,
264,
19,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
13841,
16,
13,
15,
12095,
16,
68,
12,
24,
11,
18943,
12095,
18943,
11,
26705,
45,
828,
1312,
287,
13841,
16,
13,
15,
12095,
16,
68,
12,
24,
11,
18943,
11,
26705,
45,
8,
198,
220,
220,
220,
299,
796,
19157,
7,
81,
11,
1051,
6624,
705,
10,
6,
5633,
1312,
1058,
532,
72,
8,
198,
220,
220,
220,
264,
796,
2793,
7442,
7,
8841,
7,
82,
16,
11,
374,
11,
264,
17,
11,
1051,
11,
264,
18,
11,
1312,
11,
1846,
11,
264,
19,
4008,
198,
220,
220,
220,
2488,
9288,
299,
24844,
21136,
7,
5377,
11141,
37,
2414,
11,
264,
8,
198,
220,
220,
220,
2488,
9288,
19157,
7,
81,
8,
24844,
21136,
7,
5377,
11141,
37,
2414,
11,
4731,
7,
82,
16,
11,
374,
11,
264,
17,
4008,
198,
220,
220,
220,
2488,
9288,
19157,
7,
15,
11,
72,
8,
24844,
21136,
7,
5377,
11141,
37,
2414,
11,
4731,
7,
82,
18,
11,
1312,
11,
1846,
11,
264,
19,
4008,
198,
437,
198,
437,
198,
437,
198,
1640,
309,
287,
357,
5317,
11,
48436,
2414,
828,
2089,
287,
5855,
18,
1343,
604,
9,
320,
1600,
366,
18,
1343,
604,
1600,
366,
16,
10,
17,
2926,
1600,
366,
16,
320,
12,
18,
320,
1600,
366,
4880,
19,
320,
4943,
198,
220,
220,
220,
2488,
9288,
62,
400,
8516,
45751,
12331,
21136,
7,
5377,
11141,
90,
51,
5512,
2089,
8,
198,
437,
198,
31,
9288,
62,
400,
8516,
45751,
12331,
21136,
7,
5377,
11141,
90,
5317,
5512,
366,
18,
1343,
604,
13,
17,
320,
4943,
198,
2,
9288,
3804,
628,
198,
2,
6329,
309,
23412,
220,
49500,
1303,
3041,
12,
18257,
2945,
0,
198,
198,
2,
51,
3727,
46,
25,
34182,
2198,
2438,
2174,
198,
2,
51,
3727,
46,
25,
318,
64,
49511,
5633,
198,
361,
7,
4906,
1659,
7,
51,
8,
318,
64,
2558,
8,
198,
19608,
265,
2981,
796,
2558,
198,
31,
259,
18186,
21136,
7,
5317,
11,
17971,
12894,
896,
4943,
1303,
400,
8516,
7,
18224,
2599,
2488,
259,
18186,
407,
5447,
198,
2,
886,
198,
17772,
361,
357,
4906,
1659,
7,
51,
8,
318,
64,
48436,
2414,
8,
198,
220,
220,
220,
4818,
265,
2981,
796,
48436,
2414,
198,
31,
259,
18186,
21136,
7,
43879,
2414,
11,
17971,
12894,
896,
4943,
1303,
400,
8516,
7,
18224,
2599,
2488,
259,
18186,
407,
5447,
198,
2,
437,
198,
17772,
361,
7,
4906,
1659,
7,
51,
8,
318,
64,
19157,
90,
5317,
30072,
198,
220,
220,
220,
4818,
265,
2981,
796,
19157,
90,
5317,
92,
198,
220,
220,
220,
220,
2488,
259,
18186,
21136,
7,
5377,
11141,
90,
5317,
5512,
17971,
12894,
896,
4943,
1303,
400,
8516,
7,
18224,
2599,
2488,
259,
18186,
407,
5447,
198,
437,
198,
198,
2,
5832,
821,
287,
616,
1182,
11,
16622,
1106,
198
] | 2.857283 | 3,048 |
# Mapping from token string identifiers to enumeration values as used in @K_str
#
# TODO: Unify Tokenize with this approach so we don't need to write these out
# in two places.
const _str_to_kind = let Ts = TzTokens
Dict([
"None" => Ts.NONE
"EndMarker" => Ts.ENDMARKER
"Comment" => Ts.COMMENT
"Whitespace" => Ts.WHITESPACE
"Identifier" => Ts.IDENTIFIER
"@" => Ts.AT_SIGN
"," => Ts.COMMA
";" => Ts.SEMICOLON
"BEGIN_ERRORS" => Ts.begin_errors
# Tokenization errors
"ErrorEofMultiComment" => Ts.EOF_MULTICOMMENT
"ErrorEofChar" => Ts.EOF_CHAR
"ErrorInvalidNumericConstant" => Ts.INVALID_NUMERIC_CONSTANT
"ErrorInvalidOperator" => Ts.INVALID_OPERATOR
"ErrorInvalidInterpolationTerminator" => Ts.INVALID_INTERPOLATION_TERMINATOR
# Generic error
"error" => Ts.ERROR
"END_ERRORS" => Ts.end_errors
"BEGIN_KEYWORDS" => Ts.begin_keywords
"baremodule" => Ts.BAREMODULE
"begin" => Ts.BEGIN
"break" => Ts.BREAK
"catch" => Ts.CATCH
"const" => Ts.CONST
"continue" => Ts.CONTINUE
"do" => Ts.DO
"else" => Ts.ELSE
"elseif" => Ts.ELSEIF
"end" => Ts.END
"export" => Ts.EXPORT
"finally" => Ts.FINALLY
"for" => Ts.FOR
"function" => Ts.FUNCTION
"global" => Ts.GLOBAL
"if" => Ts.IF
"import" => Ts.IMPORT
"let" => Ts.LET
"local" => Ts.LOCAL
"macro" => Ts.MACRO
"module" => Ts.MODULE
"quote" => Ts.QUOTE
"return" => Ts.RETURN
"struct" => Ts.STRUCT
"try" => Ts.TRY
"using" => Ts.USING
"while" => Ts.WHILE
# contextual keywords
"abstract" => Ts.ABSTRACT
"as" => Ts.AS
"doc" => Ts.DOC
"mutable" => Ts.MUTABLE
"outer" => Ts.OUTER
"primitive" => Ts.PRIMITIVE
"type" => Ts.TYPE
"var" => Ts.VAR
"END_KEYWORDS" => Ts.end_keywords
"BEGIN_CSTPARSER" => Ts.begin_cstparser
"nothing" => Ts.NOTHING
"NewlineWs" => Ts.NEWLINE_WS
"END_CSTPARSER" => Ts.end_cstparser
"BEGIN_LITERAL" => Ts.begin_literal
"Integer" => Ts.INTEGER
"BinInt" => Ts.BIN_INT
"HexInt" => Ts.HEX_INT
"OctInt" => Ts.OCT_INT
"Float" => Ts.FLOAT
"String" => Ts.STRING
"Char" => Ts.CHAR
"CmdString" => Ts.CMD
"true" => Ts.TRUE
"false" => Ts.FALSE
"END_LITERAL" => Ts.end_literal
"BEGIN_DELIMITERS" => Ts.begin_delimiters
"[" => Ts.LSQUARE
"]" => Ts.RSQUARE
"{" => Ts.LBRACE
"}" => Ts.RBRACE
"(" => Ts.LPAREN
")" => Ts.RPAREN
"\"" => Ts.DQUOTE
"\"\"\"" => Ts.TRIPLE_DQUOTE
"`" => Ts.BACKTICK
"```" => Ts.TRIPLE_BACKTICK
"END_DELIMITERS" => Ts.end_delimiters
"BEGIN_OPS" => Ts.begin_ops
"..." => Ts.DDDOT
# Level 1
"BEGIN_ASSIGNMENTS" => Ts.begin_assignments
"=" => Ts.EQ
"+=" => Ts.PLUS_EQ
"-=" => Ts.MINUS_EQ
"*=" => Ts.STAR_EQ
"/=" => Ts.FWD_SLASH_EQ
"//=" => Ts.FWDFWD_SLASH_EQ
"|=" => Ts.OR_EQ
"^=" => Ts.CIRCUMFLEX_EQ
"÷=" => Ts.DIVISION_EQ
"%=" => Ts.REM_EQ
"<<=" => Ts.LBITSHIFT_EQ
">>=" => Ts.RBITSHIFT_EQ
">>>=" => Ts.UNSIGNED_BITSHIFT_EQ
"\\=" => Ts.BACKSLASH_EQ
"&=" => Ts.AND_EQ
":=" => Ts.COLON_EQ
"~" => Ts.APPROX
"\$=" => Ts.EX_OR_EQ
"⊻=" => Ts.XOR_EQ
"END_ASSIGNMENTS" => Ts.end_assignments
"BEGIN_PAIRARROW" => Ts.begin_pairarrow
"=>" => Ts.PAIR_ARROW
"END_PAIRARROW" => Ts.end_pairarrow
# Level 2
"BEGIN_CONDITIONAL" => Ts.begin_conditional
"?" => Ts.CONDITIONAL
"END_CONDITIONAL" => Ts.end_conditional
# Level 3
"BEGIN_ARROW" => Ts.begin_arrow
"-->" => Ts.RIGHT_ARROW
"<--" => Ts.LEFT_ARROW
"<-->" => Ts.DOUBLE_ARROW
"←" => Ts.LEFTWARDS_ARROW
"→" => Ts.RIGHTWARDS_ARROW
"↔" => Ts.LEFT_RIGHT_ARROW
"↚" => Ts.LEFTWARDS_ARROW_WITH_STROKE
"↛" => Ts.RIGHTWARDS_ARROW_WITH_STROKE
"↞" => Ts.LEFTWARDS_TWO_HEADED_ARROW
"↠" => Ts.RIGHTWARDS_TWO_HEADED_ARROW
"↢" => Ts.LEFTWARDS_ARROW_WITH_TAIL
"↣" => Ts.RIGHTWARDS_ARROW_WITH_TAIL
"↤" => Ts.LEFTWARDS_ARROW_FROM_BAR
"↦" => Ts.RIGHTWARDS_ARROW_FROM_BAR
"↮" => Ts.LEFT_RIGHT_ARROW_WITH_STROKE
"⇎" => Ts.LEFT_RIGHT_DOUBLE_ARROW_WITH_STROKE
"⇍" => Ts.LEFTWARDS_DOUBLE_ARROW_WITH_STROKE
"⇏" => Ts.RIGHTWARDS_DOUBLE_ARROW_WITH_STROKE
"⇐" => Ts.LEFTWARDS_DOUBLE_ARROW
"⇒" => Ts.RIGHTWARDS_DOUBLE_ARROW
"⇔" => Ts.LEFT_RIGHT_DOUBLE_ARROW
"⇴" => Ts.RIGHT_ARROW_WITH_SMALL_CIRCLE
"⇶" => Ts.THREE_RIGHTWARDS_ARROWS
"⇷" => Ts.LEFTWARDS_ARROW_WITH_VERTICAL_STROKE
"⇸" => Ts.RIGHTWARDS_ARROW_WITH_VERTICAL_STROKE
"⇹" => Ts.LEFT_RIGHT_ARROW_WITH_VERTICAL_STROKE
"⇺" => Ts.LEFTWARDS_ARROW_WITH_DOUBLE_VERTICAL_STROKE
"⇻" => Ts.RIGHTWARDS_ARROW_WITH_DOUBLE_VERTICAL_STROKE
"⇼" => Ts.LEFT_RIGHT_ARROW_WITH_DOUBLE_VERTICAL_STROKE
"⇽" => Ts.LEFTWARDS_OPEN_HEADED_ARROW
"⇾" => Ts.RIGHTWARDS_OPEN_HEADED_ARROW
"⇿" => Ts.LEFT_RIGHT_OPEN_HEADED_ARROW
"⟵" => Ts.LONG_LEFTWARDS_ARROW
"⟶" => Ts.LONG_RIGHTWARDS_ARROW
"⟷" => Ts.LONG_LEFT_RIGHT_ARROW
"⟹" => Ts.LONG_RIGHTWARDS_DOUBLE_ARROW
"⟺" => Ts.LONG_LEFT_RIGHT_DOUBLE_ARROW
"⟻" => Ts.LONG_LEFTWARDS_ARROW_FROM_BAR
"⟼" => Ts.LONG_RIGHTWARDS_ARROW_FROM_BAR
"⟽" => Ts.LONG_LEFTWARDS_DOUBLE_ARROW_FROM_BAR
"⟾" => Ts.LONG_RIGHTWARDS_DOUBLE_ARROW_FROM_BAR
"⟿" => Ts.LONG_RIGHTWARDS_SQUIGGLE_ARROW
"⤀" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_WITH_VERTICAL_STROKE
"⤁" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_WITH_DOUBLE_VERTICAL_STROKE
"⤂" => Ts.LEFTWARDS_DOUBLE_ARROW_WITH_VERTICAL_STROKE
"⤃" => Ts.RIGHTWARDS_DOUBLE_ARROW_WITH_VERTICAL_STROKE
"⤄" => Ts.LEFT_RIGHT_DOUBLE_ARROW_WITH_VERTICAL_STROKE
"⤅" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_FROM_BAR
"⤆" => Ts.LEFTWARDS_DOUBLE_ARROW_FROM_BAR
"⤇" => Ts.RIGHTWARDS_DOUBLE_ARROW_FROM_BAR
"⤌" => Ts.LEFTWARDS_DOUBLE_DASH_ARROW
"⤍" => Ts.RIGHTWARDS_DOUBLE_DASH_ARROW
"⤎" => Ts.LEFTWARDS_TRIPLE_DASH_ARROW
"⤏" => Ts.RIGHTWARDS_TRIPLE_DASH_ARROW
"⤐" => Ts.RIGHTWARDS_TWO_HEADED_TRIPLE_DASH_ARROW
"⤑" => Ts.RIGHTWARDS_ARROW_WITH_DOTTED_STEM
"⤔" => Ts.RIGHTWARDS_ARROW_WITH_TAIL_WITH_VERTICAL_STROKE
"⤕" => Ts.RIGHTWARDS_ARROW_WITH_TAIL_WITH_DOUBLE_VERTICAL_STROKE
"⤖" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_WITH_TAIL
"⤗" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_WITH_TAIL_WITH_VERTICAL_STROKE
"⤘" => Ts.RIGHTWARDS_TWO_HEADED_ARROW_WITH_TAIL_WITH_DOUBLE_VERTICAL_STROKE
"⤝" => Ts.LEFTWARDS_ARROW_TO_BLACK_DIAMOND
"⤞" => Ts.RIGHTWARDS_ARROW_TO_BLACK_DIAMOND
"⤟" => Ts.LEFTWARDS_ARROW_FROM_BAR_TO_BLACK_DIAMOND
"⤠" => Ts.RIGHTWARDS_ARROW_FROM_BAR_TO_BLACK_DIAMOND
"⥄" => Ts.SHORT_RIGHTWARDS_ARROW_ABOVE_LEFTWARDS_ARROW
"⥅" => Ts.RIGHTWARDS_ARROW_WITH_PLUS_BELOW
"⥆" => Ts.LEFTWARDS_ARROW_WITH_PLUS_BELOW
"⥇" => Ts.RIGHTWARDS_ARROW_THROUGH_X
"⥈" => Ts.LEFT_RIGHT_ARROW_THROUGH_SMALL_CIRCLE
"⥊" => Ts.LEFT_BARB_UP_RIGHT_BARB_DOWN_HARPOON
"⥋" => Ts.LEFT_BARB_DOWN_RIGHT_BARB_UP_HARPOON
"⥎" => Ts.LEFT_BARB_UP_RIGHT_BARB_UP_HARPOON
"⥐" => Ts.LEFT_BARB_DOWN_RIGHT_BARB_DOWN_HARPOON
"⥒" => Ts.LEFTWARDS_HARPOON_WITH_BARB_UP_TO_BAR
"⥓" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_UP_TO_BAR
"⥖" => Ts.LEFTWARDS_HARPOON_WITH_BARB_DOWN_TO_BAR
"⥗" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_DOWN_TO_BAR
"⥚" => Ts.LEFTWARDS_HARPOON_WITH_BARB_UP_FROM_BAR
"⥛" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_UP_FROM_BAR
"⥞" => Ts.LEFTWARDS_HARPOON_WITH_BARB_DOWN_FROM_BAR
"⥟" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_DOWN_FROM_BAR
"⥢" => Ts.LEFTWARDS_HARPOON_WITH_BARB_UP_ABOVE_LEFTWARDS_HARPOON_WITH_BARB_DOWN
"⥤" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_UP_ABOVE_RIGHTWARDS_HARPOON_WITH_BARB_DOWN
"⥦" => Ts.LEFTWARDS_HARPOON_WITH_BARB_UP_ABOVE_RIGHTWARDS_HARPOON_WITH_BARB_UP
"⥧" => Ts.LEFTWARDS_HARPOON_WITH_BARB_DOWN_ABOVE_RIGHTWARDS_HARPOON_WITH_BARB_DOWN
"⥨" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_UP_ABOVE_LEFTWARDS_HARPOON_WITH_BARB_UP
"⥩" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_DOWN_ABOVE_LEFTWARDS_HARPOON_WITH_BARB_DOWN
"⥪" => Ts.LEFTWARDS_HARPOON_WITH_BARB_UP_ABOVE_LONG_DASH
"⥫" => Ts.LEFTWARDS_HARPOON_WITH_BARB_DOWN_BELOW_LONG_DASH
"⥬" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_UP_ABOVE_LONG_DASH
"⥭" => Ts.RIGHTWARDS_HARPOON_WITH_BARB_DOWN_BELOW_LONG_DASH
"⥰" => Ts.RIGHT_DOUBLE_ARROW_WITH_ROUNDED_HEAD
"⧴" => Ts.RULE_DELAYED
"⬱" => Ts.THREE_LEFTWARDS_ARROWS
"⬰" => Ts.LEFT_ARROW_WITH_SMALL_CIRCLE
"⬲" => Ts.LEFT_ARROW_WITH_CIRCLED_PLUS
"⬳" => Ts.LONG_LEFTWARDS_SQUIGGLE_ARROW
"⬴" => Ts.LEFTWARDS_TWO_HEADED_ARROW_WITH_VERTICAL_STROKE
"⬵" => Ts.LEFTWARDS_TWO_HEADED_ARROW_WITH_DOUBLE_VERTICAL_STROKE
"⬶" => Ts.LEFTWARDS_TWO_HEADED_ARROW_FROM_BAR
"⬷" => Ts.LEFTWARDS_TWO_HEADED_TRIPLE_DASH_ARROW
"⬸" => Ts.LEFTWARDS_ARROW_WITH_DOTTED_STEM
"⬹" => Ts.LEFTWARDS_ARROW_WITH_TAIL_WITH_VERTICAL_STROKE
"⬺" => Ts.LEFTWARDS_ARROW_WITH_TAIL_WITH_DOUBLE_VERTICAL_STROKE
"⬻" => Ts.LEFTWARDS_TWO_HEADED_ARROW_WITH_TAIL
"⬼" => Ts.LEFTWARDS_TWO_HEADED_ARROW_WITH_TAIL_WITH_VERTICAL_STROKE
"⬽" => Ts.LEFTWARDS_TWO_HEADED_ARROW_WITH_TAIL_WITH_DOUBLE_VERTICAL_STROKE
"⬾" => Ts.LEFTWARDS_ARROW_THROUGH_X
"⬿" => Ts.WAVE_ARROW_POINTING_DIRECTLY_LEFT
"⭀" => Ts.EQUALS_SIGN_ABOVE_LEFTWARDS_ARROW
"⭁" => Ts.REVERSE_TILDE_OPERATOR_ABOVE_LEFTWARDS_ARROW
"⭂" => Ts.LEFTWARDS_ARROW_ABOVE_REVERSE_ALMOST_EQUAL_TO
"⭃" => Ts.RIGHTWARDS_ARROW_THROUGH_GREATER_THAN
"⭄" => Ts.RIGHTWARDS_ARROW_THROUGH_SUPERSET
"⭇" => Ts.REVERSE_TILDE_OPERATOR_ABOVE_RIGHTWARDS_ARROW
"⭈" => Ts.RIGHTWARDS_ARROW_ABOVE_REVERSE_ALMOST_EQUAL_TO
"⭉" => Ts.TILDE_OPERATOR_ABOVE_LEFTWARDS_ARROW
"⭊" => Ts.LEFTWARDS_ARROW_ABOVE_ALMOST_EQUAL_TO
"⭋" => Ts.LEFTWARDS_ARROW_ABOVE_REVERSE_TILDE_OPERATOR
"⭌" => Ts.RIGHTWARDS_ARROW_ABOVE_REVERSE_TILDE_OPERATOR
"←" => Ts.HALFWIDTH_LEFTWARDS_ARROW
"→" => Ts.HALFWIDTH_RIGHTWARDS_ARROW
"↻" => Ts.CIRCLE_ARROW_RIGHT
"⇜" => Ts.LEFT_SQUIGGLE_ARROW
"⇝" => Ts.RIGHT_SQUIGGLE_ARROW
"↜" => Ts.LEFT_WAVE_ARROW
"↝" => Ts.RIGHT_WAVE_ARROW
"↩" => Ts.LEFTWARDS_ARROW_WITH_HOOK
"↪" => Ts.RIGHTWARDS_ARROW_WITH_HOOK
"↫" => Ts.LOOP_ARROW_LEFT
"↬" => Ts.LOOP_ARROW_RIGHT
"↼" => Ts.LEFT_HARPOON_UP
"↽" => Ts.LEFT_HARPOON_DOWN
"⇀" => Ts.RIGHT_HARPOON_UP
"⇁" => Ts.RIGHT_HARPOON_DOWN
"⇄" => Ts.RIGHT_LEFT_ARROWS
"⇆" => Ts.LEFT_RIGHT_ARROWS
"⇇" => Ts.LEFT_LEFT_ARROWS
"⇉" => Ts.RIGHT_RIGHT_ARROWS
"⇋" => Ts.LEFT_RIGHT_HARPOONS
"⇌" => Ts.RIGHT_LEFT_HARPOONS
"⇚" => Ts.L_LEFT_ARROW
"⇛" => Ts.R_RIGHT_ARROW
"⇠" => Ts.LEFT_DASH_ARROW
"⇢" => Ts.RIGHT_DASH_ARROW
"↷" => Ts.CURVE_ARROW_RIGHT
"↶" => Ts.CURVE_ARROW_LEFT
"↺" => Ts.CIRCLE_ARROW_LEFT
"END_ARROW" => Ts.end_arrow
# Level 4
"BEGIN_LAZYOR" => Ts.begin_lazyor
"||" => Ts.LAZY_OR
"END_LAZYOR" => Ts.end_lazyor
# Level 5
"BEGIN_LAZYAND" => Ts.begin_lazyand
"&&" => Ts.LAZY_AND
"END_LAZYAND" => Ts.end_lazyand
# Level 6
"BEGIN_COMPARISON" => Ts.begin_comparison
"<:" => Ts.ISSUBTYPE
">:" => Ts.ISSUPERTYPE
">" => Ts.GREATER
"<" => Ts.LESS
">=" => Ts.GREATER_EQ
"≥" => Ts.GREATER_THAN_OR_EQUAL_TO
"<=" => Ts.LESS_EQ
"≤" => Ts.LESS_THAN_OR_EQUAL_TO
"==" => Ts.EQEQ
"===" => Ts.EQEQEQ
"≡" => Ts.IDENTICAL_TO
"!=" => Ts.NOT_EQ
"≠" => Ts.NOT_EQUAL_TO
"!==" => Ts.NOT_IS
"≢" => Ts.NOT_IDENTICAL_TO
"∈" => Ts.ELEMENT_OF
"in" => Ts.IN
"isa" => Ts.ISA
"∉" => Ts.NOT_AN_ELEMENT_OF
"∋" => Ts.CONTAINS_AS_MEMBER
"∌" => Ts.DOES_NOT_CONTAIN_AS_MEMBER
"⊆" => Ts.SUBSET_OF_OR_EQUAL_TO
"⊈" => Ts.NEITHER_A_SUBSET_OF_NOR_EQUAL_TO
"⊂" => Ts.SUBSET_OF
"⊄" => Ts.NOT_A_SUBSET_OF
"⊊" => Ts.SUBSET_OF_WITH_NOT_EQUAL_TO
"∝" => Ts.PROPORTIONAL_TO
"∊" => Ts.SMALL_ELEMENT_OF
"∍" => Ts.SMALL_CONTAINS_AS_MEMBER
"∥" => Ts.PARALLEL_TO
"∦" => Ts.NOT_PARALLEL_TO
"∷" => Ts.PROPORTION
"∺" => Ts.GEOMETRIC_PROPORTION
"∻" => Ts.HOMOTHETIC
"∽" => Ts.REVERSED_TILDE
"∾" => Ts.INVERTED_LAZY_S
"≁" => Ts.NOT_TILDE
"≃" => Ts.ASYMPTOTICALLY_EQUAL_TO
"≄" => Ts.NOT_ASYMPTOTICALLY_EQUAL_TO
"≅" => Ts.APPROXIMATELY_EQUAL_TO
"≆" => Ts.APPROXIMATELY_BUT_NOT_ACTUALLY_EQUAL_TO
"≇" => Ts.NEITHER_APPROXIMATELY_NOR_ACTUALLY_EQUAL_TO
"≈" => Ts.ALMOST_EQUAL_TO
"≉" => Ts.NOT_ALMOST_EQUAL_TO
"≊" => Ts.ALMOST_EQUAL_OR_EQUAL_TO
"≋" => Ts.TRIPLE_TILDE
"≌" => Ts.ALL_EQUAL_TO
"≍" => Ts.EQUIVALENT_TO
"≎" => Ts.GEOMETRICALLY_EQUIVALENT_TO
"≐" => Ts.APPROACHES_THE_LIMIT
"≑" => Ts.GEOMETRICALLY_EQUAL_TO
"≒" => Ts.APPROXIMATELY_EQUAL_TO_OR_THE_IMAGE_OF
"≓" => Ts.IMAGE_OF_OR_APPROXIMATELY_EQUAL_TO
"≔" => Ts.COLON_EQUALS
"≕" => Ts.EQUALS_COLON
"≖" => Ts.RING_IN_EQUAL_TO
"≗" => Ts.RING_EQUAL_TO
"≘" => Ts.CORRESPONDS_TO
"≙" => Ts.ESTIMATES
"≚" => Ts.EQUIANGULAR_TO
"≛" => Ts.STAR_EQUALS
"≜" => Ts.DELTA_EQUAL_TO
"≝" => Ts.EQUAL_TO_BY_DEFINITION
"≞" => Ts.MEASURED_BY
"≟" => Ts.QUESTIONED_EQUAL_TO
"≣" => Ts.STRICTLY_EQUIVALENT_TO
"≦" => Ts.LESS_THAN_OVER_EQUAL_TO
"≧" => Ts.GREATER_THAN_OVER_EQUAL_TO
"≨" => Ts.LESS_THAN_BUT_NOT_EQUAL_TO
"≩" => Ts.GREATER_THAN_BUT_NOT_EQUAL_TO
"≪" => Ts.MUCH_LESS_THAN
"≫" => Ts.MUCH_GREATER_THAN
"≬" => Ts.BETWEEN
"≭" => Ts.NOT_EQUIVALENT_TO
"≮" => Ts.NOT_LESS_THAN
"≯" => Ts.NOT_GREATER_THAN
"≰" => Ts.NEITHER_LESS_THAN_NOR_EQUAL_TO
"≱" => Ts.NEITHER_GREATER_THAN_NOR_EQUAL_TO
"≲" => Ts.LESS_THAN_OR_EQUIVALENT_TO
"≳" => Ts.GREATER_THAN_OR_EQUIVALENT_TO
"≴" => Ts.NEITHER_LESS_THAN_NOR_EQUIVALENT_TO
"≵" => Ts.NEITHER_GREATER_THAN_NOR_EQUIVALENT_TO
"≶" => Ts.LESS_THAN_OR_GREATER_THAN
"≷" => Ts.GREATER_THAN_OR_LESS_THAN
"≸" => Ts.NEITHER_LESS_THAN_NOR_GREATER_THAN
"≹" => Ts.NEITHER_GREATER_THAN_NOR_LESS_THAN
"≺" => Ts.PRECEDES
"≻" => Ts.SUCCEEDS
"≼" => Ts.PRECEDES_OR_EQUAL_TO
"≽" => Ts.SUCCEEDS_OR_EQUAL_TO
"≾" => Ts.PRECEDES_OR_EQUIVALENT_TO
"≿" => Ts.SUCCEEDS_OR_EQUIVALENT_TO
"⊀" => Ts.DOES_NOT_PRECEDE
"⊁" => Ts.DOES_NOT_SUCCEED
"⊃" => Ts.SUPERSET_OF
"⊅" => Ts.NOT_A_SUPERSET_OF
"⊇" => Ts.SUPERSET_OF_OR_EQUAL_TO
"⊉" => Ts.NEITHER_A_SUPERSET_OF_NOR_EQUAL_TO
"⊋" => Ts.SUPERSET_OF_WITH_NOT_EQUAL_TO
"⊏" => Ts.SQUARE_IMAGE_OF
"⊐" => Ts.SQUARE_ORIGINAL_OF
"⊑" => Ts.SQUARE_IMAGE_OF_OR_EQUAL_TO
"⊒" => Ts.SQUARE_ORIGINAL_OF_OR_EQUAL_TO
"⊜" => Ts.CIRCLED_EQUALS
"⊩" => Ts.FORCES
"⊬" => Ts.DOES_NOT_PROVE
"⊮" => Ts.DOES_NOT_FORCE
"⊰" => Ts.PRECEDES_UNDER_RELATION
"⊱" => Ts.SUCCEEDS_UNDER_RELATION
"⊲" => Ts.NORMAL_SUBGROUP_OF
"⊳" => Ts.CONTAINS_AS_NORMAL_SUBGROUP
"⊴" => Ts.NORMAL_SUBGROUP_OF_OR_EQUAL_TO
"⊵" => Ts.CONTAINS_AS_NORMAL_SUBGROUP_OR_EQUAL_TO
"⊶" => Ts.ORIGINAL_OF
"⊷" => Ts.IMAGE_OF
"⋍" => Ts.REVERSED_TILDE_EQUALS
"⋐" => Ts.DOUBLE_SUBSET
"⋑" => Ts.DOUBLE_SUPERSET
"⋕" => Ts.EQUAL_AND_PARALLEL_TO
"⋖" => Ts.LESS_THAN_WITH_DOT
"⋗" => Ts.GREATER_THAN_WITH_DOT
"⋘" => Ts.VERY_MUCH_LESS_THAN
"⋙" => Ts.VERY_MUCH_GREATER_THAN
"⋚" => Ts.LESS_THAN_EQUAL_TO_OR_GREATER_THAN
"⋛" => Ts.GREATER_THAN_EQUAL_TO_OR_LESS_THAN
"⋜" => Ts.EQUAL_TO_OR_LESS_THAN
"⋝" => Ts.EQUAL_TO_OR_GREATER_THAN
"⋞" => Ts.EQUAL_TO_OR_PRECEDES
"⋟" => Ts.EQUAL_TO_OR_SUCCEEDS
"⋠" => Ts.DOES_NOT_PRECEDE_OR_EQUAL
"⋡" => Ts.DOES_NOT_SUCCEED_OR_EQUAL
"⋢" => Ts.NOT_SQUARE_IMAGE_OF_OR_EQUAL_TO
"⋣" => Ts.NOT_SQUARE_ORIGINAL_OF_OR_EQUAL_TO
"⋤" => Ts.SQUARE_IMAGE_OF_OR_NOT_EQUAL_TO
"⋥" => Ts.SQUARE_ORIGINAL_OF_OR_NOT_EQUAL_TO
"⋦" => Ts.LESS_THAN_BUT_NOT_EQUIVALENT_TO
"⋧" => Ts.GREATER_THAN_BUT_NOT_EQUIVALENT_TO
"⋨" => Ts.PRECEDES_BUT_NOT_EQUIVALENT_TO
"⋩" => Ts.SUCCEEDS_BUT_NOT_EQUIVALENT_TO
"⋪" => Ts.NOT_NORMAL_SUBGROUP_OF
"⋫" => Ts.DOES_NOT_CONTAIN_AS_NORMAL_SUBGROUP
"⋬" => Ts.NOT_NORMAL_SUBGROUP_OF_OR_EQUAL_TO
"⋭" => Ts.DOES_NOT_CONTAIN_AS_NORMAL_SUBGROUP_OR_EQUAL
"⋲" => Ts.ELEMENT_OF_WITH_LONG_HORIZONTAL_STROKE
"⋳" => Ts.ELEMENT_OF_WITH_VERTICAL_BAR_AT_END_OF_HORIZONTAL_STROKE
"⋴" => Ts.SMALL_ELEMENT_OF_WITH_VERTICAL_BAR_AT_END_OF_HORIZONTAL_STROKE
"⋵" => Ts.ELEMENT_OF_WITH_DOT_ABOVE
"⋶" => Ts.ELEMENT_OF_WITH_OVERBAR
"⋷" => Ts.SMALL_ELEMENT_OF_WITH_OVERBAR
"⋸" => Ts.ELEMENT_OF_WITH_UNDERBAR
"⋹" => Ts.ELEMENT_OF_WITH_TWO_HORIZONTAL_STROKES
"⋺" => Ts.CONTAINS_WITH_LONG_HORIZONTAL_STROKE
"⋻" => Ts.CONTAINS_WITH_VERTICAL_BAR_AT_END_OF_HORIZONTAL_STROKE
"⋼" => Ts.SMALL_CONTAINS_WITH_VERTICAL_BAR_AT_END_OF_HORIZONTAL_STROKE
"⋽" => Ts.CONTAINS_WITH_OVERBAR
"⋾" => Ts.SMALL_CONTAINS_WITH_OVERBAR
"⋿" => Ts.Z_NOTATION_BAG_MEMBERSHIP
"⟈" => Ts.REVERSE_SOLIDUS_PRECEDING_SUBSET
"⟉" => Ts.SUPERSET_PRECEDING_SOLIDUS
"⟒" => Ts.ELEMENT_OF_OPENING_UPWARDS
"⦷" => Ts.CIRCLED_PARALLEL
"⧀" => Ts.CIRCLED_LESS_THAN
"⧁" => Ts.CIRCLED_GREATER_THAN
"⧡" => Ts.INCREASES_AS
"⧣" => Ts.EQUALS_SIGN_AND_SLANTED_PARALLEL
"⧤" => Ts.EQUALS_SIGN_AND_SLANTED_PARALLEL_WITH_TILDE_ABOVE
"⧥" => Ts.IDENTICAL_TO_AND_SLANTED_PARALLEL
"⩦" => Ts.EQUALS_SIGN_WITH_DOT_BELOW
"⩧" => Ts.IDENTICAL_WITH_DOT_ABOVE
"⩪" => Ts.TILDE_OPERATOR_WITH_DOT_ABOVE
"⩫" => Ts.TILDE_OPERATOR_WITH_RISING_DOTS
"⩬" => Ts.SIMILAR_MINUS_SIMILAR
"⩭" => Ts.CONGRUENT_WITH_DOT_ABOVE
"⩮" => Ts.EQUALS_WITH_ASTERISK
"⩯" => Ts.ALMOST_EQUAL_TO_WITH_CIRCUMFLEX_ACCENT
"⩰" => Ts.APPROXIMATELY_EQUAL_OR_EQUAL_TO
"⩱" => Ts.EQUALS_SIGN_ABOVE_PLUS_SIGN
"⩲" => Ts.PLUS_SIGN_ABOVE_EQUALS_SIGN
"⩳" => Ts.EQUALS_SIGN_ABOVE_TILDE_OPERATOR
"⩴" => Ts.DOUBLE_COLON_EQUAL
"⩵" => Ts.TWO_CONSECUTIVE_EQUALS_SIGNS
"⩶" => Ts.THREE_CONSECUTIVE_EQUALS_SIGNS
"⩷" => Ts.EQUALS_SIGN_WITH_TWO_DOTS_ABOVE_AND_TWO_DOTS_BELOW
"⩸" => Ts.EQUIVALENT_WITH_FOUR_DOTS_ABOVE
"⩹" => Ts.LESS_THAN_WITH_CIRCLE_INSIDE
"⩺" => Ts.GREATER_THAN_WITH_CIRCLE_INSIDE
"⩻" => Ts.LESS_THAN_WITH_QUESTION_MARK_ABOVE
"⩼" => Ts.GREATER_THAN_WITH_QUESTION_MARK_ABOVE
"⩽" => Ts.LESS_THAN_OR_SLANTED_EQUAL_TO
"⩾" => Ts.GREATER_THAN_OR_SLANTED_EQUAL_TO
"⩿" => Ts.LESS_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_INSIDE
"⪀" => Ts.GREATER_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_INSIDE
"⪁" => Ts.LESS_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_ABOVE
"⪂" => Ts.GREATER_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_ABOVE
"⪃" => Ts.LESS_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_ABOVE_RIGHT
"⪄" => Ts.GREATER_THAN_OR_SLANTED_EQUAL_TO_WITH_DOT_ABOVE_LEFT
"⪅" => Ts.LESS_THAN_OR_APPROXIMATE
"⪆" => Ts.GREATER_THAN_OR_APPROXIMATE
"⪇" => Ts.LESS_THAN_AND_SINGLE_LINE_NOT_EQUAL_TO
"⪈" => Ts.GREATER_THAN_AND_SINGLE_LINE_NOT_EQUAL_TO
"⪉" => Ts.LESS_THAN_AND_NOT_APPROXIMATE
"⪊" => Ts.GREATER_THAN_AND_NOT_APPROXIMATE
"⪋" => Ts.LESS_THAN_ABOVE_DOUBLE_LINE_EQUAL_ABOVE_GREATER_THAN
"⪌" => Ts.GREATER_THAN_ABOVE_DOUBLE_LINE_EQUAL_ABOVE_LESS_THAN
"⪍" => Ts.LESS_THAN_ABOVE_SIMILAR_OR_EQUAL
"⪎" => Ts.GREATER_THAN_ABOVE_SIMILAR_OR_EQUAL
"⪏" => Ts.LESS_THAN_ABOVE_SIMILAR_ABOVE_GREATER_THAN
"⪐" => Ts.GREATER_THAN_ABOVE_SIMILAR_ABOVE_LESS_THAN
"⪑" => Ts.LESS_THAN_ABOVE_GREATER_THAN_ABOVE_DOUBLE_LINE_EQUAL
"⪒" => Ts.GREATER_THAN_ABOVE_LESS_THAN_ABOVE_DOUBLE_LINE_EQUAL
"⪓" => Ts.LESS_THAN_ABOVE_SLANTED_EQUAL_ABOVE_GREATER_THAN_ABOVE_SLANTED_EQUAL
"⪔" => Ts.GREATER_THAN_ABOVE_SLANTED_EQUAL_ABOVE_LESS_THAN_ABOVE_SLANTED_EQUAL
"⪕" => Ts.SLANTED_EQUAL_TO_OR_LESS_THAN
"⪖" => Ts.SLANTED_EQUAL_TO_OR_GREATER_THAN
"⪗" => Ts.SLANTED_EQUAL_TO_OR_LESS_THAN_WITH_DOT_INSIDE
"⪘" => Ts.SLANTED_EQUAL_TO_OR_GREATER_THAN_WITH_DOT_INSIDE
"⪙" => Ts.DOUBLE_LINE_EQUAL_TO_OR_LESS_THAN
"⪚" => Ts.DOUBLE_LINE_EQUAL_TO_OR_GREATER_THAN
"⪛" => Ts.DOUBLE_LINE_SLANTED_EQUAL_TO_OR_LESS_THAN
"⪜" => Ts.DOUBLE_LINE_SLANTED_EQUAL_TO_OR_GREATER_THAN
"⪝" => Ts.SIMILAR_OR_LESS_THAN
"⪞" => Ts.SIMILAR_OR_GREATER_THAN
"⪟" => Ts.SIMILAR_ABOVE_LESS_THAN_ABOVE_EQUALS_SIGN
"⪠" => Ts.SIMILAR_ABOVE_GREATER_THAN_ABOVE_EQUALS_SIGN
"⪡" => Ts.DOUBLE_NESTED_LESS_THAN
"⪢" => Ts.DOUBLE_NESTED_GREATER_THAN
"⪣" => Ts.DOUBLE_NESTED_LESS_THAN_WITH_UNDERBAR
"⪤" => Ts.GREATER_THAN_OVERLAPPING_LESS_THAN
"⪥" => Ts.GREATER_THAN_BESIDE_LESS_THAN
"⪦" => Ts.LESS_THAN_CLOSED_BY_CURVE
"⪧" => Ts.GREATER_THAN_CLOSED_BY_CURVE
"⪨" => Ts.LESS_THAN_CLOSED_BY_CURVE_ABOVE_SLANTED_EQUAL
"⪩" => Ts.GREATER_THAN_CLOSED_BY_CURVE_ABOVE_SLANTED_EQUAL
"⪪" => Ts.SMALLER_THAN
"⪫" => Ts.LARGER_THAN
"⪬" => Ts.SMALLER_THAN_OR_EQUAL_TO
"⪭" => Ts.LARGER_THAN_OR_EQUAL_TO
"⪮" => Ts.EQUALS_SIGN_WITH_BUMPY_ABOVE
"⪯" => Ts.PRECEDES_ABOVE_SINGLE_LINE_EQUALS_SIGN
"⪰" => Ts.SUCCEEDS_ABOVE_SINGLE_LINE_EQUALS_SIGN
"⪱" => Ts.PRECEDES_ABOVE_SINGLE_LINE_NOT_EQUAL_TO
"⪲" => Ts.SUCCEEDS_ABOVE_SINGLE_LINE_NOT_EQUAL_TO
"⪳" => Ts.PRECEDES_ABOVE_EQUALS_SIGN
"⪴" => Ts.SUCCEEDS_ABOVE_EQUALS_SIGN
"⪵" => Ts.PRECEDES_ABOVE_NOT_EQUAL_TO
"⪶" => Ts.SUCCEEDS_ABOVE_NOT_EQUAL_TO
"⪷" => Ts.PRECEDES_ABOVE_ALMOST_EQUAL_TO
"⪸" => Ts.SUCCEEDS_ABOVE_ALMOST_EQUAL_TO
"⪹" => Ts.PRECEDES_ABOVE_NOT_ALMOST_EQUAL_TO
"⪺" => Ts.SUCCEEDS_ABOVE_NOT_ALMOST_EQUAL_TO
"⪻" => Ts.DOUBLE_PRECEDES
"⪼" => Ts.DOUBLE_SUCCEEDS
"⪽" => Ts.SUBSET_WITH_DOT
"⪾" => Ts.SUPERSET_WITH_DOT
"⪿" => Ts.SUBSET_WITH_PLUS_SIGN_BELOW
"⫀" => Ts.SUPERSET_WITH_PLUS_SIGN_BELOW
"⫁" => Ts.SUBSET_WITH_MULTIPLICATION_SIGN_BELOW
"⫂" => Ts.SUPERSET_WITH_MULTIPLICATION_SIGN_BELOW
"⫃" => Ts.SUBSET_OF_OR_EQUAL_TO_WITH_DOT_ABOVE
"⫄" => Ts.SUPERSET_OF_OR_EQUAL_TO_WITH_DOT_ABOVE
"⫅" => Ts.SUBSET_OF_ABOVE_EQUALS_SIGN
"⫆" => Ts.SUPERSET_OF_ABOVE_EQUALS_SIGN
"⫇" => Ts.SUBSET_OF_ABOVE_TILDE_OPERATOR
"⫈" => Ts.SUPERSET_OF_ABOVE_TILDE_OPERATOR
"⫉" => Ts.SUBSET_OF_ABOVE_ALMOST_EQUAL_TO
"⫊" => Ts.SUPERSET_OF_ABOVE_ALMOST_EQUAL_TO
"⫋" => Ts.SUBSET_OF_ABOVE_NOT_EQUAL_TO
"⫌" => Ts.SUPERSET_OF_ABOVE_NOT_EQUAL_TO
"⫍" => Ts.SQUARE_LEFT_OPEN_BOX_OPERATOR
"⫎" => Ts.SQUARE_RIGHT_OPEN_BOX_OPERATOR
"⫏" => Ts.CLOSED_SUBSET
"⫐" => Ts.CLOSED_SUPERSET
"⫑" => Ts.CLOSED_SUBSET_OR_EQUAL_TO
"⫒" => Ts.CLOSED_SUPERSET_OR_EQUAL_TO
"⫓" => Ts.SUBSET_ABOVE_SUPERSET
"⫔" => Ts.SUPERSET_ABOVE_SUBSET
"⫕" => Ts.SUBSET_ABOVE_SUBSET
"⫖" => Ts.SUPERSET_ABOVE_SUPERSET
"⫗" => Ts.SUPERSET_BESIDE_SUBSET
"⫘" => Ts.SUPERSET_BESIDE_AND_JOINED_BY_DASH_WITH_SUBSET
"⫙" => Ts.ELEMENT_OF_OPENING_DOWNWARDS
"⫷" => Ts.TRIPLE_NESTED_LESS_THAN
"⫸" => Ts.TRIPLE_NESTED_GREATER_THAN
"⫹" => Ts.DOUBLE_LINE_SLANTED_LESS_THAN_OR_EQUAL_TO
"⫺" => Ts.DOUBLE_LINE_SLANTED_GREATER_THAN_OR_EQUAL_TO
"⊢" => Ts.RIGHT_TACK
"⊣" => Ts.LEFT_TACK
# ⫪,⫫ see https://github.com/JuliaLang/julia/issues/39350
"⫪" => Ts.DOUBLE_DOWN_TACK
"⫫" => Ts.DOUBLE_UP_TACK
"⟂" => Ts.PERP
"END_COMPARISON" => Ts.end_comparison
# Level 7
"BEGIN_PIPE" => Ts.begin_pipe
"<|" => Ts.LPIPE
"|>" => Ts.RPIPE
"END_PIPE" => Ts.end_pipe
# Level 8
"BEGIN_COLON" => Ts.begin_colon
":" => Ts.COLON
".." => Ts.DDOT
"…" => Ts.LDOTS
"⁝" => Ts.TRICOLON
"⋮" => Ts.VDOTS
"⋱" => Ts.DDOTS
"⋰" => Ts.ADOTS
"⋯" => Ts.CDOTS
"END_COLON" => Ts.end_colon
# Level 9
"BEGIN_PLUS" => Ts.begin_plus
"\$" => Ts.EX_OR
"+" => Ts.PLUS
"-" => Ts.MINUS
"++" => Ts.PLUSPLUS
"⊕" => Ts.CIRCLED_PLUS
"⊖" => Ts.CIRCLED_MINUS
"⊞" => Ts.SQUARED_PLUS
"⊟" => Ts.SQUARED_MINUS
"|" => Ts.OR
"∪" => Ts.UNION
"∨" => Ts.LOGICAL_OR
"⊔" => Ts.SQUARE_CUP
"±" => Ts.PLUS_MINUS_SIGN
"∓" => Ts.MINUS_OR_PLUS_SIGN
"∔" => Ts.DOT_PLUS
"∸" => Ts.DOT_MINUS
"≂" => Ts.MINUS_TILDE
"≏" => Ts.DIFFERENCE_BETWEEN
"⊎" => Ts.MULTISET_UNION
"⊻" => Ts.XOR
"⊽" => Ts.NOR
"⋎" => Ts.CURLY_LOGICAL_OR
"⋓" => Ts.DOUBLE_UNION
"⧺" => Ts.DOUBLE_PLUS
"⧻" => Ts.TRIPLE_PLUS
"⨈" => Ts.TWO_LOGICAL_OR_OPERATOR
"⨢" => Ts.PLUS_SIGN_WITH_SMALL_CIRCLE_ABOVE
"⨣" => Ts.PLUS_SIGN_WITH_CIRCUMFLEX_ACCENT_ABOVE
"⨤" => Ts.PLUS_SIGN_WITH_TILDE_ABOVE
"⨥" => Ts.PLUS_SIGN_WITH_DOT_BELOW
"⨦" => Ts.PLUS_SIGN_WITH_TILDE_BELOW
"⨧" => Ts.PLUS_SIGN_WITH_SUBSCRIPT_TWO
"⨨" => Ts.PLUS_SIGN_WITH_BLACK_TRIANGLE
"⨩" => Ts.MINUS_SIGN_WITH_COMMA_ABOVE
"⨪" => Ts.MINUS_SIGN_WITH_DOT_BELOW
"⨫" => Ts.MINUS_SIGN_WITH_FALLING_DOTS
"⨬" => Ts.MINUS_SIGN_WITH_RISING_DOTS
"⨭" => Ts.PLUS_SIGN_IN_LEFT_HALF_CIRCLE
"⨮" => Ts.PLUS_SIGN_IN_RIGHT_HALF_CIRCLE
"⨹" => Ts.PLUS_SIGN_IN_TRIANGLE
"⨺" => Ts.MINUS_SIGN_IN_TRIANGLE
"⩁" => Ts.UNION_WITH_MINUS_SIGN
"⩂" => Ts.UNION_WITH_OVERBAR
"⩅" => Ts.UNION_WITH_LOGICAL_OR
"⩊" => Ts.UNION_BESIDE_AND_JOINED_WITH_UNION
"⩌" => Ts.CLOSED_UNION_WITH_SERIFS
"⩏" => Ts.DOUBLE_SQUARE_UNION
"⩐" => Ts.CLOSED_UNION_WITH_SERIFS_AND_SMASH_PRODUCT
"⩒" => Ts.LOGICAL_OR_WITH_DOT_ABOVE
"⩔" => Ts.DOUBLE_LOGICAL_OR
"⩖" => Ts.TWO_INTERSECTING_LOGICAL_OR
"⩗" => Ts.SLOPING_LARGE_OR
"⩛" => Ts.LOGICAL_OR_WITH_MIDDLE_STEM
"⩝" => Ts.LOGICAL_OR_WITH_HORIZONTAL_DASH
"⩡" => Ts.SMALL_VEE_WITH_UNDERBAR
"⩢" => Ts.LOGICAL_OR_WITH_DOUBLE_OVERBAR
"⩣" => Ts.LOGICAL_OR_WITH_DOUBLE_UNDERBAR
"¦" => Ts.BROKEN_BAR
"END_PLUS" => Ts.end_plus
# Level 10
"BEGIN_BITSHIFTS" => Ts.begin_bitshifts
"<<" => Ts.LBITSHIFT
">>" => Ts.RBITSHIFT
">>>" => Ts.UNSIGNED_BITSHIFT
"END_BITSHIFTS" => Ts.end_bitshifts
# Level 11
"BEGIN_TIMES" => Ts.begin_times
"*" => Ts.STAR
"/" => Ts.FWD_SLASH
"÷" => Ts.DIVISION_SIGN
"%" => Ts.REM
"⋅" => Ts.UNICODE_DOT
"∘" => Ts.RING_OPERATOR
"×" => Ts.MULTIPLICATION_SIGN
"\\" => Ts.BACKSLASH
"&" => Ts.AND
"∩" => Ts.INTERSECTION
"∧" => Ts.LOGICAL_AND
"⊗" => Ts.CIRCLED_TIMES
"⊘" => Ts.CIRCLED_DIVISION_SLASH
"⊙" => Ts.CIRCLED_DOT_OPERATOR
"⊚" => Ts.CIRCLED_RING_OPERATOR
"⊛" => Ts.CIRCLED_ASTERISK_OPERATOR
"⊠" => Ts.SQUARED_TIMES
"⊡" => Ts.SQUARED_DOT_OPERATOR
"⊓" => Ts.SQUARE_CAP
"∗" => Ts.ASTERISK_OPERATOR
"∙" => Ts.BULLET_OPERATOR
"∤" => Ts.DOES_NOT_DIVIDE
"⅋" => Ts.TURNED_AMPERSAND
"≀" => Ts.WREATH_PRODUCT
"⊼" => Ts.NAND
"⋄" => Ts.DIAMOND_OPERATOR
"⋆" => Ts.STAR_OPERATOR
"⋇" => Ts.DIVISION_TIMES
"⋉" => Ts.LEFT_NORMAL_FACTOR_SEMIDIRECT_PRODUCT
"⋊" => Ts.RIGHT_NORMAL_FACTOR_SEMIDIRECT_PRODUCT
"⋋" => Ts.LEFT_SEMIDIRECT_PRODUCT
"⋌" => Ts.RIGHT_SEMIDIRECT_PRODUCT
"⋏" => Ts.CURLY_LOGICAL_AND
"⋒" => Ts.DOUBLE_INTERSECTION
"⟑" => Ts.AND_WITH_DOT
"⦸" => Ts.CIRCLED_REVERSE_SOLIDUS
"⦼" => Ts.CIRCLED_ANTICLOCKWISE_ROTATED_DIVISION_SIGN
"⦾" => Ts.CIRCLED_WHITE_BULLET
"⦿" => Ts.CIRCLED_BULLET
"⧶" => Ts.SOLIDUS_WITH_OVERBAR
"⧷" => Ts.REVERSE_SOLIDUS_WITH_HORIZONTAL_STROKE
"⨇" => Ts.TWO_LOGICAL_AND_OPERATOR
"⨰" => Ts.MULTIPLICATION_SIGN_WITH_DOT_ABOVE
"⨱" => Ts.MULTIPLICATION_SIGN_WITH_UNDERBAR
"⨲" => Ts.SEMIDIRECT_PRODUCT_WITH_BOTTOM_CLOSED
"⨳" => Ts.SMASH_PRODUCT
"⨴" => Ts.MULTIPLICATION_SIGN_IN_LEFT_HALF_CIRCLE
"⨵" => Ts.MULTIPLICATION_SIGN_IN_RIGHT_HALF_CIRCLE
"⨶" => Ts.CIRCLED_MULTIPLICATION_SIGN_WITH_CIRCUMFLEX_ACCENT
"⨷" => Ts.MULTIPLICATION_SIGN_IN_DOUBLE_CIRCLE
"⨸" => Ts.CIRCLED_DIVISION_SIGN
"⨻" => Ts.MULTIPLICATION_SIGN_IN_TRIANGLE
"⨼" => Ts.INTERIOR_PRODUCT
"⨽" => Ts.RIGHTHAND_INTERIOR_PRODUCT
"⩀" => Ts.INTERSECTION_WITH_DOT
"⩃" => Ts.INTERSECTION_WITH_OVERBAR
"⩄" => Ts.INTERSECTION_WITH_LOGICAL_AND
"⩋" => Ts.INTERSECTION_BESIDE_AND_JOINED_WITH_INTERSECTION
"⩍" => Ts.CLOSED_INTERSECTION_WITH_SERIFS
"⩎" => Ts.DOUBLE_SQUARE_INTERSECTION
"⩑" => Ts.LOGICAL_AND_WITH_DOT_ABOVE
"⩓" => Ts.DOUBLE_LOGICAL_AND
"⩕" => Ts.TWO_INTERSECTING_LOGICAL_AND
"⩘" => Ts.SLOPING_LARGE_AND
"⩚" => Ts.LOGICAL_AND_WITH_MIDDLE_STEM
"⩜" => Ts.LOGICAL_AND_WITH_HORIZONTAL_DASH
"⩞" => Ts.LOGICAL_AND_WITH_DOUBLE_OVERBAR
"⩟" => Ts.LOGICAL_AND_WITH_UNDERBAR
"⩠" => Ts.LOGICAL_AND_WITH_DOUBLE_UNDERBAR
"⫛" => Ts.TRANSVERSAL_INTERSECTION
"⊍" => Ts.MULTISET_MULTIPLICATION
"▷" => Ts.WHITE_RIGHT_POINTING_TRIANGLE
"⨝" => Ts.JOIN
"⟕" => Ts.LEFT_OUTER_JOIN
"⟖" => Ts.RIGHT_OUTER_JOIN
"⟗" => Ts.FULL_OUTER_JOIN
"⌿" => Ts.NOT_SLASH
"⨟" => Ts.BB_SEMI
"END_TIMES" => Ts.end_times
# Level 12
"BEGIN_RATIONAL" => Ts.begin_rational
"//" => Ts.FWDFWD_SLASH
"END_RATIONAL" => Ts.end_rational
# Level 13
"BEGIN_POWER" => Ts.begin_power
"^" => Ts.CIRCUMFLEX_ACCENT
"↑" => Ts.UPWARDS_ARROW
"↓" => Ts.DOWNWARDS_ARROW
"⇵" => Ts.DOWNWARDS_ARROW_LEFTWARDS_OF_UPWARDS_ARROW
"⟰" => Ts.UPWARDS_QUADRUPLE_ARROW
"⟱" => Ts.DOWNWARDS_QUADRUPLE_ARROW
"⤈" => Ts.DOWNWARDS_ARROW_WITH_HORIZONTAL_STROKE
"⤉" => Ts.UPWARDS_ARROW_WITH_HORIZONTAL_STROKE
"⤊" => Ts.UPWARDS_TRIPLE_ARROW
"⤋" => Ts.DOWNWARDS_TRIPLE_ARROW
"⤒" => Ts.UPWARDS_ARROW_TO_BAR
"⤓" => Ts.DOWNWARDS_ARROW_TO_BAR
"⥉" => Ts.UPWARDS_TWO_HEADED_ARROW_FROM_SMALL_CIRCLE
"⥌" => Ts.UP_BARB_RIGHT_DOWN_BARB_LEFT_HARPOON
"⥍" => Ts.UP_BARB_LEFT_DOWN_BARB_RIGHT_HARPOON
"⥏" => Ts.UP_BARB_RIGHT_DOWN_BARB_RIGHT_HARPOON
"⥑" => Ts.UP_BARB_LEFT_DOWN_BARB_LEFT_HARPOON
"⥔" => Ts.UPWARDS_HARPOON_WITH_BARB_RIGHT_TO_BAR
"⥕" => Ts.DOWNWARDS_HARPOON_WITH_BARB_RIGHT_TO_BAR
"⥘" => Ts.UPWARDS_HARPOON_WITH_BARB_LEFT_TO_BAR
"⥙" => Ts.DOWNWARDS_HARPOON_WITH_BARB_LEFT_TO_BAR
"⥜" => Ts.UPWARDS_HARPOON_WITH_BARB_RIGHT_FROM_BAR
"⥝" => Ts.DOWNWARDS_HARPOON_WITH_BARB_RIGHT_FROM_BAR
"⥠" => Ts.UPWARDS_HARPOON_WITH_BARB_LEFT_FROM_BAR
"⥡" => Ts.DOWNWARDS_HARPOON_WITH_BARB_LEFT_FROM_BAR
"⥣" => Ts.UPWARDS_HARPOON_WITH_BARB_LEFT_BESIDE_UPWARDS_HARPOON_WITH_BARB_RIGHT
"⥥" => Ts.DOWNWARDS_HARPOON_WITH_BARB_LEFT_BESIDE_DOWNWARDS_HARPOON_WITH_BARB_RIGHT
"⥮" => Ts.UPWARDS_HARPOON_WITH_BARB_LEFT_BESIDE_DOWNWARDS_HARPOON_WITH_BARB_RIGHT
"⥯" => Ts.DOWNWARDS_HARPOON_WITH_BARB_LEFT_BESIDE_UPWARDS_HARPOON_WITH_BARB_RIGHT
"↑" => Ts.HALFWIDTH_UPWARDS_ARROW
"↓" => Ts.HALFWIDTH_DOWNWARDS_ARROW
"END_POWER" => Ts.end_power
# Level 14
"BEGIN_DECL" => Ts.begin_decl
"::" => Ts.DECLARATION
"END_DECL" => Ts.end_decl
# Level 15
"BEGIN_WHERE" => Ts.begin_where
"where" => Ts.WHERE
"END_WHERE" => Ts.end_where
# Level 16
"BEGIN_DOT" => Ts.begin_dot
"." => Ts.DOT
"END_DOT" => Ts.end_dot
"!" => Ts.NOT
"'" => Ts.PRIME
".'" => Ts.TRANSPOSE
"->" => Ts.ANON_FUNC
"BEGIN_UNICODE_OPS" => Ts.begin_unicode_ops
"¬" => Ts.NOT_SIGN
"√" => Ts.SQUARE_ROOT
"∛" => Ts.CUBE_ROOT
"∜" => Ts.QUAD_ROOT
"END_UNICODE_OPS" => Ts.end_unicode_ops
"END_OPS" => Ts.end_ops
"BEGIN_PARSER_TOKENS" => Ts.begin_parser_tokens
"TOMBSTONE" => Ts.TOMBSTONE
# Macro names are modelled as a special kind of identifier because the
# @ may not be attached to the macro name in the source (or may not be
# associated with a token at all in the case of implied macro calls
# like CORE_DOC_MACRO_NAME)
"BEGIN_MACRO_NAMES" => Ts.begin_macro_names
"MacroName" => Ts.MACRO_NAME # A macro name identifier
"@." => Ts.DOT_MACRO_NAME # The macro name of @.
"StringMacroName" => Ts.STRING_MACRO_NAME # macname"some_str"
"CmdMacroName" => Ts.CMD_MACRO_NAME # macname`some_str`
"core_@doc" => Ts.CORE_DOC_MACRO_NAME # Core.@doc
"core_@cmd" => Ts.CORE_CMD_MACRO_NAME # Core.@cmd
"core_@int128_str" => Ts.CORE_INT128_STR_MACRO_NAME # Core.@int128_str
"core_@uint128_str" => Ts.CORE_UINT128_STR_MACRO_NAME # Core.@uint128_str
"core_@big_str" => Ts.CORE_BIG_STR_MACRO_NAME # Core.@big_str
"END_MACRO_NAMES" => Ts.end_macro_names
"END_PARSER_TOKENS" => Ts.end_parser_tokens
# Our custom syntax tokens
"BEGIN_SYNTAX_KINDS" => Ts.begin_syntax_kinds
"block" => Ts.BLOCK
"call" => Ts.CALL
"comparison" => Ts.COMPARISON
"curly" => Ts.CURLY
"inert" => Ts.INERT
"string" => Ts.STRING_INTERP
"macrocall" => Ts.MACROCALL
"kw" => Ts.KW # the = in f(a=1)
"parameters" => Ts.PARAMETERS # the list after ; in f(; a=1)
"toplevel" => Ts.TOPLEVEL
"tuple" => Ts.TUPLE
"ref" => Ts.REF
"vect" => Ts.VECT
"braces" => Ts.BRACES
"bracescat" => Ts.BRACESCAT
"hcat" => Ts.HCAT
"vcat" => Ts.VCAT
"ncat" => Ts.NCAT
"typed_hcat" => Ts.TYPED_HCAT
"typed_vcat" => Ts.TYPED_VCAT
"typed_ncat" => Ts.TYPED_NCAT
"row" => Ts.ROW
"nrow" => Ts.NROW
"generator" => Ts.GENERATOR
"filter" => Ts.FILTER
"flatten" => Ts.FLATTEN
"comprehension" => Ts.COMPREHENSION
"typed_comprehension" => Ts.TYPED_COMPREHENSION
"END_SYNTAX_KINDS" => Ts.end_syntax_kinds
])
end
# Mapping from kinds to their unique string representation, if it exists
const _kind_to_str_unique =
Dict{Kind,String}(k=>string(s) for (k,s) in TzTokens.UNICODE_OPS_REVERSE)
for kw in split("""
( [ { } ] ) @ , ; " \"\"\" ` ```
baremodule begin break catch const
continue do else elseif end export finally for
function global if import let local
macro module quote return struct try type using while
as abstract doc mutable outer primitive type var
block call comparison curly string inert macrocall kw parameters
toplevel tuple ref vect braces bracescat hcat
vcat ncat typed_hcat typed_vcat typed_ncat row nrow generator
filter flatten comprehension typed_comprehension
error nothing true false None
""")
_kind_to_str_unique[_str_to_kind[kw]] = kw
end
const _kind_to_str = Dict(s=>k for (k,s) in _str_to_kind)
| [
2,
337,
5912,
422,
11241,
4731,
42814,
284,
27056,
341,
3815,
355,
973,
287,
2488,
42,
62,
2536,
198,
2,
198,
2,
16926,
46,
25,
791,
1958,
29130,
1096,
351,
428,
3164,
523,
356,
836,
470,
761,
284,
3551,
777,
503,
198,
2,
287,
734,
4113,
13,
198,
198,
9979,
4808,
2536,
62,
1462,
62,
11031,
796,
1309,
13146,
796,
309,
89,
22906,
198,
35,
713,
26933,
198,
1,
14202,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
45,
11651,
198,
1,
12915,
9704,
263,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
10619,
44,
14175,
1137,
198,
1,
21357,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9858,
10979,
198,
1,
1199,
2737,
10223,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
12418,
2043,
1546,
47,
11598,
198,
1,
33234,
7483,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
25256,
5064,
38311,
198,
1,
31,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
1404,
62,
46224,
198,
2430,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9858,
5673,
198,
8172,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
50,
3620,
2149,
3535,
1340,
198,
198,
1,
33,
43312,
62,
24908,
50,
1,
220,
220,
5218,
220,
13146,
13,
27471,
62,
48277,
198,
2,
29130,
1634,
8563,
198,
1,
12331,
36,
1659,
29800,
21357,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
13146,
13,
4720,
37,
62,
44,
16724,
2149,
2662,
10979,
198,
1,
12331,
36,
1659,
12441,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
13146,
13,
4720,
37,
62,
38019,
198,
1,
12331,
44651,
45,
39223,
3103,
18797,
1,
5218,
13146,
13,
1268,
23428,
2389,
62,
41359,
1137,
2149,
62,
10943,
2257,
8643,
198,
1,
12331,
44651,
18843,
1352,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
13146,
13,
1268,
23428,
2389,
62,
31054,
25633,
198,
1,
12331,
44651,
9492,
16104,
341,
44798,
1352,
1,
5218,
13146,
13,
1268,
23428,
2389,
62,
41358,
45472,
6234,
62,
5781,
23678,
25633,
198,
2,
42044,
4049,
198,
1,
18224,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
24908,
198,
1,
10619,
62,
24908,
50,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
437,
62,
48277,
198,
198,
1,
33,
43312,
62,
20373,
45359,
5258,
1,
5218,
13146,
13,
27471,
62,
2539,
10879,
198,
1,
49382,
21412,
1,
220,
5218,
220,
13146,
13,
33,
1503,
3620,
3727,
24212,
198,
1,
27471,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
33,
43312,
198,
1,
9032,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
40438,
10206,
198,
1,
40198,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
11417,
198,
1,
9979,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
10943,
2257,
198,
1,
43043,
1,
220,
220,
220,
5218,
220,
13146,
13,
37815,
1268,
8924,
198,
1,
4598,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
18227,
198,
1,
17772,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
3698,
5188,
198,
1,
17772,
361,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
3698,
5188,
5064,
198,
1,
437,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
10619,
198,
1,
39344,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
6369,
15490,
198,
1,
69,
3289,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
20032,
19807,
198,
1,
1640,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
13775,
198,
1,
8818,
1,
220,
220,
220,
5218,
220,
13146,
13,
42296,
4177,
2849,
198,
1,
20541,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
8763,
9864,
1847,
198,
1,
361,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
5064,
198,
1,
11748,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
3955,
15490,
198,
1,
1616,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
28882,
198,
1,
12001,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
29701,
1847,
198,
1,
20285,
305,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
44721,
13252,
198,
1,
21412,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
33365,
24212,
198,
1,
22708,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
10917,
23051,
198,
1,
7783,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
26087,
27064,
198,
1,
7249,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
46126,
198,
1,
28311,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
40405,
198,
1,
3500,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
2937,
2751,
198,
1,
4514,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
12418,
41119,
198,
2,
38356,
26286,
198,
1,
397,
8709,
1,
220,
220,
220,
5218,
220,
13146,
13,
6242,
18601,
10659,
198,
1,
292,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
1921,
198,
1,
15390,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
38715,
198,
1,
76,
18187,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
44,
3843,
17534,
198,
1,
39605,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
2606,
5781,
198,
1,
19795,
1800,
1,
220,
220,
5218,
220,
13146,
13,
4805,
3955,
2043,
9306,
198,
1,
4906,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
25216,
198,
1,
7785,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
53,
1503,
198,
1,
10619,
62,
20373,
45359,
5258,
1,
5218,
13146,
13,
437,
62,
2539,
10879,
198,
198,
1,
33,
43312,
62,
34,
2257,
27082,
35009,
1,
220,
220,
220,
5218,
220,
13146,
13,
27471,
62,
66,
301,
48610,
198,
1,
22366,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
11929,
39,
2751,
198,
1,
3791,
1370,
46456,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
13965,
24027,
62,
19416,
198,
1,
10619,
62,
34,
2257,
27082,
35009,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
437,
62,
66,
301,
48610,
198,
198,
1,
33,
43312,
62,
43,
2043,
27130,
1,
220,
5218,
220,
13146,
13,
27471,
62,
18250,
1691,
198,
1,
46541,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
12394,
7156,
1137,
198,
1,
33,
259,
5317,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
33,
1268,
62,
12394,
198,
1,
39,
1069,
5317,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
39,
6369,
62,
12394,
198,
1,
12349,
5317,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
46,
4177,
62,
12394,
198,
1,
43879,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
3697,
46,
1404,
198,
1,
10100,
1,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
18601,
2751,
198,
1,
12441,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
38019,
198,
1,
40109,
10100,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
12740,
198,
1,
7942,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
5446,
8924,
198,
1,
9562,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
37,
23719,
198,
1,
10619,
62,
43,
2043,
27130,
1,
220,
220,
220,
5218,
220,
13146,
13,
437,
62,
18250,
1691,
198,
198,
1,
33,
43312,
62,
35,
3698,
3955,
2043,
4877,
1,
220,
5218,
13146,
13,
27471,
62,
12381,
320,
270,
364,
198,
1,
14692,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
6561,
10917,
12203,
198,
8973,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
6998,
10917,
12203,
198,
1,
4895,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
11473,
11598,
198,
20662,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
11473,
11598,
198,
1,
7203,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
19930,
1503,
1677,
198,
4943,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
20031,
1503,
1677,
198,
1,
7879,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
35,
10917,
23051,
198,
1,
7879,
7879,
7879,
1,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
35,
10917,
23051,
198,
1,
63,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
31098,
51,
11860,
198,
1,
15506,
63,
1,
220,
220,
220,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
31098,
51,
11860,
198,
1,
10619,
62,
35,
3698,
3955,
2043,
4877,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
12381,
320,
270,
364,
198,
198,
1,
33,
43312,
62,
30737,
1,
220,
5218,
13146,
13,
27471,
62,
2840,
198,
1,
9313,
5218,
13146,
13,
16458,
35,
2394,
198,
198,
2,
5684,
352,
198,
1,
33,
43312,
62,
10705,
16284,
28957,
1,
220,
5218,
13146,
13,
27471,
62,
562,
570,
902,
198,
1,
2625,
220,
220,
220,
220,
5218,
220,
13146,
13,
36,
48,
198,
1,
10,
2625,
220,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
36,
48,
198,
26793,
2625,
220,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
36,
48,
198,
1,
9,
2625,
220,
220,
220,
5218,
220,
13146,
13,
46678,
62,
36,
48,
198,
1,
14,
2625,
220,
220,
220,
5218,
220,
13146,
13,
37,
22332,
62,
8634,
11211,
62,
36,
48,
198,
1,
1003,
2625,
220,
220,
5218,
220,
13146,
13,
24160,
8068,
22332,
62,
8634,
11211,
62,
36,
48,
198,
1,
91,
2625,
220,
220,
220,
5218,
220,
13146,
13,
1581,
62,
36,
48,
198,
1,
61,
2625,
220,
220,
220,
5218,
220,
13146,
13,
34,
49060,
5883,
37,
2538,
55,
62,
36,
48,
198,
1,
127,
115,
2625,
220,
220,
220,
5218,
220,
13146,
13,
33569,
42446,
62,
36,
48,
198,
1,
4,
2625,
220,
220,
220,
5218,
220,
13146,
13,
40726,
62,
36,
48,
198,
1,
16791,
2625,
220,
220,
5218,
220,
13146,
13,
43,
26094,
9693,
32297,
62,
36,
48,
198,
1,
4211,
2625,
220,
220,
5218,
220,
13146,
13,
49,
26094,
9693,
32297,
62,
36,
48,
198,
1,
33409,
2625,
220,
5218,
220,
13146,
13,
4944,
46224,
1961,
62,
26094,
9693,
32297,
62,
36,
48,
198,
1,
6852,
2625,
220,
220,
5218,
220,
13146,
13,
31098,
8634,
11211,
62,
36,
48,
198,
1,
5,
2625,
220,
220,
220,
5218,
220,
13146,
13,
6981,
62,
36,
48,
198,
1298,
2625,
220,
220,
220,
5218,
220,
13146,
13,
25154,
1340,
62,
36,
48,
198,
1,
93,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
55,
198,
1,
59,
3,
2625,
220,
220,
220,
5218,
220,
13146,
13,
6369,
62,
1581,
62,
36,
48,
198,
1,
158,
232,
119,
2625,
220,
220,
220,
5218,
220,
13146,
13,
55,
1581,
62,
36,
48,
198,
1,
10619,
62,
10705,
16284,
28957,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
562,
570,
902,
198,
198,
1,
33,
43312,
62,
4537,
4663,
26465,
3913,
1,
220,
5218,
13146,
13,
27471,
62,
24874,
6018,
198,
1,
14804,
1,
220,
220,
220,
5218,
220,
13146,
13,
4537,
4663,
62,
26465,
3913,
198,
1,
10619,
62,
4537,
4663,
26465,
3913,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
24874,
6018,
198,
198,
2,
5684,
362,
198,
1,
33,
43312,
62,
10943,
35,
17941,
1847,
1,
220,
5218,
13146,
13,
27471,
62,
17561,
1859,
198,
1,
1701,
220,
5218,
220,
13146,
13,
10943,
35,
17941,
1847,
198,
1,
10619,
62,
10943,
35,
17941,
1847,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
17561,
1859,
198,
198,
2,
5684,
513,
198,
1,
33,
43312,
62,
26465,
3913,
1,
220,
5218,
13146,
13,
27471,
62,
6018,
198,
1,
438,
24618,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
26465,
3913,
198,
1,
27,
438,
1,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
26465,
3913,
198,
1,
27,
438,
24618,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
29705,
238,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
39310,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
198,
1,
29705,
242,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
198,
1,
29705,
248,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
29705,
249,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
29705,
252,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
198,
1,
29705,
254,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
198,
1,
29705,
95,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
198,
1,
29705,
96,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
198,
1,
29705,
97,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
29705,
99,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
29705,
106,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
158,
229,
236,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
158,
229,
235,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
158,
229,
237,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
2257,
13252,
7336,
198,
1,
158,
229,
238,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
158,
229,
240,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
158,
229,
242,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
158,
229,
112,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
26465,
3913,
62,
54,
10554,
62,
12310,
7036,
62,
34,
4663,
29931,
198,
1,
158,
229,
114,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
4221,
11587,
62,
49,
9947,
16279,
5258,
62,
26465,
22845,
198,
1,
158,
229,
115,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
116,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
117,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
118,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
119,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
120,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
229,
121,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
3185,
1677,
62,
37682,
1961,
62,
26465,
3913,
198,
1,
158,
229,
122,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
3185,
1677,
62,
37682,
1961,
62,
26465,
3913,
198,
1,
158,
229,
123,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
3185,
1677,
62,
37682,
1961,
62,
26465,
3913,
198,
1,
158,
253,
113,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
253,
114,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
49,
9947,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
253,
115,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
198,
1,
158,
253,
117,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
158,
253,
118,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
62,
49,
9947,
62,
35,
2606,
19146,
62,
26465,
3913,
198,
1,
158,
253,
119,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
253,
120,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
253,
121,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
253,
122,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
253,
123,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
49,
9947,
16279,
5258,
62,
50,
10917,
3528,
38,
2538,
62,
26465,
3913,
198,
1,
158,
97,
222,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
223,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
224,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
225,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
226,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
227,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
97,
228,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
97,
229,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
97,
234,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
35,
2606,
19146,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
97,
235,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
35,
2606,
19146,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
97,
236,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
5446,
4061,
2538,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
97,
237,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
5446,
4061,
2538,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
97,
238,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
5446,
4061,
2538,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
97,
239,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
35,
29089,
1961,
62,
25361,
198,
1,
158,
97,
242,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
243,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
244,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
198,
1,
158,
97,
245,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
246,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
97,
251,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
10468,
62,
9148,
8120,
62,
17931,
2390,
18672,
198,
1,
158,
97,
252,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
10468,
62,
9148,
8120,
62,
17931,
2390,
18672,
198,
1,
158,
97,
253,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
62,
10468,
62,
9148,
8120,
62,
17931,
2390,
18672,
198,
1,
158,
97,
254,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
62,
10468,
62,
9148,
8120,
62,
17931,
2390,
18672,
198,
1,
158,
98,
226,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
9693,
9863,
62,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
98,
227,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
6489,
2937,
62,
33,
3698,
3913,
198,
1,
158,
98,
228,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
6489,
2937,
62,
33,
3698,
3913,
198,
1,
158,
98,
229,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
4221,
49,
32632,
62,
55,
198,
1,
158,
98,
230,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
3913,
62,
4221,
49,
32632,
62,
12310,
7036,
62,
34,
4663,
29931,
198,
1,
158,
98,
232,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
33,
37304,
62,
8577,
62,
49,
9947,
62,
33,
37304,
62,
41925,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
233,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
33,
37304,
62,
41925,
62,
49,
9947,
62,
33,
37304,
62,
8577,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
236,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
33,
37304,
62,
8577,
62,
49,
9947,
62,
33,
37304,
62,
8577,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
238,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
33,
37304,
62,
41925,
62,
49,
9947,
62,
33,
37304,
62,
41925,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
240,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
241,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
244,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
245,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
248,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
249,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
13945,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
253,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
95,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
198,
1,
158,
98,
97,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
198,
1,
158,
98,
99,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
198,
1,
158,
98,
100,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
6242,
46,
6089,
62,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
198,
1,
158,
98,
101,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
198,
1,
158,
98,
102,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
198,
1,
158,
98,
103,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
43,
18494,
62,
35,
11211,
198,
1,
158,
98,
104,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
33,
3698,
3913,
62,
43,
18494,
62,
35,
11211,
198,
1,
158,
98,
105,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
8577,
62,
6242,
46,
6089,
62,
43,
18494,
62,
35,
11211,
198,
1,
158,
98,
255,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
41925,
62,
33,
3698,
3913,
62,
43,
18494,
62,
35,
11211,
198,
1,
158,
98,
108,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
35,
2606,
19146,
62,
26465,
3913,
62,
54,
10554,
62,
49,
15919,
1961,
62,
37682,
198,
1,
158,
100,
112,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
24212,
62,
35,
3698,
4792,
1961,
198,
1,
158,
105,
109,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
4221,
11587,
62,
2538,
9792,
16279,
5258,
62,
26465,
22845,
198,
1,
158,
105,
108,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
26465,
3913,
62,
54,
10554,
62,
12310,
7036,
62,
34,
4663,
29931,
198,
1,
158,
105,
110,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
26465,
3913,
62,
54,
10554,
62,
34,
4663,
5097,
1961,
62,
6489,
2937,
198,
1,
158,
105,
111,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
18494,
62,
2538,
9792,
16279,
5258,
62,
50,
10917,
3528,
38,
2538,
62,
26465,
3913,
198,
1,
158,
105,
112,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
113,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
114,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
105,
115,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
5446,
4061,
2538,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
105,
116,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
35,
29089,
1961,
62,
25361,
198,
1,
158,
105,
117,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
118,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
119,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
198,
1,
158,
45539,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
121,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
54,
10554,
62,
5603,
4146,
62,
54,
10554,
62,
35,
2606,
19146,
62,
15858,
20151,
62,
2257,
13252,
7336,
198,
1,
158,
105,
122,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
4221,
49,
32632,
62,
55,
198,
1,
158,
105,
123,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
15543,
6089,
62,
26465,
3913,
62,
16402,
12394,
2751,
62,
17931,
23988,
11319,
62,
2538,
9792,
198,
1,
158,
255,
222,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
255,
223,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
36,
62,
51,
4146,
7206,
62,
31054,
25633,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
255,
224,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
2200,
28884,
36,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
255,
225,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
4221,
49,
32632,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
255,
226,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
4221,
49,
32632,
62,
40331,
4877,
2767,
198,
1,
158,
255,
229,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
36,
62,
51,
4146,
7206,
62,
31054,
25633,
62,
6242,
46,
6089,
62,
49,
9947,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
255,
230,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
2200,
28884,
36,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
255,
231,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
51,
4146,
7206,
62,
31054,
25633,
62,
6242,
46,
6089,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
255,
232,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
255,
233,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
2200,
28884,
36,
62,
51,
4146,
7206,
62,
31054,
25633,
198,
1,
158,
255,
234,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
6242,
46,
6089,
62,
2200,
28884,
36,
62,
51,
4146,
7206,
62,
31054,
25633,
198,
1,
171,
123,
102,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
39,
1847,
24160,
2389,
4221,
62,
2538,
9792,
16279,
5258,
62,
26465,
3913,
198,
1,
171,
123,
104,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
39,
1847,
24160,
2389,
4221,
62,
49,
9947,
16279,
5258,
62,
26465,
3913,
198,
1,
29705,
119,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
29931,
62,
26465,
3913,
62,
49,
9947,
198,
1,
158,
229,
250,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
50,
10917,
3528,
38,
2538,
62,
26465,
3913,
198,
1,
158,
229,
251,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
50,
10917,
3528,
38,
2538,
62,
26465,
3913,
198,
1,
29705,
250,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
15543,
6089,
62,
26465,
3913,
198,
1,
29705,
251,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
15543,
6089,
62,
26465,
3913,
198,
1,
29705,
102,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
39,
15308,
198,
1,
29705,
103,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
39,
15308,
198,
1,
29705,
104,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
21982,
3185,
62,
26465,
3913,
62,
2538,
9792,
198,
1,
29705,
105,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
21982,
3185,
62,
26465,
3913,
62,
49,
9947,
198,
1,
29705,
120,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
39,
1503,
16402,
1340,
62,
8577,
198,
1,
29705,
121,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
39,
1503,
16402,
1340,
62,
41925,
198,
1,
158,
229,
222,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
39,
1503,
16402,
1340,
62,
8577,
198,
1,
158,
229,
223,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
39,
1503,
16402,
1340,
62,
41925,
198,
1,
158,
229,
226,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
2538,
9792,
62,
26465,
22845,
198,
1,
158,
229,
228,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
26465,
22845,
198,
1,
158,
229,
229,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
2538,
9792,
62,
26465,
22845,
198,
1,
158,
229,
231,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
49,
9947,
62,
26465,
22845,
198,
1,
158,
229,
233,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
49,
9947,
62,
39,
1503,
16402,
19213,
198,
1,
158,
229,
234,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
2538,
9792,
62,
39,
1503,
16402,
19213,
198,
1,
158,
229,
248,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
43,
62,
2538,
9792,
62,
26465,
3913,
198,
1,
158,
229,
249,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
62,
49,
9947,
62,
26465,
3913,
198,
1,
158,
229,
254,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
35,
11211,
62,
26465,
3913,
198,
1,
158,
229,
95,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
35,
11211,
62,
26465,
3913,
198,
1,
29705,
115,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
4261,
6089,
62,
26465,
3913,
62,
49,
9947,
198,
1,
29705,
114,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
4261,
6089,
62,
26465,
3913,
62,
2538,
9792,
198,
1,
29705,
118,
1,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
29931,
62,
26465,
3913,
62,
2538,
9792,
198,
1,
10619,
62,
26465,
3913,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
6018,
198,
198,
2,
5684,
604,
198,
1,
33,
43312,
62,
13534,
57,
56,
1581,
1,
5218,
13146,
13,
27471,
62,
75,
12582,
273,
198,
1,
15886,
1,
220,
5218,
220,
13146,
13,
13534,
57,
56,
62,
1581,
198,
1,
10619,
62,
13534,
57,
56,
1581,
1,
220,
220,
5218,
13146,
13,
437,
62,
75,
12582,
273,
198,
198,
2,
5684,
642,
198,
1,
33,
43312,
62,
13534,
57,
56,
6981,
1,
5218,
13146,
13,
27471,
62,
75,
12582,
392,
198,
1,
25226,
1,
220,
5218,
220,
13146,
13,
13534,
57,
56,
62,
6981,
198,
1,
10619,
62,
13534,
57,
56,
6981,
1,
220,
220,
5218,
13146,
13,
437,
62,
75,
12582,
392,
198,
198,
2,
5684,
718,
198,
1,
33,
43312,
62,
9858,
27082,
39960,
1,
5218,
13146,
13,
27471,
62,
785,
1845,
1653,
198,
1,
27,
11097,
220,
220,
5218,
220,
13146,
13,
16744,
10526,
25216,
198,
5320,
11097,
220,
220,
5218,
220,
13146,
13,
16744,
8577,
1137,
25216,
198,
5320,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
198,
1,
27,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
198,
5320,
2625,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
36,
48,
198,
1,
35705,
98,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
27,
2625,
220,
220,
5218,
220,
13146,
13,
48481,
62,
36,
48,
198,
1,
35705,
97,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
855,
1,
220,
220,
5218,
220,
13146,
13,
36,
48,
36,
48,
198,
1,
855,
2625,
220,
5218,
220,
13146,
13,
36,
48,
36,
48,
36,
48,
198,
1,
35705,
94,
1,
220,
220,
220,
5218,
220,
13146,
13,
25256,
20151,
62,
10468,
198,
40484,
2625,
220,
220,
5218,
220,
13146,
13,
11929,
62,
36,
48,
198,
1,
35705,
254,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
40484,
855,
1,
220,
5218,
220,
13146,
13,
11929,
62,
1797,
198,
1,
35705,
95,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
25256,
20151,
62,
10468,
198,
1,
24861,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
198,
1,
259,
1,
220,
220,
5218,
220,
13146,
13,
1268,
198,
1,
9160,
1,
220,
5218,
220,
13146,
13,
22312,
198,
1,
24861,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
1565,
62,
36,
2538,
10979,
62,
19238,
198,
1,
24861,
233,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
1921,
62,
44,
28952,
198,
1,
24861,
234,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
10943,
30339,
62,
1921,
62,
44,
28952,
198,
1,
158,
232,
228,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
32,
62,
12564,
4462,
2767,
62,
19238,
62,
35510,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
224,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
198,
1,
158,
232,
226,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
32,
62,
12564,
4462,
2767,
62,
19238,
198,
1,
158,
232,
232,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
54,
10554,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
24861,
251,
1,
220,
220,
220,
5218,
220,
13146,
13,
4805,
3185,
9863,
2849,
1847,
62,
10468,
198,
1,
24861,
232,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
36,
2538,
10979,
62,
19238,
198,
1,
24861,
235,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
10943,
5603,
20913,
62,
1921,
62,
44,
28952,
198,
1,
24861,
98,
1,
220,
220,
220,
5218,
220,
13146,
13,
27082,
1847,
2538,
43,
62,
10468,
198,
1,
24861,
99,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
27082,
1847,
2538,
43,
62,
10468,
198,
1,
24861,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
4805,
3185,
9863,
2849,
198,
1,
24861,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
8264,
2662,
2767,
41132,
62,
4805,
3185,
9863,
2849,
198,
1,
24861,
119,
1,
220,
220,
220,
5218,
220,
13146,
13,
39,
2662,
26946,
2767,
2149,
198,
1,
24861,
121,
1,
220,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
1961,
62,
51,
4146,
7206,
198,
1,
24861,
122,
1,
220,
220,
220,
5218,
220,
13146,
13,
1268,
15858,
1961,
62,
13534,
57,
56,
62,
50,
198,
1,
35705,
223,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
51,
4146,
7206,
198,
1,
35705,
225,
1,
220,
220,
220,
5218,
220,
13146,
13,
26483,
7378,
51,
2394,
2149,
19807,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
226,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
26483,
7378,
51,
2394,
2149,
19807,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
227,
1,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
55,
3955,
1404,
30943,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
228,
1,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
55,
3955,
1404,
30943,
62,
47526,
62,
11929,
62,
10659,
52,
19807,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
229,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
2969,
31190,
55,
3955,
1404,
30943,
62,
35510,
62,
10659,
52,
19807,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
232,
1,
220,
220,
220,
5218,
220,
13146,
13,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
233,
1,
220,
220,
220,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
51,
4146,
7206,
198,
1,
35705,
234,
1,
220,
220,
220,
5218,
220,
13146,
13,
7036,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
235,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
236,
1,
220,
220,
220,
5218,
220,
13146,
13,
8264,
2662,
2767,
41132,
19807,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
238,
1,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
16219,
1546,
62,
10970,
62,
43,
3955,
2043,
198,
1,
35705,
239,
1,
220,
220,
220,
5218,
220,
13146,
13,
8264,
2662,
2767,
41132,
19807,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
240,
1,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
55,
3955,
1404,
30943,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
10970,
62,
3955,
11879,
62,
19238,
198,
1,
35705,
241,
1,
220,
220,
220,
5218,
220,
13146,
13,
3955,
11879,
62,
19238,
62,
1581,
62,
2969,
31190,
55,
3955,
1404,
30943,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
242,
1,
220,
220,
220,
5218,
220,
13146,
13,
25154,
1340,
62,
36,
10917,
23333,
198,
1,
35705,
243,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
25154,
1340,
198,
1,
35705,
244,
1,
220,
220,
220,
5218,
220,
13146,
13,
49,
2751,
62,
1268,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
245,
1,
220,
220,
220,
5218,
220,
13146,
13,
49,
2751,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
246,
1,
220,
220,
220,
5218,
220,
13146,
13,
44879,
19535,
47,
1340,
5258,
62,
10468,
198,
1,
35705,
247,
1,
220,
220,
220,
5218,
220,
13146,
13,
6465,
3955,
29462,
198,
1,
35705,
248,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
43702,
15567,
37232,
62,
10468,
198,
1,
35705,
249,
1,
220,
220,
220,
5218,
220,
13146,
13,
46678,
62,
36,
10917,
23333,
198,
1,
35705,
250,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
3698,
5603,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
251,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
10468,
62,
17513,
62,
7206,
20032,
17941,
198,
1,
35705,
252,
1,
220,
220,
220,
5218,
220,
13146,
13,
11682,
1921,
4261,
1961,
62,
17513,
198,
1,
35705,
253,
1,
220,
220,
220,
5218,
220,
13146,
13,
35780,
2849,
1961,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
96,
1,
220,
220,
220,
5218,
220,
13146,
13,
18601,
18379,
11319,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
99,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
41983,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
100,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
41983,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
101,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
47526,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
102,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
47526,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
103,
1,
220,
220,
220,
5218,
220,
13146,
13,
42422,
3398,
62,
48481,
62,
4221,
1565,
198,
1,
35705,
104,
1,
220,
220,
220,
5218,
220,
13146,
13,
42422,
3398,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
35705,
105,
1,
220,
220,
220,
5218,
220,
13146,
13,
33,
2767,
8845,
1677,
198,
1,
35705,
255,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
106,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
48481,
62,
4221,
1565,
198,
1,
35705,
107,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
35705,
108,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
48481,
62,
4221,
1565,
62,
35510,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
109,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
28934,
23261,
62,
4221,
1565,
62,
35510,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
110,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
111,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
112,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
48481,
62,
4221,
1565,
62,
35510,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
113,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
28934,
23261,
62,
4221,
1565,
62,
35510,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
114,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
35705,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
35705,
116,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
48481,
62,
4221,
1565,
62,
35510,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
35705,
117,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
28934,
23261,
62,
4221,
1565,
62,
35510,
62,
48481,
62,
4221,
1565,
198,
1,
35705,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
198,
1,
35705,
119,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
198,
1,
35705,
120,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
121,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
35705,
122,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
1581,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
35705,
123,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
1581,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
158,
232,
222,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
47,
38827,
1961,
36,
198,
1,
158,
232,
223,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
12564,
4093,
41841,
198,
1,
158,
232,
225,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
198,
1,
158,
232,
227,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
32,
62,
40331,
4877,
2767,
62,
19238,
198,
1,
158,
232,
229,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
12161,
10554,
1137,
62,
32,
62,
40331,
4877,
2767,
62,
19238,
62,
35510,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
233,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
54,
10554,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
237,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
3955,
11879,
62,
19238,
198,
1,
158,
232,
238,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
1581,
3528,
17961,
62,
19238,
198,
1,
158,
232,
239,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
3955,
11879,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
240,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
1581,
3528,
17961,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
250,
1,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
36,
10917,
23333,
198,
1,
158,
232,
102,
1,
220,
220,
220,
5218,
220,
13146,
13,
13775,
34,
1546,
198,
1,
158,
232,
105,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
31190,
6089,
198,
1,
158,
232,
106,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
13775,
5222,
198,
1,
158,
232,
108,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
4944,
14418,
62,
16448,
6234,
198,
1,
158,
46788,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
4944,
14418,
62,
16448,
6234,
198,
1,
158,
232,
110,
1,
220,
220,
220,
5218,
220,
13146,
13,
35510,
42126,
62,
50,
10526,
46846,
62,
19238,
198,
1,
158,
232,
111,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
1921,
62,
35510,
42126,
62,
50,
10526,
46846,
198,
1,
158,
232,
112,
1,
220,
220,
220,
5218,
220,
13146,
13,
35510,
42126,
62,
50,
10526,
46846,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
113,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
1921,
62,
35510,
42126,
62,
50,
10526,
46846,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
114,
1,
220,
220,
220,
5218,
220,
13146,
13,
1581,
3528,
17961,
62,
19238,
198,
1,
158,
232,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
3955,
11879,
62,
19238,
198,
1,
158,
233,
235,
1,
220,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
1961,
62,
51,
4146,
7206,
62,
36,
10917,
23333,
198,
1,
158,
233,
238,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
12564,
4462,
2767,
198,
1,
158,
233,
239,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
40331,
4877,
2767,
198,
1,
158,
233,
243,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
6981,
62,
27082,
1847,
2538,
43,
62,
10468,
198,
1,
158,
233,
244,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
233,
245,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
233,
246,
1,
220,
220,
220,
5218,
220,
13146,
13,
5959,
56,
62,
42422,
3398,
62,
48481,
62,
4221,
1565,
198,
1,
158,
233,
247,
1,
220,
220,
220,
5218,
220,
13146,
13,
5959,
56,
62,
42422,
3398,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
233,
248,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
233,
249,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
233,
250,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
233,
251,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
233,
252,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
47,
38827,
1961,
1546,
198,
1,
158,
233,
253,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
12564,
4093,
41841,
50,
198,
1,
158,
233,
254,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
47,
38827,
1961,
36,
62,
1581,
62,
36,
10917,
1847,
198,
1,
158,
233,
94,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
12564,
4093,
41841,
62,
1581,
62,
36,
10917,
1847,
198,
1,
158,
233,
95,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
50,
10917,
12203,
62,
3955,
11879,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
233,
96,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
50,
10917,
12203,
62,
1581,
3528,
17961,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
233,
97,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
3955,
11879,
62,
19238,
62,
1581,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
233,
98,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
1581,
3528,
17961,
62,
19238,
62,
1581,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
233,
99,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
47526,
62,
11929,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
158,
233,
100,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
47526,
62,
11929,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
158,
233,
101,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
47526,
62,
11929,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
158,
233,
102,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
47526,
62,
11929,
62,
36,
10917,
3824,
1847,
3525,
62,
10468,
198,
1,
158,
233,
103,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
35510,
42126,
62,
50,
10526,
46846,
62,
19238,
198,
1,
158,
233,
104,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
10943,
30339,
62,
1921,
62,
35510,
42126,
62,
50,
10526,
46846,
198,
1,
158,
233,
105,
1,
220,
220,
220,
5218,
220,
13146,
13,
11929,
62,
35510,
42126,
62,
50,
10526,
46846,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
233,
255,
1,
220,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
10943,
30339,
62,
1921,
62,
35510,
42126,
62,
50,
10526,
46846,
62,
1581,
62,
36,
10917,
1847,
198,
1,
158,
233,
110,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
43,
18494,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
111,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
15858,
20151,
62,
33,
1503,
62,
1404,
62,
10619,
62,
19238,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
112,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
15858,
20151,
62,
33,
1503,
62,
1404,
62,
10619,
62,
19238,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
113,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
233,
114,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
233,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
233,
116,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
4944,
14418,
33,
1503,
198,
1,
158,
233,
117,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
54,
10554,
62,
34551,
46,
62,
39,
1581,
14887,
35830,
1847,
62,
18601,
11380,
1546,
198,
1,
158,
233,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
54,
10554,
62,
43,
18494,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
119,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
54,
10554,
62,
15858,
20151,
62,
33,
1503,
62,
1404,
62,
10619,
62,
19238,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
120,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
10943,
5603,
20913,
62,
54,
10554,
62,
15858,
20151,
62,
33,
1503,
62,
1404,
62,
10619,
62,
19238,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
233,
121,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
5603,
20913,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
233,
122,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
10943,
5603,
20913,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
233,
123,
1,
220,
220,
220,
5218,
220,
13146,
13,
57,
62,
11929,
6234,
62,
4339,
38,
62,
44,
3620,
33,
4877,
39,
4061,
198,
1,
158,
253,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
36,
62,
50,
3535,
2389,
2937,
62,
47,
38827,
1961,
2751,
62,
12564,
4462,
2767,
198,
1,
158,
253,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
47,
38827,
1961,
2751,
62,
50,
3535,
2389,
2937,
198,
1,
158,
253,
240,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
3185,
1677,
2751,
62,
8577,
16279,
5258,
198,
1,
158,
99,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
27082,
1847,
2538,
43,
198,
1,
158,
100,
222,
1,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
48481,
62,
4221,
1565,
198,
1,
158,
100,
223,
1,
220,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
100,
94,
1,
220,
220,
220,
5218,
220,
13146,
13,
30158,
2200,
1921,
1546,
62,
1921,
198,
1,
158,
100,
96,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
6981,
62,
8634,
8643,
1961,
62,
27082,
1847,
2538,
43,
198,
1,
158,
100,
97,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
6981,
62,
8634,
8643,
1961,
62,
27082,
1847,
2538,
43,
62,
54,
10554,
62,
51,
4146,
7206,
62,
6242,
46,
6089,
198,
1,
158,
100,
98,
1,
220,
220,
220,
5218,
220,
13146,
13,
25256,
20151,
62,
10468,
62,
6981,
62,
8634,
8643,
1961,
62,
27082,
1847,
2538,
43,
198,
1,
158,
102,
99,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
54,
10554,
62,
35,
2394,
62,
33,
3698,
3913,
198,
1,
158,
102,
100,
1,
220,
220,
220,
5218,
220,
13146,
13,
25256,
20151,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
102,
103,
1,
220,
220,
220,
5218,
220,
13146,
13,
51,
4146,
7206,
62,
31054,
25633,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
102,
104,
1,
220,
220,
220,
5218,
220,
13146,
13,
51,
4146,
7206,
62,
31054,
25633,
62,
54,
10554,
62,
49,
1797,
2751,
62,
35,
33472,
198,
1,
158,
102,
105,
1,
220,
220,
220,
5218,
220,
13146,
13,
48913,
4146,
1503,
62,
23678,
2937,
62,
48913,
4146,
1503,
198,
1,
158,
102,
255,
1,
220,
220,
220,
5218,
220,
13146,
13,
10943,
10761,
52,
3525,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
102,
106,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
54,
10554,
62,
1921,
5781,
1797,
42,
198,
1,
158,
102,
107,
1,
220,
220,
220,
5218,
220,
13146,
13,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
34,
49060,
5883,
37,
2538,
55,
62,
26861,
3525,
198,
1,
158,
102,
108,
1,
220,
220,
220,
5218,
220,
13146,
13,
2969,
31190,
55,
3955,
1404,
30943,
62,
36,
10917,
1847,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
102,
109,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
6242,
46,
6089,
62,
6489,
2937,
62,
46224,
198,
1,
158,
102,
110,
1,
220,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
102,
111,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
6242,
46,
6089,
62,
51,
4146,
7206,
62,
31054,
25633,
198,
1,
158,
102,
112,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
25154,
1340,
62,
36,
10917,
1847,
198,
1,
158,
102,
113,
1,
220,
220,
220,
5218,
220,
13146,
13,
34551,
46,
62,
10943,
23683,
3843,
9306,
62,
36,
10917,
23333,
62,
50,
3528,
8035,
198,
1,
158,
102,
114,
1,
220,
220,
220,
5218,
220,
13146,
13,
4221,
11587,
62,
10943,
23683,
3843,
9306,
62,
36,
10917,
23333,
62,
50,
3528,
8035,
198,
1,
158,
102,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
54,
10554,
62,
34551,
46,
62,
35,
33472,
62,
6242,
46,
6089,
62,
6981,
62,
34551,
46,
62,
35,
33472,
62,
33,
3698,
3913,
198,
1,
158,
102,
116,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
3824,
1847,
3525,
62,
54,
10554,
62,
37,
11698,
62,
35,
33472,
62,
6242,
46,
6089,
198,
1,
158,
102,
117,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
54,
10554,
62,
34,
4663,
29931,
62,
20913,
14114,
198,
1,
158,
102,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
54,
10554,
62,
34,
4663,
29931,
62,
20913,
14114,
198,
1,
158,
102,
119,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
54,
10554,
62,
35780,
2849,
62,
44,
14175,
62,
6242,
46,
6089,
198,
1,
158,
102,
120,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
54,
10554,
62,
35780,
2849,
62,
44,
14175,
62,
6242,
46,
6089,
198,
1,
158,
102,
121,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
102,
122,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
102,
123,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
20913,
14114,
198,
1,
158,
103,
222,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
20913,
14114,
198,
1,
158,
103,
223,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
103,
224,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
103,
225,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
62,
49,
9947,
198,
1,
158,
103,
226,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
62,
2538,
9792,
198,
1,
158,
103,
227,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
1581,
62,
2969,
31190,
55,
3955,
6158,
198,
1,
158,
103,
228,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
2969,
31190,
55,
3955,
6158,
198,
1,
158,
103,
229,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6981,
62,
50,
2751,
2538,
62,
24027,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6981,
62,
50,
2751,
2538,
62,
24027,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6981,
62,
11929,
62,
2969,
31190,
55,
3955,
6158,
198,
1,
158,
103,
232,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6981,
62,
11929,
62,
2969,
31190,
55,
3955,
6158,
198,
1,
158,
103,
233,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
62,
6242,
46,
6089,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
234,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
62,
6242,
46,
6089,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
235,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
48913,
4146,
1503,
62,
1581,
62,
36,
10917,
1847,
198,
1,
158,
103,
236,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
48913,
4146,
1503,
62,
1581,
62,
36,
10917,
1847,
198,
1,
158,
103,
237,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
48913,
4146,
1503,
62,
6242,
46,
6089,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
238,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
48913,
4146,
1503,
62,
6242,
46,
6089,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
239,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
198,
1,
158,
103,
240,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
198,
1,
158,
103,
241,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
6242,
46,
6089,
62,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
198,
1,
158,
103,
242,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
6242,
46,
6089,
62,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
198,
1,
158,
103,
243,
1,
220,
220,
220,
5218,
220,
13146,
13,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
244,
1,
220,
220,
220,
5218,
220,
13146,
13,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
245,
1,
220,
220,
220,
5218,
220,
13146,
13,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
62,
54,
10554,
62,
35,
2394,
62,
20913,
14114,
198,
1,
158,
103,
246,
1,
220,
220,
220,
5218,
220,
13146,
13,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
62,
54,
10554,
62,
35,
2394,
62,
20913,
14114,
198,
1,
158,
103,
247,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
248,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
249,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
250,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
62,
10468,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
251,
1,
220,
220,
220,
5218,
220,
13146,
13,
48913,
4146,
1503,
62,
1581,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
252,
1,
220,
220,
220,
5218,
220,
13146,
13,
48913,
4146,
1503,
62,
1581,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
253,
1,
220,
220,
220,
5218,
220,
13146,
13,
48913,
4146,
1503,
62,
6242,
46,
6089,
62,
48481,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
254,
1,
220,
220,
220,
5218,
220,
13146,
13,
48913,
4146,
1503,
62,
6242,
46,
6089,
62,
28934,
23261,
62,
4221,
1565,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
94,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
45,
6465,
1961,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
95,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
45,
6465,
1961,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
103,
96,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
45,
6465,
1961,
62,
48481,
62,
4221,
1565,
62,
54,
10554,
62,
4944,
14418,
33,
1503,
198,
1,
158,
103,
97,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
41983,
43,
24805,
2751,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
98,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
33,
1546,
14114,
62,
48481,
62,
4221,
1565,
198,
1,
158,
103,
99,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
5097,
48751,
62,
17513,
62,
34,
4261,
6089,
198,
1,
158,
103,
100,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
5097,
48751,
62,
17513,
62,
34,
4261,
6089,
198,
1,
158,
103,
101,
1,
220,
220,
220,
5218,
220,
13146,
13,
48481,
62,
4221,
1565,
62,
5097,
48751,
62,
17513,
62,
34,
4261,
6089,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
198,
1,
158,
103,
102,
1,
220,
220,
220,
5218,
220,
13146,
13,
28934,
23261,
62,
4221,
1565,
62,
5097,
48751,
62,
17513,
62,
34,
4261,
6089,
62,
6242,
46,
6089,
62,
8634,
8643,
1961,
62,
36,
10917,
1847,
198,
1,
158,
103,
103,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
1137,
62,
4221,
1565,
198,
1,
158,
103,
104,
1,
220,
220,
220,
5218,
220,
13146,
13,
43,
1503,
30373,
62,
4221,
1565,
198,
1,
158,
103,
105,
1,
220,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
1137,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
255,
1,
220,
220,
220,
5218,
220,
13146,
13,
43,
1503,
30373,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
106,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
10917,
23333,
62,
46224,
62,
54,
10554,
62,
33,
20476,
56,
62,
6242,
46,
6089,
198,
1,
158,
103,
107,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
50,
2751,
2538,
62,
24027,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
108,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
50,
2751,
2538,
62,
24027,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
109,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
50,
2751,
2538,
62,
24027,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
110,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
50,
2751,
2538,
62,
24027,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
111,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
112,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
103,
113,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
114,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
116,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
117,
1,
220,
220,
220,
5218,
220,
13146,
13,
47,
38827,
1961,
1546,
62,
6242,
46,
6089,
62,
11929,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4093,
41841,
50,
62,
6242,
46,
6089,
62,
11929,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
103,
119,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
47,
38827,
1961,
1546,
198,
1,
158,
103,
120,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
12564,
4093,
41841,
50,
198,
1,
158,
103,
121,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
103,
122,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
103,
123,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
54,
10554,
62,
6489,
2937,
62,
46224,
62,
33,
3698,
3913,
198,
1,
158,
104,
222,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
54,
10554,
62,
6489,
2937,
62,
46224,
62,
33,
3698,
3913,
198,
1,
158,
104,
223,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
54,
10554,
62,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
33,
3698,
3913,
198,
1,
158,
104,
224,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
54,
10554,
62,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
33,
3698,
3913,
198,
1,
158,
104,
225,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
104,
226,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
104,
227,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
104,
228,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
36,
10917,
23333,
62,
46224,
198,
1,
158,
104,
229,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
51,
4146,
7206,
62,
31054,
25633,
198,
1,
158,
104,
230,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
51,
4146,
7206,
62,
31054,
25633,
198,
1,
158,
104,
231,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
232,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
1847,
44,
10892,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
233,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
234,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
19238,
62,
6242,
46,
6089,
62,
11929,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
235,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
2538,
9792,
62,
3185,
1677,
62,
39758,
62,
31054,
25633,
198,
1,
158,
104,
236,
1,
220,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
49,
9947,
62,
3185,
1677,
62,
39758,
62,
31054,
25633,
198,
1,
158,
104,
237,
1,
220,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
12564,
4462,
2767,
198,
1,
158,
104,
238,
1,
220,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
40331,
4877,
2767,
198,
1,
158,
104,
239,
1,
220,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
12564,
4462,
2767,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
240,
1,
220,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
40331,
4877,
2767,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
241,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
6242,
46,
6089,
62,
40331,
4877,
2767,
198,
1,
158,
104,
242,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
6242,
46,
6089,
62,
12564,
4462,
2767,
198,
1,
158,
104,
243,
1,
220,
220,
220,
5218,
220,
13146,
13,
12564,
4462,
2767,
62,
6242,
46,
6089,
62,
12564,
4462,
2767,
198,
1,
158,
104,
244,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
6242,
46,
6089,
62,
40331,
4877,
2767,
198,
1,
158,
104,
245,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
33,
1546,
14114,
62,
12564,
4462,
2767,
198,
1,
158,
45865,
1,
220,
220,
220,
5218,
220,
13146,
13,
40331,
4877,
2767,
62,
33,
1546,
14114,
62,
6981,
62,
45006,
1268,
1961,
62,
17513,
62,
35,
11211,
62,
54,
10554,
62,
12564,
4462,
2767,
198,
1,
158,
104,
247,
1,
220,
220,
220,
5218,
220,
13146,
13,
36,
2538,
10979,
62,
19238,
62,
3185,
1677,
2751,
62,
41925,
16279,
5258,
198,
1,
158,
104,
115,
1,
220,
220,
220,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
45,
6465,
1961,
62,
48481,
62,
4221,
1565,
198,
1,
158,
104,
116,
1,
220,
220,
220,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
45,
6465,
1961,
62,
28934,
23261,
62,
4221,
1565,
198,
1,
158,
104,
117,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
8634,
8643,
1961,
62,
48481,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
104,
118,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
24027,
62,
8634,
8643,
1961,
62,
28934,
23261,
62,
4221,
1565,
62,
1581,
62,
36,
10917,
1847,
62,
10468,
198,
1,
158,
232,
95,
1,
220,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
51,
8120,
198,
1,
158,
232,
96,
1,
220,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
51,
8120,
198,
2,
2343,
104,
103,
11,
158,
104,
104,
766,
3740,
1378,
12567,
13,
785,
14,
16980,
544,
43,
648,
14,
73,
43640,
14,
37165,
14,
2670,
14877,
198,
1,
158,
104,
103,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
41925,
62,
51,
8120,
198,
1,
158,
104,
104,
1,
220,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
8577,
62,
51,
8120,
198,
1,
158,
253,
224,
1,
220,
220,
220,
5218,
220,
13146,
13,
18973,
47,
198,
1,
10619,
62,
9858,
27082,
39960,
1,
5218,
13146,
13,
437,
62,
785,
1845,
1653,
198,
198,
2,
5684,
767,
198,
1,
33,
43312,
62,
47,
4061,
36,
1,
220,
5218,
13146,
13,
27471,
62,
34360,
198,
1,
27,
91,
1,
220,
5218,
220,
13146,
13,
19930,
4061,
36,
198,
1,
91,
24618,
220,
5218,
220,
13146,
13,
20031,
4061,
36,
198,
1,
10619,
62,
47,
4061,
36,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
34360,
198,
198,
2,
5684,
807,
198,
1,
33,
43312,
62,
25154,
1340,
1,
220,
5218,
13146,
13,
27471,
62,
4033,
261,
198,
2404,
220,
220,
5218,
220,
13146,
13,
25154,
1340,
198,
1,
492,
1,
220,
5218,
220,
13146,
13,
16458,
2394,
198,
1,
9962,
220,
220,
5218,
220,
13146,
13,
11163,
33472,
198,
1,
46256,
251,
1,
220,
220,
5218,
220,
13146,
13,
5446,
2149,
3535,
1340,
198,
1,
158,
233,
106,
1,
220,
220,
5218,
220,
13146,
13,
8898,
33472,
198,
1,
158,
233,
109,
1,
220,
220,
5218,
220,
13146,
13,
16458,
33472,
198,
1,
158,
233,
108,
1,
220,
220,
5218,
220,
13146,
13,
2885,
33472,
198,
1,
158,
233,
107,
1,
220,
220,
5218,
220,
13146,
13,
8610,
33472,
198,
1,
10619,
62,
25154,
1340,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
4033,
261,
198,
198,
2,
5684,
860,
198,
1,
33,
43312,
62,
6489,
2937,
1,
220,
5218,
13146,
13,
27471,
62,
9541,
198,
1,
59,
3,
1,
220,
5218,
220,
13146,
13,
6369,
62,
1581,
198,
1,
10,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
198,
1,
21215,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
198,
1,
4880,
1,
220,
5218,
220,
13146,
13,
6489,
2937,
6489,
2937,
198,
1,
158,
232,
243,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
6489,
2937,
198,
1,
158,
232,
244,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
23678,
2937,
198,
1,
158,
232,
252,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
1503,
1961,
62,
6489,
2937,
198,
1,
158,
232,
253,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
1503,
1961,
62,
23678,
2937,
198,
1,
91,
1,
220,
220,
5218,
220,
13146,
13,
1581,
198,
1,
24861,
103,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2849,
198,
1,
24861,
101,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
198,
1,
158,
232,
242,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
34,
8577,
198,
1,
22519,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
23678,
2937,
62,
46224,
198,
1,
24861,
241,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
1581,
62,
6489,
2937,
62,
46224,
198,
1,
24861,
242,
1,
220,
220,
5218,
220,
13146,
13,
35,
2394,
62,
6489,
2937,
198,
1,
24861,
116,
1,
220,
220,
5218,
220,
13146,
13,
35,
2394,
62,
23678,
2937,
198,
1,
35705,
224,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
51,
4146,
7206,
198,
1,
35705,
237,
1,
220,
220,
5218,
220,
13146,
13,
35,
5064,
24302,
18310,
62,
33,
2767,
8845,
1677,
198,
1,
158,
232,
236,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
1797,
2767,
62,
4944,
2849,
198,
1,
158,
232,
119,
1,
220,
220,
5218,
220,
13146,
13,
55,
1581,
198,
1,
158,
232,
121,
1,
220,
220,
5218,
220,
13146,
13,
35510,
198,
1,
158,
233,
236,
1,
220,
220,
5218,
220,
13146,
13,
34,
4261,
11319,
62,
25294,
20151,
62,
1581,
198,
1,
158,
233,
241,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
4944,
2849,
198,
1,
158,
100,
118,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
6489,
2937,
198,
1,
158,
100,
119,
1,
220,
220,
5218,
220,
13146,
13,
5446,
4061,
2538,
62,
6489,
2937,
198,
1,
158,
101,
230,
1,
220,
220,
5218,
220,
13146,
13,
34551,
46,
62,
25294,
20151,
62,
1581,
62,
31054,
25633,
198,
1,
158,
101,
95,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
12310,
7036,
62,
34,
4663,
29931,
62,
6242,
46,
6089,
198,
1,
158,
101,
96,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
34,
49060,
5883,
37,
2538,
55,
62,
26861,
3525,
62,
6242,
46,
6089,
198,
1,
158,
101,
97,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
51,
4146,
7206,
62,
6242,
46,
6089,
198,
1,
158,
101,
98,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
35,
2394,
62,
33,
3698,
3913,
198,
1,
158,
101,
99,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
51,
4146,
7206,
62,
33,
3698,
3913,
198,
1,
158,
101,
100,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
12564,
4462,
36584,
51,
62,
34551,
46,
198,
1,
158,
101,
101,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
54,
10554,
62,
9148,
8120,
62,
5446,
40,
15567,
2538,
198,
1,
158,
101,
102,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
46224,
62,
54,
10554,
62,
9858,
5673,
62,
6242,
46,
6089,
198,
1,
158,
101,
103,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
46224,
62,
54,
10554,
62,
35,
2394,
62,
33,
3698,
3913,
198,
1,
158,
101,
104,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
46224,
62,
54,
10554,
62,
37,
7036,
2751,
62,
35,
33472,
198,
1,
158,
101,
105,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
46224,
62,
54,
10554,
62,
49,
1797,
2751,
62,
35,
33472,
198,
1,
158,
101,
255,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
1268,
62,
2538,
9792,
62,
39,
1847,
37,
62,
34,
4663,
29931,
198,
1,
158,
101,
106,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
1268,
62,
49,
9947,
62,
39,
1847,
37,
62,
34,
4663,
29931,
198,
1,
158,
101,
117,
1,
220,
220,
5218,
220,
13146,
13,
6489,
2937,
62,
46224,
62,
1268,
62,
5446,
40,
15567,
2538,
198,
1,
158,
101,
118,
1,
220,
220,
5218,
220,
13146,
13,
23678,
2937,
62,
46224,
62,
1268,
62,
5446,
40,
15567,
2538,
198,
1,
158,
102,
223,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2849,
62,
54,
10554,
62,
23678,
2937,
62,
46224,
198,
1,
158,
102,
224,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2849,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
102,
227,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2849,
62,
54,
10554,
62,
25294,
20151,
62,
1581,
198,
1,
158,
102,
232,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2849,
62,
33,
1546,
14114,
62,
6981,
62,
45006,
1268,
1961,
62,
54,
10554,
62,
4944,
2849,
198,
1,
158,
102,
234,
1,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
4944,
2849,
62,
54,
10554,
62,
35009,
5064,
50,
198,
1,
158,
102,
237,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
50,
10917,
12203,
62,
4944,
2849,
198,
1,
158,
102,
238,
1,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
4944,
2849,
62,
54,
10554,
62,
35009,
5064,
50,
62,
6981,
62,
12310,
11211,
62,
4805,
28644,
198,
1,
158,
102,
240,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
102,
242,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
25294,
20151,
62,
1581,
198,
1,
158,
102,
244,
1,
220,
220,
5218,
220,
13146,
13,
34551,
46,
62,
12394,
4877,
9782,
2751,
62,
25294,
20151,
62,
1581,
198,
1,
158,
102,
245,
1,
220,
220,
5218,
220,
13146,
13,
8634,
3185,
2751,
62,
43,
1503,
8264,
62,
1581,
198,
1,
158,
102,
249,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
62,
54,
10554,
62,
44,
2389,
35,
2538,
62,
25361,
198,
1,
158,
102,
251,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
62,
54,
10554,
62,
39,
1581,
14887,
35830,
1847,
62,
35,
11211,
198,
1,
158,
102,
94,
1,
220,
220,
5218,
220,
13146,
13,
12310,
7036,
62,
6089,
36,
62,
54,
10554,
62,
4944,
14418,
33,
1503,
198,
1,
158,
102,
95,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
62,
54,
10554,
62,
35,
2606,
19146,
62,
41983,
33,
1503,
198,
1,
158,
102,
96,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
1581,
62,
54,
10554,
62,
35,
2606,
19146,
62,
4944,
14418,
33,
1503,
198,
1,
126,
99,
1,
220,
220,
5218,
220,
13146,
13,
11473,
11380,
1677,
62,
33,
1503,
198,
1,
10619,
62,
6489,
2937,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
9541,
198,
198,
2,
5684,
838,
198,
1,
33,
43312,
62,
26094,
9693,
5064,
4694,
1,
220,
5218,
13146,
13,
27471,
62,
9895,
71,
19265,
198,
1,
16791,
1,
220,
220,
5218,
220,
13146,
13,
43,
26094,
9693,
32297,
198,
1,
4211,
1,
220,
220,
5218,
220,
13146,
13,
49,
26094,
9693,
32297,
198,
1,
4211,
24618,
220,
5218,
220,
13146,
13,
4944,
46224,
1961,
62,
26094,
9693,
32297,
198,
1,
10619,
62,
26094,
9693,
5064,
4694,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
9895,
71,
19265,
198,
198,
2,
5684,
1367,
198,
1,
33,
43312,
62,
51,
3955,
1546,
1,
220,
5218,
13146,
13,
27471,
62,
22355,
198,
1,
9,
1,
220,
220,
5218,
220,
13146,
13,
46678,
198,
1,
30487,
220,
220,
5218,
220,
13146,
13,
37,
22332,
62,
8634,
11211,
198,
1,
127,
115,
1,
220,
220,
5218,
220,
13146,
13,
33569,
42446,
62,
46224,
198,
1,
39658,
220,
220,
5218,
220,
13146,
13,
40726,
198,
1,
158,
233,
227,
1,
220,
220,
5218,
220,
13146,
13,
4944,
2149,
16820,
62,
35,
2394,
198,
1,
24861,
246,
1,
220,
220,
5218,
220,
13146,
13,
49,
2751,
62,
31054,
25633,
198,
1,
12906,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
198,
1,
6852,
1,
220,
5218,
220,
13146,
13,
31098,
8634,
11211,
198,
1,
5,
1,
220,
220,
5218,
220,
13146,
13,
6981,
198,
1,
24861,
102,
1,
220,
220,
5218,
220,
13146,
13,
12394,
4877,
24565,
198,
1,
24861,
100,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
198,
1,
158,
232,
245,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
51,
3955,
1546,
198,
1,
158,
232,
246,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
33569,
42446,
62,
8634,
11211,
198,
1,
158,
232,
247,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
35,
2394,
62,
31054,
25633,
198,
1,
158,
232,
248,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
49,
2751,
62,
31054,
25633,
198,
1,
158,
232,
249,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
1921,
5781,
1797,
42,
62,
31054,
25633,
198,
1,
158,
232,
254,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
1503,
1961,
62,
51,
3955,
1546,
198,
1,
158,
232,
94,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
1503,
1961,
62,
35,
2394,
62,
31054,
25633,
198,
1,
158,
232,
241,
1,
220,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
33177,
198,
1,
24861,
245,
1,
220,
220,
5218,
220,
13146,
13,
1921,
5781,
1797,
42,
62,
31054,
25633,
198,
1,
24861,
247,
1,
220,
220,
5218,
220,
13146,
13,
33,
6239,
28882,
62,
31054,
25633,
198,
1,
24861,
97,
1,
220,
220,
5218,
220,
13146,
13,
18227,
1546,
62,
11929,
62,
33569,
14114,
198,
1,
158,
26534,
1,
220,
220,
5218,
220,
13146,
13,
51,
27064,
1961,
62,
23518,
4877,
6981,
198,
1,
35705,
222,
1,
220,
220,
5218,
220,
13146,
13,
54,
2200,
12599,
62,
4805,
28644,
198,
1,
158,
232,
120,
1,
220,
220,
5218,
220,
13146,
13,
45,
6981,
198,
1,
158,
233,
226,
1,
220,
220,
5218,
220,
13146,
13,
17931,
2390,
18672,
62,
31054,
25633,
198,
1,
158,
233,
228,
1,
220,
220,
5218,
220,
13146,
13,
46678,
62,
31054,
25633,
198,
1,
158,
233,
229,
1,
220,
220,
5218,
220,
13146,
13,
33569,
42446,
62,
51,
3955,
1546,
198,
1,
158,
233,
231,
1,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
35510,
42126,
62,
37,
10659,
1581,
62,
50,
3620,
2389,
40,
23988,
62,
4805,
28644,
198,
1,
158,
233,
232,
1,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
35510,
42126,
62,
37,
10659,
1581,
62,
50,
3620,
2389,
40,
23988,
62,
4805,
28644,
198,
1,
158,
233,
233,
1,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
50,
3620,
2389,
40,
23988,
62,
4805,
28644,
198,
1,
158,
233,
234,
1,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
50,
3620,
2389,
40,
23988,
62,
4805,
28644,
198,
1,
158,
233,
237,
1,
220,
220,
5218,
220,
13146,
13,
34,
4261,
11319,
62,
25294,
20151,
62,
6981,
198,
1,
158,
233,
240,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
12394,
4877,
24565,
198,
1,
158,
253,
239,
1,
220,
220,
5218,
220,
13146,
13,
6981,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
99,
116,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
2200,
28884,
36,
62,
50,
3535,
2389,
2937,
198,
1,
158,
99,
120,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
8643,
2149,
36840,
54,
24352,
62,
49,
2394,
11617,
62,
33569,
42446,
62,
46224,
198,
1,
158,
99,
122,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
12418,
12709,
62,
33,
6239,
28882,
198,
1,
158,
99,
123,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
33,
6239,
28882,
198,
1,
158,
100,
114,
1,
220,
220,
5218,
220,
13146,
13,
50,
3535,
2389,
2937,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
100,
115,
1,
220,
220,
5218,
220,
13146,
13,
2200,
28884,
36,
62,
50,
3535,
2389,
2937,
62,
54,
10554,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
101,
229,
1,
220,
220,
5218,
220,
13146,
13,
34551,
46,
62,
25294,
20151,
62,
6981,
62,
31054,
25633,
198,
1,
158,
101,
108,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
101,
109,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
54,
10554,
62,
4944,
14418,
33,
1503,
198,
1,
158,
101,
110,
1,
220,
220,
5218,
220,
13146,
13,
50,
3620,
2389,
40,
23988,
62,
4805,
28644,
62,
54,
10554,
62,
33,
29089,
2662,
62,
5097,
48751,
198,
1,
158,
101,
111,
1,
220,
220,
5218,
220,
13146,
13,
12310,
11211,
62,
4805,
28644,
198,
1,
158,
101,
112,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
1268,
62,
2538,
9792,
62,
39,
1847,
37,
62,
34,
4663,
29931,
198,
1,
158,
101,
113,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
1268,
62,
49,
9947,
62,
39,
1847,
37,
62,
34,
4663,
29931,
198,
1,
158,
101,
114,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
54,
10554,
62,
34,
49060,
5883,
37,
2538,
55,
62,
26861,
3525,
198,
1,
158,
101,
115,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
1268,
62,
35,
2606,
19146,
62,
34,
4663,
29931,
198,
1,
158,
101,
116,
1,
220,
220,
5218,
220,
13146,
13,
34,
4663,
5097,
1961,
62,
33569,
42446,
62,
46224,
198,
1,
158,
101,
119,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
4061,
43,
2149,
6234,
62,
46224,
62,
1268,
62,
5446,
40,
15567,
2538,
198,
1,
158,
101,
120,
1,
220,
220,
5218,
220,
13146,
13,
41358,
41254,
62,
4805,
28644,
198,
1,
158,
101,
121,
1,
220,
220,
5218,
220,
13146,
13,
49,
18060,
4221,
6981,
62,
41358,
41254,
62,
4805,
28644,
198,
1,
158,
102,
222,
1,
220,
220,
5218,
220,
13146,
13,
12394,
4877,
24565,
62,
54,
10554,
62,
35,
2394,
198,
1,
158,
102,
225,
1,
220,
220,
5218,
220,
13146,
13,
12394,
4877,
24565,
62,
54,
10554,
62,
41983,
33,
1503,
198,
1,
158,
102,
226,
1,
220,
220,
5218,
220,
13146,
13,
12394,
4877,
24565,
62,
54,
10554,
62,
25294,
20151,
62,
6981,
198,
1,
158,
102,
233,
1,
220,
220,
5218,
220,
13146,
13,
12394,
4877,
24565,
62,
33,
1546,
14114,
62,
6981,
62,
45006,
1268,
1961,
62,
54,
10554,
62,
12394,
4877,
24565,
198,
1,
158,
102,
235,
1,
220,
220,
5218,
220,
13146,
13,
5097,
48751,
62,
12394,
4877,
24565,
62,
54,
10554,
62,
35009,
5064,
50,
198,
1,
158,
102,
236,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
50,
10917,
12203,
62,
12394,
4877,
24565,
198,
1,
158,
102,
239,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
35,
2394,
62,
6242,
46,
6089,
198,
1,
158,
102,
241,
1,
220,
220,
5218,
220,
13146,
13,
35,
2606,
19146,
62,
25294,
20151,
62,
6981,
198,
1,
158,
102,
243,
1,
220,
220,
5218,
220,
13146,
13,
34551,
46,
62,
12394,
4877,
9782,
2751,
62,
25294,
20151,
62,
6981,
198,
1,
158,
102,
246,
1,
220,
220,
5218,
220,
13146,
13,
8634,
3185,
2751,
62,
43,
1503,
8264,
62,
6981,
198,
1,
158,
102,
248,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
44,
2389,
35,
2538,
62,
25361,
198,
1,
158,
102,
250,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
39,
1581,
14887,
35830,
1847,
62,
35,
11211,
198,
1,
158,
102,
252,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
35,
2606,
19146,
62,
41983,
33,
1503,
198,
1,
158,
102,
253,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
4944,
14418,
33,
1503,
198,
1,
158,
102,
254,
1,
220,
220,
5218,
220,
13146,
13,
25294,
20151,
62,
6981,
62,
54,
10554,
62,
35,
2606,
19146,
62,
4944,
14418,
33,
1503,
198,
1,
158,
104,
249,
1,
220,
220,
5218,
220,
13146,
13,
5446,
15037,
28884,
1847,
62,
12394,
4877,
24565,
198,
1,
158,
232,
235,
1,
220,
220,
5218,
220,
13146,
13,
44,
16724,
1797,
2767,
62,
44,
16724,
4061,
43,
2149,
6234,
198,
1,
5008,
115,
1,
220,
220,
5218,
220,
13146,
13,
12418,
12709,
62,
49,
9947,
62,
16402,
12394,
2751,
62,
5446,
40,
15567,
2538,
198,
1,
158,
101,
251,
1,
220,
220,
5218,
220,
13146,
13,
45006,
1268,
198,
1,
158,
253,
243,
1,
220,
220,
5218,
220,
13146,
13,
2538,
9792,
62,
2606,
5781,
62,
45006,
1268,
198,
1,
158,
253,
244,
1,
220,
220,
5218,
220,
13146,
13,
49,
9947,
62,
2606,
5781,
62,
45006,
1268,
198,
1,
158,
253,
245,
1,
220,
220,
5218,
220,
13146,
13,
37,
9994,
62,
2606,
5781,
62,
45006,
1268,
198,
1,
158,
234,
123,
1,
220,
220,
5218,
220,
13146,
13,
11929,
62,
8634,
11211,
198,
1,
158,
101,
253,
1,
220,
220,
5218,
220,
13146,
13,
15199,
62,
50,
3620,
40,
198,
1,
10619,
62,
51,
3955,
1546,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
22355,
198,
198,
2,
5684,
1105,
198,
1,
33,
43312,
62,
49,
29912,
1,
220,
5218,
13146,
13,
27471,
62,
20310,
198,
1,
1003,
1,
220,
5218,
220,
13146,
13,
24160,
8068,
22332,
62,
8634,
11211,
198,
1,
10619,
62,
49,
29912,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
20310,
198,
198,
2,
5684,
1511,
198,
1,
33,
43312,
62,
47,
36048,
1,
220,
5218,
13146,
13,
27471,
62,
6477,
198,
1,
61,
1,
220,
5218,
220,
13146,
13,
34,
49060,
5883,
37,
2538,
55,
62,
26861,
3525,
198,
1,
48541,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
26465,
3913,
198,
1,
29705,
241,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
229,
113,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
26465,
3913,
62,
2538,
9792,
16279,
5258,
62,
19238,
62,
8577,
16279,
5258,
62,
26465,
3913,
198,
1,
158,
253,
108,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
10917,
2885,
49,
8577,
2538,
62,
26465,
3913,
198,
1,
158,
253,
109,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
10917,
2885,
49,
8577,
2538,
62,
26465,
3913,
198,
1,
158,
97,
230,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
97,
231,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
26465,
3913,
62,
54,
10554,
62,
39,
1581,
14887,
35830,
1847,
62,
2257,
13252,
7336,
198,
1,
158,
97,
232,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
5446,
4061,
2538,
62,
26465,
3913,
198,
1,
158,
97,
233,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
5446,
4061,
2538,
62,
26465,
3913,
198,
1,
158,
97,
240,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
26465,
3913,
62,
10468,
62,
33,
1503,
198,
1,
158,
97,
241,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
26465,
3913,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
231,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
34551,
46,
62,
37682,
1961,
62,
26465,
3913,
62,
10913,
2662,
62,
12310,
7036,
62,
34,
4663,
29931,
198,
1,
158,
98,
234,
1,
220,
5218,
220,
13146,
13,
8577,
62,
33,
37304,
62,
49,
9947,
62,
41925,
62,
33,
37304,
62,
2538,
9792,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
235,
1,
220,
5218,
220,
13146,
13,
8577,
62,
33,
37304,
62,
2538,
9792,
62,
41925,
62,
33,
37304,
62,
49,
9947,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
237,
1,
220,
5218,
220,
13146,
13,
8577,
62,
33,
37304,
62,
49,
9947,
62,
41925,
62,
33,
37304,
62,
49,
9947,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
239,
1,
220,
5218,
220,
13146,
13,
8577,
62,
33,
37304,
62,
2538,
9792,
62,
41925,
62,
33,
37304,
62,
2538,
9792,
62,
39,
1503,
16402,
1340,
198,
1,
158,
98,
242,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
243,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
246,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
247,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
10468,
62,
33,
1503,
198,
1,
158,
98,
250,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
251,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
254,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
94,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
10913,
2662,
62,
33,
1503,
198,
1,
158,
98,
96,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
33,
1546,
14114,
62,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
198,
1,
158,
98,
98,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
33,
1546,
14114,
62,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
198,
1,
158,
98,
106,
1,
220,
5218,
220,
13146,
13,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
33,
1546,
14114,
62,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
198,
1,
158,
98,
107,
1,
220,
5218,
220,
13146,
13,
41925,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
2538,
9792,
62,
33,
1546,
14114,
62,
8577,
16279,
5258,
62,
39,
1503,
16402,
1340,
62,
54,
10554,
62,
33,
37304,
62,
49,
9947,
198,
1,
171,
123,
103,
1,
220,
5218,
220,
13146,
13,
39,
1847,
24160,
2389,
4221,
62,
8577,
16279,
5258,
62,
26465,
3913,
198,
1,
171,
123,
105,
1,
220,
5218,
220,
13146,
13,
39,
1847,
24160,
2389,
4221,
62,
41925,
16279,
5258,
62,
26465,
3913,
198,
1,
10619,
62,
47,
36048,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
6477,
198,
198,
2,
5684,
1478,
198,
1,
33,
43312,
62,
41374,
43,
1,
220,
5218,
13146,
13,
27471,
62,
32446,
198,
1298,
11097,
220,
5218,
220,
13146,
13,
41374,
43,
1503,
6234,
198,
1,
10619,
62,
41374,
43,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
32446,
198,
198,
2,
5684,
1315,
198,
1,
33,
43312,
62,
47357,
1,
220,
5218,
13146,
13,
27471,
62,
3003,
198,
1,
3003,
1,
220,
5218,
220,
13146,
13,
47357,
198,
1,
10619,
62,
47357,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
3003,
198,
198,
2,
5684,
1467,
198,
1,
33,
43312,
62,
35,
2394,
1,
220,
5218,
13146,
13,
27471,
62,
26518,
198,
1,
526,
220,
5218,
220,
13146,
13,
35,
2394,
198,
1,
10619,
62,
35,
2394,
1,
220,
220,
220,
5218,
13146,
13,
437,
62,
26518,
198,
198,
1,
2474,
220,
220,
5218,
220,
13146,
13,
11929,
198,
1,
29653,
220,
220,
5218,
220,
13146,
13,
4805,
12789,
198,
1911,
29653,
220,
5218,
220,
13146,
13,
5446,
1565,
4303,
14058,
198,
1,
3784,
1,
220,
5218,
220,
13146,
13,
1565,
1340,
62,
42296,
34,
198,
198,
1,
33,
43312,
62,
4944,
2149,
16820,
62,
30737,
1,
5218,
13146,
13,
27471,
62,
46903,
1098,
62,
2840,
198,
1,
126,
105,
1,
220,
5218,
220,
13146,
13,
11929,
62,
46224,
198,
1,
24861,
248,
1,
220,
5218,
220,
13146,
13,
50,
10917,
12203,
62,
13252,
2394,
198,
1,
24861,
249,
1,
220,
5218,
220,
13146,
13,
34,
10526,
36,
62,
13252,
2394,
198,
1,
24861,
250,
1,
220,
5218,
220,
13146,
13,
10917,
2885,
62,
13252,
2394,
198,
1,
10619,
62,
4944,
2149,
16820,
62,
30737,
1,
220,
220,
5218,
13146,
13,
437,
62,
46903,
1098,
62,
2840,
198,
198,
1,
10619,
62,
30737,
1,
5218,
13146,
13,
437,
62,
2840,
198,
198,
1,
33,
43312,
62,
27082,
35009,
62,
10468,
42,
16938,
1,
5218,
13146,
13,
27471,
62,
48610,
62,
83,
482,
641,
198,
198,
1,
51,
2662,
33,
2257,
11651,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
51,
2662,
33,
2257,
11651,
198,
198,
2,
42755,
3891,
389,
953,
11978,
355,
257,
2041,
1611,
286,
27421,
780,
262,
198,
2,
2488,
743,
407,
307,
7223,
284,
262,
15021,
1438,
287,
262,
2723,
357,
273,
743,
407,
307,
198,
2,
3917,
351,
257,
11241,
379,
477,
287,
262,
1339,
286,
17142,
15021,
3848,
198,
2,
588,
327,
6965,
62,
38715,
62,
44721,
13252,
62,
20608,
8,
198,
1,
33,
43312,
62,
44721,
13252,
62,
45,
29559,
1,
5218,
13146,
13,
27471,
62,
20285,
305,
62,
14933,
198,
1,
14155,
305,
5376,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
317,
15021,
1438,
27421,
198,
1,
31,
526,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
35,
2394,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
15021,
1438,
286,
2488,
13,
198,
1,
10100,
14155,
305,
5376,
1,
220,
220,
220,
5218,
220,
13146,
13,
18601,
2751,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8352,
3672,
1,
11246,
62,
2536,
1,
198,
1,
40109,
14155,
305,
5376,
1,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
12740,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8352,
3672,
63,
11246,
62,
2536,
63,
198,
1,
7295,
62,
31,
15390,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
6965,
62,
38715,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7231,
13,
31,
15390,
198,
1,
7295,
62,
31,
28758,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
6965,
62,
34,
12740,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7231,
13,
31,
28758,
198,
1,
7295,
62,
31,
600,
12762,
62,
2536,
1,
220,
220,
5218,
220,
13146,
13,
34,
6965,
62,
12394,
12762,
62,
18601,
62,
44721,
13252,
62,
20608,
220,
1303,
7231,
13,
31,
600,
12762,
62,
2536,
198,
1,
7295,
62,
31,
28611,
12762,
62,
2536,
1,
220,
5218,
220,
13146,
13,
34,
6965,
62,
52,
12394,
12762,
62,
18601,
62,
44721,
13252,
62,
20608,
1303,
7231,
13,
31,
28611,
12762,
62,
2536,
198,
1,
7295,
62,
31,
14261,
62,
2536,
1,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
6965,
62,
3483,
38,
62,
18601,
62,
44721,
13252,
62,
20608,
220,
220,
220,
220,
1303,
7231,
13,
31,
14261,
62,
2536,
198,
1,
10619,
62,
44721,
13252,
62,
45,
29559,
1,
220,
220,
220,
5218,
220,
13146,
13,
437,
62,
20285,
305,
62,
14933,
198,
1,
10619,
62,
27082,
35009,
62,
10468,
42,
16938,
1,
220,
5218,
220,
13146,
13,
437,
62,
48610,
62,
83,
482,
641,
198,
198,
2,
3954,
2183,
15582,
16326,
198,
1,
33,
43312,
62,
23060,
45,
5603,
55,
62,
42,
1268,
5258,
1,
5218,
13146,
13,
27471,
62,
1837,
41641,
62,
11031,
82,
198,
1,
9967,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9148,
11290,
198,
1,
13345,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
7036,
198,
1,
785,
1845,
1653,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9858,
27082,
39960,
198,
1,
22019,
306,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
34,
4261,
11319,
198,
1,
259,
861,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
1268,
17395,
198,
1,
8841,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
18601,
2751,
62,
41358,
47,
198,
1,
20285,
12204,
439,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
44721,
49,
4503,
7036,
198,
1,
46265,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
42,
54,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
796,
287,
277,
7,
64,
28,
16,
8,
198,
1,
17143,
7307,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
27082,
2390,
2767,
4877,
220,
220,
220,
220,
220,
1303,
262,
1351,
706,
2162,
287,
277,
7,
26,
257,
28,
16,
8,
198,
1,
83,
643,
626,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
51,
34354,
18697,
198,
1,
83,
29291,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
51,
8577,
2538,
198,
1,
5420,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
31688,
198,
1,
303,
310,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
53,
9782,
198,
1,
1671,
2114,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
11473,
2246,
1546,
198,
1,
1671,
2114,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
11473,
2246,
1546,
34,
1404,
198,
1,
71,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
16045,
1404,
198,
1,
85,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
15922,
1404,
198,
1,
77,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
7792,
1404,
198,
1,
774,
9124,
62,
71,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9936,
47,
1961,
62,
16045,
1404,
198,
1,
774,
9124,
62,
85,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9936,
47,
1961,
62,
15922,
1404,
198,
1,
774,
9124,
62,
77,
9246,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9936,
47,
1961,
62,
7792,
1404,
198,
1,
808,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
49,
3913,
198,
1,
77,
808,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
24723,
3913,
198,
1,
8612,
1352,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
35353,
1137,
25633,
198,
1,
24455,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
46700,
5781,
198,
1,
2704,
41769,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
3697,
17139,
1677,
198,
1,
785,
3866,
5135,
295,
1,
220,
220,
220,
220,
220,
220,
220,
5218,
220,
13146,
13,
9858,
46437,
39,
16938,
2849,
198,
1,
774,
9124,
62,
785,
3866,
5135,
295,
1,
220,
5218,
220,
13146,
13,
9936,
47,
1961,
62,
9858,
46437,
39,
16938,
2849,
198,
1,
10619,
62,
23060,
45,
5603,
55,
62,
42,
1268,
5258,
1,
5218,
13146,
13,
437,
62,
1837,
41641,
62,
11031,
82,
198,
198,
12962,
198,
437,
198,
198,
2,
337,
5912,
422,
6982,
284,
511,
3748,
4731,
10552,
11,
611,
340,
7160,
198,
9979,
4808,
11031,
62,
1462,
62,
2536,
62,
34642,
796,
198,
220,
220,
220,
360,
713,
90,
35854,
11,
10100,
92,
7,
74,
14804,
8841,
7,
82,
8,
329,
357,
74,
11,
82,
8,
287,
309,
89,
22906,
13,
4944,
2149,
16820,
62,
30737,
62,
2200,
28884,
36,
8,
198,
1640,
479,
86,
287,
6626,
7203,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
357,
685,
1391,
1782,
2361,
1267,
2488,
837,
2162,
366,
19990,
7879,
7879,
4600,
7559,
63,
628,
220,
220,
220,
220,
220,
220,
220,
6247,
21412,
2221,
2270,
4929,
1500,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
466,
2073,
2073,
361,
886,
10784,
3443,
329,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
3298,
611,
1330,
1309,
1957,
198,
220,
220,
220,
220,
220,
220,
220,
15021,
8265,
9577,
1441,
2878,
1949,
2099,
1262,
981,
628,
220,
220,
220,
220,
220,
220,
220,
355,
12531,
2205,
4517,
540,
12076,
20049,
2099,
1401,
628,
220,
220,
220,
220,
220,
220,
220,
2512,
869,
7208,
45731,
4731,
29824,
8352,
12204,
439,
479,
86,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
284,
1154,
626,
46545,
1006,
1569,
310,
47241,
47241,
9246,
289,
9246,
198,
220,
220,
220,
220,
220,
220,
220,
410,
9246,
299,
9246,
25683,
62,
71,
9246,
25683,
62,
85,
9246,
25683,
62,
77,
9246,
5752,
299,
808,
17301,
198,
220,
220,
220,
220,
220,
220,
220,
8106,
27172,
268,
35915,
25683,
62,
785,
3866,
5135,
295,
628,
220,
220,
220,
220,
220,
220,
220,
4049,
2147,
2081,
3991,
6045,
198,
220,
220,
220,
13538,
4943,
198,
220,
220,
220,
4808,
11031,
62,
1462,
62,
2536,
62,
34642,
29795,
2536,
62,
1462,
62,
11031,
58,
46265,
11907,
796,
479,
86,
198,
437,
198,
198,
9979,
4808,
11031,
62,
1462,
62,
2536,
796,
360,
713,
7,
82,
14804,
74,
329,
357,
74,
11,
82,
8,
287,
4808,
2536,
62,
1462,
62,
11031,
8,
198
] | 1.640335 | 20,875 |
println("foo!")
println(STDERR, "bar!")
function calculate100(f, a, b)
println("f: $f")
println("a: $a, b: $b")
return f.(linspace(a, b, 100))
end
| [
35235,
7203,
21943,
2474,
8,
198,
35235,
7,
2257,
49643,
11,
366,
5657,
2474,
8,
198,
8818,
15284,
3064,
7,
69,
11,
257,
11,
275,
8,
198,
220,
220,
220,
44872,
7203,
69,
25,
720,
69,
4943,
198,
220,
220,
220,
44872,
7203,
64,
25,
720,
64,
11,
275,
25,
720,
65,
4943,
198,
220,
220,
220,
1441,
277,
12195,
21602,
10223,
7,
64,
11,
275,
11,
1802,
4008,
198,
437,
198
] | 2.208333 | 72 |
# Copyright 2016, Iain Dunning, Joey Huchette, Miles Lubin, and contributors
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#############################################################################
# JuMP
# An algebraic modelling langauge for Julia
# See http://github.com/JuliaOpt/JuMP.jl
#############################################################################
# noswot.jl
#
# Solve a nontrivial MIP problem with user cuts. The jump model is populated
# from an .MPS file by using MathProgBase to construct another model and
# copying the data over to the JuMP model. The problem comes from the
# MIPLIB 3.0 benchmark collection.
#############################################################################
using JuMP
using MathProgBase
using Gurobi
mod = Model(solver=GurobiSolver(PreCrush=1, Cuts=0, Presolve=0, Heuristics=0.0, DisplayInterval=1))
m_internal = MathProgBase.LinearQuadraticModel(GurobiSolver())
## Uncomment the following three lines to solve using CPLEX
# using CPLEX
# mod = Model(solver=CplexSolver(CPX_PARAM_PRELINEAR=0, CPX_PARAM_PREIND=0, CPX_PARAM_ADVIND=0, CPX_PARAM_MIPSEARCH=1,CPX_PARAM_MIPCBREDLP=0))
# m_internal = MathProgBase.LinearQuadraticModel(CplexSolver())
# Load the model from .MPS file
MathProgBase.loadproblem!(m_internal, "data/noswot.mps")
# grab MathProgBase data
c = MathProgBase.getobj(m_internal)
A = MathProgBase.getconstrmatrix(m_internal)
m, n = size(A)
xlb = MathProgBase.getvarLB(m_internal)
xub = MathProgBase.getvarUB(m_internal)
l = MathProgBase.getconstrLB(m_internal)
u = MathProgBase.getconstrUB(m_internal)
vtypes = MathProgBase.getvartype(m_internal)
# populate JuMP model with data from internal model
@variable(mod, x[1:n])
for i in 1:n
setlowerbound(x[i], xlb[i])
setupperbound(x[i], xub[i])
vtypes[i] == 'I' ? mod.colCat[x[i].col] = :Int : nothing # change vartype to integer when appropriate
end
At = A' # transpose to get useful row-wise sparse representation
for i in 1:At.n
@constraint( mod, l[i] <= sum{ At.nzval[idx]*x[At.rowval[idx]], idx = At.colptr[i]:(At.colptr[i+1]-1) } <= u[i] )
end
@objective(mod, Min, sum{ c[i]*x[i], i=1:n })
function mycutgenerator(cb) # valid cuts
x_val = getvalue(x)
println("in callback")
@usercut(cb, x[62]-x[63] <= 0)
@usercut(cb, x[63]-x[64] <= 0)
@usercut(cb, x[64]-x[65] <= 0)
@usercut(cb, 2.08x[52] + 2.98x[62] + 3.47x[72] + 2.24x[82] + 2.08x[92] + 0.25x[51] + 0.25x[61] + 0.25x[71] + 0.25x[81] + 0.25x[91] <= 20.25)
@usercut(cb, 2.08x[54] + 2.98x[64] + 3.47x[74] + 2.24x[84] + 2.08x[94] + 0.25x[53] + 0.25x[63] + 0.25x[73] + 0.25x[83] + 0.25x[93] <= 20.25)
@usercut(cb, 2.08x[56] + 2.98x[66] + 3.4722x[76] + 2.24x[86] + 2.08x[96] + 0.25x[55] + 0.25x[65] + 0.25x[75] + 0.25x[85] + 0.25x[95] <= 20.25)
@usercut(cb, 2.08x[58] + 2.98x[68] + 3.47x[78] + 2.24x[88] + 2.08x[98] + 0.25x[57] + 0.25x[67] + 0.25x[77] + 0.25x[87] + 0.25x[97] <= 20.25)
@usercut(cb, 2.08x[60] + 2.98x[70] + 3.47x[80] + 2.24x[90] + 2.08x[100] + 0.25x[59] + 0.25x[69] + 0.25x[79] + 0.25x[89] + 0.25x[99] <= 16.25)
end # End of callback function
# # Tell JuMP/CPLEX to use our callback function
addcutcallback(mod, mycutgenerator)
stat = solve(mod)
println("Solve status: ", stat)
println("Objective value: ", getobjectivevalue(mod))
| [
2,
220,
15069,
1584,
11,
314,
391,
5648,
768,
11,
26154,
367,
1229,
3202,
660,
11,
20404,
40753,
259,
11,
290,
20420,
198,
2,
220,
770,
8090,
6127,
5178,
318,
2426,
284,
262,
2846,
286,
262,
29258,
5094,
198,
2,
220,
13789,
11,
410,
13,
362,
13,
15,
13,
1002,
257,
4866,
286,
262,
4904,
43,
373,
407,
9387,
351,
428,
198,
2,
220,
2393,
11,
921,
460,
7330,
530,
379,
2638,
1378,
5908,
16496,
13,
2398,
14,
44,
6489,
14,
17,
13,
15,
11757,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
12585,
7378,
198,
2,
1052,
37139,
291,
38591,
42392,
559,
469,
329,
22300,
198,
2,
4091,
2638,
1378,
12567,
13,
785,
14,
16980,
544,
27871,
14,
33018,
7378,
13,
20362,
198,
29113,
29113,
7804,
4242,
2,
198,
2,
43630,
86,
313,
13,
20362,
198,
2,
198,
2,
4294,
303,
257,
45930,
15104,
498,
337,
4061,
1917,
351,
2836,
6630,
13,
383,
4391,
2746,
318,
22331,
198,
2,
422,
281,
764,
44,
3705,
2393,
416,
1262,
16320,
2964,
70,
14881,
284,
5678,
1194,
2746,
290,
198,
2,
23345,
262,
1366,
625,
284,
262,
12585,
7378,
2746,
13,
383,
1917,
2058,
422,
262,
198,
2,
337,
4061,
40347,
513,
13,
15,
18335,
4947,
13,
198,
29113,
29113,
7804,
4242,
2,
198,
198,
3500,
12585,
7378,
198,
3500,
16320,
2964,
70,
14881,
198,
198,
3500,
402,
1434,
8482,
198,
4666,
796,
9104,
7,
82,
14375,
28,
38,
1434,
8482,
50,
14375,
7,
6719,
13916,
1530,
28,
16,
11,
327,
5500,
28,
15,
11,
1763,
6442,
28,
15,
11,
679,
333,
3969,
28,
15,
13,
15,
11,
16531,
9492,
2100,
28,
16,
4008,
198,
76,
62,
32538,
796,
16320,
2964,
70,
14881,
13,
14993,
451,
4507,
41909,
1512,
17633,
7,
38,
1434,
8482,
50,
14375,
28955,
198,
198,
2235,
791,
23893,
262,
1708,
1115,
3951,
284,
8494,
1262,
327,
16437,
55,
198,
2,
1262,
327,
16437,
55,
198,
2,
953,
796,
9104,
7,
82,
14375,
28,
34,
11141,
50,
14375,
7,
8697,
55,
62,
27082,
2390,
62,
47,
16448,
8881,
1503,
28,
15,
11,
16932,
55,
62,
27082,
2390,
62,
46437,
12115,
28,
15,
11,
16932,
55,
62,
27082,
2390,
62,
2885,
53,
12115,
28,
15,
11,
16932,
55,
62,
27082,
2390,
62,
8895,
3705,
17133,
3398,
28,
16,
11,
8697,
55,
62,
27082,
2390,
62,
44,
4061,
34,
11473,
1961,
19930,
28,
15,
4008,
198,
2,
285,
62,
32538,
796,
16320,
2964,
70,
14881,
13,
14993,
451,
4507,
41909,
1512,
17633,
7,
34,
11141,
50,
14375,
28955,
198,
198,
2,
8778,
262,
2746,
422,
764,
44,
3705,
2393,
198,
37372,
2964,
70,
14881,
13,
2220,
45573,
0,
7,
76,
62,
32538,
11,
366,
7890,
14,
39369,
86,
313,
13,
76,
862,
4943,
198,
198,
2,
5552,
16320,
2964,
70,
14881,
1366,
198,
66,
796,
16320,
2964,
70,
14881,
13,
1136,
26801,
7,
76,
62,
32538,
8,
198,
32,
796,
16320,
2964,
70,
14881,
13,
1136,
1102,
2536,
6759,
8609,
7,
76,
62,
32538,
8,
198,
76,
11,
299,
796,
2546,
7,
32,
8,
198,
87,
23160,
796,
16320,
2964,
70,
14881,
13,
1136,
7785,
30501,
7,
76,
62,
32538,
8,
198,
87,
549,
796,
16320,
2964,
70,
14881,
13,
1136,
7785,
10526,
7,
76,
62,
32538,
8,
198,
75,
796,
16320,
2964,
70,
14881,
13,
1136,
1102,
2536,
30501,
7,
76,
62,
32538,
8,
198,
84,
796,
16320,
2964,
70,
14881,
13,
1136,
1102,
2536,
10526,
7,
76,
62,
32538,
8,
198,
85,
19199,
796,
16320,
2964,
70,
14881,
13,
1136,
85,
433,
2981,
7,
76,
62,
32538,
8,
198,
198,
2,
48040,
12585,
7378,
2746,
351,
1366,
422,
5387,
2746,
198,
31,
45286,
7,
4666,
11,
2124,
58,
16,
25,
77,
12962,
198,
1640,
1312,
287,
352,
25,
77,
198,
220,
220,
220,
900,
21037,
7784,
7,
87,
58,
72,
4357,
2124,
23160,
58,
72,
12962,
198,
220,
220,
220,
900,
45828,
7784,
7,
87,
58,
72,
4357,
2124,
549,
58,
72,
12962,
198,
220,
220,
220,
410,
19199,
58,
72,
60,
6624,
705,
40,
6,
5633,
953,
13,
4033,
21979,
58,
87,
58,
72,
4083,
4033,
60,
796,
1058,
5317,
1058,
2147,
1303,
1487,
410,
433,
2981,
284,
18253,
618,
5035,
198,
437,
198,
2953,
796,
317,
6,
1303,
1007,
3455,
284,
651,
4465,
5752,
12,
3083,
29877,
10552,
198,
1640,
1312,
287,
352,
25,
2953,
13,
77,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
953,
11,
300,
58,
72,
60,
19841,
2160,
90,
1629,
13,
27305,
2100,
58,
312,
87,
60,
9,
87,
58,
2953,
13,
808,
2100,
58,
312,
87,
60,
4357,
4686,
87,
796,
1629,
13,
4033,
20692,
58,
72,
5974,
7,
2953,
13,
4033,
20692,
58,
72,
10,
16,
45297,
16,
8,
1782,
19841,
334,
58,
72,
60,
1267,
198,
437,
198,
31,
15252,
425,
7,
4666,
11,
1855,
11,
2160,
90,
269,
58,
72,
60,
9,
87,
58,
72,
4357,
1312,
28,
16,
25,
77,
32092,
198,
198,
8818,
616,
8968,
8612,
1352,
7,
21101,
8,
1303,
4938,
6630,
198,
220,
220,
220,
2124,
62,
2100,
796,
651,
8367,
7,
87,
8,
198,
220,
220,
220,
44872,
7203,
259,
23838,
4943,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
2124,
58,
5237,
45297,
87,
58,
5066,
60,
19841,
657,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
2124,
58,
5066,
45297,
87,
58,
2414,
60,
19841,
657,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
2124,
58,
2414,
45297,
87,
58,
2996,
60,
19841,
657,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
362,
13,
2919,
87,
58,
4309,
60,
1343,
362,
13,
4089,
87,
58,
5237,
60,
1343,
220,
220,
513,
13,
2857,
87,
58,
4761,
60,
1343,
362,
13,
1731,
87,
58,
6469,
60,
1343,
220,
362,
13,
2919,
87,
58,
5892,
60,
1343,
657,
13,
1495,
87,
58,
4349,
60,
1343,
657,
13,
1495,
87,
58,
5333,
60,
1343,
657,
13,
1495,
87,
58,
4869,
60,
1343,
657,
13,
1495,
87,
58,
6659,
60,
1343,
657,
13,
1495,
87,
58,
6420,
60,
19841,
1160,
13,
1495,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
362,
13,
2919,
87,
58,
4051,
60,
1343,
362,
13,
4089,
87,
58,
2414,
60,
1343,
220,
220,
513,
13,
2857,
87,
58,
4524,
60,
1343,
362,
13,
1731,
87,
58,
5705,
60,
1343,
220,
362,
13,
2919,
87,
58,
5824,
60,
1343,
657,
13,
1495,
87,
58,
4310,
60,
1343,
657,
13,
1495,
87,
58,
5066,
60,
1343,
657,
13,
1495,
87,
58,
4790,
60,
1343,
657,
13,
1495,
87,
58,
5999,
60,
1343,
657,
13,
1495,
87,
58,
6052,
60,
19841,
1160,
13,
1495,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
362,
13,
2919,
87,
58,
3980,
60,
1343,
362,
13,
4089,
87,
58,
2791,
60,
1343,
513,
13,
2857,
1828,
87,
58,
4304,
60,
1343,
362,
13,
1731,
87,
58,
4521,
60,
1343,
220,
362,
13,
2919,
87,
58,
4846,
60,
1343,
657,
13,
1495,
87,
58,
2816,
60,
1343,
657,
13,
1495,
87,
58,
2996,
60,
1343,
657,
13,
1495,
87,
58,
2425,
60,
1343,
657,
13,
1495,
87,
58,
5332,
60,
1343,
657,
13,
1495,
87,
58,
3865,
60,
19841,
1160,
13,
1495,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
362,
13,
2919,
87,
58,
3365,
60,
1343,
362,
13,
4089,
87,
58,
3104,
60,
1343,
220,
220,
513,
13,
2857,
87,
58,
3695,
60,
1343,
362,
13,
1731,
87,
58,
3459,
60,
1343,
220,
362,
13,
2919,
87,
58,
4089,
60,
1343,
657,
13,
1495,
87,
58,
3553,
60,
1343,
657,
13,
1495,
87,
58,
3134,
60,
1343,
657,
13,
1495,
87,
58,
3324,
60,
1343,
657,
13,
1495,
87,
58,
5774,
60,
1343,
657,
13,
1495,
87,
58,
5607,
60,
19841,
1160,
13,
1495,
8,
198,
220,
220,
220,
2488,
43298,
315,
7,
21101,
11,
362,
13,
2919,
87,
58,
1899,
60,
1343,
362,
13,
4089,
87,
58,
2154,
60,
1343,
220,
220,
513,
13,
2857,
87,
58,
1795,
60,
1343,
362,
13,
1731,
87,
58,
3829,
60,
1343,
362,
13,
2919,
87,
58,
3064,
60,
1343,
657,
13,
1495,
87,
58,
3270,
60,
1343,
657,
13,
1495,
87,
58,
3388,
60,
1343,
657,
13,
1495,
87,
58,
3720,
60,
1343,
657,
13,
1495,
87,
58,
4531,
60,
1343,
657,
13,
1495,
87,
58,
2079,
60,
19841,
1467,
13,
1495,
8,
198,
437,
220,
1303,
5268,
286,
23838,
2163,
198,
198,
2,
1303,
14026,
12585,
7378,
14,
8697,
2538,
55,
284,
779,
674,
23838,
2163,
198,
2860,
8968,
47423,
7,
4666,
11,
616,
8968,
8612,
1352,
8,
198,
198,
14269,
796,
8494,
7,
4666,
8,
198,
35235,
7203,
50,
6442,
3722,
25,
33172,
1185,
8,
198,
35235,
7203,
10267,
425,
1988,
25,
33172,
651,
15252,
425,
8367,
7,
4666,
4008,
198
] | 2.357435 | 1,466 |
module DataFitting
using Printf, PrettyTables
using Statistics, Distributions
using DataStructures
using LsqFit
import Base.push!
import Base.show
import Base.ndims
import Base.size
import Base.length
import Base.getindex
import Base.reshape
import Base.propertynames
import Base.getproperty
import Base.getindex
import Base.setindex!
import Base.iterate
export Domain, CartesianDomain, Measures,
Prediction, Model, evaluate, parindex, thaw, freeze, fit!
include("domain.jl")
# ====================================================================
# Parameter
#
mutable struct Parameter
val::Float64
low::Float64 # lower limit value
high::Float64 # upper limit value
step::Float64
free::Bool
Parameter(value::Number) = new(float(value), -Inf, +Inf, NaN, true)
end
# ====================================================================
# A *component* is a generic implementation of a constituent part of a
# model.
#
# A component must inherit `AbstractComponent`, and implement the
# `ceval_data` and `evaluate` methods
abstract type AbstractComponent end
function getparams(comp::AbstractComponent)
params = OrderedDict{Tuple{Symbol,Int}, Parameter}()
for pname in fieldnames(typeof(comp))
par = getfield(comp, pname)
if isa(par, Parameter)
params[(pname, 0)] = par
elseif isa(par, Vector{Parameter})
for i in 1:length(par)
params[(pname, i)] = par[i]
end
end
end
params
end
# ====================================================================
# CompEval: a wrapper for a component evaluated on a specific domain
#
mutable struct CompEval{TDomain <: AbstractDomain, TComp <: AbstractComponent}
domain::TDomain
comp::TComp
params::OrderedDict{Tuple{Symbol,Int}, Parameter}
cdata
counter::Int
lastvalues::Vector{Float64}
eval::Vector{Float64}
ipar::Vector{Int} # handled by Model
function CompEval(domain::AbstractDomain, comp::AbstractComponent)
params = getparams(comp)
(cdata, len) = ceval_data(domain, comp)
return new{typeof(domain), typeof(comp)}(
domain, comp, params, cdata, 0,
fill(NaN, length(params)),
fill(NaN, len), Vector{Int}())
end
end
# This is called to `update` to distinguish it from component's `evaluate`.
update(c::CompEval) = update(c, [par.val for par in values(c.params)])
function update(c::CompEval, pvalues::Vector{Float64})
@assert length(c.params) == length(pvalues)
# Do we actually need a new evaluation?
if (any(c.lastvalues .!= pvalues) || (c.counter == 0))
c.lastvalues .= pvalues
c.counter += 1
@assert all(.!isnan.(pvalues))
evaluate(c, pvalues...)
end
return c.eval
end
# ====================================================================
# Component fall back methods
ceval_data(domain::AbstractDomain, comp::AbstractComponent) =
error("Component " * string(typeof(comp)) * " must implement its own method for `ceval_data`.")
evaluate(c::CompEval{TDomain, TComp}, args...) where {TDomain, TComp} =
error("Component " * string(TComp) * " must implement its own method for `evaluate`.")
# ====================================================================
# Built-in components
#
include("components/ScalarParam.jl")
include("components/FuncWrap.jl")
include("components/OffsetSlope.jl")
include("components/Gaussian.jl")
# ====================================================================
# Parse a user defined structure or dictionary to extract all
# components
function extract_components(things...; prefix="")
out = OrderedDict{Symbol, AbstractComponent}()
for thing in things
#println()
#println("Thing $(typeof(thing)) (prefix = $(prefix))")
if isa(thing, AbstractComponent)
#println("Adding...")
out[Symbol(prefix)] = thing
else
(length(prefix) > 0) && (prefix *= "_")
if isa(thing, AbstractDict)
for (name, v) in thing
#println("Dict: Walk through $name :: $(typeof(v))")
merge!(out, extract_components(v; prefix=prefix * string(name)))
end
elseif isa(thing, Pair)
#println("Pair: $(thing[1]), $(typeof(thing[2]))")
if isa(thing[1], Symbol)
name = thing[1]
v = thing[2]
isa(v, Number) && (v = ScalarParam(v))
if isa(v, AbstractComponent)
merge!(out, extract_components(v; prefix=prefix * string(name)))
end
end
elseif isstructtype(typeof(thing))
for name in fieldnames(typeof(thing))
v = getfield(thing, name)
#println("Structure: Walk through $name :: $(typeof(v))")
merge!(out, extract_components(v; prefix=prefix * string(name)))
end
end
end
end
return out
end
# ====================================================================
# A model prediction suitable to be compared to experimental data
mutable struct Prediction
domain::AbstractDomain
cevals::OrderedDict{Symbol, CompEval}
eval::Vector{Float64}
reduce_with_dict::Bool
reducer::Union{Nothing, Function}
counter::Int
function Prediction(domain::AbstractDomain, things...;
prefix="", reduce=reduce)
comps = extract_components(things...; prefix=prefix)
cevals = OrderedDict{Symbol, CompEval}()
for (name, comp) in comps
cevals[name] = CompEval(domain, comp)
end
out = new(domain, cevals, Vector{Float64}(), false, reduce, 0)
evaluate(out) # TODO: is this correct?
return out
end
end
# Default reducer: add all components
reduce(domain::AbstractDomain, args...) = .+(args...)
# Reduce prediction by combining individual components
function reduce(pred::Prediction)
if pred.reduce_with_dict
d = Dict([(cname, ceval.eval) for (cname, ceval) in pred.cevals])
expr = pred.reducer(pred.domain, d)
else
d = [ceval.eval for (cname, ceval) in pred.cevals]
expr = pred.reducer(pred.domain, d...)
end
if length(pred.eval) == 0
append!(pred.eval, expr)
else
pred.eval .= expr
end
pred.counter += 1
end
function evaluate(pred::Prediction)
for (name, ceval) in pred.cevals
update(ceval)
end
reduce(pred)
end
# ====================================================================
# Global model, actually a collection of `Prediction`s.
mutable struct Model
preds::Vector{Prediction}
comps::OrderedDict{Symbol, AbstractComponent}
cfree::OrderedDict{Symbol, Bool}
params::OrderedDict{Tuple{Symbol, Symbol, Int}, Parameter}
pvalues::Vector{Float64}
actual::Vector{Float64}
buffer::Vector{Float64}
partransform::Function
end
function Model(v::Vector{Prediction})
model = Model(v, OrderedDict{Symbol, AbstractComponent}(),
OrderedDict{Symbol, Bool}(),
OrderedDict{Tuple{Symbol, Symbol, Int}, Parameter}(),
Vector{Float64}(), Vector{Float64}(), Vector{Float64}(), default_partransform)
evaluate(model)
return model
end
Model(p::Prediction) = Model([p])
Model(args...; kw...) = Model(Prediction(args...; kw...))
function evaluate(model::Model)
@assert length(model.preds) >= 1
# Save list of previously free components
cfree = deepcopy(model.cfree)
# Collect components and parameters
empty!(model.comps)
empty!(model.cfree)
empty!(model.params)
for pred in model.preds
for (cname, ceval) in pred.cevals
model.comps[cname] = ceval.comp
model.cfree[cname] = get(cfree, cname, true)
for (pname, par) in ceval.params
cpname = (cname, pname[1], pname[2])
model.params[cpname] = par
end
end
end
# Populate CompEval.ipar and evaluate all predictions
ndata = 0
cpnames = keys(model.params)
for pred in model.preds
for (cname, ceval) in pred.cevals
empty!(ceval.ipar)
for (pname, par) in ceval.params
cpname = (cname, pname[1], pname[2])
push!(ceval.ipar, findfirst(cpnames .== Ref(cpname)))
end
update(ceval)
end
reduce(pred)
ndata += length(pred.eval)
end
model.pvalues = [par.val for par in values(model.params)]
model.actual = deepcopy(model.pvalues)
model.buffer = Vector{Float64}(undef, ndata)
quick_evaluate(model)
return model
end
default_partransform(model::Model, pvalues::Vector{Float64}, actual::Vector{Float64}) = nothing
# This is supposed to be called from `fit!`, not by user
function quick_evaluate(model::Model)
model.actual .= model.pvalues # copy all values by default
model.partransform(model, model.pvalues, model.actual)
for pred in model.preds
for (cname, ceval) in pred.cevals
update(ceval, model.actual[ceval.ipar])
end
end
for pred in model.preds
reduce(pred)
end
nothing
end
function Base.push!(m::Model, p::Prediction)
push!(m.preds, p)
evaluate(model)
return model
end
Base.getindex(m::Model, i::Int) = m.preds[i].eval
Base.getindex(m::Model, cname::Symbol) = m.comps[cname]
parindex(model::Model, cname::Symbol, pname::Symbol, i::Int=0) =
findfirst(keys(model.params) .== Ref((cname, pname, i)))
function freeze(model::Model, cname::Symbol)
@assert cname in keys(model.cfree) "Component $c is not defined"
model.cfree[cname] = false
model
end
function thaw(model::Model, cname::Symbol)
@assert cname in keys(model.cfree) "Component $c is not defined"
model.cfree[cname] = true
model
end
# ====================================================================
# Fit results
#
struct BestFitPar
val::Float64
unc::Float64
free::Bool
calc::Float64 # value after transformation
end
struct BestFitComp
params::OrderedDict{Symbol, Union{BestFitPar, Vector{BestFitPar}}}
BestFitComp() = new(OrderedDict{Symbol, Union{BestFitPar, Vector{BestFitPar}}}())
end
Base.propertynames(comp::BestFitComp) = keys(getfield(comp, :params))
Base.getproperty(comp::BestFitComp, p::Symbol) = getfield(comp, :params)[p]
Base.getindex(comp::BestFitComp, p::Symbol) = getfield(comp, :params)[p]
Base.length(comp::BestFitComp) = length(getfield(comp, :params))
Base.iterate(comp::BestFitComp, args...) = iterate(getfield(comp, :params), args...)
Base.setindex!(comp::BestFitComp, x, p::Symbol) = getfield(comp, :params)[p] = x
struct BestFitResult
comps::OrderedDict{Symbol, BestFitComp}
ndata::Int
dof::Int
cost::Float64
status::Symbol #:Optimal, :NonOptimal, :Warn, :Error
log10testprob::Float64
elapsed::Float64
end
Base.getindex(res::BestFitResult, cname::Symbol) = res.comps[cname]
# ====================================================================
function data1D(model::Model, data::Vector{T}) where T<:AbstractMeasures
out = Vector{Measures_1D}()
for i in 1:length(model.preds)
pred = model.preds[i]
@assert(length(data[i]) == length(pred.eval),
"Length of dataset $i do not match corresponding model prediction.")
push!(out, flatten(data[i], pred.domain))
end
return out
end
function residuals1d(model::Model, data1d::Vector{Measures_1D})
c1 = 1
for i in 1:length(model.preds)
pred = model.preds[i]
c2 = c1 + length(pred.eval) - 1
model.buffer[c1:c2] .= ((pred.eval .- data1d[i].val) ./ data1d[i].unc)
c1 = c2 + 1
end
return model.buffer
end
# ====================================================================
abstract type AbstractMinimizer end
using LsqFit
mutable struct lsqfit <: AbstractMinimizer
end
function minimize(minimizer::lsqfit, func::Function, params::Vector{Parameter})
ndata = length(func(getfield.(params, :val)))
bestfit = LsqFit.curve_fit((dummy, pvalues) -> func(pvalues),
1.:ndata, fill(0., ndata),
getfield.(params, :val),
lower=getfield.(params, :low),
upper=getfield.(params, :high))
status = :NonOptimal
(bestfit.converged) && (status = :Optimal)
error = LsqFit.margin_error(bestfit, 0.6827)
return (status, getfield.(Ref(bestfit), :param), error)
end
macro enable_CMPFit()
return esc(:(
import DataFitting.minimize;
mutable struct cmpfit <: DataFitting.AbstractMinimizer;
config::CMPFit.Config;
cmpfit() = new(CMPFit.Config());
end;
function minimize(minimizer::cmpfit, func::Function, params::Vector{DataFitting.Parameter});
guess = getfield.(params, :val);
low = getfield.(params, :low);
high = getfield.(params, :high);
parinfo = CMPFit.Parinfo(length(guess));
for i in 1:length(guess);
llow = isfinite(low[i]) ? 1 : 0;
lhigh = isfinite(high[i]) ? 1 : 0;
parinfo[i].limited = (llow, lhigh);
parinfo[i].limits = (low[i], high[i]);
end;
bestfit = CMPFit.cmpfit((pvalues) -> func(pvalues),
guess, parinfo=parinfo, config=minimizer.config);
return (:Optimal, getfield.(Ref(bestfit), :param), getfield.(Ref(bestfit), :perror));
end;
))
end
fit!(model::Model, data::T; kw...) where T<:AbstractMeasures =
fit!(model, [data]; kw...)
function fit!(model::Model, data::Vector{T};
minimizer=lsqfit()) where T<:AbstractMeasures
elapsedTime = Base.time_ns()
evaluate(model)
free = Vector{Bool}()
for (cpname, par) in model.params
push!(free, par.free && model.cfree[cpname[1]])
end
ifree = findall(free)
@assert length(ifree) > 0 "No free parameter in the model"
# Flatten empirical data
data1d = data1D(model, data)
# Evaluate normalized residuals starting from free parameter values
function pval2resid(pvalues_free::Vector{Float64})
model.pvalues[ifree] .= pvalues_free # update parameter values
quick_evaluate(model)
return residuals1d(model, data1d)
end
(status, best_val, best_unc) = minimize(minimizer, pval2resid,
collect(values(model.params))[ifree])
model.pvalues[ifree] .= best_val
setfield!.(values(model.params), :val, model.pvalues)
uncerts = fill(NaN, length(model.pvalues))
uncerts[ifree] .= best_unc
# Prepare output
quick_evaluate(model) # ensure best fit values are used
comps = OrderedDict{Symbol, BestFitComp}()
for cname in keys(model.comps)
comps[cname] = BestFitComp()
end
i = 1
for (cpname, par) in model.params
cname = cpname[1]
pname = cpname[2]
parid = cpname[3]
bfpar = BestFitPar(model.pvalues[i], uncerts[i],
(i in ifree), model.actual[i])
if parid == 0
comps[cname][pname] = bfpar
else
if parid == 1
comps[cname][pname] = [bfpar]
else
push!(comps[cname][pname], bfpar)
end
end
i += 1
end
cost = sum(abs2, model.buffer)
dof = length(model.buffer) - length(ifree)
result = BestFitResult(comps, length(model.buffer), dof, cost, status,
logccdf(Chisq(dof), cost) * log10(exp(1)),
float(Base.time_ns() - elapsedTime) / 1.e9)
return result
end
include("show.jl")
end
| [
21412,
6060,
37,
2535,
198,
198,
3500,
12578,
69,
11,
20090,
51,
2977,
198,
3500,
14370,
11,
46567,
507,
198,
3500,
6060,
44909,
942,
198,
3500,
406,
31166,
31805,
198,
198,
11748,
7308,
13,
14689,
0,
198,
11748,
7308,
13,
12860,
198,
11748,
7308,
13,
358,
12078,
198,
11748,
7308,
13,
7857,
198,
11748,
7308,
13,
13664,
198,
11748,
7308,
13,
1136,
9630,
198,
11748,
7308,
13,
3447,
1758,
198,
11748,
7308,
13,
26745,
14933,
198,
11748,
7308,
13,
1136,
26745,
198,
11748,
7308,
13,
1136,
9630,
198,
11748,
7308,
13,
2617,
9630,
0,
198,
11748,
7308,
13,
2676,
378,
628,
198,
39344,
20021,
11,
13690,
35610,
43961,
11,
45040,
11,
198,
220,
220,
220,
46690,
11,
9104,
11,
13446,
11,
1582,
9630,
11,
294,
707,
11,
16611,
11,
4197,
0,
628,
198,
17256,
7203,
27830,
13,
20362,
4943,
628,
198,
2,
38093,
18604,
198,
2,
25139,
2357,
198,
2,
198,
76,
18187,
2878,
25139,
2357,
198,
220,
220,
220,
1188,
3712,
43879,
2414,
198,
220,
220,
220,
1877,
3712,
43879,
2414,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2793,
4179,
1988,
198,
220,
220,
220,
1029,
3712,
43879,
2414,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6727,
4179,
1988,
198,
220,
220,
220,
2239,
3712,
43879,
2414,
198,
220,
220,
220,
1479,
3712,
33,
970,
198,
220,
220,
220,
25139,
2357,
7,
8367,
3712,
15057,
8,
796,
649,
7,
22468,
7,
8367,
828,
532,
18943,
11,
1343,
18943,
11,
11013,
45,
11,
2081,
8,
198,
437,
198,
198,
2,
38093,
18604,
198,
2,
317,
1635,
42895,
9,
318,
257,
14276,
7822,
286,
257,
39384,
636,
286,
257,
198,
2,
2746,
13,
198,
2,
198,
2,
317,
7515,
1276,
16955,
4600,
23839,
21950,
47671,
290,
3494,
262,
198,
2,
4600,
344,
2100,
62,
7890,
63,
290,
4600,
49786,
63,
5050,
198,
397,
8709,
2099,
27741,
21950,
886,
628,
198,
8818,
651,
37266,
7,
5589,
3712,
23839,
21950,
8,
198,
220,
220,
220,
42287,
796,
14230,
1068,
35,
713,
90,
51,
29291,
90,
13940,
23650,
11,
5317,
5512,
25139,
2357,
92,
3419,
198,
220,
220,
220,
329,
279,
3672,
287,
2214,
14933,
7,
4906,
1659,
7,
5589,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1582,
796,
651,
3245,
7,
5589,
11,
279,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
1845,
11,
25139,
2357,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
58,
7,
79,
3672,
11,
657,
15437,
796,
1582,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
318,
64,
7,
1845,
11,
20650,
90,
36301,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
13664,
7,
1845,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
58,
7,
79,
3672,
11,
1312,
15437,
796,
1582,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
42287,
198,
437,
198,
198,
2,
38093,
18604,
198,
2,
3082,
36,
2100,
25,
257,
29908,
329,
257,
7515,
16726,
319,
257,
2176,
7386,
198,
2,
198,
76,
18187,
2878,
3082,
36,
2100,
90,
21016,
296,
391,
1279,
25,
27741,
43961,
11,
309,
7293,
1279,
25,
27741,
21950,
92,
198,
220,
220,
220,
7386,
3712,
21016,
296,
391,
198,
220,
220,
220,
552,
3712,
4825,
3361,
198,
220,
220,
220,
42287,
3712,
35422,
1068,
35,
713,
90,
51,
29291,
90,
13940,
23650,
11,
5317,
5512,
25139,
2357,
92,
198,
220,
220,
220,
269,
7890,
198,
220,
220,
220,
3753,
3712,
5317,
198,
220,
220,
220,
938,
27160,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
5418,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
20966,
283,
3712,
38469,
90,
5317,
92,
220,
1303,
12118,
416,
9104,
628,
220,
220,
220,
2163,
3082,
36,
2100,
7,
27830,
3712,
23839,
43961,
11,
552,
3712,
23839,
21950,
8,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
651,
37266,
7,
5589,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
66,
7890,
11,
18896,
8,
796,
269,
18206,
62,
7890,
7,
27830,
11,
552,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
90,
4906,
1659,
7,
27830,
828,
2099,
1659,
7,
5589,
38165,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7386,
11,
552,
11,
42287,
11,
269,
7890,
11,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6070,
7,
26705,
45,
11,
4129,
7,
37266,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6070,
7,
26705,
45,
11,
18896,
828,
20650,
90,
5317,
92,
28955,
198,
220,
220,
220,
886,
198,
437,
628,
198,
2,
770,
318,
1444,
284,
4600,
19119,
63,
284,
15714,
340,
422,
7515,
338,
4600,
49786,
44646,
198,
19119,
7,
66,
3712,
7293,
36,
2100,
8,
796,
4296,
7,
66,
11,
685,
1845,
13,
2100,
329,
1582,
287,
3815,
7,
66,
13,
37266,
8,
12962,
198,
8818,
4296,
7,
66,
3712,
7293,
36,
2100,
11,
279,
27160,
3712,
38469,
90,
43879,
2414,
30072,
198,
220,
220,
220,
2488,
30493,
4129,
7,
66,
13,
37266,
8,
6624,
4129,
7,
79,
27160,
8,
628,
220,
220,
220,
1303,
2141,
356,
1682,
761,
257,
649,
12660,
30,
198,
220,
220,
220,
611,
357,
1092,
7,
66,
13,
12957,
27160,
764,
0,
28,
279,
27160,
8,
220,
8614,
220,
357,
66,
13,
24588,
6624,
657,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
269,
13,
12957,
27160,
764,
28,
279,
27160,
198,
220,
220,
220,
220,
220,
220,
220,
269,
13,
24588,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
477,
7,
13,
0,
271,
12647,
12195,
79,
27160,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
13446,
7,
66,
11,
279,
27160,
23029,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
269,
13,
18206,
198,
437,
628,
198,
2,
38093,
18604,
198,
2,
35100,
2121,
736,
5050,
198,
344,
2100,
62,
7890,
7,
27830,
3712,
23839,
43961,
11,
552,
3712,
23839,
21950,
8,
796,
198,
220,
220,
220,
4049,
7203,
21950,
366,
1635,
4731,
7,
4906,
1659,
7,
5589,
4008,
1635,
366,
1276,
3494,
663,
898,
2446,
329,
4600,
344,
2100,
62,
7890,
63,
19570,
198,
198,
49786,
7,
66,
3712,
7293,
36,
2100,
90,
21016,
296,
391,
11,
309,
7293,
5512,
26498,
23029,
810,
1391,
21016,
296,
391,
11,
309,
7293,
92,
796,
198,
220,
220,
220,
4049,
7203,
21950,
366,
1635,
4731,
7,
4825,
3361,
8,
1635,
366,
1276,
3494,
663,
898,
2446,
329,
4600,
49786,
63,
19570,
628,
198,
2,
38093,
18604,
198,
2,
28477,
12,
259,
6805,
198,
2,
198,
17256,
7203,
5589,
3906,
14,
3351,
282,
283,
22973,
13,
20362,
4943,
198,
17256,
7203,
5589,
3906,
14,
37,
19524,
54,
2416,
13,
20362,
4943,
198,
17256,
7203,
5589,
3906,
14,
34519,
11122,
3008,
13,
20362,
4943,
198,
17256,
7203,
5589,
3906,
14,
35389,
31562,
13,
20362,
4943,
628,
198,
2,
38093,
18604,
198,
2,
2547,
325,
257,
2836,
5447,
4645,
393,
22155,
284,
7925,
477,
198,
2,
6805,
198,
8818,
7925,
62,
5589,
3906,
7,
27971,
986,
26,
21231,
2625,
4943,
198,
220,
220,
220,
503,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
27741,
21950,
92,
3419,
198,
220,
220,
220,
329,
1517,
287,
1243,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
51,
722,
29568,
4906,
1659,
7,
1197,
4008,
220,
357,
40290,
796,
29568,
40290,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
1197,
11,
27741,
21950,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
32901,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
58,
13940,
23650,
7,
40290,
15437,
796,
1517,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
13664,
7,
40290,
8,
1875,
657,
8,
220,
11405,
220,
357,
40290,
1635,
28,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
1197,
11,
27741,
35,
713,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
3672,
11,
410,
8,
287,
1517,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
35,
713,
25,
6857,
832,
720,
3672,
7904,
29568,
4906,
1659,
7,
85,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
448,
11,
7925,
62,
5589,
3906,
7,
85,
26,
21231,
28,
40290,
1635,
4731,
7,
3672,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
318,
64,
7,
1197,
11,
39645,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
47,
958,
25,
29568,
1197,
58,
16,
46570,
29568,
4906,
1659,
7,
1197,
58,
17,
60,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
1197,
58,
16,
4357,
38357,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1517,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
796,
1517,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
64,
7,
85,
11,
7913,
8,
220,
11405,
220,
357,
85,
796,
34529,
283,
22973,
7,
85,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
85,
11,
27741,
21950,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
448,
11,
7925,
62,
5589,
3906,
7,
85,
26,
21231,
28,
40290,
1635,
4731,
7,
3672,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
318,
7249,
4906,
7,
4906,
1659,
7,
1197,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1438,
287,
2214,
14933,
7,
4906,
1659,
7,
1197,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
796,
651,
3245,
7,
1197,
11,
1438,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
1273,
5620,
25,
6857,
832,
720,
3672,
7904,
29568,
4906,
1659,
7,
85,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20121,
0,
7,
448,
11,
7925,
62,
5589,
3906,
7,
85,
26,
21231,
28,
40290,
1635,
4731,
7,
3672,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
503,
198,
437,
628,
198,
2,
38093,
18604,
198,
2,
317,
2746,
17724,
11080,
284,
307,
3688,
284,
11992,
1366,
198,
76,
18187,
2878,
46690,
198,
220,
220,
220,
7386,
3712,
23839,
43961,
198,
220,
220,
220,
269,
1990,
874,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
3082,
36,
2100,
92,
198,
220,
220,
220,
5418,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
4646,
62,
4480,
62,
11600,
3712,
33,
970,
198,
220,
220,
220,
2027,
2189,
3712,
38176,
90,
18465,
11,
15553,
92,
198,
220,
220,
220,
3753,
3712,
5317,
628,
220,
220,
220,
2163,
46690,
7,
27830,
3712,
23839,
43961,
11,
1243,
986,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21231,
2625,
1600,
4646,
28,
445,
7234,
8,
198,
220,
220,
220,
220,
220,
220,
220,
552,
82,
796,
7925,
62,
5589,
3906,
7,
27971,
986,
26,
21231,
28,
40290,
8,
198,
220,
220,
220,
220,
220,
220,
220,
269,
1990,
874,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
3082,
36,
2100,
92,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
3672,
11,
552,
8,
287,
552,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
1990,
874,
58,
3672,
60,
796,
3082,
36,
2100,
7,
27830,
11,
552,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
503,
796,
649,
7,
27830,
11,
269,
1990,
874,
11,
20650,
90,
43879,
2414,
92,
22784,
3991,
11,
4646,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13446,
7,
448,
8,
220,
1303,
16926,
46,
25,
318,
428,
3376,
30,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
503,
198,
220,
220,
220,
886,
198,
437,
198,
198,
2,
15161,
2027,
2189,
25,
751,
477,
6805,
198,
445,
7234,
7,
27830,
3712,
23839,
43961,
11,
26498,
23029,
796,
764,
33747,
22046,
23029,
198,
198,
2,
44048,
17724,
416,
19771,
1981,
6805,
198,
8818,
4646,
7,
28764,
3712,
39156,
2867,
8,
198,
220,
220,
220,
611,
2747,
13,
445,
7234,
62,
4480,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
288,
796,
360,
713,
26933,
7,
66,
3672,
11,
269,
18206,
13,
18206,
8,
329,
357,
66,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
2747,
13,
445,
48915,
7,
28764,
13,
27830,
11,
288,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
288,
796,
685,
344,
2100,
13,
18206,
329,
357,
66,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
60,
198,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
2747,
13,
445,
48915,
7,
28764,
13,
27830,
11,
288,
23029,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
4129,
7,
28764,
13,
18206,
8,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
28764,
13,
18206,
11,
44052,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2747,
13,
18206,
764,
28,
44052,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2747,
13,
24588,
15853,
352,
198,
437,
198,
198,
8818,
13446,
7,
28764,
3712,
39156,
2867,
8,
198,
220,
220,
220,
329,
357,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
7,
344,
2100,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
4646,
7,
28764,
8,
198,
437,
628,
198,
2,
38093,
18604,
198,
2,
8060,
2746,
11,
1682,
257,
4947,
286,
4600,
39156,
2867,
63,
82,
13,
198,
76,
18187,
2878,
9104,
198,
220,
220,
220,
2747,
82,
3712,
38469,
90,
39156,
2867,
92,
198,
220,
220,
220,
552,
82,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
27741,
21950,
92,
198,
220,
220,
220,
269,
5787,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
347,
970,
92,
198,
220,
220,
220,
42287,
3712,
35422,
1068,
35,
713,
90,
51,
29291,
90,
13940,
23650,
11,
38357,
11,
2558,
5512,
25139,
2357,
92,
198,
220,
220,
220,
279,
27160,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
4036,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
11876,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
220,
220,
636,
26084,
687,
3712,
22203,
198,
437,
198,
198,
8818,
9104,
7,
85,
3712,
38469,
90,
39156,
2867,
30072,
198,
220,
220,
220,
2746,
796,
9104,
7,
85,
11,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
27741,
21950,
92,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
347,
970,
92,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14230,
1068,
35,
713,
90,
51,
29291,
90,
13940,
23650,
11,
38357,
11,
2558,
5512,
25139,
2357,
92,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20650,
90,
43879,
2414,
92,
22784,
20650,
90,
43879,
2414,
92,
22784,
20650,
90,
43879,
2414,
92,
22784,
4277,
62,
3911,
26084,
687,
8,
198,
220,
220,
220,
13446,
7,
19849,
8,
198,
220,
220,
220,
1441,
2746,
198,
437,
198,
198,
17633,
7,
79,
3712,
39156,
2867,
8,
796,
9104,
26933,
79,
12962,
198,
17633,
7,
22046,
986,
26,
479,
86,
23029,
796,
9104,
7,
39156,
2867,
7,
22046,
986,
26,
479,
86,
986,
4008,
198,
198,
8818,
13446,
7,
19849,
3712,
17633,
8,
198,
220,
220,
220,
2488,
30493,
4129,
7,
19849,
13,
28764,
82,
8,
18189,
352,
628,
220,
220,
220,
1303,
12793,
1351,
286,
4271,
1479,
6805,
198,
220,
220,
220,
269,
5787,
796,
2769,
30073,
7,
19849,
13,
66,
5787,
8,
628,
220,
220,
220,
1303,
9745,
6805,
290,
10007,
198,
220,
220,
220,
6565,
0,
7,
19849,
13,
785,
862,
8,
198,
220,
220,
220,
6565,
0,
7,
19849,
13,
66,
5787,
8,
198,
220,
220,
220,
6565,
0,
7,
19849,
13,
37266,
8,
198,
220,
220,
220,
329,
2747,
287,
2746,
13,
28764,
82,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
66,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
785,
862,
58,
66,
3672,
60,
796,
269,
18206,
13,
5589,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
66,
5787,
58,
66,
3672,
60,
796,
651,
7,
66,
5787,
11,
269,
3672,
11,
2081,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
79,
3672,
11,
1582,
8,
287,
269,
18206,
13,
37266,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31396,
3672,
796,
357,
66,
3672,
11,
279,
3672,
58,
16,
4357,
279,
3672,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
37266,
58,
13155,
3672,
60,
796,
1582,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
8099,
5039,
3082,
36,
2100,
13,
541,
283,
290,
13446,
477,
16277,
198,
220,
220,
220,
299,
7890,
796,
657,
198,
220,
220,
220,
31396,
14933,
796,
8251,
7,
19849,
13,
37266,
8,
198,
220,
220,
220,
329,
2747,
287,
2746,
13,
28764,
82,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
66,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6565,
0,
7,
344,
2100,
13,
541,
283,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
79,
3672,
11,
1582,
8,
287,
269,
18206,
13,
37266,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31396,
3672,
796,
357,
66,
3672,
11,
279,
3672,
58,
16,
4357,
279,
3672,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
344,
2100,
13,
541,
283,
11,
1064,
11085,
7,
13155,
14933,
764,
855,
6524,
7,
13155,
3672,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4296,
7,
344,
2100,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
4646,
7,
28764,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
7890,
15853,
4129,
7,
28764,
13,
18206,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2746,
13,
79,
27160,
796,
685,
1845,
13,
2100,
329,
1582,
287,
3815,
7,
19849,
13,
37266,
15437,
198,
220,
220,
220,
2746,
13,
50039,
796,
2769,
30073,
7,
19849,
13,
79,
27160,
8,
198,
220,
220,
220,
2746,
13,
22252,
796,
20650,
90,
43879,
2414,
92,
7,
917,
891,
11,
299,
7890,
8,
198,
220,
220,
220,
2068,
62,
49786,
7,
19849,
8,
198,
220,
220,
220,
1441,
2746,
198,
437,
198,
198,
12286,
62,
3911,
26084,
687,
7,
19849,
3712,
17633,
11,
279,
27160,
3712,
38469,
90,
43879,
2414,
5512,
4036,
3712,
38469,
90,
43879,
2414,
30072,
796,
2147,
198,
198,
2,
770,
318,
4385,
284,
307,
1444,
422,
4600,
11147,
0,
47671,
407,
416,
2836,
198,
8818,
2068,
62,
49786,
7,
19849,
3712,
17633,
8,
198,
220,
220,
220,
2746,
13,
50039,
764,
28,
2746,
13,
79,
27160,
220,
1303,
4866,
477,
3815,
416,
4277,
198,
220,
220,
220,
2746,
13,
3911,
26084,
687,
7,
19849,
11,
2746,
13,
79,
27160,
11,
2746,
13,
50039,
8,
628,
220,
220,
220,
329,
2747,
287,
2746,
13,
28764,
82,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
66,
3672,
11,
269,
18206,
8,
287,
2747,
13,
344,
12786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4296,
7,
344,
2100,
11,
2746,
13,
50039,
58,
344,
2100,
13,
541,
283,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
329,
2747,
287,
2746,
13,
28764,
82,
198,
220,
220,
220,
220,
220,
220,
220,
4646,
7,
28764,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2147,
198,
437,
628,
198,
8818,
7308,
13,
14689,
0,
7,
76,
3712,
17633,
11,
279,
3712,
39156,
2867,
8,
198,
220,
220,
220,
4574,
0,
7,
76,
13,
28764,
82,
11,
279,
8,
198,
220,
220,
220,
13446,
7,
19849,
8,
198,
220,
220,
220,
1441,
2746,
198,
437,
198,
198,
14881,
13,
1136,
9630,
7,
76,
3712,
17633,
11,
1312,
3712,
5317,
8,
796,
285,
13,
28764,
82,
58,
72,
4083,
18206,
198,
14881,
13,
1136,
9630,
7,
76,
3712,
17633,
11,
269,
3672,
3712,
13940,
23650,
8,
796,
285,
13,
785,
862,
58,
66,
3672,
60,
198,
198,
1845,
9630,
7,
19849,
3712,
17633,
11,
269,
3672,
3712,
13940,
23650,
11,
279,
3672,
3712,
13940,
23650,
11,
1312,
3712,
5317,
28,
15,
8,
796,
198,
220,
220,
220,
1064,
11085,
7,
13083,
7,
19849,
13,
37266,
8,
764,
855,
6524,
19510,
66,
3672,
11,
279,
3672,
11,
1312,
22305,
198,
198,
8818,
16611,
7,
19849,
3712,
17633,
11,
269,
3672,
3712,
13940,
23650,
8,
198,
220,
220,
220,
2488,
30493,
269,
3672,
287,
8251,
7,
19849,
13,
66,
5787,
8,
366,
21950,
720,
66,
318,
407,
5447,
1,
198,
220,
220,
220,
2746,
13,
66,
5787,
58,
66,
3672,
60,
796,
3991,
198,
220,
220,
220,
2746,
198,
437,
198,
198,
8818,
294,
707,
7,
19849,
3712,
17633,
11,
269,
3672,
3712,
13940,
23650,
8,
198,
220,
220,
220,
2488,
30493,
269,
3672,
287,
8251,
7,
19849,
13,
66,
5787,
8,
366,
21950,
720,
66,
318,
407,
5447,
1,
198,
220,
220,
220,
2746,
13,
66,
5787,
58,
66,
3672,
60,
796,
2081,
198,
220,
220,
220,
2746,
198,
437,
198,
198,
2,
38093,
18604,
198,
2,
25048,
2482,
198,
2,
198,
7249,
6705,
31805,
10044,
198,
220,
220,
220,
1188,
3712,
43879,
2414,
198,
220,
220,
220,
4591,
3712,
43879,
2414,
198,
220,
220,
220,
1479,
3712,
33,
970,
198,
220,
220,
220,
42302,
3712,
43879,
2414,
220,
1303,
1988,
706,
13389,
198,
437,
198,
198,
7249,
6705,
31805,
7293,
198,
220,
220,
220,
42287,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
4479,
90,
13014,
31805,
10044,
11,
20650,
90,
13014,
31805,
10044,
42535,
198,
220,
220,
220,
6705,
31805,
7293,
3419,
796,
649,
7,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
4479,
90,
13014,
31805,
10044,
11,
20650,
90,
13014,
31805,
10044,
42535,
28955,
198,
437,
198,
198,
14881,
13,
26745,
14933,
7,
5589,
3712,
13014,
31805,
7293,
8,
796,
8251,
7,
1136,
3245,
7,
5589,
11,
1058,
37266,
4008,
198,
14881,
13,
1136,
26745,
7,
5589,
3712,
13014,
31805,
7293,
11,
279,
3712,
13940,
23650,
8,
796,
651,
3245,
7,
5589,
11,
1058,
37266,
38381,
79,
60,
198,
14881,
13,
1136,
9630,
7,
5589,
3712,
13014,
31805,
7293,
11,
279,
3712,
13940,
23650,
8,
796,
651,
3245,
7,
5589,
11,
1058,
37266,
38381,
79,
60,
198,
14881,
13,
13664,
7,
5589,
3712,
13014,
31805,
7293,
8,
796,
4129,
7,
1136,
3245,
7,
5589,
11,
1058,
37266,
4008,
198,
14881,
13,
2676,
378,
7,
5589,
3712,
13014,
31805,
7293,
11,
26498,
23029,
796,
11629,
378,
7,
1136,
3245,
7,
5589,
11,
1058,
37266,
828,
26498,
23029,
198,
14881,
13,
2617,
9630,
0,
7,
5589,
3712,
13014,
31805,
7293,
11,
2124,
11,
279,
3712,
13940,
23650,
8,
796,
651,
3245,
7,
5589,
11,
1058,
37266,
38381,
79,
60,
796,
2124,
628,
198,
7249,
6705,
31805,
23004,
198,
220,
220,
220,
552,
82,
3712,
35422,
1068,
35,
713,
90,
13940,
23650,
11,
6705,
31805,
7293,
92,
198,
220,
220,
220,
299,
7890,
3712,
5317,
198,
220,
220,
220,
466,
69,
3712,
5317,
198,
220,
220,
220,
1575,
3712,
43879,
2414,
198,
220,
220,
220,
3722,
3712,
13940,
23650,
220,
220,
220,
220,
220,
1303,
25,
27871,
4402,
11,
1058,
15419,
27871,
4402,
11,
1058,
54,
1501,
11,
1058,
12331,
198,
220,
220,
220,
2604,
940,
9288,
1676,
65,
3712,
43879,
2414,
198,
220,
220,
220,
42118,
3712,
43879,
2414,
198,
437,
198,
198,
14881,
13,
1136,
9630,
7,
411,
3712,
13014,
31805,
23004,
11,
269,
3672,
3712,
13940,
23650,
8,
796,
581,
13,
785,
862,
58,
66,
3672,
60,
198,
198,
2,
38093,
18604,
198,
8818,
1366,
16,
35,
7,
19849,
3712,
17633,
11,
1366,
3712,
38469,
90,
51,
30072,
810,
309,
27,
25,
23839,
5308,
13846,
198,
220,
220,
220,
503,
796,
20650,
90,
5308,
13846,
62,
16,
35,
92,
3419,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
13664,
7,
19849,
13,
28764,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2747,
796,
2746,
13,
28764,
82,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
7,
13664,
7,
7890,
58,
72,
12962,
6624,
4129,
7,
28764,
13,
18206,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24539,
286,
27039,
720,
72,
466,
407,
2872,
11188,
2746,
17724,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
448,
11,
27172,
268,
7,
7890,
58,
72,
4357,
2747,
13,
27830,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
503,
198,
437,
628,
198,
8818,
29598,
82,
16,
67,
7,
19849,
3712,
17633,
11,
1366,
16,
67,
3712,
38469,
90,
5308,
13846,
62,
16,
35,
30072,
198,
220,
220,
220,
269,
16,
796,
352,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
13664,
7,
19849,
13,
28764,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2747,
796,
2746,
13,
28764,
82,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
269,
17,
796,
269,
16,
1343,
4129,
7,
28764,
13,
18206,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
22252,
58,
66,
16,
25,
66,
17,
60,
764,
28,
14808,
28764,
13,
18206,
764,
12,
1366,
16,
67,
58,
72,
4083,
2100,
8,
24457,
1366,
16,
67,
58,
72,
4083,
19524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
269,
16,
796,
269,
17,
1343,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2746,
13,
22252,
198,
437,
628,
198,
2,
38093,
18604,
198,
397,
8709,
2099,
27741,
9452,
320,
7509,
886,
198,
198,
3500,
406,
31166,
31805,
198,
76,
18187,
2878,
300,
31166,
11147,
1279,
25,
27741,
9452,
320,
7509,
198,
437,
198,
198,
8818,
17775,
7,
1084,
320,
7509,
3712,
7278,
80,
11147,
11,
25439,
3712,
22203,
11,
42287,
3712,
38469,
90,
36301,
30072,
198,
220,
220,
220,
299,
7890,
796,
4129,
7,
20786,
7,
1136,
3245,
12195,
37266,
11,
1058,
2100,
22305,
198,
220,
220,
220,
1266,
11147,
796,
406,
31166,
31805,
13,
22019,
303,
62,
11147,
19510,
67,
13513,
11,
279,
27160,
8,
4613,
25439,
7,
79,
27160,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
11207,
358,
1045,
11,
6070,
7,
15,
1539,
299,
7890,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
3245,
12195,
37266,
11,
1058,
2100,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2793,
28,
1136,
3245,
12195,
37266,
11,
1058,
9319,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6727,
28,
1136,
3245,
12195,
37266,
11,
1058,
8929,
4008,
198,
220,
220,
220,
3722,
796,
1058,
15419,
27871,
4402,
198,
220,
220,
220,
357,
13466,
11147,
13,
1102,
332,
2004,
8,
220,
11405,
220,
357,
13376,
796,
1058,
27871,
4402,
8,
198,
220,
220,
220,
4049,
796,
406,
31166,
31805,
13,
36153,
62,
18224,
7,
13466,
11147,
11,
657,
13,
3104,
1983,
8,
198,
220,
220,
220,
1441,
357,
13376,
11,
651,
3245,
12195,
8134,
7,
13466,
11147,
828,
1058,
17143,
828,
4049,
8,
198,
437,
628,
198,
20285,
305,
7139,
62,
34,
7378,
31805,
3419,
198,
220,
220,
220,
1441,
3671,
7,
37498,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
6060,
37,
2535,
13,
1084,
48439,
26,
628,
220,
220,
220,
220,
220,
220,
220,
4517,
540,
2878,
269,
3149,
11147,
1279,
25,
6060,
37,
2535,
13,
23839,
9452,
320,
7509,
26,
198,
220,
220,
220,
220,
220,
220,
220,
4566,
3712,
34,
7378,
31805,
13,
16934,
26,
198,
220,
220,
220,
220,
220,
220,
220,
269,
3149,
11147,
3419,
796,
649,
7,
34,
7378,
31805,
13,
16934,
35430,
198,
220,
220,
220,
220,
220,
220,
220,
886,
26,
628,
220,
220,
220,
220,
220,
220,
220,
2163,
17775,
7,
1084,
320,
7509,
3712,
48991,
11147,
11,
25439,
3712,
22203,
11,
42287,
3712,
38469,
90,
6601,
37,
2535,
13,
36301,
22133,
198,
220,
220,
220,
220,
220,
220,
220,
4724,
796,
651,
3245,
12195,
37266,
11,
1058,
2100,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1877,
220,
220,
796,
651,
3245,
12195,
37266,
11,
1058,
9319,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1029,
220,
796,
651,
3245,
12195,
37266,
11,
1058,
8929,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1582,
10951,
796,
327,
7378,
31805,
13,
10044,
10951,
7,
13664,
7,
5162,
408,
18125,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
13664,
7,
5162,
408,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
32660,
322,
220,
796,
318,
69,
9504,
7,
9319,
58,
72,
12962,
220,
220,
5633,
220,
352,
220,
1058,
220,
657,
26,
198,
220,
220,
220,
220,
220,
220,
220,
300,
8929,
796,
318,
69,
9504,
7,
8929,
58,
72,
12962,
220,
5633,
220,
352,
220,
1058,
220,
657,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1582,
10951,
58,
72,
4083,
10698,
796,
357,
297,
322,
11,
300,
8929,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1582,
10951,
58,
72,
4083,
49196,
220,
796,
357,
9319,
58,
72,
4357,
1029,
58,
72,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
886,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1266,
11147,
796,
327,
7378,
31805,
13,
48991,
11147,
19510,
79,
27160,
8,
4613,
25439,
7,
79,
27160,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4724,
11,
1582,
10951,
28,
1845,
10951,
11,
4566,
28,
1084,
320,
7509,
13,
11250,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
25,
27871,
4402,
11,
651,
3245,
12195,
8134,
7,
13466,
11147,
828,
1058,
17143,
828,
651,
3245,
12195,
8134,
7,
13466,
11147,
828,
1058,
525,
1472,
18125,
198,
220,
220,
220,
220,
220,
220,
220,
886,
26,
198,
220,
220,
220,
15306,
198,
437,
628,
198,
198,
11147,
0,
7,
19849,
3712,
17633,
11,
1366,
3712,
51,
26,
479,
86,
23029,
810,
309,
27,
25,
23839,
5308,
13846,
796,
198,
220,
220,
220,
4197,
0,
7,
19849,
11,
685,
7890,
11208,
479,
86,
23029,
198,
198,
8818,
4197,
0,
7,
19849,
3712,
17633,
11,
1366,
3712,
38469,
90,
51,
19629,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10356,
7509,
28,
7278,
80,
11147,
28955,
810,
309,
27,
25,
23839,
5308,
13846,
198,
220,
220,
220,
42118,
7575,
796,
7308,
13,
2435,
62,
5907,
3419,
198,
220,
220,
220,
13446,
7,
19849,
8,
628,
220,
220,
220,
1479,
796,
20650,
90,
33,
970,
92,
3419,
198,
220,
220,
220,
329,
357,
13155,
3672,
11,
1582,
8,
287,
2746,
13,
37266,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
5787,
11,
1582,
13,
5787,
220,
11405,
220,
2746,
13,
66,
5787,
58,
13155,
3672,
58,
16,
11907,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
631,
796,
1064,
439,
7,
5787,
8,
198,
220,
220,
220,
2488,
30493,
4129,
7,
361,
631,
8,
1875,
657,
366,
2949,
1479,
11507,
287,
262,
2746,
1,
628,
220,
220,
220,
1303,
1610,
41769,
21594,
1366,
198,
220,
220,
220,
1366,
16,
67,
796,
1366,
16,
35,
7,
19849,
11,
1366,
8,
628,
220,
220,
220,
1303,
26439,
4985,
39279,
29598,
82,
3599,
422,
1479,
11507,
3815,
198,
220,
220,
220,
2163,
279,
2100,
17,
411,
312,
7,
79,
27160,
62,
5787,
3712,
38469,
90,
43879,
2414,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
79,
27160,
58,
361,
631,
60,
764,
28,
279,
27160,
62,
5787,
220,
1303,
4296,
11507,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
2068,
62,
49786,
7,
19849,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
29598,
82,
16,
67,
7,
19849,
11,
1366,
16,
67,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
357,
13376,
11,
1266,
62,
2100,
11,
1266,
62,
19524,
8,
796,
17775,
7,
1084,
320,
7509,
11,
279,
2100,
17,
411,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2824,
7,
27160,
7,
19849,
13,
37266,
4008,
58,
361,
631,
12962,
628,
220,
220,
220,
2746,
13,
79,
27160,
58,
361,
631,
60,
764,
28,
1266,
62,
2100,
198,
220,
220,
220,
900,
3245,
0,
12195,
27160,
7,
19849,
13,
37266,
828,
1058,
2100,
11,
2746,
13,
79,
27160,
8,
198,
220,
220,
220,
4591,
861,
82,
796,
6070,
7,
26705,
45,
11,
4129,
7,
19849,
13,
79,
27160,
4008,
198,
220,
220,
220,
4591,
861,
82,
58,
361,
631,
60,
764,
28,
1266,
62,
19524,
628,
220,
220,
220,
1303,
43426,
5072,
198,
220,
220,
220,
2068,
62,
49786,
7,
19849,
8,
220,
1303,
4155,
1266,
4197,
3815,
389,
973,
198,
220,
220,
220,
552,
82,
796,
14230,
1068,
35,
713,
90,
13940,
23650,
11,
6705,
31805,
7293,
92,
3419,
198,
220,
220,
220,
329,
269,
3672,
287,
8251,
7,
19849,
13,
785,
862,
8,
198,
220,
220,
220,
220,
220,
220,
220,
552,
82,
58,
66,
3672,
60,
796,
6705,
31805,
7293,
3419,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1312,
796,
352,
198,
220,
220,
220,
329,
357,
13155,
3672,
11,
1582,
8,
287,
2746,
13,
37266,
198,
220,
220,
220,
220,
220,
220,
220,
269,
3672,
796,
31396,
3672,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
279,
3672,
796,
31396,
3672,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1582,
312,
796,
31396,
3672,
58,
18,
60,
198,
220,
220,
220,
220,
220,
220,
220,
275,
69,
1845,
796,
6705,
31805,
10044,
7,
19849,
13,
79,
27160,
58,
72,
4357,
4591,
861,
82,
58,
72,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
72,
287,
611,
631,
828,
2746,
13,
50039,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1582,
312,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
552,
82,
58,
66,
3672,
7131,
79,
3672,
60,
796,
275,
69,
1845,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1582,
312,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
552,
82,
58,
66,
3672,
7131,
79,
3672,
60,
796,
685,
19881,
1845,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
785,
862,
58,
66,
3672,
7131,
79,
3672,
4357,
275,
69,
1845,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1575,
796,
2160,
7,
8937,
17,
11,
2746,
13,
22252,
8,
198,
220,
220,
220,
466,
69,
796,
4129,
7,
19849,
13,
22252,
8,
532,
4129,
7,
361,
631,
8,
628,
220,
220,
220,
1255,
796,
6705,
31805,
23004,
7,
785,
862,
11,
4129,
7,
19849,
13,
22252,
828,
466,
69,
11,
1575,
11,
3722,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
535,
7568,
7,
1925,
271,
80,
7,
67,
1659,
828,
1575,
8,
1635,
2604,
940,
7,
11201,
7,
16,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
14881,
13,
2435,
62,
5907,
3419,
532,
42118,
7575,
8,
1220,
352,
13,
68,
24,
8,
198,
220,
220,
220,
1441,
1255,
198,
437,
198,
198,
17256,
7203,
12860,
13,
20362,
4943,
198,
198,
437,
198
] | 2.3858 | 6,690 |
using DelimitedFiles, Plots
"""
`StrongField.plot( comps::Array{StrongField.Computation,1}, results::Array{Dict{String,Any},1}, energyScale::String = "atomic", probabilityScaling::String = "linear", dataLabel::String = "StrongFieldData" )`
... generates a graphical representation of the observable (StrongField.SfaEnergyDistribution, StrongField.SfaMomentumDistribution, StrongField.SfaAzimuthalAngularDistribution or StrongField.SfaPolarAngularDistribution) with the results of all computations comps combined in one plot.
- All comps.observable need to be equal!
- The probabilities for all comps need to be at the same grid points (either energies, momenta or angles)
- energyScale determines the scaling of the energy axis either in atomic units (energyScale = "atomic") or in units of hbar*omega (energyScale = "omega").
- The y-axis is scaled either linearly (probabilityScaling = "linear") or logarithmically (probabilityScaling = "log")
"""
function plot( comps::Array{StrongField.Computation,1}, results::Array{Dict{String,Any},1}, energyScale::String = "atomic", probabilityScaling::String = "linear", dataLabel::String = "StrongFieldData" )
#---Check if all observables are equal---
observable = typeof(comps[1].observable)
for comp in comps
if typeof(comp.observable) != observable
error("Unequal types of observables for data given to StrongField.plot().")
return nothing
end
end
#Define colors and linestyles for plot of SfaEnergyDistribution and SfaAngularDistribution
colors = [:black,:blue,:red,:green,:purple]
styles = filter((s->begin
s in Plots.supported_styles()
end), [:solid, :dash, :dot, :dashdot, :dashdotdot])
#---Photoelectron energy spectra---
if observable == StrongField.SfaEnergyDistribution
for k = 1:size(comps,1) #Loop over all comps
#prepare data and rescale the x-axis if neccessary
if energyScale == "atomic"
energyLabel = "E (a.u.)"
energies = results[k]["energy distribution"].energies
elseif energyScale == "omega"
energyLabel = "E/w"
energies = results[k]["energy distribution"].energies / comps[k].beam.omega
end
probabilities = results[k]["energy distribution"].probabilities
gr() #sets the plotting backend to the package "GR"
#set scaling of the y-axis
scaling = :identity
if probabilityScaling == "log"
scaling = :log10
end
#generate the plot
if k == 1 #initial plot generation
Plots.plot(energies, probabilities,
title = "Photoelectron energy spectrum",
xlabel = energyLabel,
ylabel = "P(E)",
xscale = :identity,
yscale = scaling,
framestyle = :box,
legend = :none,
#markershape = :circle,
#markershape = :none,
line = (2,styles[1]),
linecolor = colors[1],
gridlinewidth = 2,
tickfontsize = 10,
labelfontsize = 10,
labelfontfamily = "Latin Modern Roman",
titlefontfamily = "Latin Modern Roman"
)
else #add to the plot already generated for k = 1
Plots.plot!(energies, probabilities,
title = "Photoelectron energy spectrum",
xlabel = energyLabel,
ylabel = "P(E)",
xscale = :identity,
yscale = scaling,
framestyle = :box,
legend = :none,
#markershape = :circle,
#markershape = :none,
line = (2,styles[k]),
linecolor = colors[k],
gridlinewidth = 2,
tickfontsize = 10,
labelfontsize = 10,
labelfontfamily = "Latin Modern Roman",
titlefontfamily = "Latin Modern Roman"
)
end
end
#export the plot as png-file
savefig(dataLabel * "-energy_spectrum.pdf")
#-----------------------------------
#---Photoelectron momentum distributions - DOES NOT WORK YET---
elseif observable == StrongField.SfaMomentumDistribution
#prepare data
#pList = results["momentum distribution"].momenta
#probList = results["momentum distribution"].probabilities
#generate the plot
#pyplot()
#r = range(0,stop=10,length=11)
#theta = range(0,stop=360,length=361)
#f(r,theta) = r^2
#println("$(f.(r,theta'))")
#Plots.plot( heatmap( f.(r,theta'), proj=:polar ) )
#println("$(transpose(probList))")
#Plots.plot( heatmap( pList, transpose(probList), proj=:polar ) )
#imshow(pList,transpose(probList))
#probList = probList[2:-1]
#matplotlib.pyplot.pcolormesh(pList[:,1], pList[:,2], transpose(probList))
contourf( pList[:,1], pList[:,2], probList )
#matplotlib.pyplot.imshow(pList)
#heatmap( pList[:,1], pList[:,2], probList, proj=:polar, legend=true
#heatmap( probList
# )
#p = Plots.plot( #heatmap( pList[:,1], pList[:,2], probList
# Plots.GR.polarheatmap( probList
##heatmap( probList
# )
# )
#export the plot as png-file
#savefig(dataLabel * "-momentum_distribution.pdf")
#-----------------------------------------
#---Photoelectron angular distributions---
elseif observable == StrongField.SfaAzimuthalAngularDistribution || observable == StrongField.SfaPolarAngularDistribution
gr() #sets the plotting backend to the package "GR"
for k = 1:size(comps,1) #Loop over all comps
#prepare data
if observable == StrongField.SfaAzimuthalAngularDistribution
angleList = results[k]["angular distribution"].phis
plotTitle = "Photoelectron angular distribution (azimuthal)"
elseif observable == StrongField.SfaPolarAngularDistribution
angleList = results[k]["angular distribution"].thetas
plotTitle = "Photoelectron angular distribution (polar)"
end
probList = results[k]["angular distribution"].probabilities
lineLabel = ""
if energyScale == "atomic"
lineLabel = string( round( results[k]["angular distribution"].energy, digits = 2) ) * " a.u."
legendTitle = "Energy"
elseif energyScale == "omega"
lineLabel = string( round( results[k]["angular distribution"].energy / comps[k].beam.omega, digits = 1 ) ) * " w"
legendTitle = "Energy"
end
if k == 1 #initial plot generation
GR.polar(angleList, probList)
Plots.plot(angleList,probList,
title = plotTitle,
proj = :polar,
line = (2,styles[1]),
linecolor = colors[1],
labelfontfamily = "Latin Modern Roman",
titlefontfamily = "Latin Modern Roman",
gridlinewidth = 2,
tickfontsize = 10,
labelfontsize = 10,
label = lineLabel,
legendtitle = legendTitle,
legend = true
)
else
Plots.plot!(angleList,probList,
proj = :polar,
line = (2,styles[k]),
linecolor = colors[k],
gridlinewidth = 2,
tickfontsize = 10,
labelfontsize = 10,
label = lineLabel,
labelfontfamily = "Latin Modern Roman",
)
end
end
#export the plot as pdf-file
savefig(dataLabel * "-angular_distribution.pdf")
#-----------------------------------------
#---Not a valid obserable---
else
error("Undefined observable for strong-field computations in StrongField.plot().")
end
#---------------------------
end
"""
`StrongField.exportData( comps::Array{StrongField.Computation,1}, results::Array{Dict{String,Any},1}, dataLabel::String = "StrongFieldData" )`
... exports the results = [Array1 Array2 ...] returned by StrongField.perform with the StrongField computations comps = [computation1 computation2 ...]
into files with name dataLabel-dataType-1.csv, dataLabel-dataType-2.csv, ... where dataType = energy_distribution, azimuthal_angular_distribution, etc.
"""
function exportData( comps::Array{StrongField.Computation,1}, results::Array{Dict{String,Any},1}, dataLabel::String = "StrongFieldData" )
for j = 1:size(results)[1]
w = results[j]
if typeof(comps[j].observable) == StrongField.SfaEnergyDistribution
energyDistribution = w["energy distribution"]
writedlm(dataLabel * "-energy_distribution" * "-" * string(j) * ".csv",hcat(energyDistribution.energies,energyDistribution.probabilities))
elseif typeof(comps[j].observable) == StrongField.SfaMomentumDistribution
angularDistribution = w["momentum distribution"]
writedlm(dataLabel * "-momentum_distribution" * "-" * string(j) * ".csv",hcat(angularDistribution.phis,angularDistribution.probabilities))
elseif typeof(comps[j].observable) == StrongField.SfaAzimuthalAngularDistribution
angularDistribution = w["angular distribution"]
writedlm(dataLabel * "-azimuthal_angular_distribution" * "-" * string(j) * ".csv",hcat(angularDistribution.phis,angularDistribution.probabilities))
elseif typeof(comps[j].observable) == StrongField.SfaPolarAngularDistribution
angularDistribution = w["angular distribution"]
writedlm(dataLabel * "-polar_angular_distribution" * "-" * string(j) * ".csv",hcat(angularDistribution.phis,angularDistribution.probabilities))
end
end
end
#------------------------TEST: Plot the radial wave functions (JAC + hydrogenic)------------------------------------
"""
`StrongField.exportRadialWavefunctions( comps::Array{StrongField.Computation,1}, dataLabel::String = "StrongFieldData", savePlot::Bool = false )`
... exports the radial wave functions (initial state) = [Array1 Array2 ...] that are used in the StrongField computations comps = [computation1 computation2 ...]
into files with name dataLabel-radial_wavefunction-1.csv, dataLabel-radial_wavefunction-2.csv, etc.
- If savePlot == true, the wave functions are also plotted and exported into a single figure dataLabel-radial_wave_function.pdf
"""
function exportRadialWavefunctions( comps::Array{StrongField.Computation,1}, dataLabel::String = "StrongFieldData", savePlot::Bool = false )
minIonizationPotential = Float64
for k = 1:size(comps)[1]
#Extract the initial orbital of the active electron from the many-electron comp.initialLevel and set quantum numbers
initialOrbitals = comps[k].initialLevel.basis.orbitals
#Find highest lying orbital (smallest ionization potential)
defaultSubshell = [sh for (sh,or) in initialOrbitals][1] #This is not nice; must be a better way to simply get a default element from a Dict
o = initialOrbitals[defaultSubshell]
minIonizationPotential = abs(o.energy)
for (subshell,orbital) in initialOrbitals
if abs(orbital.energy) < minIonizationPotential
o = orbital
minIonizationPotential = abs(orbital.energy)
end
end
ls = LevelSymmetry(o.subshell)
n = o.subshell.n; l = Int((ls.J.num+1)/2); j = ls.J.num/2;
if (sign((-1)^l) == -1 && ls.parity == plus::Parity) || (sign((-1)^l) == 1 && ls.parity == minus::Parity)
l = l - 1
end
l = floor(Int,l)
if comps[k].settings.hydrogenic
if comps[k].settings.hydrogenic1s
P = StrongField.HydrogenPnl( o.energy, 1, 0, rGrid.r )
else
P = StrongField.HydrogenPnl( o.energy, n, l, rGrid.r )
end
else
P = o.P
end
writedlm(dataLabel * "-initial_radial_wavefunction" * string(k) * ".csv",hcat(comps[k].grid.r,P))
if savePlot
if k == 1
Plots.plot(comps[k].grid.r, P,
title = "Radial wave functions",
xlabel = "r (a.u.)",
ylabel = "P(r)",
markershape = :circle,
gridlinewidth = 2,
tickfontsize = 10,
labelfontsize = 10,
labelfontfamily = "Latin Modern Roman",
titlefontfamily = "Latin Modern Roman"
)
else
Plots.plot!(comps[k].grid.r, P)
end
end
end
if savePlot
savefig(dataLabel * "-initial_radial_wave_function.pdf")
end
end
#if false
# minIonizationPotential = 0.
#Extract the initial orbital of the active electron from the many-electron comp.initialLevel and set quantum numbers
# initialOrbitals = initialLevel.basis.orbitals
#Find highest lying orbital (smallest ionization potential)
# defaultSubshell = [sh for (sh,or) in initialOrbitals][1] #This is not nice; must be a better way to simply get a default element from a Dict
# o = initialOrbitals[defaultSubshell]
# minIonizationPotential = abs(o.energy)
# for (subshell,orbital) in initialOrbitals
# if abs(orbital.energy) < minIonizationPotential
# global o = orbital
# global minIonizationPotential = abs(orbital.energy)
# end
# end
# ls = LevelSymmetry(o.subshell)
# n = o.subshell.n; l = Int((ls.J.num+1)/2); j = ls.J.num/2;
#
# if (sign((-1)^l) == -1 && ls.parity == plus::Parity) || (sign((-1)^l) == 1 && ls.parity == minus::Parity)
# l = l - 1
# end
# l = floor(Int,l)
#
# hydrogenP = StrongField.HydrogenPnl( o.energy, n, l, rGrid.r )
#
# Plots.plot(rGrid.r, [o.P hydrogenP],
# title = "Radial wave function: n=" * string(n) * ", l=" * string(l) * ", Ip=" * string(round(convertUnits("energy: from atomic to eV", o.energy),digits=2)) * " eV",
# xlabel = "r (a.u.)",
# ylabel = "P(r)",
# markershape = :circle,
# gridlinewidth = 2,
# tickfontsize = 10,
# labelfontsize = 10,
# labelfontfamily = "Latin Modern Roman",
# titlefontfamily = "Latin Modern Roman",
# label = ["JAC" "Hydrogen"]
# )
#
# savefig("radial_wavefunction.pdf")
#
# writedlm(dataName * "-radial_wavefunction.csv",hcat(rGrid.r,o.P,hydrogenP))
#end
##-----------------------------------------------------------------------------------------------------------------------
#if false
#epsilonp=2*omega
#kappa =-1
#lp=0
#nrContinuum = Continuum.gridConsistency(epsilonp, rGrid)
#contSettings = Continuum.Settings(false, nrContinuum)
#contSettings = Continuum.Settings(false, rGrid.NoPoints)
#newiLevel = Basics.generateLevelWithSymmetryReducedBasis(initialLevel, initialLevel.basis.subshells)
#newfLevel = Basics.generateLevelWithSymmetryReducedBasis(finalLevel, newiLevel.basis.subshells)
#newiLevel = Basics.generateLevelWithExtraSubshell(Subshell(101, kappa), newiLevel)
#cOrbital, phase = Continuum.generateOrbitalForLevel(epsilonp, Subshell(101, kappa), newfLevel, nuclearModel, rGrid, contSettings)
#Plots.plot( rGrid.r[1:size(cOrbital.P)[1]], real(cOrbital.P * exp(im*phase)),
# title = "Radial wave function continuum",
# xlabel = "r (a.u.)",
# ylabel = "P(r)",
# markershape = :circle,
# gridlinewidth = 2,
# tickfontsize = 10,
# labelfontsize = 10,
# labelfontfamily = "Latin Modern Roman",
# titlefontfamily = "Latin Modern Roman"
# )
#
# Z=1.0
# cVolkov = StrongField.CoulombVolkovP( epsilonp, lp, Z, rGrid.r )
# Plots.plot!( rGrid.r, real(cVolkov) )
#
# savefig("radial_wavefunction_continuum.pdf")
#end
| [
3500,
4216,
320,
863,
25876,
11,
1345,
1747,
628,
198,
37811,
198,
63,
33004,
15878,
13,
29487,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
2482,
3712,
19182,
90,
35,
713,
90,
10100,
11,
7149,
5512,
16,
5512,
2568,
29990,
3712,
10100,
796,
366,
47116,
1600,
12867,
3351,
4272,
3712,
10100,
796,
366,
29127,
1600,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1,
1267,
63,
220,
220,
198,
220,
220,
220,
2644,
18616,
257,
27831,
10552,
286,
262,
42550,
357,
33004,
15878,
13,
50,
13331,
28925,
20344,
3890,
11,
13535,
15878,
13,
50,
13331,
29252,
298,
388,
20344,
3890,
11,
13535,
15878,
13,
50,
13331,
26903,
320,
1071,
282,
13450,
934,
20344,
3890,
393,
13535,
15878,
13,
50,
13331,
47,
6192,
13450,
934,
20344,
3890,
8,
351,
262,
2482,
286,
477,
2653,
602,
552,
82,
5929,
287,
530,
7110,
13,
220,
198,
220,
220,
220,
532,
1439,
552,
82,
13,
672,
3168,
540,
761,
284,
307,
4961,
0,
198,
220,
220,
220,
532,
383,
39522,
329,
477,
552,
82,
761,
284,
307,
379,
262,
976,
10706,
2173,
357,
31336,
27598,
11,
2589,
64,
393,
18333,
8,
198,
220,
220,
220,
532,
2568,
29990,
15947,
262,
20796,
286,
262,
2568,
16488,
2035,
287,
17226,
4991,
357,
22554,
29990,
796,
366,
47116,
4943,
393,
287,
4991,
286,
289,
5657,
9,
462,
4908,
357,
22554,
29990,
796,
366,
462,
4908,
11074,
198,
220,
220,
220,
532,
383,
331,
12,
22704,
318,
27464,
2035,
9493,
11458,
357,
1676,
65,
1799,
3351,
4272,
796,
366,
29127,
4943,
393,
2604,
283,
342,
76,
1146,
357,
1676,
65,
1799,
3351,
4272,
796,
366,
6404,
4943,
198,
37811,
198,
8818,
7110,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
2482,
3712,
19182,
90,
35,
713,
90,
10100,
11,
7149,
5512,
16,
5512,
2568,
29990,
3712,
10100,
796,
366,
47116,
1600,
12867,
3351,
4272,
3712,
10100,
796,
366,
29127,
1600,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1,
1267,
628,
220,
220,
220,
1303,
6329,
9787,
611,
477,
3799,
2977,
389,
4961,
6329,
198,
220,
220,
220,
42550,
796,
2099,
1659,
7,
785,
862,
58,
16,
4083,
672,
3168,
540,
8,
198,
220,
220,
220,
329,
552,
287,
552,
82,
198,
220,
220,
220,
220,
220,
220,
220,
611,
220,
2099,
1659,
7,
5589,
13,
672,
3168,
540,
8,
14512,
42550,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
52,
710,
13255,
3858,
286,
3799,
2977,
329,
1366,
1813,
284,
13535,
15878,
13,
29487,
3419,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
7469,
500,
7577,
290,
9493,
42530,
329,
7110,
286,
311,
13331,
28925,
20344,
3890,
290,
311,
13331,
13450,
934,
20344,
3890,
198,
220,
220,
220,
7577,
796,
685,
25,
13424,
11,
25,
17585,
11,
25,
445,
11,
25,
14809,
11,
25,
14225,
1154,
60,
198,
220,
220,
220,
12186,
796,
8106,
19510,
82,
3784,
27471,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
287,
1345,
1747,
13,
15999,
62,
47720,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
886,
828,
685,
25,
39390,
11,
1058,
42460,
11,
1058,
26518,
11,
1058,
42460,
26518,
11,
1058,
42460,
26518,
26518,
12962,
628,
220,
220,
220,
1303,
6329,
6191,
9509,
1313,
2568,
5444,
430,
6329,
198,
220,
220,
220,
611,
220,
42550,
6624,
13535,
15878,
13,
50,
13331,
28925,
20344,
3890,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
796,
352,
25,
7857,
7,
785,
862,
11,
16,
8,
1303,
39516,
625,
477,
552,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
46012,
533,
1366,
290,
6811,
1000,
262,
2124,
12,
22704,
611,
497,
1591,
560,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
2568,
29990,
6624,
366,
47116,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2568,
33986,
796,
366,
36,
357,
64,
13,
84,
2014,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27598,
796,
2482,
58,
74,
7131,
1,
22554,
6082,
1,
4083,
877,
70,
444,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
220,
2568,
29990,
6624,
366,
462,
4908,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2568,
33986,
796,
366,
36,
14,
86,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27598,
796,
2482,
58,
74,
7131,
1,
22554,
6082,
1,
4083,
877,
70,
444,
1220,
552,
82,
58,
74,
4083,
40045,
13,
462,
4908,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39522,
796,
2482,
58,
74,
7131,
1,
22554,
6082,
1,
4083,
1676,
65,
5738,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1036,
3419,
1303,
28709,
262,
29353,
30203,
284,
262,
5301,
366,
10761,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2617,
20796,
286,
262,
331,
12,
22704,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20796,
796,
1058,
738,
414,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
12867,
3351,
4272,
6624,
366,
6404,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20796,
796,
1058,
6404,
940,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8612,
378,
262,
7110,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
479,
6624,
352,
1303,
36733,
7110,
5270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
7,
877,
70,
444,
11,
39522,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
366,
6191,
9509,
1313,
2568,
10958,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
2568,
33986,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
47,
7,
36,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9888,
796,
1058,
738,
414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
9888,
796,
20796,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5346,
10992,
796,
1058,
3524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
796,
1058,
23108,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4102,
364,
71,
1758,
796,
1058,
45597,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4102,
364,
71,
1758,
796,
1058,
23108,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
357,
17,
11,
47720,
58,
16,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
8043,
796,
7577,
58,
16,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
220,
220,
220,
1303,
2860,
284,
262,
7110,
1541,
7560,
329,
479,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
0,
7,
877,
70,
444,
11,
39522,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
366,
6191,
9509,
1313,
2568,
10958,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
2568,
33986,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
47,
7,
36,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
9888,
796,
1058,
738,
414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
9888,
796,
20796,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5346,
10992,
796,
1058,
3524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
796,
1058,
23108,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4102,
364,
71,
1758,
796,
1058,
45597,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4102,
364,
71,
1758,
796,
1058,
23108,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
357,
17,
11,
47720,
58,
74,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
8043,
796,
7577,
58,
74,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
39344,
262,
7110,
355,
279,
782,
12,
7753,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
5647,
7,
7890,
33986,
1635,
27444,
22554,
62,
4443,
6582,
13,
12315,
4943,
198,
220,
220,
220,
1303,
3880,
6329,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
6329,
6191,
9509,
1313,
12858,
24570,
532,
38359,
5626,
30936,
575,
2767,
6329,
198,
220,
220,
220,
2073,
361,
220,
42550,
6624,
13535,
15878,
13,
50,
13331,
29252,
298,
388,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
46012,
533,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
79,
8053,
796,
2482,
14692,
32542,
298,
388,
6082,
1,
4083,
32542,
29188,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1676,
65,
8053,
796,
2482,
14692,
32542,
298,
388,
6082,
1,
4083,
1676,
65,
5738,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8612,
378,
262,
7110,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9078,
29487,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
81,
796,
2837,
7,
15,
11,
11338,
28,
940,
11,
13664,
28,
1157,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1169,
8326,
796,
2837,
7,
15,
11,
11338,
28,
15277,
11,
13664,
28,
35195,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
69,
7,
81,
11,
1169,
8326,
8,
796,
374,
61,
17,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
3,
7,
69,
12195,
81,
11,
1169,
8326,
6,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3646,
1747,
13,
29487,
7,
4894,
8899,
7,
277,
12195,
81,
11,
1169,
8326,
33809,
386,
73,
28,
25,
79,
6192,
1267,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7203,
3,
7,
7645,
3455,
7,
1676,
65,
8053,
4008,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3646,
1747,
13,
29487,
7,
4894,
8899,
7,
279,
8053,
11,
1007,
3455,
7,
1676,
65,
8053,
828,
386,
73,
28,
25,
79,
6192,
1267,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
320,
12860,
7,
79,
8053,
11,
7645,
3455,
7,
1676,
65,
8053,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1676,
65,
8053,
796,
1861,
8053,
58,
17,
21912,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6759,
29487,
8019,
13,
9078,
29487,
13,
79,
4033,
579,
5069,
7,
79,
8053,
58,
45299,
16,
4357,
279,
8053,
58,
45299,
17,
4357,
1007,
3455,
7,
1676,
65,
8053,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
542,
454,
69,
7,
279,
8053,
58,
45299,
16,
4357,
279,
8053,
58,
45299,
17,
4357,
1861,
8053,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6759,
29487,
8019,
13,
9078,
29487,
13,
320,
12860,
7,
79,
8053,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
25080,
8899,
7,
279,
8053,
58,
45299,
16,
4357,
279,
8053,
58,
45299,
17,
4357,
1861,
8053,
11,
386,
73,
28,
25,
79,
6192,
11,
8177,
28,
7942,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
25080,
8899,
7,
1861,
8053,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
79,
796,
1345,
1747,
13,
29487,
7,
1303,
25080,
8899,
7,
279,
8053,
58,
45299,
16,
4357,
279,
8053,
58,
45299,
17,
4357,
1861,
8053,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
10761,
13,
79,
6192,
25080,
8899,
7,
1861,
8053,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22492,
25080,
8899,
7,
1861,
8053,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
39344,
262,
7110,
355,
279,
782,
12,
7753,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21928,
5647,
7,
7890,
33986,
1635,
27444,
32542,
298,
388,
62,
17080,
3890,
13,
12315,
4943,
198,
220,
220,
220,
1303,
3880,
45537,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
6329,
6191,
9509,
1313,
32558,
24570,
6329,
198,
220,
220,
220,
2073,
361,
220,
42550,
6624,
13535,
15878,
13,
50,
13331,
26903,
320,
1071,
282,
13450,
934,
20344,
3890,
8614,
42550,
6624,
13535,
15878,
13,
50,
13331,
47,
6192,
13450,
934,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
1036,
3419,
1303,
28709,
262,
29353,
30203,
284,
262,
5301,
366,
10761,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
796,
352,
25,
7857,
7,
785,
862,
11,
16,
8,
1303,
39516,
625,
477,
552,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
46012,
533,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
42550,
6624,
13535,
15878,
13,
50,
13331,
26903,
320,
1071,
282,
13450,
934,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9848,
8053,
796,
2482,
58,
74,
7131,
1,
21413,
6082,
1,
4083,
18691,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7110,
19160,
796,
366,
6191,
9509,
1313,
32558,
6082,
357,
1031,
320,
1071,
282,
16725,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
42550,
6624,
13535,
15878,
13,
50,
13331,
47,
6192,
13450,
934,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9848,
8053,
796,
2482,
58,
74,
7131,
1,
21413,
6082,
1,
4083,
1169,
83,
292,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7110,
19160,
796,
366,
6191,
9509,
1313,
32558,
6082,
357,
79,
6192,
16725,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1861,
8053,
796,
2482,
58,
74,
7131,
1,
21413,
6082,
1,
4083,
1676,
65,
5738,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
33986,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2568,
29990,
6624,
366,
47116,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
33986,
796,
4731,
7,
2835,
7,
2482,
58,
74,
7131,
1,
21413,
6082,
1,
4083,
22554,
11,
19561,
796,
362,
8,
1267,
1635,
366,
257,
13,
84,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
19160,
796,
366,
28925,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2568,
29990,
6624,
366,
462,
4908,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
33986,
796,
4731,
7,
2835,
7,
2482,
58,
74,
7131,
1,
21413,
6082,
1,
4083,
22554,
1220,
552,
82,
58,
74,
4083,
40045,
13,
462,
4908,
11,
19561,
796,
352,
1267,
1267,
1635,
366,
266,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
19160,
796,
366,
28925,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
479,
6624,
352,
1303,
36733,
7110,
5270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10863,
13,
79,
6192,
7,
9248,
8053,
11,
1861,
8053,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
7,
9248,
8053,
11,
1676,
65,
8053,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
7110,
19160,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
1058,
79,
6192,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
357,
17,
11,
47720,
58,
16,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
8043,
796,
7577,
58,
16,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
1627,
33986,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
7839,
796,
8177,
19160,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
0,
7,
9248,
8053,
11,
1676,
65,
8053,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
1058,
79,
6192,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
357,
17,
11,
47720,
58,
74,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
8043,
796,
7577,
58,
74,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
1627,
33986,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
39344,
262,
7110,
355,
37124,
12,
7753,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
5647,
7,
7890,
33986,
1635,
27444,
21413,
62,
17080,
3890,
13,
12315,
4943,
198,
220,
220,
220,
1303,
3880,
45537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
6329,
3673,
257,
4938,
7961,
540,
6329,
198,
220,
220,
220,
2073,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
31319,
18156,
42550,
329,
1913,
12,
3245,
2653,
602,
287,
13535,
15878,
13,
29487,
3419,
19570,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
22369,
6329,
198,
198,
437,
628,
628,
198,
37811,
198,
63,
33004,
15878,
13,
39344,
6601,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
2482,
3712,
19182,
90,
35,
713,
90,
10100,
11,
7149,
5512,
16,
5512,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1,
1267,
63,
198,
220,
220,
220,
2644,
15319,
262,
2482,
796,
685,
19182,
16,
15690,
17,
2644,
60,
4504,
416,
13535,
15878,
13,
525,
687,
351,
262,
13535,
15878,
2653,
602,
552,
82,
796,
685,
785,
1996,
341,
16,
29964,
17,
2644,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
656,
3696,
351,
1438,
1366,
33986,
12,
7890,
6030,
12,
16,
13,
40664,
11,
1366,
33986,
12,
7890,
6030,
12,
17,
13,
40664,
11,
2644,
810,
1366,
6030,
796,
2568,
62,
17080,
3890,
11,
35560,
320,
1071,
282,
62,
21413,
62,
17080,
3890,
11,
3503,
13,
198,
37811,
198,
8818,
10784,
6601,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
2482,
3712,
19182,
90,
35,
713,
90,
10100,
11,
7149,
5512,
16,
5512,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1,
1267,
198,
220,
220,
220,
329,
474,
796,
352,
25,
7857,
7,
43420,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
266,
796,
2482,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2099,
1659,
7,
785,
862,
58,
73,
4083,
672,
3168,
540,
8,
6624,
13535,
15878,
13,
50,
13331,
28925,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2568,
20344,
3890,
796,
266,
14692,
22554,
6082,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
33986,
1635,
27444,
22554,
62,
17080,
3890,
1,
1635,
366,
21215,
1635,
4731,
7,
73,
8,
1635,
27071,
40664,
1600,
71,
9246,
7,
22554,
20344,
3890,
13,
877,
70,
444,
11,
22554,
20344,
3890,
13,
1676,
65,
5738,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2099,
1659,
7,
785,
862,
58,
73,
4083,
672,
3168,
540,
8,
6624,
13535,
15878,
13,
50,
13331,
29252,
298,
388,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32558,
20344,
3890,
796,
266,
14692,
32542,
298,
388,
6082,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
33986,
1635,
27444,
32542,
298,
388,
62,
17080,
3890,
1,
1635,
366,
21215,
1635,
4731,
7,
73,
8,
1635,
27071,
40664,
1600,
71,
9246,
7,
21413,
20344,
3890,
13,
18691,
11,
21413,
20344,
3890,
13,
1676,
65,
5738,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2099,
1659,
7,
785,
862,
58,
73,
4083,
672,
3168,
540,
8,
6624,
13535,
15878,
13,
50,
13331,
26903,
320,
1071,
282,
13450,
934,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32558,
20344,
3890,
796,
266,
14692,
21413,
6082,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
33986,
1635,
27444,
1031,
320,
1071,
282,
62,
21413,
62,
17080,
3890,
1,
1635,
366,
21215,
1635,
4731,
7,
73,
8,
1635,
27071,
40664,
1600,
71,
9246,
7,
21413,
20344,
3890,
13,
18691,
11,
21413,
20344,
3890,
13,
1676,
65,
5738,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2099,
1659,
7,
785,
862,
58,
73,
4083,
672,
3168,
540,
8,
6624,
13535,
15878,
13,
50,
13331,
47,
6192,
13450,
934,
20344,
3890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32558,
20344,
3890,
796,
266,
14692,
21413,
6082,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
33986,
1635,
27444,
79,
6192,
62,
21413,
62,
17080,
3890,
1,
1635,
366,
21215,
1635,
4731,
7,
73,
8,
1635,
27071,
40664,
1600,
71,
9246,
7,
21413,
20344,
3890,
13,
18691,
11,
21413,
20344,
3890,
13,
1676,
65,
5738,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
628,
628,
628,
198,
2,
22369,
51,
6465,
25,
28114,
262,
44503,
6769,
5499,
357,
41,
2246,
1343,
17669,
291,
8,
3880,
650,
198,
37811,
198,
63,
33004,
15878,
13,
39344,
15546,
498,
39709,
12543,
2733,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1600,
3613,
43328,
3712,
33,
970,
796,
3991,
1267,
63,
198,
220,
220,
220,
2644,
15319,
262,
44503,
6769,
5499,
357,
36733,
1181,
8,
796,
685,
19182,
16,
15690,
17,
2644,
60,
326,
389,
973,
287,
262,
13535,
15878,
2653,
602,
552,
82,
796,
685,
785,
1996,
341,
16,
29964,
17,
2644,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
656,
3696,
351,
1438,
1366,
33986,
12,
6335,
498,
62,
19204,
8818,
12,
16,
13,
40664,
11,
1366,
33986,
12,
6335,
498,
62,
19204,
8818,
12,
17,
13,
40664,
11,
3503,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1002,
3613,
43328,
6624,
2081,
11,
262,
6769,
5499,
389,
635,
37515,
290,
29050,
656,
257,
2060,
3785,
1366,
33986,
12,
6335,
498,
62,
19204,
62,
8818,
13,
12315,
198,
37811,
198,
8818,
10784,
15546,
498,
39709,
12543,
2733,
7,
552,
82,
3712,
19182,
90,
33004,
15878,
13,
5377,
1996,
341,
11,
16,
5512,
1366,
33986,
3712,
10100,
796,
366,
33004,
15878,
6601,
1600,
3613,
43328,
3712,
33,
970,
796,
3991,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
949,
40,
261,
1634,
25396,
1843,
796,
48436,
2414,
628,
220,
220,
220,
220,
220,
220,
220,
329,
479,
796,
352,
25,
7857,
7,
785,
862,
38381,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11627,
974,
262,
4238,
32362,
286,
262,
4075,
11538,
422,
262,
867,
12,
9509,
1313,
552,
13,
36733,
4971,
290,
900,
14821,
3146,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
5574,
2545,
874,
796,
552,
82,
58,
74,
4083,
36733,
4971,
13,
12093,
271,
13,
42594,
874,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16742,
4511,
9105,
32362,
357,
17470,
395,
22088,
1634,
2785,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
7004,
29149,
796,
685,
1477,
329,
357,
1477,
11,
273,
8,
287,
4238,
5574,
2545,
874,
7131,
16,
60,
1303,
1212,
318,
407,
3621,
26,
1276,
307,
257,
1365,
835,
284,
2391,
651,
257,
4277,
5002,
422,
257,
360,
713,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
796,
4238,
5574,
2545,
874,
58,
12286,
7004,
29149,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
40,
261,
1634,
25396,
1843,
796,
2352,
7,
78,
13,
22554,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
7266,
29149,
11,
27688,
1287,
8,
287,
4238,
5574,
2545,
874,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
220,
2352,
7,
27688,
1287,
13,
22554,
8,
1279,
949,
40,
261,
1634,
25396,
1843,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
796,
32362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
40,
261,
1634,
25396,
1843,
796,
2352,
7,
27688,
1287,
13,
22554,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43979,
796,
5684,
13940,
3020,
11973,
7,
78,
13,
7266,
29149,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
267,
13,
7266,
29149,
13,
77,
26,
220,
220,
220,
220,
220,
300,
796,
2558,
19510,
7278,
13,
41,
13,
22510,
10,
16,
20679,
17,
1776,
220,
220,
220,
474,
796,
43979,
13,
41,
13,
22510,
14,
17,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
357,
12683,
19510,
12,
16,
8,
61,
75,
8,
6624,
532,
16,
11405,
43979,
13,
1845,
414,
6624,
5556,
3712,
47,
6806,
8,
8614,
357,
12683,
19510,
12,
16,
8,
61,
75,
8,
6624,
352,
11405,
43979,
13,
1845,
414,
6624,
20208,
3712,
47,
6806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
796,
300,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
796,
4314,
7,
5317,
11,
75,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
220,
552,
82,
58,
74,
4083,
33692,
13,
15511,
8648,
291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
552,
82,
58,
74,
4083,
33692,
13,
15511,
8648,
291,
16,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
796,
13535,
15878,
13,
40436,
8648,
47,
21283,
7,
267,
13,
22554,
11,
352,
11,
657,
11,
374,
41339,
13,
81,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
796,
13535,
15878,
13,
40436,
8648,
47,
21283,
7,
267,
13,
22554,
11,
299,
11,
300,
11,
374,
41339,
13,
81,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
796,
267,
13,
47,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
33986,
1635,
27444,
36733,
62,
6335,
498,
62,
19204,
8818,
1,
1635,
4731,
7,
74,
8,
1635,
27071,
40664,
1600,
71,
9246,
7,
785,
862,
58,
74,
4083,
25928,
13,
81,
11,
47,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3613,
43328,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
7,
785,
862,
58,
74,
4083,
25928,
13,
81,
11,
350,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
366,
15546,
498,
6769,
5499,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
366,
81,
357,
64,
13,
84,
2014,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
47,
7,
81,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19736,
71,
1758,
796,
1058,
45597,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
0,
7,
785,
862,
58,
74,
4083,
25928,
13,
81,
11,
350,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3613,
43328,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3613,
5647,
7,
7890,
33986,
1635,
27444,
36733,
62,
6335,
498,
62,
19204,
62,
8818,
13,
12315,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
437,
628,
198,
2,
361,
3991,
198,
2,
220,
220,
220,
949,
40,
261,
1634,
25396,
1843,
796,
657,
13,
198,
220,
220,
220,
1303,
11627,
974,
262,
4238,
32362,
286,
262,
4075,
11538,
422,
262,
867,
12,
9509,
1313,
552,
13,
36733,
4971,
290,
900,
14821,
3146,
198,
2,
220,
220,
220,
4238,
5574,
2545,
874,
796,
4238,
4971,
13,
12093,
271,
13,
42594,
874,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
16742,
4511,
9105,
32362,
357,
17470,
395,
22088,
1634,
2785,
8,
198,
2,
220,
220,
220,
4277,
7004,
29149,
796,
685,
1477,
329,
357,
1477,
11,
273,
8,
287,
4238,
5574,
2545,
874,
7131,
16,
60,
1303,
1212,
318,
407,
3621,
26,
1276,
307,
257,
1365,
835,
284,
2391,
651,
257,
4277,
5002,
422,
257,
360,
713,
198,
2,
220,
220,
220,
267,
796,
4238,
5574,
2545,
874,
58,
12286,
7004,
29149,
60,
198,
2,
220,
220,
220,
949,
40,
261,
1634,
25396,
1843,
796,
2352,
7,
78,
13,
22554,
8,
198,
2,
220,
220,
220,
329,
357,
7266,
29149,
11,
27688,
1287,
8,
287,
4238,
5574,
2545,
874,
198,
2,
220,
220,
220,
220,
220,
220,
220,
611,
220,
220,
2352,
7,
27688,
1287,
13,
22554,
8,
1279,
949,
40,
261,
1634,
25396,
1843,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3298,
267,
796,
32362,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3298,
949,
40,
261,
1634,
25396,
1843,
796,
2352,
7,
27688,
1287,
13,
22554,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
886,
198,
2,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
2,
220,
220,
220,
43979,
796,
5684,
13940,
3020,
11973,
7,
78,
13,
7266,
29149,
8,
198,
2,
220,
220,
220,
299,
796,
267,
13,
7266,
29149,
13,
77,
26,
220,
220,
220,
220,
220,
300,
796,
2558,
19510,
7278,
13,
41,
13,
22510,
10,
16,
20679,
17,
1776,
220,
220,
220,
474,
796,
43979,
13,
41,
13,
22510,
14,
17,
26,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
611,
220,
357,
12683,
19510,
12,
16,
8,
61,
75,
8,
6624,
532,
16,
11405,
43979,
13,
1845,
414,
6624,
5556,
3712,
47,
6806,
8,
8614,
357,
12683,
19510,
12,
16,
8,
61,
75,
8,
6624,
352,
11405,
43979,
13,
1845,
414,
6624,
20208,
3712,
47,
6806,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
300,
796,
300,
532,
352,
198,
2,
220,
220,
220,
886,
198,
2,
220,
220,
220,
300,
796,
4314,
7,
5317,
11,
75,
8,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
17669,
47,
796,
13535,
15878,
13,
40436,
8648,
47,
21283,
7,
267,
13,
22554,
11,
299,
11,
300,
11,
374,
41339,
13,
81,
1267,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1345,
1747,
13,
29487,
7,
81,
41339,
13,
81,
11,
685,
78,
13,
47,
17669,
47,
4357,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
366,
15546,
498,
6769,
2163,
25,
299,
2625,
1635,
4731,
7,
77,
8,
1635,
33172,
300,
2625,
1635,
4731,
7,
75,
8,
1635,
33172,
314,
79,
2625,
1635,
4731,
7,
744,
7,
1102,
1851,
3118,
896,
7203,
22554,
25,
422,
17226,
284,
304,
53,
1600,
267,
13,
22554,
828,
12894,
896,
28,
17,
4008,
1635,
366,
304,
53,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
366,
81,
357,
64,
13,
84,
2014,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
47,
7,
81,
42501,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19736,
71,
1758,
796,
1058,
45597,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
14631,
41,
2246,
1,
366,
40436,
8648,
8973,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
3613,
5647,
7203,
6335,
498,
62,
19204,
8818,
13,
12315,
4943,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1991,
276,
75,
76,
7,
7890,
5376,
1635,
27444,
6335,
498,
62,
19204,
8818,
13,
40664,
1600,
71,
9246,
7,
81,
41339,
13,
81,
11,
78,
13,
47,
11,
15511,
8648,
47,
4008,
198,
2,
437,
198,
2235,
10097,
3880,
19351,
6329,
628,
198,
2,
361,
3991,
198,
2,
538,
18217,
261,
79,
28,
17,
9,
462,
4908,
198,
2,
74,
20975,
796,
12,
16,
198,
2,
34431,
28,
15,
198,
198,
2,
48624,
17875,
13814,
796,
6389,
13814,
13,
25928,
9444,
396,
1387,
7,
538,
18217,
261,
79,
11,
374,
41339,
8,
198,
2,
3642,
26232,
796,
6389,
13814,
13,
26232,
7,
9562,
11,
299,
81,
17875,
13814,
8,
198,
2,
3642,
26232,
796,
6389,
13814,
13,
26232,
7,
9562,
11,
374,
41339,
13,
2949,
40710,
8,
198,
198,
2,
3605,
72,
4971,
796,
45884,
13,
8612,
378,
4971,
3152,
13940,
3020,
11973,
7738,
19513,
15522,
271,
7,
36733,
4971,
11,
4238,
4971,
13,
12093,
271,
13,
7266,
29149,
82,
8,
198,
2,
3605,
69,
4971,
796,
45884,
13,
8612,
378,
4971,
3152,
13940,
3020,
11973,
7738,
19513,
15522,
271,
7,
20311,
4971,
11,
649,
72,
4971,
13,
12093,
271,
13,
7266,
29149,
82,
8,
198,
2,
3605,
72,
4971,
796,
45884,
13,
8612,
378,
4971,
3152,
27726,
7004,
29149,
7,
7004,
29149,
7,
8784,
11,
479,
20975,
828,
649,
72,
4971,
8,
198,
2,
66,
5574,
65,
1287,
11,
7108,
220,
796,
6389,
13814,
13,
8612,
378,
5574,
65,
1287,
1890,
4971,
7,
538,
18217,
261,
79,
11,
3834,
29149,
7,
8784,
11,
479,
20975,
828,
649,
69,
4971,
11,
4523,
17633,
11,
374,
41339,
11,
542,
26232,
8,
628,
220,
220,
220,
220,
198,
2,
3646,
1747,
13,
29487,
7,
374,
41339,
13,
81,
58,
16,
25,
7857,
7,
66,
5574,
65,
1287,
13,
47,
38381,
16,
60,
4357,
1103,
7,
66,
5574,
65,
1287,
13,
47,
1635,
1033,
7,
320,
9,
40715,
36911,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
366,
15546,
498,
6769,
2163,
44422,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
366,
81,
357,
64,
13,
84,
2014,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
47,
7,
81,
42501,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19736,
71,
1758,
796,
1058,
45597,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10706,
2815,
413,
5649,
796,
362,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4378,
10331,
7857,
796,
838,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
7857,
796,
838,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
10331,
17989,
796,
366,
49022,
12495,
7993,
1600,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
10331,
17989,
796,
366,
49022,
12495,
7993,
1,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
1168,
28,
16,
13,
15,
198,
2,
220,
220,
220,
269,
53,
13597,
709,
796,
13535,
15878,
13,
34,
2852,
2381,
53,
13597,
709,
47,
7,
304,
862,
33576,
79,
11,
300,
79,
11,
1168,
11,
374,
41339,
13,
81,
1267,
198,
2,
220,
220,
220,
1345,
1747,
13,
29487,
0,
7,
374,
41339,
13,
81,
11,
1103,
7,
66,
53,
13597,
709,
8,
1267,
198,
2,
220,
220,
220,
220,
198,
2,
220,
220,
220,
3613,
5647,
7203,
6335,
498,
62,
19204,
8818,
62,
18487,
13814,
13,
12315,
4943,
628,
198,
2,
437,
628,
628
] | 1.954741 | 9,523 |
# THIS IS NOT A FULL JAVA WRAPPER!
# Even though the name seems to imply it, it only provides some convenience
# definitions for use in the MOI wrapper.
## Type definitions
# These correspond to Java types (which are directly returned by the functions
# in this binder). In particular, the inheritance defined in Java is not brought
# back to Julia.
const Store = JavaObject{Symbol("org.jacop.core.Store")}
const BooleanVar = JavaObject{Symbol("org.jacop.core.BooleanVar")}
const IntVar = JavaObject{Symbol("org.jacop.core.IntVar")}
const SetVar = JavaObject{Symbol("org.jacop.set.core.SetVar")}
const FloatVar = JavaObject{Symbol("org.jacop.floats.core.FloatVar")}
const CircuitVar = JavaObject{Symbol("org.jacop.constraints.CircuitVar")}
const Constraint = JavaObject{Symbol("org.jacop.constraints.Constraint")}
const LinearInt = JavaObject{Symbol("org.jacop.constraints.LinearInt")}
const Alldifferent = JavaObject{Symbol("org.jacop.constraints.Alldifferent")}
const In = JavaObject{Symbol("org.jacop.constraints.In")}
const XeqC = JavaObject{Symbol("org.jacop.constraints.XeqC")}
# Unions of types to model Java type hierarchy.
const Variable = Union{
BooleanVar,
IntVar,
SetVar,
FloatVar,
CircuitVar,
}
# Add a constraint to a store.
function jacop_add_constraint_to_store(store::Store, constraint::Constraint)
jcall(store, "impose", Nothing, (Constraint,), constraint)
return
end
| [
2,
12680,
3180,
5626,
317,
34958,
449,
10116,
32,
11342,
2969,
18973,
0,
198,
2,
3412,
996,
262,
1438,
2331,
284,
20135,
340,
11,
340,
691,
3769,
617,
15607,
198,
2,
17336,
329,
779,
287,
262,
13070,
40,
29908,
13,
198,
198,
2235,
5994,
17336,
198,
2,
2312,
6053,
284,
7349,
3858,
357,
4758,
389,
3264,
4504,
416,
262,
5499,
198,
2,
287,
428,
275,
5540,
737,
554,
1948,
11,
262,
24155,
5447,
287,
7349,
318,
407,
3181,
198,
2,
736,
284,
22300,
13,
198,
9979,
9363,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
7295,
13,
22658,
4943,
92,
198,
198,
9979,
41146,
19852,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
7295,
13,
46120,
13087,
19852,
4943,
92,
198,
9979,
2558,
19852,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
7295,
13,
5317,
19852,
4943,
92,
198,
9979,
5345,
19852,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
2617,
13,
7295,
13,
7248,
19852,
4943,
92,
198,
9979,
48436,
19852,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
48679,
1381,
13,
7295,
13,
43879,
19852,
4943,
92,
198,
9979,
13588,
19852,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
31560,
5013,
19852,
4943,
92,
198,
198,
9979,
1482,
2536,
2913,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
3103,
2536,
2913,
4943,
92,
198,
9979,
44800,
5317,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
14993,
451,
5317,
4943,
92,
198,
9979,
1439,
39799,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
3237,
39799,
4943,
92,
198,
9979,
554,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
818,
4943,
92,
198,
9979,
1395,
27363,
34,
796,
7349,
10267,
90,
13940,
23650,
7203,
2398,
13,
30482,
404,
13,
1102,
2536,
6003,
13,
55,
27363,
34,
4943,
92,
198,
198,
2,
791,
507,
286,
3858,
284,
2746,
7349,
2099,
18911,
13,
198,
198,
9979,
35748,
796,
4479,
90,
198,
220,
220,
220,
41146,
19852,
11,
198,
220,
220,
220,
2558,
19852,
11,
198,
220,
220,
220,
5345,
19852,
11,
198,
220,
220,
220,
48436,
19852,
11,
198,
220,
220,
220,
13588,
19852,
11,
198,
92,
198,
198,
2,
3060,
257,
32315,
284,
257,
3650,
13,
198,
198,
8818,
474,
330,
404,
62,
2860,
62,
1102,
2536,
2913,
62,
1462,
62,
8095,
7,
8095,
3712,
22658,
11,
32315,
3712,
3103,
2536,
2913,
8,
198,
220,
220,
220,
474,
13345,
7,
8095,
11,
366,
320,
3455,
1600,
10528,
11,
357,
3103,
2536,
2913,
11,
828,
32315,
8,
198,
220,
220,
220,
1441,
198,
437,
198
] | 3.004228 | 473 |
export Model
"""
abstract type Model end
Abstract type for the representation of a physical model for which calculations can be performed.
Needs to be implemented system-specifically, in particular the following functions need to be defined: (for now)
- the one-particle matrix element, `energy(::Model, ::Orbital)`
- the two-particle matrix element, `w(::Model, ::Orbital, ::Orbital, ::Orbital, ::Orbital)`
"""
abstract type Model end
function energy(m::Model, o::Orbital)
error("missing implementation of energy(::$(typeof(m)), ::$(typeof(o)))")
end
function w(m::Model, o1::Orbital, o2::Orbital, o3::Orbital, o4::Orbital)
error("missing implementation of w(::$(typeof(m)), ::$(typeof(o1)), ::$(typeof(o2)))")
end
@doc raw"""
wminus(::Model, i,j,k,l)
return the difference of the two-particle matrix element with the same but the last two indices transposed
antisymmetric difference of the two-particle matrix elements:
$w^-_{ijkl} = w_{ijkl} - w_{ijlk}$
This is called the antisymmetrized two-particle matrix element.
This is an abbreviation for these terms arising in the
Slater-Condon rules for the calculation of the many-body matrix elements
via the one- and two-particle matrix elements of the underlying single-particle basis.
"""
wminus(m::Model, i,j,k,l) = w(m,i,j,k,l) - w(m,i,j,l,k)
@doc raw"""
Woffdiag_element(::Model, ::Ensemble, ::Orbital, ::Orbital, ::Orbital, ::Orbital)
Return the offdiagonal many body matrix element of the interaction operator
$\frac{1}{4} ( w_{ijkl} - w_{ijlk} ) (\pm \langle\{\tilde{n}\}|\{n\}^{ij}_{kl}\rangle)$
for an excitation given by creating orbitals i,j and annihilating orbitals k, l
as given by the Slater-Condon rules.
"""
function Woffdiag_element(m::Model, e::Ensemble, i::Orbital, j::Orbital, k::Orbital, l::Orbital)
# We sample with the weight of antisymmetrized matrix element but we do not restrict
# the order of indices of our possible kinks. We therefor need an extra factor 1/4 in the weight-function
1/4 * e.λ * wminus(m, i,j,k,l)
end
Woffdiag_element(m::Model, e::Ensemble, kink::T4) = Woffdiag_element(m, e, kink.i, kink.j, kink.k, kink.l)
"""
ΔWoffdiag_element(::Model, e::Ensemble, itr, itr)
return the change in the offdiagonal many body matrix element of the interaction operator
given by adding the kinks in the first iterable and removing the kinks in the second iterable
both arguments `itr` are required to be iterables containing kinks
"""
function ΔWoffdiag_element(m::Model, e::Ensemble, add_kinks, drop_kinks)
if isempty(drop_kinks)
prod(Woffdiag_element(m, e, k) for k in add_kinks)
elseif isempty(add_kinks)
1.0 / prod(Woffdiag_element(m, e, k) for k in drop_kinks)
else
prod(Woffdiag_element(m, e, k) for k in add_kinks) / prod(Woffdiag_element(m, e, k) for k in drop_kinks)
end
end
ΔWoffdiag_element(m::Model, e::Ensemble, add_kinks::Kinks, drop_kinks::Kinks) = ΔWoffdiag_element(m, e, excitations(add_kinks), excitations(drop_kinks))
"""
ΔW_diag(m::Model, i, j, k, l, occ)
change in the diagonal interaction matrix element due to a change in the occupation `occ`
in a periodic interval (τ1,τ2) where no kinks occur
the change in the occupation is assumed to consist in a creation of two orbitals i, j
and in the annihlation of two orbitals k, l
"""
function ΔW_diag(m::Model, i, j, k, l, occ)
@assert (i ∉ occ) & (j ∉ occ) "Calculation of the change in the many-body diagonal interaction matrix element: This function assumes that the first two orbitals\n\t $(i)\n and\n\t $(j) given are the creator orbitals and thus that they are not occupied in the given occupation\n\t $(occ). "
# contributions due to mean field interactions of the annihilated orbitals
Δ = sum( wminus(m, ν,k,k,ν) + wminus(m, ν,l,l,ν) for ν in drop_orbs(occ, [k,l]) )# interactions of mean field with k and l
Δ += wminus(m, k,l,l,k)# interaction between k and l
# contributions due to mean field interactions of the created orbitals
# note: the annihilator orbitals k, l are not in the new occupation
Δ -= sum( wminus(m, ν,i,i,ν) + wminus(m, ν,j,j,ν) for ν in drop_orbs(occ, [k,l]) )# interactions of mean field with i and j
Δ -= wminus(m, i,j,j,i)# interaction between i and j
return Δ
end
"""
ΔW_diag(m::Model, i, j, occ)
change in the diagonal interaction matrix element due to a change in the occupation `occ`
in a periodic interval (τ1,τ2) where no kinks occur
the change in the occupation is assumed to consist in a creation of one orbitals i
and in the annihlation of one orbitals j
"""
function ΔW_diag(m::Model, i, j, occ)
@assert (i ∉ occ) "Calculation of the change in the many-body diagonal interaction matrix element: This function assumes that the first two orbitals\n\t $(i)\n and\n\t $(j) given are the creator orbitals and thus that they are not occupied in the given occupation\n\t $(occ). "
# contributions due to mean field interactions of the annihilated orbitals
Δ = sum( wminus(m, ν,j,j,ν) for ν in drop_orbs(occ, (j,)) )# interactions of mean field with k
# contributions due to mean field interactions of the created orbitals
Δ -= sum( wminus(m, ν,i,i,ν) for ν in drop_orbs(occ, (j,)) )
end
### convention: all ΔX_element represent only the difference in the matrix elements will be used as exp(-Δ) for the weight change
### thus, contributions from the new (proposed) configuration (creators) appear positive (+)
### and the contributions from the old configuration (annihilators) appear negative (-)
"""
ΔT_element(::Model, i,j,k,l)
return the change in the kinetic many body matrix element due
to creating orbitals i, j and annihilating orbitals k, l
"""
ΔT_element(m::Model, i,j,k,l) = energy(m, i) + energy(m, j) - energy(m, k) - energy(m, l)
"""
ΔWdiag_element(::Model, ::Ensemble, ::Configuration, i, j, k, l, τ1, τ2)
Calculate the change in the diagonal interaction many-body matrix element
due to a change in the occupations given by creating two orbitals i and j
and annihilating two orbitals k, l in the interval (τ1, τ2).
This interval may be periodically extended over the bounds (0,1) if τ1 > τ2,
i.e. the change in the occupation is considered for (τ1,1] ∪ [0,τ2) in that case.
We do not need to evaluate the diagonal interaction
between all orbitals in all time-intervalls, but it is sufficient to evaluate
the full diagonal interaction with the occupations at the start of the intervall
and then consider only contributions of orbitals that are changed by kinks in the intervall.
"""
function ΔWdiag_element(m::Model, e::Ensemble, c::Configuration, i, j, k, l, τ1, τ2)# TODO: assuming that i, j are creators and k, l are annihilators. Use Step instead ?
@assert τ1 != τ2 " The diagonal interaction matrix element changes when kinks are added at different times and thus the occupations between the kinks are altered. It has no meaning to calculate this matrix element (or to add kinks) at equal times τ1=$(τ1), τ2=$(τ2). "
# get all kinks between τ1 and τ2
Ks = kinks_from_periodic_interval(c.kinks, τ1, τ2)
# calculate Wdiag with the occupation at the start of the interval
ΔWdiag = ΔW_diag(m, i,j,k,l, occupations_at(c,τ1)) * Δ(τ1,τ2)
if !isempty(Ks)
# calculate contrubutions to ΔWdiag from the orbitals changed by kinks in the intervall:
# add a contribution if an orbital is created and
# remove a contribution if an orbital is annilated
# this is more efficient than calculating the occupation for each consecutive time-interval
# via `occupation(occ,t)` since this function applies all kinks up to t::ImgTime
τs = times_from_periodic_interval(c.kinks, τ1, τ2)# get a time-ordered list of the times of the kinks between τ1 and τ2
ΔWdiag += sum( (ΔW_diag(m, i,j,k,l, creators(Ks[t1])) - ΔW_diag(m, i,j,k,l, annihilators(Ks[t1]))) * Δ(t1,τ2) for t1 in τs)
end
e.λ * ΔWdiag
end
"""
ΔWdiag_element(::Model, ::Ensemble, ::Configuration, i, j, τ1, τ2)
Calculate the change in the diagonal interaction many-body matrix element
due to a change in the occupations given by creating an orbital i
and annihilating an orbital j in the interval (τ1, τ2).
This interval may be periodically extended over the bounds (0,1) if τ1 > τ2,
i.e. the change in the occupation is considered for (τ1,1] ∪ [0,τ2) in that case.
We do not need to evaluate the diagonal interaction
between all orbitals in all time-intervalls, but it is sufficient to evaluate
the full diagonal interaction with the occupations at the start of the intervall
and then consider only contributions of orbitals that are changed by kinks in the intervall.
"""
function ΔWdiag_element(m::Model, e::Ensemble, c::Configuration, i, j, τ1, τ2)# TODO: assuming that i is creator and j is annihilator. Use Step instead ?
@assert τ1 != τ2 " The diagonal interaction matrix element changes when kinks are added at different times and thus the occupations between the kinks are altered. It has no meaning to calculate this matrix element (or to add kinks) at equal times τ1=$(τ1), τ2=$(τ2). "
# get all kinks between τ1 and τ2
Ks = kinks_from_periodic_interval(c.kinks, τ1, τ2)
# calculate Wdiag with the occupation at the start of the interval
ΔWdiag = ΔW_diag(m, i,j, occupations_at(c,τ1)) * Δ(τ1,τ2)
if !isempty(Ks)
# calculate contrubutions to ΔWdiag from the orbitals changed by kinks in the intervall:
# add a contribution if an orbital is created and
# remove a contribution if an orbital is annilated
# this is more efficient than calculating the occupation for each consecutive time-interval
# via `occupation(occ,t)` since this function applies all kinks up to t::ImgTime
τs = times_from_periodic_interval(c.kinks, τ1, τ2)# get a time-ordered list of the times of the kinks between τ1 and τ2
ΔWdiag += sum( (ΔW_diag(m, i,j, creators(Ks[t1])) - ΔW_diag(m, i,j, annihilators(Ks[t1]))) * Δ(t1,τ2) for t1 in τs)
end
e.λ * ΔWdiag
end
@doc raw"""
sign_offdiagonal_product(::Model, ::Configuration)
Return the sign of the product of two-particle terms in the offdiagonal many-body matrix elements.
These are given by function `wminus`, i.e.
$\langle \{\tilde{n}\} | a^{\dagger}_i a^{\dagger}_j a_k a_l | \{n\} \rangle
= \pm ( w_{ijkl} - w_{ijlk} ) \text{ for } \{\tilde{n}\} = \{n\}_{kl}^{ij}$
the term in the braces may be negative and this function returns the product of the
sign of all these contributions $w_{ijkl} - w_{ijlk}$ from all kinks.
The sign $\pm$ is determined from the permutation factor of the orbitals i,j,k,l
and is not calculated here.
used for the calculation the sign of the weight function
"""
function sign_offdiagonal_product(m::Model, c::Configuration)
s = 1
for κ in excitations(c.kinks)
s *= sign(wminus(m, κ.i, κ.j, κ.k, κ.l))
end
return s
end
"""
signum(m::Model, c::Configuration)
Calculate the sign of the `Configuration`'s weight.
"""
signum(m::Model, c::Configuration) = ladder_operator_order_factor(c.kinks)*sign_offdiagonal_product(m, c)
| [
39344,
9104,
198,
198,
37811,
198,
220,
220,
220,
12531,
2099,
9104,
886,
198,
198,
23839,
2099,
329,
262,
10552,
286,
257,
3518,
2746,
329,
543,
16765,
460,
307,
6157,
13,
198,
23037,
82,
284,
307,
9177,
1080,
12,
11423,
453,
11,
287,
1948,
262,
1708,
5499,
761,
284,
307,
5447,
25,
357,
1640,
783,
8,
198,
198,
12,
262,
530,
12,
3911,
1548,
17593,
5002,
11,
4600,
22554,
7,
3712,
17633,
11,
7904,
5574,
65,
1287,
8,
63,
198,
12,
262,
734,
12,
3911,
1548,
17593,
5002,
11,
4600,
86,
7,
3712,
17633,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
8,
63,
198,
198,
37811,
198,
397,
8709,
2099,
9104,
886,
198,
198,
8818,
2568,
7,
76,
3712,
17633,
11,
267,
3712,
5574,
65,
1287,
8,
198,
220,
220,
220,
4049,
7203,
45688,
7822,
286,
2568,
7,
3712,
3,
7,
4906,
1659,
7,
76,
36911,
7904,
3,
7,
4906,
1659,
7,
78,
22305,
4943,
198,
437,
198,
198,
8818,
266,
7,
76,
3712,
17633,
11,
267,
16,
3712,
5574,
65,
1287,
11,
267,
17,
3712,
5574,
65,
1287,
11,
267,
18,
3712,
5574,
65,
1287,
11,
267,
19,
3712,
5574,
65,
1287,
8,
198,
220,
220,
220,
4049,
7203,
45688,
7822,
286,
266,
7,
3712,
3,
7,
4906,
1659,
7,
76,
36911,
7904,
3,
7,
4906,
1659,
7,
78,
16,
36911,
7904,
3,
7,
4906,
1659,
7,
78,
17,
22305,
4943,
198,
437,
198,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
266,
40191,
7,
3712,
17633,
11,
1312,
11,
73,
11,
74,
11,
75,
8,
198,
198,
7783,
262,
3580,
286,
262,
734,
12,
3911,
1548,
17593,
5002,
351,
262,
976,
475,
262,
938,
734,
36525,
1007,
29813,
198,
415,
13560,
3020,
19482,
3580,
286,
262,
734,
12,
3911,
1548,
17593,
4847,
25,
198,
198,
3,
86,
61,
12,
23330,
2926,
41582,
92,
796,
266,
23330,
2926,
41582,
92,
532,
266,
23330,
2926,
75,
74,
92,
3,
198,
198,
1212,
318,
1444,
262,
1885,
13560,
3020,
316,
380,
8863,
734,
12,
3911,
1548,
17593,
5002,
13,
198,
1212,
318,
281,
28873,
47625,
329,
777,
2846,
21539,
287,
262,
198,
11122,
729,
12,
34,
3391,
3173,
329,
262,
17952,
286,
262,
867,
12,
2618,
17593,
4847,
198,
8869,
262,
530,
12,
290,
734,
12,
3911,
1548,
17593,
4847,
286,
262,
10238,
2060,
12,
3911,
1548,
4308,
13,
198,
37811,
198,
86,
40191,
7,
76,
3712,
17633,
11,
1312,
11,
73,
11,
74,
11,
75,
8,
796,
266,
7,
76,
11,
72,
11,
73,
11,
74,
11,
75,
8,
532,
266,
7,
76,
11,
72,
11,
73,
11,
75,
11,
74,
8,
628,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
370,
2364,
10989,
363,
62,
30854,
7,
3712,
17633,
11,
7904,
4834,
15140,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
11,
7904,
5574,
65,
1287,
8,
198,
198,
13615,
262,
572,
10989,
27923,
867,
1767,
17593,
5002,
286,
262,
10375,
10088,
198,
198,
3,
59,
31944,
90,
16,
18477,
19,
92,
357,
266,
23330,
2926,
41582,
92,
532,
266,
23330,
2926,
75,
74,
92,
1267,
357,
59,
4426,
3467,
75,
9248,
59,
31478,
83,
44725,
90,
77,
32239,
92,
91,
59,
90,
77,
59,
92,
36796,
2926,
92,
23330,
41582,
32239,
81,
9248,
8,
3,
198,
198,
1640,
281,
2859,
3780,
1813,
416,
4441,
13066,
874,
1312,
11,
73,
290,
36572,
803,
13066,
874,
479,
11,
300,
198,
292,
1813,
416,
262,
44289,
12,
34,
3391,
3173,
13,
198,
37811,
198,
8818,
370,
2364,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
1312,
3712,
5574,
65,
1287,
11,
474,
3712,
5574,
65,
1287,
11,
479,
3712,
5574,
65,
1287,
11,
300,
3712,
5574,
65,
1287,
8,
198,
220,
220,
220,
1303,
775,
6291,
351,
262,
3463,
286,
1885,
13560,
3020,
316,
380,
8863,
17593,
5002,
475,
356,
466,
407,
4239,
198,
220,
220,
220,
1303,
262,
1502,
286,
36525,
286,
674,
1744,
479,
2973,
13,
775,
612,
1640,
761,
281,
3131,
5766,
352,
14,
19,
287,
262,
3463,
12,
8818,
198,
220,
220,
220,
352,
14,
19,
1635,
304,
13,
39377,
1635,
266,
40191,
7,
76,
11,
1312,
11,
73,
11,
74,
11,
75,
8,
198,
437,
198,
198,
54,
2364,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
479,
676,
3712,
51,
19,
8,
796,
370,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
479,
676,
13,
72,
11,
479,
676,
13,
73,
11,
479,
676,
13,
74,
11,
479,
676,
13,
75,
8,
198,
198,
37811,
198,
220,
220,
220,
37455,
54,
2364,
10989,
363,
62,
30854,
7,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
340,
81,
11,
340,
81,
8,
198,
198,
7783,
262,
1487,
287,
262,
572,
10989,
27923,
867,
1767,
17593,
5002,
286,
262,
10375,
10088,
198,
35569,
416,
4375,
262,
479,
2973,
287,
262,
717,
11629,
540,
290,
10829,
262,
479,
2973,
287,
262,
1218,
11629,
540,
198,
198,
16885,
7159,
4600,
270,
81,
63,
389,
2672,
284,
307,
11629,
2977,
7268,
479,
2973,
198,
37811,
198,
8818,
37455,
54,
2364,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
751,
62,
74,
2973,
11,
4268,
62,
74,
2973,
8,
198,
220,
220,
220,
611,
318,
28920,
7,
14781,
62,
74,
2973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
40426,
7,
54,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
479,
8,
329,
479,
287,
751,
62,
74,
2973,
8,
198,
220,
220,
220,
2073,
361,
318,
28920,
7,
2860,
62,
74,
2973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
15,
1220,
40426,
7,
54,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
479,
8,
329,
479,
287,
4268,
62,
74,
2973,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
40426,
7,
54,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
479,
8,
329,
479,
287,
751,
62,
74,
2973,
8,
1220,
40426,
7,
54,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
479,
8,
329,
479,
287,
4268,
62,
74,
2973,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
138,
242,
54,
2364,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
751,
62,
74,
2973,
3712,
42,
2973,
11,
4268,
62,
74,
2973,
3712,
42,
2973,
8,
796,
37455,
54,
2364,
10989,
363,
62,
30854,
7,
76,
11,
304,
11,
2859,
20597,
7,
2860,
62,
74,
2973,
828,
2859,
20597,
7,
14781,
62,
74,
2973,
4008,
628,
198,
37811,
198,
220,
220,
220,
37455,
54,
62,
10989,
363,
7,
76,
3712,
17633,
11,
1312,
11,
474,
11,
479,
11,
300,
11,
1609,
8,
198,
198,
3803,
287,
262,
40039,
10375,
17593,
5002,
2233,
284,
257,
1487,
287,
262,
13755,
4600,
13966,
63,
198,
259,
257,
27458,
16654,
357,
32830,
16,
11,
32830,
17,
8,
810,
645,
479,
2973,
3051,
198,
1169,
1487,
287,
262,
13755,
318,
9672,
284,
3473,
287,
257,
6282,
286,
734,
13066,
874,
1312,
11,
474,
198,
392,
287,
262,
1529,
4449,
7592,
286,
734,
13066,
874,
479,
11,
300,
198,
37811,
198,
8818,
37455,
54,
62,
10989,
363,
7,
76,
3712,
17633,
11,
1312,
11,
474,
11,
479,
11,
300,
11,
1609,
8,
198,
220,
220,
220,
2488,
30493,
357,
72,
18872,
231,
1609,
8,
1222,
357,
73,
18872,
231,
1609,
8,
366,
9771,
14902,
286,
262,
1487,
287,
262,
867,
12,
2618,
40039,
10375,
17593,
5002,
25,
770,
2163,
18533,
326,
262,
717,
734,
13066,
874,
59,
77,
59,
83,
29568,
72,
19415,
77,
290,
59,
77,
59,
83,
29568,
73,
8,
1813,
389,
262,
13172,
13066,
874,
290,
4145,
326,
484,
389,
407,
12030,
287,
262,
1813,
13755,
59,
77,
59,
83,
29568,
13966,
737,
366,
198,
220,
220,
220,
1303,
9284,
2233,
284,
1612,
2214,
12213,
286,
262,
36572,
515,
13066,
874,
198,
220,
220,
220,
37455,
796,
2160,
7,
266,
40191,
7,
76,
11,
7377,
121,
11,
74,
11,
74,
11,
26180,
8,
1343,
266,
40191,
7,
76,
11,
7377,
121,
11,
75,
11,
75,
11,
26180,
8,
329,
7377,
121,
287,
4268,
62,
273,
1443,
7,
13966,
11,
685,
74,
11,
75,
12962,
1267,
2,
12213,
286,
1612,
2214,
351,
479,
290,
300,
198,
220,
220,
220,
37455,
15853,
266,
40191,
7,
76,
11,
479,
11,
75,
11,
75,
11,
74,
8,
2,
10375,
1022,
479,
290,
300,
198,
220,
220,
220,
1303,
9284,
2233,
284,
1612,
2214,
12213,
286,
262,
2727,
13066,
874,
198,
220,
220,
220,
1303,
3465,
25,
262,
36572,
1352,
13066,
874,
479,
11,
300,
389,
407,
287,
262,
649,
13755,
198,
220,
220,
220,
37455,
48185,
2160,
7,
266,
40191,
7,
76,
11,
7377,
121,
11,
72,
11,
72,
11,
26180,
8,
1343,
266,
40191,
7,
76,
11,
7377,
121,
11,
73,
11,
73,
11,
26180,
8,
329,
7377,
121,
287,
4268,
62,
273,
1443,
7,
13966,
11,
685,
74,
11,
75,
12962,
1267,
2,
12213,
286,
1612,
2214,
351,
1312,
290,
474,
198,
220,
220,
220,
37455,
48185,
266,
40191,
7,
76,
11,
1312,
11,
73,
11,
73,
11,
72,
8,
2,
10375,
1022,
1312,
290,
474,
198,
220,
220,
220,
1441,
37455,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
37455,
54,
62,
10989,
363,
7,
76,
3712,
17633,
11,
1312,
11,
474,
11,
1609,
8,
198,
198,
3803,
287,
262,
40039,
10375,
17593,
5002,
2233,
284,
257,
1487,
287,
262,
13755,
4600,
13966,
63,
198,
259,
257,
27458,
16654,
357,
32830,
16,
11,
32830,
17,
8,
810,
645,
479,
2973,
3051,
198,
1169,
1487,
287,
262,
13755,
318,
9672,
284,
3473,
287,
257,
6282,
286,
530,
13066,
874,
1312,
198,
392,
287,
262,
1529,
4449,
7592,
286,
530,
13066,
874,
474,
198,
37811,
198,
8818,
37455,
54,
62,
10989,
363,
7,
76,
3712,
17633,
11,
1312,
11,
474,
11,
1609,
8,
198,
220,
220,
220,
2488,
30493,
357,
72,
18872,
231,
1609,
8,
366,
9771,
14902,
286,
262,
1487,
287,
262,
867,
12,
2618,
40039,
10375,
17593,
5002,
25,
770,
2163,
18533,
326,
262,
717,
734,
13066,
874,
59,
77,
59,
83,
29568,
72,
19415,
77,
290,
59,
77,
59,
83,
29568,
73,
8,
1813,
389,
262,
13172,
13066,
874,
290,
4145,
326,
484,
389,
407,
12030,
287,
262,
1813,
13755,
59,
77,
59,
83,
29568,
13966,
737,
366,
198,
220,
220,
220,
1303,
9284,
2233,
284,
1612,
2214,
12213,
286,
262,
36572,
515,
13066,
874,
198,
220,
220,
220,
37455,
796,
2160,
7,
266,
40191,
7,
76,
11,
7377,
121,
11,
73,
11,
73,
11,
26180,
8,
329,
7377,
121,
287,
4268,
62,
273,
1443,
7,
13966,
11,
357,
73,
11,
4008,
1267,
2,
12213,
286,
1612,
2214,
351,
479,
198,
220,
220,
220,
1303,
9284,
2233,
284,
1612,
2214,
12213,
286,
262,
2727,
13066,
874,
198,
220,
220,
220,
37455,
48185,
2160,
7,
266,
40191,
7,
76,
11,
7377,
121,
11,
72,
11,
72,
11,
26180,
8,
329,
7377,
121,
287,
4268,
62,
273,
1443,
7,
13966,
11,
357,
73,
11,
4008,
1267,
198,
437,
628,
198,
198,
21017,
9831,
25,
477,
37455,
55,
62,
30854,
2380,
691,
262,
3580,
287,
262,
17593,
4847,
481,
307,
973,
355,
1033,
32590,
138,
242,
8,
329,
262,
3463,
1487,
198,
21017,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4145,
11,
9284,
422,
262,
649,
357,
22930,
1335,
8,
8398,
357,
20123,
669,
8,
1656,
3967,
11502,
8,
198,
21017,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
262,
9284,
422,
262,
1468,
8398,
357,
1236,
20898,
2024,
8,
1656,
4633,
13841,
8,
198,
198,
37811,
198,
220,
220,
220,
37455,
51,
62,
30854,
7,
3712,
17633,
11,
1312,
11,
73,
11,
74,
11,
75,
8,
198,
198,
7783,
262,
1487,
287,
262,
37892,
867,
1767,
17593,
5002,
2233,
198,
1462,
4441,
13066,
874,
1312,
11,
474,
290,
36572,
803,
13066,
874,
479,
11,
300,
198,
37811,
198,
138,
242,
51,
62,
30854,
7,
76,
3712,
17633,
11,
1312,
11,
73,
11,
74,
11,
75,
8,
796,
2568,
7,
76,
11,
1312,
8,
1343,
2568,
7,
76,
11,
474,
8,
532,
2568,
7,
76,
11,
479,
8,
532,
2568,
7,
76,
11,
300,
8,
628,
198,
198,
37811,
198,
220,
220,
220,
37455,
54,
10989,
363,
62,
30854,
7,
3712,
17633,
11,
7904,
4834,
15140,
11,
7904,
38149,
11,
1312,
11,
474,
11,
479,
11,
300,
11,
46651,
16,
11,
46651,
17,
8,
198,
198,
9771,
3129,
378,
262,
1487,
287,
262,
40039,
10375,
867,
12,
2618,
17593,
5002,
198,
23301,
284,
257,
1487,
287,
262,
23308,
1813,
416,
4441,
734,
13066,
874,
1312,
290,
474,
198,
392,
36572,
803,
734,
13066,
874,
479,
11,
300,
287,
262,
16654,
357,
32830,
16,
11,
46651,
17,
737,
198,
1212,
16654,
743,
307,
26034,
7083,
625,
262,
22303,
357,
15,
11,
16,
8,
611,
46651,
16,
1875,
46651,
17,
11,
198,
72,
13,
68,
13,
262,
1487,
287,
262,
13755,
318,
3177,
329,
357,
32830,
16,
11,
16,
60,
18872,
103,
685,
15,
11,
32830,
17,
8,
287,
326,
1339,
13,
198,
1135,
466,
407,
761,
284,
13446,
262,
40039,
10375,
198,
23395,
477,
13066,
874,
287,
477,
640,
12,
3849,
85,
5691,
11,
475,
340,
318,
6751,
284,
13446,
198,
1169,
1336,
40039,
10375,
351,
262,
23308,
379,
262,
923,
286,
262,
987,
85,
439,
198,
392,
788,
2074,
691,
9284,
286,
13066,
874,
326,
389,
3421,
416,
479,
2973,
287,
262,
987,
85,
439,
13,
198,
37811,
198,
8818,
37455,
54,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
269,
3712,
38149,
11,
1312,
11,
474,
11,
479,
11,
300,
11,
46651,
16,
11,
46651,
17,
8,
2,
16926,
46,
25,
13148,
326,
1312,
11,
474,
389,
16294,
290,
479,
11,
300,
389,
36572,
2024,
13,
5765,
5012,
2427,
5633,
198,
220,
220,
220,
2488,
30493,
46651,
16,
14512,
46651,
17,
366,
383,
40039,
10375,
17593,
5002,
2458,
618,
479,
2973,
389,
2087,
379,
1180,
1661,
290,
4145,
262,
23308,
1022,
262,
479,
2973,
389,
14294,
13,
632,
468,
645,
3616,
284,
15284,
428,
17593,
5002,
357,
273,
284,
751,
479,
2973,
8,
379,
4961,
1661,
46651,
16,
43641,
7,
32830,
16,
828,
46651,
17,
43641,
7,
32830,
17,
737,
366,
628,
220,
220,
220,
1303,
651,
477,
479,
2973,
1022,
46651,
16,
290,
46651,
17,
198,
220,
220,
220,
509,
82,
796,
479,
2973,
62,
6738,
62,
41007,
291,
62,
3849,
2100,
7,
66,
13,
74,
2973,
11,
46651,
16,
11,
46651,
17,
8,
628,
220,
220,
220,
1303,
15284,
370,
10989,
363,
351,
262,
13755,
379,
262,
923,
286,
262,
16654,
198,
220,
220,
220,
37455,
54,
10989,
363,
796,
37455,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
74,
11,
75,
11,
23308,
62,
265,
7,
66,
11,
32830,
16,
4008,
1635,
37455,
7,
32830,
16,
11,
32830,
17,
8,
628,
220,
220,
220,
611,
5145,
271,
28920,
7,
42,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15284,
3445,
549,
3508,
284,
37455,
54,
10989,
363,
422,
262,
13066,
874,
3421,
416,
479,
2973,
287,
262,
987,
85,
439,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
257,
10156,
611,
281,
32362,
318,
2727,
290,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4781,
257,
10156,
611,
281,
32362,
318,
1529,
40080,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
318,
517,
6942,
621,
26019,
262,
13755,
329,
1123,
12785,
640,
12,
3849,
2100,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2884,
4600,
19596,
341,
7,
13966,
11,
83,
8,
63,
1201,
428,
2163,
8991,
477,
479,
2973,
510,
284,
256,
3712,
3546,
70,
7575,
198,
220,
220,
220,
220,
220,
220,
220,
46651,
82,
796,
1661,
62,
6738,
62,
41007,
291,
62,
3849,
2100,
7,
66,
13,
74,
2973,
11,
46651,
16,
11,
46651,
17,
8,
2,
651,
257,
640,
12,
24071,
1351,
286,
262,
1661,
286,
262,
479,
2973,
1022,
46651,
16,
290,
46651,
17,
198,
220,
220,
220,
220,
220,
220,
220,
37455,
54,
10989,
363,
15853,
2160,
7,
357,
138,
242,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
74,
11,
75,
11,
16294,
7,
42,
82,
58,
83,
16,
60,
4008,
532,
37455,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
74,
11,
75,
11,
36572,
2024,
7,
42,
82,
58,
83,
16,
60,
22305,
1635,
37455,
7,
83,
16,
11,
32830,
17,
8,
329,
256,
16,
287,
46651,
82,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
304,
13,
39377,
1635,
37455,
54,
10989,
363,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
37455,
54,
10989,
363,
62,
30854,
7,
3712,
17633,
11,
7904,
4834,
15140,
11,
7904,
38149,
11,
1312,
11,
474,
11,
46651,
16,
11,
46651,
17,
8,
198,
198,
9771,
3129,
378,
262,
1487,
287,
262,
40039,
10375,
867,
12,
2618,
17593,
5002,
198,
23301,
284,
257,
1487,
287,
262,
23308,
1813,
416,
4441,
281,
32362,
1312,
198,
392,
36572,
803,
281,
32362,
474,
287,
262,
16654,
357,
32830,
16,
11,
46651,
17,
737,
198,
1212,
16654,
743,
307,
26034,
7083,
625,
262,
22303,
357,
15,
11,
16,
8,
611,
46651,
16,
1875,
46651,
17,
11,
198,
72,
13,
68,
13,
262,
1487,
287,
262,
13755,
318,
3177,
329,
357,
32830,
16,
11,
16,
60,
18872,
103,
685,
15,
11,
32830,
17,
8,
287,
326,
1339,
13,
198,
1135,
466,
407,
761,
284,
13446,
262,
40039,
10375,
198,
23395,
477,
13066,
874,
287,
477,
640,
12,
3849,
85,
5691,
11,
475,
340,
318,
6751,
284,
13446,
198,
1169,
1336,
40039,
10375,
351,
262,
23308,
379,
262,
923,
286,
262,
987,
85,
439,
198,
392,
788,
2074,
691,
9284,
286,
13066,
874,
326,
389,
3421,
416,
479,
2973,
287,
262,
987,
85,
439,
13,
198,
37811,
198,
8818,
37455,
54,
10989,
363,
62,
30854,
7,
76,
3712,
17633,
11,
304,
3712,
4834,
15140,
11,
269,
3712,
38149,
11,
1312,
11,
474,
11,
46651,
16,
11,
46651,
17,
8,
2,
16926,
46,
25,
13148,
326,
1312,
318,
13172,
290,
474,
318,
36572,
1352,
13,
5765,
5012,
2427,
5633,
198,
220,
220,
220,
2488,
30493,
46651,
16,
14512,
46651,
17,
366,
383,
40039,
10375,
17593,
5002,
2458,
618,
479,
2973,
389,
2087,
379,
1180,
1661,
290,
4145,
262,
23308,
1022,
262,
479,
2973,
389,
14294,
13,
632,
468,
645,
3616,
284,
15284,
428,
17593,
5002,
357,
273,
284,
751,
479,
2973,
8,
379,
4961,
1661,
46651,
16,
43641,
7,
32830,
16,
828,
46651,
17,
43641,
7,
32830,
17,
737,
366,
628,
220,
220,
220,
1303,
651,
477,
479,
2973,
1022,
46651,
16,
290,
46651,
17,
198,
220,
220,
220,
509,
82,
796,
479,
2973,
62,
6738,
62,
41007,
291,
62,
3849,
2100,
7,
66,
13,
74,
2973,
11,
46651,
16,
11,
46651,
17,
8,
628,
220,
220,
220,
1303,
15284,
370,
10989,
363,
351,
262,
13755,
379,
262,
923,
286,
262,
16654,
198,
220,
220,
220,
37455,
54,
10989,
363,
796,
37455,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
23308,
62,
265,
7,
66,
11,
32830,
16,
4008,
1635,
37455,
7,
32830,
16,
11,
32830,
17,
8,
198,
220,
220,
220,
611,
5145,
271,
28920,
7,
42,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15284,
3445,
549,
3508,
284,
37455,
54,
10989,
363,
422,
262,
13066,
874,
3421,
416,
479,
2973,
287,
262,
987,
85,
439,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
257,
10156,
611,
281,
32362,
318,
2727,
290,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4781,
257,
10156,
611,
281,
32362,
318,
1529,
40080,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
318,
517,
6942,
621,
26019,
262,
13755,
329,
1123,
12785,
640,
12,
3849,
2100,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2884,
4600,
19596,
341,
7,
13966,
11,
83,
8,
63,
1201,
428,
2163,
8991,
477,
479,
2973,
510,
284,
256,
3712,
3546,
70,
7575,
198,
220,
220,
220,
220,
220,
220,
220,
46651,
82,
796,
1661,
62,
6738,
62,
41007,
291,
62,
3849,
2100,
7,
66,
13,
74,
2973,
11,
46651,
16,
11,
46651,
17,
8,
2,
651,
257,
640,
12,
24071,
1351,
286,
262,
1661,
286,
262,
479,
2973,
1022,
46651,
16,
290,
46651,
17,
198,
220,
220,
220,
220,
220,
220,
220,
37455,
54,
10989,
363,
15853,
2160,
7,
357,
138,
242,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
16294,
7,
42,
82,
58,
83,
16,
60,
4008,
532,
37455,
54,
62,
10989,
363,
7,
76,
11,
1312,
11,
73,
11,
36572,
2024,
7,
42,
82,
58,
83,
16,
60,
22305,
1635,
37455,
7,
83,
16,
11,
32830,
17,
8,
329,
256,
16,
287,
46651,
82,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
304,
13,
39377,
1635,
37455,
54,
10989,
363,
198,
437,
628,
198,
31,
15390,
8246,
37811,
198,
220,
220,
220,
1051,
62,
2364,
10989,
27923,
62,
11167,
7,
3712,
17633,
11,
7904,
38149,
8,
198,
198,
13615,
262,
1051,
286,
262,
1720,
286,
734,
12,
3911,
1548,
2846,
287,
262,
572,
10989,
27923,
867,
12,
2618,
17593,
4847,
13,
198,
4711,
389,
1813,
416,
2163,
4600,
86,
40191,
47671,
1312,
13,
68,
13,
198,
198,
3,
59,
75,
9248,
3467,
31478,
83,
44725,
90,
77,
32239,
92,
930,
257,
61,
31478,
67,
7928,
92,
62,
72,
257,
61,
31478,
67,
7928,
92,
62,
73,
257,
62,
74,
257,
62,
75,
930,
3467,
90,
77,
59,
92,
3467,
81,
9248,
198,
220,
220,
220,
796,
3467,
4426,
357,
266,
23330,
2926,
41582,
92,
532,
266,
23330,
2926,
75,
74,
92,
1267,
3467,
5239,
90,
329,
1782,
3467,
31478,
83,
44725,
90,
77,
32239,
92,
796,
3467,
90,
77,
59,
92,
23330,
41582,
92,
36796,
2926,
92,
3,
198,
198,
1169,
3381,
287,
262,
47241,
743,
307,
4633,
290,
428,
2163,
5860,
262,
1720,
286,
262,
198,
12683,
286,
477,
777,
9284,
720,
86,
23330,
2926,
41582,
92,
532,
266,
23330,
2926,
75,
74,
92,
3,
422,
477,
479,
2973,
13,
198,
464,
1051,
39280,
4426,
3,
318,
5295,
422,
262,
9943,
7094,
5766,
286,
262,
13066,
874,
1312,
11,
73,
11,
74,
11,
75,
198,
392,
318,
407,
10488,
994,
13,
198,
198,
1484,
329,
262,
17952,
262,
1051,
286,
262,
3463,
2163,
198,
37811,
198,
8818,
1051,
62,
2364,
10989,
27923,
62,
11167,
7,
76,
3712,
17633,
11,
269,
3712,
38149,
8,
198,
220,
220,
220,
264,
796,
352,
198,
220,
220,
220,
329,
7377,
118,
287,
2859,
20597,
7,
66,
13,
74,
2973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
264,
1635,
28,
1051,
7,
86,
40191,
7,
76,
11,
7377,
118,
13,
72,
11,
7377,
118,
13,
73,
11,
7377,
118,
13,
74,
11,
7377,
118,
13,
75,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
264,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
1051,
388,
7,
76,
3712,
17633,
11,
269,
3712,
38149,
8,
198,
198,
9771,
3129,
378,
262,
1051,
286,
262,
4600,
38149,
63,
6,
82,
3463,
13,
198,
37811,
198,
12683,
388,
7,
76,
3712,
17633,
11,
269,
3712,
38149,
8,
796,
18002,
62,
46616,
62,
2875,
62,
31412,
7,
66,
13,
74,
2973,
27493,
12683,
62,
2364,
10989,
27923,
62,
11167,
7,
76,
11,
269,
8,
198
] | 2.844722 | 3,922 |
using SafeTestsets
using Test
@safetestset vas_sample = "VAS samples with direct" begin
using Random: MersenneTwister
using Fleck: VectorAdditionModel, MarkovDirect, vas_initial, send, vas_input
rng = MersenneTwister(2930472)
vas = VectorAdditionModel(transitions, rates)
sampler = MarkovDirect()
input_process = vas_initial(vas, [1, 1, 0])
for i in 1:10
y = send(vas, input_process)
sample = send(sampler, y)
input_process = vas_input(vas, sample)
end
end
| [
3500,
19978,
51,
3558,
1039,
198,
3500,
6208,
628,
198,
31,
49585,
316,
395,
2617,
34439,
62,
39873,
796,
366,
53,
1921,
8405,
351,
1277,
1,
2221,
198,
3500,
14534,
25,
337,
364,
29727,
5080,
1694,
198,
3500,
12005,
694,
25,
20650,
4550,
653,
17633,
11,
2940,
709,
13470,
11,
34439,
62,
36733,
11,
3758,
11,
34439,
62,
15414,
198,
220,
220,
220,
374,
782,
796,
337,
364,
29727,
5080,
1694,
7,
1959,
1270,
37856,
8,
198,
220,
220,
220,
34439,
796,
20650,
4550,
653,
17633,
7,
7645,
1756,
11,
3965,
8,
198,
220,
220,
220,
6072,
20053,
796,
2940,
709,
13470,
3419,
628,
220,
220,
220,
5128,
62,
14681,
796,
34439,
62,
36733,
7,
11017,
11,
685,
16,
11,
352,
11,
657,
12962,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
940,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
3758,
7,
11017,
11,
5128,
62,
14681,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6291,
796,
3758,
7,
37687,
20053,
11,
331,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
14681,
796,
34439,
62,
15414,
7,
11017,
11,
6291,
8,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.57868 | 197 |
__precompile__(true)
module Sugar
using Matcha, MacroTools, DataStructures
const AllFuncs = Union{Function, Core.Builtin, Core.IntrinsicFunction}
const IntrinsicFuncs = Union{Core.Builtin, Core.IntrinsicFunction}
# All kind of patterns for regex/matcha. Contains also matching isa functions
# include("patterns.jl")
# various tools to replace and work with asts
# TODO figure out what can be used from the great MacroTools
include("ast_tools.jl")
export normalize_ast
# Tools for extracting all kind of representations out of a method/function
include("lambdas.jl")
export slot_vector, get_lambda, clean_typed
# "Sugarcoats" tools to transform the unsightly representation returned by code_typed
# into something sweet and beautiful (namely an Expr tree closer to what you get
# from a macro)
include("sugarcoating.jl")
export remove_goto, sugared
include("show.jl")
# helper to work with methods
include("methods.jl")
include("pointer_tracking.jl")
export LazyMethod, getast!, getfunction, isfunction, istype, dependencies!, @lazymethod
end # module
| [
834,
3866,
5589,
576,
834,
7,
7942,
8,
198,
21412,
20874,
198,
198,
3500,
13225,
64,
11,
42755,
33637,
11,
6060,
44909,
942,
198,
198,
9979,
1439,
24629,
6359,
796,
4479,
90,
22203,
11,
7231,
13,
39582,
259,
11,
7231,
13,
5317,
81,
1040,
291,
22203,
92,
198,
9979,
2558,
81,
1040,
291,
24629,
6359,
796,
4479,
90,
14055,
13,
39582,
259,
11,
7231,
13,
5317,
81,
1040,
291,
22203,
92,
198,
198,
2,
1439,
1611,
286,
7572,
329,
40364,
14,
15699,
64,
13,
49850,
635,
12336,
318,
64,
5499,
198,
2,
2291,
7203,
33279,
82,
13,
20362,
4943,
198,
198,
2,
2972,
4899,
284,
6330,
290,
670,
351,
257,
6448,
198,
2,
16926,
46,
3785,
503,
644,
460,
307,
973,
422,
262,
1049,
42755,
33637,
198,
17256,
7203,
459,
62,
31391,
13,
20362,
4943,
198,
39344,
3487,
1096,
62,
459,
198,
2,
20003,
329,
37895,
477,
1611,
286,
24612,
503,
286,
257,
2446,
14,
8818,
198,
17256,
7203,
2543,
17457,
292,
13,
20362,
4943,
198,
39344,
10852,
62,
31364,
11,
651,
62,
50033,
11,
3424,
62,
774,
9124,
198,
198,
2,
366,
50,
35652,
1073,
1381,
1,
4899,
284,
6121,
262,
5576,
432,
306,
10552,
4504,
416,
2438,
62,
774,
9124,
198,
2,
656,
1223,
6029,
290,
4950,
357,
3672,
306,
281,
1475,
1050,
5509,
5699,
284,
644,
345,
651,
198,
2,
422,
257,
15021,
8,
198,
17256,
7203,
82,
35652,
1073,
803,
13,
20362,
4943,
198,
39344,
4781,
62,
70,
2069,
11,
424,
70,
1144,
198,
198,
17256,
7203,
12860,
13,
20362,
4943,
198,
198,
2,
31904,
284,
670,
351,
5050,
198,
17256,
7203,
24396,
82,
13,
20362,
4943,
198,
17256,
7203,
29536,
62,
36280,
13,
20362,
4943,
198,
198,
39344,
406,
12582,
17410,
11,
651,
459,
28265,
651,
8818,
11,
318,
8818,
11,
318,
4906,
11,
20086,
28265,
2488,
75,
12582,
24396,
198,
198,
437,
1303,
8265,
198
] | 3.40836 | 311 |
using tiddlywinks
using Test
@testset "tiddlywinks.jl" begin
@test tiddlywinks.tiddly_greet() == "tiddlywinks is working"
@test tiddlywinks.tiddly_greet() != "hello world"
end
| [
3500,
256,
1638,
306,
86,
2973,
198,
3500,
6208,
198,
198,
31,
9288,
2617,
366,
83,
1638,
306,
86,
2973,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
256,
1638,
306,
86,
2973,
13,
83,
1638,
306,
62,
70,
2871,
3419,
6624,
366,
83,
1638,
306,
86,
2973,
318,
1762,
1,
198,
220,
220,
220,
2488,
9288,
256,
1638,
306,
86,
2973,
13,
83,
1638,
306,
62,
70,
2871,
3419,
14512,
366,
31373,
995,
1,
198,
437,
198
] | 2.3125 | 80 |
export TabularRandomPolicy
using StatsBase:Weights, sample
"""
TabularRandomPolicy(prob::Array{Float64, 2})
`prob` describes the distribution of actions for each state.
"""
struct TabularRandomPolicy <: AbstractPolicy
prob::Array{Float64,2}
end
(π::TabularRandomPolicy)(s::Int) = sample(Weights(get_prob(π, s)))
(π::TabularRandomPolicy)(obs) = π(get_state(obs))
RLBase.get_prob(π::TabularRandomPolicy, s) = @view π.prob[:, s]
RLBase.get_prob(π::TabularRandomPolicy, s, a) = π.prob[a, s] | [
39344,
16904,
934,
29531,
36727,
198,
198,
3500,
20595,
14881,
25,
1135,
2337,
11,
6291,
198,
198,
37811,
198,
220,
220,
220,
16904,
934,
29531,
36727,
7,
1676,
65,
3712,
19182,
90,
43879,
2414,
11,
362,
30072,
198,
198,
63,
1676,
65,
63,
8477,
262,
6082,
286,
4028,
329,
1123,
1181,
13,
198,
37811,
198,
7249,
16904,
934,
29531,
36727,
1279,
25,
27741,
36727,
198,
220,
220,
220,
1861,
3712,
19182,
90,
43879,
2414,
11,
17,
92,
198,
437,
198,
198,
7,
46582,
3712,
33349,
934,
29531,
36727,
5769,
82,
3712,
5317,
8,
796,
6291,
7,
1135,
2337,
7,
1136,
62,
1676,
65,
7,
46582,
11,
264,
22305,
198,
7,
46582,
3712,
33349,
934,
29531,
36727,
5769,
8158,
8,
796,
18074,
222,
7,
1136,
62,
5219,
7,
8158,
4008,
198,
198,
7836,
14881,
13,
1136,
62,
1676,
65,
7,
46582,
3712,
33349,
934,
29531,
36727,
11,
264,
8,
796,
2488,
1177,
18074,
222,
13,
1676,
65,
58,
45299,
264,
60,
198,
7836,
14881,
13,
1136,
62,
1676,
65,
7,
46582,
3712,
33349,
934,
29531,
36727,
11,
264,
11,
257,
8,
796,
18074,
222,
13,
1676,
65,
58,
64,
11,
264,
60
] | 2.612565 | 191 |
const COL_NUM_PARTICLES = :num_particles
const COL_NUM_METAINFERENCE = :num_metainference
const COL_PROPOSAL_NAME = :proposal_name
const COL_AIDE_ESTIMATE = :aide_estimate
const COL_AIDE_STDERR = :aide_stderr
const COL_GOLD_STANDARD_NAME = :gold_standard_name
const PRIOR_PROPOSAL_NAME = "prior"
const OPTIMAL_PROPOSAL_NAME = "optimal"
const EXACT_GOLD_STANDARD = "exact"
const APPROXIMATE_GOLD_STANDARD = "approximate"
| [
9979,
20444,
62,
41359,
62,
30709,
2149,
28378,
796,
1058,
22510,
62,
3911,
2983,
198,
9979,
20444,
62,
41359,
62,
44,
20892,
1268,
24302,
18310,
796,
1058,
22510,
62,
4164,
391,
4288,
198,
9979,
20444,
62,
4805,
3185,
2640,
1847,
62,
20608,
796,
1058,
1676,
40007,
62,
3672,
198,
9979,
20444,
62,
32,
14114,
62,
6465,
3955,
6158,
796,
1058,
64,
485,
62,
395,
1920,
198,
9979,
20444,
62,
32,
14114,
62,
2257,
49643,
796,
1058,
64,
485,
62,
301,
1082,
81,
198,
9979,
20444,
62,
38,
15173,
62,
2257,
6981,
9795,
62,
20608,
796,
1058,
24267,
62,
20307,
62,
3672,
198,
9979,
4810,
41254,
62,
4805,
3185,
2640,
1847,
62,
20608,
796,
366,
3448,
273,
1,
198,
9979,
39852,
3955,
1847,
62,
4805,
3185,
2640,
1847,
62,
20608,
796,
366,
8738,
4402,
1,
198,
9979,
7788,
10659,
62,
38,
15173,
62,
2257,
6981,
9795,
796,
366,
1069,
529,
1,
198,
9979,
3486,
31190,
55,
3955,
6158,
62,
38,
15173,
62,
2257,
6981,
9795,
796,
366,
1324,
13907,
1920,
1,
198
] | 2.45614 | 171 |
mutable struct Future <: AbstractFuture
value::Any
value_id::ValueId
mutated::Bool
stale::Bool
function Future(value::Any, value_id::ValueId, mutated::Bool, stale::Bool)
new_future = new(value, value_id, mutated, stale)
# Create finalizer and register
finalizer(new_future) do fut
try
record_request(DestroyRequest(fut.value_id))
catch e
# `record_request` will fail if there isn't any job to add the
# request to. So we just continue silently.
# @warn "Failed to destroy value $(fut.value_id) because job has stopped: $e"
end
end
new_future
end
end
isview(f::F) where F <: AbstractFuture = false | [
76,
18187,
2878,
10898,
1279,
25,
27741,
29783,
198,
220,
220,
220,
1988,
3712,
7149,
198,
220,
220,
220,
1988,
62,
312,
3712,
11395,
7390,
198,
220,
220,
220,
48865,
3712,
33,
970,
198,
220,
220,
220,
39985,
3712,
33,
970,
628,
220,
220,
220,
2163,
10898,
7,
8367,
3712,
7149,
11,
1988,
62,
312,
3712,
11395,
7390,
11,
48865,
3712,
33,
970,
11,
39985,
3712,
33,
970,
8,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
37443,
796,
649,
7,
8367,
11,
1988,
62,
312,
11,
48865,
11,
39985,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
2457,
7509,
290,
7881,
198,
220,
220,
220,
220,
220,
220,
220,
2457,
7509,
7,
3605,
62,
37443,
8,
466,
13294,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1700,
62,
25927,
7,
49174,
18453,
7,
69,
315,
13,
8367,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4929,
304,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4600,
22105,
62,
25927,
63,
481,
2038,
611,
612,
2125,
470,
597,
1693,
284,
751,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2581,
284,
13,
1406,
356,
655,
2555,
24595,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2488,
40539,
366,
37,
6255,
284,
4117,
1988,
29568,
69,
315,
13,
8367,
62,
312,
8,
780,
1693,
468,
5025,
25,
720,
68,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
649,
62,
37443,
198,
220,
220,
220,
886,
198,
437,
198,
198,
271,
1177,
7,
69,
3712,
37,
8,
810,
376,
1279,
25,
27741,
29783,
796,
3991
] | 2.260355 | 338 |
struct ogSAFTParam <: EoSParam
segment::SingleParam{Float64}
sigma::PairParam{Float64}
epsilon::PairParam{Float64}
epsilon_assoc::AssocParam{Float64}
bondvol::AssocParam{Float64}
end
abstract type ogSAFTModel <: SAFTModel end
@newmodel ogSAFT ogSAFTModel ogSAFTParam
export ogSAFT
function ogSAFT(components; idealmodel=BasicIdeal, userlocations=String[], ideal_userlocations=String[], verbose=false)
params = getparams(components, ["SAFT/ogSAFT"]; userlocations=userlocations, verbose=verbose)
segment = params["m"]
k = params["k"]
params["sigma"].values .*= 1E-10
sigma = sigma_LorentzBerthelot(params["sigma"])
epsilon = epsilon_LorentzBerthelot(params["epsilon"], k)
epsilon_assoc = params["epsilon_assoc"]
bondvol = params["bondvol"]
sites = SiteParam(Dict("e" => params["n_e"], "H" => params["n_H"]))
packagedparams = ogSAFTParam(segment, sigma, epsilon, epsilon_assoc, bondvol)
references = ["todo"]
model = ogSAFT(packagedparams, sites, idealmodel; ideal_userlocations=ideal_userlocations, references=references, verbose=verbose)
return model
end
function a_res(model::ogSAFTModel, V, T, z)
return @f(a_seg) + @f(a_chain) + @f(a_assoc)
end
function a_seg(model::ogSAFTModel, V, T, z)
x = z/∑(z)
m = model.params.segment.values
m̄ = ∑(x .* m)
return m̄*(@f(a_hs)+@f(a_disp))
end
function a_chain(model::ogSAFTModel, V, T, z)
x = z/∑(z)
m = model.params.segment.values
return ∑(x[i]*(1-m[i])*log(@f(g_hsij, i, i)) for i ∈ @comps)
end
function d(model::ogSAFTModel, V, T, z, i)
ϵ = model.params.epsilon.diagvalues
σ = model.params.sigma.diagvalues
m = model.params.segment.values
fm = 0.0010477+0.025337*(m[i]-1)/m[i]
f = (1+0.2977T/ϵ[i])/(1+0.33163T/ϵ[i]+fm*(T/ϵ[i])^2)
return σ[i] * f
end
function dx(model::ogSAFTModel, V, T, z)
x = z/∑(z)
m = model.params.segment.values
σ = model.params.sigma.values
ϵ = model.params.epsilon.values
comps = @comps
mx = ∑(x .* m)
σx = (∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3 for i ∈ comps for j ∈ comps)/mx^2)^(1/3)
ϵx = (∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3*ϵ[i,j] for i ∈ comps for j ∈ comps)/mx^2)/σx^3
fm = 0.0010477+0.025337*(mx-1)/mx
f = (1+0.2977T/ϵx)/(1+0.33163T/ϵx+fm*(T/ϵx)^2)
return σx * f
end
function ζn(model::ogSAFTModel, V, T, z, n)
∑z = ∑(z)
x = z/∑z
m = model.params.segment.values
return N_A*∑z*π/6/V * ∑(x[i]*m[i]*@f(d, i)^n for i ∈ @comps)
end
function η(model::ogSAFTModel, V, T, z)
∑z = ∑(z)
x = z/∑z
m = model.params.segment.values
m̄ = ∑(x .* m)
return N_A*∑z*π/6/V*@f(dx)^3*m̄
end
function g_hsij(model::ogSAFTModel, V, T, z, i, j)
di = @f(d,i)
dj = @f(d,j)
ζ2 = @f(ζn,2)
ζ3 = @f(ζn,3)
return 1/(1-ζ3) + di*dj/(di+dj)*3ζ2/(1-ζ3)^2 + (di*dj/(di+dj))^2*2ζ2^2/(1-ζ3)^3
end
function a_hs(model::ogSAFTModel, V, T, z)
ηx = @f(η)
return (4ηx-3ηx^2)/(1-ηx)^2
end
function a_disp(model::ogSAFTModel, V, T, z)
m = model.params.segment.values
σ = model.params.sigma.values
ϵ = model.params.epsilon.values
x = z/∑(z)
comps = @comps
ϵx = ∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3*ϵ[i,j] for i ∈ comps for j ∈ comps)/∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3 for i ∈ comps for j ∈ comps)
ηx = @f(η)
ρR = (6/sqrt(2)/π)*ηx
TR = T/ϵx
a_seg1 = ρR*evalpoly(ρR,(-8.5959,-4.5424,-2.1268,10.285))
a_seg2 = ρR*evalpoly(ρR,(-1.9075,9.9724,-22.216,+15.904))
return 1/TR*(a_seg1+a_seg2/TR)
end
## This is an attempt to make Twu et al.'s segment term; does not work yet
# function a_seg(model::ogSAFTModel, V, T, z)
# Bo = [1.31024,-3.80636,-2.37238,-0.798872,0.198761,1.47014,-0.786367,2.19465,5.75429,6.7822,-9.94904,-15.6162,86.643,18.527,9.04755,8.68282]
# Ba = [3.79621,-6.14518,-1.84061,-2.77584,-0.420751,-5.66128,19.2144,-3.33443,33.0305,-5.90766,9.55619,-197.883,-61.2535,77.1802,-6.57983,0.0]
# ω = 0.011
# A = []
# for i ∈ 1:16
# append!(A,Bo[i]+ω*Ba[i])
# end
# m = model.params.segment
# σ = model.params.sigma
# ϵ = model.params.epsilon
# x = z/∑(z[i] for i ∈ @comps)
# mx = ∑(x[i]*m[i] for i ∈ @comps)
# σx = (∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3 for i ∈ @comps for j ∈ @comps)/mx^2)^(1/3)
# ϵx = (∑(x[i]*x[j]*m[i]*m[j]*σ[i,j]^3*ϵ[i,j] for i ∈ @comps for j ∈ @comps)/mx^2)/σx^3
#
# ρ = ∑(z)*N_A/V
# # ρR = ρ*mx*σx^3
# ηx = η(model,V, T, z)
# ρR = (6/π)*ηx
# TR = T/ϵx
#
# u_res = (A[2]/TR+2A[3]/TR^2+3A[4]/TR^3+5A[5]/TR^5)*ρR+1/2*A[7]/TR*ρR^2+
# 1/(2*A[16])*(3A[9]/TR^3+4A[10]/TR^4+5A[11]/TR^5)*(1-exp(-A[16]*ρR^2))+
# 1/(2*A[16]^2)*(3A[12]/TR^3+4A[13]/TR^4+5A[14]/TR^5)*(1-(1+A[16]*ρR^2)*exp(-A[16]*ρR^2))+
# 1/5*A[15]/TR*ρR^5
# s_res = -log(ρ*R̄*T)-(A[1]-A[3]/TR^2-2A[4]/TR^3-4A[5]/TR^5)*ρR-1/2*A[6]*ρR^2-1/3*A[8]*ρR^3+
# 1/(2*A[16])*(2A[9]/TR^3+3A[10]/TR^4+4A[11]/TR^5)*(1-exp(-A[16]*ρR^2))+
# 1/(2*A[16]^2)*(2A[12]/TR^3+3A[13]/TR^4+4A[14]/TR^5)*(1-(1+A[16]*ρR^2)*exp(-A[16]*ρR^2))
# a_res = u_res-s_res
# return mx*(a_res)
# end
function a_assoc(model::ogSAFTModel, V, T, z)
x = z/∑(z)
X_ = @f(X)
n = model.allcomponentnsites
return ∑(x[i]*∑(n[i][a] * (log(X_[i][a]) - X_[i][a]/2 + 0.5) for a ∈ @sites(i)) for i ∈ @comps)
end
function X(model::ogSAFTModel, V, T, z)
_1 = one(V+T+first(z))
∑z = ∑(z)
x = z/∑z
ρ = N_A*∑z/V
itermax = 100
dampingfactor = 0.5
error = 1.
tol = model.absolutetolerance
iter = 1
X_ = [[_1 for a ∈ @sites(i)] for i ∈ @comps]
X_old = deepcopy(X_)
while error > tol
iter > itermax && error("X has failed to converge after $itermax iterations")
for i ∈ @comps, a ∈ @sites(i)
rhs = 1/(1+∑(ρ*x[j]*∑(X_old[j][b]*@f(Δ,i,j,a,b) for b ∈ @sites(j)) for j ∈ @comps))
X_[i][a] = (1-dampingfactor)*X_old[i][a] + dampingfactor*rhs
end
error = sqrt(∑(∑((X_[i][a] - X_old[i][a])^2 for a ∈ @sites(i)) for i ∈ @comps))
for i = 1:length(X_)
X_old[i] .= X_[i]
end
iter += 1
end
return X_
end
function Δ(model::ogSAFTModel, V, T, z, i, j, a, b)
ϵ_assoc = model.params.epsilon_assoc.values
κ = model.params.bondvol.values
g = @f(g_hsij,i,j)
return (@f(d,i)+@f(d,j))^3/2^3*g*(exp(ϵ_assoc[i,j][a,b]/T)-1)*κ[i,j][a,b]
end
| [
7249,
267,
70,
4090,
37,
7250,
41158,
1279,
25,
412,
78,
4303,
41158,
198,
220,
220,
220,
10618,
3712,
28008,
22973,
90,
43879,
2414,
92,
198,
220,
220,
220,
264,
13495,
3712,
47,
958,
22973,
90,
43879,
2414,
92,
198,
220,
220,
220,
304,
862,
33576,
3712,
47,
958,
22973,
90,
43879,
2414,
92,
198,
220,
220,
220,
304,
862,
33576,
62,
562,
420,
3712,
8021,
420,
22973,
90,
43879,
2414,
92,
198,
220,
220,
220,
6314,
10396,
3712,
8021,
420,
22973,
90,
43879,
2414,
92,
198,
437,
198,
198,
397,
8709,
2099,
267,
70,
4090,
9792,
17633,
1279,
25,
37630,
51,
17633,
886,
198,
31,
3605,
19849,
267,
70,
4090,
9792,
267,
70,
4090,
9792,
17633,
267,
70,
4090,
37,
7250,
41158,
198,
198,
39344,
267,
70,
4090,
9792,
198,
8818,
267,
70,
4090,
9792,
7,
5589,
3906,
26,
7306,
19849,
28,
26416,
7390,
2287,
11,
2836,
17946,
602,
28,
10100,
58,
4357,
7306,
62,
7220,
17946,
602,
28,
10100,
58,
4357,
15942,
577,
28,
9562,
8,
198,
220,
220,
220,
42287,
796,
651,
37266,
7,
5589,
3906,
11,
14631,
4090,
9792,
14,
519,
4090,
9792,
8973,
26,
2836,
17946,
602,
28,
7220,
17946,
602,
11,
15942,
577,
28,
19011,
577,
8,
198,
220,
220,
220,
10618,
796,
42287,
14692,
76,
8973,
198,
220,
220,
220,
479,
796,
42287,
14692,
74,
8973,
198,
220,
220,
220,
42287,
14692,
82,
13495,
1,
4083,
27160,
764,
9,
28,
352,
36,
12,
940,
198,
220,
220,
220,
264,
13495,
796,
264,
13495,
62,
43,
382,
429,
89,
33,
861,
2978,
313,
7,
37266,
14692,
82,
13495,
8973,
8,
198,
220,
220,
220,
304,
862,
33576,
796,
304,
862,
33576,
62,
43,
382,
429,
89,
33,
861,
2978,
313,
7,
37266,
14692,
538,
18217,
261,
33116,
479,
8,
198,
220,
220,
220,
304,
862,
33576,
62,
562,
420,
796,
42287,
14692,
538,
18217,
261,
62,
562,
420,
8973,
198,
220,
220,
220,
6314,
10396,
796,
42287,
14692,
65,
623,
10396,
8973,
198,
220,
220,
220,
5043,
796,
14413,
22973,
7,
35,
713,
7203,
68,
1,
5218,
42287,
14692,
77,
62,
68,
33116,
366,
39,
1,
5218,
42287,
14692,
77,
62,
39,
8973,
4008,
628,
220,
220,
220,
25555,
37266,
796,
267,
70,
4090,
37,
7250,
41158,
7,
325,
5154,
11,
264,
13495,
11,
304,
862,
33576,
11,
304,
862,
33576,
62,
562,
420,
11,
6314,
10396,
8,
198,
220,
220,
220,
10288,
796,
14631,
83,
24313,
8973,
628,
220,
220,
220,
2746,
796,
267,
70,
4090,
9792,
7,
8002,
1886,
37266,
11,
5043,
11,
7306,
19849,
26,
7306,
62,
7220,
17946,
602,
28,
485,
282,
62,
7220,
17946,
602,
11,
10288,
28,
5420,
4972,
11,
15942,
577,
28,
19011,
577,
8,
198,
220,
220,
220,
1441,
2746,
198,
437,
198,
198,
8818,
257,
62,
411,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
1441,
2488,
69,
7,
64,
62,
325,
70,
8,
1343,
2488,
69,
7,
64,
62,
7983,
8,
1343,
2488,
69,
7,
64,
62,
562,
420,
8,
198,
437,
198,
198,
8818,
257,
62,
325,
70,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
8,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
285,
136,
226,
796,
18872,
239,
7,
87,
764,
9,
285,
8,
198,
220,
220,
220,
1441,
285,
136,
226,
9,
7,
31,
69,
7,
64,
62,
11994,
47762,
31,
69,
7,
64,
62,
6381,
79,
4008,
198,
437,
198,
198,
8818,
257,
62,
7983,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
8,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
1441,
18872,
239,
7,
87,
58,
72,
60,
9,
7,
16,
12,
76,
58,
72,
12962,
9,
6404,
7,
31,
69,
7,
70,
62,
11994,
2926,
11,
1312,
11,
1312,
4008,
329,
1312,
18872,
230,
2488,
785,
862,
8,
198,
437,
198,
198,
8818,
288,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
11,
1312,
8,
198,
220,
220,
220,
18074,
113,
796,
2746,
13,
37266,
13,
538,
18217,
261,
13,
10989,
363,
27160,
198,
220,
220,
220,
18074,
225,
796,
2746,
13,
37266,
13,
82,
13495,
13,
10989,
363,
27160,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
277,
76,
796,
657,
13,
37187,
32883,
10,
15,
13,
36629,
31496,
9,
7,
76,
58,
72,
45297,
16,
20679,
76,
58,
72,
60,
198,
220,
220,
220,
277,
796,
357,
16,
10,
15,
13,
1959,
3324,
51,
14,
139,
113,
58,
72,
12962,
29006,
16,
10,
15,
13,
2091,
24136,
51,
14,
139,
113,
58,
72,
48688,
38353,
9,
7,
51,
14,
139,
113,
58,
72,
12962,
61,
17,
8,
198,
220,
220,
220,
1441,
18074,
225,
58,
72,
60,
1635,
277,
198,
437,
198,
198,
8818,
44332,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
8,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
18074,
225,
796,
2746,
13,
37266,
13,
82,
13495,
13,
27160,
198,
220,
220,
220,
18074,
113,
796,
2746,
13,
37266,
13,
538,
18217,
261,
13,
27160,
198,
220,
220,
220,
552,
82,
796,
2488,
785,
862,
198,
220,
220,
220,
285,
87,
796,
18872,
239,
7,
87,
764,
9,
285,
8,
198,
220,
220,
220,
18074,
225,
87,
796,
357,
24861,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
329,
1312,
18872,
230,
552,
82,
329,
474,
18872,
230,
552,
82,
20679,
36802,
61,
17,
8,
61,
7,
16,
14,
18,
8,
198,
220,
220,
220,
18074,
113,
87,
796,
357,
24861,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
9,
139,
113,
58,
72,
11,
73,
60,
329,
1312,
18872,
230,
552,
82,
329,
474,
18872,
230,
552,
82,
20679,
36802,
61,
17,
20679,
38392,
87,
61,
18,
628,
220,
220,
220,
277,
76,
796,
657,
13,
37187,
32883,
10,
15,
13,
36629,
31496,
9,
7,
36802,
12,
16,
20679,
36802,
198,
220,
220,
220,
277,
796,
357,
16,
10,
15,
13,
1959,
3324,
51,
14,
139,
113,
87,
20679,
7,
16,
10,
15,
13,
2091,
24136,
51,
14,
139,
113,
87,
10,
38353,
9,
7,
51,
14,
139,
113,
87,
8,
61,
17,
8,
198,
220,
220,
220,
1441,
18074,
225,
87,
1635,
277,
198,
437,
198,
198,
8818,
7377,
114,
77,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
11,
299,
8,
198,
220,
220,
220,
18872,
239,
89,
796,
18872,
239,
7,
89,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
89,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
1441,
399,
62,
32,
9,
24861,
239,
89,
9,
46582,
14,
21,
14,
53,
1635,
18872,
239,
7,
87,
58,
72,
60,
9,
76,
58,
72,
60,
9,
31,
69,
7,
67,
11,
1312,
8,
61,
77,
329,
1312,
18872,
230,
2488,
785,
862,
8,
198,
437,
198,
198,
8818,
7377,
115,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
18872,
239,
89,
796,
18872,
239,
7,
89,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
89,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
285,
136,
226,
796,
18872,
239,
7,
87,
764,
9,
285,
8,
198,
220,
220,
220,
1441,
399,
62,
32,
9,
24861,
239,
89,
9,
46582,
14,
21,
14,
53,
9,
31,
69,
7,
34350,
8,
61,
18,
9,
76,
136,
226,
198,
437,
198,
198,
8818,
308,
62,
11994,
2926,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
11,
1312,
11,
474,
8,
198,
220,
220,
220,
2566,
796,
2488,
69,
7,
67,
11,
72,
8,
198,
220,
220,
220,
42625,
796,
2488,
69,
7,
67,
11,
73,
8,
198,
220,
220,
220,
7377,
114,
17,
796,
2488,
69,
7,
138,
114,
77,
11,
17,
8,
198,
220,
220,
220,
7377,
114,
18,
796,
2488,
69,
7,
138,
114,
77,
11,
18,
8,
198,
220,
220,
220,
1441,
352,
29006,
16,
12,
138,
114,
18,
8,
1343,
2566,
9,
28241,
29006,
10989,
10,
28241,
27493,
18,
138,
114,
17,
29006,
16,
12,
138,
114,
18,
8,
61,
17,
1343,
357,
10989,
9,
28241,
29006,
10989,
10,
28241,
4008,
61,
17,
9,
17,
138,
114,
17,
61,
17,
29006,
16,
12,
138,
114,
18,
8,
61,
18,
198,
437,
198,
198,
8818,
257,
62,
11994,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
7377,
115,
87,
796,
2488,
69,
7,
138,
115,
8,
198,
220,
220,
220,
1441,
357,
19,
138,
115,
87,
12,
18,
138,
115,
87,
61,
17,
20679,
7,
16,
12,
138,
115,
87,
8,
61,
17,
198,
437,
198,
198,
8818,
257,
62,
6381,
79,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
13,
27160,
198,
220,
220,
220,
18074,
225,
796,
2746,
13,
37266,
13,
82,
13495,
13,
27160,
198,
220,
220,
220,
18074,
113,
796,
2746,
13,
37266,
13,
538,
18217,
261,
13,
27160,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
8,
198,
220,
220,
220,
552,
82,
796,
2488,
785,
862,
198,
220,
220,
220,
18074,
113,
87,
796,
18872,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
9,
139,
113,
58,
72,
11,
73,
60,
329,
1312,
18872,
230,
552,
82,
329,
474,
18872,
230,
552,
82,
20679,
24861,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
329,
1312,
18872,
230,
552,
82,
329,
474,
18872,
230,
552,
82,
8,
198,
220,
220,
220,
7377,
115,
87,
796,
2488,
69,
7,
138,
115,
8,
198,
220,
220,
220,
18074,
223,
49,
796,
357,
21,
14,
31166,
17034,
7,
17,
20679,
46582,
27493,
138,
115,
87,
198,
220,
220,
220,
7579,
796,
309,
14,
139,
113,
87,
198,
220,
220,
220,
257,
62,
325,
70,
16,
796,
18074,
223,
49,
9,
18206,
35428,
7,
33643,
49,
11,
32590,
23,
13,
3270,
3270,
12095,
19,
13,
4051,
1731,
12095,
17,
13,
1065,
3104,
11,
940,
13,
26279,
4008,
198,
220,
220,
220,
257,
62,
325,
70,
17,
796,
18074,
223,
49,
9,
18206,
35428,
7,
33643,
49,
11,
32590,
16,
13,
3829,
2425,
11,
24,
13,
5607,
1731,
12095,
1828,
13,
20666,
11,
10,
1314,
13,
24,
3023,
4008,
198,
220,
220,
220,
1441,
352,
14,
5446,
9,
7,
64,
62,
325,
70,
16,
10,
64,
62,
325,
70,
17,
14,
5446,
8,
198,
437,
198,
198,
2235,
770,
318,
281,
2230,
284,
787,
1815,
84,
2123,
435,
2637,
82,
10618,
3381,
26,
857,
407,
670,
1865,
198,
2,
2163,
257,
62,
325,
70,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
2,
220,
220,
220,
220,
3248,
796,
685,
16,
13,
26717,
1731,
12095,
18,
13,
37988,
2623,
12095,
17,
13,
2718,
23721,
12095,
15,
13,
3720,
3459,
4761,
11,
15,
13,
22337,
4304,
16,
11,
16,
13,
2857,
28645,
12095,
15,
13,
46302,
27824,
11,
17,
13,
22913,
2996,
11,
20,
13,
2425,
11785,
11,
21,
13,
3695,
1828,
12095,
24,
13,
48581,
3023,
12095,
1314,
13,
21,
25061,
11,
4521,
13,
41813,
11,
1507,
13,
20,
1983,
11,
24,
13,
3023,
38172,
11,
23,
13,
3104,
32568,
60,
198,
2,
220,
220,
220,
220,
8999,
796,
685,
18,
13,
41060,
2481,
12095,
21,
13,
18781,
1507,
12095,
16,
13,
40675,
5333,
12095,
17,
13,
34483,
5705,
12095,
15,
13,
27211,
48365,
12095,
20,
13,
2791,
12762,
11,
1129,
13,
17,
18444,
12095,
18,
13,
2091,
34938,
11,
2091,
13,
15,
22515,
12095,
20,
13,
24,
2998,
2791,
11,
24,
13,
37864,
1129,
12095,
24991,
13,
49287,
12095,
5333,
13,
1495,
2327,
11,
3324,
13,
1507,
2999,
12095,
21,
13,
3553,
4089,
18,
11,
15,
13,
15,
60,
198,
2,
220,
220,
220,
220,
18074,
231,
796,
657,
13,
28555,
198,
2,
220,
220,
220,
220,
317,
796,
17635,
198,
2,
220,
220,
220,
220,
329,
1312,
18872,
230,
352,
25,
1433,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
32,
11,
16635,
58,
72,
48688,
49535,
9,
34458,
58,
72,
12962,
198,
2,
220,
220,
220,
220,
886,
198,
2,
220,
220,
220,
220,
285,
796,
2746,
13,
37266,
13,
325,
5154,
198,
2,
220,
220,
220,
220,
18074,
225,
796,
2746,
13,
37266,
13,
82,
13495,
198,
2,
220,
220,
220,
220,
18074,
113,
796,
2746,
13,
37266,
13,
538,
18217,
261,
198,
2,
220,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
58,
72,
60,
329,
1312,
18872,
230,
2488,
785,
862,
8,
198,
2,
220,
220,
220,
220,
285,
87,
796,
18872,
239,
7,
87,
58,
72,
60,
9,
76,
58,
72,
60,
329,
1312,
18872,
230,
2488,
785,
862,
8,
198,
2,
220,
220,
220,
220,
18074,
225,
87,
796,
357,
24861,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
329,
1312,
18872,
230,
2488,
785,
862,
329,
474,
18872,
230,
2488,
785,
862,
20679,
36802,
61,
17,
8,
61,
7,
16,
14,
18,
8,
198,
2,
220,
220,
220,
220,
18074,
113,
87,
796,
357,
24861,
239,
7,
87,
58,
72,
60,
9,
87,
58,
73,
60,
9,
76,
58,
72,
60,
9,
76,
58,
73,
60,
9,
38392,
58,
72,
11,
73,
60,
61,
18,
9,
139,
113,
58,
72,
11,
73,
60,
329,
1312,
18872,
230,
2488,
785,
862,
329,
474,
18872,
230,
2488,
785,
862,
20679,
36802,
61,
17,
20679,
38392,
87,
61,
18,
198,
2,
198,
2,
220,
220,
220,
220,
18074,
223,
220,
796,
18872,
239,
7,
89,
27493,
45,
62,
32,
14,
53,
198,
2,
220,
220,
220,
220,
1303,
18074,
223,
49,
796,
18074,
223,
9,
36802,
9,
38392,
87,
61,
18,
198,
2,
220,
220,
220,
220,
7377,
115,
87,
796,
7377,
115,
7,
19849,
11,
53,
11,
309,
11,
1976,
8,
198,
2,
220,
220,
220,
220,
18074,
223,
49,
796,
357,
21,
14,
46582,
27493,
138,
115,
87,
198,
2,
220,
220,
220,
220,
7579,
796,
309,
14,
139,
113,
87,
198,
2,
198,
2,
220,
220,
220,
220,
334,
62,
411,
796,
357,
32,
58,
17,
60,
14,
5446,
10,
17,
32,
58,
18,
60,
14,
5446,
61,
17,
10,
18,
32,
58,
19,
60,
14,
5446,
61,
18,
10,
20,
32,
58,
20,
60,
14,
5446,
61,
20,
27493,
33643,
49,
10,
16,
14,
17,
9,
32,
58,
22,
60,
14,
5446,
9,
33643,
49,
61,
17,
10,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
29006,
17,
9,
32,
58,
1433,
12962,
9,
7,
18,
32,
58,
24,
60,
14,
5446,
61,
18,
10,
19,
32,
58,
940,
60,
14,
5446,
61,
19,
10,
20,
32,
58,
1157,
60,
14,
5446,
61,
20,
27493,
7,
16,
12,
11201,
32590,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
4008,
10,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
29006,
17,
9,
32,
58,
1433,
60,
61,
17,
27493,
7,
18,
32,
58,
1065,
60,
14,
5446,
61,
18,
10,
19,
32,
58,
1485,
60,
14,
5446,
61,
19,
10,
20,
32,
58,
1415,
60,
14,
5446,
61,
20,
27493,
7,
16,
30420,
16,
10,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
27493,
11201,
32590,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
4008,
10,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
14,
20,
9,
32,
58,
1314,
60,
14,
5446,
9,
33643,
49,
61,
20,
198,
2,
220,
220,
220,
220,
264,
62,
411,
796,
532,
6404,
7,
33643,
9,
49,
136,
226,
9,
51,
13219,
7,
32,
58,
16,
45297,
32,
58,
18,
60,
14,
5446,
61,
17,
12,
17,
32,
58,
19,
60,
14,
5446,
61,
18,
12,
19,
32,
58,
20,
60,
14,
5446,
61,
20,
27493,
33643,
49,
12,
16,
14,
17,
9,
32,
58,
21,
60,
9,
33643,
49,
61,
17,
12,
16,
14,
18,
9,
32,
58,
23,
60,
9,
33643,
49,
61,
18,
10,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
29006,
17,
9,
32,
58,
1433,
12962,
9,
7,
17,
32,
58,
24,
60,
14,
5446,
61,
18,
10,
18,
32,
58,
940,
60,
14,
5446,
61,
19,
10,
19,
32,
58,
1157,
60,
14,
5446,
61,
20,
27493,
7,
16,
12,
11201,
32590,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
4008,
10,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
29006,
17,
9,
32,
58,
1433,
60,
61,
17,
27493,
7,
17,
32,
58,
1065,
60,
14,
5446,
61,
18,
10,
18,
32,
58,
1485,
60,
14,
5446,
61,
19,
10,
19,
32,
58,
1415,
60,
14,
5446,
61,
20,
27493,
7,
16,
30420,
16,
10,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
27493,
11201,
32590,
32,
58,
1433,
60,
9,
33643,
49,
61,
17,
4008,
198,
2,
220,
220,
220,
220,
257,
62,
411,
796,
334,
62,
411,
12,
82,
62,
411,
198,
2,
220,
220,
220,
220,
1441,
285,
87,
9,
7,
64,
62,
411,
8,
198,
2,
886,
198,
198,
8818,
257,
62,
562,
420,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
7,
89,
8,
198,
220,
220,
220,
1395,
62,
796,
2488,
69,
7,
55,
8,
198,
220,
220,
220,
299,
796,
2746,
13,
439,
42895,
5907,
2737,
198,
220,
220,
220,
1441,
18872,
239,
7,
87,
58,
72,
60,
9,
24861,
239,
7,
77,
58,
72,
7131,
64,
60,
1635,
357,
6404,
7,
55,
62,
58,
72,
7131,
64,
12962,
532,
1395,
62,
58,
72,
7131,
64,
60,
14,
17,
1343,
657,
13,
20,
8,
329,
257,
18872,
230,
2488,
49315,
7,
72,
4008,
329,
1312,
18872,
230,
2488,
785,
862,
8,
198,
437,
198,
198,
8818,
1395,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
8,
198,
220,
220,
220,
4808,
16,
796,
530,
7,
53,
10,
51,
10,
11085,
7,
89,
4008,
198,
220,
220,
220,
18872,
239,
89,
796,
18872,
239,
7,
89,
8,
198,
220,
220,
220,
2124,
796,
1976,
14,
24861,
239,
89,
198,
220,
220,
220,
18074,
223,
796,
399,
62,
32,
9,
24861,
239,
89,
14,
53,
198,
220,
220,
220,
340,
7780,
897,
796,
1802,
198,
220,
220,
220,
21151,
278,
31412,
796,
657,
13,
20,
198,
220,
220,
220,
4049,
796,
352,
13,
198,
220,
220,
220,
284,
75,
796,
2746,
13,
8937,
349,
315,
316,
37668,
198,
220,
220,
220,
11629,
796,
352,
198,
220,
220,
220,
1395,
62,
796,
16410,
62,
16,
329,
257,
18872,
230,
2488,
49315,
7,
72,
15437,
329,
1312,
18872,
230,
2488,
785,
862,
60,
198,
220,
220,
220,
1395,
62,
727,
796,
2769,
30073,
7,
55,
62,
8,
198,
220,
220,
220,
981,
4049,
1875,
284,
75,
198,
220,
220,
220,
220,
220,
220,
220,
11629,
1875,
340,
7780,
897,
11405,
4049,
7203,
55,
468,
4054,
284,
47873,
706,
720,
2676,
9806,
34820,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
18872,
230,
2488,
785,
862,
11,
257,
18872,
230,
2488,
49315,
7,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9529,
82,
796,
352,
29006,
16,
10,
24861,
239,
7,
33643,
9,
87,
58,
73,
60,
9,
24861,
239,
7,
55,
62,
727,
58,
73,
7131,
65,
60,
9,
31,
69,
7,
138,
242,
11,
72,
11,
73,
11,
64,
11,
65,
8,
329,
275,
18872,
230,
2488,
49315,
7,
73,
4008,
329,
474,
18872,
230,
2488,
785,
862,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
58,
72,
7131,
64,
60,
796,
357,
16,
12,
67,
37843,
31412,
27493,
55,
62,
727,
58,
72,
7131,
64,
60,
1343,
21151,
278,
31412,
9,
81,
11994,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
796,
19862,
17034,
7,
24861,
239,
7,
24861,
239,
19510,
55,
62,
58,
72,
7131,
64,
60,
532,
1395,
62,
727,
58,
72,
7131,
64,
12962,
61,
17,
329,
257,
18872,
230,
2488,
49315,
7,
72,
4008,
329,
1312,
18872,
230,
2488,
785,
862,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
13664,
7,
55,
62,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
727,
58,
72,
60,
764,
28,
1395,
62,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
11629,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1395,
62,
198,
437,
198,
198,
8818,
37455,
7,
19849,
3712,
519,
4090,
9792,
17633,
11,
569,
11,
309,
11,
1976,
11,
1312,
11,
474,
11,
257,
11,
275,
8,
198,
220,
220,
220,
18074,
113,
62,
562,
420,
796,
2746,
13,
37266,
13,
538,
18217,
261,
62,
562,
420,
13,
27160,
198,
220,
220,
220,
7377,
118,
796,
2746,
13,
37266,
13,
65,
623,
10396,
13,
27160,
198,
220,
220,
220,
308,
796,
2488,
69,
7,
70,
62,
11994,
2926,
11,
72,
11,
73,
8,
198,
220,
220,
220,
1441,
4275,
69,
7,
67,
11,
72,
47762,
31,
69,
7,
67,
11,
73,
4008,
61,
18,
14,
17,
61,
18,
9,
70,
9,
7,
11201,
7,
139,
113,
62,
562,
420,
58,
72,
11,
73,
7131,
64,
11,
65,
60,
14,
51,
13219,
16,
27493,
43000,
58,
72,
11,
73,
7131,
64,
11,
65,
60,
198,
437,
198
] | 1.665188 | 3,832 |
@testset "ReificationDifferentFrom2Indicator: $(fct_type), type $(T)" for fct_type in ["vector of variables", "vector affine function"], T in [Int, Float64]
base_model = if T == Int
IntDifferentFromIndicatorMILPModel{Int}()
elseif T == Float64
FloatDifferentFromIndicatorMILPModel{Float64}()
else
@assert false
end
mock = MOIU.MockOptimizer(base_model)
model = COIB.ReificationDifferentFrom2Indicator{T}(mock)
if T == Int
@test MOI.supports_constraint(model, MOI.VariableIndex, MOI.Integer)
end
@test MOI.supports_constraint(
model,
MOI.ScalarAffineFunction{T},
MOI.EqualTo{T},
)
@test MOIB.supports_bridging_constraint(
model,
MOI.VectorAffineFunction{T},
CP.Reification{CP.DifferentFrom{T}},
)
@test MOIB.supports_bridging_constraint(
model,
MOI.VectorOfVariables,
CP.Reification{CP.DifferentFrom{T}},
)
x, _ = MOI.add_constrained_variable(model, MOI.ZeroOne())
if T == Int
y, _ = MOI.add_constrained_variable(model, MOI.Integer())
elseif T == Float64
y = MOI.add_variable(model)
end
fct = if fct_type == "vector of variables"
MOI.VectorOfVariables([x, y])
elseif fct_type == "vector affine function"
MOIU.vectorize([x, y])
else
@assert false
end
c = MOI.add_constraint(model, fct, CP.Reification(CP.DifferentFrom(zero(T))))
@test MOI.is_valid(model, x)
@test MOI.is_valid(model, y)
@test MOI.is_valid(model, c)
bridge = MOIBC.bridges(model)[MOI.ConstraintIndex{MOI.VectorOfVariables, CP.Reification{CP.DifferentFrom{T}}}(-1)]
@testset "Bridge properties" begin
@test MOIBC.concrete_bridge_type(typeof(bridge), MOI.VectorOfVariables, CP.Reification{CP.DifferentFrom{T}}) == typeof(bridge)
@test MOIB.added_constrained_variable_types(typeof(bridge)) == Tuple{Type}[]
@test MOIB.added_constraint_types(typeof(bridge)) == [
(MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ONE, MOI.EqualTo{T}}),
(MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ZERO, CP.DifferentFrom{T}}),
]
@test MOI.get(bridge, MOI.NumberOfVariables()) == 0
@test MOI.get(bridge, MOI.NumberOfConstraints{MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ONE, MOI.EqualTo{T}}}()) == 1
@test MOI.get(bridge, MOI.NumberOfConstraints{MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ZERO, CP.DifferentFrom{T}}}()) == 1
@test MOI.get(bridge, MOI.ListOfConstraintIndices{MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ONE, MOI.EqualTo{T}}}()) == [bridge.indic_true]
@test MOI.get(bridge, MOI.ListOfConstraintIndices{MOI.VectorAffineFunction{T}, MOI.Indicator{MOI.ACTIVATE_ON_ZERO, CP.DifferentFrom{T}}}()) == [bridge.indic_false]
end
@testset "Constraint: indicator if true" begin
@test MOI.is_valid(model, bridge.indic_true)
f = MOI.get(model, MOI.ConstraintFunction(), bridge.indic_true)
@test length(f.terms) == 2
@test MOI.get(model, MOI.ConstraintSet(), bridge.indic_true) == MOI.Indicator{MOI.ACTIVATE_ON_ONE}(MOI.EqualTo(zero(T)))
@test f.constants == [one(T), zero(T)]
t1 = f.terms[1]
@test t1.output_index == 1
@test t1.scalar_term.coefficient === -one(T)
@test t1.scalar_term.variable == x
t2 = f.terms[2]
@test t2.output_index == 2
@test t2.scalar_term.coefficient === one(T)
@test t2.scalar_term.variable == y
end
@testset "Constraint: indicator if false" begin
@test MOI.is_valid(model, bridge.indic_false)
f = MOI.get(model, MOI.ConstraintFunction(), bridge.indic_false)
@test length(f.terms) == 2
@test MOI.get(model, MOI.ConstraintSet(), bridge.indic_false) == MOI.Indicator{MOI.ACTIVATE_ON_ZERO}(CP.DifferentFrom(zero(T)))
@test f.constants == [one(T), zero(T)]
t1 = f.terms[1]
@test t1.output_index == 1
@test t1.scalar_term.coefficient === -one(T)
@test t1.scalar_term.variable == x
t2 = f.terms[2]
@test t2.output_index == 2
@test t2.scalar_term.coefficient === one(T)
@test t2.scalar_term.variable == y
end
end
| [
31,
9288,
2617,
366,
3041,
2649,
40341,
4863,
17,
5497,
26407,
25,
29568,
69,
310,
62,
4906,
828,
2099,
29568,
51,
16725,
329,
277,
310,
62,
4906,
287,
14631,
31364,
286,
9633,
1600,
366,
31364,
1527,
500,
2163,
33116,
309,
287,
685,
5317,
11,
48436,
2414,
60,
198,
220,
220,
220,
2779,
62,
19849,
796,
611,
309,
6624,
2558,
198,
220,
220,
220,
220,
220,
220,
220,
2558,
40341,
4863,
5497,
26407,
44,
4146,
47,
17633,
90,
5317,
92,
3419,
198,
220,
220,
220,
2073,
361,
309,
6624,
48436,
2414,
198,
220,
220,
220,
220,
220,
220,
220,
48436,
40341,
4863,
5497,
26407,
44,
4146,
47,
17633,
90,
43879,
2414,
92,
3419,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
3991,
198,
220,
220,
220,
886,
198,
220,
220,
220,
15290,
796,
13070,
44958,
13,
44,
735,
27871,
320,
7509,
7,
8692,
62,
19849,
8,
198,
220,
220,
220,
2746,
796,
7375,
9865,
13,
3041,
2649,
40341,
4863,
17,
5497,
26407,
90,
51,
92,
7,
76,
735,
8,
628,
220,
220,
220,
611,
309,
6624,
2558,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
18608,
2096,
62,
1102,
2536,
2913,
7,
19849,
11,
13070,
40,
13,
43015,
15732,
11,
13070,
40,
13,
46541,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
9288,
13070,
40,
13,
18608,
2096,
62,
1102,
2536,
2913,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
3351,
282,
283,
35191,
500,
22203,
90,
51,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
36,
13255,
2514,
90,
51,
5512,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
2488,
9288,
13070,
9865,
13,
18608,
2096,
62,
10236,
2667,
62,
1102,
2536,
2913,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
16932,
13,
3041,
2649,
90,
8697,
13,
40341,
4863,
90,
51,
92,
5512,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
2488,
9288,
13070,
9865,
13,
18608,
2096,
62,
10236,
2667,
62,
1102,
2536,
2913,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
38469,
5189,
23907,
2977,
11,
198,
220,
220,
220,
220,
220,
220,
220,
16932,
13,
3041,
2649,
90,
8697,
13,
40341,
4863,
90,
51,
92,
5512,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2124,
11,
4808,
796,
13070,
40,
13,
2860,
62,
1102,
2536,
1328,
62,
45286,
7,
19849,
11,
13070,
40,
13,
28667,
3198,
28955,
198,
220,
220,
220,
611,
309,
6624,
2558,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
4808,
796,
13070,
40,
13,
2860,
62,
1102,
2536,
1328,
62,
45286,
7,
19849,
11,
13070,
40,
13,
46541,
28955,
198,
220,
220,
220,
2073,
361,
309,
6624,
48436,
2414,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
13070,
40,
13,
2860,
62,
45286,
7,
19849,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
277,
310,
796,
611,
277,
310,
62,
4906,
6624,
366,
31364,
286,
9633,
1,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
38469,
5189,
23907,
2977,
26933,
87,
11,
331,
12962,
198,
220,
220,
220,
2073,
361,
277,
310,
62,
4906,
6624,
366,
31364,
1527,
500,
2163,
1,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
44958,
13,
31364,
1096,
26933,
87,
11,
331,
12962,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
3991,
198,
220,
220,
220,
886,
198,
220,
220,
220,
269,
796,
13070,
40,
13,
2860,
62,
1102,
2536,
2913,
7,
19849,
11,
277,
310,
11,
16932,
13,
3041,
2649,
7,
8697,
13,
40341,
4863,
7,
22570,
7,
51,
35514,
628,
220,
220,
220,
2488,
9288,
13070,
40,
13,
271,
62,
12102,
7,
19849,
11,
2124,
8,
198,
220,
220,
220,
2488,
9288,
13070,
40,
13,
271,
62,
12102,
7,
19849,
11,
331,
8,
198,
220,
220,
220,
2488,
9288,
13070,
40,
13,
271,
62,
12102,
7,
19849,
11,
269,
8,
628,
220,
220,
220,
7696,
796,
13070,
40,
2749,
13,
10236,
3212,
7,
19849,
38381,
11770,
40,
13,
3103,
2536,
2913,
15732,
90,
11770,
40,
13,
38469,
5189,
23907,
2977,
11,
16932,
13,
3041,
2649,
90,
8697,
13,
40341,
4863,
90,
51,
42535,
32590,
16,
15437,
628,
220,
220,
220,
2488,
9288,
2617,
366,
37385,
6608,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
2749,
13,
1102,
38669,
62,
9458,
62,
4906,
7,
4906,
1659,
7,
9458,
828,
13070,
40,
13,
38469,
5189,
23907,
2977,
11,
16932,
13,
3041,
2649,
90,
8697,
13,
40341,
4863,
90,
51,
11709,
8,
6624,
2099,
1659,
7,
9458,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
9865,
13,
29373,
62,
1102,
2536,
1328,
62,
45286,
62,
19199,
7,
4906,
1659,
7,
9458,
4008,
6624,
309,
29291,
90,
6030,
92,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
9865,
13,
29373,
62,
1102,
2536,
2913,
62,
19199,
7,
4906,
1659,
7,
9458,
4008,
6624,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
11651,
11,
13070,
40,
13,
36,
13255,
2514,
90,
51,
11709,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
57,
34812,
11,
16932,
13,
40341,
4863,
90,
51,
11709,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
9458,
11,
13070,
40,
13,
15057,
5189,
23907,
2977,
28955,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
9458,
11,
13070,
40,
13,
15057,
5189,
3103,
2536,
6003,
90,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
11651,
11,
13070,
40,
13,
36,
13255,
2514,
90,
51,
42535,
28955,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
9458,
11,
13070,
40,
13,
15057,
5189,
3103,
2536,
6003,
90,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
57,
34812,
11,
16932,
13,
40341,
4863,
90,
51,
42535,
28955,
6624,
352,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
9458,
11,
13070,
40,
13,
8053,
5189,
3103,
2536,
2913,
5497,
1063,
90,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
11651,
11,
13070,
40,
13,
36,
13255,
2514,
90,
51,
42535,
28955,
6624,
685,
9458,
13,
521,
291,
62,
7942,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
9458,
11,
13070,
40,
13,
8053,
5189,
3103,
2536,
2913,
5497,
1063,
90,
11770,
40,
13,
38469,
35191,
500,
22203,
90,
51,
5512,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
57,
34812,
11,
16932,
13,
40341,
4863,
90,
51,
42535,
28955,
6624,
685,
9458,
13,
521,
291,
62,
9562,
60,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3103,
2536,
2913,
25,
16916,
611,
2081,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
271,
62,
12102,
7,
19849,
11,
7696,
13,
521,
291,
62,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
796,
13070,
40,
13,
1136,
7,
19849,
11,
13070,
40,
13,
3103,
2536,
2913,
22203,
22784,
7696,
13,
521,
291,
62,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
4129,
7,
69,
13,
38707,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
19849,
11,
13070,
40,
13,
3103,
2536,
2913,
7248,
22784,
7696,
13,
521,
291,
62,
7942,
8,
6624,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
11651,
92,
7,
11770,
40,
13,
36,
13255,
2514,
7,
22570,
7,
51,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
13,
9979,
1187,
6624,
685,
505,
7,
51,
828,
6632,
7,
51,
15437,
628,
220,
220,
220,
220,
220,
220,
220,
256,
16,
796,
277,
13,
38707,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
22915,
62,
9630,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
1416,
282,
283,
62,
4354,
13,
1073,
16814,
24844,
532,
505,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
1416,
282,
283,
62,
4354,
13,
45286,
6624,
2124,
628,
220,
220,
220,
220,
220,
220,
220,
256,
17,
796,
277,
13,
38707,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
22915,
62,
9630,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
1416,
282,
283,
62,
4354,
13,
1073,
16814,
24844,
530,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
1416,
282,
283,
62,
4354,
13,
45286,
6624,
331,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
3103,
2536,
2913,
25,
16916,
611,
3991,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
271,
62,
12102,
7,
19849,
11,
7696,
13,
521,
291,
62,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
796,
13070,
40,
13,
1136,
7,
19849,
11,
13070,
40,
13,
3103,
2536,
2913,
22203,
22784,
7696,
13,
521,
291,
62,
9562,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
4129,
7,
69,
13,
38707,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
13070,
40,
13,
1136,
7,
19849,
11,
13070,
40,
13,
3103,
2536,
2913,
7248,
22784,
7696,
13,
521,
291,
62,
9562,
8,
6624,
13070,
40,
13,
5497,
26407,
90,
11770,
40,
13,
10659,
3824,
6158,
62,
1340,
62,
57,
34812,
92,
7,
8697,
13,
40341,
4863,
7,
22570,
7,
51,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
13,
9979,
1187,
6624,
685,
505,
7,
51,
828,
6632,
7,
51,
15437,
628,
220,
220,
220,
220,
220,
220,
220,
256,
16,
796,
277,
13,
38707,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
22915,
62,
9630,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
1416,
282,
283,
62,
4354,
13,
1073,
16814,
24844,
532,
505,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
16,
13,
1416,
282,
283,
62,
4354,
13,
45286,
6624,
2124,
628,
220,
220,
220,
220,
220,
220,
220,
256,
17,
796,
277,
13,
38707,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
22915,
62,
9630,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
1416,
282,
283,
62,
4354,
13,
1073,
16814,
24844,
530,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
256,
17,
13,
1416,
282,
283,
62,
4354,
13,
45286,
6624,
331,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.165586 | 2,005 |
"""
Now if we pad to the start on the left hand side
and read to the right we see that the bit strings are all uniquely
identifiable. For example if I see 101, I know that represents
#9 and isn't just a subset for something else.
0, 010
4, 1100
5, 1101
6, 011
7, 00
8, 100
9, 101
10, 1110
11, 11110
16, 111110
17, 1111110
18, 1111111
Note however that bits are never processed left to right, they are
processed right to left. So for processing of our data we need to reverse
the bits. Also note that this does not mean swapping the first and last bit
in a byte since the bit strings are of a given length.
So here is a side by side of the original values and what we need.
Orig New Level & Index New as # and hex
0, 010 - 010 L3 - 1 2
4, 1100 - 0011 L4 - 1 3
5, 1101 - 1011 L4 - 2 11 b
6, 011 - 110 L3 - 2 6
7, 00 - 00 L2 - 1 0
8, 100 - 001 L3 - 3 1
9, 101 - 101 L3 - 4 5
10, 1110 - 0111 L4 - 3 7
11, 11110 - 01111 L5 - 1
16, 111110 - 011111 L6 - 1
17, 1111110 - 0111111 L7 - 1
18, 1111111 - 1111111 L7 - 2
"""
| [
37811,
198,
3844,
611,
356,
14841,
284,
262,
923,
319,
262,
1364,
1021,
1735,
198,
392,
1100,
284,
262,
826,
356,
766,
326,
262,
1643,
13042,
389,
477,
24139,
198,
738,
16823,
13,
1114,
1672,
611,
314,
766,
8949,
11,
314,
760,
326,
6870,
198,
2,
24,
290,
2125,
470,
655,
257,
24637,
329,
1223,
2073,
13,
628,
657,
11,
5534,
15,
198,
604,
11,
36566,
198,
642,
11,
1367,
486,
198,
718,
11,
5534,
16,
198,
767,
11,
3571,
198,
807,
11,
1802,
198,
860,
11,
8949,
198,
940,
11,
1367,
940,
198,
1157,
11,
13374,
940,
198,
1433,
11,
13374,
11442,
198,
1558,
11,
13374,
1157,
940,
198,
1507,
11,
13374,
26259,
198,
198,
6425,
2158,
326,
10340,
389,
1239,
13686,
1364,
284,
826,
11,
484,
389,
198,
14681,
276,
826,
284,
1364,
13,
1406,
329,
7587,
286,
674,
1366,
356,
761,
284,
9575,
198,
1169,
10340,
13,
4418,
3465,
326,
428,
857,
407,
1612,
38869,
262,
717,
290,
938,
1643,
198,
259,
257,
18022,
1201,
262,
1643,
13042,
389,
286,
257,
1813,
4129,
13,
198,
198,
2396,
994,
318,
257,
1735,
416,
1735,
286,
262,
2656,
3815,
290,
644,
356,
761,
13,
628,
220,
220,
220,
6913,
220,
220,
220,
220,
220,
220,
220,
220,
968,
220,
220,
5684,
1222,
12901,
220,
220,
220,
968,
355,
1303,
290,
17910,
198,
657,
11,
220,
220,
220,
220,
5534,
15,
532,
220,
220,
220,
220,
5534,
15,
220,
220,
406,
18,
532,
352,
220,
220,
220,
220,
220,
220,
220,
220,
220,
362,
198,
604,
11,
220,
220,
220,
36566,
532,
220,
220,
220,
3571,
1157,
220,
220,
220,
220,
220,
220,
406,
19,
532,
352,
220,
220,
220,
220,
220,
513,
198,
642,
11,
220,
220,
220,
1367,
486,
532,
220,
220,
220,
8949,
16,
220,
220,
220,
220,
220,
220,
406,
19,
532,
362,
220,
220,
220,
220,
220,
1367,
275,
198,
718,
11,
220,
220,
220,
220,
5534,
16,
532,
220,
220,
220,
220,
9796,
220,
220,
406,
18,
532,
362,
220,
220,
220,
220,
220,
220,
220,
220,
220,
718,
198,
767,
11,
220,
220,
220,
220,
220,
3571,
532,
220,
220,
220,
220,
220,
3571,
406,
17,
532,
352,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
198,
807,
11,
220,
220,
220,
220,
1802,
532,
220,
220,
220,
220,
3571,
16,
220,
220,
406,
18,
532,
513,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
198,
860,
11,
220,
220,
220,
220,
8949,
532,
220,
220,
220,
220,
8949,
220,
220,
406,
18,
532,
604,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
198,
940,
11,
220,
220,
220,
1367,
940,
532,
220,
220,
220,
5534,
1157,
220,
220,
220,
220,
220,
220,
406,
19,
532,
513,
220,
220,
220,
220,
220,
767,
198,
1157,
11,
220,
220,
13374,
940,
532,
220,
220,
5534,
16243,
406,
20,
532,
352,
198,
1433,
11,
220,
13374,
11442,
532,
220,
5534,
26259,
406,
21,
532,
352,
198,
1558,
11,
13374,
1157,
940,
532,
5534,
1157,
16243,
406,
22,
532,
352,
198,
1507,
11,
13374,
26259,
532,
13374,
26259,
406,
22,
532,
362,
628,
198,
37811,
198
] | 2.276515 | 528 |
### A Pluto.jl notebook ###
# v0.14.3
using Markdown
using InteractiveUtils
# ╔═╡ fae2ba1d-02ab-4cee-8c83-abda1e6a098c
begin
import Pkg
Pkg.activate(mktempdir())
Pkg.add([
Pkg.PackageSpec(name="CSV"),
Pkg.PackageSpec(name="DataFrames")#,
#Pkg.PackageSpec(name="EchelleCCFs")
])
Pkg.develop(name="EchelleCCFs")
using CSV, DataFrames
using EchelleCCFs
end
# ╔═╡ 0cbdbb36-4874-4862-823f-6bf0fbd4e60c
begin
neid_data_path = "/gpfs/group/ebf11/default/ebf11/neid_solar/data/"
proc_version_path = "v0.7develop20210501/solar"
path_start = joinpath(neid_data_path,proc_version_path)
output_path_base = "/gpfs/group/ebf11/default/ebf11/neid_solar/data/outputs2"
proj_dir = "/gpfs/group/ebf11/default/ebf11/neid_solar/code/NeidSolarScripts.jl"
script = joinpath(proj_dir,"examples","calc_order_ccfs_using_continuum_new.jl")
end
# ╔═╡ a62db4ef-c321-4dfe-b167-19c29ce45484
html"""<style>
main {
max-width: 1000px;
}
"""
# ╔═╡ bd273401-b32e-44a6-a490-92575ed05ae9
begin
df = DataFrame(:manifest_filename=>String[], :output_filename=>String[],:num_lines=>Int64[])
for (root, dirs, files) in walkdir(output_path_base)
for file in files
if !occursin(r"manifest\.csv",file) continue end
#println("root = ", root)
#println("dirs = ", dirs)
#println("files = ", files)
manifest_fn = joinpath(root,file)
output_fn = joinpath(root,"daily_ccfs.jld2")
nlines = countlines(manifest_fn)
push!(df, Dict(:manifest_filename=>manifest_fn, :output_filename=>output_fn, :num_lines=>nlines))
end
end
df
end
# ╔═╡ d48ad3e0-14db-47b4-84db-4db10e1f0114
begin
num_threads = 1
min_order = 56
max_order = 108
#line_list_filename = joinpath(ENV["JULIA_DEPOT_PATH"],"dev/EchelleCCFs/data/masks","espresso+neid_mask_97_to_108.mas")
#line_list_filename = joinpath(pkgdir(EchelleCCFs),"data/masks","espresso+neid_mask_97_to_108.mas")
line_list_filename = "/gpfs/group/ebf11/default/ebf11/neid_solar/code/NeidSolarScripts.jl/scripts/linelist_20210208.csv"
sed_filename = joinpath(proj_dir,"data", "neidMaster_HR_SmoothLampSED_20210101.fits")
anchors_filename = "/gpfs/group/ebf11/default/ebf11/neid_solar/code/NeidSolarScripts.jl/scripts/anchors_20210208.jld2"
end
# ╔═╡ 8366a29a-1857-410f-aea3-87049e6248f6
pkgdir(EchelleCCFs)
# ╔═╡ e08192ce-9f0d-4e6f-a4aa-864f093dfcdd
#df[1,:manifest_filename]
df[1,:output_filename]
# ╔═╡ 73d682e9-cfa2-45b5-ba9e-b7cbf157b31d
begin
last_job_id = 0
function gen_job_name(; prefix::String = "auto")
global last_job_id
last_job_id += 1
return prefix * string(last_job_id)
end
end
# ╔═╡ ed421e9d-2d2a-4af6-b832-591f38e092ad
function make_pbs_scr(;proj_dir::String, script::String, input_fn::String, output_fn::String, job_name::String = gen_job_name() )
pbs_scr = """
#!/bin/bash
#PBS -N $job_name
#PBS -l nodes=1:ppn=$num_threads
#PBS -l pmem=4000mb
#PBS -l walltime=2:00:00
###PBS -A ebf11_c_g_vc_default
###PBS -q hprc
#PBS -A cyberlamp
#PBS -l feature=rhel7
#PBS -j oe
#PBS -M ebf11@psu.edu
# Get started
echo Job started on `hostname` at `date`
# Go to the correct place
cd \$PBS_O_WORKDIR
#cd $proj_dir
# Run the job itself
echo ~/julia --project=$proj_dir -t $num_threads $script $input_fn $output_fn --line_list_filename $line_list_filename --sed_filename $sed_filename --orders_to_use=$min_order $max_order --overwrite
~/julia --project=$proj_dir -t $num_threads $script $input_fn $output_fn --line_list_filename $line_list_filename --sed_filename $sed_filename --anchors_filename $anchors_filename --orders_to_use=$min_order $max_order --apply_continuum_normalization --overwrite
# Finish up
echo Job Ended at `date`
"""
return pbs_scr
end
# ╔═╡ b5769171-0b0d-4e48-ae4e-be8c4995b4f2
"output_filename" ∈ names(df)
# ╔═╡ 8a7ff512-39aa-4b76-b3fd-f02ac410c85b
function make_pbs_multi_scr(;proj_dir::String, script::String, df::DataFrame, job_name::String = "auto", num_threads::Integer=1, pmem::String ="8000mb", walltime::String ="23:59:00", min_row::Integer = 1, max_row::Integer = size(df,1) )
@assert "manifest_filename" ∈ names(df)
@assert "output_filename" ∈ names(df)
@assert size(df,1) >=1
pbs_hdr_str = """
#!/bin/bash
#PBS -N $job_name
#PBS -l nodes=1:ppn=$num_threads
#PBS -l pmem=$pmem
#PBS -l walltime=$walltime
###PBS -A ebf11_c_g_vc_default
###PBS -q hprc
#PBS -A cyberlamp
#PBS -l feature=rhel7
#PBS -j oe
#PBS -M ebf11@psu.edu
# Get started
echo Job started on `hostname` at `date`
# Go to the correct place
cd \$PBS_O_WORKDIR
#cd $proj_dir
"""
pbs_str = pbs_hdr_str
for (i,row) in enumerate(eachrow(df))
if !(min_row<=i<=max_row) continue end
input_fn = df[i,"manifest_filename"]
output_fn = df[i,"output_filename"]
pbs_cmd_str = """
# Run the job itself
~/julia --project=$proj_dir -t $num_threads $script $input_fn $output_fn --line_list_filename $line_list_filename --sed_filename $sed_filename --anchors_filename $anchors_filename --orders_to_use=$min_order $max_order --apply_continuum_normalization --overwrite
"""
pbs_str = pbs_str * pbs_cmd_str
# If want to do 2
output2_fn = replace(output_fn,"daily_ccfs"=>"daily_ccfs_norm=sed")
pbs_cmd_str = """
# Run the job itself
~/julia --project=$proj_dir -t $num_threads $script $input_fn $output2_fn --line_list_filename $line_list_filename --sed_filename $sed_filename --anchors_filename $anchors_filename --orders_to_use=$min_order $max_order
"""
pbs_str = pbs_str * pbs_cmd_str
end
pbs_ftr_str = """
# Finish up
echo Job Ended at `date`
"""
pbs_str = pbs_str * pbs_ftr_str
return pbs_str
end
# ╔═╡ 962d7e9e-4fdd-4080-82bf-f0175002ca19
open("submit_calc_ccfs.sh","w") do f_submit
for row in eachrow(df)
if row.num_lines <= 1 continue end
#=
if isfile(joinpath(row.output_dir, "manifest.csv"))
println("# Skipping ", row.output_dir)
continue
end
=#
m = match(r"(\d+)$", dirname(row.manifest_filename))
dir = m.captures[1]
pbs_scr = make_pbs_scr(proj_dir=proj_dir, script=script, input_fn=row.manifest_filename, output_fn=row.output_filename, job_name = "ccfs_"*dir)
#println("Created script: ")
#println(pbs_scr)
#println("Echoing script: ")
open("ccfs_$dir.pbs","w") do f_pbs
print(f_pbs, pbs_scr)
end
println(f_submit, "qsub ccfs_$dir.pbs")
#println(f_submit, "sleep $sleep_interval")
#output = readchomp(pipeline(`echo $pbs_scr`, `qsub`))
#println("output = ")
#println(output)
end
end # submit_calc_ccfs.sh
# ╔═╡ 487c2c86-e56f-4823-be3c-05c076dbbe89
open("submit_calc_ccfs_multi.sh","w") do f_submit
files_per_jobs = 4
for i in reverse(1:files_per_jobs:size(df,1))
#if row.num_lines <= 1 continue end
#=
if isfile(joinpath(row.output_dir, "manifest.csv"))
println("# Skipping ", row.output_dir)
continue
end
=#
#m = match(r"(\d+)$", dirname(row.manifest_filename))
#dir = m.captures[1]
pbs_scr = make_pbs_multi_scr(proj_dir=proj_dir, script=script, df=df, min_row=i, max_row=min(i+files_per_jobs-1,size(df,1)), job_name = "ccfs_"*string(i), num_threads=num_threads)
#println("Created script: ")
#println(pbs_scr)
#println("Echoing script: ")
open("ccfs_" *string(i) * ".pbs","w") do f_pbs
print(f_pbs, pbs_scr)
end
println(f_submit, "qsub ccfs_" *string(i) *".pbs")
#println(f_submit, "sleep $sleep_interval")
#output = readchomp(pipeline(`echo $pbs_scr`, `qsub`))
#println("output = ")
#println(output)
end
end # submit_calc_ccfs.sh|
# ╔═╡ Cell order:
# ╠═fae2ba1d-02ab-4cee-8c83-abda1e6a098c
# ╠═0cbdbb36-4874-4862-823f-6bf0fbd4e60c
# ╠═a62db4ef-c321-4dfe-b167-19c29ce45484
# ╠═bd273401-b32e-44a6-a490-92575ed05ae9
# ╠═d48ad3e0-14db-47b4-84db-4db10e1f0114
# ╠═8366a29a-1857-410f-aea3-87049e6248f6
# ╠═e08192ce-9f0d-4e6f-a4aa-864f093dfcdd
# ╠═73d682e9-cfa2-45b5-ba9e-b7cbf157b31d
# ╠═ed421e9d-2d2a-4af6-b832-591f38e092ad
# ╠═b5769171-0b0d-4e48-ae4e-be8c4995b4f2
# ╠═8a7ff512-39aa-4b76-b3fd-f02ac410c85b
# ╠═962d7e9e-4fdd-4080-82bf-f0175002ca19
# ╠═487c2c86-e56f-4823-be3c-05c076dbbe89
| [
21017,
317,
32217,
13,
20362,
20922,
44386,
198,
2,
410,
15,
13,
1415,
13,
18,
198,
198,
3500,
2940,
2902,
198,
3500,
21365,
18274,
4487,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
277,
3609,
17,
7012,
16,
67,
12,
2999,
397,
12,
19,
344,
68,
12,
23,
66,
5999,
12,
397,
6814,
16,
68,
21,
64,
2931,
23,
66,
198,
27471,
198,
197,
11748,
350,
10025,
198,
197,
47,
10025,
13,
39022,
7,
28015,
29510,
15908,
28955,
198,
197,
47,
10025,
13,
2860,
26933,
198,
197,
197,
197,
47,
10025,
13,
27813,
22882,
7,
3672,
2625,
7902,
53,
12340,
220,
198,
197,
197,
197,
47,
10025,
13,
27813,
22882,
7,
3672,
2625,
6601,
35439,
4943,
2,
11,
198,
197,
197,
197,
2,
47,
10025,
13,
27813,
22882,
7,
3672,
2625,
36,
29232,
293,
4093,
42388,
4943,
198,
197,
197,
197,
12962,
198,
197,
47,
10025,
13,
16244,
7,
3672,
2625,
36,
29232,
293,
4093,
42388,
4943,
198,
197,
3500,
44189,
11,
6060,
35439,
198,
197,
3500,
412,
29232,
293,
4093,
42388,
220,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
657,
21101,
9945,
65,
2623,
12,
2780,
4524,
12,
2780,
5237,
12,
23,
1954,
69,
12,
21,
19881,
15,
69,
17457,
19,
68,
1899,
66,
198,
27471,
198,
197,
710,
312,
62,
7890,
62,
6978,
796,
12813,
31197,
9501,
14,
8094,
14,
1765,
69,
1157,
14,
12286,
14,
1765,
69,
1157,
14,
710,
312,
62,
82,
6192,
14,
7890,
30487,
198,
197,
36942,
62,
9641,
62,
6978,
796,
366,
85,
15,
13,
22,
16244,
19004,
13348,
486,
14,
82,
6192,
1,
198,
197,
6978,
62,
9688,
796,
4654,
6978,
7,
710,
312,
62,
7890,
62,
6978,
11,
36942,
62,
9641,
62,
6978,
8,
198,
197,
22915,
62,
6978,
62,
8692,
796,
12813,
31197,
9501,
14,
8094,
14,
1765,
69,
1157,
14,
12286,
14,
1765,
69,
1157,
14,
710,
312,
62,
82,
6192,
14,
7890,
14,
22915,
82,
17,
1,
198,
197,
1676,
73,
62,
15908,
796,
12813,
31197,
9501,
14,
8094,
14,
1765,
69,
1157,
14,
12286,
14,
1765,
69,
1157,
14,
710,
312,
62,
82,
6192,
14,
8189,
14,
8199,
312,
38825,
7391,
82,
13,
20362,
1,
198,
197,
12048,
796,
4654,
6978,
7,
1676,
73,
62,
15908,
553,
1069,
12629,
2430,
9948,
66,
62,
2875,
62,
535,
9501,
62,
3500,
62,
18487,
13814,
62,
3605,
13,
20362,
4943,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
257,
5237,
9945,
19,
891,
12,
66,
36453,
12,
19,
67,
5036,
12,
65,
21940,
12,
1129,
66,
1959,
344,
2231,
34137,
198,
6494,
37811,
27,
7635,
29,
198,
12417,
1391,
198,
220,
220,
220,
3509,
12,
10394,
25,
8576,
8416,
26,
198,
92,
198,
37811,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
275,
67,
1983,
2682,
486,
12,
65,
2624,
68,
12,
2598,
64,
21,
12,
64,
31503,
12,
46351,
2425,
276,
2713,
3609,
24,
198,
27471,
220,
198,
197,
7568,
796,
6060,
19778,
7,
25,
805,
8409,
62,
34345,
14804,
10100,
58,
4357,
1058,
22915,
62,
34345,
14804,
10100,
58,
4357,
25,
22510,
62,
6615,
14804,
5317,
2414,
58,
12962,
198,
197,
1640,
357,
15763,
11,
288,
17062,
11,
3696,
8,
287,
2513,
15908,
7,
22915,
62,
6978,
62,
8692,
8,
198,
197,
197,
1640,
2393,
287,
3696,
198,
197,
197,
197,
361,
5145,
13966,
1834,
259,
7,
81,
1,
805,
8409,
17405,
40664,
1600,
7753,
8,
220,
2555,
886,
220,
198,
197,
197,
220,
220,
197,
2,
35235,
7203,
15763,
796,
33172,
6808,
8,
198,
197,
197,
220,
220,
197,
2,
35235,
7203,
15908,
82,
796,
33172,
288,
17062,
8,
198,
197,
197,
197,
2,
35235,
7203,
16624,
796,
33172,
3696,
8,
198,
197,
197,
197,
805,
8409,
62,
22184,
796,
4654,
6978,
7,
15763,
11,
7753,
8,
198,
197,
197,
197,
22915,
62,
22184,
796,
4654,
6978,
7,
15763,
553,
29468,
62,
535,
9501,
13,
73,
335,
17,
4943,
198,
197,
197,
197,
77,
6615,
796,
954,
6615,
7,
805,
8409,
62,
22184,
8,
198,
197,
197,
197,
14689,
0,
7,
7568,
11,
360,
713,
7,
25,
805,
8409,
62,
34345,
14804,
805,
8409,
62,
22184,
11,
1058,
22915,
62,
34345,
14804,
22915,
62,
22184,
11,
1058,
22510,
62,
6615,
14804,
77,
6615,
4008,
198,
220,
220,
220,
220,
197,
437,
198,
197,
437,
198,
197,
7568,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
288,
2780,
324,
18,
68,
15,
12,
1415,
9945,
12,
2857,
65,
19,
12,
5705,
9945,
12,
19,
9945,
940,
68,
16,
69,
486,
1415,
198,
27471,
198,
197,
22510,
62,
16663,
82,
796,
352,
198,
197,
1084,
62,
2875,
796,
7265,
198,
197,
9806,
62,
2875,
796,
15495,
198,
197,
2,
1370,
62,
4868,
62,
34345,
796,
4654,
6978,
7,
1677,
53,
14692,
41,
6239,
3539,
62,
46162,
2394,
62,
34219,
34171,
7959,
14,
36,
29232,
293,
4093,
42388,
14,
7890,
14,
5356,
591,
2430,
9774,
33852,
10,
710,
312,
62,
27932,
62,
5607,
62,
1462,
62,
15711,
13,
5356,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1370,
62,
4868,
62,
34345,
796,
4654,
6978,
7,
35339,
15908,
7,
36,
29232,
293,
4093,
42388,
27267,
7890,
14,
5356,
591,
2430,
9774,
33852,
10,
710,
312,
62,
27932,
62,
5607,
62,
1462,
62,
15711,
13,
5356,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
4868,
62,
34345,
796,
12813,
31197,
9501,
14,
8094,
14,
1765,
69,
1157,
14,
12286,
14,
1765,
69,
1157,
14,
710,
312,
62,
82,
6192,
14,
8189,
14,
8199,
312,
38825,
7391,
82,
13,
20362,
14,
46521,
14,
2815,
46331,
62,
19004,
940,
21315,
13,
40664,
1,
198,
197,
36622,
62,
34345,
796,
4654,
6978,
7,
1676,
73,
62,
15908,
553,
7890,
1600,
366,
710,
312,
18254,
62,
17184,
62,
7556,
5226,
43,
696,
50,
1961,
62,
1238,
2481,
486,
486,
13,
21013,
4943,
197,
198,
220,
220,
220,
220,
220,
220,
220,
43360,
62,
34345,
796,
12813,
31197,
9501,
14,
8094,
14,
1765,
69,
1157,
14,
12286,
14,
1765,
69,
1157,
14,
710,
312,
62,
82,
6192,
14,
8189,
14,
8199,
312,
38825,
7391,
82,
13,
20362,
14,
46521,
14,
3702,
669,
62,
19004,
940,
21315,
13,
73,
335,
17,
1,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
807,
32459,
64,
1959,
64,
12,
1507,
3553,
12,
33289,
69,
12,
44705,
18,
12,
46951,
2920,
68,
21,
23045,
69,
21,
198,
35339,
15908,
7,
36,
29232,
293,
4093,
42388,
8,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
304,
2919,
17477,
344,
12,
24,
69,
15,
67,
12,
19,
68,
21,
69,
12,
64,
19,
7252,
12,
39570,
69,
2931,
18,
7568,
66,
1860,
198,
2,
7568,
58,
16,
11,
25,
805,
8409,
62,
34345,
60,
198,
7568,
58,
16,
11,
25,
22915,
62,
34345,
60,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
8854,
67,
43950,
68,
24,
12,
12993,
64,
17,
12,
2231,
65,
20,
12,
7012,
24,
68,
12,
65,
22,
66,
19881,
18458,
65,
3132,
67,
198,
27471,
198,
197,
12957,
62,
21858,
62,
312,
796,
657,
198,
197,
8818,
2429,
62,
21858,
62,
3672,
7,
26,
21231,
3712,
10100,
796,
366,
23736,
4943,
198,
197,
220,
3298,
938,
62,
21858,
62,
312,
198,
197,
220,
938,
62,
21858,
62,
312,
15853,
352,
198,
197,
220,
1441,
21231,
1635,
4731,
7,
12957,
62,
21858,
62,
312,
8,
198,
197,
437,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
1225,
46636,
68,
24,
67,
12,
17,
67,
17,
64,
12,
19,
1878,
21,
12,
65,
23,
2624,
12,
48952,
69,
2548,
68,
2931,
17,
324,
198,
8818,
787,
62,
79,
1443,
62,
1416,
81,
7,
26,
1676,
73,
62,
15908,
3712,
10100,
11,
4226,
3712,
10100,
11,
5128,
62,
22184,
3712,
10100,
11,
5072,
62,
22184,
3712,
10100,
11,
1693,
62,
3672,
3712,
10100,
796,
2429,
62,
21858,
62,
3672,
3419,
1267,
198,
220,
220,
279,
1443,
62,
1416,
81,
796,
37227,
198,
2,
48443,
8800,
14,
41757,
198,
2,
47,
4462,
532,
45,
720,
21858,
62,
3672,
198,
2,
47,
4462,
532,
75,
13760,
28,
16,
25,
381,
77,
43641,
22510,
62,
16663,
82,
198,
2,
47,
4462,
532,
75,
9114,
368,
28,
27559,
2022,
198,
2,
47,
4462,
532,
75,
3355,
2435,
28,
17,
25,
405,
25,
405,
198,
21017,
47,
4462,
532,
32,
304,
19881,
1157,
62,
66,
62,
70,
62,
28435,
62,
12286,
198,
21017,
47,
4462,
532,
80,
289,
1050,
66,
198,
2,
47,
4462,
532,
32,
10075,
75,
696,
198,
2,
47,
4462,
532,
75,
3895,
28,
81,
2978,
22,
198,
2,
47,
4462,
532,
73,
267,
68,
198,
2,
47,
4462,
532,
44,
304,
19881,
1157,
31,
862,
84,
13,
15532,
198,
198,
2,
3497,
2067,
198,
30328,
15768,
2067,
319,
4600,
4774,
3672,
63,
379,
4600,
4475,
63,
198,
198,
2,
1514,
284,
262,
3376,
1295,
198,
10210,
3467,
3,
47,
4462,
62,
46,
62,
33249,
34720,
198,
2,
10210,
720,
1676,
73,
62,
15908,
198,
198,
2,
5660,
262,
1693,
2346,
198,
30328,
47795,
73,
43640,
1377,
16302,
43641,
1676,
73,
62,
15908,
532,
83,
720,
22510,
62,
16663,
82,
720,
12048,
720,
15414,
62,
22184,
720,
22915,
62,
22184,
1377,
1370,
62,
4868,
62,
34345,
720,
1370,
62,
4868,
62,
34345,
220,
1377,
36622,
62,
34345,
720,
36622,
62,
34345,
220,
1377,
6361,
62,
1462,
62,
1904,
43641,
1084,
62,
2875,
720,
9806,
62,
2875,
1377,
2502,
13564,
198,
93,
14,
73,
43640,
1377,
16302,
43641,
1676,
73,
62,
15908,
532,
83,
720,
22510,
62,
16663,
82,
720,
12048,
720,
15414,
62,
22184,
720,
22915,
62,
22184,
1377,
1370,
62,
4868,
62,
34345,
720,
1370,
62,
4868,
62,
34345,
220,
1377,
36622,
62,
34345,
720,
36622,
62,
34345,
220,
1377,
3702,
669,
62,
34345,
720,
3702,
669,
62,
34345,
220,
1377,
6361,
62,
1462,
62,
1904,
43641,
1084,
62,
2875,
720,
9806,
62,
2875,
1377,
39014,
62,
18487,
13814,
62,
11265,
1634,
220,
1377,
2502,
13564,
198,
198,
2,
32585,
510,
198,
30328,
15768,
47624,
379,
4600,
4475,
63,
198,
37811,
198,
220,
1441,
279,
1443,
62,
1416,
81,
198,
437,
628,
198,
2,
2343,
243,
242,
28670,
22880,
94,
275,
3553,
3388,
27192,
12,
15,
65,
15,
67,
12,
19,
68,
2780,
12,
3609,
19,
68,
12,
1350,
23,
66,
28324,
20,
65,
19,
69,
17,
198,
1,
22915,
62,
34345,
1,
18872,
230,
3891,
7,
7568,
8,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
807,
64,
22,
487,
25836,
12,
2670,
7252,
12,
19,
65,
4304,
12,
65,
18,
16344,
12,
69,
2999,
330,
33289,
66,
5332,
65,
198,
198,
8818,
787,
62,
79,
1443,
62,
41684,
62,
1416,
81,
7,
26,
1676,
73,
62,
15908,
3712,
10100,
11,
4226,
3712,
10100,
11,
47764,
3712,
6601,
19778,
11,
1693,
62,
3672,
3712,
10100,
796,
366,
23736,
1600,
997,
62,
16663,
82,
3712,
46541,
28,
16,
11,
9114,
368,
3712,
10100,
796,
1,
33942,
2022,
1600,
3355,
2435,
3712,
10100,
796,
1,
1954,
25,
3270,
25,
405,
1600,
949,
62,
808,
3712,
46541,
796,
352,
11,
3509,
62,
808,
3712,
46541,
796,
2546,
7,
7568,
11,
16,
8,
1267,
220,
198,
197,
31,
30493,
366,
805,
8409,
62,
34345,
1,
18872,
230,
3891,
7,
7568,
8,
198,
197,
31,
30493,
366,
22915,
62,
34345,
1,
18872,
230,
3891,
7,
7568,
8,
198,
220,
220,
220,
2488,
30493,
2546,
7,
7568,
11,
16,
8,
18189,
16,
198,
197,
198,
197,
79,
1443,
62,
71,
7109,
62,
2536,
796,
37227,
198,
2,
48443,
8800,
14,
41757,
198,
2,
47,
4462,
532,
45,
720,
21858,
62,
3672,
198,
2,
47,
4462,
532,
75,
13760,
28,
16,
25,
381,
77,
43641,
22510,
62,
16663,
82,
198,
2,
47,
4462,
532,
75,
9114,
368,
43641,
4426,
368,
198,
2,
47,
4462,
532,
75,
3355,
2435,
43641,
11930,
2435,
198,
21017,
47,
4462,
532,
32,
304,
19881,
1157,
62,
66,
62,
70,
62,
28435,
62,
12286,
198,
21017,
47,
4462,
532,
80,
289,
1050,
66,
198,
2,
47,
4462,
532,
32,
10075,
75,
696,
198,
2,
47,
4462,
532,
75,
3895,
28,
81,
2978,
22,
198,
2,
47,
4462,
532,
73,
267,
68,
198,
2,
47,
4462,
532,
44,
304,
19881,
1157,
31,
862,
84,
13,
15532,
198,
198,
2,
3497,
2067,
198,
30328,
15768,
2067,
319,
4600,
4774,
3672,
63,
379,
4600,
4475,
63,
198,
198,
2,
1514,
284,
262,
3376,
1295,
198,
10210,
3467,
3,
47,
4462,
62,
46,
62,
33249,
34720,
198,
2,
10210,
720,
1676,
73,
62,
15908,
198,
37811,
198,
220,
197,
79,
1443,
62,
2536,
796,
279,
1443,
62,
71,
7109,
62,
2536,
198,
197,
1640,
357,
72,
11,
808,
8,
287,
27056,
378,
7,
27379,
808,
7,
7568,
4008,
198,
197,
197,
361,
5145,
7,
1084,
62,
808,
27,
28,
72,
27,
28,
9806,
62,
808,
8,
2555,
886,
198,
197,
197,
15414,
62,
22184,
796,
47764,
58,
72,
553,
805,
8409,
62,
34345,
8973,
198,
197,
197,
22915,
62,
22184,
796,
47764,
58,
72,
553,
22915,
62,
34345,
8973,
198,
197,
197,
79,
1443,
62,
28758,
62,
2536,
796,
37227,
198,
2,
5660,
262,
1693,
2346,
198,
93,
14,
73,
43640,
1377,
16302,
43641,
1676,
73,
62,
15908,
532,
83,
720,
22510,
62,
16663,
82,
720,
12048,
720,
15414,
62,
22184,
720,
22915,
62,
22184,
1377,
1370,
62,
4868,
62,
34345,
720,
1370,
62,
4868,
62,
34345,
220,
1377,
36622,
62,
34345,
720,
36622,
62,
34345,
220,
1377,
3702,
669,
62,
34345,
720,
3702,
669,
62,
34345,
220,
1377,
6361,
62,
1462,
62,
1904,
43641,
1084,
62,
2875,
720,
9806,
62,
2875,
1377,
39014,
62,
18487,
13814,
62,
11265,
1634,
220,
1377,
2502,
13564,
198,
198,
37811,
198,
197,
197,
79,
1443,
62,
2536,
796,
279,
1443,
62,
2536,
1635,
279,
1443,
62,
28758,
62,
2536,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
765,
284,
466,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
17,
62,
22184,
796,
6330,
7,
22915,
62,
22184,
553,
29468,
62,
535,
9501,
1,
14804,
1,
29468,
62,
535,
9501,
62,
27237,
28,
36622,
4943,
198,
197,
197,
79,
1443,
62,
28758,
62,
2536,
796,
37227,
198,
2,
5660,
262,
1693,
2346,
198,
93,
14,
73,
43640,
1377,
16302,
43641,
1676,
73,
62,
15908,
532,
83,
720,
22510,
62,
16663,
82,
720,
12048,
720,
15414,
62,
22184,
720,
22915,
17,
62,
22184,
1377,
1370,
62,
4868,
62,
34345,
720,
1370,
62,
4868,
62,
34345,
220,
1377,
36622,
62,
34345,
720,
36622,
62,
34345,
220,
1377,
3702,
669,
62,
34345,
720,
3702,
669,
62,
34345,
220,
1377,
6361,
62,
1462,
62,
1904,
43641,
1084,
62,
2875,
720,
9806,
62,
2875,
220,
198,
198,
37811,
198,
197,
197,
79,
1443,
62,
2536,
796,
279,
1443,
62,
2536,
1635,
279,
1443,
62,
28758,
62,
2536,
628,
197,
437,
198,
79,
1443,
62,
701,
81,
62,
2536,
796,
37227,
198,
197,
2,
32585,
510,
198,
30328,
15768,
47624,
379,
4600,
4475,
63,
198,
37811,
628,
197,
79,
1443,
62,
2536,
796,
279,
1443,
62,
2536,
1635,
279,
1443,
62,
701,
81,
62,
2536,
198,
220,
1441,
279,
1443,
62,
2536,
198,
437,
628,
198,
2,
2343,
243,
242,
28670,
22880,
94,
860,
5237,
67,
22,
68,
24,
68,
12,
19,
69,
1860,
12,
1821,
1795,
12,
6469,
19881,
12,
69,
486,
2425,
21601,
6888,
1129,
198,
198,
9654,
7203,
46002,
62,
9948,
66,
62,
535,
9501,
13,
1477,
2430,
86,
4943,
466,
277,
62,
46002,
198,
198,
1640,
5752,
287,
1123,
808,
7,
7568,
8,
198,
197,
361,
5752,
13,
22510,
62,
6615,
19841,
352,
2555,
886,
198,
220,
220,
1303,
28,
198,
220,
220,
220,
611,
318,
7753,
7,
22179,
6978,
7,
808,
13,
22915,
62,
15908,
11,
366,
805,
8409,
13,
40664,
48774,
220,
220,
198,
220,
220,
220,
220,
220,
220,
44872,
7203,
2,
3661,
4501,
33172,
5752,
13,
22915,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
2555,
220,
198,
220,
220,
220,
886,
198,
220,
220,
796,
2,
198,
220,
220,
220,
285,
796,
2872,
7,
81,
18109,
59,
67,
28988,
3,
1600,
26672,
3672,
7,
808,
13,
805,
8409,
62,
34345,
4008,
198,
220,
220,
220,
26672,
796,
285,
13,
27144,
942,
58,
16,
60,
220,
628,
220,
220,
220,
279,
1443,
62,
1416,
81,
796,
787,
62,
79,
1443,
62,
1416,
81,
7,
1676,
73,
62,
15908,
28,
1676,
73,
62,
15908,
11,
4226,
28,
12048,
11,
5128,
62,
22184,
28,
808,
13,
805,
8409,
62,
34345,
11,
5072,
62,
22184,
28,
808,
13,
22915,
62,
34345,
11,
1693,
62,
3672,
796,
366,
535,
9501,
62,
1,
9,
15908,
8,
628,
220,
220,
220,
1303,
35235,
7203,
41972,
4226,
25,
366,
8,
198,
220,
220,
220,
1303,
35235,
7,
79,
1443,
62,
1416,
81,
8,
198,
220,
220,
220,
1303,
35235,
7203,
36,
6679,
278,
4226,
25,
366,
8,
198,
220,
220,
220,
1280,
7203,
535,
9501,
62,
3,
15908,
13,
79,
1443,
2430,
86,
4943,
466,
277,
62,
79,
1443,
198,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
62,
79,
1443,
11,
279,
1443,
62,
1416,
81,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
44872,
7,
69,
62,
46002,
11,
366,
80,
7266,
36624,
9501,
62,
3,
15908,
13,
79,
1443,
4943,
198,
220,
220,
220,
1303,
35235,
7,
69,
62,
46002,
11,
366,
42832,
720,
42832,
62,
3849,
2100,
4943,
198,
220,
220,
220,
1303,
22915,
796,
1100,
354,
3361,
7,
79,
541,
4470,
7,
63,
30328,
720,
79,
1443,
62,
1416,
81,
47671,
4600,
80,
7266,
63,
4008,
198,
220,
220,
220,
1303,
35235,
7203,
22915,
796,
366,
8,
198,
220,
220,
220,
1303,
35235,
7,
22915,
8,
198,
437,
198,
198,
437,
1303,
9199,
62,
9948,
66,
62,
535,
9501,
13,
1477,
628,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
4764,
22,
66,
17,
66,
4521,
12,
68,
3980,
69,
12,
2780,
1954,
12,
1350,
18,
66,
12,
2713,
66,
2998,
21,
9945,
1350,
4531,
198,
198,
9654,
7203,
46002,
62,
9948,
66,
62,
535,
9501,
62,
41684,
13,
1477,
2430,
86,
4943,
466,
277,
62,
46002,
198,
16624,
62,
525,
62,
43863,
796,
604,
198,
1640,
1312,
287,
9575,
7,
16,
25,
16624,
62,
525,
62,
43863,
25,
7857,
7,
7568,
11,
16,
4008,
198,
197,
2,
361,
5752,
13,
22510,
62,
6615,
19841,
352,
2555,
886,
198,
220,
220,
1303,
28,
198,
220,
220,
220,
611,
318,
7753,
7,
22179,
6978,
7,
808,
13,
22915,
62,
15908,
11,
366,
805,
8409,
13,
40664,
48774,
220,
220,
198,
220,
220,
220,
220,
220,
220,
44872,
7203,
2,
3661,
4501,
33172,
5752,
13,
22915,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
2555,
220,
198,
220,
220,
220,
886,
198,
220,
220,
796,
2,
198,
220,
220,
220,
1303,
76,
796,
2872,
7,
81,
18109,
59,
67,
28988,
3,
1600,
26672,
3672,
7,
808,
13,
805,
8409,
62,
34345,
4008,
198,
220,
220,
220,
1303,
15908,
796,
285,
13,
27144,
942,
58,
16,
60,
220,
628,
220,
220,
220,
279,
1443,
62,
1416,
81,
796,
787,
62,
79,
1443,
62,
41684,
62,
1416,
81,
7,
1676,
73,
62,
15908,
28,
1676,
73,
62,
15908,
11,
4226,
28,
12048,
11,
47764,
28,
7568,
11,
949,
62,
808,
28,
72,
11,
3509,
62,
808,
28,
1084,
7,
72,
10,
16624,
62,
525,
62,
43863,
12,
16,
11,
7857,
7,
7568,
11,
16,
36911,
1693,
62,
3672,
796,
366,
535,
9501,
62,
1,
9,
8841,
7,
72,
828,
997,
62,
16663,
82,
28,
22510,
62,
16663,
82,
8,
628,
220,
220,
220,
1303,
35235,
7203,
41972,
4226,
25,
366,
8,
198,
220,
220,
220,
1303,
35235,
7,
79,
1443,
62,
1416,
81,
8,
198,
220,
220,
220,
1303,
35235,
7203,
36,
6679,
278,
4226,
25,
366,
8,
198,
220,
220,
220,
1280,
7203,
535,
9501,
62,
1,
1635,
8841,
7,
72,
8,
1635,
27071,
79,
1443,
2430,
86,
4943,
466,
277,
62,
79,
1443,
198,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
62,
79,
1443,
11,
279,
1443,
62,
1416,
81,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
44872,
7,
69,
62,
46002,
11,
366,
80,
7266,
36624,
9501,
62,
1,
1635,
8841,
7,
72,
8,
1635,
1911,
79,
1443,
4943,
198,
220,
220,
220,
1303,
35235,
7,
69,
62,
46002,
11,
366,
42832,
720,
42832,
62,
3849,
2100,
4943,
198,
220,
220,
220,
1303,
22915,
796,
1100,
354,
3361,
7,
79,
541,
4470,
7,
63,
30328,
720,
79,
1443,
62,
1416,
81,
47671,
4600,
80,
7266,
63,
4008,
198,
220,
220,
220,
1303,
35235,
7203,
22915,
796,
366,
8,
198,
220,
220,
220,
1303,
35235,
7,
22915,
8,
198,
437,
198,
198,
437,
1303,
9199,
62,
9948,
66,
62,
535,
9501,
13,
1477,
91,
628,
198,
2,
2343,
243,
242,
28670,
22880,
94,
12440,
1502,
25,
198,
2,
2343,
243,
254,
28670,
69,
3609,
17,
7012,
16,
67,
12,
2999,
397,
12,
19,
344,
68,
12,
23,
66,
5999,
12,
397,
6814,
16,
68,
21,
64,
2931,
23,
66,
198,
2,
2343,
243,
254,
28670,
15,
21101,
9945,
65,
2623,
12,
2780,
4524,
12,
2780,
5237,
12,
23,
1954,
69,
12,
21,
19881,
15,
69,
17457,
19,
68,
1899,
66,
198,
2,
2343,
243,
254,
28670,
64,
5237,
9945,
19,
891,
12,
66,
36453,
12,
19,
67,
5036,
12,
65,
21940,
12,
1129,
66,
1959,
344,
2231,
34137,
198,
2,
2343,
243,
254,
28670,
17457,
1983,
2682,
486,
12,
65,
2624,
68,
12,
2598,
64,
21,
12,
64,
31503,
12,
46351,
2425,
276,
2713,
3609,
24,
198,
2,
2343,
243,
254,
28670,
67,
2780,
324,
18,
68,
15,
12,
1415,
9945,
12,
2857,
65,
19,
12,
5705,
9945,
12,
19,
9945,
940,
68,
16,
69,
486,
1415,
198,
2,
2343,
243,
254,
28670,
23,
32459,
64,
1959,
64,
12,
1507,
3553,
12,
33289,
69,
12,
44705,
18,
12,
46951,
2920,
68,
21,
23045,
69,
21,
198,
2,
2343,
243,
254,
28670,
68,
2919,
17477,
344,
12,
24,
69,
15,
67,
12,
19,
68,
21,
69,
12,
64,
19,
7252,
12,
39570,
69,
2931,
18,
7568,
66,
1860,
198,
2,
2343,
243,
254,
28670,
4790,
67,
43950,
68,
24,
12,
12993,
64,
17,
12,
2231,
65,
20,
12,
7012,
24,
68,
12,
65,
22,
66,
19881,
18458,
65,
3132,
67,
198,
2,
2343,
243,
254,
28670,
276,
46636,
68,
24,
67,
12,
17,
67,
17,
64,
12,
19,
1878,
21,
12,
65,
23,
2624,
12,
48952,
69,
2548,
68,
2931,
17,
324,
198,
2,
2343,
243,
254,
28670,
65,
3553,
3388,
27192,
12,
15,
65,
15,
67,
12,
19,
68,
2780,
12,
3609,
19,
68,
12,
1350,
23,
66,
28324,
20,
65,
19,
69,
17,
198,
2,
2343,
243,
254,
28670,
23,
64,
22,
487,
25836,
12,
2670,
7252,
12,
19,
65,
4304,
12,
65,
18,
16344,
12,
69,
2999,
330,
33289,
66,
5332,
65,
198,
2,
2343,
243,
254,
28670,
4846,
17,
67,
22,
68,
24,
68,
12,
19,
69,
1860,
12,
1821,
1795,
12,
6469,
19881,
12,
69,
486,
2425,
21601,
6888,
1129,
198,
2,
2343,
243,
254,
28670,
35133,
66,
17,
66,
4521,
12,
68,
3980,
69,
12,
2780,
1954,
12,
1350,
18,
66,
12,
2713,
66,
2998,
21,
9945,
1350,
4531,
198
] | 2.081959 | 3,880 |
# array.jl
export ndgrid_array
"""
(xg, yg, ...) = ndgrid_array(v1, v2, ...)
Method to construct a tuple of (dense) `Array`s from a set of vectors.
This tuple can use a lot of memory so should be avoided in general!
It is provided mainly for testing and timing comparisons.
Each input should be an `AbstractVector` of some type.
The corresponding output Array will have the same element type.
This method provides similar functionality as Matlab's `ndarray` function
but is more general because the vectors can be any type.
# Examples
```jldoctest
julia> ndgrid_array(1:3, 1:2)
([1 1; 2 2; 3 3], [1 2; 1 2; 1 2])
julia> ndgrid(1:3, [:a,:b])
([1 1; 2 2; 3 3], [:a :b; :a :b; :a :b])
```
"""
ndgrid_array(vs::AbstractVector...) = Array.(ndgrid(vs...))
| [
2,
7177,
13,
20362,
198,
198,
39344,
299,
67,
25928,
62,
18747,
628,
198,
37811,
198,
220,
220,
220,
357,
87,
70,
11,
331,
70,
11,
2644,
8,
796,
299,
67,
25928,
62,
18747,
7,
85,
16,
11,
410,
17,
11,
2644,
8,
198,
198,
17410,
284,
5678,
257,
46545,
286,
357,
67,
1072,
8,
4600,
19182,
63,
82,
422,
257,
900,
286,
30104,
13,
198,
198,
1212,
46545,
460,
779,
257,
1256,
286,
4088,
523,
815,
307,
13941,
287,
2276,
0,
198,
1026,
318,
2810,
8384,
329,
4856,
290,
10576,
17909,
13,
198,
198,
10871,
5128,
815,
307,
281,
4600,
23839,
38469,
63,
286,
617,
2099,
13,
198,
464,
11188,
5072,
15690,
481,
423,
262,
976,
5002,
2099,
13,
198,
198,
1212,
2446,
3769,
2092,
11244,
355,
6550,
23912,
338,
4600,
358,
18747,
63,
2163,
198,
4360,
318,
517,
2276,
780,
262,
30104,
460,
307,
597,
2099,
13,
198,
198,
2,
21066,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
299,
67,
25928,
62,
18747,
7,
16,
25,
18,
11,
352,
25,
17,
8,
198,
26933,
16,
352,
26,
362,
362,
26,
513,
513,
4357,
685,
16,
362,
26,
352,
362,
26,
352,
362,
12962,
198,
198,
73,
43640,
29,
299,
67,
25928,
7,
16,
25,
18,
11,
685,
25,
64,
11,
25,
65,
12962,
198,
26933,
16,
352,
26,
362,
362,
26,
513,
513,
4357,
685,
25,
64,
1058,
65,
26,
1058,
64,
1058,
65,
26,
1058,
64,
1058,
65,
12962,
198,
15506,
63,
198,
37811,
198,
358,
25928,
62,
18747,
7,
14259,
3712,
23839,
38469,
23029,
796,
15690,
12195,
358,
25928,
7,
14259,
986,
4008,
198
] | 2.798535 | 273 |
export DefiniteIntegral,DefiniteLineIntegral
abstract CalculusFunctional{S,T} <: Operator{T}
@functional CalculusFunctional
##TODO: Add ConcreteOp
macro calculus_functional(Op)
ConcOp=parse("Concrete"*string(Op))
WrappOp=parse(string(Op)*"Wrapper")
return esc(quote
abstract $Op{SSS,TTT} <: CalculusFunctional{SSS,TTT}
immutable $ConcOp{S,T} <: $Op{S,T}
domainspace::S
end
immutable $WrappOp{BT<:Operator,S<:Space,T} <: $Op{S,T}
func::BT
end
# We expect the operator to be real/complex if the basis is real/complex
$ConcOp(dsp::Space) = $ConcOp{typeof(dsp),eltype(dsp)}(dsp)
$Op() = $Op(UnsetSpace())
$Op(dsp) = $ConcOp(dsp)
$Op(d::Domain) = $Op(Space(d))
promotedomainspace(::$Op,sp::Space) = $Op(sp)
Base.convert{T}(::Type{Operator{T}},Σ::$ConcOp) =
T==eltype(Σ)?Σ:$ConcOp{typeof(Σ.domainspace),T}(Σ.domainspace)
domain(Σ::$ConcOp) = domain(Σ.domainspace)
domainspace(Σ::$ConcOp) = Σ.domainspace
getindex(::$ConcOp{UnsetSpace},kr::Range) =
error("Spaces cannot be inferred for operator")
$WrappOp(op::Operator) =
$WrappOp{typeof(op),typeof(domainspace(op)),eltype(op)}(op)
Base.convert{T}(::Type{Operator{T}},Σ::$WrappOp) =
T==eltype(Σ)?Σ:$WrappOp(convert(Operator{T},Σ.func))
#Wrapper just adds the operator it wraps
getindex(D::$WrappOp,k::Range) = D.func[k]
getindex(D::$WrappOp,k::Integer) = D.func[k]
domainspace(D::$WrappOp) = domainspace(D.func)
bandinds(D::$WrappOp) = bandinds(D.func)
end)
end
@calculus_functional(DefiniteIntegral)
@calculus_functional(DefiniteLineIntegral)
#default implementation
function getindex(B::ConcreteDefiniteIntegral,kr::Range)
S=domainspace(B)
Q=Integral(S)
A=(Evaluation(S,true)-Evaluation(S,false))*Q
A[kr]
end
function getindex(B::ConcreteDefiniteIntegral,kr::Integer)
S=domainspace(B)
Q=Integral(S)
A=(Evaluation(S,true)-Evaluation(S,false))*Q
A[kr]
end
function DefiniteIntegral(sp::Space)
if typeof(canonicaldomain(sp)).name==typeof(domain(sp)).name
ConcreteDefiniteIntegral{typeof(sp),eltype(sp)}(sp)
else
M = Multiplication(fromcanonicalD(sp),setcanonicaldomain(sp))
Op = DefiniteIntegral(rangespace(M))*M
DefiniteIntegralWrapper(SpaceOperator(Op,sp,rangespace(Op)))
end
end
function DefiniteLineIntegral(sp::Space)
if typeof(canonicaldomain(sp)).name==typeof(domain(sp)).name
ConcreteDefiniteLineIntegral{typeof(sp),eltype(sp)}(sp)
else
M = Multiplication(abs(fromcanonicalD(sp)),setcanonicaldomain(sp))
Op = DefiniteLineIntegral(rangespace(M))*M
DefiniteLineIntegralWrapper(SpaceOperator(Op,sp,rangespace(Op)))
end
end
#TODO: Remove SPECIALOPS reimplement
# *{T,D<:DefiniteIntegral,M<:Multiplication}(A::TimesFunctional{T,D,M},b::Fun) = bilinearform(A.op.f,b)
# *{T,D<:DefiniteLineIntegral,M<:Multiplication}(A::TimesFunctional{T,D,M},b::Fun) = linebilinearform(A.op.f,b)
# *{T,D<:Union{DefiniteIntegral,DefiniteLineIntegral},
# M<:Multiplication,V}(A::FunctionalOperator{TimesFunctional{T,D,M},V},b::Fun) =
# Fun(A.func*b)
| [
39344,
2896,
9504,
34500,
1373,
11,
7469,
9504,
13949,
34500,
1373,
198,
198,
397,
8709,
2199,
17576,
22203,
282,
90,
50,
11,
51,
92,
1279,
25,
35946,
90,
51,
92,
198,
198,
31,
45124,
2199,
17576,
22203,
282,
198,
198,
2235,
51,
3727,
46,
25,
3060,
1482,
38669,
18257,
198,
198,
20285,
305,
41443,
62,
45124,
7,
18257,
8,
198,
220,
220,
220,
13223,
18257,
28,
29572,
7203,
3103,
38669,
1,
9,
8841,
7,
18257,
4008,
198,
220,
220,
220,
27323,
381,
18257,
28,
29572,
7,
8841,
7,
18257,
27493,
1,
36918,
2848,
4943,
198,
220,
220,
220,
1441,
3671,
7,
22708,
198,
220,
220,
220,
220,
220,
220,
220,
12531,
720,
18257,
90,
5432,
50,
11,
15751,
51,
92,
1279,
25,
2199,
17576,
22203,
282,
90,
5432,
50,
11,
15751,
51,
92,
198,
220,
220,
220,
220,
220,
220,
220,
40139,
720,
3103,
66,
18257,
90,
50,
11,
51,
92,
1279,
25,
720,
18257,
90,
50,
11,
51,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18209,
10223,
3712,
50,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
40139,
720,
36918,
381,
18257,
90,
19313,
27,
25,
18843,
1352,
11,
50,
27,
25,
14106,
11,
51,
92,
1279,
25,
720,
18257,
90,
50,
11,
51,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
3712,
19313,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
1607,
262,
10088,
284,
307,
1103,
14,
41887,
611,
262,
4308,
318,
1103,
14,
41887,
198,
220,
220,
220,
220,
220,
220,
220,
720,
3103,
66,
18257,
7,
67,
2777,
3712,
14106,
8,
796,
720,
3103,
66,
18257,
90,
4906,
1659,
7,
67,
2777,
828,
417,
4906,
7,
67,
2777,
38165,
7,
67,
2777,
8,
628,
220,
220,
220,
220,
220,
220,
220,
720,
18257,
3419,
796,
720,
18257,
7,
3118,
2617,
14106,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
720,
18257,
7,
67,
2777,
8,
796,
720,
3103,
66,
18257,
7,
67,
2777,
8,
198,
220,
220,
220,
220,
220,
220,
220,
720,
18257,
7,
67,
3712,
43961,
8,
796,
720,
18257,
7,
14106,
7,
67,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
4256,
3836,
1299,
10223,
7,
3712,
3,
18257,
11,
2777,
3712,
14106,
8,
796,
720,
18257,
7,
2777,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
1102,
1851,
90,
51,
92,
7,
3712,
6030,
90,
18843,
1352,
90,
51,
92,
5512,
138,
96,
3712,
3,
3103,
66,
18257,
8,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
855,
417,
4906,
7,
138,
96,
19427,
138,
96,
25,
3,
3103,
66,
18257,
90,
4906,
1659,
7,
138,
96,
13,
3438,
1299,
10223,
828,
51,
92,
7,
138,
96,
13,
3438,
1299,
10223,
8,
628,
220,
220,
220,
220,
220,
220,
220,
7386,
7,
138,
96,
3712,
3,
3103,
66,
18257,
8,
796,
7386,
7,
138,
96,
13,
3438,
1299,
10223,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18209,
10223,
7,
138,
96,
3712,
3,
3103,
66,
18257,
8,
796,
7377,
96,
13,
3438,
1299,
10223,
628,
220,
220,
220,
220,
220,
220,
220,
651,
9630,
7,
3712,
3,
3103,
66,
18257,
90,
3118,
2617,
14106,
5512,
38584,
3712,
17257,
8,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
4561,
2114,
2314,
307,
41240,
329,
10088,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
720,
36918,
381,
18257,
7,
404,
3712,
18843,
1352,
8,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
720,
36918,
381,
18257,
90,
4906,
1659,
7,
404,
828,
4906,
1659,
7,
3438,
1299,
10223,
7,
404,
36911,
417,
4906,
7,
404,
38165,
7,
404,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
1102,
1851,
90,
51,
92,
7,
3712,
6030,
90,
18843,
1352,
90,
51,
92,
5512,
138,
96,
3712,
3,
36918,
381,
18257,
8,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
855,
417,
4906,
7,
138,
96,
19427,
138,
96,
25,
3,
36918,
381,
18257,
7,
1102,
1851,
7,
18843,
1352,
90,
51,
5512,
138,
96,
13,
20786,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
36918,
2848,
655,
6673,
262,
10088,
340,
27521,
198,
220,
220,
220,
220,
220,
220,
220,
651,
9630,
7,
35,
3712,
3,
36918,
381,
18257,
11,
74,
3712,
17257,
8,
796,
360,
13,
20786,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
651,
9630,
7,
35,
3712,
3,
36918,
381,
18257,
11,
74,
3712,
46541,
8,
796,
360,
13,
20786,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
18209,
10223,
7,
35,
3712,
3,
36918,
381,
18257,
8,
796,
18209,
10223,
7,
35,
13,
20786,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4097,
521,
82,
7,
35,
3712,
3,
36918,
381,
18257,
8,
796,
4097,
521,
82,
7,
35,
13,
20786,
8,
198,
220,
220,
220,
886,
8,
198,
437,
198,
198,
31,
9948,
17576,
62,
45124,
7,
7469,
9504,
34500,
1373,
8,
198,
31,
9948,
17576,
62,
45124,
7,
7469,
9504,
13949,
34500,
1373,
8,
628,
198,
2,
12286,
7822,
198,
8818,
651,
9630,
7,
33,
3712,
3103,
38669,
7469,
9504,
34500,
1373,
11,
38584,
3712,
17257,
8,
198,
220,
220,
220,
311,
28,
3438,
1299,
10223,
7,
33,
8,
198,
220,
220,
220,
1195,
28,
34500,
1373,
7,
50,
8,
198,
220,
220,
220,
317,
16193,
36,
2100,
2288,
7,
50,
11,
7942,
13219,
36,
2100,
2288,
7,
50,
11,
9562,
4008,
9,
48,
198,
220,
220,
220,
317,
58,
38584,
60,
198,
437,
198,
198,
8818,
651,
9630,
7,
33,
3712,
3103,
38669,
7469,
9504,
34500,
1373,
11,
38584,
3712,
46541,
8,
198,
220,
220,
220,
311,
28,
3438,
1299,
10223,
7,
33,
8,
198,
220,
220,
220,
1195,
28,
34500,
1373,
7,
50,
8,
198,
220,
220,
220,
317,
16193,
36,
2100,
2288,
7,
50,
11,
7942,
13219,
36,
2100,
2288,
7,
50,
11,
9562,
4008,
9,
48,
198,
220,
220,
220,
317,
58,
38584,
60,
198,
437,
628,
628,
198,
8818,
2896,
9504,
34500,
1373,
7,
2777,
3712,
14106,
8,
198,
220,
220,
220,
611,
2099,
1659,
7,
49883,
605,
27830,
7,
2777,
29720,
3672,
855,
4906,
1659,
7,
27830,
7,
2777,
29720,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
1482,
38669,
7469,
9504,
34500,
1373,
90,
4906,
1659,
7,
2777,
828,
417,
4906,
7,
2777,
38165,
7,
2777,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
337,
796,
15237,
489,
3299,
7,
6738,
49883,
605,
35,
7,
2777,
828,
2617,
49883,
605,
27830,
7,
2777,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
8670,
796,
2896,
9504,
34500,
1373,
7,
81,
6231,
10223,
7,
44,
4008,
9,
44,
198,
220,
220,
220,
220,
220,
220,
220,
2896,
9504,
34500,
1373,
36918,
2848,
7,
14106,
18843,
1352,
7,
18257,
11,
2777,
11,
81,
6231,
10223,
7,
18257,
22305,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
2896,
9504,
13949,
34500,
1373,
7,
2777,
3712,
14106,
8,
198,
220,
220,
220,
611,
2099,
1659,
7,
49883,
605,
27830,
7,
2777,
29720,
3672,
855,
4906,
1659,
7,
27830,
7,
2777,
29720,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
1482,
38669,
7469,
9504,
13949,
34500,
1373,
90,
4906,
1659,
7,
2777,
828,
417,
4906,
7,
2777,
38165,
7,
2777,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
337,
796,
15237,
489,
3299,
7,
8937,
7,
6738,
49883,
605,
35,
7,
2777,
36911,
2617,
49883,
605,
27830,
7,
2777,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
8670,
796,
2896,
9504,
13949,
34500,
1373,
7,
81,
6231,
10223,
7,
44,
4008,
9,
44,
198,
220,
220,
220,
220,
220,
220,
220,
2896,
9504,
13949,
34500,
1373,
36918,
2848,
7,
14106,
18843,
1352,
7,
18257,
11,
2777,
11,
81,
6231,
10223,
7,
18257,
22305,
198,
220,
220,
220,
886,
198,
437,
628,
198,
2,
51,
3727,
46,
25,
17220,
38846,
30737,
21123,
26908,
198,
2,
1635,
90,
51,
11,
35,
27,
25,
7469,
9504,
34500,
1373,
11,
44,
27,
25,
15205,
24705,
3299,
92,
7,
32,
3712,
28595,
22203,
282,
90,
51,
11,
35,
11,
44,
5512,
65,
3712,
24629,
8,
796,
47027,
259,
451,
687,
7,
32,
13,
404,
13,
69,
11,
65,
8,
198,
2,
1635,
90,
51,
11,
35,
27,
25,
7469,
9504,
13949,
34500,
1373,
11,
44,
27,
25,
15205,
24705,
3299,
92,
7,
32,
3712,
28595,
22203,
282,
90,
51,
11,
35,
11,
44,
5512,
65,
3712,
24629,
8,
796,
1627,
33473,
259,
451,
687,
7,
32,
13,
404,
13,
69,
11,
65,
8,
198,
2,
1635,
90,
51,
11,
35,
27,
25,
38176,
90,
7469,
9504,
34500,
1373,
11,
7469,
9504,
13949,
34500,
1373,
5512,
198,
2,
220,
220,
337,
27,
25,
15205,
24705,
3299,
11,
53,
92,
7,
32,
3712,
22203,
282,
18843,
1352,
90,
28595,
22203,
282,
90,
51,
11,
35,
11,
44,
5512,
53,
5512,
65,
3712,
24629,
8,
796,
198,
2,
220,
220,
220,
220,
11138,
7,
32,
13,
20786,
9,
65,
8,
198
] | 2.119768 | 1,553 |
#
# Do work here ...
#
v = sin(1.234567) + cos(0.122122)
println("Julia side: I will return a Float64: ", v)
return v
| [
2,
198,
2,
2141,
670,
994,
2644,
198,
2,
198,
198,
85,
796,
7813,
7,
16,
13,
1954,
2231,
3134,
8,
1343,
8615,
7,
15,
13,
18376,
18376,
8,
198,
35235,
7203,
16980,
544,
1735,
25,
314,
481,
1441,
257,
48436,
2414,
25,
33172,
410,
8,
198,
198,
7783,
410,
198
] | 2.352941 | 51 |
@testset "aggregation" begin
v = rand(5)
@test aggregate(v, mav) ≈ mean(v)
@test aggregate(v, TruePositive()) ≈ sum(v)
@test aggregate(v, rms) ≈ sqrt(mean(v.^2))
λ = rand()
@test aggregate(λ, rms) === λ
@test aggregate(aggregate(v, l2), l2) == aggregate(v, l2)
end
@testset "metadata" begin
measures()
measures(m -> m.target_scitype <: AbstractVector{<:Finite} &&
m.supports_weights)
end
@testset "coverage" begin
# just checking that the traits work not that they're correct
@test orientation(BrierScore()) == :score
@test orientation(auc) == :score
@test orientation(rms) == :loss
@test reports_each_observation(auc) == false
@test is_feature_dependent(auc) == false
@test MLJBase.distribution_type(BrierScore{UnivariateFinite}) ==
UnivariateFinite
end
true
| [
31,
9288,
2617,
366,
9460,
43068,
1,
2221,
198,
220,
220,
220,
410,
796,
43720,
7,
20,
8,
198,
220,
220,
220,
2488,
9288,
19406,
7,
85,
11,
285,
615,
8,
15139,
230,
1612,
7,
85,
8,
198,
220,
220,
220,
2488,
9288,
19406,
7,
85,
11,
6407,
21604,
1800,
28955,
15139,
230,
2160,
7,
85,
8,
198,
220,
220,
220,
2488,
9288,
19406,
7,
85,
11,
374,
907,
8,
15139,
230,
19862,
17034,
7,
32604,
7,
85,
13,
61,
17,
4008,
198,
220,
220,
220,
7377,
119,
796,
43720,
3419,
198,
220,
220,
220,
2488,
9288,
19406,
7,
39377,
11,
374,
907,
8,
24844,
7377,
119,
198,
220,
220,
220,
2488,
9288,
19406,
7,
9460,
49373,
7,
85,
11,
300,
17,
828,
300,
17,
8,
6624,
19406,
7,
85,
11,
300,
17,
8,
198,
437,
198,
198,
31,
9288,
2617,
366,
38993,
1,
2221,
198,
220,
220,
220,
5260,
3419,
198,
220,
220,
220,
5260,
7,
76,
4613,
285,
13,
16793,
62,
1416,
414,
431,
1279,
25,
27741,
38469,
90,
27,
25,
37,
9504,
92,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
13,
18608,
2096,
62,
43775,
8,
198,
437,
198,
198,
31,
9288,
2617,
366,
1073,
1857,
1,
2221,
198,
220,
220,
220,
1303,
655,
10627,
326,
262,
12796,
670,
407,
326,
484,
821,
3376,
198,
220,
220,
220,
2488,
9288,
12852,
7,
33,
5277,
26595,
28955,
6624,
1058,
26675,
198,
220,
220,
220,
2488,
9288,
12852,
7,
14272,
8,
6624,
1058,
26675,
198,
220,
220,
220,
2488,
9288,
12852,
7,
81,
907,
8,
6624,
1058,
22462,
628,
220,
220,
220,
2488,
9288,
3136,
62,
27379,
62,
672,
3168,
341,
7,
14272,
8,
6624,
3991,
198,
220,
220,
220,
2488,
9288,
318,
62,
30053,
62,
21186,
7,
14272,
8,
6624,
3991,
628,
220,
220,
220,
2488,
9288,
10373,
41,
14881,
13,
17080,
3890,
62,
4906,
7,
33,
5277,
26595,
90,
3118,
42524,
37,
9504,
30072,
6624,
198,
220,
220,
220,
220,
220,
220,
220,
791,
42524,
37,
9504,
198,
437,
198,
198,
7942,
198
] | 2.449857 | 349 |