content
stringlengths 5
1.03M
| input_ids
sequencelengths 4
823k
| ratio_char_token
float64 0.4
12.5
| token_count
int64 4
823k
|
---|---|---|---|
# Characters
const SUITCHAR=collect("CDHSN")
const CARDCHAR=collect("23456789TJQKA")
const HEXCHAR=collect("0123456789ABCDEF")
const PLAYERCHAR=collect("WNES")
hex2int(c::Char)=(c <= '9' ? c - '0' : c - '7')
int2hex(i::Integer)=HEXCHAR[i+1]
# Trump suits
const CLUBS=1
const DIAMONDS=2
const HEARTS=3
const SPADES=4
const NOTRUMP=5
# Regular bids are represented by integers 1:35
const TRUMPBIDS=35
makebid(level,suit)=(5*(level-1)+suit)
bidlevel(bid)=1+div(bid-1,5)
bidtrump(bid)=mod1(bid,5)
bidtrumpchar(bid)=SUITCHAR[bidtrump(bid)]
bidlevelchar(bid)='0'+bidlevel(bid)
# Cards
makecard(suit,value)=(value + 13*(suit-1))
cardvalue(card)=mod1(card,13)
cardsuit(card)=1+div(card-1,13)
cardvaluechar(card)=CARDCHAR[cardvalue(card)]
cardsuitchar(card)=SUITCHAR[cardsuit(card)]
# Three extra bids
const PASS=36
const DOUBLE=37
const REDOUBLE=38
const NUMBIDS=38
# Players
const WEST=1
const NORTH=2
const EAST=3
const SOUTH=4
# Double dummy data
# using StaticArrays
# struct DoubleDummy2
# hands::SVector{4,UInt64} # Using 52 bits of UInt64 to encode a hand
# results::SMatrix{4,5,UInt8} # (4,5) array of NS tricks
# end
| [
2,
26813,
198,
9979,
13558,
31949,
1503,
28,
33327,
7203,
8610,
7998,
45,
4943,
198,
9979,
48731,
38019,
28,
33327,
7203,
1954,
2231,
3134,
4531,
51,
41,
48,
25123,
4943,
198,
9979,
367,
6369,
38019,
28,
33327,
7203,
486,
1954,
2231,
3134,
4531,
24694,
32988,
4943,
198,
9979,
28180,
1137,
38019,
28,
33327,
7203,
29767,
1546,
4943,
198,
33095,
17,
600,
7,
66,
3712,
12441,
35793,
66,
19841,
705,
24,
6,
5633,
269,
532,
705,
15,
6,
1058,
269,
532,
705,
22,
11537,
198,
600,
17,
33095,
7,
72,
3712,
46541,
47505,
39,
6369,
38019,
58,
72,
10,
16,
60,
198,
198,
2,
1301,
14803,
198,
9979,
7852,
52,
4462,
28,
16,
198,
9979,
14766,
2390,
1340,
5258,
28,
17,
198,
9979,
11179,
1503,
4694,
28,
18,
198,
9979,
6226,
2885,
1546,
28,
19,
198,
9979,
5626,
49,
20476,
28,
20,
198,
198,
2,
23603,
27837,
389,
7997,
416,
37014,
352,
25,
2327,
198,
9979,
42953,
33,
14255,
28,
2327,
198,
15883,
14065,
7,
5715,
11,
6063,
35793,
20,
9,
7,
5715,
12,
16,
47762,
6063,
8,
198,
14065,
5715,
7,
14065,
47505,
16,
10,
7146,
7,
14065,
12,
16,
11,
20,
8,
198,
14065,
40954,
7,
14065,
47505,
4666,
16,
7,
14065,
11,
20,
8,
198,
14065,
40954,
10641,
7,
14065,
47505,
12564,
31949,
1503,
58,
14065,
40954,
7,
14065,
15437,
198,
14065,
5715,
10641,
7,
14065,
8,
11639,
15,
6,
10,
14065,
5715,
7,
14065,
8,
198,
198,
2,
15824,
198,
15883,
9517,
7,
6063,
11,
8367,
35793,
8367,
1343,
1511,
9,
7,
6063,
12,
16,
4008,
198,
9517,
8367,
7,
9517,
47505,
4666,
16,
7,
9517,
11,
1485,
8,
198,
27761,
5013,
7,
9517,
47505,
16,
10,
7146,
7,
9517,
12,
16,
11,
1485,
8,
198,
9517,
8367,
10641,
7,
9517,
47505,
34,
9795,
38019,
58,
9517,
8367,
7,
9517,
15437,
198,
27761,
84,
2007,
283,
7,
9517,
47505,
12564,
31949,
1503,
58,
27761,
5013,
7,
9517,
15437,
198,
198,
2,
7683,
3131,
27837,
198,
9979,
41752,
28,
2623,
198,
9979,
360,
2606,
19146,
28,
2718,
198,
9979,
23848,
2606,
19146,
28,
2548,
198,
9979,
36871,
33,
14255,
28,
2548,
198,
198,
2,
13094,
198,
9979,
370,
6465,
28,
16,
198,
9979,
25273,
4221,
28,
17,
198,
9979,
412,
11262,
28,
18,
198,
9979,
30065,
4221,
28,
19,
198,
198,
2,
11198,
31548,
1366,
198,
2,
1262,
36125,
3163,
20477,
198,
2,
2878,
11198,
35,
13513,
17,
198,
2,
220,
220,
220,
220,
2832,
3712,
50,
38469,
90,
19,
11,
52,
5317,
2414,
92,
1303,
8554,
6740,
10340,
286,
471,
5317,
2414,
284,
37773,
257,
1021,
198,
2,
220,
220,
220,
220,
2482,
3712,
12310,
265,
8609,
90,
19,
11,
20,
11,
52,
5317,
23,
92,
220,
1303,
357,
19,
11,
20,
8,
7177,
286,
10896,
15910,
198,
2,
886,
198
] | 2.44181 | 464 |
using Dates
include("../structures.jl")
include("../util/util.jl")
include("../util/logger.jl")
function fetchData!(store::DataStore, attribute::DataAttribute)
throw("Unknown data provider $(typeof(attribute))")
end
include("sysstat.jl")
include("aws.jl")
| [
3500,
44712,
198,
198,
17256,
7203,
40720,
7249,
942,
13,
20362,
4943,
198,
17256,
7203,
40720,
22602,
14,
22602,
13,
20362,
4943,
198,
17256,
7203,
40720,
22602,
14,
6404,
1362,
13,
20362,
4943,
198,
198,
8818,
21207,
6601,
0,
7,
8095,
3712,
6601,
22658,
11,
11688,
3712,
6601,
33682,
8,
198,
220,
220,
220,
3714,
7203,
20035,
1366,
10131,
29568,
4906,
1659,
7,
42348,
4008,
4943,
198,
437,
628,
198,
17256,
7203,
17597,
14269,
13,
20362,
4943,
198,
17256,
7203,
8356,
13,
20362,
4943,
198
] | 3.105882 | 85 |
function get_perm(str::String)
p = Array(Int, length(str))
for (i,c) in enumerate(str)
p[i] = char2ind(c)
end
p
end
const ENIGMA_ROTORS = [
Rotor(get_perm("EKMFLGDQVZNTOWYHXUSPAIBRCJ"), Int[2]), #char2ind('Q')]), # I
Rotor(get_perm("AJDKSIRUXBLHWTMCQGZNPYFVOE"), Int[5]), # char2ind('E')]), # II
Rotor(get_perm("BDFHJLCPRTXVZNYEIWGAKMUSQO"), Int[char2ind('V')]), # III
Rotor(get_perm("ESOVPZJAYQUIRHXLNFTGKDCMWB"), Int[char2ind('J')]), # IV
Rotor(get_perm("VZBRGITYUPSDNHLXAWMJQOFECK"), Int[char2ind('Z')]), # V
Rotor(get_perm("JPGVOUMFYQBENHZRDKASXLICTW"), Int[char2ind('Z'), char2ind('M')]), # VI
Rotor(get_perm("NZJHGRCXMYSWBOUFAIVLPEKQDT"), Int[char2ind('Z'), char2ind('M')]), # VII
Rotor(get_perm("FKQHTLXOCBJSPDZRAMEWNIUYGV"), Int[char2ind('Z'), char2ind('M')]), # VIII
]
const ENIGMA_REFLECTORS = [
Reflector(get_perm("YRUHQSLDPXNGOKMIEBFZCWVJAT")), # b
Reflector(get_perm("FVPJIAOYEDRZXWGCTKUQSBNMHL")), # c
Reflector(get_perm("ENKQAUYWJICOPBLMDXZVFTHRGS")), # b - thin
Reflector(get_perm("RDOBJNTKVEHMLFCWZAXGYIPSUQ")), # c - thin
]
function get_M3_enigma(
ref::Char, # 'B' or 'C'
wheels::Tuple{Int, Int, Int},
rotor_pos::String, # the starting rotor positions, ex: "DVM"
plugboard_str::String=""; # ex: "BI GP HK LD MO RT VS WZ XN YJ"
emulate_double_stepping::Bool=true,
)
if ref == 'B'
reflector = ENIGMA_REFLECTORS[1]
elseif ref == 'C'
reflector = ENIGMA_REFLECTORS[2]
else
error("unknown reflector $ref")
end
rotors = ENIGMA_ROTORS[[wheels[3], wheels[2], wheels[1]]]
rotors[1].rotor_position = rotor_pos[3]-'A'
rotors[2].rotor_position = rotor_pos[2]-'A'
rotors[3].rotor_position = rotor_pos[1]-'A'
plugboard = Plugboard(collect(1:26))
plugboard_str = replace(plugboard_str, " ", "")
i = 1
while i < length(plugboard_str)
a = char2ind(plugboard_str[i])
b = char2ind(plugboard_str[i+1])
plugboard.perm[a] = b
plugboard.perm[b] = a
i += 2
end
alphabet = collect('A':'Z')
Enigma(plugboard, rotors, reflector, alphabet, emulate_double_stepping)
end
function encode!(enigma::Enigma, input::String)
output = ""
for c in input
output = output * string(ind2char(encode!(enigma, char2ind(c))))
end
output
end
let
enigma = get_M3_enigma('B', (1,2,3), "AAA")
input = "THEQ"*"UICK"*"BROW"*"NFOX"*"JUMP"*"EDOV"*"ERTH"*"ELAZ"*"YDOG"
output = "OPCI"*"LLAZ"*"FXLQ"*"TDNL"*"GGLE"*"YOHH"*"CJGA"*"XWTW"*"AMBH"
@assert encode!(enigma, input) == output
enigma = get_M3_enigma('B', (1,2,3), "AAA")
@assert encode!(enigma, output) == input
enigma = get_M3_enigma('B', (1,2,3), "AAA")
input2 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
output = "BDZGOWCXLTKSBTMCDLPBMUQOFXYHCXTGYJFLINHNXSHIUNTHEORXPQPKOVHCBUBTZSZSOOSTGOTFSODBBZZLXLCYZXIFGWFDZEEQIBMGFJBWZFCKPFMGBXQCIVIBBRNCOCJUVYDKMVJPFMDRMTGLWFOZLXGJEYYQPVPBWNCKVKLZTCBDLDCTSNRCOOVPTGBVBBISGJSOYHDENCTNUUKCUGHREVWBDJCTQXXOGLEBZMDBRZOSXDTZSZBGDCFPRBZYQGSNCCHGYEWOHVJBYZGKDGYNNEUJIWCTYCYTUUMBOYVUNNQUKKSOBSCORSUOSCNVROQLHEUDSUKYMIGIBSXPIHNTUVGGHIFQTGZXLGYQCNVNSRCLVPYOSVRBKCEXRNLGDYWEBFXIVKKTUGKPVMZOTUOGMHHZDREKJHLEFKKPOXLWBWVBYUKDTQUHDQTREVRQJMQWNDOVWLJHCCXCFXRPPXMSJEZCJUFTBRZZMCSSNJNYLCGLOYCITVYQXPDIYFGEFYVXSXHKEGXKMMDSWBCYRKIZOCGMFDDTMWZTLSSFLJMOOLUUQJMIJSCIQVRUISTLTGNCLGKIKTZHRXENRXJHYZTLXICWWMYWXDYIBLERBFLWJQYWONGIQQCUUQTPPHBIEHTUVGCEGPEYMWICGKWJCUFKLUIDMJDIVPJDM"
pred = replace(encode!(enigma, input2), " ", "")
@assert pred == output
enigma = get_M3_enigma('B', (3,5,8), "MCJ")
output2 = "JFHJ"*"BXOD"*"IIZK"*"CHJU"*"TGOL"*"FIYX"*"RSLF"*"KKPO"*"JVRO"
@assert encode!(enigma, input) == output2
enigma = get_M3_enigma('B', (3,5,8), "MCJ")
@assert encode!(enigma, output2) == input
enigma = get_M3_enigma('C', (8,2,4), "PXM", "AB CY ET FQ HZ LG MJ OK US WX")
output3 = "ULQC"*"XYXN"*"JMKV"*"FNAO"*"IVZS"*"OFTW"*"GQBB"*"XNWW"*"BIYS"
@assert encode!(enigma, input) == output3
enigma = get_M3_enigma('C', (8,2,4), "PXM", "AB CY ET FQ HZ LG MJ OK US WX")
@assert encode!(enigma, output3) == input
end | [
8818,
651,
62,
16321,
7,
2536,
3712,
10100,
8,
198,
220,
220,
220,
279,
796,
15690,
7,
5317,
11,
4129,
7,
2536,
4008,
198,
220,
220,
220,
329,
357,
72,
11,
66,
8,
287,
27056,
378,
7,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
279,
58,
72,
60,
796,
1149,
17,
521,
7,
66,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
279,
198,
437,
198,
198,
9979,
12964,
3528,
5673,
62,
49,
2394,
20673,
796,
685,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
36,
42,
44,
3697,
45113,
48,
53,
57,
11251,
3913,
56,
39,
55,
2937,
4537,
9865,
7397,
41,
12340,
2558,
58,
17,
46570,
1303,
10641,
17,
521,
10786,
48,
11537,
46570,
1303,
314,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
32,
37882,
27015,
4663,
31235,
9148,
39,
39386,
9655,
48,
38,
57,
22182,
56,
37,
53,
27799,
12340,
2558,
58,
20,
46570,
1303,
1149,
17,
521,
10786,
36,
11537,
46570,
1303,
2873,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
33,
8068,
39,
41,
5639,
4805,
29551,
53,
57,
12805,
36,
40,
54,
9273,
42,
44,
2937,
48,
46,
12340,
2558,
58,
10641,
17,
521,
10786,
53,
11537,
46570,
1303,
6711,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
1546,
46,
8859,
57,
41,
4792,
10917,
4663,
39,
32457,
45,
9792,
38,
42,
9697,
14326,
33,
12340,
2558,
58,
10641,
17,
521,
10786,
41,
11537,
46570,
1303,
8363,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
53,
57,
11473,
38,
9050,
52,
3705,
35504,
6581,
55,
12298,
43421,
48,
19238,
25171,
12340,
2558,
58,
10641,
17,
521,
10786,
57,
11537,
46570,
1303,
569,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
41,
6968,
53,
2606,
44,
43833,
40291,
1677,
39,
57,
35257,
42,
1921,
32457,
18379,
54,
12340,
2558,
58,
10641,
17,
521,
10786,
57,
33809,
1149,
17,
521,
10786,
44,
11537,
46570,
1303,
13889,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
37371,
41,
39,
38,
7397,
37643,
16309,
45607,
2606,
7708,
3824,
43,
11401,
42,
48,
24544,
12340,
2558,
58,
10641,
17,
521,
10786,
57,
33809,
1149,
17,
521,
10786,
44,
11537,
46570,
1303,
19691,
198,
220,
220,
220,
18481,
273,
7,
1136,
62,
16321,
7203,
26236,
48,
6535,
43,
55,
4503,
33,
41,
4303,
35,
57,
24115,
6217,
22125,
52,
56,
37094,
12340,
2558,
58,
10641,
17,
521,
10786,
57,
33809,
1149,
17,
521,
10786,
44,
11537,
46570,
1303,
25197,
198,
60,
198,
198,
9979,
12964,
3528,
5673,
62,
31688,
16779,
20673,
796,
685,
198,
220,
220,
220,
36901,
273,
7,
1136,
62,
16321,
7203,
38162,
52,
41275,
8634,
6322,
55,
10503,
11380,
8895,
36,
29499,
57,
43538,
53,
41,
1404,
4943,
828,
1303,
275,
198,
220,
220,
220,
36901,
273,
7,
1136,
62,
16321,
7203,
37,
8859,
41,
3539,
21414,
1961,
49,
40692,
54,
38,
4177,
42,
52,
48,
50,
15766,
44,
6581,
4943,
828,
1303,
269,
198,
220,
220,
220,
36901,
273,
7,
1136,
62,
16321,
7203,
1677,
42,
48,
26830,
56,
54,
41,
2149,
3185,
9148,
12740,
55,
57,
53,
37,
4221,
49,
14313,
4943,
828,
1303,
275,
532,
7888,
198,
220,
220,
220,
36901,
273,
7,
1136,
62,
16321,
7203,
35257,
9864,
41,
11251,
42,
6089,
39,
5805,
4851,
54,
57,
25922,
31212,
47643,
52,
48,
4943,
828,
1303,
269,
532,
7888,
198,
60,
198,
198,
8818,
651,
62,
44,
18,
62,
268,
13495,
7,
198,
220,
220,
220,
1006,
3712,
12441,
11,
1303,
705,
33,
6,
393,
705,
34,
6,
198,
220,
220,
220,
13666,
3712,
51,
29291,
90,
5317,
11,
2558,
11,
2558,
5512,
198,
220,
220,
220,
44883,
62,
1930,
3712,
10100,
11,
1303,
262,
3599,
44883,
6116,
11,
409,
25,
366,
35,
15996,
1,
198,
220,
220,
220,
6107,
3526,
62,
2536,
3712,
10100,
2625,
8172,
1303,
409,
25,
366,
3483,
14714,
31440,
27178,
13070,
11923,
22269,
370,
57,
1395,
45,
575,
41,
1,
198,
220,
220,
220,
33836,
62,
23352,
62,
4169,
2105,
3712,
33,
970,
28,
7942,
11,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
611,
1006,
6624,
705,
33,
6,
198,
220,
220,
220,
220,
220,
220,
220,
4079,
273,
796,
12964,
3528,
5673,
62,
31688,
16779,
20673,
58,
16,
60,
198,
220,
220,
220,
2073,
361,
1006,
6624,
705,
34,
6,
198,
220,
220,
220,
220,
220,
220,
220,
4079,
273,
796,
12964,
3528,
5673,
62,
31688,
16779,
20673,
58,
17,
60,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
34680,
4079,
273,
720,
5420,
4943,
198,
220,
220,
220,
886,
628,
220,
220,
220,
5724,
669,
796,
12964,
3528,
5673,
62,
49,
2394,
20673,
30109,
12491,
1424,
58,
18,
4357,
13666,
58,
17,
4357,
13666,
58,
16,
11907,
60,
198,
220,
220,
220,
5724,
669,
58,
16,
4083,
10599,
273,
62,
9150,
796,
44883,
62,
1930,
58,
18,
60,
19355,
32,
6,
198,
220,
220,
220,
5724,
669,
58,
17,
4083,
10599,
273,
62,
9150,
796,
44883,
62,
1930,
58,
17,
60,
19355,
32,
6,
198,
220,
220,
220,
5724,
669,
58,
18,
4083,
10599,
273,
62,
9150,
796,
44883,
62,
1930,
58,
16,
60,
19355,
32,
6,
628,
220,
220,
220,
6107,
3526,
796,
22689,
3526,
7,
33327,
7,
16,
25,
2075,
4008,
198,
220,
220,
220,
6107,
3526,
62,
2536,
796,
6330,
7,
16875,
3526,
62,
2536,
11,
366,
33172,
366,
4943,
198,
220,
220,
220,
1312,
796,
352,
198,
220,
220,
220,
981,
1312,
1279,
4129,
7,
16875,
3526,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
1149,
17,
521,
7,
16875,
3526,
62,
2536,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
1149,
17,
521,
7,
16875,
3526,
62,
2536,
58,
72,
10,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
6107,
3526,
13,
16321,
58,
64,
60,
796,
275,
198,
220,
220,
220,
220,
220,
220,
220,
6107,
3526,
13,
16321,
58,
65,
60,
796,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
15853,
362,
198,
220,
220,
220,
886,
628,
220,
220,
220,
24830,
796,
2824,
10786,
32,
10354,
6,
57,
11537,
198,
220,
220,
220,
2039,
13495,
7,
16875,
3526,
11,
5724,
669,
11,
4079,
273,
11,
24830,
11,
33836,
62,
23352,
62,
4169,
2105,
8,
198,
437,
198,
198,
8818,
37773,
0,
7,
268,
13495,
3712,
4834,
13495,
11,
5128,
3712,
10100,
8,
198,
220,
220,
220,
5072,
796,
13538,
198,
220,
220,
220,
329,
269,
287,
5128,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
5072,
1635,
4731,
7,
521,
17,
10641,
7,
268,
8189,
0,
7,
268,
13495,
11,
1149,
17,
521,
7,
66,
35514,
198,
220,
220,
220,
886,
198,
220,
220,
220,
5072,
198,
437,
198,
198,
1616,
198,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
33,
3256,
357,
16,
11,
17,
11,
18,
828,
366,
29697,
4943,
198,
220,
220,
220,
5128,
796,
220,
366,
10970,
48,
1,
9,
1,
52,
11860,
1,
9,
1,
11473,
3913,
1,
9,
1,
45,
47853,
1,
9,
1,
41,
20476,
1,
9,
1,
1961,
8874,
1,
9,
1,
1137,
4221,
1,
9,
1,
3698,
22778,
1,
9,
1,
35755,
7730,
1,
198,
220,
220,
220,
5072,
796,
366,
3185,
25690,
1,
9,
1,
3069,
22778,
1,
9,
1,
17213,
43,
48,
1,
9,
1,
21016,
32572,
1,
9,
1,
11190,
2538,
1,
9,
1,
56,
12096,
39,
1,
9,
1,
34,
41,
9273,
1,
9,
1,
55,
54,
34551,
1,
9,
1,
2390,
33,
39,
1,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5128,
8,
6624,
5072,
628,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
33,
3256,
357,
16,
11,
17,
11,
18,
828,
366,
29697,
4943,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5072,
8,
6624,
5128,
628,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
33,
3256,
357,
16,
11,
17,
11,
18,
828,
366,
29697,
4943,
198,
220,
220,
220,
5128,
17,
796,
366,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
43488,
17922,
32,
1,
198,
220,
220,
220,
5072,
796,
366,
14529,
57,
38,
3913,
34,
55,
27734,
42,
16811,
15972,
8610,
19930,
12261,
52,
48,
46,
17213,
56,
16045,
25010,
31212,
41,
3697,
1268,
39,
45,
55,
9693,
40,
4944,
10970,
1581,
27481,
48,
40492,
8874,
16045,
33,
10526,
51,
57,
50,
57,
50,
6684,
2257,
38,
2394,
10652,
3727,
15199,
30148,
43,
55,
5639,
56,
40692,
5064,
33191,
26009,
57,
6500,
48,
9865,
20474,
37,
47858,
54,
57,
4851,
42,
47,
23264,
4579,
55,
48,
34,
3824,
9865,
11473,
7792,
4503,
41,
31667,
35755,
42,
44,
53,
12889,
23264,
7707,
13752,
8763,
54,
6080,
57,
43,
55,
38,
41,
22348,
56,
48,
47,
8859,
48802,
7792,
42,
47191,
43,
57,
4825,
14529,
11163,
4177,
15571,
7397,
6684,
8859,
51,
4579,
53,
15199,
1797,
38,
41,
15821,
56,
10227,
1677,
4177,
45,
52,
15039,
34,
44004,
2200,
30133,
14529,
41,
4177,
48,
8051,
7730,
2538,
33,
57,
44,
11012,
49,
57,
2640,
55,
24544,
57,
50,
57,
40469,
9697,
37,
4805,
33,
57,
56,
48,
14313,
7792,
3398,
31212,
6217,
12096,
53,
41,
17513,
57,
38,
42,
35,
31212,
6144,
19684,
41,
40,
54,
4177,
44816,
56,
51,
52,
5883,
8202,
56,
53,
4944,
45,
10917,
16601,
15821,
4462,
44879,
12564,
2640,
44175,
13024,
46,
9711,
13909,
52,
5258,
15039,
56,
44,
3528,
40,
4462,
55,
11901,
39,
11251,
31667,
11190,
39,
5064,
48,
35990,
57,
32457,
31212,
48,
34,
27159,
8035,
49,
5097,
8859,
56,
2640,
13024,
33,
42,
5222,
55,
49,
32572,
45113,
56,
8845,
33,
17213,
3824,
16601,
51,
7340,
42,
47,
15996,
57,
2394,
52,
7730,
44,
16768,
57,
35,
2200,
42,
41,
39,
2538,
37,
16601,
16402,
32457,
45607,
54,
53,
17513,
15039,
24544,
10917,
10227,
48,
51,
2200,
13024,
48,
41,
49215,
54,
8575,
8874,
54,
43,
41,
39,
4093,
55,
34,
17213,
49,
10246,
55,
5653,
41,
36,
57,
34,
41,
52,
9792,
11473,
30148,
9655,
5432,
41074,
12805,
5639,
8763,
21414,
34,
2043,
53,
56,
48,
55,
5760,
40,
56,
37,
8264,
43833,
53,
55,
50,
55,
38730,
7156,
55,
42,
12038,
5258,
54,
2749,
38162,
42,
14887,
4503,
15548,
37,
16458,
51,
14326,
57,
14990,
5432,
3697,
41,
11770,
3535,
30100,
48,
41,
8895,
41,
6173,
33866,
13024,
52,
8808,
27734,
16630,
5097,
38,
42,
18694,
51,
57,
17184,
55,
1677,
49,
55,
41,
42598,
57,
14990,
55,
2149,
17947,
26708,
54,
55,
35,
56,
40,
9148,
1137,
33,
3697,
54,
41,
48,
56,
54,
18494,
33866,
48,
34,
30100,
48,
7250,
11909,
3483,
36,
6535,
31667,
38,
5222,
38,
11401,
56,
14326,
2149,
38,
42,
54,
34382,
52,
26236,
43,
27586,
43421,
33569,
47,
41,
23127,
1,
198,
220,
220,
220,
2747,
796,
6330,
7,
268,
8189,
0,
7,
268,
13495,
11,
5128,
17,
828,
366,
33172,
366,
4943,
198,
220,
220,
220,
2488,
30493,
2747,
6624,
5072,
628,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
33,
3256,
357,
18,
11,
20,
11,
23,
828,
366,
9655,
41,
4943,
198,
220,
220,
220,
5072,
17,
796,
366,
41,
44602,
41,
1,
9,
1,
33,
55,
3727,
1,
9,
1,
3978,
57,
42,
1,
9,
1,
3398,
41,
52,
1,
9,
1,
35990,
3535,
1,
9,
1,
11674,
56,
55,
1,
9,
1,
6998,
43,
37,
1,
9,
1,
16601,
16402,
1,
9,
1,
41,
13024,
46,
1,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5128,
8,
6624,
5072,
17,
198,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
33,
3256,
357,
18,
11,
20,
11,
23,
828,
366,
9655,
41,
4943,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5072,
17,
8,
6624,
5128,
628,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
34,
3256,
357,
23,
11,
17,
11,
19,
828,
366,
47,
37643,
1600,
366,
6242,
30440,
12152,
376,
48,
367,
57,
17370,
33974,
7477,
1294,
370,
55,
4943,
198,
220,
220,
220,
5072,
18,
796,
366,
6239,
48,
34,
1,
9,
1,
34278,
55,
45,
1,
9,
1,
41,
33907,
53,
1,
9,
1,
37,
4535,
46,
1,
9,
1,
3824,
57,
50,
1,
9,
1,
46,
9792,
54,
1,
9,
1,
38,
48,
15199,
1,
9,
1,
55,
45,
17947,
1,
9,
1,
3483,
16309,
1,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5128,
8,
6624,
5072,
18,
198,
220,
220,
220,
551,
13495,
796,
651,
62,
44,
18,
62,
268,
13495,
10786,
34,
3256,
357,
23,
11,
17,
11,
19,
828,
366,
47,
37643,
1600,
366,
6242,
30440,
12152,
376,
48,
367,
57,
17370,
33974,
7477,
1294,
370,
55,
4943,
198,
220,
220,
220,
2488,
30493,
37773,
0,
7,
268,
13495,
11,
5072,
18,
8,
6624,
5128,
198,
437
] | 2.134011 | 2,261 |
export Adam
"""
Adam
Adam Optimizer
# References
* Kingma and Ba, ["Adam: A Method for Stochastic Optimization"](http://arxiv.org/abs/1412.6980v8), ICLR 2015.
"""
mutable struct Adam
alpha::Float64
beta1::Float64
beta2::Float64
eps::Float64
states::IdDict
end
Adam() = Adam(0.001, 0.9, 0.999, 1e-8, IdDict())
Adam(alpha)= Adam(alpha, 0.9, 0.999, 1e-8, IdDict())
function (opt::Adam)(param::Array{T}, grad::Array{T}) where T
@assert length(param) == length(grad)
state = get!(opt.states, param, nothing)
if state == nothing
m, v, t = zeros(param), zeros(grad), 1
else
m::Array{T}, v::Array{T}, t::Int = state
end
BLAS.scale!(T(opt.beta1), m)
BLAS.axpy!(T(1.0 - opt.beta1), grad, m)
BLAS.scale!(T(opt.beta2), v)
@inbounds for i = 1:length(grad)
grad[i] = grad[i] * grad[i]
end
BLAS.axpy!(T(1.0 - opt.beta2), grad, v)
fix1 = 1.0 - opt.beta1 ^ t
fix2 = 1.0 - opt.beta2 ^ t
rate = opt.alpha * sqrt(fix2) / fix1
@inbounds for i = 1:length(param)
param[i] -= rate * m[i] / (sqrt(v[i]) + T(opt.eps))
end
opt.states[param] = (m, v, t + 1)
fill!(grad, T(0.0))
end
(opt::Adam)(x::Var) = opt(x.data, x.grad)
function update_slow!(opt::Adam, param::Array{T}, grad::Array{T}) where T
state = get!(opt.states, param, nothing)
if state == nothing
m, v, t = zeros(param), zeros(grad), 1
else
m::Array{T}, v::Array{T}, t::Int = state
end
m += (1.0 - opt.beta1) * (grad - m)
v += (1.0 - opt.beta2) * (grad .* grad - v)
fix1 = 1.0 - opt.beta1 ^ t
fix2 = 1.0 - opt.beta2 ^ t
rate = opt.alpha * sqrt(fix2) / fix1
for i = 1:length(param)
param[i] -= rate * m[i] / (sqrt(v[i]) + T(opt.eps))
end
opt.states[param] = (m, v, t + 1)
fill!(grad, T(0.0))
end
| [
39344,
7244,
198,
198,
37811,
198,
220,
220,
220,
7244,
198,
198,
23159,
30011,
7509,
198,
198,
2,
31458,
198,
9,
2677,
2611,
290,
8999,
11,
14631,
23159,
25,
317,
11789,
329,
520,
5374,
3477,
30011,
1634,
8973,
7,
4023,
1378,
283,
87,
452,
13,
2398,
14,
8937,
14,
1415,
1065,
13,
3388,
1795,
85,
23,
828,
314,
5097,
49,
1853,
13,
198,
37811,
198,
76,
18187,
2878,
7244,
198,
220,
220,
220,
17130,
3712,
43879,
2414,
198,
220,
220,
220,
12159,
16,
3712,
43879,
2414,
198,
220,
220,
220,
12159,
17,
3712,
43879,
2414,
198,
220,
220,
220,
304,
862,
3712,
43879,
2414,
198,
220,
220,
220,
2585,
3712,
7390,
35,
713,
198,
437,
198,
198,
23159,
3419,
796,
7244,
7,
15,
13,
8298,
11,
657,
13,
24,
11,
657,
13,
17032,
11,
352,
68,
12,
23,
11,
5121,
35,
713,
28955,
198,
23159,
7,
26591,
47505,
7244,
7,
26591,
11,
657,
13,
24,
11,
657,
13,
17032,
11,
352,
68,
12,
23,
11,
5121,
35,
713,
28955,
198,
198,
8818,
357,
8738,
3712,
23159,
5769,
17143,
3712,
19182,
90,
51,
5512,
3915,
3712,
19182,
90,
51,
30072,
810,
309,
198,
220,
220,
220,
2488,
30493,
4129,
7,
17143,
8,
6624,
4129,
7,
9744,
8,
198,
220,
220,
220,
1181,
796,
651,
0,
7,
8738,
13,
27219,
11,
5772,
11,
2147,
8,
198,
220,
220,
220,
611,
1181,
6624,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
285,
11,
410,
11,
256,
796,
1976,
27498,
7,
17143,
828,
1976,
27498,
7,
9744,
828,
352,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
3712,
19182,
90,
51,
5512,
410,
3712,
19182,
90,
51,
5512,
256,
3712,
5317,
796,
1181,
198,
220,
220,
220,
886,
198,
220,
220,
220,
9878,
1921,
13,
9888,
0,
7,
51,
7,
8738,
13,
31361,
16,
828,
285,
8,
198,
220,
220,
220,
9878,
1921,
13,
897,
9078,
0,
7,
51,
7,
16,
13,
15,
532,
2172,
13,
31361,
16,
828,
3915,
11,
285,
8,
198,
220,
220,
220,
9878,
1921,
13,
9888,
0,
7,
51,
7,
8738,
13,
31361,
17,
828,
410,
8,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
796,
352,
25,
13664,
7,
9744,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3915,
58,
72,
60,
796,
3915,
58,
72,
60,
1635,
3915,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
9878,
1921,
13,
897,
9078,
0,
7,
51,
7,
16,
13,
15,
532,
2172,
13,
31361,
17,
828,
3915,
11,
410,
8,
198,
220,
220,
220,
4259,
16,
796,
352,
13,
15,
532,
2172,
13,
31361,
16,
10563,
256,
198,
220,
220,
220,
4259,
17,
796,
352,
13,
15,
532,
2172,
13,
31361,
17,
10563,
256,
198,
220,
220,
220,
2494,
796,
2172,
13,
26591,
1635,
19862,
17034,
7,
13049,
17,
8,
1220,
4259,
16,
198,
220,
220,
220,
2488,
259,
65,
3733,
329,
1312,
796,
352,
25,
13664,
7,
17143,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5772,
58,
72,
60,
48185,
2494,
1635,
285,
58,
72,
60,
1220,
357,
31166,
17034,
7,
85,
58,
72,
12962,
1343,
309,
7,
8738,
13,
25386,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2172,
13,
27219,
58,
17143,
60,
796,
357,
76,
11,
410,
11,
256,
1343,
352,
8,
198,
220,
220,
220,
6070,
0,
7,
9744,
11,
309,
7,
15,
13,
15,
4008,
198,
437,
198,
7,
8738,
3712,
23159,
5769,
87,
3712,
19852,
8,
796,
2172,
7,
87,
13,
7890,
11,
2124,
13,
9744,
8,
198,
198,
8818,
4296,
62,
38246,
0,
7,
8738,
3712,
23159,
11,
5772,
3712,
19182,
90,
51,
5512,
3915,
3712,
19182,
90,
51,
30072,
810,
309,
198,
220,
220,
220,
1181,
796,
651,
0,
7,
8738,
13,
27219,
11,
5772,
11,
2147,
8,
198,
220,
220,
220,
611,
1181,
6624,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
285,
11,
410,
11,
256,
796,
1976,
27498,
7,
17143,
828,
1976,
27498,
7,
9744,
828,
352,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
3712,
19182,
90,
51,
5512,
410,
3712,
19182,
90,
51,
5512,
256,
3712,
5317,
796,
1181,
198,
220,
220,
220,
886,
198,
220,
220,
220,
285,
15853,
357,
16,
13,
15,
532,
2172,
13,
31361,
16,
8,
1635,
357,
9744,
532,
285,
8,
198,
220,
220,
220,
410,
15853,
357,
16,
13,
15,
532,
2172,
13,
31361,
17,
8,
1635,
357,
9744,
764,
9,
3915,
532,
410,
8,
198,
220,
220,
220,
4259,
16,
796,
352,
13,
15,
532,
2172,
13,
31361,
16,
10563,
256,
198,
220,
220,
220,
4259,
17,
796,
352,
13,
15,
532,
2172,
13,
31361,
17,
10563,
256,
198,
220,
220,
220,
2494,
796,
2172,
13,
26591,
1635,
19862,
17034,
7,
13049,
17,
8,
1220,
4259,
16,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
13664,
7,
17143,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5772,
58,
72,
60,
48185,
2494,
1635,
285,
58,
72,
60,
1220,
357,
31166,
17034,
7,
85,
58,
72,
12962,
1343,
309,
7,
8738,
13,
25386,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2172,
13,
27219,
58,
17143,
60,
796,
357,
76,
11,
410,
11,
256,
1343,
352,
8,
198,
220,
220,
220,
6070,
0,
7,
9744,
11,
309,
7,
15,
13,
15,
4008,
198,
437,
198
] | 2.054749 | 895 |
#==============================================================================#
# Athena.jl
#
# This file is generated from:
# https://github.com/aws/aws-sdk-js/blob/master/apis/athena-2017-05-18.normal.json
#==============================================================================#
__precompile__()
module Athena
using AWSCore
"""
using AWSSDK.Athena.batch_get_named_query
batch_get_named_query([::AWSConfig], arguments::Dict)
batch_get_named_query([::AWSConfig]; NamedQueryIds=)
using AWSCore.Services.athena
athena([::AWSConfig], "BatchGetNamedQuery", arguments::Dict)
athena([::AWSConfig], "BatchGetNamedQuery", NamedQueryIds=)
# BatchGetNamedQuery Operation
Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use [ListNamedQueries](@ref) to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under [UnprocessedNamedQueryId](@ref). Named queries are different from executed queries. Use [BatchGetQueryExecution](@ref) to get details about each unique query execution, and [ListQueryExecutions](@ref) to get a list of query execution IDs.
# Arguments
## `NamedQueryIds = [::String, ...]` -- *Required*
An array of query IDs.
# Returns
`BatchGetNamedQueryOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery)
"""
@inline batch_get_named_query(aws::AWSConfig=default_aws_config(); args...) = batch_get_named_query(aws, args)
@inline batch_get_named_query(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "BatchGetNamedQuery", args)
@inline batch_get_named_query(args) = batch_get_named_query(default_aws_config(), args)
"""
using AWSSDK.Athena.batch_get_query_execution
batch_get_query_execution([::AWSConfig], arguments::Dict)
batch_get_query_execution([::AWSConfig]; QueryExecutionIds=)
using AWSCore.Services.athena
athena([::AWSConfig], "BatchGetQueryExecution", arguments::Dict)
athena([::AWSConfig], "BatchGetQueryExecution", QueryExecutionIds=)
# BatchGetQueryExecution Operation
Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use [ListQueryExecutions](@ref). Query executions are different from named (saved) queries. Use [BatchGetNamedQuery](@ref) to get details about named queries.
# Arguments
## `QueryExecutionIds = [::String, ...]` -- *Required*
An array of query execution IDs.
# Returns
`BatchGetQueryExecutionOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution)
"""
@inline batch_get_query_execution(aws::AWSConfig=default_aws_config(); args...) = batch_get_query_execution(aws, args)
@inline batch_get_query_execution(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "BatchGetQueryExecution", args)
@inline batch_get_query_execution(args) = batch_get_query_execution(default_aws_config(), args)
"""
using AWSSDK.Athena.create_named_query
create_named_query([::AWSConfig], arguments::Dict)
create_named_query([::AWSConfig]; Name=, Database=, QueryString=, <keyword arguments>)
using AWSCore.Services.athena
athena([::AWSConfig], "CreateNamedQuery", arguments::Dict)
athena([::AWSConfig], "CreateNamedQuery", Name=, Database=, QueryString=, <keyword arguments>)
# CreateNamedQuery Operation
Creates a named query.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `Name = ::String` -- *Required*
The plain language name for the query.
## `Description = ::String`
A brief explanation of the query.
## `Database = ::String` -- *Required*
The database to which the query belongs.
## `QueryString = ::String` -- *Required*
The text of the query itself. In other words, all query statements.
## `ClientRequestToken = ::String`
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another `CreateNamedQuery` request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the `QueryString`, an error is returned.
**Important**
> This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
# Returns
`CreateNamedQueryOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery)
"""
@inline create_named_query(aws::AWSConfig=default_aws_config(); args...) = create_named_query(aws, args)
@inline create_named_query(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "CreateNamedQuery", args)
@inline create_named_query(args) = create_named_query(default_aws_config(), args)
"""
using AWSSDK.Athena.delete_named_query
delete_named_query([::AWSConfig], arguments::Dict)
delete_named_query([::AWSConfig]; NamedQueryId=)
using AWSCore.Services.athena
athena([::AWSConfig], "DeleteNamedQuery", arguments::Dict)
athena([::AWSConfig], "DeleteNamedQuery", NamedQueryId=)
# DeleteNamedQuery Operation
Deletes a named query.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `NamedQueryId = ::String` -- *Required*
The unique ID of the query to delete.
# Returns
`DeleteNamedQueryOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery)
"""
@inline delete_named_query(aws::AWSConfig=default_aws_config(); args...) = delete_named_query(aws, args)
@inline delete_named_query(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "DeleteNamedQuery", args)
@inline delete_named_query(args) = delete_named_query(default_aws_config(), args)
"""
using AWSSDK.Athena.get_named_query
get_named_query([::AWSConfig], arguments::Dict)
get_named_query([::AWSConfig]; NamedQueryId=)
using AWSCore.Services.athena
athena([::AWSConfig], "GetNamedQuery", arguments::Dict)
athena([::AWSConfig], "GetNamedQuery", NamedQueryId=)
# GetNamedQuery Operation
Returns information about a single query.
# Arguments
## `NamedQueryId = ::String` -- *Required*
The unique ID of the query. Use [ListNamedQueries](@ref) to get query IDs.
# Returns
`GetNamedQueryOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery)
"""
@inline get_named_query(aws::AWSConfig=default_aws_config(); args...) = get_named_query(aws, args)
@inline get_named_query(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "GetNamedQuery", args)
@inline get_named_query(args) = get_named_query(default_aws_config(), args)
"""
using AWSSDK.Athena.get_query_execution
get_query_execution([::AWSConfig], arguments::Dict)
get_query_execution([::AWSConfig]; QueryExecutionId=)
using AWSCore.Services.athena
athena([::AWSConfig], "GetQueryExecution", arguments::Dict)
athena([::AWSConfig], "GetQueryExecution", QueryExecutionId=)
# GetQueryExecution Operation
Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.
# Arguments
## `QueryExecutionId = ::String` -- *Required*
The unique ID of the query execution.
# Returns
`GetQueryExecutionOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution)
"""
@inline get_query_execution(aws::AWSConfig=default_aws_config(); args...) = get_query_execution(aws, args)
@inline get_query_execution(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "GetQueryExecution", args)
@inline get_query_execution(args) = get_query_execution(default_aws_config(), args)
"""
using AWSSDK.Athena.get_query_results
get_query_results([::AWSConfig], arguments::Dict)
get_query_results([::AWSConfig]; QueryExecutionId=, <keyword arguments>)
using AWSCore.Services.athena
athena([::AWSConfig], "GetQueryResults", arguments::Dict)
athena([::AWSConfig], "GetQueryResults", QueryExecutionId=, <keyword arguments>)
# GetQueryResults Operation
Returns the results of a single query execution specified by `QueryExecutionId`. This request does not execute the query but returns results. Use [StartQueryExecution](@ref) to run a query.
# Arguments
## `QueryExecutionId = ::String` -- *Required*
The unique ID of the query execution.
## `NextToken = ::String`
The token that specifies where to start pagination if a previous request was truncated.
## `MaxResults = ::Int`
The maximum number of results (rows) to return in this request.
# Returns
`GetQueryResultsOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults)
"""
@inline get_query_results(aws::AWSConfig=default_aws_config(); args...) = get_query_results(aws, args)
@inline get_query_results(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "GetQueryResults", args)
@inline get_query_results(args) = get_query_results(default_aws_config(), args)
"""
using AWSSDK.Athena.list_named_queries
list_named_queries([::AWSConfig], arguments::Dict)
list_named_queries([::AWSConfig]; <keyword arguments>)
using AWSCore.Services.athena
athena([::AWSConfig], "ListNamedQueries", arguments::Dict)
athena([::AWSConfig], "ListNamedQueries", <keyword arguments>)
# ListNamedQueries Operation
Provides a list of all available query IDs.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `NextToken = ::String`
The token that specifies where to start pagination if a previous request was truncated.
## `MaxResults = ::Int`
The maximum number of queries to return in this request.
# Returns
`ListNamedQueriesOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries)
"""
@inline list_named_queries(aws::AWSConfig=default_aws_config(); args...) = list_named_queries(aws, args)
@inline list_named_queries(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "ListNamedQueries", args)
@inline list_named_queries(args) = list_named_queries(default_aws_config(), args)
"""
using AWSSDK.Athena.list_query_executions
list_query_executions([::AWSConfig], arguments::Dict)
list_query_executions([::AWSConfig]; <keyword arguments>)
using AWSCore.Services.athena
athena([::AWSConfig], "ListQueryExecutions", arguments::Dict)
athena([::AWSConfig], "ListQueryExecutions", <keyword arguments>)
# ListQueryExecutions Operation
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `NextToken = ::String`
The token that specifies where to start pagination if a previous request was truncated.
## `MaxResults = ::Int`
The maximum number of query executions to return in this request.
# Returns
`ListQueryExecutionsOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions)
"""
@inline list_query_executions(aws::AWSConfig=default_aws_config(); args...) = list_query_executions(aws, args)
@inline list_query_executions(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "ListQueryExecutions", args)
@inline list_query_executions(args) = list_query_executions(default_aws_config(), args)
"""
using AWSSDK.Athena.start_query_execution
start_query_execution([::AWSConfig], arguments::Dict)
start_query_execution([::AWSConfig]; QueryString=, ResultConfiguration=, <keyword arguments>)
using AWSCore.Services.athena
athena([::AWSConfig], "StartQueryExecution", arguments::Dict)
athena([::AWSConfig], "StartQueryExecution", QueryString=, ResultConfiguration=, <keyword arguments>)
# StartQueryExecution Operation
Runs (executes) the SQL query statements contained in the `Query` string.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `QueryString = ::String` -- *Required*
The SQL query statements to be executed.
## `ClientRequestToken = ::String`
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another `StartQueryExecution` request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the `QueryString`, an error is returned.
**Important**
> This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
## `QueryExecutionContext = ["Database" => ::String]`
The database within which the query executes.
## `ResultConfiguration = [ ... ]` -- *Required*
Specifies information about where and how to save the results of the query execution.
```
ResultConfiguration = [
"OutputLocation" => <required> ::String,
"EncryptionConfiguration" => [
"EncryptionOption" => <required> "SSE_S3", "SSE_KMS" or "CSE_KMS",
"KmsKey" => ::String
]
]
```
# Returns
`StartQueryExecutionOutput`
# Exceptions
`InternalServerException`, `InvalidRequestException` or `TooManyRequestsException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution)
"""
@inline start_query_execution(aws::AWSConfig=default_aws_config(); args...) = start_query_execution(aws, args)
@inline start_query_execution(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "StartQueryExecution", args)
@inline start_query_execution(args) = start_query_execution(default_aws_config(), args)
"""
using AWSSDK.Athena.stop_query_execution
stop_query_execution([::AWSConfig], arguments::Dict)
stop_query_execution([::AWSConfig]; QueryExecutionId=)
using AWSCore.Services.athena
athena([::AWSConfig], "StopQueryExecution", arguments::Dict)
athena([::AWSConfig], "StopQueryExecution", QueryExecutionId=)
# StopQueryExecution Operation
Stops a query execution.
For code samples using the AWS SDK for Java, see [Examples and Code Samples](http://docs.aws.amazon.com/athena/latest/ug/code-samples.html) in the *Amazon Athena User Guide*.
# Arguments
## `QueryExecutionId = ::String` -- *Required*
The unique ID of the query execution to stop.
# Returns
`StopQueryExecutionOutput`
# Exceptions
`InternalServerException` or `InvalidRequestException`.
See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution)
"""
@inline stop_query_execution(aws::AWSConfig=default_aws_config(); args...) = stop_query_execution(aws, args)
@inline stop_query_execution(aws::AWSConfig, args) = AWSCore.Services.athena(aws, "StopQueryExecution", args)
@inline stop_query_execution(args) = stop_query_execution(default_aws_config(), args)
end # module Athena
#==============================================================================#
# End of file
#==============================================================================#
| [
2,
23926,
25609,
855,
2,
198,
2,
21341,
13,
20362,
198,
2,
198,
2,
770,
2393,
318,
7560,
422,
25,
198,
2,
3740,
1378,
12567,
13,
785,
14,
8356,
14,
8356,
12,
21282,
74,
12,
8457,
14,
2436,
672,
14,
9866,
14,
499,
271,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
13,
11265,
13,
17752,
198,
2,
23926,
25609,
855,
2,
198,
198,
834,
3866,
5589,
576,
834,
3419,
198,
198,
21412,
21341,
198,
198,
3500,
14356,
6173,
382,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
43501,
62,
1136,
62,
13190,
62,
22766,
198,
220,
220,
220,
15458,
62,
1136,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
15458,
62,
1136,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
11208,
34441,
20746,
7390,
82,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
33,
963,
3855,
45,
2434,
20746,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
33,
963,
3855,
45,
2434,
20746,
1600,
34441,
20746,
7390,
82,
28,
8,
198,
198,
2,
347,
963,
3855,
45,
2434,
20746,
14680,
198,
198,
35561,
262,
3307,
286,
257,
2060,
3706,
12405,
393,
257,
1351,
286,
510,
284,
2026,
20743,
11,
543,
345,
2148,
355,
281,
7177,
286,
12405,
4522,
13042,
13,
5765,
685,
8053,
45,
2434,
4507,
10640,
16151,
31,
5420,
8,
284,
651,
262,
1351,
286,
3706,
12405,
32373,
13,
1002,
1321,
714,
407,
307,
29517,
329,
257,
8948,
12405,
4522,
11,
1321,
546,
262,
12405,
4522,
8948,
318,
5610,
739,
685,
3118,
14681,
276,
45,
2434,
20746,
7390,
16151,
31,
5420,
737,
34441,
20743,
389,
1180,
422,
10945,
20743,
13,
5765,
685,
33,
963,
3855,
20746,
23002,
1009,
16151,
31,
5420,
8,
284,
651,
3307,
546,
1123,
3748,
12405,
9706,
11,
290,
685,
8053,
20746,
23002,
3508,
16151,
31,
5420,
8,
284,
651,
257,
1351,
286,
12405,
9706,
32373,
13,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
45,
2434,
20746,
7390,
82,
796,
685,
3712,
10100,
11,
2644,
60,
63,
1377,
1635,
37374,
9,
198,
2025,
7177,
286,
12405,
32373,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
33,
963,
3855,
45,
2434,
20746,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
33,
963,
3855,
45,
2434,
20746,
8,
198,
37811,
198,
31,
45145,
15458,
62,
1136,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
15458,
62,
1136,
62,
13190,
62,
22766,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
15458,
62,
1136,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
33,
963,
3855,
45,
2434,
20746,
1600,
26498,
8,
198,
198,
31,
45145,
15458,
62,
1136,
62,
13190,
62,
22766,
7,
22046,
8,
796,
15458,
62,
1136,
62,
13190,
62,
22766,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
43501,
62,
1136,
62,
22766,
62,
18558,
1009,
198,
220,
220,
220,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
11208,
43301,
23002,
1009,
7390,
82,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
33,
963,
3855,
20746,
23002,
1009,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
33,
963,
3855,
20746,
23002,
1009,
1600,
43301,
23002,
1009,
7390,
82,
28,
8,
198,
198,
2,
347,
963,
3855,
20746,
23002,
1009,
14680,
198,
198,
35561,
262,
3307,
286,
257,
2060,
12405,
9706,
393,
257,
1351,
286,
510,
284,
2026,
12405,
30632,
11,
543,
345,
2148,
355,
281,
7177,
286,
12405,
9706,
4522,
13042,
13,
1675,
651,
257,
1351,
286,
12405,
9706,
32373,
11,
779,
685,
8053,
20746,
23002,
3508,
16151,
31,
5420,
737,
43301,
30632,
389,
1180,
422,
3706,
357,
82,
9586,
8,
20743,
13,
5765,
685,
33,
963,
3855,
45,
2434,
20746,
16151,
31,
5420,
8,
284,
651,
3307,
546,
3706,
20743,
13,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
20746,
23002,
1009,
7390,
82,
796,
685,
3712,
10100,
11,
2644,
60,
63,
1377,
1635,
37374,
9,
198,
2025,
7177,
286,
12405,
9706,
32373,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
33,
963,
3855,
20746,
23002,
1009,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
33,
963,
3855,
20746,
23002,
1009,
8,
198,
37811,
198,
31,
45145,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
33,
963,
3855,
20746,
23002,
1009,
1600,
26498,
8,
198,
198,
31,
45145,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
7,
22046,
8,
796,
15458,
62,
1136,
62,
22766,
62,
18558,
1009,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
17953,
62,
13190,
62,
22766,
198,
220,
220,
220,
2251,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
2251,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
11208,
6530,
28,
11,
24047,
28,
11,
43301,
10100,
28,
11,
1279,
2539,
4775,
7159,
43734,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
16447,
45,
2434,
20746,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
16447,
45,
2434,
20746,
1600,
6530,
28,
11,
24047,
28,
11,
43301,
10100,
28,
11,
1279,
2539,
4775,
7159,
43734,
198,
198,
2,
13610,
45,
2434,
20746,
14680,
198,
198,
16719,
274,
257,
3706,
12405,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
5376,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
8631,
3303,
1438,
329,
262,
12405,
13,
628,
198,
2235,
4600,
11828,
796,
7904,
10100,
63,
198,
32,
4506,
7468,
286,
262,
12405,
13,
628,
198,
2235,
4600,
38105,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
6831,
284,
543,
262,
12405,
14448,
13,
628,
198,
2235,
4600,
20746,
10100,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
2420,
286,
262,
12405,
2346,
13,
554,
584,
2456,
11,
477,
12405,
6299,
13,
628,
198,
2235,
4600,
11792,
18453,
30642,
796,
7904,
10100,
63,
198,
32,
3748,
1339,
12,
30176,
4731,
973,
284,
4155,
262,
2581,
284,
2251,
262,
12405,
318,
4686,
368,
13059,
298,
357,
18558,
1769,
691,
1752,
737,
1002,
1194,
4600,
16447,
45,
2434,
20746,
63,
2581,
318,
2722,
11,
262,
976,
2882,
318,
4504,
290,
1194,
12405,
318,
407,
2727,
13,
1002,
257,
11507,
468,
3421,
11,
329,
1672,
11,
262,
4600,
20746,
10100,
47671,
281,
4049,
318,
4504,
13,
198,
198,
1174,
33796,
1174,
198,
29,
770,
11241,
318,
5610,
355,
407,
2672,
780,
30865,
26144,
82,
357,
1640,
1672,
262,
30865,
26144,
329,
7349,
8,
8295,
12,
8612,
378,
262,
11241,
329,
2985,
13,
1002,
345,
389,
407,
1262,
262,
30865,
26144,
393,
262,
30865,
43749,
11,
345,
1276,
2148,
428,
11241,
393,
262,
2223,
481,
2038,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
16447,
45,
2434,
20746,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
16447,
45,
2434,
20746,
8,
198,
37811,
198,
31,
45145,
2251,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
2251,
62,
13190,
62,
22766,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
2251,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
16447,
45,
2434,
20746,
1600,
26498,
8,
198,
198,
31,
45145,
2251,
62,
13190,
62,
22766,
7,
22046,
8,
796,
2251,
62,
13190,
62,
22766,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
33678,
62,
13190,
62,
22766,
198,
220,
220,
220,
12233,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
12233,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
11208,
34441,
20746,
7390,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
38727,
45,
2434,
20746,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
38727,
45,
2434,
20746,
1600,
34441,
20746,
7390,
28,
8,
198,
198,
2,
23520,
45,
2434,
20746,
14680,
198,
198,
5005,
40676,
257,
3706,
12405,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
45,
2434,
20746,
7390,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
3748,
4522,
286,
262,
12405,
284,
12233,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
38727,
45,
2434,
20746,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
38727,
45,
2434,
20746,
8,
198,
37811,
198,
31,
45145,
12233,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
12233,
62,
13190,
62,
22766,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
12233,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
38727,
45,
2434,
20746,
1600,
26498,
8,
198,
198,
31,
45145,
12233,
62,
13190,
62,
22766,
7,
22046,
8,
796,
12233,
62,
13190,
62,
22766,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
1136,
62,
13190,
62,
22766,
198,
220,
220,
220,
651,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
651,
62,
13190,
62,
22766,
26933,
3712,
12298,
50,
16934,
11208,
34441,
20746,
7390,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
45,
2434,
20746,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
45,
2434,
20746,
1600,
34441,
20746,
7390,
28,
8,
198,
198,
2,
3497,
45,
2434,
20746,
14680,
198,
198,
35561,
1321,
546,
257,
2060,
12405,
13,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
45,
2434,
20746,
7390,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
3748,
4522,
286,
262,
12405,
13,
5765,
685,
8053,
45,
2434,
4507,
10640,
16151,
31,
5420,
8,
284,
651,
12405,
32373,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
3855,
45,
2434,
20746,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
3855,
45,
2434,
20746,
8,
198,
37811,
198,
31,
45145,
651,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
651,
62,
13190,
62,
22766,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
651,
62,
13190,
62,
22766,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
3855,
45,
2434,
20746,
1600,
26498,
8,
198,
198,
31,
45145,
651,
62,
13190,
62,
22766,
7,
22046,
8,
796,
651,
62,
13190,
62,
22766,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
1136,
62,
22766,
62,
18558,
1009,
198,
220,
220,
220,
651,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
651,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
11208,
43301,
23002,
1009,
7390,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
20746,
23002,
1009,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
20746,
23002,
1009,
1600,
43301,
23002,
1009,
7390,
28,
8,
198,
198,
2,
3497,
20746,
23002,
1009,
14680,
198,
198,
35561,
1321,
546,
257,
2060,
9706,
286,
257,
12405,
13,
5501,
640,
257,
12405,
42985,
11,
1321,
546,
262,
12405,
9706,
318,
7448,
351,
257,
3748,
4522,
13,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
20746,
23002,
1009,
7390,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
3748,
4522,
286,
262,
12405,
9706,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
3855,
20746,
23002,
1009,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
3855,
20746,
23002,
1009,
8,
198,
37811,
198,
31,
45145,
651,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
651,
62,
22766,
62,
18558,
1009,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
651,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
3855,
20746,
23002,
1009,
1600,
26498,
8,
198,
198,
31,
45145,
651,
62,
22766,
62,
18558,
1009,
7,
22046,
8,
796,
651,
62,
22766,
62,
18558,
1009,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
1136,
62,
22766,
62,
43420,
198,
220,
220,
220,
651,
62,
22766,
62,
43420,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
651,
62,
22766,
62,
43420,
26933,
3712,
12298,
50,
16934,
11208,
43301,
23002,
1009,
7390,
28,
11,
1279,
2539,
4775,
7159,
43734,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
20746,
25468,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
3855,
20746,
25468,
1600,
43301,
23002,
1009,
7390,
28,
11,
1279,
2539,
4775,
7159,
43734,
198,
198,
2,
3497,
20746,
25468,
14680,
198,
198,
35561,
262,
2482,
286,
257,
2060,
12405,
9706,
7368,
416,
4600,
20746,
23002,
1009,
7390,
44646,
770,
2581,
857,
407,
12260,
262,
12405,
475,
5860,
2482,
13,
5765,
685,
10434,
20746,
23002,
1009,
16151,
31,
5420,
8,
284,
1057,
257,
12405,
13,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
20746,
23002,
1009,
7390,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
3748,
4522,
286,
262,
12405,
9706,
13,
628,
198,
2235,
4600,
10019,
30642,
796,
7904,
10100,
63,
198,
464,
11241,
326,
26052,
810,
284,
923,
42208,
1883,
611,
257,
2180,
2581,
373,
40122,
515,
13,
628,
198,
2235,
4600,
11518,
25468,
796,
7904,
5317,
63,
198,
464,
5415,
1271,
286,
2482,
357,
8516,
8,
284,
1441,
287,
428,
2581,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
3855,
20746,
25468,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
3855,
20746,
25468,
8,
198,
37811,
198,
31,
45145,
651,
62,
22766,
62,
43420,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
651,
62,
22766,
62,
43420,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
651,
62,
22766,
62,
43420,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
3855,
20746,
25468,
1600,
26498,
8,
198,
198,
31,
45145,
651,
62,
22766,
62,
43420,
7,
22046,
8,
796,
651,
62,
22766,
62,
43420,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
4868,
62,
13190,
62,
421,
10640,
198,
220,
220,
220,
1351,
62,
13190,
62,
421,
10640,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
1351,
62,
13190,
62,
421,
10640,
26933,
3712,
12298,
50,
16934,
11208,
1279,
2539,
4775,
7159,
43734,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
8053,
45,
2434,
4507,
10640,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
8053,
45,
2434,
4507,
10640,
1600,
1279,
2539,
4775,
7159,
43734,
198,
198,
2,
7343,
45,
2434,
4507,
10640,
14680,
198,
198,
15946,
1460,
257,
1351,
286,
477,
1695,
12405,
32373,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
10019,
30642,
796,
7904,
10100,
63,
198,
464,
11241,
326,
26052,
810,
284,
923,
42208,
1883,
611,
257,
2180,
2581,
373,
40122,
515,
13,
628,
198,
2235,
4600,
11518,
25468,
796,
7904,
5317,
63,
198,
464,
5415,
1271,
286,
20743,
284,
1441,
287,
428,
2581,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
8053,
45,
2434,
4507,
10640,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
8053,
45,
2434,
4507,
10640,
8,
198,
37811,
198,
31,
45145,
1351,
62,
13190,
62,
421,
10640,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
1351,
62,
13190,
62,
421,
10640,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
1351,
62,
13190,
62,
421,
10640,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
8053,
45,
2434,
4507,
10640,
1600,
26498,
8,
198,
198,
31,
45145,
1351,
62,
13190,
62,
421,
10640,
7,
22046,
8,
796,
1351,
62,
13190,
62,
421,
10640,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
4868,
62,
22766,
62,
18558,
3508,
198,
220,
220,
220,
1351,
62,
22766,
62,
18558,
3508,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
1351,
62,
22766,
62,
18558,
3508,
26933,
3712,
12298,
50,
16934,
11208,
1279,
2539,
4775,
7159,
43734,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
8053,
20746,
23002,
3508,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
8053,
20746,
23002,
3508,
1600,
1279,
2539,
4775,
7159,
43734,
198,
198,
2,
7343,
20746,
23002,
3508,
14680,
198,
198,
15946,
1460,
257,
1351,
286,
477,
1695,
12405,
9706,
32373,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
10019,
30642,
796,
7904,
10100,
63,
198,
464,
11241,
326,
26052,
810,
284,
923,
42208,
1883,
611,
257,
2180,
2581,
373,
40122,
515,
13,
628,
198,
2235,
4600,
11518,
25468,
796,
7904,
5317,
63,
198,
464,
5415,
1271,
286,
12405,
30632,
284,
1441,
287,
428,
2581,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
8053,
20746,
23002,
3508,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
8053,
20746,
23002,
3508,
8,
198,
37811,
198,
31,
45145,
1351,
62,
22766,
62,
18558,
3508,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
1351,
62,
22766,
62,
18558,
3508,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
1351,
62,
22766,
62,
18558,
3508,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
8053,
20746,
23002,
3508,
1600,
26498,
8,
198,
198,
31,
45145,
1351,
62,
22766,
62,
18558,
3508,
7,
22046,
8,
796,
1351,
62,
22766,
62,
18558,
3508,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
9688,
62,
22766,
62,
18558,
1009,
198,
220,
220,
220,
923,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
923,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
11208,
43301,
10100,
28,
11,
25414,
38149,
28,
11,
1279,
2539,
4775,
7159,
43734,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
10434,
20746,
23002,
1009,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
10434,
20746,
23002,
1009,
1600,
43301,
10100,
28,
11,
25414,
38149,
28,
11,
1279,
2539,
4775,
7159,
43734,
198,
198,
2,
7253,
20746,
23002,
1009,
14680,
198,
198,
10987,
82,
357,
18558,
1769,
8,
262,
16363,
12405,
6299,
7763,
287,
262,
4600,
20746,
63,
4731,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
20746,
10100,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
16363,
12405,
6299,
284,
307,
10945,
13,
628,
198,
2235,
4600,
11792,
18453,
30642,
796,
7904,
10100,
63,
198,
32,
3748,
1339,
12,
30176,
4731,
973,
284,
4155,
262,
2581,
284,
2251,
262,
12405,
318,
4686,
368,
13059,
298,
357,
18558,
1769,
691,
1752,
737,
1002,
1194,
4600,
10434,
20746,
23002,
1009,
63,
2581,
318,
2722,
11,
262,
976,
2882,
318,
4504,
290,
1194,
12405,
318,
407,
2727,
13,
1002,
257,
11507,
468,
3421,
11,
329,
1672,
11,
262,
4600,
20746,
10100,
47671,
281,
4049,
318,
4504,
13,
198,
198,
1174,
33796,
1174,
198,
29,
770,
11241,
318,
5610,
355,
407,
2672,
780,
30865,
26144,
82,
357,
1640,
1672,
262,
30865,
26144,
329,
7349,
8,
8295,
12,
8612,
378,
262,
11241,
329,
2985,
13,
1002,
345,
389,
407,
1262,
262,
30865,
26144,
393,
262,
30865,
43749,
11,
345,
1276,
2148,
428,
11241,
393,
262,
2223,
481,
2038,
13,
628,
198,
2235,
4600,
20746,
23002,
1009,
21947,
796,
14631,
38105,
1,
5218,
220,
7904,
10100,
60,
63,
198,
464,
6831,
1626,
543,
262,
12405,
42985,
13,
628,
198,
2235,
4600,
23004,
38149,
796,
685,
2644,
2361,
63,
1377,
1635,
37374,
9,
198,
22882,
6945,
1321,
546,
810,
290,
703,
284,
3613,
262,
2482,
286,
262,
12405,
9706,
13,
198,
15506,
63,
198,
25414,
38149,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
26410,
14749,
1,
5218,
1279,
35827,
29,
7904,
10100,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
27195,
13168,
38149,
1,
5218,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27195,
13168,
19722,
1,
5218,
1279,
35827,
29,
366,
50,
5188,
62,
50,
18,
1600,
366,
50,
5188,
62,
42,
5653,
1,
393,
366,
34,
5188,
62,
42,
5653,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
42,
907,
9218,
1,
5218,
220,
7904,
10100,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
2361,
198,
15506,
63,
628,
198,
198,
2,
16409,
198,
198,
63,
10434,
20746,
23002,
1009,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
47671,
4600,
44651,
18453,
16922,
63,
393,
4600,
23307,
7085,
16844,
3558,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
10434,
20746,
23002,
1009,
8,
198,
37811,
198,
31,
45145,
923,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
923,
62,
22766,
62,
18558,
1009,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
923,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
10434,
20746,
23002,
1009,
1600,
26498,
8,
198,
198,
31,
45145,
923,
62,
22766,
62,
18558,
1009,
7,
22046,
8,
796,
923,
62,
22766,
62,
18558,
1009,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
198,
37811,
198,
220,
220,
220,
1262,
14356,
5432,
48510,
13,
2953,
831,
64,
13,
11338,
62,
22766,
62,
18558,
1009,
198,
220,
220,
220,
2245,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
4357,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
2245,
62,
22766,
62,
18558,
1009,
26933,
3712,
12298,
50,
16934,
11208,
43301,
23002,
1009,
7390,
28,
8,
628,
220,
220,
220,
1262,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
19485,
20746,
23002,
1009,
1600,
7159,
3712,
35,
713,
8,
198,
220,
220,
220,
379,
831,
64,
26933,
3712,
12298,
50,
16934,
4357,
366,
19485,
20746,
23002,
1009,
1600,
43301,
23002,
1009,
7390,
28,
8,
198,
198,
2,
13707,
20746,
23002,
1009,
14680,
198,
198,
1273,
2840,
257,
12405,
9706,
13,
198,
198,
1890,
2438,
8405,
1262,
262,
30865,
26144,
329,
7349,
11,
766,
685,
27730,
290,
6127,
3409,
2374,
16151,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
265,
831,
64,
14,
42861,
14,
1018,
14,
8189,
12,
82,
12629,
13,
6494,
8,
287,
262,
1635,
24888,
21341,
11787,
10005,
24620,
198,
198,
2,
20559,
2886,
198,
198,
2235,
4600,
20746,
23002,
1009,
7390,
796,
7904,
10100,
63,
1377,
1635,
37374,
9,
198,
464,
3748,
4522,
286,
262,
12405,
9706,
284,
2245,
13,
628,
628,
198,
2,
16409,
198,
198,
63,
19485,
20746,
23002,
1009,
26410,
63,
198,
198,
2,
1475,
11755,
198,
198,
63,
37693,
10697,
16922,
63,
393,
4600,
44651,
18453,
16922,
44646,
198,
198,
6214,
635,
25,
685,
12298,
50,
7824,
43925,
16151,
5450,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
70,
2069,
14,
13908,
17614,
14,
265,
831,
64,
12,
5539,
12,
2713,
12,
1507,
14,
19485,
20746,
23002,
1009,
8,
198,
37811,
198,
31,
45145,
2245,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
28,
12286,
62,
8356,
62,
11250,
9783,
26498,
23029,
796,
2245,
62,
22766,
62,
18558,
1009,
7,
8356,
11,
26498,
8,
198,
198,
31,
45145,
2245,
62,
22766,
62,
18558,
1009,
7,
8356,
3712,
12298,
50,
16934,
11,
26498,
8,
796,
14356,
6173,
382,
13,
31007,
13,
265,
831,
64,
7,
8356,
11,
366,
19485,
20746,
23002,
1009,
1600,
26498,
8,
198,
198,
31,
45145,
2245,
62,
22766,
62,
18558,
1009,
7,
22046,
8,
796,
2245,
62,
22766,
62,
18558,
1009,
7,
12286,
62,
8356,
62,
11250,
22784,
26498,
8,
628,
628,
198,
437,
1303,
8265,
21341,
628,
198,
2,
23926,
25609,
855,
2,
198,
2,
5268,
286,
2393,
198,
2,
23926,
25609,
855,
2,
198
] | 3.123192 | 5,325 |
include("../src/RichVehicleRoutingProblem.jl")
const RVRP = RichVehicleRoutingProblem
using Test
include("unit_tests/unit_tests.jl")
unit_tests()
| [
17256,
7203,
40720,
10677,
14,
14868,
37870,
1548,
49,
13660,
40781,
13,
20362,
4943,
198,
9979,
371,
13024,
47,
796,
3998,
37870,
1548,
49,
13660,
40781,
198,
198,
3500,
6208,
198,
198,
17256,
7203,
20850,
62,
41989,
14,
20850,
62,
41989,
13,
20362,
4943,
198,
198,
20850,
62,
41989,
3419,
198
] | 2.921569 | 51 |
include(joinpath("structures", "cluster.jl"))
include(joinpath("structures", "dataitem.jl"))
include(joinpath("structures", "eva.jl"))
include(joinpath("structures", "fittedeva.jl"))
| [
17256,
7,
22179,
6978,
7203,
7249,
942,
1600,
366,
565,
5819,
13,
20362,
48774,
198,
17256,
7,
22179,
6978,
7203,
7249,
942,
1600,
366,
7890,
9186,
13,
20362,
48774,
198,
17256,
7,
22179,
6978,
7203,
7249,
942,
1600,
366,
48855,
13,
20362,
48774,
198,
17256,
7,
22179,
6978,
7203,
7249,
942,
1600,
366,
38631,
48855,
13,
20362,
48774,
198
] | 3.101695 | 59 |
import GeometryBasics
"""
struct Mesh{N, T, PT <: Polyhedron{T}} <: GeometryBasics.GeometryPrimitive{N, T}
polyhedron::PT
coordinates::Union{Nothing, Vector{GeometryBasics.Point{3, T}}}
faces::Union{Nothing, Vector{GeometryBasics.TriangleFace{Int}}}
normals::Union{Nothing, Vector{GeometryBasics.Point{3, T}}}
end
Mesh wrapper type that inherits from `GeometryPrimitive` to be used for plotting
a polyhedron. Note that `Mesh(p)` is type unstable but one can use `Mesh{3}(p)`
instead if it is known that `p` is defined in a 3-dimensional space.
"""
mutable struct Mesh{N, T, PT <: Polyhedron{T}} <: GeometryBasics.GeometryPrimitive{N, T}
polyhedron::PT
coordinates::Union{Nothing, Vector{GeometryBasics.Point{N, T}}}
faces::Union{Nothing, Vector{GeometryBasics.TriangleFace{Int}}}
normals::Union{Nothing, Vector{GeometryBasics.Point{N, T}}}
end
function Mesh{N}(polyhedron::Polyhedron{T}) where {N, T}
return Mesh{N, T, typeof(polyhedron)}(polyhedron, nothing, nothing, nothing)
end
function Mesh(polyhedron::Polyhedron, ::StaticArrays.Size{N}) where N
return Mesh{N[1]}(polyhedron)
end
function Mesh(polyhedron::Polyhedron, N::Int)
# This is type unstable but there is no way around that,
# use polyhedron built from StaticArrays vector to avoid that.
return Mesh{N}(polyhedron)
end
function Mesh(polyhedron::Polyhedron)
return Mesh(polyhedron, FullDim(polyhedron))
end
function fulldecompose!(mesh::Mesh)
if mesh.coordinates === nothing
mesh.coordinates, mesh.faces, mesh.normals = fulldecompose(mesh)
end
return
end
# Creates a scene for the vizualisation to be used to truncate the lines and rays
function scene(vr::VRep, ::Type{T}) where T
# First compute the smallest rectangle containing the P-representation (i.e. the points).
(xmin, xmax) = extrema(map((x)->x[1], points(vr)))
(ymin, ymax) = extrema(map((x)->x[2], points(vr)))
(zmin, zmax) = extrema(map((x)->x[3], points(vr)))
width = max(xmax-xmin, ymax-ymin, zmax-zmin)
if width == zero(T)
width = 2
end
scene = GeometryBasics.HyperRectangle{3, T}([(xmin + xmax) / 2 - width,
(ymin + ymax) / 2 - width,
(zmin + zmax) / 2 - width],
2 * width * ones(T, 3))
# Intersection of rays with the limits of the scene
(start, r) -> begin
ray = coord(r)
λ = nothing
min_scene = minimum(scene)
max_scene = maximum(scene)
for i in 1:3
r = ray[i]
if !iszero(r)
cur = max((min_scene[i] - start[i]) / r, (max_scene[i] - start[i]) / r)
if λ === nothing || cur < λ
λ = cur
end
end
end
start + λ * ray
end
end
function _isdup(zray, triangles)
for tri in triangles
normal = tri[2]
if isapproxzero(cross(zray, normal)) && dot(zray, normal) > 0 # If A[j,:] is almost 0, it is always true...
# parallel and equality or inequality and same sense
return true
end
end
false
end
_isdup(poly, hidx, triangles) = _isdup(get(poly, hidx).a, triangles)
function fulldecompose(poly_geom::Mesh{3}, ::Type{T}) where T
poly = poly_geom.polyhedron
exit_point = scene(poly, T)
triangles = Tuple{Tuple{Vector{T},Vector{T},Vector{T}}, Vector{T}}[]
function decomposeplane(hidx)
h = get(poly, hidx)
# xray should be the rightmost ray
xray = nothing
# xray should be the leftmost ray
yray = nothing
zray = h.a
isapproxzero(zray) && return
# Checking rays
counterclockwise(a, b) = dot(cross(a, b), zray)
face_vert = pointtype(poly)[]
for x in points(poly)
if _isapprox(dot(x, zray), h.β)
push!(face_vert, x)
end
end
hull, lines, rays = _planar_hull(3, face_vert, incidentlines(poly, hidx), incidentrays(poly, hidx), counterclockwise, r -> cross(zray, r))
if isempty(lines)
if length(hull) + length(rays) < 3
return
end
@assert length(rays) <= 2
if !isempty(rays)
if length(rays) + length(hull) >= 2
push!(hull, exit_point(last(hull), last(rays)))
end
push!(hull, exit_point(first(hull), first(rays)))
end
else
if length(hull) == 2
@assert length(lines) == 1 && isempty(rays)
a, b = hull
line = first(lines)
empty!(hull)
push!(hull, exit_point(a, line))
push!(hull, exit_point(a, -line))
push!(hull, exit_point(b, -line))
push!(hull, exit_point(b, line))
else
@assert length(hull) == 1 && isempty(rays)
center = first(hull)
empty!(hull)
a = first(lines)
b = nothing
if length(lines) == 2
@assert isempty(rays)
b = last(lines)
elseif !isempty(rays)
@assert length(lines) == 1
@assert length(rays) == 1
b = linearize(first(rays))
end
push!(hull, exit_point(center, a))
if b !== nothing
push!(hull, exit_point(center, b))
end
push!(hull, exit_point(center, -a))
if b !== nothing && length(lines) == 2 || length(rays) >= 2
@assert length(rays) == 2
push!(hull, exit_point(center, -b))
end
end
end
if length(hull) >= 3
a = pop!(hull)
b = pop!(hull)
while !isempty(hull)
c = pop!(hull)
push!(triangles, ((a, b, c), zray))
b = c
end
end
end
for hidx in eachindex(hyperplanes(poly))
decomposeplane(hidx)
end
# If there is already a triangle, his normal is an hyperplane and it is the only face
if isempty(triangles)
for hidx in eachindex(halfspaces(poly))
if !_isdup(poly, hidx, triangles)
decomposeplane(hidx)
end
end
end
ntri = length(triangles)
pts = Vector{GeometryBasics.Point{3, T}}(undef, 3ntri)
faces = Vector{GeometryBasics.TriangleFace{Int}}(undef, ntri)
ns = Vector{GeometryBasics.Point{3, T}}(undef, 3ntri)
for i in 1:ntri
tri = pop!(triangles)
normal = tri[2]
for j = 1:3
idx = 3*(i-1)+j
#ns[idx] = -normal
ns[idx] = normal
end
faces[i] = collect(3*(i-1) .+ (1:3))
k = 1
for k = 1:3
# reverse order of the 3 vertices so that if I compute the
# normals with the `normals` function, they are in the good
# sense.
# I know I don't use the `normals` function but I don't know
# what is the OpenGL convention so I don't know if it cares
# about the order of the vertices.
pts[3*i-k+1] = tri[1][k]
end
end
# If the type of ns is Rational, it also works.
# The normalized array in in float but then it it recast into Rational
map!(normalize, ns, ns)
(pts, faces, ns)
end
fulldecompose(poly::Mesh{N, T}) where {N, T} = fulldecompose(poly, typeof(one(T)/2))
GeometryBasics.coordinates(poly::Mesh) = (fulldecompose!(poly); poly.coordinates)
GeometryBasics.faces(poly::Mesh) = (fulldecompose!(poly); poly.faces)
GeometryBasics.texturecoordinates(poly::Mesh) = nothing
GeometryBasics.normals(poly::Mesh) = (fulldecompose!(poly); poly.normals)
| [
11748,
2269,
15748,
15522,
873,
198,
198,
37811,
198,
220,
220,
220,
2878,
47529,
90,
45,
11,
309,
11,
19310,
1279,
25,
12280,
704,
1313,
90,
51,
11709,
1279,
25,
2269,
15748,
15522,
873,
13,
10082,
15748,
23828,
1800,
90,
45,
11,
309,
92,
198,
220,
220,
220,
220,
220,
220,
220,
7514,
704,
1313,
3712,
11571,
198,
220,
220,
220,
220,
220,
220,
220,
22715,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
18,
11,
309,
42535,
198,
220,
220,
220,
220,
220,
220,
220,
6698,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
14824,
9248,
32388,
90,
5317,
42535,
198,
220,
220,
220,
220,
220,
220,
220,
2593,
874,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
18,
11,
309,
42535,
198,
220,
220,
220,
886,
198,
198,
37031,
29908,
2099,
326,
10639,
896,
422,
4600,
10082,
15748,
23828,
1800,
63,
284,
307,
973,
329,
29353,
198,
64,
7514,
704,
1313,
13,
5740,
326,
4600,
37031,
7,
79,
8,
63,
318,
2099,
21354,
475,
530,
460,
779,
4600,
37031,
90,
18,
92,
7,
79,
8,
63,
198,
38070,
611,
340,
318,
1900,
326,
4600,
79,
63,
318,
5447,
287,
257,
513,
12,
19577,
2272,
13,
198,
37811,
198,
76,
18187,
2878,
47529,
90,
45,
11,
309,
11,
19310,
1279,
25,
12280,
704,
1313,
90,
51,
11709,
1279,
25,
2269,
15748,
15522,
873,
13,
10082,
15748,
23828,
1800,
90,
45,
11,
309,
92,
198,
220,
220,
220,
7514,
704,
1313,
3712,
11571,
198,
220,
220,
220,
22715,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
45,
11,
309,
42535,
198,
220,
220,
220,
6698,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
14824,
9248,
32388,
90,
5317,
42535,
198,
220,
220,
220,
2593,
874,
3712,
38176,
90,
18465,
11,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
45,
11,
309,
42535,
198,
437,
198,
8818,
47529,
90,
45,
92,
7,
35428,
704,
1313,
3712,
34220,
704,
1313,
90,
51,
30072,
810,
1391,
45,
11,
309,
92,
198,
220,
220,
220,
1441,
47529,
90,
45,
11,
309,
11,
2099,
1659,
7,
35428,
704,
1313,
38165,
7,
35428,
704,
1313,
11,
2147,
11,
2147,
11,
2147,
8,
198,
437,
198,
8818,
47529,
7,
35428,
704,
1313,
3712,
34220,
704,
1313,
11,
7904,
45442,
3163,
20477,
13,
10699,
90,
45,
30072,
810,
399,
198,
220,
220,
220,
1441,
47529,
90,
45,
58,
16,
48999,
7,
35428,
704,
1313,
8,
198,
437,
198,
8818,
47529,
7,
35428,
704,
1313,
3712,
34220,
704,
1313,
11,
399,
3712,
5317,
8,
198,
220,
220,
220,
1303,
770,
318,
2099,
21354,
475,
612,
318,
645,
835,
1088,
326,
11,
198,
220,
220,
220,
1303,
779,
7514,
704,
1313,
3170,
422,
36125,
3163,
20477,
15879,
284,
3368,
326,
13,
198,
220,
220,
220,
1441,
47529,
90,
45,
92,
7,
35428,
704,
1313,
8,
198,
437,
198,
8818,
47529,
7,
35428,
704,
1313,
3712,
34220,
704,
1313,
8,
198,
220,
220,
220,
1441,
47529,
7,
35428,
704,
1313,
11,
6462,
29271,
7,
35428,
704,
1313,
4008,
198,
437,
198,
198,
8818,
1336,
12501,
3361,
577,
0,
7,
76,
5069,
3712,
37031,
8,
198,
220,
220,
220,
611,
19609,
13,
37652,
17540,
24844,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
19609,
13,
37652,
17540,
11,
19609,
13,
32186,
11,
19609,
13,
27237,
874,
796,
1336,
12501,
3361,
577,
7,
76,
5069,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
198,
437,
198,
198,
2,
7921,
274,
257,
3715,
329,
262,
48569,
723,
5612,
284,
307,
973,
284,
40122,
378,
262,
3951,
290,
24823,
198,
8818,
3715,
7,
37020,
3712,
53,
6207,
11,
7904,
6030,
90,
51,
30072,
810,
309,
198,
220,
220,
220,
1303,
3274,
24061,
262,
18197,
35991,
7268,
262,
350,
12,
15603,
341,
357,
72,
13,
68,
13,
262,
2173,
737,
198,
220,
220,
220,
357,
87,
1084,
11,
2124,
9806,
8,
796,
1070,
260,
2611,
7,
8899,
19510,
87,
8,
3784,
87,
58,
16,
4357,
2173,
7,
37020,
22305,
198,
220,
220,
220,
357,
88,
1084,
11,
331,
9806,
8,
796,
1070,
260,
2611,
7,
8899,
19510,
87,
8,
3784,
87,
58,
17,
4357,
2173,
7,
37020,
22305,
198,
220,
220,
220,
357,
89,
1084,
11,
1976,
9806,
8,
796,
1070,
260,
2611,
7,
8899,
19510,
87,
8,
3784,
87,
58,
18,
4357,
2173,
7,
37020,
22305,
198,
220,
220,
220,
9647,
796,
3509,
7,
87,
9806,
12,
87,
1084,
11,
331,
9806,
12,
88,
1084,
11,
1976,
9806,
12,
89,
1084,
8,
198,
220,
220,
220,
611,
9647,
6624,
6632,
7,
51,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9647,
796,
362,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3715,
796,
2269,
15748,
15522,
873,
13,
38197,
45474,
9248,
90,
18,
11,
309,
92,
26933,
7,
87,
1084,
1343,
2124,
9806,
8,
1220,
362,
532,
9647,
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,
357,
88,
1084,
1343,
331,
9806,
8,
1220,
362,
532,
9647,
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,
357,
89,
1084,
1343,
1976,
9806,
8,
1220,
362,
532,
9647,
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,
220,
220,
220,
220,
220,
220,
220,
220,
362,
1635,
9647,
1635,
3392,
7,
51,
11,
513,
4008,
198,
220,
220,
220,
1303,
4225,
5458,
286,
24823,
351,
262,
7095,
286,
262,
3715,
198,
220,
220,
220,
357,
9688,
11,
374,
8,
4613,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
26842,
796,
6349,
7,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
119,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
29734,
796,
5288,
7,
29734,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
29734,
796,
5415,
7,
29734,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
26842,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
22570,
7,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
796,
3509,
19510,
1084,
62,
29734,
58,
72,
60,
532,
923,
58,
72,
12962,
1220,
374,
11,
357,
9806,
62,
29734,
58,
72,
60,
532,
923,
58,
72,
12962,
1220,
374,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7377,
119,
24844,
2147,
8614,
1090,
1279,
7377,
119,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7377,
119,
796,
1090,
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,
923,
1343,
7377,
119,
1635,
26842,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
4808,
271,
646,
79,
7,
89,
2433,
11,
44360,
8,
198,
220,
220,
220,
329,
1333,
287,
44360,
198,
220,
220,
220,
220,
220,
220,
220,
3487,
796,
1333,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
1324,
13907,
22570,
7,
19692,
7,
89,
2433,
11,
3487,
4008,
11405,
16605,
7,
89,
2433,
11,
3487,
8,
1875,
657,
1303,
1002,
317,
58,
73,
11,
47715,
318,
2048,
657,
11,
340,
318,
1464,
2081,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10730,
290,
10537,
393,
12791,
290,
976,
2565,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3991,
198,
437,
198,
62,
271,
646,
79,
7,
35428,
11,
24519,
87,
11,
44360,
8,
796,
4808,
271,
646,
79,
7,
1136,
7,
35428,
11,
24519,
87,
737,
64,
11,
44360,
8,
198,
198,
8818,
1336,
12501,
3361,
577,
7,
35428,
62,
469,
296,
3712,
37031,
90,
18,
5512,
7904,
6030,
90,
51,
30072,
810,
309,
198,
220,
220,
220,
7514,
796,
7514,
62,
469,
296,
13,
35428,
704,
1313,
198,
220,
220,
220,
8420,
62,
4122,
796,
3715,
7,
35428,
11,
309,
8,
628,
220,
220,
220,
44360,
796,
309,
29291,
90,
51,
29291,
90,
38469,
90,
51,
5512,
38469,
90,
51,
5512,
38469,
90,
51,
92,
5512,
20650,
90,
51,
11709,
21737,
628,
220,
220,
220,
2163,
26969,
3455,
14382,
7,
49675,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
289,
796,
651,
7,
35428,
11,
24519,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2124,
2433,
815,
307,
262,
826,
1712,
26842,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
2433,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2124,
2433,
815,
307,
262,
1364,
1712,
26842,
198,
220,
220,
220,
220,
220,
220,
220,
331,
2433,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
2433,
796,
289,
13,
64,
198,
220,
220,
220,
220,
220,
220,
220,
318,
1324,
13907,
22570,
7,
89,
2433,
8,
11405,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
39432,
24823,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
15750,
3083,
7,
64,
11,
275,
8,
796,
16605,
7,
19692,
7,
64,
11,
275,
828,
1976,
2433,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1986,
62,
1851,
796,
966,
4906,
7,
35428,
8,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2124,
287,
2173,
7,
35428,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4808,
271,
1324,
13907,
7,
26518,
7,
87,
11,
1976,
2433,
828,
289,
13,
26638,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
2550,
62,
1851,
11,
2124,
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,
23644,
11,
3951,
11,
24823,
796,
4808,
11578,
283,
62,
71,
724,
7,
18,
11,
1986,
62,
1851,
11,
4519,
6615,
7,
35428,
11,
24519,
87,
828,
4519,
20477,
7,
35428,
11,
24519,
87,
828,
3753,
15750,
3083,
11,
374,
4613,
3272,
7,
89,
2433,
11,
374,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
71,
724,
8,
1343,
4129,
7,
20477,
8,
1279,
513,
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,
220,
220,
220,
220,
2488,
30493,
4129,
7,
20477,
8,
19841,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
28920,
7,
20477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
20477,
8,
1343,
4129,
7,
71,
724,
8,
18189,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
12957,
7,
71,
724,
828,
938,
7,
20477,
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,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
11085,
7,
71,
724,
828,
717,
7,
20477,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
71,
724,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
4129,
7,
6615,
8,
6624,
352,
11405,
318,
28920,
7,
20477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
11,
275,
796,
23644,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
717,
7,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6565,
0,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
64,
11,
1627,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
64,
11,
532,
1370,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
65,
11,
532,
1370,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
65,
11,
1627,
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,
2488,
30493,
4129,
7,
71,
724,
8,
6624,
352,
11405,
318,
28920,
7,
20477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3641,
796,
717,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6565,
0,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
717,
7,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
6615,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
318,
28920,
7,
20477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
938,
7,
6615,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
5145,
271,
28920,
7,
20477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
4129,
7,
6615,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
4129,
7,
20477,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
14174,
1096,
7,
11085,
7,
20477,
4008,
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,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
16159,
11,
257,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
275,
5145,
855,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
16159,
11,
275,
4008,
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,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
16159,
11,
532,
64,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
275,
5145,
855,
2147,
11405,
4129,
7,
6615,
8,
6624,
362,
8614,
4129,
7,
20477,
8,
18189,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
4129,
7,
20477,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
71,
724,
11,
8420,
62,
4122,
7,
16159,
11,
532,
65,
4008,
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,
611,
4129,
7,
71,
724,
8,
18189,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
1461,
0,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
1461,
0,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
5145,
271,
28920,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
796,
1461,
0,
7,
71,
724,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
28461,
27787,
11,
14808,
64,
11,
275,
11,
269,
828,
1976,
2433,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
269,
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,
329,
24519,
87,
287,
1123,
9630,
7,
49229,
22587,
7,
35428,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
26969,
3455,
14382,
7,
49675,
87,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
1002,
612,
318,
1541,
257,
22950,
11,
465,
3487,
318,
281,
8718,
14382,
290,
340,
318,
262,
691,
1986,
198,
220,
220,
220,
611,
318,
28920,
7,
28461,
27787,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
24519,
87,
287,
1123,
9630,
7,
13959,
2777,
2114,
7,
35428,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
62,
271,
646,
79,
7,
35428,
11,
24519,
87,
11,
44360,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26969,
3455,
14382,
7,
49675,
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,
628,
220,
220,
220,
299,
28461,
796,
4129,
7,
28461,
27787,
8,
198,
220,
220,
220,
43344,
796,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
18,
11,
309,
11709,
7,
917,
891,
11,
513,
429,
380,
8,
198,
220,
220,
220,
6698,
796,
20650,
90,
10082,
15748,
15522,
873,
13,
14824,
9248,
32388,
90,
5317,
11709,
7,
917,
891,
11,
299,
28461,
8,
198,
220,
220,
220,
36545,
796,
20650,
90,
10082,
15748,
15522,
873,
13,
12727,
90,
18,
11,
309,
11709,
7,
917,
891,
11,
513,
429,
380,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
429,
380,
198,
220,
220,
220,
220,
220,
220,
220,
1333,
796,
1461,
0,
7,
28461,
27787,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3487,
796,
1333,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
513,
9,
7,
72,
12,
16,
47762,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5907,
58,
312,
87,
60,
796,
532,
11265,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36545,
58,
312,
87,
60,
796,
3487,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
6698,
58,
72,
60,
796,
2824,
7,
18,
9,
7,
72,
12,
16,
8,
764,
10,
357,
16,
25,
18,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
479,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
796,
352,
25,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9575,
1502,
286,
262,
513,
9421,
1063,
523,
326,
611,
314,
24061,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2593,
874,
351,
262,
4600,
27237,
874,
63,
2163,
11,
484,
389,
287,
262,
922,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2565,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
314,
760,
314,
836,
470,
779,
262,
4600,
27237,
874,
63,
2163,
475,
314,
836,
470,
760,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
644,
318,
262,
30672,
9831,
523,
314,
836,
470,
760,
611,
340,
16609,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
546,
262,
1502,
286,
262,
9421,
1063,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43344,
58,
18,
9,
72,
12,
74,
10,
16,
60,
796,
1333,
58,
16,
7131,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
1002,
262,
2099,
286,
36545,
318,
46863,
11,
340,
635,
2499,
13,
198,
220,
220,
220,
1303,
383,
39279,
7177,
287,
287,
12178,
475,
788,
340,
340,
664,
459,
656,
46863,
198,
220,
220,
220,
3975,
0,
7,
11265,
1096,
11,
36545,
11,
36545,
8,
198,
220,
220,
220,
357,
457,
82,
11,
6698,
11,
36545,
8,
198,
437,
198,
198,
12853,
12501,
3361,
577,
7,
35428,
3712,
37031,
90,
45,
11,
309,
30072,
810,
1391,
45,
11,
309,
92,
796,
1336,
12501,
3361,
577,
7,
35428,
11,
2099,
1659,
7,
505,
7,
51,
20679,
17,
4008,
198,
198,
10082,
15748,
15522,
873,
13,
37652,
17540,
7,
35428,
3712,
37031,
8,
796,
357,
12853,
12501,
3361,
577,
0,
7,
35428,
1776,
7514,
13,
37652,
17540,
8,
198,
10082,
15748,
15522,
873,
13,
32186,
7,
35428,
3712,
37031,
8,
796,
357,
12853,
12501,
3361,
577,
0,
7,
35428,
1776,
7514,
13,
32186,
8,
198,
10082,
15748,
15522,
873,
13,
41293,
37652,
17540,
7,
35428,
3712,
37031,
8,
796,
2147,
198,
10082,
15748,
15522,
873,
13,
27237,
874,
7,
35428,
3712,
37031,
8,
796,
357,
12853,
12501,
3361,
577,
0,
7,
35428,
1776,
7514,
13,
27237,
874,
8,
198
] | 2.009816 | 3,973 |
@testset "Variables" begin
m = Model()
@variable(m, x ≥ 0, u"m/s")
@test x == UnitJuMP.UnitVariableRef(x.vref, u"m/s")
@test unit(x) == u"m/s"
@test owner_model(x) === m
@variable(m, y[1:4], u"km/hr")
@test y[1] == UnitJuMP.UnitVariableRef(y[1].vref, u"km/hr")
end
@testset "Constraints" begin
m = Model()
@variable(m, u[1:2] ≥ 0, u"m")
@variable(m, v[1:4], u"km/hr")
@variable(m, w, Bin)
@variable(m, y)
maxspeed = 4u"ft/s"
speed = 2.3u"m/s"
# Various combination of coefficient and variables with and without units
@constraint(m, 2v[1] ≤ maxspeed)
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 1
@constraint(m, 2.3v[1] ≤ maxspeed)
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 2
@constraint(m, c1a, speed * w ≤ maxspeed)
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 3
@test unit(c1a) == u"m/s"
@constraint(m, c1b, 40u"km/hr" * w ≤ 15u"m/s")
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 4
@test unit(c1b) == u"km/hr"
@constraint(m, c1c, w * speed ≤ maxspeed)
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 5
@test unit(c1c) == u"m/s"
@constraint(m, c1d, sum(v[i] for i in 1:4) ≤ maxspeed)
@test num_constraints(m, AffExpr, MOI.LessThan{Float64}) == 6
@test unit(c1d) == u"km/hr"
@constraint(m, c1, 2v[1] + 4v[2] ≤ maxspeed)
@test typeof(c1) <: UnitJuMP.UnitConstraintRef
@test unit(c1) == u"km/hr"
@constraint(m, c2, 2v[1] + 4v[2] ≤ maxspeed, u"m/s")
@test unit(c2) == u"m/s"
@test normalized_rhs(c2.cref) == convert(Float64, uconvert(u"m/s", maxspeed).val)
@variable(m, z, Bin)
maxlength = 1000u"yd"
period = 1.5u"hr"
@constraint(m, c3, u[2] + period * v[2] ≤ maxlength * z, u"cm")
@test unit(c3) == u"cm"
@constraint(m, c3b, u[2] + 1.5u"hr" * v[2] ≤ 1000u"yd" * z, u"cm")
@test unit(c3b) == u"cm"
end | [
31,
9288,
2617,
366,
23907,
2977,
1,
2221,
628,
220,
220,
220,
285,
796,
9104,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
45286,
7,
76,
11,
2124,
26870,
657,
11,
334,
1,
76,
14,
82,
4943,
198,
220,
220,
220,
2488,
9288,
2124,
6624,
11801,
33018,
7378,
13,
26453,
43015,
8134,
7,
87,
13,
85,
5420,
11,
334,
1,
76,
14,
82,
4943,
198,
220,
220,
220,
2488,
9288,
4326,
7,
87,
8,
6624,
334,
1,
76,
14,
82,
1,
198,
220,
220,
220,
2488,
9288,
4870,
62,
19849,
7,
87,
8,
24844,
285,
628,
220,
220,
220,
2488,
45286,
7,
76,
11,
331,
58,
16,
25,
19,
4357,
334,
1,
13276,
14,
11840,
4943,
198,
220,
220,
220,
2488,
9288,
331,
58,
16,
60,
6624,
11801,
33018,
7378,
13,
26453,
43015,
8134,
7,
88,
58,
16,
4083,
85,
5420,
11,
334,
1,
13276,
14,
11840,
4943,
198,
198,
437,
198,
198,
31,
9288,
2617,
366,
3103,
2536,
6003,
1,
2221,
628,
220,
220,
220,
285,
796,
9104,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
45286,
7,
76,
11,
334,
58,
16,
25,
17,
60,
26870,
657,
11,
334,
1,
76,
4943,
198,
220,
220,
220,
2488,
45286,
7,
76,
11,
410,
58,
16,
25,
19,
4357,
334,
1,
13276,
14,
11840,
4943,
198,
220,
220,
220,
2488,
45286,
7,
76,
11,
266,
11,
20828,
8,
198,
220,
220,
220,
2488,
45286,
7,
76,
11,
331,
8,
628,
220,
220,
220,
3509,
12287,
796,
604,
84,
1,
701,
14,
82,
1,
198,
220,
220,
220,
2866,
796,
362,
13,
18,
84,
1,
76,
14,
82,
1,
628,
220,
220,
220,
1303,
26386,
6087,
286,
35381,
290,
9633,
351,
290,
1231,
4991,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
362,
85,
58,
16,
60,
41305,
3509,
12287,
8,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
352,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
362,
13,
18,
85,
58,
16,
60,
41305,
3509,
12287,
8,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
362,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
16,
64,
11,
2866,
1635,
266,
41305,
3509,
12287,
8,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
513,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
16,
64,
8,
6624,
334,
1,
76,
14,
82,
1,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
16,
65,
11,
2319,
84,
1,
13276,
14,
11840,
1,
1635,
266,
41305,
1315,
84,
1,
76,
14,
82,
4943,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
604,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
16,
65,
8,
6624,
334,
1,
13276,
14,
11840,
1,
628,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
16,
66,
11,
266,
1635,
2866,
220,
41305,
3509,
12287,
8,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
642,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
16,
66,
8,
6624,
334,
1,
76,
14,
82,
1,
628,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
16,
67,
11,
2160,
7,
85,
58,
72,
60,
329,
1312,
287,
352,
25,
19,
8,
220,
220,
41305,
3509,
12287,
8,
198,
220,
220,
220,
2488,
9288,
997,
62,
1102,
2536,
6003,
7,
76,
11,
6708,
3109,
1050,
11,
13070,
40,
13,
22058,
817,
272,
90,
43879,
2414,
30072,
6624,
718,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
16,
67,
8,
6624,
334,
1,
13276,
14,
11840,
1,
628,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
16,
11,
362,
85,
58,
16,
60,
1343,
604,
85,
58,
17,
60,
41305,
3509,
12287,
8,
220,
198,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
66,
16,
8,
1279,
25,
11801,
33018,
7378,
13,
26453,
3103,
2536,
2913,
8134,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
16,
8,
6624,
334,
1,
13276,
14,
11840,
1,
628,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
17,
11,
362,
85,
58,
16,
60,
1343,
604,
85,
58,
17,
60,
41305,
3509,
12287,
11,
334,
1,
76,
14,
82,
4943,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
17,
8,
6624,
334,
1,
76,
14,
82,
1,
198,
220,
220,
220,
2488,
9288,
39279,
62,
81,
11994,
7,
66,
17,
13,
66,
5420,
8,
6624,
10385,
7,
43879,
2414,
11,
334,
1102,
1851,
7,
84,
1,
76,
14,
82,
1600,
3509,
12287,
737,
2100,
8,
628,
220,
220,
220,
2488,
45286,
7,
76,
11,
1976,
11,
20828,
8,
628,
220,
220,
220,
3509,
13664,
796,
8576,
84,
1,
5173,
1,
198,
220,
220,
220,
2278,
796,
352,
13,
20,
84,
1,
11840,
1,
198,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
18,
11,
334,
58,
17,
60,
1343,
2278,
1635,
410,
58,
17,
60,
41305,
3509,
13664,
1635,
1976,
11,
334,
1,
11215,
4943,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
18,
8,
6624,
334,
1,
11215,
1,
628,
220,
220,
220,
2488,
1102,
2536,
2913,
7,
76,
11,
269,
18,
65,
11,
334,
58,
17,
60,
1343,
352,
13,
20,
84,
1,
11840,
1,
1635,
410,
58,
17,
60,
41305,
8576,
84,
1,
5173,
1,
1635,
1976,
11,
334,
1,
11215,
4943,
198,
220,
220,
220,
2488,
9288,
4326,
7,
66,
18,
65,
8,
6624,
334,
1,
11215,
1,
198,
198,
437
] | 1.937804 | 1,029 |
mutable struct Timer
starttime_ns::typeof(Base.time_ns())
paused_elapsed_ns::typeof(Base.time_ns())
Timer() = new(0,0)
end
function start!(timer::Timer)
timer.starttime_ns = (Base.time_ns)()
return nothing
end
started(timer::Timer) = (timer.starttime_ns ≠ 0)
""" Return seconds since timer was started or 0 if not yet started. """
function elapsed(timer::Timer)
local elapsedtime_ns = (Base.time_ns)() - timer.starttime_ns
return started(timer) * float(elapsedtime_ns) / 1000000000
end
function pause!(timer::Timer)
timer.paused_elapsed_ns = (Base.time_ns)() - timer.starttime_ns
return nothing
end
function unpause!(timer::Timer)
timer.starttime_ns = (Base.time_ns)()
timer.starttime_ns -= timer.paused_elapsed_ns;
return nothing
end
t = Timer()
start!(t)
elapsed(t)
pause!(t)
unpause!(t)
elapsed(t)
| [
76,
18187,
2878,
5045,
263,
198,
220,
220,
220,
923,
2435,
62,
5907,
3712,
4906,
1659,
7,
14881,
13,
2435,
62,
5907,
28955,
198,
220,
220,
220,
24487,
62,
417,
28361,
62,
5907,
3712,
4906,
1659,
7,
14881,
13,
2435,
62,
5907,
28955,
198,
220,
220,
220,
5045,
263,
3419,
796,
649,
7,
15,
11,
15,
8,
198,
437,
198,
198,
8818,
923,
0,
7,
45016,
3712,
48801,
8,
198,
220,
220,
220,
19781,
13,
9688,
2435,
62,
5907,
796,
357,
14881,
13,
2435,
62,
5907,
8,
3419,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
46981,
7,
45016,
3712,
48801,
8,
796,
357,
45016,
13,
9688,
2435,
62,
5907,
15139,
254,
657,
8,
198,
198,
37811,
8229,
4201,
1201,
19781,
373,
2067,
393,
657,
611,
407,
1865,
2067,
13,
37227,
198,
8818,
42118,
7,
45016,
3712,
48801,
8,
198,
220,
220,
220,
1957,
42118,
2435,
62,
5907,
796,
357,
14881,
13,
2435,
62,
5907,
8,
3419,
532,
19781,
13,
9688,
2435,
62,
5907,
198,
220,
220,
220,
1441,
2067,
7,
45016,
8,
1635,
12178,
7,
417,
28361,
2435,
62,
5907,
8,
1220,
1802,
24598,
198,
437,
198,
198,
8818,
14985,
0,
7,
45016,
3712,
48801,
8,
198,
220,
220,
220,
19781,
13,
8957,
1484,
62,
417,
28361,
62,
5907,
796,
357,
14881,
13,
2435,
62,
5907,
8,
3419,
532,
19781,
13,
9688,
2435,
62,
5907,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
8818,
8593,
682,
0,
7,
45016,
3712,
48801,
8,
198,
220,
220,
220,
19781,
13,
9688,
2435,
62,
5907,
796,
357,
14881,
13,
2435,
62,
5907,
8,
3419,
198,
220,
220,
220,
19781,
13,
9688,
2435,
62,
5907,
48185,
19781,
13,
8957,
1484,
62,
417,
28361,
62,
5907,
26,
198,
220,
220,
220,
1441,
2147,
198,
437,
198,
198,
83,
796,
5045,
263,
3419,
198,
9688,
0,
7,
83,
8,
198,
417,
28361,
7,
83,
8,
198,
32125,
0,
7,
83,
8,
198,
403,
32125,
0,
7,
83,
8,
198,
417,
28361,
7,
83,
8,
198
] | 2.569277 | 332 |
using Downloads
# WARNING: THIS FILE IS WORK-IN-PROGRESS
#--------------------------------------------------------------------
# Metadata info: dimensions
#--------------------------------------------------------------------
function listdimensions(apiurl::String, dataflow::String)
io = IOBuffer()
resp = Downloads.download(apiurl * "data/" * dataflow * "?detail=serieskeysonly&lastNObservations=1&format=jsondata", io) |> take!
ds = JSON3.read(resp).structure.dimensions.series
dim = OrderedDict()
for dsᵢ in ds
dim[dsᵢ.name] = NamedTuple(Symbol(j.id) => j.name for j in dsᵢ.values)
end
dim
end
#--------------------------------------------------------------------
# Basic Data download
#--------------------------------------------------------------------
"""Generates a SDMX API compliant url
#kwargs
filter::Union{nothing,NamedTuple},
updatedAfter::DateTime,
firstNObservations::Int,
lastNObservations::Int,
dimensionAtObservation,
attributes = "dsd",
measures = "all",
includeHistory = false
"""
function generateurl(;context = "*", agencyID = "*", resourceID = "*", version = "*", key::String="*", kwargs...) # TODO: substitute query args by kwargs...
baseurl = join(["https://ws-entry-point/data/",context,agencyID,resourceID,version,key],"/")
query = "/?"*join([String(k)*"="*kwargs[k] for k in keys(kwargs)],"&")
end
""" Generates key part of url from a dictionary"""
function generatekey(dims)
key = ""
for v in dims
key = key*join[v,"+"]*"." # FIXME = sobraría un punto??
end
end
""" Fetch data and creates a SDMX.Datatable"""
function getseries(url)
io = IOBuffer()
return Downloads.download(url, io) |> take! |> SDMX.read(alldims = false)
end
| [
3500,
50093,
198,
198,
2,
39410,
25,
12680,
45811,
3180,
30936,
12,
1268,
12,
4805,
49656,
7597,
198,
198,
2,
10097,
650,
198,
2,
3395,
14706,
7508,
25,
15225,
198,
2,
10097,
650,
198,
8818,
1351,
27740,
5736,
7,
15042,
6371,
3712,
10100,
11,
1366,
11125,
3712,
10100,
8,
628,
220,
220,
220,
33245,
796,
314,
9864,
13712,
3419,
198,
220,
220,
220,
1217,
796,
50093,
13,
15002,
7,
15042,
6371,
1635,
366,
7890,
30487,
1635,
1366,
11125,
1635,
366,
30,
49170,
28,
25076,
13083,
8807,
5,
12957,
15285,
1443,
712,
602,
28,
16,
5,
18982,
28,
8457,
623,
1045,
1600,
33245,
8,
930,
29,
1011,
0,
628,
220,
220,
220,
288,
82,
796,
19449,
18,
13,
961,
7,
4363,
737,
301,
5620,
13,
27740,
5736,
13,
25076,
628,
220,
220,
220,
5391,
796,
14230,
1068,
35,
713,
3419,
628,
220,
220,
220,
329,
288,
82,
39611,
95,
287,
288,
82,
198,
220,
220,
220,
220,
220,
220,
220,
5391,
58,
9310,
39611,
95,
13,
3672,
60,
796,
34441,
51,
29291,
7,
13940,
23650,
7,
73,
13,
312,
8,
5218,
474,
13,
3672,
329,
474,
287,
288,
82,
39611,
95,
13,
27160,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
5391,
198,
437,
198,
198,
2,
10097,
650,
198,
2,
14392,
6060,
4321,
198,
2,
10097,
650,
198,
198,
37811,
8645,
689,
257,
9834,
43243,
7824,
31332,
19016,
198,
2,
46265,
22046,
198,
220,
220,
220,
8106,
3712,
38176,
90,
22366,
11,
45,
2434,
51,
29291,
5512,
198,
220,
220,
220,
6153,
3260,
3712,
10430,
7575,
11,
198,
220,
220,
220,
717,
15285,
1443,
712,
602,
3712,
5317,
11,
198,
220,
220,
220,
938,
15285,
1443,
712,
602,
3712,
5317,
11,
198,
220,
220,
220,
15793,
2953,
31310,
13208,
11,
198,
220,
220,
220,
12608,
796,
366,
9310,
67,
1600,
198,
220,
220,
220,
5260,
796,
366,
439,
1600,
198,
220,
220,
220,
2291,
18122,
796,
3991,
198,
37811,
198,
8818,
7716,
6371,
7,
26,
22866,
796,
366,
9,
1600,
4086,
2389,
796,
366,
9,
1600,
8271,
2389,
796,
366,
9,
1600,
2196,
796,
366,
9,
1600,
1994,
3712,
10100,
2625,
9,
1600,
479,
86,
22046,
23029,
1303,
16926,
46,
25,
15373,
12405,
26498,
416,
479,
86,
22046,
986,
198,
220,
220,
220,
2779,
6371,
796,
4654,
7,
14692,
5450,
1378,
18504,
12,
13000,
12,
4122,
14,
7890,
14,
1600,
22866,
11,
40955,
2389,
11,
31092,
2389,
11,
9641,
11,
2539,
17241,
14,
4943,
198,
220,
220,
220,
12405,
796,
12813,
1701,
9,
22179,
26933,
10100,
7,
74,
27493,
1,
2625,
9,
46265,
22046,
58,
74,
60,
329,
479,
287,
8251,
7,
46265,
22046,
15437,
553,
5,
4943,
198,
437,
628,
198,
37811,
2980,
689,
1994,
636,
286,
19016,
422,
257,
22155,
37811,
198,
8818,
7716,
2539,
7,
67,
12078,
8,
198,
220,
220,
220,
1994,
796,
13538,
198,
220,
220,
220,
329,
410,
287,
5391,
82,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
1994,
9,
22179,
58,
85,
553,
10,
8973,
9,
1,
526,
1303,
44855,
11682,
796,
523,
1671,
283,
29690,
555,
4000,
1462,
3548,
198,
220,
220,
220,
886,
198,
437,
628,
198,
37811,
376,
7569,
1366,
290,
8075,
257,
9834,
43243,
13,
27354,
21156,
37811,
198,
8818,
651,
25076,
7,
6371,
8,
198,
220,
220,
220,
33245,
796,
314,
9864,
13712,
3419,
198,
220,
220,
220,
1441,
50093,
13,
15002,
7,
6371,
11,
33245,
8,
930,
29,
1011,
0,
930,
29,
9834,
43243,
13,
961,
7,
282,
335,
12078,
796,
3991,
8,
198,
437,
198
] | 3.037671 | 584 |
module CreateTableRolesUsers
import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table
function up()
create_table(:rolesusers) do
[
primary_key()
column(:roles_id, :int)
column(:users_id, :int)
]
end
add_index(:rolesusers, :roles_id)
add_index(:rolesusers, :users_id)
end
function down()
drop_table(:rolesusers)
end
end
| [
21412,
13610,
10962,
49,
4316,
14490,
198,
198,
11748,
11140,
15047,
13,
44,
3692,
602,
25,
2251,
62,
11487,
11,
5721,
11,
4165,
62,
2539,
11,
751,
62,
9630,
11,
4268,
62,
11487,
198,
198,
8818,
510,
3419,
198,
220,
2251,
62,
11487,
7,
25,
305,
829,
18417,
8,
466,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
4165,
62,
2539,
3419,
198,
220,
220,
220,
220,
220,
5721,
7,
25,
305,
829,
62,
312,
11,
1058,
600,
8,
198,
220,
220,
220,
220,
220,
5721,
7,
25,
18417,
62,
312,
11,
1058,
600,
8,
198,
220,
220,
220,
2361,
198,
220,
886,
628,
220,
751,
62,
9630,
7,
25,
305,
829,
18417,
11,
1058,
305,
829,
62,
312,
8,
198,
220,
751,
62,
9630,
7,
25,
305,
829,
18417,
11,
1058,
18417,
62,
312,
8,
198,
437,
198,
198,
8818,
866,
3419,
198,
220,
4268,
62,
11487,
7,
25,
305,
829,
18417,
8,
198,
437,
198,
198,
437,
198
] | 2.398773 | 163 |
const cufftNumber = Union{cufftDoubleReal,cufftReal,cufftDoubleComplex,cufftComplex}
const cufftReals = Union{cufftDoubleReal,cufftReal}
const cufftComplexes = Union{cufftDoubleComplex,cufftComplex}
const cufftDouble = Union{cufftDoubleReal,cufftDoubleComplex}
const cufftSingle = Union{cufftReal,cufftComplex}
const cufftTypeDouble = Union{Type{cufftDoubleReal},Type{cufftDoubleComplex}}
const cufftTypeSingle = Union{Type{cufftReal},Type{cufftComplex}}
cufftfloat(x) = _cufftfloat(float(x))
_cufftfloat(::Type{T}) where {T<:cufftReals} = T
_cufftfloat(::Type{Float16}) = Float32
_cufftfloat(::Type{Complex{T}}) where {T} = Complex{_cufftfloat(T)}
_cufftfloat(::Type{T}) where {T} = error("type $T not supported")
_cufftfloat(x::T) where {T} = _cufftfloat(T)(x)
complexfloat(x::DenseCuArray{Complex{<:cufftReals}}) = x
realfloat(x::DenseCuArray{<:cufftReals}) = x
complexfloat(x::DenseCuArray{T}) where {T<:Complex} = copy1(typeof(cufftfloat(zero(T))), x)
complexfloat(x::DenseCuArray{T}) where {T<:Real} = copy1(typeof(complex(cufftfloat(zero(T)))), x)
realfloat(x::DenseCuArray{T}) where {T<:Real} = copy1(typeof(cufftfloat(zero(T))), x)
function copy1(::Type{T}, x) where T
y = CuArray{T}(undef, map(length, axes(x)))
#copy!(y, x)
y .= broadcast(xi->convert(T,xi),x)
end
| [
9979,
47291,
83,
15057,
796,
4479,
90,
66,
1648,
83,
25628,
15633,
11,
66,
1648,
83,
15633,
11,
66,
1648,
83,
25628,
5377,
11141,
11,
66,
1648,
83,
5377,
11141,
92,
198,
9979,
47291,
83,
3041,
874,
796,
4479,
90,
66,
1648,
83,
25628,
15633,
11,
66,
1648,
83,
15633,
92,
198,
9979,
47291,
83,
5377,
11141,
274,
796,
4479,
90,
66,
1648,
83,
25628,
5377,
11141,
11,
66,
1648,
83,
5377,
11141,
92,
198,
9979,
47291,
83,
25628,
796,
4479,
90,
66,
1648,
83,
25628,
15633,
11,
66,
1648,
83,
25628,
5377,
11141,
92,
198,
9979,
47291,
83,
28008,
796,
4479,
90,
66,
1648,
83,
15633,
11,
66,
1648,
83,
5377,
11141,
92,
198,
9979,
47291,
83,
6030,
25628,
796,
4479,
90,
6030,
90,
66,
1648,
83,
25628,
15633,
5512,
6030,
90,
66,
1648,
83,
25628,
5377,
11141,
11709,
198,
9979,
47291,
83,
6030,
28008,
796,
4479,
90,
6030,
90,
66,
1648,
83,
15633,
5512,
6030,
90,
66,
1648,
83,
5377,
11141,
11709,
198,
198,
66,
1648,
83,
22468,
7,
87,
8,
796,
4808,
66,
1648,
83,
22468,
7,
22468,
7,
87,
4008,
198,
62,
66,
1648,
83,
22468,
7,
3712,
6030,
90,
51,
30072,
810,
1391,
51,
27,
25,
66,
1648,
83,
3041,
874,
92,
796,
309,
198,
62,
66,
1648,
83,
22468,
7,
3712,
6030,
90,
43879,
1433,
30072,
796,
48436,
2624,
198,
62,
66,
1648,
83,
22468,
7,
3712,
6030,
90,
5377,
11141,
90,
51,
11709,
8,
810,
1391,
51,
92,
796,
19157,
90,
62,
66,
1648,
83,
22468,
7,
51,
38165,
198,
62,
66,
1648,
83,
22468,
7,
3712,
6030,
90,
51,
30072,
810,
1391,
51,
92,
796,
4049,
7203,
4906,
720,
51,
407,
4855,
4943,
198,
62,
66,
1648,
83,
22468,
7,
87,
3712,
51,
8,
810,
1391,
51,
92,
796,
4808,
66,
1648,
83,
22468,
7,
51,
5769,
87,
8,
198,
198,
41887,
22468,
7,
87,
3712,
35,
1072,
46141,
19182,
90,
5377,
11141,
90,
27,
25,
66,
1648,
83,
3041,
874,
11709,
8,
796,
2124,
198,
260,
1604,
5439,
265,
7,
87,
3712,
35,
1072,
46141,
19182,
90,
27,
25,
66,
1648,
83,
3041,
874,
30072,
796,
2124,
198,
198,
41887,
22468,
7,
87,
3712,
35,
1072,
46141,
19182,
90,
51,
30072,
810,
1391,
51,
27,
25,
5377,
11141,
92,
796,
4866,
16,
7,
4906,
1659,
7,
66,
1648,
83,
22468,
7,
22570,
7,
51,
4008,
828,
2124,
8,
198,
41887,
22468,
7,
87,
3712,
35,
1072,
46141,
19182,
90,
51,
30072,
810,
1391,
51,
27,
25,
15633,
92,
796,
4866,
16,
7,
4906,
1659,
7,
41887,
7,
66,
1648,
83,
22468,
7,
22570,
7,
51,
22305,
828,
2124,
8,
198,
198,
260,
1604,
5439,
265,
7,
87,
3712,
35,
1072,
46141,
19182,
90,
51,
30072,
810,
1391,
51,
27,
25,
15633,
92,
796,
4866,
16,
7,
4906,
1659,
7,
66,
1648,
83,
22468,
7,
22570,
7,
51,
4008,
828,
2124,
8,
198,
198,
8818,
4866,
16,
7,
3712,
6030,
90,
51,
5512,
2124,
8,
810,
309,
198,
220,
220,
220,
331,
796,
14496,
19182,
90,
51,
92,
7,
917,
891,
11,
3975,
7,
13664,
11,
34197,
7,
87,
22305,
198,
220,
220,
220,
1303,
30073,
0,
7,
88,
11,
2124,
8,
198,
220,
220,
220,
331,
764,
28,
7025,
7,
29992,
3784,
1102,
1851,
7,
51,
11,
29992,
828,
87,
8,
198,
437,
198
] | 2.336347 | 553 |
using YaoArrayRegister
using YaoArrayRegister: matvec
export ControlBlock, control, cnot
struct ControlBlock{N, BT<:AbstractBlock, C, M} <: AbstractContainer{BT, N}
ctrl_locs::NTuple{C, Int}
ctrl_config::NTuple{C, Int}
content::BT
locs::NTuple{M, Int}
function ControlBlock{N, BT, C, M}(ctrl_locs, ctrl_config, block, locs) where {N, C, M, BT<:AbstractBlock}
@assert_locs_safe N (ctrl_locs..., locs...)
@assert nqubits(block) == M "number of locations doesn't match the size of block"
@assert block isa AbstractBlock "expect a block, got $(typeof(block))"
new{N, BT, C, M}(ctrl_locs, ctrl_config, block, locs)
end
end
"""
decode_sign(ctrls...)
Decode signs into control sequence on control or inversed control.
"""
decode_sign(ctrls::Int...,) = decode_sign(ctrls)
decode_sign(ctrls::NTuple{N, Int}) where N = tuple(ctrls .|> abs, ctrls .|> sign .|> (x->(1+x)÷2))
function ControlBlock{N}(ctrl_locs::NTuple{C}, ctrl_config::NTuple{C}, block::BT, locs::NTuple{K}) where {N, M, C, K, BT<:AbstractBlock{M}}
M == K || throw(DimensionMismatch("block position not maching its size!"))
return ControlBlock{N, BT, C, M}(ctrl_locs, ctrl_config, block, locs)
end
function ControlBlock{N}(ctrl_locs::NTuple{C}, ctrl_config::NTuple{C}, block, locs::NTuple{K}) where {N, M, C, K}
error("expect a block, got $(typeof(block))")
end
# control bit configs are 1 by default, it use sign to encode control bit code
ControlBlock{N}(ctrl_locs::NTuple{C}, block::AbstractBlock, locs::NTuple) where {N, C} =
ControlBlock{N}(decode_sign(ctrl_locs)..., block, locs)
ControlBlock{N}(ctrl_locs::NTuple{C}, block::Function, locs::NTuple) where {N, C} =
ControlBlock{N}(decode_sign(ctrl_locs)..., parse_block(length(locs), block), locs)
ControlBlock{N}(ctrl_locs::NTuple{C}, block, locs::NTuple) where {N, C} =
ControlBlock{N}(decode_sign(ctrl_locs)..., block, locs) # trigger error
# use pair to represent block under control in a compact way
ControlBlock{N}(ctrl_locs::NTuple{C}, target::Pair) where {N, C} =
ControlBlock{N}(ctrl_locs, target.second, (target.first...,))
"""
control(n, ctrl_locs, target)
Return a [`ControlBlock`](@ref) with number of active qubits `n` and control locs
`ctrl_locs`, and control target in `Pair`.
# Example
```jldoctest
julia> control(4, (1, 2), 3=>X)
nqubits: 4
control(1, 2)
└─ (3,) X gate
julia> control(4, 1, 3=>X)
nqubits: 4
control(1)
└─ (3,) X gate
```
"""
control(total::Int, ctrl_locs, target::Pair) = ControlBlock{total}(Tuple(ctrl_locs), target)
control(total::Int, control_location::Int, target::Pair) = control(total, (control_location, ), target)
"""
control(ctrl_locs, target) -> f(n)
Return a lambda that takes the number of total active qubits as input. See also
[`control`](@ref).
# Example
```jldoctest
julia> control((2, 3), 1=>X)
(n -> control(n, (2, 3), 1 => X gate))
julia> control(2, 1=>X)
(n -> control(n, 2, 1 => X gate))
```
"""
control(ctrl_locs, target::Pair) = @λ(n -> control(n, ctrl_locs, target))
control(control_location::Int, target::Pair) = @λ(n -> control(n, control_location, target))
"""
control(target) -> f(ctrl_locs)
Return a lambda that takes a `Tuple` of control qubits locs as input. See also
[`control`](@ref).
# Example
```jldoctest
julia> control(1=>X)
(ctrl_locs -> control(ctrl_locs, 1 => X gate))
julia> control((2, 3) => YaoBlocks.ConstGate.CNOT)
(ctrl_locs -> control(ctrl_locs, (2, 3) => CNOT gate))
```
"""
control(target::Pair) = @λ(ctrl_locs -> control(ctrl_locs, target))
"""
control(ctrl_locs::Int...) -> f(target)
Return a lambda that takes a `Pair` of control target as input.
See also [`control`](@ref).
# Example
```jldoctest
julia> control(1, 2)
(target -> control((1, 2), target))
```
"""
control(ctrl_locs::Int...) = @λ(target -> control(ctrl_locs, target))
"""
cnot(n, ctrl_locs, location)
Return a speical [`ControlBlock`](@ref), aka CNOT gate with number of active qubits
`n` and locs of control qubits `ctrl_locs`, and `location` of `X` gate.
# Example
```jldoctest
julia> cnot(3, (2, 3), 1)
nqubits: 3
control(2, 3)
└─ (1,) X gate
julia> cnot(2, 1)
(n -> cnot(n, 2, 1))
```
"""
cnot(total::Int, ctrl_locs, locs::Int) = control(total, ctrl_locs, locs=>X)
cnot(ctrl_locs, loc::Int) = @λ(n -> cnot(n, ctrl_locs, loc))
mat(::Type{T}, c::ControlBlock{N, BT, C}) where {T, N, BT, C} = cunmat(N, c.ctrl_locs, c.ctrl_config, mat(T, c.content), c.locs)
function apply!(r::ArrayReg{B, T}, c::ControlBlock) where {B, T}
_check_size(r, c)
instruct!(matvec(r.state), mat(T, c.content), c.locs, c.ctrl_locs, c.ctrl_config)
return r
end
# specialization
for G in [:X, :Y, :Z, :S, :T, :Sdag, :Tdag]
GT = Expr(:(.), :ConstGate, QuoteNode(Symbol(G, :Gate)))
@eval function apply!(r::ArrayReg, c::ControlBlock{N, <:$GT}) where N
_check_size(r, c)
instruct!(matvec(r.state), Val($(QuoteNode(G))), c.locs, c.ctrl_locs, c.ctrl_config)
return r
end
end
PreserveStyle(::ControlBlock) = PreserveAll()
occupied_locs(c::ControlBlock) = (c.ctrl_locs..., map(x->c.locs[x], occupied_locs(c.content))...)
chsubblocks(pb::ControlBlock{N}, blk::AbstractBlock) where {N} = ControlBlock{N}(pb.ctrl_locs, pb.ctrl_config, blk, pb.locs)
# NOTE: ControlBlock will forward parameters directly without loop
cache_key(ctrl::ControlBlock) = cache_key(ctrl.content)
function Base.:(==)(lhs::ControlBlock{N, BT, C, M}, rhs::ControlBlock{N, BT, C, M}) where {BT, N, C, M}
return (lhs.ctrl_locs == rhs.ctrl_locs) && (lhs.content == rhs.content) && (lhs.locs == rhs.locs)
end
Base.adjoint(blk::ControlBlock{N}) where N = ControlBlock{N}(blk.ctrl_locs, blk.ctrl_config, adjoint(blk.content), blk.locs)
# NOTE: we only copy one hierachy (shallow copy) for each block
function Base.copy(ctrl::ControlBlock{N, BT, C, M}) where {BT, N, C, M}
return ControlBlock{N, BT, C, M}(ctrl.ctrl_locs, ctrl.ctrl_config, ctrl.content, ctrl.locs)
end
function YaoBase.iscommute(x::ControlBlock{N}, y::ControlBlock{N}) where N
if x.locs == y.locs && x.ctrl_locs == y.ctrl_locs
return iscommute(x.content, y.content)
else
return iscommute_fallback(x, y)
end
end
| [
3500,
37826,
19182,
38804,
198,
3500,
37826,
19182,
38804,
25,
2603,
35138,
198,
198,
39344,
6779,
12235,
11,
1630,
11,
269,
1662,
198,
198,
7249,
6779,
12235,
90,
45,
11,
22205,
27,
25,
23839,
12235,
11,
327,
11,
337,
92,
1279,
25,
27741,
29869,
90,
19313,
11,
399,
92,
198,
220,
220,
220,
269,
14859,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
11,
2558,
92,
198,
220,
220,
220,
269,
14859,
62,
11250,
3712,
11251,
29291,
90,
34,
11,
2558,
92,
198,
220,
220,
220,
2695,
3712,
19313,
198,
220,
220,
220,
1179,
82,
3712,
11251,
29291,
90,
44,
11,
2558,
92,
198,
220,
220,
220,
2163,
6779,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
92,
7,
44755,
62,
17946,
82,
11,
269,
14859,
62,
11250,
11,
2512,
11,
1179,
82,
8,
810,
1391,
45,
11,
327,
11,
337,
11,
22205,
27,
25,
23839,
12235,
92,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
62,
17946,
82,
62,
21230,
399,
357,
44755,
62,
17946,
82,
986,
11,
1179,
82,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
299,
421,
9895,
7,
9967,
8,
6624,
337,
366,
17618,
286,
7064,
1595,
470,
2872,
262,
2546,
286,
2512,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
2512,
318,
64,
27741,
12235,
366,
1069,
806,
257,
2512,
11,
1392,
29568,
4906,
1659,
7,
9967,
4008,
1,
198,
220,
220,
220,
220,
220,
220,
220,
649,
90,
45,
11,
22205,
11,
327,
11,
337,
92,
7,
44755,
62,
17946,
82,
11,
269,
14859,
62,
11250,
11,
2512,
11,
1179,
82,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
36899,
62,
12683,
7,
24087,
7278,
23029,
198,
198,
10707,
1098,
5895,
656,
1630,
8379,
319,
1630,
393,
287,
690,
276,
1630,
13,
198,
37811,
198,
12501,
1098,
62,
12683,
7,
24087,
7278,
3712,
5317,
986,
35751,
796,
36899,
62,
12683,
7,
24087,
7278,
8,
198,
12501,
1098,
62,
12683,
7,
24087,
7278,
3712,
11251,
29291,
90,
45,
11,
2558,
30072,
810,
399,
796,
46545,
7,
24087,
7278,
764,
91,
29,
2352,
11,
269,
2213,
7278,
764,
91,
29,
1051,
764,
91,
29,
357,
87,
3784,
7,
16,
10,
87,
8,
127,
115,
17,
4008,
198,
198,
8818,
6779,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
269,
14859,
62,
11250,
3712,
11251,
29291,
90,
34,
5512,
2512,
3712,
19313,
11,
1179,
82,
3712,
11251,
29291,
90,
42,
30072,
810,
1391,
45,
11,
337,
11,
327,
11,
509,
11,
22205,
27,
25,
23839,
12235,
90,
44,
11709,
198,
220,
220,
220,
337,
6624,
509,
8614,
3714,
7,
29271,
3004,
44,
1042,
963,
7203,
9967,
2292,
407,
3235,
278,
663,
2546,
2474,
4008,
198,
220,
220,
220,
1441,
6779,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
92,
7,
44755,
62,
17946,
82,
11,
269,
14859,
62,
11250,
11,
2512,
11,
1179,
82,
8,
198,
437,
198,
198,
8818,
6779,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
269,
14859,
62,
11250,
3712,
11251,
29291,
90,
34,
5512,
2512,
11,
1179,
82,
3712,
11251,
29291,
90,
42,
30072,
810,
1391,
45,
11,
337,
11,
327,
11,
509,
92,
198,
220,
220,
220,
4049,
7203,
1069,
806,
257,
2512,
11,
1392,
29568,
4906,
1659,
7,
9967,
4008,
4943,
198,
437,
198,
198,
2,
1630,
1643,
4566,
82,
389,
352,
416,
4277,
11,
340,
779,
1051,
284,
37773,
1630,
1643,
2438,
198,
15988,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
2512,
3712,
23839,
12235,
11,
1179,
82,
3712,
11251,
29291,
8,
810,
1391,
45,
11,
327,
92,
796,
198,
220,
220,
220,
6779,
12235,
90,
45,
92,
7,
12501,
1098,
62,
12683,
7,
44755,
62,
17946,
82,
26513,
11,
2512,
11,
1179,
82,
8,
198,
15988,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
2512,
3712,
22203,
11,
1179,
82,
3712,
11251,
29291,
8,
810,
1391,
45,
11,
327,
92,
796,
198,
220,
220,
220,
6779,
12235,
90,
45,
92,
7,
12501,
1098,
62,
12683,
7,
44755,
62,
17946,
82,
26513,
11,
21136,
62,
9967,
7,
13664,
7,
17946,
82,
828,
2512,
828,
1179,
82,
8,
198,
15988,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
2512,
11,
1179,
82,
3712,
11251,
29291,
8,
810,
1391,
45,
11,
327,
92,
796,
198,
220,
220,
220,
6779,
12235,
90,
45,
92,
7,
12501,
1098,
62,
12683,
7,
44755,
62,
17946,
82,
26513,
11,
2512,
11,
1179,
82,
8,
1303,
7616,
4049,
198,
198,
2,
779,
5166,
284,
2380,
2512,
739,
1630,
287,
257,
16001,
835,
198,
15988,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
3712,
11251,
29291,
90,
34,
5512,
2496,
3712,
47,
958,
8,
810,
1391,
45,
11,
327,
92,
796,
198,
220,
220,
220,
6779,
12235,
90,
45,
92,
7,
44755,
62,
17946,
82,
11,
2496,
13,
12227,
11,
357,
16793,
13,
11085,
986,
11,
4008,
198,
198,
37811,
198,
220,
220,
220,
1630,
7,
77,
11,
269,
14859,
62,
17946,
82,
11,
2496,
8,
198,
198,
13615,
257,
685,
63,
15988,
12235,
63,
16151,
31,
5420,
8,
351,
1271,
286,
4075,
627,
9895,
4600,
77,
63,
290,
1630,
1179,
82,
198,
63,
44755,
62,
17946,
82,
47671,
290,
1630,
2496,
287,
4600,
47,
958,
44646,
198,
198,
2,
17934,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
1630,
7,
19,
11,
357,
16,
11,
362,
828,
513,
14804,
55,
8,
198,
77,
421,
9895,
25,
604,
198,
13716,
7,
16,
11,
362,
8,
198,
6552,
242,
7280,
357,
18,
35751,
1395,
8946,
198,
198,
73,
43640,
29,
1630,
7,
19,
11,
352,
11,
513,
14804,
55,
8,
198,
77,
421,
9895,
25,
604,
198,
13716,
7,
16,
8,
198,
6552,
242,
7280,
357,
18,
35751,
1395,
8946,
198,
15506,
63,
198,
37811,
198,
13716,
7,
23350,
3712,
5317,
11,
269,
14859,
62,
17946,
82,
11,
2496,
3712,
47,
958,
8,
796,
6779,
12235,
90,
23350,
92,
7,
51,
29291,
7,
44755,
62,
17946,
82,
828,
2496,
8,
198,
13716,
7,
23350,
3712,
5317,
11,
1630,
62,
24886,
3712,
5317,
11,
2496,
3712,
47,
958,
8,
796,
1630,
7,
23350,
11,
357,
13716,
62,
24886,
11,
10612,
2496,
8,
198,
198,
37811,
198,
220,
220,
220,
1630,
7,
44755,
62,
17946,
82,
11,
2496,
8,
4613,
277,
7,
77,
8,
198,
198,
13615,
257,
37456,
326,
2753,
262,
1271,
286,
2472,
4075,
627,
9895,
355,
5128,
13,
4091,
635,
198,
58,
63,
13716,
63,
16151,
31,
5420,
737,
198,
198,
2,
17934,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
1630,
19510,
17,
11,
513,
828,
352,
14804,
55,
8,
198,
7,
77,
4613,
1630,
7,
77,
11,
357,
17,
11,
513,
828,
352,
5218,
1395,
8946,
4008,
198,
198,
73,
43640,
29,
1630,
7,
17,
11,
352,
14804,
55,
8,
198,
7,
77,
4613,
1630,
7,
77,
11,
362,
11,
352,
5218,
1395,
8946,
4008,
198,
15506,
63,
198,
37811,
198,
13716,
7,
44755,
62,
17946,
82,
11,
2496,
3712,
47,
958,
8,
796,
2488,
39377,
7,
77,
4613,
1630,
7,
77,
11,
269,
14859,
62,
17946,
82,
11,
2496,
4008,
198,
13716,
7,
13716,
62,
24886,
3712,
5317,
11,
2496,
3712,
47,
958,
8,
796,
2488,
39377,
7,
77,
4613,
1630,
7,
77,
11,
1630,
62,
24886,
11,
2496,
4008,
198,
198,
37811,
198,
220,
220,
220,
1630,
7,
16793,
8,
4613,
277,
7,
44755,
62,
17946,
82,
8,
198,
198,
13615,
257,
37456,
326,
2753,
257,
4600,
51,
29291,
63,
286,
1630,
627,
9895,
1179,
82,
355,
5128,
13,
4091,
635,
198,
58,
63,
13716,
63,
16151,
31,
5420,
737,
198,
198,
2,
17934,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
1630,
7,
16,
14804,
55,
8,
198,
7,
44755,
62,
17946,
82,
4613,
1630,
7,
44755,
62,
17946,
82,
11,
352,
5218,
1395,
8946,
4008,
198,
198,
73,
43640,
29,
1630,
19510,
17,
11,
513,
8,
5218,
37826,
45356,
13,
34184,
22628,
13,
34,
11929,
8,
198,
7,
44755,
62,
17946,
82,
4613,
1630,
7,
44755,
62,
17946,
82,
11,
357,
17,
11,
513,
8,
5218,
327,
11929,
8946,
4008,
198,
15506,
63,
198,
37811,
198,
13716,
7,
16793,
3712,
47,
958,
8,
796,
2488,
39377,
7,
44755,
62,
17946,
82,
4613,
1630,
7,
44755,
62,
17946,
82,
11,
2496,
4008,
198,
198,
37811,
198,
220,
220,
220,
1630,
7,
44755,
62,
17946,
82,
3712,
5317,
23029,
4613,
277,
7,
16793,
8,
198,
198,
13615,
257,
37456,
326,
2753,
257,
4600,
47,
958,
63,
286,
1630,
2496,
355,
5128,
13,
198,
6214,
635,
685,
63,
13716,
63,
16151,
31,
5420,
737,
198,
198,
2,
17934,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
1630,
7,
16,
11,
362,
8,
198,
7,
16793,
4613,
1630,
19510,
16,
11,
362,
828,
2496,
4008,
198,
15506,
63,
198,
37811,
198,
13716,
7,
44755,
62,
17946,
82,
3712,
5317,
23029,
796,
2488,
39377,
7,
16793,
4613,
1630,
7,
44755,
62,
17946,
82,
11,
2496,
4008,
198,
198,
37811,
198,
220,
220,
220,
269,
1662,
7,
77,
11,
269,
14859,
62,
17946,
82,
11,
4067,
8,
198,
198,
13615,
257,
693,
605,
685,
63,
15988,
12235,
63,
16151,
31,
5420,
828,
22430,
327,
11929,
8946,
351,
1271,
286,
4075,
627,
9895,
198,
63,
77,
63,
290,
1179,
82,
286,
1630,
627,
9895,
4600,
44755,
62,
17946,
82,
47671,
290,
4600,
24886,
63,
286,
4600,
55,
63,
8946,
13,
198,
198,
2,
17934,
198,
198,
15506,
63,
73,
335,
38441,
395,
198,
73,
43640,
29,
269,
1662,
7,
18,
11,
357,
17,
11,
513,
828,
352,
8,
198,
77,
421,
9895,
25,
513,
198,
13716,
7,
17,
11,
513,
8,
198,
6552,
242,
7280,
357,
16,
35751,
1395,
8946,
198,
198,
73,
43640,
29,
269,
1662,
7,
17,
11,
352,
8,
198,
7,
77,
4613,
269,
1662,
7,
77,
11,
362,
11,
352,
4008,
198,
15506,
63,
198,
37811,
198,
66,
1662,
7,
23350,
3712,
5317,
11,
269,
14859,
62,
17946,
82,
11,
1179,
82,
3712,
5317,
8,
796,
1630,
7,
23350,
11,
269,
14859,
62,
17946,
82,
11,
1179,
82,
14804,
55,
8,
198,
66,
1662,
7,
44755,
62,
17946,
82,
11,
1179,
3712,
5317,
8,
796,
2488,
39377,
7,
77,
4613,
269,
1662,
7,
77,
11,
269,
14859,
62,
17946,
82,
11,
1179,
4008,
198,
198,
6759,
7,
3712,
6030,
90,
51,
5512,
269,
3712,
15988,
12235,
90,
45,
11,
22205,
11,
327,
30072,
810,
1391,
51,
11,
399,
11,
22205,
11,
327,
92,
796,
269,
403,
6759,
7,
45,
11,
269,
13,
44755,
62,
17946,
82,
11,
269,
13,
44755,
62,
11250,
11,
2603,
7,
51,
11,
269,
13,
11299,
828,
269,
13,
17946,
82,
8,
198,
198,
8818,
4174,
0,
7,
81,
3712,
19182,
8081,
90,
33,
11,
309,
5512,
269,
3712,
15988,
12235,
8,
810,
1391,
33,
11,
309,
92,
198,
220,
220,
220,
4808,
9122,
62,
7857,
7,
81,
11,
269,
8,
198,
220,
220,
220,
5048,
0,
7,
6759,
35138,
7,
81,
13,
5219,
828,
2603,
7,
51,
11,
269,
13,
11299,
828,
269,
13,
17946,
82,
11,
269,
13,
44755,
62,
17946,
82,
11,
269,
13,
44755,
62,
11250,
8,
198,
220,
220,
220,
1441,
374,
198,
437,
198,
198,
2,
43135,
198,
1640,
402,
287,
685,
25,
55,
11,
1058,
56,
11,
1058,
57,
11,
1058,
50,
11,
1058,
51,
11,
1058,
50,
67,
363,
11,
1058,
51,
67,
363,
60,
198,
220,
220,
220,
7963,
796,
1475,
1050,
7,
37498,
12179,
1058,
34184,
22628,
11,
19879,
19667,
7,
13940,
23650,
7,
38,
11,
1058,
22628,
22305,
628,
220,
220,
220,
2488,
18206,
2163,
4174,
0,
7,
81,
3712,
19182,
8081,
11,
269,
3712,
15988,
12235,
90,
45,
11,
1279,
25,
3,
19555,
30072,
810,
399,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
9122,
62,
7857,
7,
81,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5048,
0,
7,
6759,
35138,
7,
81,
13,
5219,
828,
3254,
16763,
7,
25178,
19667,
7,
38,
4008,
828,
269,
13,
17946,
82,
11,
269,
13,
44755,
62,
17946,
82,
11,
269,
13,
44755,
62,
11250,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
374,
198,
220,
220,
220,
886,
198,
437,
198,
198,
25460,
3760,
21466,
7,
3712,
15988,
12235,
8,
796,
1763,
3760,
3237,
3419,
198,
198,
28756,
62,
17946,
82,
7,
66,
3712,
15988,
12235,
8,
796,
357,
66,
13,
44755,
62,
17946,
82,
986,
11,
3975,
7,
87,
3784,
66,
13,
17946,
82,
58,
87,
4357,
12030,
62,
17946,
82,
7,
66,
13,
11299,
4008,
23029,
198,
354,
7266,
27372,
7,
40842,
3712,
15988,
12235,
90,
45,
5512,
698,
74,
3712,
23839,
12235,
8,
810,
1391,
45,
92,
796,
6779,
12235,
90,
45,
92,
7,
40842,
13,
44755,
62,
17946,
82,
11,
279,
65,
13,
44755,
62,
11250,
11,
698,
74,
11,
279,
65,
13,
17946,
82,
8,
198,
198,
2,
24550,
25,
6779,
12235,
481,
2651,
10007,
3264,
1231,
9052,
198,
23870,
62,
2539,
7,
44755,
3712,
15988,
12235,
8,
796,
12940,
62,
2539,
7,
44755,
13,
11299,
8,
198,
198,
8818,
7308,
11207,
7,
855,
5769,
75,
11994,
3712,
15988,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
5512,
9529,
82,
3712,
15988,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
30072,
810,
1391,
19313,
11,
399,
11,
327,
11,
337,
92,
198,
220,
220,
220,
1441,
357,
75,
11994,
13,
44755,
62,
17946,
82,
6624,
9529,
82,
13,
44755,
62,
17946,
82,
8,
11405,
357,
75,
11994,
13,
11299,
6624,
9529,
82,
13,
11299,
8,
11405,
357,
75,
11994,
13,
17946,
82,
6624,
9529,
82,
13,
17946,
82,
8,
198,
437,
198,
198,
14881,
13,
41255,
1563,
7,
2436,
74,
3712,
15988,
12235,
90,
45,
30072,
810,
399,
796,
6779,
12235,
90,
45,
92,
7,
2436,
74,
13,
44755,
62,
17946,
82,
11,
698,
74,
13,
44755,
62,
11250,
11,
9224,
1563,
7,
2436,
74,
13,
11299,
828,
698,
74,
13,
17946,
82,
8,
198,
198,
2,
24550,
25,
356,
691,
4866,
530,
13550,
35586,
357,
1477,
12154,
4866,
8,
329,
1123,
2512,
198,
8818,
7308,
13,
30073,
7,
44755,
3712,
15988,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
30072,
810,
1391,
19313,
11,
399,
11,
327,
11,
337,
92,
198,
220,
220,
220,
1441,
6779,
12235,
90,
45,
11,
22205,
11,
327,
11,
337,
92,
7,
44755,
13,
44755,
62,
17946,
82,
11,
269,
14859,
13,
44755,
62,
11250,
11,
269,
14859,
13,
11299,
11,
269,
14859,
13,
17946,
82,
8,
198,
437,
198,
198,
8818,
37826,
14881,
13,
271,
9503,
1133,
7,
87,
3712,
15988,
12235,
90,
45,
5512,
331,
3712,
15988,
12235,
90,
45,
30072,
810,
399,
198,
220,
220,
220,
611,
2124,
13,
17946,
82,
6624,
331,
13,
17946,
82,
11405,
2124,
13,
44755,
62,
17946,
82,
6624,
331,
13,
44755,
62,
17946,
82,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
318,
9503,
1133,
7,
87,
13,
11299,
11,
331,
13,
11299,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
318,
9503,
1133,
62,
7207,
1891,
7,
87,
11,
331,
8,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.424775 | 2,559 |
#=
This is a port of the R2 model CoinBias.cs
Output from the R2 model:
```
Mean: 0.421294
Variance: 0.0162177
Number of accepted samples = 692
```
This model:
parameters mean std naive_se mcse ess rhat ess_per_sec
Symbol Float64 Float64 Float64 Float64 Float64 Float64 Float64
bias 0.4166 0.1360 0.0014 0.0020 5021.6561 1.0000 2276.3627
=#
using Turing, StatsPlots, Distributions, StatsBase
using CSV
include("jl_utils.jl")
@model function coin_bias(x)
n = length(x)
# Beta(2,5) has mean about 0.2855
bias ~ Beta(2,5)
x ~ filldist(Bernoulli(bias),n)
end
x = parse.(Int,split(readline("coin_bias.txt"),","))
println("x:$x")
model = coin_bias(x)
# chns = sample(model, Prior(), 10_000)
# chns = sample(model, MH(), 1_000)
chns = sample(model, PG(5), 10_000)
# chns = sample(model, SMC(), 1_000)
# chns = sample(model, IS(), 10_000)
# chns = sample(model, HMC(0.1,6), 1_000)
# chns = sample(model, NUTS(), 1_000)
display(chns)
show_var_dist_pct(chns,:bias,20) | [
2,
28,
628,
220,
220,
220,
770,
318,
257,
2493,
286,
262,
371,
17,
2746,
16312,
33,
4448,
13,
6359,
220,
628,
220,
220,
220,
25235,
422,
262,
371,
17,
2746,
25,
198,
220,
220,
220,
7559,
63,
198,
220,
220,
220,
22728,
25,
657,
13,
3682,
1065,
5824,
198,
220,
220,
220,
15965,
590,
25,
657,
13,
486,
5237,
22413,
198,
220,
220,
220,
7913,
286,
6292,
8405,
796,
718,
5892,
198,
220,
220,
220,
7559,
63,
628,
220,
220,
220,
770,
2746,
25,
198,
220,
10007,
220,
220,
220,
220,
220,
1612,
220,
220,
220,
220,
220,
220,
14367,
220,
220,
24354,
62,
325,
220,
220,
220,
220,
220,
36650,
325,
220,
220,
220,
220,
220,
220,
220,
220,
3209,
220,
220,
220,
220,
220,
374,
5183,
220,
220,
3209,
62,
525,
62,
2363,
220,
198,
220,
220,
220,
220,
220,
38357,
220,
220,
48436,
2414,
220,
220,
48436,
2414,
220,
220,
220,
48436,
2414,
220,
220,
48436,
2414,
220,
220,
220,
220,
48436,
2414,
220,
220,
48436,
2414,
220,
220,
220,
220,
220,
220,
48436,
2414,
220,
628,
220,
220,
220,
220,
220,
220,
220,
10690,
220,
220,
220,
657,
13,
19,
23055,
220,
220,
220,
657,
13,
1485,
1899,
220,
220,
220,
220,
657,
13,
405,
1415,
220,
220,
220,
657,
13,
405,
1238,
220,
220,
2026,
2481,
13,
2996,
5333,
220,
220,
220,
352,
13,
2388,
220,
220,
220,
220,
362,
27988,
13,
2623,
1983,
198,
220,
220,
220,
198,
46249,
198,
198,
3500,
39141,
11,
20595,
3646,
1747,
11,
46567,
507,
11,
20595,
14881,
198,
3500,
44189,
198,
17256,
7203,
20362,
62,
26791,
13,
20362,
4943,
198,
198,
31,
19849,
2163,
10752,
62,
65,
4448,
7,
87,
8,
220,
198,
220,
220,
220,
299,
796,
4129,
7,
87,
8,
198,
220,
220,
220,
1303,
17993,
7,
17,
11,
20,
8,
468,
1612,
546,
657,
13,
2078,
2816,
198,
220,
220,
220,
10690,
5299,
17993,
7,
17,
11,
20,
8,
198,
220,
220,
220,
2124,
5299,
6070,
17080,
7,
23927,
280,
15516,
7,
65,
4448,
828,
77,
8,
198,
437,
220,
628,
198,
87,
796,
21136,
12195,
5317,
11,
35312,
7,
961,
1370,
7203,
3630,
62,
65,
4448,
13,
14116,
4943,
553,
553,
4008,
198,
35235,
7203,
87,
25,
3,
87,
4943,
198,
19849,
796,
10752,
62,
65,
4448,
7,
87,
8,
198,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
14481,
22784,
838,
62,
830,
8,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
20752,
22784,
352,
62,
830,
8,
198,
1349,
82,
796,
6291,
7,
19849,
11,
23842,
7,
20,
828,
838,
62,
830,
8,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
9447,
34,
22784,
352,
62,
830,
8,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
3180,
22784,
838,
62,
830,
8,
198,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
367,
9655,
7,
15,
13,
16,
11,
21,
828,
352,
62,
830,
8,
198,
2,
442,
5907,
796,
6291,
7,
19849,
11,
399,
3843,
50,
22784,
352,
62,
830,
8,
198,
198,
13812,
7,
1349,
82,
8,
198,
198,
12860,
62,
7785,
62,
17080,
62,
79,
310,
7,
1349,
82,
11,
25,
65,
4448,
11,
1238,
8
] | 2.101504 | 532 |
# Starting with the number 1 and moving to the right in a clockwise direction a
# 5 by 5 spiral is formed as follows:
#
# 21 22 23 24 25 26
# 20 7 8 9 10 27
# 19 6 1 2 11 28
# 18 5 4 3 12 29
# 17 16 15 14 13 30
#
# It can be verified that the sum of the numbers on the diagonals is 101.
#
# What is the sum of the numbers on the diagonals in a 1001 by 1001 spiral
# formed in the same way?
using ProjectEulerSolutions
# Create and sum the sequence of corner values, then increment.
function p028solution_increment(n::Integer=5)::Integer
val = 1
startindex = 3
for i = 2:2:n
val += sum(collect(startindex .+ (0:i:i*3)))
startindex = startindex + 4*i + 2
end
return val
end
# Closed form solution by noticing that the number in the top right corner is
# n^2 and the other corners as: n^2-n+1, n^2-2n+2, and n^2-3n+3. Summing gives
# 4n^2-6n+6
function p028solution_broadcast(n::Integer=5)::Integer
nset = 3:2:n
vals = 4 .* nset .^ 2 .- 6 .* nset .+ 6
return sum(vals) + 1
end
# Even more closed form solution solving for sum of series, which is:
# 2n^3/3 + n^2/2 + 4n/3 - 5/2. Somehow it is not faster than either previous
# solution.
function p028solution_closedform(n::Integer=5)::Integer
return fld(4 * n^3 + 3 * n^2 + 8 * n - 9, 6)
end
p028 = Problems.Problem(Dict("Incremental" => p028solution_increment,
"Broadcast" => p028solution_broadcast,
"Closed form" => p028solution_closedform))
Problems.benchmark(p028, 1001) | [
2,
17962,
351,
262,
1271,
352,
290,
3867,
284,
262,
826,
287,
257,
8801,
3083,
4571,
257,
198,
2,
642,
416,
642,
23642,
318,
7042,
355,
5679,
25,
198,
2,
198,
2,
2310,
2534,
2242,
1987,
1679,
2608,
198,
2,
1160,
220,
767,
220,
807,
220,
860,
838,
2681,
198,
2,
678,
220,
718,
220,
352,
220,
362,
1367,
2579,
198,
2,
1248,
220,
642,
220,
604,
220,
513,
1105,
2808,
198,
2,
1596,
1467,
1315,
1478,
1511,
1542,
198,
2,
198,
2,
632,
460,
307,
19000,
326,
262,
2160,
286,
262,
3146,
319,
262,
2566,
1840,
874,
318,
8949,
13,
198,
2,
198,
2,
1867,
318,
262,
2160,
286,
262,
3146,
319,
262,
2566,
1840,
874,
287,
257,
1802,
16,
416,
1802,
16,
23642,
198,
2,
7042,
287,
262,
976,
835,
30,
198,
198,
3500,
4935,
36,
18173,
50,
14191,
198,
198,
2,
13610,
290,
2160,
262,
8379,
286,
5228,
3815,
11,
788,
18703,
13,
198,
8818,
279,
46957,
82,
2122,
62,
24988,
434,
7,
77,
3712,
46541,
28,
20,
2599,
25,
46541,
198,
220,
220,
220,
1188,
796,
352,
198,
220,
220,
220,
923,
9630,
796,
513,
198,
220,
220,
220,
329,
1312,
796,
362,
25,
17,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
1188,
15853,
2160,
7,
33327,
7,
9688,
9630,
764,
10,
357,
15,
25,
72,
25,
72,
9,
18,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
923,
9630,
796,
923,
9630,
1343,
604,
9,
72,
1343,
362,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1188,
198,
437,
198,
198,
2,
30550,
1296,
4610,
416,
28107,
326,
262,
1271,
287,
262,
1353,
826,
5228,
318,
198,
2,
299,
61,
17,
290,
262,
584,
14371,
355,
25,
299,
61,
17,
12,
77,
10,
16,
11,
299,
61,
17,
12,
17,
77,
10,
17,
11,
290,
299,
61,
17,
12,
18,
77,
10,
18,
13,
220,
5060,
2229,
3607,
198,
2,
604,
77,
61,
17,
12,
21,
77,
10,
21,
198,
8818,
279,
46957,
82,
2122,
62,
36654,
2701,
7,
77,
3712,
46541,
28,
20,
2599,
25,
46541,
198,
220,
220,
220,
299,
2617,
796,
513,
25,
17,
25,
77,
198,
220,
220,
220,
410,
874,
796,
604,
764,
9,
299,
2617,
764,
61,
362,
764,
12,
718,
764,
9,
299,
2617,
764,
10,
718,
198,
220,
220,
220,
1441,
2160,
7,
12786,
8,
1343,
352,
198,
437,
198,
198,
2,
3412,
517,
4838,
1296,
4610,
18120,
329,
2160,
286,
2168,
11,
543,
318,
25,
198,
2,
362,
77,
61,
18,
14,
18,
1343,
299,
61,
17,
14,
17,
1343,
604,
77,
14,
18,
532,
642,
14,
17,
13,
220,
36651,
340,
318,
407,
5443,
621,
2035,
2180,
198,
2,
4610,
13,
198,
8818,
279,
46957,
82,
2122,
62,
20225,
687,
7,
77,
3712,
46541,
28,
20,
2599,
25,
46541,
198,
220,
220,
220,
1441,
277,
335,
7,
19,
1635,
299,
61,
18,
1343,
513,
1635,
299,
61,
17,
1343,
807,
1635,
299,
532,
860,
11,
718,
8,
198,
437,
198,
198,
79,
46957,
796,
32093,
13,
40781,
7,
35,
713,
7203,
15562,
37098,
1,
5218,
279,
46957,
82,
2122,
62,
24988,
434,
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,
366,
30507,
2701,
1,
220,
220,
5218,
279,
46957,
82,
2122,
62,
36654,
2701,
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,
366,
2601,
1335,
1296,
1,
5218,
279,
46957,
82,
2122,
62,
20225,
687,
4008,
198,
198,
2964,
22143,
13,
26968,
4102,
7,
79,
46957,
11,
1802,
16,
8
] | 2.4784 | 625 |
"""
check_MD5( file_path, checksum )
returns a MD5 hash from a file location.
Note: this converts Int8 representations to comma delimitted strings.
"""
get_MD5( file_path ) = join( string.( open(md5, file_path) ), "," )
"""
check_MD5( file_path, checksum )
Checks the result of an MD5 hash vs a stored checksum.
Note: this converts Int8 representations to comma delimitted strings.
"""
check_MD5( file_path, check_sum ) = get_MD5( file_path ) == check_sum
| [
37811,
198,
220,
220,
220,
2198,
62,
12740,
20,
7,
2393,
62,
6978,
11,
8794,
388,
1267,
198,
7783,
82,
257,
10670,
20,
12234,
422,
257,
2393,
4067,
13,
198,
6425,
25,
428,
26161,
2558,
23,
24612,
284,
39650,
46728,
2175,
13042,
13,
198,
37811,
198,
1136,
62,
12740,
20,
7,
2393,
62,
6978,
1267,
796,
220,
4654,
7,
4731,
12195,
1280,
7,
9132,
20,
11,
2393,
62,
6978,
8,
10612,
366,
553,
1267,
198,
198,
37811,
198,
220,
220,
220,
2198,
62,
12740,
20,
7,
2393,
62,
6978,
11,
8794,
388,
1267,
198,
7376,
4657,
262,
1255,
286,
281,
10670,
20,
12234,
3691,
257,
8574,
8794,
388,
13,
198,
6425,
25,
428,
26161,
2558,
23,
24612,
284,
39650,
46728,
2175,
13042,
13,
198,
37811,
198,
9122,
62,
12740,
20,
7,
2393,
62,
6978,
11,
2198,
62,
16345,
1267,
796,
651,
62,
12740,
20,
7,
2393,
62,
6978,
1267,
6624,
2198,
62,
16345,
198
] | 3.025974 | 154 |
### A Pluto.jl notebook ###
# v0.12.16
using Markdown
using InteractiveUtils
# ╔═╡ 5e8c4976-3727-11eb-2801-0313fd547ac2
file = open(f->read(f, String), "day_1.txt")
# ╔═╡ bd9f511c-3727-11eb-38e3-ad2be4ac32fc
begin
#separing each line
input = eachmatch(r"(.+)\n",file)
#getting first match of regex and converting to int
input = map(x-> parse(Int64, x.captures[1]), input)
end
# ╔═╡ b3710000-372a-11eb-25f0-4fe8d0aa2162
sum = filter(x->x<2020, [i+j for i in input,j in input])
# ╔═╡ a064fb9e-3737-11eb-06e6-fb89f785aba8
needs = [(2020-x) for x in sum]
# ╔═╡ 081e453e-372d-11eb-09ab-471d8bb8881f
inter = intersect(needs,input)
# ╔═╡ cd91eaa0-3737-11eb-2b49-b9168dab6e3f
result =inter[1]*inter[2]*inter[3]
# ╔═╡ 33efb69e-3738-11eb-3c85-8df7bac1208e
1051 * 897 * 72
# ╔═╡ Cell order:
# ╠═5e8c4976-3727-11eb-2801-0313fd547ac2
# ╠═bd9f511c-3727-11eb-38e3-ad2be4ac32fc
# ╠═b3710000-372a-11eb-25f0-4fe8d0aa2162
# ╠═a064fb9e-3737-11eb-06e6-fb89f785aba8
# ╠═081e453e-372d-11eb-09ab-471d8bb8881f
# ╠═cd91eaa0-3737-11eb-2b49-b9168dab6e3f
# ╠═33efb69e-3738-11eb-3c85-8df7bac1208e
| [
21017,
317,
32217,
13,
20362,
20922,
44386,
198,
2,
410,
15,
13,
1065,
13,
1433,
198,
198,
3500,
2940,
2902,
198,
3500,
21365,
18274,
4487,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
642,
68,
23,
66,
2920,
4304,
12,
2718,
1983,
12,
1157,
1765,
12,
2078,
486,
12,
3070,
1485,
16344,
20,
2857,
330,
17,
198,
7753,
796,
1280,
7,
69,
3784,
961,
7,
69,
11,
10903,
828,
366,
820,
62,
16,
13,
14116,
4943,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
275,
67,
24,
69,
41647,
66,
12,
2718,
1983,
12,
1157,
1765,
12,
2548,
68,
18,
12,
324,
17,
1350,
19,
330,
2624,
16072,
198,
27471,
198,
197,
2,
325,
79,
1723,
1123,
1627,
198,
197,
15414,
796,
1123,
15699,
7,
81,
18109,
13,
10,
19415,
77,
1600,
7753,
8,
198,
197,
198,
197,
2,
37210,
717,
2872,
286,
40364,
290,
23202,
284,
493,
198,
197,
15414,
796,
3975,
7,
87,
3784,
21136,
7,
5317,
2414,
11,
2124,
13,
27144,
942,
58,
16,
46570,
5128,
8,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
275,
38056,
2388,
12,
36720,
64,
12,
1157,
1765,
12,
1495,
69,
15,
12,
19,
5036,
23,
67,
15,
7252,
20666,
17,
198,
16345,
796,
8106,
7,
87,
3784,
87,
27,
42334,
11,
685,
72,
10,
73,
329,
1312,
287,
5128,
11,
73,
287,
5128,
12962,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
257,
15,
2414,
21855,
24,
68,
12,
2718,
2718,
12,
1157,
1765,
12,
3312,
68,
21,
12,
21855,
4531,
69,
41172,
15498,
23,
198,
50032,
796,
47527,
42334,
12,
87,
8,
329,
2124,
287,
2160,
60,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
657,
6659,
68,
36625,
68,
12,
36720,
67,
12,
1157,
1765,
12,
2931,
397,
12,
38339,
67,
23,
11848,
3459,
6659,
69,
198,
3849,
796,
36177,
7,
50032,
11,
15414,
8,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
22927,
6420,
68,
7252,
15,
12,
2718,
2718,
12,
1157,
1765,
12,
17,
65,
2920,
12,
65,
24,
14656,
67,
397,
21,
68,
18,
69,
198,
20274,
796,
3849,
58,
16,
60,
9,
3849,
58,
17,
60,
9,
3849,
58,
18,
60,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
4747,
891,
65,
3388,
68,
12,
2718,
2548,
12,
1157,
1765,
12,
18,
66,
5332,
12,
23,
7568,
22,
65,
330,
1065,
2919,
68,
198,
940,
4349,
1635,
807,
5607,
1635,
7724,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
12440,
1502,
25,
198,
2,
2343,
243,
254,
28670,
20,
68,
23,
66,
2920,
4304,
12,
2718,
1983,
12,
1157,
1765,
12,
2078,
486,
12,
3070,
1485,
16344,
20,
2857,
330,
17,
198,
2,
2343,
243,
254,
28670,
17457,
24,
69,
41647,
66,
12,
2718,
1983,
12,
1157,
1765,
12,
2548,
68,
18,
12,
324,
17,
1350,
19,
330,
2624,
16072,
198,
2,
2343,
243,
254,
28670,
65,
38056,
2388,
12,
36720,
64,
12,
1157,
1765,
12,
1495,
69,
15,
12,
19,
5036,
23,
67,
15,
7252,
20666,
17,
198,
2,
2343,
243,
254,
28670,
64,
15,
2414,
21855,
24,
68,
12,
2718,
2718,
12,
1157,
1765,
12,
3312,
68,
21,
12,
21855,
4531,
69,
41172,
15498,
23,
198,
2,
2343,
243,
254,
28670,
2919,
16,
68,
36625,
68,
12,
36720,
67,
12,
1157,
1765,
12,
2931,
397,
12,
38339,
67,
23,
11848,
3459,
6659,
69,
198,
2,
2343,
243,
254,
28670,
10210,
6420,
68,
7252,
15,
12,
2718,
2718,
12,
1157,
1765,
12,
17,
65,
2920,
12,
65,
24,
14656,
67,
397,
21,
68,
18,
69,
198,
2,
2343,
243,
254,
28670,
2091,
891,
65,
3388,
68,
12,
2718,
2548,
12,
1157,
1765,
12,
18,
66,
5332,
12,
23,
7568,
22,
65,
330,
1065,
2919,
68,
198
] | 1.736758 | 623 |
using TestPackage
using Test
@testset "TestPackage.jl" begin
@test 8 == testFunction(4)
end
| [
3500,
6208,
27813,
198,
3500,
6208,
198,
198,
31,
9288,
2617,
366,
14402,
27813,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
807,
6624,
1332,
22203,
7,
19,
8,
198,
437,
198
] | 2.852941 | 34 |
# using Base:splat
using JSON
using SQLite
splat_db = SQLite.DB("../splatalogue_v3.db")
SQLite.tables(splat_db)
freq_start = 688.2213591803346
freq_end = 689.3824263880999
strSQL = "SELECT * FROM lines WHERE frequency>=$freq_start AND frequency<=$freq_end;"
println(strSQL)
has_molecules = false
resp = IOBuffer()
write(resp, "{\"molecules\" : [")
for row in SQLite.DBInterface.execute(splat_db, strSQL)
global has_molecules = true
json = JSON.json(row)
write(resp, json)
write(resp, ",")
end
json = String(take!(resp))
if !has_molecules
json = "{\"molecules\" : []}"
else
# remove the last character (comma) from json
json = chop(json, tail=1) * "]}"
end
println(json) | [
2,
1262,
7308,
25,
22018,
265,
198,
3500,
19449,
198,
3500,
16363,
578,
198,
198,
22018,
265,
62,
9945,
796,
16363,
578,
13,
11012,
7203,
40720,
22018,
10254,
5119,
62,
85,
18,
13,
9945,
4943,
198,
17861,
578,
13,
83,
2977,
7,
22018,
265,
62,
9945,
8,
198,
198,
19503,
80,
62,
9688,
796,
718,
3459,
13,
1828,
1485,
3270,
15259,
2091,
3510,
198,
19503,
80,
62,
437,
796,
718,
4531,
13,
2548,
1731,
2075,
2548,
1795,
17032,
198,
198,
2536,
17861,
796,
366,
46506,
1635,
16034,
3951,
33411,
8373,
29,
43641,
19503,
80,
62,
9688,
5357,
8373,
27,
43641,
19503,
80,
62,
437,
26033,
198,
35235,
7,
2536,
17861,
8,
198,
198,
10134,
62,
76,
2305,
13930,
796,
3991,
198,
4363,
796,
314,
9864,
13712,
3419,
198,
13564,
7,
4363,
11,
45144,
7879,
76,
2305,
13930,
7879,
1058,
685,
4943,
198,
198,
1640,
5752,
287,
16363,
578,
13,
11012,
39317,
13,
41049,
7,
22018,
265,
62,
9945,
11,
965,
17861,
8,
198,
220,
220,
220,
3298,
468,
62,
76,
2305,
13930,
796,
2081,
198,
220,
220,
220,
33918,
796,
19449,
13,
17752,
7,
808,
8,
628,
220,
220,
220,
3551,
7,
4363,
11,
33918,
8,
198,
220,
220,
220,
3551,
7,
4363,
11,
366,
553,
8,
198,
437,
198,
198,
17752,
796,
10903,
7,
20657,
0,
7,
4363,
4008,
198,
198,
361,
5145,
10134,
62,
76,
2305,
13930,
198,
220,
220,
220,
33918,
796,
45144,
7879,
76,
2305,
13930,
7879,
1058,
17635,
36786,
198,
17772,
198,
220,
220,
220,
1303,
4781,
262,
938,
2095,
357,
785,
2611,
8,
422,
33918,
198,
220,
220,
220,
33918,
796,
30506,
7,
17752,
11,
7894,
28,
16,
8,
1635,
366,
60,
36786,
198,
437,
198,
198,
35235,
7,
17752,
8
] | 2.45993 | 287 |
function vor( u :: Array{Float64,2}, v :: Array{Float64,2}, m :: MITgcmDatas)
dudy = dimDiff(u, 2, OnePointR()) /m.dyspacing
dvdx = dimDiff(v, 1, OnePointR()) /m.dxspacing
return (dvdx - dudy)
end
function vor( u :: Array{Float64,3}, v :: Array{Float64,3}, m :: MITgcmDatas)
vv = zeros(size(u))
for iz = 1: size(u,3)
vv[:,:,iz] = vor(u[:,:,iz],v[:,:,iz],m)
end
return vv
end
#= include("intercept.jl") =#
function MITgcmPV( u :: Array{Float64,3}, v :: Array{Float64,3},
T :: Array{Float64,3}, m :: MITgcmDatas;
dzspacing :: Float64 = 2.5, f :: Float64 = 7.29e-5, BbyT :: Float64 = 2.0e-4 * 9.8)
parIndent = OnePointR()
dudy = begin
fdy = dimDiff(u, 2, OnePointLR()) /(m.dyspacing)
dimAverage(fdy,1, parIndent)
#= dimMoves(fdy,2,OnePointR()) =#
end
dvdx = begin
fdx = dimDiff(v,1,OnePointLR())/(m.dxspacing)
dimAverage(fdx, 2,parIndent)
#= dimMoves(fdx,1,OnePointR()) =#
end
dudz = begin
fdz = -dimDiff(u,3,OnePointLR())/dzspacing
dimAverage(fdz,1, parIndent)
#= dimMoves(fdz,2,OnePointR()) =#
end
dvdz = begin
fdz = -dimDiff(v,3,OnePointLR())/dzspacing
dimAverage(fdz,2, parIndent)
#= dimMoves(fdz,1,OnePointR()) =#
end
avor = ( -dvdz, dudz, f+(dvdx - dudy))
dB = begin
TT = map( x-> BbyT * dimDiff(T,x, OnePointLR()), (1,2,3))
(TT[1]/m.dxspacing, TT[2]/m.dyspacing, -TT[3]/dzspacing)
end
return mapreduce(+, zip(avor, dB))do x
x[1].*x[2]
end
end
export vor
export MITgcmPV, MITgcmVor
include("intercept.jl")
function MFPV( u :: Array{Float64,3}, v :: Array{Float64,3},
T :: Array{Float64,3}, m :: MITgcmDatas;
dzspacing :: Float64 = 2.5, f :: Float64 = 7.29e-5, BbyT :: Float64 = 2.0e-4 * 9.8,
whether_smooth_T :: Bool = true
)
dudy = begin
fdy = dimDiff(u, 2, OnePointLR()) /(m.dyspacing)
shift = GridMoving(uGrid, GridPosition(mGrid.x, mGrid.y - 0.5),2.0,2.0)
intercept(fdy, shift)/(m.dyspacing)
end
dvdx = begin
fdx = dimDiff(v,1,OnePointLR())/(m.dxspacing)
shift = GridMoving(vGrid, GridPosition(mGrid.x - 0.5, mGrid.y),2.0,2.0)
intercept(fdx, shift)
end
dudz = begin
fdz = -dimDiff(u,3,OnePointLR())/dzspacing
shift = GridMoving(uGrid, mGrid,2.,2.)
intercept(fdz,shift)
end
dvdz = begin
fdz = -dimDiff(v,3,OnePointLR())/dzspacing
shift = GridMoving(vGrid, mGrid,2.,2.)
intercept(fdz,shift)/dzspacing
end
avor = ( -dvdz, dudz, f+(dvdx - dudy))
dB = begin
T1 = intercept(T,GridMoving(0.0, 0.0, 2.0,2.0); keep_when_notmoving=!whether_smooth_T)
TT = map( x-> BbyT * dimDiff(T1,x, OnePointLR()), (1,2,3))
(TT[1]/m.dxspacing, TT[2]/m.dyspacing, -TT[3]/dzspacing)
end
return mapreduce(+, zip(avor, dB))do x
x[1].*x[2]
end
end
export MFPV
| [
8818,
410,
273,
7,
334,
7904,
15690,
90,
43879,
2414,
11,
17,
5512,
410,
7904,
15690,
90,
43879,
2414,
11,
17,
5512,
285,
7904,
17168,
70,
11215,
27354,
292,
8,
198,
220,
288,
463,
88,
796,
5391,
28813,
7,
84,
11,
362,
11,
1881,
12727,
49,
28955,
1220,
76,
13,
67,
893,
79,
4092,
198,
220,
288,
20306,
87,
796,
5391,
28813,
7,
85,
11,
352,
11,
1881,
12727,
49,
28955,
1220,
76,
13,
34350,
2777,
4092,
198,
220,
1441,
357,
67,
20306,
87,
532,
288,
463,
88,
8,
198,
437,
198,
198,
8818,
410,
273,
7,
334,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
410,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
285,
7904,
17168,
70,
11215,
27354,
292,
8,
198,
220,
410,
85,
796,
1976,
27498,
7,
7857,
7,
84,
4008,
198,
220,
329,
220,
528,
796,
352,
25,
2546,
7,
84,
11,
18,
8,
198,
220,
220,
220,
410,
85,
58,
45299,
45299,
528,
60,
796,
410,
273,
7,
84,
58,
45299,
45299,
528,
4357,
85,
58,
45299,
45299,
528,
4357,
76,
8,
198,
220,
886,
198,
220,
1441,
410,
85,
220,
198,
437,
628,
198,
2,
28,
2291,
7203,
3849,
984,
13,
20362,
4943,
796,
2,
198,
8818,
17168,
70,
11215,
47,
53,
7,
334,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
410,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
285,
7904,
17168,
70,
11215,
27354,
292,
26,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
89,
2777,
4092,
7904,
48436,
2414,
796,
362,
13,
20,
11,
277,
7904,
48436,
2414,
796,
767,
13,
1959,
68,
12,
20,
11,
347,
1525,
51,
7904,
48436,
2414,
796,
362,
13,
15,
68,
12,
19,
1635,
860,
13,
23,
8,
198,
220,
1582,
5497,
298,
796,
1881,
12727,
49,
3419,
198,
220,
288,
463,
88,
796,
2221,
198,
220,
220,
220,
277,
9892,
796,
220,
5391,
28813,
7,
84,
11,
362,
11,
1881,
12727,
35972,
28955,
1220,
7,
76,
13,
67,
893,
79,
4092,
8,
198,
220,
220,
220,
5391,
26287,
7,
69,
9892,
11,
16,
11,
1582,
5497,
298,
8,
198,
220,
220,
220,
1303,
28,
5391,
44,
5241,
7,
69,
9892,
11,
17,
11,
3198,
12727,
49,
28955,
796,
2,
198,
220,
886,
198,
220,
288,
20306,
87,
796,
2221,
198,
220,
220,
220,
277,
34350,
796,
5391,
28813,
7,
85,
11,
16,
11,
3198,
12727,
35972,
3419,
20679,
7,
76,
13,
34350,
2777,
4092,
8,
198,
220,
220,
220,
5391,
26287,
7,
16344,
87,
11,
362,
11,
1845,
5497,
298,
8,
198,
220,
220,
220,
1303,
28,
5391,
44,
5241,
7,
16344,
87,
11,
16,
11,
3198,
12727,
49,
28955,
796,
2,
198,
220,
886,
198,
220,
288,
463,
89,
796,
2221,
198,
220,
220,
220,
277,
67,
89,
796,
532,
27740,
28813,
7,
84,
11,
18,
11,
3198,
12727,
35972,
3419,
20679,
67,
89,
2777,
4092,
220,
198,
220,
220,
220,
5391,
26287,
7,
16344,
89,
11,
16,
11,
1582,
5497,
298,
8,
198,
220,
220,
220,
1303,
28,
5391,
44,
5241,
7,
16344,
89,
11,
17,
11,
3198,
12727,
49,
28955,
796,
2,
198,
220,
886,
198,
220,
288,
20306,
89,
796,
2221,
198,
220,
220,
220,
277,
67,
89,
796,
532,
27740,
28813,
7,
85,
11,
18,
11,
3198,
12727,
35972,
3419,
20679,
67,
89,
2777,
4092,
198,
220,
220,
220,
5391,
26287,
7,
16344,
89,
11,
17,
11,
1582,
5497,
298,
8,
198,
220,
220,
220,
1303,
28,
5391,
44,
5241,
7,
16344,
89,
11,
16,
11,
3198,
12727,
49,
28955,
796,
2,
198,
220,
886,
198,
220,
1196,
273,
796,
357,
532,
67,
20306,
89,
11,
288,
463,
89,
11,
277,
33747,
67,
20306,
87,
532,
288,
463,
88,
4008,
628,
198,
220,
30221,
796,
2221,
198,
220,
220,
220,
26653,
796,
3975,
7,
2124,
3784,
347,
1525,
51,
1635,
5391,
28813,
7,
51,
11,
87,
11,
1881,
12727,
35972,
3419,
828,
357,
16,
11,
17,
11,
18,
4008,
198,
220,
220,
220,
357,
15751,
58,
16,
60,
14,
76,
13,
34350,
2777,
4092,
11,
26653,
58,
17,
60,
14,
76,
13,
67,
893,
79,
4092,
11,
532,
15751,
58,
18,
60,
14,
67,
89,
2777,
4092,
8,
198,
220,
886,
628,
220,
1441,
3975,
445,
7234,
7,
28200,
19974,
7,
5570,
11,
30221,
4008,
4598,
2124,
198,
220,
220,
220,
2124,
58,
16,
4083,
9,
87,
58,
17,
60,
198,
220,
886,
198,
437,
198,
198,
39344,
410,
273,
198,
39344,
17168,
70,
11215,
47,
53,
11,
17168,
70,
11215,
53,
273,
198,
198,
17256,
7203,
3849,
984,
13,
20362,
4943,
198,
8818,
337,
5837,
53,
7,
334,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
410,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
7904,
15690,
90,
43879,
2414,
11,
18,
5512,
285,
7904,
17168,
70,
11215,
27354,
292,
26,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
89,
2777,
4092,
7904,
48436,
2414,
796,
362,
13,
20,
11,
277,
7904,
48436,
2414,
796,
767,
13,
1959,
68,
12,
20,
11,
347,
1525,
51,
7904,
48436,
2414,
796,
362,
13,
15,
68,
12,
19,
1635,
860,
13,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1771,
62,
5796,
5226,
62,
51,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
288,
463,
88,
796,
2221,
198,
220,
220,
220,
277,
9892,
796,
220,
5391,
28813,
7,
84,
11,
362,
11,
1881,
12727,
35972,
28955,
1220,
7,
76,
13,
67,
893,
79,
4092,
8,
198,
220,
220,
220,
6482,
796,
24846,
33622,
7,
84,
41339,
11,
24846,
26545,
7,
76,
41339,
13,
87,
11,
285,
41339,
13,
88,
532,
657,
13,
20,
828,
17,
13,
15,
11,
17,
13,
15,
8,
198,
220,
220,
220,
15788,
7,
69,
9892,
11,
6482,
20679,
7,
76,
13,
67,
893,
79,
4092,
8,
198,
220,
886,
198,
220,
288,
20306,
87,
796,
2221,
198,
220,
220,
220,
277,
34350,
796,
5391,
28813,
7,
85,
11,
16,
11,
3198,
12727,
35972,
3419,
20679,
7,
76,
13,
34350,
2777,
4092,
8,
198,
220,
220,
220,
6482,
796,
24846,
33622,
7,
85,
41339,
11,
24846,
26545,
7,
76,
41339,
13,
87,
532,
657,
13,
20,
11,
285,
41339,
13,
88,
828,
17,
13,
15,
11,
17,
13,
15,
8,
220,
198,
220,
220,
220,
15788,
7,
16344,
87,
11,
6482,
8,
198,
220,
886,
198,
220,
288,
463,
89,
796,
2221,
198,
220,
220,
220,
277,
67,
89,
796,
532,
27740,
28813,
7,
84,
11,
18,
11,
3198,
12727,
35972,
3419,
20679,
67,
89,
2777,
4092,
220,
198,
220,
220,
220,
6482,
796,
24846,
33622,
7,
84,
41339,
11,
285,
41339,
11,
17,
1539,
17,
2014,
198,
220,
220,
220,
15788,
7,
16344,
89,
11,
30846,
8,
198,
220,
886,
198,
220,
288,
20306,
89,
796,
2221,
198,
220,
220,
220,
277,
67,
89,
796,
532,
27740,
28813,
7,
85,
11,
18,
11,
3198,
12727,
35972,
3419,
20679,
67,
89,
2777,
4092,
198,
220,
220,
220,
6482,
796,
24846,
33622,
7,
85,
41339,
11,
285,
41339,
11,
17,
1539,
17,
2014,
198,
220,
220,
220,
15788,
7,
16344,
89,
11,
30846,
20679,
67,
89,
2777,
4092,
198,
220,
886,
198,
220,
1196,
273,
796,
357,
532,
67,
20306,
89,
11,
288,
463,
89,
11,
277,
33747,
67,
20306,
87,
532,
288,
463,
88,
4008,
628,
198,
220,
30221,
796,
2221,
198,
220,
220,
220,
309,
16,
796,
15788,
7,
51,
11,
41339,
33622,
7,
15,
13,
15,
11,
657,
13,
15,
11,
362,
13,
15,
11,
17,
13,
15,
1776,
220,
1394,
62,
12518,
62,
1662,
31462,
28,
0,
25356,
62,
5796,
5226,
62,
51,
8,
198,
220,
220,
220,
26653,
796,
3975,
7,
2124,
3784,
347,
1525,
51,
1635,
5391,
28813,
7,
51,
16,
11,
87,
11,
1881,
12727,
35972,
3419,
828,
357,
16,
11,
17,
11,
18,
4008,
198,
220,
220,
220,
357,
15751,
58,
16,
60,
14,
76,
13,
34350,
2777,
4092,
11,
26653,
58,
17,
60,
14,
76,
13,
67,
893,
79,
4092,
11,
532,
15751,
58,
18,
60,
14,
67,
89,
2777,
4092,
8,
198,
220,
886,
628,
220,
1441,
3975,
445,
7234,
7,
28200,
19974,
7,
5570,
11,
30221,
4008,
4598,
2124,
198,
220,
220,
220,
2124,
58,
16,
4083,
9,
87,
58,
17,
60,
198,
220,
886,
198,
437,
198,
39344,
337,
5837,
53,
198
] | 1.967338 | 1,439 |
using thesis, PGFPlotsX
setup_pgfplotsx()
ts = LinRange(thesis.example_trange..., 21)
tts = LinRange(thesis.example_trange..., 201)
## Digital neuron
num_bits = 4
thresholds_dig = LinRange(thesis.example_yrange..., 2^num_bits+1)
levels_dig = 0.5*(thresholds_dig[1:end-1]+thresholds_dig[2:end])
ys_dig = thesis.example_input.(ts)
ys_bits_dig = thesis.discretize.(ys_dig, Ref(thresholds_dig), Ref(digits.(eachindex(thresholds_dig).-1, base=2, pad=num_bits)))
ys_num_dig = thesis.discretize.(ys_dig, Ref(thresholds_dig), Ref(levels_dig))
ys_trans_dig = thesis.discretize.(ys_dig, Ref(levels_dig), Ref(string.(0:2^num_bits,base=2^num_bits)))
y_rec_dig(t) = ys_num_dig[searchsortedlast(ts, t)]
τ = minimum(diff(ts))
β = 2.0
δ = 0.3
## LIF neuron
sol_lif,spikes_lif=lif_pair_get_solution(thesis.example_trange, thesis.example_input;α=β,β=β,δ=δ)
y_lif=thesis.example_input_integral.(spikes_lif)
y_rec_lif = t->sol_lif(t,idxs=2)
y_filtered = t->sol_lif(t,idxs=3)
δ = 0.15
## LNP neuron
sol_lnp,spikes_lnp=lnp_pair_get_solution(thesis.example_trange, thesis.example_input ;β=β,δ=δ)
y_lnp=thesis.example_input_integral.(spikes_lnp)
y_rec_lnp = t->sol_lnp(t,idxs=1)
y_filtered = t->sol_lnp(t,idxs=2)
## Build the monstrosity
@pgf gp = TikzPicture(
GroupPlot(
{
group_style={group_size="3 by 4"},
major_tick_style={draw="none"},
},
# input for digital
{title="digital encoding", height="4cm",width="6cm", grid = "minor", ylabel=raw"input $s(t)$", xticklabel="\\empty", minor_xtick=ts, minor_ytick=levels_dig, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick},
Table(tts, thesis.example_input.(tts))
),
(Plot(
{no_markers, color="Set2-B", very_thick},
Coordinates([(t,0),(t,thesis.example_input(t))])
) for (i,t) ∈ enumerate(ts))...,
PlotInc(
{only_marks, color="Set2-B"},
Table(ts, ys_dig)
),
PlotInc(
{only_marks, mark="+", color="black"},
Table(ts, ys_num_dig)
),
[raw"\coordinate (bot11) at (axis cs:5,0);"],
# input for lif
{title="lIF encoding", height="4cm",width="6cm", grid = "minor", yminorgrids="false",xticklabel="\\empty", minor_xtick=spikes_lif, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick, fill="Set2-B", fill_opacity=0.5},
Table([thesis.example_trange[1];tts;thesis.example_trange[2]], [thesis.example_yrange[1];thesis.example_input.(tts);thesis.example_yrange[1]])
),
# (Plot(
# {no_markers, color="black", very_thick},
# Coordinates([(t,0),(t,thesis.example_input(t))])
# ) for (i,t) ∈ enumerate(ts))...,
[raw"\coordinate (bot12) at (axis cs:5,0);"],
# input for lnp
{title="LNP encoding", height="4cm",width="6cm", grid = "minor", yminorgrids="false",xticklabel="\\empty", minor_xtick=spikes_lnp, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick, fill="Set2-B", fill_opacity=0.5},
Table([thesis.example_trange[1];tts;thesis.example_trange[2]], [thesis.example_yrange[1];thesis.example_input.(tts);thesis.example_yrange[1]])
),
# (Plot(
# {no_markers, color="black", very_thick},
# Coordinates([(t,0),(t,thesis.example_input(t))])
# ) for (i,t) ∈ enumerate(ts))...,
[raw"\coordinate (bot13) at (axis cs:5,0);"],
# mechanism for digital
{height="4cm",width="6cm", xticklabel="\\empty", "group/empty plot"},
# mechanism for lif
{xtick_pos="bottom", yticklabel_pos="left", ytick_pos="right", tick_align="outside", color="black", minor_tick_length="2mm", height="4cm",width="6cm", grid = "minor", ylabel=raw"{$\int_{0}^t s(t)dt$}", xticklabel="\\empty", minor_xtick=spikes_lif, minor_ytick=y_lif, ymin=0, xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick, color="Set2-B"},
Table(tts, thesis.example_input_integral.(tts))
),
Plot(
{only_marks, mark="+", color="black"},
Table(spikes_lif, y_lif)
),
[raw"\coordinate (top22) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot22) at (axis cs:5,0);"],
# mechanism for lnp
{xtick_pos="bottom", yticklabel_pos="left", ytick_pos="right", tick_align="outside", minor_tick_length="2mm", height="4cm",width="6cm", grid = "minor", xticklabel="\\empty", minor_xtick=spikes_lnp, minor_ytick=y_lnp, ymin=0, xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick, color="Set2-B"},
Table(tts, thesis.example_input_integral.(tts))
),
Plot(
{only_marks, mark="+", color="black"},
Table(spikes_lnp, y_lnp)
),
[raw"\coordinate (top23) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot23) at (axis cs:5,0);"],
# message for digital
{height="2cm",width="6cm", grid = "minor", ylabel="message", xticklabel="\\empty", minor_xtick=ts, ytick="\\empty", ymin=0, ymax=1, xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
Table([],[])
),
["\\node[] at (axis cs:$t,0.5) {\\strut $y};" for (t,y) ∈ zip(0.5*(ts[1:end-1].+ts[2:end]), ys_trans_dig)],
["\\coordinate (label31) at (\$(axis cs:10,0)+(0,-4pt)\$);", raw"\coordinate (top31) at (axis cs:5,1);\coordinate (bot31) at (axis cs:5,0);"],
# message for lif
{height="2cm",width="6cm", grid = "minor", ylabel="spikes", xticklabel="\\empty", xtick="\\empty", ytick="\\empty", ymin=0, ymax=1, xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
(
Plot(
{no_markers, color="black", very_thick},
Coordinates([(t,0),(t,1)])
) for (i,t) ∈ enumerate(spikes_lif)
)...,
["\\coordinate (label32) at (\$(axis cs:10,0)+(0,-4pt)\$);", raw"\coordinate (top32) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot32) at (axis cs:5,0);"],
# message for lnp
{height="2cm",width="6cm", grid = "minor", xticklabel="\\empty", xtick="\\empty", ytick="\\empty", ymin=0, ymax=1, xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
(
Plot(
{no_markers, color="black", very_thick},
Coordinates([(t,0),(t,1)])
) for (i,t) ∈ enumerate(spikes_lnp)
)...,
["\\coordinate (label33) at (\$(axis cs:10,0)+(0,-4pt)\$);", raw"\coordinate (top33) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot33) at (axis cs:5,0);"],
# reconstruction for digital
{height="4cm",width="6cm", grid = "minor", xlabel=raw"time $t$", ylabel="reconstruction", minor_xtick=ts, minor_ytick=levels_dig, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick},
Table(tts, thesis.example_input.(tts))
),
Plot(
{no_marks, very_thick, color="black"},
Table(tts, y_rec_dig.(tts))
),
PlotInc(
{no_marks, color="Set2-B", very_thick},
Table(tts, (thesis.example_input_integral.(tts).-thesis.example_input_integral.(tts.-τ))/τ)
),
[raw"\coordinate (top41) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot42) at (axis cs:5,0);"],
# reconstruction for lif
{height="4cm",width="6cm", grid = "minor", yminorgrids="false",xlabel=raw"time $t$", minor_xtick=spikes_lif, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick},
Table(tts, thesis.example_input.(tts))
),
Plot(
{no_marks, very_thick, color="black"},
Table(tts, y_rec_lif.(tts))
),
PlotInc(
{no_marks, color="Set2-B", very_thick},
Table(tts, y_filtered.(tts))
),
[raw"\coordinate (top42) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot42) at (axis cs:5,0);"],
# reconstruction for lnp
{height="4cm",width="6cm", grid = "minor", yminorgrids="false",xlabel=raw"time $t$", minor_xtick=spikes_lnp, ymin=thesis.example_yrange[1], ymax=thesis.example_yrange[2], xmin=thesis.example_trange[1], xmax=thesis.example_trange[2]},
PlotInc(
{no_marks, very_thick},
Table(tts, thesis.example_input.(tts))
),
Plot(
{no_marks, very_thick, color="black"},
Table(tts, y_rec_lnp.(tts))
),
PlotInc(
{no_marks, color="Set2-B", very_thick},
Table(tts, y_filtered.(tts))
),
[raw"\coordinate (top43) at (axis cs:5,\pgfkeysvalueof{/pgfplots/ymax});", raw"\coordinate (bot43) at (axis cs:5,0);"],
),
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot11) -- node[draw, fill=white, rounded corners, align=center] {analog-to-digital\\conversion} (top31);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot31) -- (top41);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot12) -- (top22);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot22) -- (top32);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot32) -- (top42);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot13) -- (top23);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot23) -- (top33);",
raw"\draw[->, shorten >= 4pt, shorten <= 4pt] (bot33) -- (top43);",
"\\node[anchor=north east] at (label31) {($(sum(sum.(ys_bits_dig))) bits)};",
"\\node[anchor=north east] at (label32) {($(length(spikes_lif)) spikes)};",
"\\node[anchor=north east] at (label33) {($(length(spikes_lnp)) spikes)};",
)
#pgfsave("fig/encoding_schemes.pdf",gp)
| [
3500,
21554,
11,
350,
21713,
3646,
1747,
55,
198,
40406,
62,
6024,
69,
489,
1747,
87,
3419,
628,
198,
912,
796,
5164,
17257,
7,
83,
8497,
13,
20688,
62,
2213,
858,
986,
11,
2310,
8,
198,
83,
912,
796,
5164,
17257,
7,
83,
8497,
13,
20688,
62,
2213,
858,
986,
11,
580,
8,
198,
198,
2235,
10231,
43164,
198,
22510,
62,
9895,
796,
604,
198,
400,
10126,
82,
62,
12894,
796,
5164,
17257,
7,
83,
8497,
13,
20688,
62,
2417,
858,
986,
11,
362,
61,
22510,
62,
9895,
10,
16,
8,
198,
46170,
62,
12894,
796,
657,
13,
20,
9,
7,
400,
10126,
82,
62,
12894,
58,
16,
25,
437,
12,
16,
48688,
400,
10126,
82,
62,
12894,
58,
17,
25,
437,
12962,
198,
893,
62,
12894,
796,
21554,
13,
20688,
62,
15414,
12195,
912,
8,
198,
893,
62,
9895,
62,
12894,
796,
21554,
13,
15410,
1186,
1096,
12195,
893,
62,
12894,
11,
6524,
7,
400,
10126,
82,
62,
12894,
828,
6524,
7,
12894,
896,
12195,
27379,
9630,
7,
400,
10126,
82,
62,
12894,
737,
12,
16,
11,
2779,
28,
17,
11,
14841,
28,
22510,
62,
9895,
22305,
198,
893,
62,
22510,
62,
12894,
796,
21554,
13,
15410,
1186,
1096,
12195,
893,
62,
12894,
11,
6524,
7,
400,
10126,
82,
62,
12894,
828,
6524,
7,
46170,
62,
12894,
4008,
198,
893,
62,
7645,
62,
12894,
796,
21554,
13,
15410,
1186,
1096,
12195,
893,
62,
12894,
11,
6524,
7,
46170,
62,
12894,
828,
6524,
7,
8841,
12195,
15,
25,
17,
61,
22510,
62,
9895,
11,
8692,
28,
17,
61,
22510,
62,
9895,
22305,
198,
88,
62,
8344,
62,
12894,
7,
83,
8,
796,
331,
82,
62,
22510,
62,
12894,
58,
12947,
82,
9741,
12957,
7,
912,
11,
256,
15437,
198,
32830,
796,
5288,
7,
26069,
7,
912,
4008,
628,
198,
26638,
796,
362,
13,
15,
198,
138,
112,
796,
657,
13,
18,
198,
2235,
406,
5064,
43164,
198,
34453,
62,
36195,
11,
2777,
7938,
62,
36195,
28,
36195,
62,
24874,
62,
1136,
62,
82,
2122,
7,
83,
8497,
13,
20688,
62,
2213,
858,
11,
21554,
13,
20688,
62,
15414,
26,
17394,
28,
26638,
11,
26638,
28,
26638,
11,
138,
112,
28,
138,
112,
8,
198,
88,
62,
36195,
28,
83,
8497,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
2777,
7938,
62,
36195,
8,
198,
88,
62,
8344,
62,
36195,
796,
256,
3784,
34453,
62,
36195,
7,
83,
11,
312,
34223,
28,
17,
8,
198,
88,
62,
10379,
4400,
796,
256,
3784,
34453,
62,
36195,
7,
83,
11,
312,
34223,
28,
18,
8,
198,
198,
138,
112,
796,
657,
13,
1314,
198,
2235,
406,
22182,
43164,
198,
34453,
62,
18755,
79,
11,
2777,
7938,
62,
18755,
79,
28,
18755,
79,
62,
24874,
62,
1136,
62,
82,
2122,
7,
83,
8497,
13,
20688,
62,
2213,
858,
11,
21554,
13,
20688,
62,
15414,
2162,
26638,
28,
26638,
11,
138,
112,
28,
138,
112,
8,
198,
88,
62,
18755,
79,
28,
83,
8497,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
2777,
7938,
62,
18755,
79,
8,
198,
88,
62,
8344,
62,
18755,
79,
796,
256,
3784,
34453,
62,
18755,
79,
7,
83,
11,
312,
34223,
28,
16,
8,
198,
88,
62,
10379,
4400,
796,
256,
3784,
34453,
62,
18755,
79,
7,
83,
11,
312,
34223,
28,
17,
8,
628,
198,
2235,
10934,
262,
937,
48288,
414,
198,
198,
31,
6024,
69,
27809,
796,
46338,
89,
28070,
7,
198,
220,
220,
220,
4912,
43328,
7,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
1448,
62,
7635,
34758,
8094,
62,
7857,
2625,
18,
416,
604,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
1688,
62,
42298,
62,
7635,
34758,
19334,
2625,
23108,
25719,
220,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
1303,
5128,
329,
4875,
198,
220,
220,
220,
1391,
7839,
2625,
34725,
21004,
1600,
6001,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
18242,
28,
1831,
1,
15414,
720,
82,
7,
83,
8,
3,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
912,
11,
4159,
62,
20760,
624,
28,
46170,
62,
12894,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
357,
43328,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
4102,
364,
11,
3124,
2625,
7248,
17,
12,
33,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
22819,
17540,
26933,
7,
83,
11,
15,
828,
7,
83,
11,
83,
8497,
13,
20688,
62,
15414,
7,
83,
4008,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
329,
357,
72,
11,
83,
8,
18872,
230,
27056,
378,
7,
912,
4008,
986,
11,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
8807,
62,
14306,
11,
3124,
2625,
7248,
17,
12,
33,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
912,
11,
331,
82,
62,
12894,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
8807,
62,
14306,
11,
1317,
2625,
10,
1600,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
912,
11,
331,
82,
62,
22510,
62,
12894,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
13645,
1157,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
5128,
329,
3868,
198,
220,
220,
220,
1391,
7839,
2625,
75,
5064,
21004,
1600,
6001,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
1084,
273,
2164,
2340,
2625,
9562,
1600,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
36195,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
6070,
2625,
7248,
17,
12,
33,
1600,
6070,
62,
404,
4355,
28,
15,
13,
20,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
26933,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
11208,
83,
912,
26,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
4357,
685,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
11208,
83,
8497,
13,
20688,
62,
15414,
12195,
83,
912,
1776,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
11907,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
1303,
357,
43328,
7,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1391,
3919,
62,
4102,
364,
11,
3124,
2625,
13424,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
22819,
17540,
26933,
7,
83,
11,
15,
828,
7,
83,
11,
83,
8497,
13,
20688,
62,
15414,
7,
83,
4008,
12962,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1267,
329,
357,
72,
11,
83,
8,
18872,
230,
27056,
378,
7,
912,
4008,
986,
11,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
13645,
1065,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
5128,
329,
300,
37659,
198,
220,
220,
220,
1391,
7839,
2625,
43,
22182,
21004,
1600,
6001,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
1084,
273,
2164,
2340,
2625,
9562,
1600,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
18755,
79,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
6070,
2625,
7248,
17,
12,
33,
1600,
6070,
62,
404,
4355,
28,
15,
13,
20,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
26933,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
11208,
83,
912,
26,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
4357,
685,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
11208,
83,
8497,
13,
20688,
62,
15414,
12195,
83,
912,
1776,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
11907,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
1303,
357,
43328,
7,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1391,
3919,
62,
4102,
364,
11,
3124,
2625,
13424,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
22819,
17540,
26933,
7,
83,
11,
15,
828,
7,
83,
11,
83,
8497,
13,
20688,
62,
15414,
7,
83,
4008,
12962,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1267,
329,
357,
72,
11,
83,
8,
18872,
230,
27056,
378,
7,
912,
4008,
986,
11,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
13645,
1485,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
9030,
329,
4875,
198,
220,
220,
220,
1391,
17015,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
366,
8094,
14,
28920,
7110,
25719,
198,
220,
220,
220,
1303,
9030,
329,
3868,
198,
220,
220,
220,
1391,
742,
624,
62,
1930,
2625,
22487,
1600,
331,
42298,
18242,
62,
1930,
2625,
9464,
1600,
331,
42298,
62,
1930,
2625,
3506,
1600,
4378,
62,
31494,
2625,
43435,
1600,
3124,
2625,
13424,
1600,
4159,
62,
42298,
62,
13664,
2625,
17,
3020,
1600,
6001,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
18242,
28,
1831,
1,
90,
3,
59,
600,
23330,
15,
92,
61,
83,
264,
7,
83,
8,
28664,
3,
92,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
36195,
11,
4159,
62,
20760,
624,
28,
88,
62,
36195,
11,
331,
1084,
28,
15,
11,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
3124,
2625,
7248,
17,
12,
33,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
8807,
62,
14306,
11,
1317,
2625,
10,
1600,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
2777,
7938,
62,
36195,
11,
331,
62,
36195,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
4852,
1828,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
1828,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
9030,
329,
300,
37659,
198,
220,
220,
220,
1391,
742,
624,
62,
1930,
2625,
22487,
1600,
331,
42298,
18242,
62,
1930,
2625,
9464,
1600,
331,
42298,
62,
1930,
2625,
3506,
1600,
4378,
62,
31494,
2625,
43435,
1600,
4159,
62,
42298,
62,
13664,
2625,
17,
3020,
1600,
6001,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
18755,
79,
11,
4159,
62,
20760,
624,
28,
88,
62,
18755,
79,
11,
331,
1084,
28,
15,
11,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
3124,
2625,
7248,
17,
12,
33,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
8807,
62,
14306,
11,
1317,
2625,
10,
1600,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
2777,
7938,
62,
18755,
79,
11,
331,
62,
18755,
79,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
4852,
1954,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
1954,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
3275,
329,
4875,
198,
220,
220,
220,
1391,
17015,
2625,
17,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
18242,
2625,
20500,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
4159,
62,
742,
624,
28,
912,
11,
331,
42298,
2625,
6852,
28920,
1600,
331,
1084,
28,
15,
11,
331,
9806,
28,
16,
11,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
26933,
38430,
12962,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
14631,
6852,
17440,
21737,
379,
357,
22704,
50115,
25,
3,
83,
11,
15,
13,
20,
8,
1391,
6852,
2536,
315,
720,
88,
19629,
1,
329,
357,
83,
11,
88,
8,
18872,
230,
19974,
7,
15,
13,
20,
9,
7,
912,
58,
16,
25,
437,
12,
16,
4083,
10,
912,
58,
17,
25,
437,
46570,
331,
82,
62,
7645,
62,
12894,
8,
4357,
198,
220,
220,
220,
14631,
6852,
37652,
4559,
357,
18242,
3132,
8,
379,
357,
59,
3,
7,
22704,
50115,
25,
940,
11,
15,
8,
33747,
15,
12095,
19,
457,
19415,
3,
1776,
1600,
8246,
1,
59,
37652,
4559,
357,
4852,
3132,
8,
379,
357,
22704,
50115,
25,
20,
11,
16,
1776,
59,
37652,
4559,
357,
13645,
3132,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
3275,
329,
3868,
198,
220,
220,
220,
1391,
17015,
2625,
17,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
18242,
2625,
2777,
7938,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
220,
742,
624,
2625,
6852,
28920,
1600,
331,
42298,
2625,
6852,
28920,
1600,
331,
1084,
28,
15,
11,
331,
9806,
28,
16,
11,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
357,
198,
220,
220,
220,
220,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
4102,
364,
11,
3124,
2625,
13424,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22819,
17540,
26933,
7,
83,
11,
15,
828,
7,
83,
11,
16,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
329,
357,
72,
11,
83,
8,
18872,
230,
27056,
378,
7,
2777,
7938,
62,
36195,
8,
198,
220,
220,
220,
1267,
986,
11,
198,
220,
220,
220,
14631,
6852,
37652,
4559,
357,
18242,
2624,
8,
379,
357,
59,
3,
7,
22704,
50115,
25,
940,
11,
15,
8,
33747,
15,
12095,
19,
457,
19415,
3,
1776,
1600,
8246,
1,
59,
37652,
4559,
357,
4852,
2624,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
2624,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
3275,
329,
300,
37659,
198,
220,
220,
220,
1391,
17015,
2625,
17,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
220,
742,
624,
18242,
2625,
6852,
28920,
1600,
220,
742,
624,
2625,
6852,
28920,
1600,
331,
42298,
2625,
6852,
28920,
1600,
331,
1084,
28,
15,
11,
331,
9806,
28,
16,
11,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
357,
198,
220,
220,
220,
220,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
4102,
364,
11,
3124,
2625,
13424,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22819,
17540,
26933,
7,
83,
11,
15,
828,
7,
83,
11,
16,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
329,
357,
72,
11,
83,
8,
18872,
230,
27056,
378,
7,
2777,
7938,
62,
18755,
79,
8,
198,
220,
220,
220,
1267,
986,
11,
198,
220,
220,
220,
14631,
6852,
37652,
4559,
357,
18242,
2091,
8,
379,
357,
59,
3,
7,
22704,
50115,
25,
940,
11,
15,
8,
33747,
15,
12095,
19,
457,
19415,
3,
1776,
1600,
8246,
1,
59,
37652,
4559,
357,
4852,
2091,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
2091,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
25056,
329,
4875,
198,
220,
220,
220,
1391,
17015,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
2124,
18242,
28,
1831,
1,
2435,
720,
83,
3,
1600,
331,
18242,
2625,
260,
9979,
2762,
1600,
4159,
62,
742,
624,
28,
912,
11,
4159,
62,
20760,
624,
28,
46170,
62,
12894,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
220,
220,
220,
220,
198,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
331,
62,
8344,
62,
12894,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
3124,
2625,
7248,
17,
12,
33,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
357,
83,
8497,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
83,
912,
737,
12,
83,
8497,
13,
20688,
62,
15414,
62,
18908,
1373,
12195,
83,
912,
7874,
32830,
4008,
14,
32830,
8,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
4852,
3901,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
3682,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
25056,
329,
3868,
198,
220,
220,
220,
1391,
17015,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
1084,
273,
2164,
2340,
2625,
9562,
1600,
87,
18242,
28,
1831,
1,
2435,
720,
83,
3,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
36195,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
220,
220,
198,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
331,
62,
8344,
62,
36195,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
220,
220,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
3124,
2625,
7248,
17,
12,
33,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
331,
62,
10379,
4400,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
4852,
3682,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
3682,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
1303,
25056,
329,
300,
37659,
198,
220,
220,
220,
1391,
17015,
2625,
19,
11215,
1600,
10394,
2625,
21,
11215,
1600,
10706,
796,
366,
1084,
273,
1600,
331,
1084,
273,
2164,
2340,
2625,
9562,
1600,
87,
18242,
28,
1831,
1,
2435,
720,
83,
3,
1600,
4159,
62,
742,
624,
28,
2777,
7938,
62,
18755,
79,
11,
331,
1084,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
16,
4357,
331,
9806,
28,
83,
8497,
13,
20688,
62,
2417,
858,
58,
17,
4357,
2124,
1084,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
16,
4357,
2124,
9806,
28,
83,
8497,
13,
20688,
62,
2213,
858,
58,
17,
60,
5512,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
21554,
13,
20688,
62,
15414,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
220,
220,
220,
220,
198,
220,
220,
220,
28114,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
845,
62,
400,
624,
11,
3124,
2625,
13424,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
331,
62,
8344,
62,
18755,
79,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
28114,
25517,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
3919,
62,
14306,
11,
3124,
2625,
7248,
17,
12,
33,
1600,
845,
62,
400,
624,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
8655,
7,
83,
912,
11,
331,
62,
10379,
4400,
12195,
83,
912,
4008,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
1831,
1,
59,
37652,
4559,
357,
4852,
3559,
8,
379,
357,
22704,
50115,
25,
20,
11,
59,
6024,
69,
13083,
8367,
1659,
90,
14,
6024,
69,
489,
1747,
14,
4948,
897,
22133,
1600,
8246,
1,
59,
37652,
4559,
357,
13645,
3559,
8,
379,
357,
22704,
50115,
25,
20,
11,
15,
1776,
33116,
198,
220,
220,
220,
10612,
220,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
1157,
8,
1377,
10139,
58,
19334,
11,
6070,
28,
11186,
11,
19273,
14371,
11,
10548,
28,
16159,
60,
1391,
272,
11794,
12,
1462,
12,
34725,
6852,
1102,
9641,
92,
357,
4852,
3132,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
3132,
8,
1377,
357,
4852,
3901,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
1065,
8,
1377,
357,
4852,
1828,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
1828,
8,
1377,
357,
4852,
2624,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
2624,
8,
1377,
357,
4852,
3682,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
1485,
8,
1377,
357,
4852,
1954,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
1954,
8,
1377,
357,
4852,
2091,
1776,
1600,
198,
220,
220,
220,
8246,
1,
59,
19334,
58,
3784,
11,
45381,
18189,
604,
457,
11,
45381,
19841,
604,
457,
60,
357,
13645,
2091,
8,
1377,
357,
4852,
3559,
1776,
1600,
198,
220,
220,
220,
366,
6852,
17440,
58,
3702,
273,
28,
43588,
7627,
60,
379,
357,
18242,
3132,
8,
1391,
16763,
7,
16345,
7,
16345,
12195,
893,
62,
9895,
62,
12894,
22305,
10340,
8,
19629,
1600,
198,
220,
220,
220,
366,
6852,
17440,
58,
3702,
273,
28,
43588,
7627,
60,
379,
357,
18242,
2624,
8,
1391,
16763,
7,
13664,
7,
2777,
7938,
62,
36195,
4008,
27198,
8,
19629,
1600,
198,
220,
220,
220,
366,
6852,
17440,
58,
3702,
273,
28,
43588,
7627,
60,
379,
357,
18242,
2091,
8,
1391,
16763,
7,
13664,
7,
2777,
7938,
62,
18755,
79,
4008,
27198,
8,
19629,
1600,
198,
8,
198,
2,
6024,
9501,
1015,
7203,
5647,
14,
12685,
7656,
62,
1416,
4411,
274,
13,
12315,
1600,
31197,
8,
198
] | 2.154785 | 4,587 |
using DecomposedMDPSolver
using Flux
using Test
Na = 5
Np = 10
solutions = [(x) -> rand(Na) for i=1:Np ]
## Weights network
base = Chain(Dense(4, 32, relu), Dense(32, Na))
attn = Chain(Dense(4, 32, relu), Dense(32, Np+1), softmax)
a2t_model = A2TNetwork(base, attn, solutions)
@test size(a2t_model(rand(4))) == (Na, 1)
## Constant Weights
base = Chain(Dense(4, 32, relu), Dense(32, Na))
attn = Chain(ConstantLayer(Np+1), softmax)
a2t_model = A2TNetwork(base, attn, solutions)
@test size(a2t_model(rand(4))) == (Na, 1)
## Version that was failing -- local approx policy eval
sols = rand(100)
function val(s)
sols[1] = rand()
return sols[1]
end
base = Chain(Dense(2, 32, relu), Dense(32, 1, σ))
attn = Chain(Dense(2, 32, relu), Dense(32, 2, exp))
solutions = [val]
model = A2TNetwork(base, attn, solutions)
S, G = rand(2, 100), rand(1,100)
data = Flux.Data.DataLoader(S, G, batchsize=32, shuffle = true)
opt = ADAM()
Flux.train!((x, y) -> Flux.mse(model(x), y), Flux.params(model), data, opt)
| [
3500,
4280,
3361,
1335,
12740,
3705,
14375,
198,
3500,
1610,
2821,
198,
3500,
6208,
198,
198,
26705,
796,
642,
198,
45,
79,
796,
838,
198,
82,
14191,
796,
47527,
87,
8,
4613,
43720,
7,
26705,
8,
329,
1312,
28,
16,
25,
45,
79,
2361,
198,
198,
2235,
775,
2337,
3127,
198,
8692,
796,
21853,
7,
35,
1072,
7,
19,
11,
3933,
11,
823,
84,
828,
360,
1072,
7,
2624,
11,
11013,
4008,
198,
1078,
77,
796,
21853,
7,
35,
1072,
7,
19,
11,
3933,
11,
823,
84,
828,
360,
1072,
7,
2624,
11,
399,
79,
10,
16,
828,
2705,
9806,
8,
198,
64,
17,
83,
62,
19849,
796,
317,
17,
51,
26245,
7,
8692,
11,
708,
77,
11,
8136,
8,
198,
31,
9288,
2546,
7,
64,
17,
83,
62,
19849,
7,
25192,
7,
19,
22305,
6624,
357,
26705,
11,
352,
8,
198,
198,
2235,
20217,
775,
2337,
198,
8692,
796,
21853,
7,
35,
1072,
7,
19,
11,
3933,
11,
823,
84,
828,
360,
1072,
7,
2624,
11,
11013,
4008,
198,
1078,
77,
796,
21853,
7,
3103,
18797,
49925,
7,
45,
79,
10,
16,
828,
2705,
9806,
8,
198,
64,
17,
83,
62,
19849,
796,
317,
17,
51,
26245,
7,
8692,
11,
708,
77,
11,
8136,
8,
198,
31,
9288,
2546,
7,
64,
17,
83,
62,
19849,
7,
25192,
7,
19,
22305,
6624,
357,
26705,
11,
352,
8,
198,
198,
2235,
10628,
326,
373,
9894,
1377,
1957,
5561,
2450,
5418,
198,
198,
82,
10220,
796,
43720,
7,
3064,
8,
198,
8818,
1188,
7,
82,
8,
198,
220,
220,
220,
1540,
82,
58,
16,
60,
796,
43720,
3419,
198,
220,
220,
220,
1441,
1540,
82,
58,
16,
60,
198,
437,
198,
8692,
796,
21853,
7,
35,
1072,
7,
17,
11,
3933,
11,
823,
84,
828,
360,
1072,
7,
2624,
11,
352,
11,
18074,
225,
4008,
198,
1078,
77,
796,
21853,
7,
35,
1072,
7,
17,
11,
3933,
11,
823,
84,
828,
360,
1072,
7,
2624,
11,
362,
11,
1033,
4008,
198,
82,
14191,
796,
685,
2100,
60,
198,
198,
19849,
796,
317,
17,
51,
26245,
7,
8692,
11,
708,
77,
11,
8136,
8,
198,
198,
50,
11,
402,
796,
43720,
7,
17,
11,
1802,
828,
43720,
7,
16,
11,
3064,
8,
198,
7890,
796,
1610,
2821,
13,
6601,
13,
6601,
17401,
7,
50,
11,
402,
11,
15458,
7857,
28,
2624,
11,
36273,
796,
2081,
8,
198,
8738,
796,
5984,
2390,
3419,
198,
37,
22564,
13,
27432,
0,
19510,
87,
11,
331,
8,
4613,
1610,
2821,
13,
76,
325,
7,
19849,
7,
87,
828,
331,
828,
1610,
2821,
13,
37266,
7,
19849,
828,
1366,
11,
2172,
8,
628,
628
] | 2.31422 | 436 |
# 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 = "Perl"
version = v"5.30.3"
# Collection of sources required to build perl
# with a few extra modules for polymake
sources = [
ArchiveSource("https://www.cpan.org/src/5.0/perl-$version.tar.gz", "32e04c8bb7b1aecb2742a7f7ac0eabac100f38247352a73ad7fa104e39e7406f"),
ArchiveSource("https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-4.02.tar.gz", "444a88755a89ffa2a5424ab4ed1d11dca61808ebef57e81243424619a9e8627c"),
ArchiveSource("https://cpan.metacpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-0.625.tar.gz", "e080522c6ce050397af482665f3965a93c5d16f5e81d93f6e2fe98084ed15fbe"),
ArchiveSource("https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-2.38.tar.gz", "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"),
ArchiveSource("https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.36.tar.gz", "9a08f7a4013c9b865541c10dbba1210779eb9128b961250b746d26702bab6925"),
ArchiveSource("https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-1.02.tar.gz", "4506c387043aa6a77b455f00f57409f3720aa7e553495ab2535263b4ed1ea12a"),
ArchiveSource("https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-1.12.tar.gz", "47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef"),
ArchiveSource("https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz", "66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0"),
ArchiveSource("https://cpan.metacpan.org/authors/id/M/MA/MANWAR/SVG-2.84.tar.gz", "ec3d6ddde7a46fa507eaa616b94d217296fdc0d8fbf88741367a9821206f28af"),
DirectorySource("./bundled")
]
# Bash recipe for building
script = raw"""
perldir=`ls -1d perl-*`
cd $WORKSPACE/srcdir/
for dir in *;
do
[[ "$dir" == "perl-"* ]] && continue;
[[ "$dir" == "patches" ]] && continue;
# build extra perl modules in-tree
# the names of the extra modules also need to appear in the
# config.sh for all cross-compilation architectures
sed -i '1s/^/$ENV{PERL_CORE}=0;/' $dir/Makefile.PL
mv $dir $perldir/cpan/${dir%-*};
done
cd $perldir/
# allow combining relocation with shared library
# add patch to find binary location from shared library
atomic_patch -p1 ../patches/allow-relocate.patch
# replace some library checks that wont work in the cross-compile environment
# with the required values
atomic_patch -p1 ../patches/cross-nolibchecks.patch
if [[ $target != x86_64-linux* ]] && [[ $target != i686-linux* ]]; then
# cross build with supplied config.sh
# build native miniperl
src=`pwd`
mkdir host
pushd host
../Configure -des -Dusedevel -Duserelocatableinc -Dmksymlinks -Dosname=linux -Dcc=$CC_FOR_BUILD -Dld=$LD_FOR_BUILD -Dar=$AR_FOR_BUILD -Dnm=$NM_FOR_BUILD -Dlibs=-lm
make -j${nproc} miniperl
make -j${nproc} generate_uudmap
cp -p miniperl $prefix/bin/miniperl-for-build
popd
# copy and use prepared configure information
cp ../patches/config-$target.sh config.sh
./Configure -K -S
else
# native
# config overrides
if [[ $target = *-gnu ]]; then
# disable xlocale.h usage (which was removed in recent glibc)
cp ../patches/config.arch.gnu config.arch
fi
./Configure -des -Dcc="$CC" -Dprefix=$prefix -Duserelocatableinc -Dprocselfexe -Duseshrplib -Dsysroot=/opt/$target/$target/sys-root -Dccflags="-I${prefix}/include" -Dldflags="-L${libdir} -Wl,-rpath,${libdir}" -Dlddlflags="-shared -L${libdir} -Wl,-rpath,${libdir}"
fi
make -j${nproc} depend
make -j${nproc}
make install
# put a libperl directly in lib
cd $libdir
ln -s perl5/*/*/CORE/libperl.${dlext} libperl.${dlext}
# resolve case-ambiguity:
cd $libdir/perl5/5.*.*
mv Pod/* pod
rmdir Pod
# remove sysroot and target flags from stored compiler flags:
sed -i -e "s#--sysroot[ =]\S\+##g" \
-e "s#-target[ =]\S\+##g" \
${prefix}/*/perl5/*/*/Config_heavy.pl
"""
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = [
Platform("x86_64", "macos")
Platform("x86_64", "linux"; libc="glibc")
Platform("i686", "linux"; libc="glibc")
Platform("x86_64", "linux"; libc="musl")
Platform("i686", "linux"; libc="musl")
]
# The products that we will ensure are always built
products = [
ExecutableProduct("perl", :perl)
LibraryProduct("libperl", :libperl)
]
# Dependencies that must be installed before this package can be built
dependencies = [
Dependency("Readline_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,
11,
350,
10025,
198,
198,
3672,
796,
366,
5990,
75,
1,
198,
9641,
796,
410,
1,
20,
13,
1270,
13,
18,
1,
198,
198,
2,
12251,
286,
4237,
2672,
284,
1382,
48746,
198,
2,
351,
257,
1178,
3131,
13103,
329,
7514,
15883,
198,
82,
2203,
796,
685,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
2503,
13,
66,
6839,
13,
2398,
14,
10677,
14,
20,
13,
15,
14,
525,
75,
22799,
9641,
13,
18870,
13,
34586,
1600,
366,
2624,
68,
3023,
66,
23,
11848,
22,
65,
16,
64,
721,
65,
1983,
3682,
64,
22,
69,
22,
330,
15,
68,
397,
330,
3064,
69,
2548,
23753,
33394,
64,
4790,
324,
22,
13331,
13464,
68,
2670,
68,
22,
29703,
69,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
40,
14,
1797,
14,
18422,
3528,
10206,
40,
14,
40386,
12,
19,
13,
2999,
13,
18870,
13,
34586,
1600,
366,
30272,
64,
3459,
38172,
64,
4531,
487,
64,
17,
64,
4051,
1731,
397,
19,
276,
16,
67,
1157,
67,
6888,
47448,
2919,
1765,
891,
3553,
68,
23,
17464,
2682,
26912,
1129,
64,
24,
68,
4521,
1983,
66,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
41,
14,
45006,
14,
41,
2640,
8905,
39,
54,
14,
55,
5805,
12,
34379,
12,
15,
13,
26704,
13,
18870,
13,
34586,
1600,
366,
68,
15,
28256,
1828,
66,
21,
344,
28669,
33372,
1878,
2780,
2075,
2996,
69,
2670,
2996,
64,
6052,
66,
20,
67,
1433,
69,
20,
68,
6659,
67,
6052,
69,
21,
68,
17,
5036,
40022,
5705,
276,
1314,
69,
1350,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
41,
14,
20120,
14,
41,
2257,
3913,
36,
14,
40596,
5569,
9218,
12,
17,
13,
2548,
13,
18870,
13,
34586,
1600,
366,
20,
64,
21,
29334,
3695,
17896,
39254,
330,
2091,
2791,
1314,
6659,
69,
11848,
42534,
487,
1731,
1765,
344,
1558,
67,
3559,
18213,
4310,
16344,
1828,
68,
13348,
64,
23,
3980,
64,
2857,
24369,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
39,
14,
7801,
14,
39,
4792,
11211,
40,
14,
40596,
12,
5569,
13949,
12,
38,
28803,
12,
16,
13,
2623,
13,
18870,
13,
34586,
1600,
366,
24,
64,
2919,
69,
22,
64,
21844,
18,
66,
24,
65,
4521,
2816,
3901,
66,
940,
9945,
7012,
1065,
940,
40393,
1765,
24,
12762,
65,
4846,
1065,
1120,
65,
22,
3510,
67,
2075,
36680,
65,
397,
3388,
1495,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
38,
14,
10761,
14,
10761,
8643,
44,
14,
55,
5805,
12,
4090,
55,
12,
16,
13,
2999,
13,
18870,
13,
34586,
1600,
366,
17885,
21,
66,
2548,
2154,
3559,
7252,
21,
64,
3324,
65,
30505,
69,
405,
69,
3553,
29416,
69,
2718,
1238,
7252,
22,
68,
2816,
2682,
3865,
397,
1495,
2327,
29558,
65,
19,
276,
16,
18213,
1065,
64,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
47,
14,
11401,
14,
18973,
3528,
49,
1268,
14,
55,
5805,
12,
36690,
10223,
15514,
12,
16,
13,
1065,
13,
18870,
13,
34586,
1600,
366,
2857,
68,
2079,
3365,
3270,
69,
23,
1860,
3023,
1485,
7252,
18,
69,
1828,
67,
14877,
66,
19,
64,
5237,
6814,
43193,
68,
23,
4051,
25674,
7252,
2713,
4521,
3609,
47576,
3609,
17,
65,
3609,
20,
891,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
38,
14,
10761,
14,
10761,
8643,
44,
14,
55,
5805,
12,
4090,
55,
12,
14881,
12,
16,
13,
2931,
13,
18870,
13,
34586,
1600,
366,
2791,
21101,
28567,
7012,
19,
891,
2857,
66,
940,
6888,
22,
2548,
17457,
2327,
2079,
5607,
1954,
29173,
21734,
330,
23,
4310,
397,
1350,
65,
48645,
2078,
3901,
69,
20,
68,
23,
64,
17,
324,
15,
12340,
198,
220,
220,
220,
20816,
7416,
7203,
5450,
1378,
66,
6839,
13,
4164,
330,
6839,
13,
2398,
14,
41617,
14,
312,
14,
44,
14,
5673,
14,
10725,
16279,
14,
50,
43490,
12,
17,
13,
5705,
13,
18870,
13,
34586,
1600,
366,
721,
18,
67,
21,
1860,
2934,
22,
64,
3510,
13331,
35378,
68,
7252,
44214,
65,
5824,
67,
24591,
27137,
16344,
66,
15,
67,
23,
69,
19881,
3459,
4524,
1485,
3134,
64,
4089,
21777,
3312,
69,
2078,
1878,
12340,
198,
220,
220,
220,
27387,
7416,
7,
1911,
14,
65,
917,
992,
4943,
198,
60,
198,
198,
2,
15743,
8364,
329,
2615,
198,
12048,
796,
8246,
37811,
198,
525,
335,
343,
28,
63,
7278,
532,
16,
67,
48746,
12,
9,
63,
198,
10210,
720,
33249,
4303,
11598,
14,
10677,
15908,
14,
198,
1640,
26672,
287,
1635,
26,
198,
4598,
198,
220,
220,
16410,
17971,
15908,
1,
6624,
366,
525,
75,
21215,
9,
2361,
60,
11405,
2555,
26,
198,
220,
220,
16410,
17971,
15908,
1,
6624,
366,
8071,
2052,
1,
2361,
60,
11405,
2555,
26,
198,
220,
220,
1303,
1382,
3131,
48746,
13103,
287,
12,
21048,
198,
220,
220,
1303,
262,
3891,
286,
262,
3131,
13103,
635,
761,
284,
1656,
287,
262,
198,
220,
220,
1303,
4566,
13,
1477,
329,
477,
3272,
12,
5589,
10520,
45619,
198,
220,
220,
10081,
532,
72,
705,
16,
82,
14,
61,
32624,
1677,
53,
90,
18973,
43,
62,
34,
6965,
92,
28,
15,
26,
14,
6,
720,
15908,
14,
12050,
7753,
13,
6489,
198,
220,
220,
285,
85,
720,
15908,
720,
525,
335,
343,
14,
66,
6839,
32624,
90,
15908,
33963,
9,
19629,
198,
28060,
198,
198,
10210,
720,
525,
335,
343,
14,
198,
198,
2,
1249,
19771,
35703,
351,
4888,
5888,
198,
2,
751,
8529,
284,
1064,
13934,
4067,
422,
4888,
5888,
198,
47116,
62,
17147,
532,
79,
16,
11485,
14,
8071,
2052,
14,
12154,
12,
2411,
13369,
13,
17147,
198,
198,
2,
6330,
617,
5888,
8794,
326,
28329,
670,
287,
262,
3272,
12,
5589,
576,
2858,
198,
2,
351,
262,
2672,
3815,
198,
47116,
62,
17147,
532,
79,
16,
11485,
14,
8071,
2052,
14,
19692,
12,
77,
349,
571,
42116,
13,
17147,
198,
198,
361,
16410,
720,
16793,
14512,
2124,
4521,
62,
2414,
12,
23289,
9,
2361,
60,
11405,
16410,
720,
16793,
14512,
1312,
33808,
12,
23289,
9,
2361,
11208,
788,
198,
220,
220,
1303,
3272,
1382,
351,
14275,
4566,
13,
1477,
198,
220,
220,
1303,
1382,
6868,
949,
9346,
75,
198,
220,
220,
12351,
28,
63,
79,
16993,
63,
198,
220,
220,
33480,
15908,
2583,
198,
220,
220,
4574,
67,
2583,
198,
220,
220,
11485,
14,
16934,
495,
532,
8906,
532,
35,
1484,
68,
626,
532,
35,
1904,
2411,
420,
21156,
1939,
532,
35,
76,
591,
4948,
28751,
532,
35,
418,
3672,
28,
23289,
532,
35,
535,
43641,
4093,
62,
13775,
62,
19499,
26761,
532,
35,
335,
43641,
11163,
62,
13775,
62,
19499,
26761,
532,
32708,
43641,
1503,
62,
13775,
62,
19499,
26761,
532,
35,
21533,
43641,
32755,
62,
13775,
62,
19499,
26761,
532,
35,
8019,
82,
10779,
75,
76,
198,
220,
220,
787,
532,
73,
38892,
77,
36942,
92,
949,
9346,
75,
198,
220,
220,
787,
532,
73,
38892,
77,
36942,
92,
7716,
62,
84,
463,
8899,
198,
220,
220,
31396,
532,
79,
949,
9346,
75,
720,
40290,
14,
8800,
14,
1084,
9346,
75,
12,
1640,
12,
11249,
198,
220,
220,
1461,
67,
628,
220,
220,
1303,
4866,
290,
779,
5597,
17425,
1321,
198,
220,
220,
31396,
11485,
14,
8071,
2052,
14,
11250,
22799,
16793,
13,
1477,
4566,
13,
1477,
198,
220,
220,
24457,
16934,
495,
532,
42,
532,
50,
198,
17772,
198,
220,
220,
1303,
6868,
628,
220,
220,
1303,
4566,
23170,
1460,
198,
220,
220,
611,
16410,
720,
16793,
796,
1635,
12,
41791,
2361,
11208,
788,
198,
220,
220,
220,
220,
220,
1303,
15560,
2124,
17946,
1000,
13,
71,
8748,
357,
4758,
373,
4615,
287,
2274,
1278,
571,
66,
8,
198,
220,
220,
220,
220,
220,
31396,
11485,
14,
8071,
2052,
14,
11250,
13,
998,
13,
41791,
4566,
13,
998,
198,
220,
220,
25912,
628,
220,
220,
24457,
16934,
495,
532,
8906,
532,
35,
535,
2625,
3,
4093,
1,
532,
35,
40290,
43641,
40290,
532,
35,
1904,
2411,
420,
21156,
1939,
532,
35,
36942,
944,
13499,
532,
35,
2664,
11840,
489,
571,
532,
35,
17597,
15763,
33223,
8738,
32624,
16793,
32624,
16793,
14,
17597,
12,
15763,
532,
35,
535,
33152,
2625,
12,
40,
38892,
40290,
92,
14,
17256,
1,
532,
35,
335,
33152,
2625,
12,
43,
38892,
8019,
15908,
92,
532,
54,
75,
12095,
81,
6978,
11,
38892,
8019,
15908,
36786,
532,
35,
335,
67,
1652,
75,
3775,
2625,
12,
28710,
532,
43,
38892,
8019,
15908,
92,
532,
54,
75,
12095,
81,
6978,
11,
38892,
8019,
15908,
36786,
198,
12463,
198,
198,
15883,
532,
73,
38892,
77,
36942,
92,
4745,
198,
15883,
532,
73,
38892,
77,
36942,
92,
198,
198,
15883,
2721,
198,
198,
2,
1234,
257,
9195,
525,
75,
3264,
287,
9195,
198,
10210,
720,
8019,
15908,
198,
18755,
532,
82,
48746,
20,
15211,
15211,
14,
34,
6965,
14,
8019,
525,
75,
13,
38892,
67,
293,
742,
92,
9195,
525,
75,
13,
38892,
67,
293,
742,
92,
198,
198,
2,
10568,
1339,
12,
4131,
328,
14834,
25,
198,
10210,
720,
8019,
15908,
14,
525,
75,
20,
14,
20,
15885,
15885,
198,
76,
85,
17437,
15211,
24573,
198,
81,
9132,
343,
17437,
198,
198,
2,
4781,
25064,
15763,
290,
2496,
9701,
422,
8574,
17050,
9701,
25,
198,
36622,
532,
72,
532,
68,
366,
82,
2,
438,
17597,
15763,
58,
796,
60,
59,
50,
59,
10,
2235,
70,
1,
3467,
198,
220,
220,
220,
220,
220,
220,
532,
68,
366,
82,
2,
12,
16793,
58,
796,
60,
59,
50,
59,
10,
2235,
70,
1,
3467,
198,
220,
220,
220,
220,
220,
220,
25597,
40290,
92,
15211,
14,
525,
75,
20,
15211,
15211,
14,
16934,
62,
23701,
13,
489,
198,
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,
198,
220,
220,
220,
19193,
7203,
87,
4521,
62,
2414,
1600,
366,
20285,
418,
4943,
198,
220,
220,
220,
19193,
7203,
87,
4521,
62,
2414,
1600,
366,
23289,
8172,
9195,
66,
2625,
4743,
571,
66,
4943,
198,
220,
220,
220,
19193,
7203,
72,
33808,
1600,
366,
23289,
8172,
9195,
66,
2625,
4743,
571,
66,
4943,
198,
220,
220,
220,
19193,
7203,
87,
4521,
62,
2414,
1600,
366,
23289,
8172,
9195,
66,
2625,
14664,
75,
4943,
198,
220,
220,
220,
19193,
7203,
72,
33808,
1600,
366,
23289,
8172,
9195,
66,
2625,
14664,
75,
4943,
198,
60,
628,
198,
2,
383,
3186,
326,
356,
481,
4155,
389,
1464,
3170,
198,
29498,
796,
685,
198,
220,
220,
220,
8393,
18187,
15667,
7203,
525,
75,
1600,
1058,
525,
75,
8,
198,
220,
220,
220,
10074,
15667,
7203,
8019,
525,
75,
1600,
1058,
8019,
525,
75,
8,
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,
5569,
1370,
62,
73,
297,
4943,
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.411943 | 1,976 |
module Gage
using Libdl
@show include("gagestructs.jl")
using Main.GageStructs: BoardInfo
##############################################
#### GageAPI Methods ####
##############################################
# Julia translations of the Gage Driver API.
# Low-level operations. Require GaGe Drivers Installed and Visible to Julia.
function geterror(errorcode::Int32)
errstring = Vector{UInt8}(undef,255)
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsGetErrorString)
err = ccall(sym,Int32,(Int32,Ref{UInt8}, Int32), errorcode, errstring, 255)
errstring[end] = 0
if err < 0
return err
else
return unsafe_string(pointer(errstring))
end
end
function initialize()
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsInitialize)
err = ccall(sym,Int32,())
if err < 0
throw(SystemError)
end
err
end
function getsystem(boardtype=UInt32(0), nchannels=UInt32(0),
bitresolution=UInt32(0), systemindex=Int16(0))
@show boardtype
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsGetSystem)
result = Ref{UInt32}(0)
@show result
argtype = (result, UInt32, UInt32, UInt32, Int16)
args = (result, boardtype, nchannels, bitresolution, systemindex)
err = ccall(sym,Int32,
(Ref{Cuint},UInt32, UInt32, UInt32, Int16),
result,boardtype,nchannels,bitresolution,systemindex)
if err < 1
return geterror(err)
else
@show err
return result
end
end
function getsysteminfo(handle::UInt32)
result = Ref{BoardInfo}()
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsGetSystemInfo)
err = ccall(sym,Int32,(UInt32,Ref{BoardInfo}),handle,result)
if err < 0
return geterror(err)
end
err
end
function getstatus(hSys::UInt32)
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsGetStatus)
err = ccall(sym,Int32,(UInt32,),hSys)
if err < 0
throw(SystemError)
end
err
end
function freesystem(hSys::UInt32)
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsFreeSystem)
err = ccall(sym,Int32,(UInt32,), hSys)
if err < 0
return geterror(err)
else
return true
end
end
function gagedo(hSys::UInt32, operation::Integer)
lib = dlopen("CsSsm")
sym = dlsym(lib,:CsDo)
err = ccall(sym,Int32,(UInt32,Int16), hSys, operation)
if err < 0
return geterror(err)
else
return true
end
end
function transfer(hSys::UInt)
end
end
| [
21412,
402,
496,
198,
3500,
7980,
25404,
198,
31,
12860,
2291,
7203,
70,
363,
395,
1356,
82,
13,
20362,
4943,
198,
3500,
8774,
13,
38,
496,
44909,
82,
25,
5926,
12360,
198,
29113,
7804,
4242,
2235,
198,
4242,
220,
220,
220,
220,
220,
220,
220,
220,
402,
496,
17614,
25458,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
198,
29113,
7804,
4242,
2235,
198,
2,
22300,
25231,
286,
262,
402,
496,
12434,
7824,
13,
198,
2,
7754,
12,
5715,
4560,
13,
9394,
557,
12822,
10082,
36577,
2262,
4262,
290,
6911,
856,
284,
22300,
13,
198,
8818,
651,
18224,
7,
18224,
8189,
3712,
5317,
2624,
8,
198,
220,
220,
220,
11454,
8841,
796,
20650,
90,
52,
5317,
23,
92,
7,
917,
891,
11,
13381,
8,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
3855,
12331,
10100,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
7,
5317,
2624,
11,
8134,
90,
52,
5317,
23,
5512,
2558,
2624,
828,
4049,
8189,
11,
11454,
8841,
11,
14280,
8,
198,
220,
220,
220,
11454,
8841,
58,
437,
60,
796,
657,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
11454,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
21596,
62,
8841,
7,
29536,
7,
8056,
8841,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
41216,
3419,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
24243,
1096,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
28955,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
11964,
12331,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11454,
198,
437,
198,
198,
8818,
651,
10057,
7,
3526,
4906,
28,
52,
5317,
2624,
7,
15,
828,
299,
354,
8961,
28,
52,
5317,
2624,
7,
15,
828,
198,
220,
220,
220,
220,
1643,
29268,
28,
52,
5317,
2624,
7,
15,
828,
1080,
9630,
28,
5317,
1433,
7,
15,
4008,
198,
220,
220,
220,
2488,
12860,
3096,
4906,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
3855,
11964,
8,
198,
220,
220,
220,
1255,
796,
6524,
90,
52,
5317,
2624,
92,
7,
15,
8,
198,
220,
220,
220,
2488,
12860,
1255,
198,
220,
220,
220,
1822,
4906,
796,
357,
20274,
11,
471,
5317,
2624,
11,
471,
5317,
2624,
11,
471,
5317,
2624,
11,
2558,
1433,
8,
198,
220,
220,
220,
26498,
796,
357,
20274,
11,
3096,
4906,
11,
299,
354,
8961,
11,
1643,
29268,
11,
1080,
9630,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
198,
220,
220,
220,
357,
8134,
90,
34,
28611,
5512,
52,
5317,
2624,
11,
471,
5317,
2624,
11,
471,
5317,
2624,
11,
2558,
1433,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
11,
3526,
4906,
11,
77,
354,
8961,
11,
2545,
29268,
11,
10057,
9630,
8,
198,
220,
220,
220,
611,
11454,
1279,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
18224,
7,
8056,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
12860,
11454,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
651,
10057,
10951,
7,
28144,
3712,
52,
5317,
2624,
8,
198,
220,
220,
220,
1255,
796,
6524,
90,
29828,
12360,
92,
3419,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
3855,
11964,
12360,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
7,
52,
5317,
2624,
11,
8134,
90,
29828,
12360,
92,
828,
28144,
11,
20274,
8,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
18224,
7,
8056,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11454,
198,
437,
198,
198,
8818,
651,
13376,
7,
71,
44387,
3712,
52,
5317,
2624,
8,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
3855,
19580,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
7,
52,
5317,
2624,
11,
828,
71,
44387,
8,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
3714,
7,
11964,
12331,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
11454,
198,
437,
198,
198,
8818,
2030,
274,
6781,
7,
71,
44387,
3712,
52,
5317,
2624,
8,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
11146,
11964,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
7,
52,
5317,
2624,
11,
828,
289,
44387,
8,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
18224,
7,
8056,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
308,
1886,
78,
7,
71,
44387,
3712,
52,
5317,
2624,
11,
4905,
3712,
46541,
8,
198,
220,
220,
220,
9195,
796,
288,
75,
9654,
7203,
32274,
50,
5796,
4943,
198,
220,
220,
220,
5659,
796,
220,
288,
75,
37047,
7,
8019,
11,
25,
32274,
5211,
8,
198,
220,
220,
220,
11454,
796,
269,
13345,
7,
37047,
11,
5317,
2624,
11,
7,
52,
5317,
2624,
11,
5317,
1433,
828,
289,
44387,
11,
4905,
8,
198,
220,
220,
220,
611,
11454,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
18224,
7,
8056,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
4351,
7,
71,
44387,
3712,
52,
5317,
8,
198,
437,
198,
198,
437,
198
] | 2.263787 | 1,088 |
include("../src/get_sens_solenoid_K.jl")
s = [1.0, 4.0, 0.0]
sens(s, 200000)
| [
17256,
7203,
40720,
10677,
14,
1136,
62,
82,
641,
62,
82,
8622,
1868,
62,
42,
13,
20362,
4943,
198,
82,
796,
685,
16,
13,
15,
11,
604,
13,
15,
11,
657,
13,
15,
60,
198,
82,
641,
7,
82,
11,
939,
830,
8,
198
] | 1.75 | 44 |
function _fit(glr::GLR{RobustLoss{ρ},<:L2R}, solver::IWLSCG, X, y, scratch
) where {ρ}
n,p,_ = npc(scratch)
_Mv! = Mv!(glr, X, y, scratch; threshold=solver.threshold)
κ = solver.damping # between 0 and 1, 1 = fully take the new iteration
# cache
θ = zeros(p)
θ_ = zeros(p)
b = zeros(p) # will contain X'Wy
ω = zeros(n) # will contain the diagonal of W
# params for the loop
max_cg_steps = min(solver.max_inner, p)
k, tol = 0, Inf
while k < solver.max_iter && tol > solver.tol
# update the weights and retrieve the application function
# Mθv! corresponds to the current application of (X'WX + λI) on v
Mθv! = _Mv!(ω, θ)
Mm = LinearMap(Mθv!, p;
ismutating=true, isposdef=true, issymmetric=true)
Wy = ω .* y
b = X'Wy
if glr.fit_intercept
b = vcat(b, sum(Wy))
end
# update
θ .= (1-κ) .* θ .+ κ .* cg(Mm, b; maxiter=max_cg_steps)
# check tolerance
tol = norm(θ .- θ_) / (norm(θ) + eps())
# update cache
copyto!(θ_, θ)
k += 1
end
tol ≤ solver.tol ||
@warn "IWLS did not converge in $(solver.max_iter) iterations."
return θ
end
| [
8818,
4808,
11147,
7,
4743,
81,
3712,
8763,
49,
90,
14350,
436,
43,
793,
90,
33643,
5512,
27,
25,
43,
17,
49,
5512,
1540,
332,
3712,
40,
54,
43,
6173,
38,
11,
1395,
11,
331,
11,
12692,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
810,
1391,
33643,
92,
198,
220,
220,
220,
299,
11,
79,
11,
62,
796,
299,
14751,
7,
1416,
36722,
8,
198,
220,
220,
220,
4808,
44,
85,
0,
796,
337,
85,
0,
7,
4743,
81,
11,
1395,
11,
331,
11,
12692,
26,
11387,
28,
82,
14375,
13,
400,
10126,
8,
198,
220,
220,
220,
7377,
118,
220,
220,
220,
796,
1540,
332,
13,
67,
37843,
1303,
1022,
657,
290,
352,
11,
352,
796,
3938,
1011,
262,
649,
24415,
198,
220,
220,
220,
1303,
12940,
198,
220,
220,
220,
7377,
116,
220,
796,
1976,
27498,
7,
79,
8,
198,
220,
220,
220,
7377,
116,
62,
796,
1976,
27498,
7,
79,
8,
198,
220,
220,
220,
275,
220,
796,
1976,
27498,
7,
79,
8,
220,
1303,
481,
3994,
1395,
6,
54,
88,
198,
220,
220,
220,
18074,
231,
220,
796,
1976,
27498,
7,
77,
8,
220,
1303,
481,
3994,
262,
40039,
286,
370,
198,
220,
220,
220,
1303,
42287,
329,
262,
220,
9052,
198,
220,
220,
220,
3509,
62,
66,
70,
62,
20214,
796,
949,
7,
82,
14375,
13,
9806,
62,
5083,
11,
279,
8,
198,
220,
220,
220,
479,
11,
284,
75,
796,
657,
11,
4806,
198,
220,
220,
220,
981,
479,
1279,
1540,
332,
13,
9806,
62,
2676,
11405,
284,
75,
1875,
1540,
332,
13,
83,
349,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
262,
19590,
290,
19818,
262,
3586,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
337,
138,
116,
85,
0,
24866,
284,
262,
1459,
3586,
286,
357,
55,
6,
54,
55,
1343,
7377,
119,
40,
8,
319,
410,
198,
220,
220,
220,
220,
220,
220,
220,
337,
138,
116,
85,
0,
796,
4808,
44,
85,
0,
7,
49535,
11,
7377,
116,
8,
198,
220,
220,
220,
220,
220,
220,
220,
337,
76,
220,
796,
44800,
13912,
7,
44,
138,
116,
85,
28265,
279,
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,
318,
21973,
803,
28,
7942,
11,
318,
1930,
4299,
28,
7942,
11,
1189,
26621,
19482,
28,
7942,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12958,
220,
796,
18074,
231,
764,
9,
331,
198,
220,
220,
220,
220,
220,
220,
220,
275,
220,
220,
796,
1395,
6,
54,
88,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1278,
81,
13,
11147,
62,
3849,
984,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
410,
9246,
7,
65,
11,
2160,
7,
54,
88,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
198,
220,
220,
220,
220,
220,
220,
220,
7377,
116,
220,
764,
28,
357,
16,
12,
43000,
8,
764,
9,
7377,
116,
764,
10,
7377,
118,
764,
9,
269,
70,
7,
44,
76,
11,
275,
26,
3509,
2676,
28,
9806,
62,
66,
70,
62,
20214,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2198,
15621,
198,
220,
220,
220,
220,
220,
220,
220,
284,
75,
796,
2593,
7,
138,
116,
764,
12,
7377,
116,
62,
8,
1220,
357,
27237,
7,
138,
116,
8,
1343,
304,
862,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
12940,
198,
220,
220,
220,
220,
220,
220,
220,
4866,
1462,
0,
7,
138,
116,
62,
11,
7377,
116,
8,
198,
220,
220,
220,
220,
220,
220,
220,
479,
220,
15853,
352,
198,
220,
220,
220,
886,
198,
220,
220,
220,
284,
75,
41305,
1540,
332,
13,
83,
349,
8614,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
40,
54,
6561,
750,
407,
47873,
287,
29568,
82,
14375,
13,
9806,
62,
2676,
8,
34820,
526,
198,
220,
220,
220,
1441,
7377,
116,
198,
437,
198
] | 1.862573 | 684 |
# -----------------------------------------------------------
#
# Constructing the Hierarchical Discontinuous Galerkin Basis
#
# -----------------------------------------------------------
# Efficiency criticality: LOW
# Computations only performed once
# -----------------------------------------------------
# Defining the Inner Product
# -----------------------------------------------------
# The coordinate convention here is to have vectors of length n even
# The first half has component i is the respective coefficient of x^i
# THe second half has component n/2 + i is the coefficient of sgn(x)*x^i
function product_matrix(i::Int, j::Int, n::Int)
# This is the inner product of <x^i, x^j> when i,j < n/2
# or the appropriate reflection when they are >=
# Exact expressions only. No NIntegrations
k= Int(round(n/2))
if i < k && j < k
return (1 + (-1)^(i + j))/(1 + i + j)
elseif i >= k && j< k
return (1 - (-1)^((i-k) + (j)))/(1 + (i-k) + (j))
elseif i < k && j >= k
return product_matrix(j, i, n)
else
return (1 + (-1)^((i-k) + (j-k)))/(1 + (i-k) + (j-k))
end
end
function inner_product(v1::AbstractArray{T}, v2::AbstractArray{T}) where T <: Real
value=zero(eltype(v1)) #Get 0 of the same type as v1
n=length(v1)
for i in 1:n
for j in 1:n
if v1[i]==0 || v2[j]==0
continue
else
value += product_matrix(i-1,j-1,n)*v1[i]*v2[j]
end
end
end
return value
end
function inner_product(v1::AbstractArray{T}, j::Int) where T <: Real #we consider x^(j-1)
value=zero(eltype(v1)) #Get 0 of the same type as v1
n=length(v1)
for i in 1:n
value += product_matrix(i-1,j-1,n)*v1[i]
#note we need to shift appropriately
end
return value
end
# ------------------------------------------------------
# Defining Gram-Schmidt and forming Legendre Polynomials
# ------------------------------------------------------
# The gram schmidt process on a set of vectors
# I think using an array of arrays is easiest here
function gram_schmidt(Q_initial::Array{Array{T, 1}, 1}) where T <: Real
n = length(Q_initial[1])
k = Int(round(n/2))
# n = 2k, k polys of degree up to k-1 and then k polys according to f
Q_final = deepcopy(Q_initial)
# we'll return a modified version of the initial without modifying Q_initial
for i = 1:k
for j = 1:i-1
proj = inner_product(Q_initial[i],Q_final[j])/inner_product(Q_final[j], Q_final[j])
#This gives us the number corresponding to the projection along Q_final[j]
Q_final[i] -= proj * Q_final[j]
#This subtracts it out from Q_final[i] to orthogonalize
end
Q_final[i] /= sqrt(inner_product(Q_final[i], Q_final[i]))
#Normalize every time
end
return Q_final
end
#We can now form the Legendre polynomials
function legendre(k::Int)
Q = [[i==j ? 1.0 : 0.0 for i = 1:2*(k+1)] for j = 1:(k+1)]
#start with just the x^i basis for i = 0 to k
Q = gram_schmidt(Q)
#Orthgonalize, and now we have the Legendre polynomials
return Q
end
# I want to be able to do this completely analytically, using fractions
# so that I can avoid any numerical error in this process
# -----------------------------------------------------------
# Making a basis of functions have the first k moments vanish
# -----------------------------------------------------------
function orthogonalize_1(Q_initial::Array{Array{T, 1}, 1}) where T <: Real
n = length(Q_initial[1])
k = Int(round(n/2))
# n = 2k, because basis includes the f(j,x) functions in addition to x^j
Q_final = deepcopy(Q_initial)
# As before
legendre_polys=legendre(k-1)
# We need an orthogonal basis for 1..x^(k-1) for the projection to work
for i = 1:k
for j in 1:k
proj = inner_product(Q_initial[i],legendre_polys[j])/
inner_product(legendre_polys[j],legendre_polys[j])
Q_final[i] -= proj*legendre_polys[j] #subtract projection
#project out v[i] by each element of this orthogonal basis for x^j
end
end
return Q_final
end
# -----------------------------------------------------
# Make some functions have higher vanishing moments
# -----------------------------------------------------
# This function will make k-1 of the basis vectors orth to x^k,
# k-2 to x^k+1 all the way to 1 vector orth to x^2k-2
function orthogonalize_2(Q_initial::Array{Array{T, 1}, 1}) where T <: Real
n = length(Q_initial[1])
k = Int(round(n/2))
Q_final = deepcopy(Q_initial)
for i = 1:k-1
fi=copy(Q_initial[i])
# We assume this isn't perp to x^(k+i-1) and subtract it from the next ones.
# We know that it isn't perp by parity considerations on the degree! :)
# (Thank goodness, cuz otherwise each time, we'd have to rearrange the basis
# until we found a non-perp function and subtract by that one)
for j = i+1:k
a= inner_product(Q_final[j],k+i)/inner_product(fi, k+i)
Q_final[j] -= a * fi
end
end
return Q_final
end
# Standard gram-schmidt process, starting at the end
# (this is important, because the last function is orthogonal to a lot of higher
# polynomials, and we don't want to do anything other than normalize it,
# with similar reasoning for the penultimate, etc. functions)
function gram_schmidt_rev(Q_initial::Array{Array{T, 1}, 1}) where T <: Real
n = length(Q_initial[1])
k = Int(round(n/2))
Q_final = [[0.0 for i in 1:n] for j in 1:k]
for i = k:-1:1 #note we're going in reverse
fi = copy(Q_initial[i]) #we won't modify the original, so we copy
Q_final[i] = fi #start with Q_final = f_i, and we'll subtract projections
for j = i+1:k #because we're going in reverse
proj = inner_product(fi,Q_final[j])/inner_product(Q_final[j], Q_final[j])
#find the projection
Q_final[i] -= proj * Q_final[j] #project out direction j
end
Q_final[i] /= sqrt(inner_product(Q_final[i], Q_final[i])) #now normalize
end
return Q_final
end
# -----------------------------------------------------
# TODO: Lastly, perform a rotation so that there
# is only one 'dicontinuous' basis element,
# namely the last one
# -----------------------------------------------------
function rotate_discontinuity(Q_initial::Array{Array{T, 1}, 1}) where T <: Real
# To be implemented
end
# -----------------------------------------------------
# All together, for the final result:
# -----------------------------------------------------
function dg_basis(k::Int)
Q = [[j==(i-k) ? 1.0 : 0.0 for i in 1:2*k] for j in 1:k]
Q = orthogonalize_1(Q)
Q = orthogonalize_2(Q)
Q = gram_schmidt_rev(Q)
return Q
end
| [
2,
20368,
22369,
6329,
198,
2,
198,
2,
28407,
278,
262,
36496,
998,
605,
8444,
756,
259,
5623,
5027,
263,
5116,
6455,
271,
198,
2,
198,
2,
20368,
22369,
6329,
198,
198,
2,
45728,
4688,
414,
25,
46663,
198,
2,
22476,
602,
691,
6157,
1752,
628,
198,
2,
20368,
19351,
12,
198,
2,
2896,
3191,
262,
24877,
8721,
198,
2,
20368,
19351,
12,
628,
198,
198,
2,
383,
20435,
9831,
994,
318,
284,
423,
30104,
286,
4129,
299,
772,
198,
2,
383,
717,
2063,
468,
7515,
1312,
318,
262,
11756,
35381,
286,
2124,
61,
72,
198,
2,
309,
1544,
1218,
2063,
468,
7515,
299,
14,
17,
1343,
1312,
318,
262,
35381,
286,
264,
4593,
7,
87,
27493,
87,
61,
72,
198,
198,
8818,
1720,
62,
6759,
8609,
7,
72,
3712,
5317,
11,
474,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
1303,
770,
318,
262,
8434,
1720,
286,
1279,
87,
61,
72,
11,
2124,
61,
73,
29,
618,
1312,
11,
73,
1279,
299,
14,
17,
198,
220,
220,
220,
1303,
393,
262,
5035,
14580,
618,
484,
389,
18189,
198,
220,
220,
220,
1303,
1475,
529,
14700,
691,
13,
1400,
399,
34500,
9143,
198,
220,
220,
220,
479,
28,
2558,
7,
744,
7,
77,
14,
17,
4008,
198,
220,
220,
220,
611,
1312,
1279,
479,
11405,
474,
1279,
479,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
16,
1343,
13841,
16,
8,
61,
7,
72,
1343,
474,
4008,
29006,
16,
1343,
1312,
1343,
474,
8,
198,
220,
220,
220,
2073,
361,
1312,
18189,
479,
11405,
474,
27,
479,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
16,
532,
13841,
16,
8,
61,
19510,
72,
12,
74,
8,
1343,
357,
73,
4008,
20679,
7,
16,
1343,
357,
72,
12,
74,
8,
1343,
357,
73,
4008,
198,
220,
220,
220,
2073,
361,
1312,
1279,
479,
11405,
474,
18189,
479,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1720,
62,
6759,
8609,
7,
73,
11,
1312,
11,
299,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
16,
1343,
13841,
16,
8,
61,
19510,
72,
12,
74,
8,
1343,
357,
73,
12,
74,
4008,
20679,
7,
16,
1343,
357,
72,
12,
74,
8,
1343,
357,
73,
12,
74,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
8434,
62,
11167,
7,
85,
16,
3712,
23839,
19182,
90,
51,
5512,
410,
17,
3712,
23839,
19182,
90,
51,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
1988,
28,
22570,
7,
417,
4906,
7,
85,
16,
4008,
1303,
3855,
657,
286,
262,
976,
2099,
355,
410,
16,
198,
220,
220,
220,
299,
28,
13664,
7,
85,
16,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
410,
16,
58,
72,
60,
855,
15,
8614,
410,
17,
58,
73,
60,
855,
15,
198,
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,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
15853,
1720,
62,
6759,
8609,
7,
72,
12,
16,
11,
73,
12,
16,
11,
77,
27493,
85,
16,
58,
72,
60,
9,
85,
17,
58,
73,
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,
1988,
198,
437,
198,
198,
8818,
8434,
62,
11167,
7,
85,
16,
3712,
23839,
19182,
90,
51,
5512,
474,
3712,
5317,
8,
810,
309,
1279,
25,
6416,
1303,
732,
2074,
2124,
61,
7,
73,
12,
16,
8,
198,
220,
220,
220,
1988,
28,
22570,
7,
417,
4906,
7,
85,
16,
4008,
1303,
3855,
657,
286,
262,
976,
2099,
355,
410,
16,
198,
220,
220,
220,
299,
28,
13664,
7,
85,
16,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
15853,
1720,
62,
6759,
8609,
7,
72,
12,
16,
11,
73,
12,
16,
11,
77,
27493,
85,
16,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11295,
356,
761,
284,
6482,
20431,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1988,
198,
437,
198,
198,
2,
20368,
19351,
438,
198,
2,
2896,
3191,
20159,
12,
14874,
21184,
290,
14583,
9883,
260,
12280,
26601,
8231,
198,
2,
20368,
19351,
438,
198,
198,
2,
383,
14599,
5513,
21184,
1429,
319,
257,
900,
286,
30104,
198,
2,
314,
892,
1262,
281,
7177,
286,
26515,
318,
16638,
994,
198,
8818,
14599,
62,
20601,
21184,
7,
48,
62,
36733,
3712,
19182,
90,
19182,
90,
51,
11,
352,
5512,
352,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
299,
796,
4129,
7,
48,
62,
36733,
58,
16,
12962,
198,
220,
220,
220,
479,
796,
2558,
7,
744,
7,
77,
14,
17,
4008,
198,
220,
220,
220,
1303,
299,
796,
362,
74,
11,
479,
7514,
82,
286,
4922,
510,
284,
479,
12,
16,
290,
788,
479,
7514,
82,
1864,
284,
277,
198,
220,
220,
220,
1195,
62,
20311,
796,
2769,
30073,
7,
48,
62,
36733,
8,
198,
220,
220,
220,
1303,
356,
1183,
1441,
257,
9518,
2196,
286,
262,
4238,
1231,
30620,
1195,
62,
36733,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
74,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
72,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
8434,
62,
11167,
7,
48,
62,
36733,
58,
72,
4357,
48,
62,
20311,
58,
73,
12962,
14,
5083,
62,
11167,
7,
48,
62,
20311,
58,
73,
4357,
1195,
62,
20311,
58,
73,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1212,
3607,
514,
262,
1271,
11188,
284,
262,
20128,
1863,
1195,
62,
20311,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
48185,
386,
73,
1635,
1195,
62,
20311,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1212,
34128,
82,
340,
503,
422,
1195,
62,
20311,
58,
72,
60,
284,
29617,
519,
20996,
1096,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
1220,
28,
19862,
17034,
7,
5083,
62,
11167,
7,
48,
62,
20311,
58,
72,
4357,
1195,
62,
20311,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
26447,
1096,
790,
640,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1195,
62,
20311,
198,
437,
198,
198,
2,
1135,
460,
783,
1296,
262,
9883,
260,
745,
6213,
296,
8231,
198,
8818,
8177,
260,
7,
74,
3712,
5317,
8,
198,
220,
220,
220,
1195,
796,
16410,
72,
855,
73,
5633,
352,
13,
15,
1058,
657,
13,
15,
329,
1312,
796,
352,
25,
17,
9,
7,
74,
10,
16,
15437,
329,
474,
796,
352,
37498,
74,
10,
16,
15437,
198,
220,
220,
220,
1303,
9688,
351,
655,
262,
2124,
61,
72,
4308,
329,
1312,
796,
657,
284,
479,
198,
220,
220,
220,
1195,
796,
14599,
62,
20601,
21184,
7,
48,
8,
198,
220,
220,
220,
1303,
5574,
400,
14520,
282,
1096,
11,
290,
783,
356,
423,
262,
9883,
260,
745,
6213,
296,
8231,
198,
220,
220,
220,
1441,
1195,
198,
437,
198,
198,
2,
314,
765,
284,
307,
1498,
284,
466,
428,
3190,
4284,
83,
1146,
11,
1262,
49876,
198,
2,
523,
326,
314,
460,
3368,
597,
29052,
4049,
287,
428,
1429,
628,
198,
2,
20368,
22369,
6329,
198,
2,
16427,
257,
4308,
286,
5499,
423,
262,
717,
479,
7188,
39572,
198,
2,
20368,
22369,
6329,
198,
198,
8818,
29617,
519,
20996,
1096,
62,
16,
7,
48,
62,
36733,
3712,
19182,
90,
19182,
90,
51,
11,
352,
5512,
352,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
299,
796,
4129,
7,
48,
62,
36733,
58,
16,
12962,
198,
220,
220,
220,
479,
796,
2558,
7,
744,
7,
77,
14,
17,
4008,
198,
220,
220,
220,
1303,
299,
796,
362,
74,
11,
780,
4308,
3407,
262,
277,
7,
73,
11,
87,
8,
5499,
287,
3090,
284,
2124,
61,
73,
198,
220,
220,
220,
1195,
62,
20311,
796,
2769,
30073,
7,
48,
62,
36733,
8,
198,
220,
220,
220,
1303,
1081,
878,
198,
220,
220,
220,
8177,
260,
62,
35428,
82,
28,
1455,
437,
260,
7,
74,
12,
16,
8,
198,
220,
220,
220,
1303,
775,
761,
281,
29617,
519,
20996,
4308,
329,
352,
492,
87,
61,
7,
74,
12,
16,
8,
329,
262,
20128,
284,
670,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
74,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
352,
25,
74,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
220,
8434,
62,
11167,
7,
48,
62,
36733,
58,
72,
4357,
1455,
437,
260,
62,
35428,
82,
58,
73,
12962,
14,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8434,
62,
11167,
7,
1455,
437,
260,
62,
35428,
82,
58,
73,
4357,
1455,
437,
260,
62,
35428,
82,
58,
73,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
48185,
386,
73,
9,
1455,
437,
260,
62,
35428,
82,
58,
73,
60,
1303,
7266,
83,
974,
20128,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16302,
503,
410,
58,
72,
60,
416,
1123,
5002,
286,
428,
29617,
519,
20996,
4308,
329,
2124,
61,
73,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1195,
62,
20311,
198,
437,
198,
198,
2,
20368,
19351,
12,
198,
2,
6889,
617,
5499,
423,
2440,
49047,
7188,
198,
2,
20368,
19351,
12,
198,
198,
2,
770,
2163,
481,
787,
479,
12,
16,
286,
262,
4308,
30104,
29617,
284,
2124,
61,
74,
11,
198,
2,
479,
12,
17,
284,
2124,
61,
74,
10,
16,
220,
477,
262,
835,
284,
352,
15879,
29617,
284,
2124,
61,
17,
74,
12,
17,
198,
198,
8818,
29617,
519,
20996,
1096,
62,
17,
7,
48,
62,
36733,
3712,
19182,
90,
19182,
90,
51,
11,
352,
5512,
352,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
299,
796,
4129,
7,
48,
62,
36733,
58,
16,
12962,
198,
220,
220,
220,
479,
796,
2558,
7,
744,
7,
77,
14,
17,
4008,
198,
220,
220,
220,
1195,
62,
20311,
796,
2769,
30073,
7,
48,
62,
36733,
8,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
74,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
25912,
28,
30073,
7,
48,
62,
36733,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
7048,
428,
2125,
470,
583,
79,
284,
2124,
61,
7,
74,
10,
72,
12,
16,
8,
290,
34128,
340,
422,
262,
1306,
3392,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
760,
326,
340,
2125,
470,
583,
79,
416,
34383,
18506,
319,
262,
4922,
0,
14373,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
10449,
20437,
11,
269,
10277,
4306,
1123,
640,
11,
356,
1549,
423,
284,
37825,
858,
262,
4308,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1566,
356,
1043,
257,
1729,
12,
525,
79,
2163,
290,
34128,
416,
326,
530,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
1312,
10,
16,
25,
74,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
28,
8434,
62,
11167,
7,
48,
62,
20311,
58,
73,
4357,
74,
10,
72,
20679,
5083,
62,
11167,
7,
12463,
11,
479,
10,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
73,
60,
48185,
257,
1635,
25912,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1195,
62,
20311,
198,
437,
628,
198,
2,
8997,
14599,
12,
20601,
21184,
1429,
11,
3599,
379,
262,
886,
198,
2,
357,
5661,
318,
1593,
11,
780,
262,
938,
2163,
318,
29617,
519,
20996,
284,
257,
1256,
286,
2440,
198,
2,
745,
6213,
296,
8231,
11,
290,
356,
836,
470,
765,
284,
466,
1997,
584,
621,
3487,
1096,
340,
11,
198,
2,
351,
2092,
14607,
329,
262,
3112,
44818,
11,
3503,
13,
5499,
8,
198,
198,
8818,
14599,
62,
20601,
21184,
62,
18218,
7,
48,
62,
36733,
3712,
19182,
90,
19182,
90,
51,
11,
352,
5512,
352,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
299,
796,
4129,
7,
48,
62,
36733,
58,
16,
12962,
198,
220,
220,
220,
479,
796,
2558,
7,
744,
7,
77,
14,
17,
4008,
198,
220,
220,
220,
1195,
62,
20311,
796,
16410,
15,
13,
15,
329,
1312,
287,
352,
25,
77,
60,
329,
474,
287,
352,
25,
74,
60,
198,
220,
220,
220,
329,
1312,
796,
479,
21912,
16,
25,
16,
220,
220,
220,
1303,
11295,
356,
821,
1016,
287,
9575,
198,
220,
220,
220,
220,
220,
220,
220,
25912,
796,
4866,
7,
48,
62,
36733,
58,
72,
12962,
220,
1303,
732,
1839,
470,
13096,
262,
2656,
11,
523,
356,
4866,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
796,
25912,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9688,
351,
1195,
62,
20311,
796,
277,
62,
72,
11,
290,
356,
1183,
34128,
19887,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
1312,
10,
16,
25,
74,
1303,
13893,
356,
821,
1016,
287,
9575,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
8434,
62,
11167,
7,
12463,
11,
48,
62,
20311,
58,
73,
12962,
14,
5083,
62,
11167,
7,
48,
62,
20311,
58,
73,
4357,
1195,
62,
20311,
58,
73,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
19796,
262,
20128,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
48185,
386,
73,
1635,
1195,
62,
20311,
58,
73,
60,
220,
220,
220,
1303,
16302,
503,
4571,
474,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
62,
20311,
58,
72,
60,
1220,
28,
19862,
17034,
7,
5083,
62,
11167,
7,
48,
62,
20311,
58,
72,
4357,
1195,
62,
20311,
58,
72,
60,
4008,
1303,
2197,
3487,
1096,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1195,
62,
20311,
198,
437,
198,
198,
2,
20368,
19351,
12,
198,
2,
16926,
46,
25,
36778,
11,
1620,
257,
13179,
523,
326,
612,
198,
2,
318,
691,
530,
705,
67,
291,
756,
259,
5623,
6,
4308,
5002,
11,
198,
2,
14811,
262,
938,
530,
198,
2,
20368,
19351,
12,
198,
198,
8818,
23064,
62,
15410,
756,
259,
14834,
7,
48,
62,
36733,
3712,
19182,
90,
19182,
90,
51,
11,
352,
5512,
352,
30072,
810,
309,
1279,
25,
6416,
198,
220,
220,
220,
1303,
1675,
307,
9177,
198,
437,
198,
198,
2,
20368,
19351,
12,
198,
2,
1439,
1978,
11,
329,
262,
2457,
1255,
25,
198,
2,
20368,
19351,
12,
198,
198,
8818,
288,
70,
62,
12093,
271,
7,
74,
3712,
5317,
8,
198,
220,
220,
220,
1195,
796,
16410,
73,
855,
7,
72,
12,
74,
8,
5633,
352,
13,
15,
1058,
657,
13,
15,
329,
1312,
287,
352,
25,
17,
9,
74,
60,
329,
474,
287,
352,
25,
74,
60,
198,
220,
220,
220,
1195,
796,
29617,
519,
20996,
1096,
62,
16,
7,
48,
8,
198,
220,
220,
220,
1195,
796,
29617,
519,
20996,
1096,
62,
17,
7,
48,
8,
198,
220,
220,
220,
1195,
796,
14599,
62,
20601,
21184,
62,
18218,
7,
48,
8,
198,
220,
220,
220,
1441,
1195,
198,
437,
198
] | 2.574824 | 2,693 |
@inline function Phi_se(Cell,s,z,Def,ϕ_tf,D,res0)
"""
Solid-Electrolyte Potential Transfer Function
Phi_se(Cell,s,z,Def)
"""
if Def == "Pos"
Electrode = Cell.Pos #Electrode Length
else
Electrode = Cell.Neg #Electrode Length
end
κ_eff = Cell.Const.κ*Electrode.ϵ_e^Electrode.κ_brug #Effective Electrolyte Conductivity
σ_eff = Electrode.σ*Electrode.ϵ_s^Electrode.σ_brug #Effective Electrode Conductivity
#Defining SOC
θ = Cell.Const.SOC * (Electrode.θ_100-Electrode.θ_0) + Electrode.θ_0
#Prepare for j0
ce0 = Cell.Const.ce0
cs_max = Electrode.cs_max
cs0 = cs_max * θ
α = Electrode.α
#Current Flux Density
if Cell.Const.CellTyp == "Doyle_94"
κ = Electrode.k_norm/Electrode.cs_max/ce0^(1-α)
j0 = κ*(ce0*(cs_max-cs0))^(1-α)*cs0^α
else
j0 = Electrode.k_norm*(Cell.Const.ce0*cs0*(Electrode.cs_max-cs0))^(1-Electrode.α)
end
#Resistance
Rtot = R*Cell.Const.T/(j0*F^2) + Electrode.RFilm
#Rtot = R*Cell.Const.T/(j0*Cell.Const.CC_A*F) + Electrode.RFilm
∂Uocp_elc = Cell.Const.∂Uocp(Def,θ)/cs_max #Open Circuit Potential Partial
res0 .= @. -3*∂Uocp_elc/(Electrode.as*F*Electrode.L*Cell.Const.CC_A*Electrode.Rs) # residual for pole removal
ν = @. Electrode.L*sqrt((Electrode.as/σ_eff+Electrode.as/κ_eff)/(Rtot+∂Uocp_elc*(Electrode.Rs/(F*Electrode.Ds))*(tanh(Electrode.β)/(tanh(Electrode.β)-Electrode.β)))) #Condensing Variable - eq. 4.13
ν_∞ = @. Electrode.L*sqrt(Electrode.as*((1/κ_eff)+(1/σ_eff))/(Rtot))
ϕ_tf .= @. Electrode.L/(Cell.Const.CC_A*ν*sinh(ν))*((1/κ_eff)*cosh(ν*z)+(1/σ_eff)*cosh(ν*(z-1)))-res0/s #Transfer Function - eq. 4.14
zero_tf = @. (6*(5*Electrode.Ds*F*Rtot-∂Uocp_elc*Electrode.Rs)*σ_eff)/(30*Cell.Const.CC_A*Electrode.as*Electrode.Ds*F*σ_eff*Electrode.L) + (5*Electrode.as*Electrode.Ds*F*Electrode.L^2*(σ_eff*(-1+3*z^2)+κ_eff*(2-6*z+3*z^2)))/(30*Cell.Const.CC_A*Electrode.as*Electrode.Ds*F*σ_eff*κ_eff*Electrode.L)
D .= @. Electrode.L/(Cell.Const.CC_A*ν_∞*sinh(ν_∞))*((1/κ_eff)*cosh(ν_∞*z)+(1/σ_eff)*cosh(ν_∞*(z-1))) # Contribution to D as G->∞
ϕ_tf[:,findall(s.==0)] .= zero_tf[:,findall(s.==0)]
res0 .= zeros(length(z))
if Def == "Pos" #Double check this implementation
ϕ_tf .= -ϕ_tf
D .= -D
end
end
| [
31,
45145,
2163,
47256,
62,
325,
7,
28780,
11,
82,
11,
89,
11,
7469,
11,
139,
243,
62,
27110,
11,
35,
11,
411,
15,
8,
198,
37811,
220,
198,
220,
220,
15831,
12,
19453,
305,
306,
660,
32480,
20558,
15553,
628,
220,
220,
47256,
62,
325,
7,
28780,
11,
82,
11,
89,
11,
7469,
8,
198,
198,
37811,
628,
198,
361,
2896,
6624,
366,
21604,
1,
220,
220,
220,
198,
220,
220,
38781,
2934,
796,
12440,
13,
21604,
1303,
19453,
305,
2934,
22313,
198,
17772,
198,
220,
220,
38781,
2934,
796,
12440,
13,
32863,
1303,
19453,
305,
2934,
22313,
198,
437,
198,
198,
43000,
62,
14822,
796,
12440,
13,
34184,
13,
43000,
9,
19453,
305,
2934,
13,
139,
113,
62,
68,
61,
19453,
305,
2934,
13,
43000,
62,
65,
2143,
1303,
44831,
38781,
306,
660,
28579,
3458,
220,
198,
38392,
62,
14822,
796,
38781,
2934,
13,
38392,
9,
19453,
305,
2934,
13,
139,
113,
62,
82,
61,
19453,
305,
2934,
13,
38392,
62,
65,
2143,
1303,
44831,
38781,
2934,
28579,
3458,
220,
198,
198,
2,
7469,
3191,
31430,
198,
138,
116,
796,
12440,
13,
34184,
13,
50,
4503,
1635,
357,
19453,
305,
2934,
13,
138,
116,
62,
3064,
12,
19453,
305,
2934,
13,
138,
116,
62,
15,
8,
1343,
38781,
2934,
13,
138,
116,
62,
15,
198,
198,
2,
37534,
533,
329,
474,
15,
198,
344,
15,
796,
12440,
13,
34184,
13,
344,
15,
198,
6359,
62,
9806,
796,
38781,
2934,
13,
6359,
62,
9806,
198,
6359,
15,
796,
50115,
62,
9806,
1635,
7377,
116,
198,
17394,
796,
38781,
2934,
13,
17394,
198,
198,
2,
11297,
1610,
2821,
360,
6377,
198,
361,
12440,
13,
34184,
13,
28780,
31467,
6624,
366,
35,
19802,
62,
5824,
1,
198,
220,
220,
7377,
118,
796,
38781,
2934,
13,
74,
62,
27237,
14,
19453,
305,
2934,
13,
6359,
62,
9806,
14,
344,
15,
61,
7,
16,
12,
17394,
8,
198,
220,
220,
474,
15,
796,
7377,
118,
9,
7,
344,
15,
9,
7,
6359,
62,
9806,
12,
6359,
15,
4008,
61,
7,
16,
12,
17394,
27493,
6359,
15,
61,
17394,
198,
17772,
198,
220,
220,
474,
15,
796,
38781,
2934,
13,
74,
62,
27237,
9,
7,
28780,
13,
34184,
13,
344,
15,
9,
6359,
15,
9,
7,
19453,
305,
2934,
13,
6359,
62,
9806,
12,
6359,
15,
4008,
61,
7,
16,
12,
19453,
305,
2934,
13,
17394,
8,
198,
437,
198,
198,
2,
4965,
9311,
198,
49,
83,
313,
796,
371,
9,
28780,
13,
34184,
13,
51,
29006,
73,
15,
9,
37,
61,
17,
8,
1343,
38781,
2934,
13,
49,
39750,
198,
2,
49,
83,
313,
796,
371,
9,
28780,
13,
34184,
13,
51,
29006,
73,
15,
9,
28780,
13,
34184,
13,
4093,
62,
32,
9,
37,
8,
1343,
38781,
2934,
13,
49,
39750,
198,
198,
24861,
224,
52,
420,
79,
62,
417,
66,
796,
12440,
13,
34184,
13,
24861,
224,
52,
420,
79,
7,
7469,
11,
138,
116,
20679,
6359,
62,
9806,
1303,
11505,
13588,
32480,
43689,
198,
411,
15,
764,
28,
2488,
13,
532,
18,
9,
24861,
224,
52,
420,
79,
62,
417,
66,
29006,
19453,
305,
2934,
13,
292,
9,
37,
9,
19453,
305,
2934,
13,
43,
9,
28780,
13,
34184,
13,
4093,
62,
32,
9,
19453,
305,
2934,
13,
31273,
8,
1303,
29598,
329,
16825,
9934,
198,
198,
26180,
796,
2488,
13,
38781,
2934,
13,
43,
9,
31166,
17034,
19510,
19453,
305,
2934,
13,
292,
14,
38392,
62,
14822,
10,
19453,
305,
2934,
13,
292,
14,
43000,
62,
14822,
20679,
7,
49,
83,
313,
10,
24861,
224,
52,
420,
79,
62,
417,
66,
9,
7,
19453,
305,
2934,
13,
31273,
29006,
37,
9,
19453,
305,
2934,
13,
30832,
4008,
9,
7,
38006,
71,
7,
19453,
305,
2934,
13,
26638,
20679,
7,
38006,
71,
7,
19453,
305,
2934,
13,
26638,
13219,
19453,
305,
2934,
13,
26638,
35514,
1303,
25559,
26426,
35748,
532,
37430,
13,
604,
13,
1485,
198,
26180,
62,
24861,
252,
796,
2488,
13,
38781,
2934,
13,
43,
9,
31166,
17034,
7,
19453,
305,
2934,
13,
292,
9,
19510,
16,
14,
43000,
62,
14822,
8,
33747,
16,
14,
38392,
62,
14822,
4008,
29006,
49,
83,
313,
4008,
198,
198,
139,
243,
62,
27110,
764,
28,
2488,
13,
38781,
2934,
13,
43,
29006,
28780,
13,
34184,
13,
4093,
62,
32,
9,
26180,
9,
31369,
71,
7,
26180,
4008,
9,
19510,
16,
14,
43000,
62,
14822,
27493,
66,
3768,
7,
26180,
9,
89,
8,
33747,
16,
14,
38392,
62,
14822,
27493,
66,
3768,
7,
26180,
9,
7,
89,
12,
16,
4008,
13219,
411,
15,
14,
82,
1303,
43260,
15553,
532,
37430,
13,
604,
13,
1415,
198,
198,
22570,
62,
27110,
796,
2488,
13,
357,
21,
9,
7,
20,
9,
19453,
305,
2934,
13,
30832,
9,
37,
9,
49,
83,
313,
12,
24861,
224,
52,
420,
79,
62,
417,
66,
9,
19453,
305,
2934,
13,
31273,
27493,
38392,
62,
14822,
20679,
7,
1270,
9,
28780,
13,
34184,
13,
4093,
62,
32,
9,
19453,
305,
2934,
13,
292,
9,
19453,
305,
2934,
13,
30832,
9,
37,
9,
38392,
62,
14822,
9,
19453,
305,
2934,
13,
43,
8,
1343,
357,
20,
9,
19453,
305,
2934,
13,
292,
9,
19453,
305,
2934,
13,
30832,
9,
37,
9,
19453,
305,
2934,
13,
43,
61,
17,
9,
7,
38392,
62,
14822,
9,
32590,
16,
10,
18,
9,
89,
61,
17,
47762,
43000,
62,
14822,
9,
7,
17,
12,
21,
9,
89,
10,
18,
9,
89,
61,
17,
4008,
20679,
7,
1270,
9,
28780,
13,
34184,
13,
4093,
62,
32,
9,
19453,
305,
2934,
13,
292,
9,
19453,
305,
2934,
13,
30832,
9,
37,
9,
38392,
62,
14822,
9,
43000,
62,
14822,
9,
19453,
305,
2934,
13,
43,
8,
198,
35,
764,
28,
2488,
13,
38781,
2934,
13,
43,
29006,
28780,
13,
34184,
13,
4093,
62,
32,
9,
26180,
62,
24861,
252,
9,
31369,
71,
7,
26180,
62,
24861,
252,
4008,
9,
19510,
16,
14,
43000,
62,
14822,
27493,
66,
3768,
7,
26180,
62,
24861,
252,
9,
89,
8,
33747,
16,
14,
38392,
62,
14822,
27493,
66,
3768,
7,
26180,
62,
24861,
252,
9,
7,
89,
12,
16,
22305,
1303,
2345,
3890,
284,
360,
355,
402,
3784,
24861,
252,
198,
139,
243,
62,
27110,
58,
45299,
19796,
439,
7,
82,
13,
855,
15,
15437,
764,
28,
6632,
62,
27110,
58,
45299,
19796,
439,
7,
82,
13,
855,
15,
15437,
198,
411,
15,
764,
28,
1976,
27498,
7,
13664,
7,
89,
4008,
198,
198,
361,
2896,
6624,
366,
21604,
1,
1303,
25628,
2198,
428,
7822,
198,
220,
220,
18074,
243,
62,
27110,
764,
28,
532,
139,
243,
62,
27110,
198,
220,
220,
360,
764,
28,
532,
35,
198,
437,
198,
198,
437,
198
] | 1.958258 | 1,102 |
# This file is auto-generated by AWSMetadata.jl
using AWS
using AWS.AWSServices: iotsitewise
using AWS.Compat
using AWS.UUIDs
"""
associate_assets(asset_id, child_asset_id, hierarchy_id)
associate_assets(asset_id, child_asset_id, hierarchy_id, params::Dict{String,<:Any})
Associates a child asset with the given parent asset through a hierarchy defined in the
parent asset's model. For more information, see Associating assets in the IoT SiteWise User
Guide.
# Arguments
- `asset_id`: The ID of the parent asset.
- `child_asset_id`: The ID of the child asset to be associated.
- `hierarchy_id`: The ID of a hierarchy in the parent asset's model. Hierarchies allow
different groupings of assets to be formed that all come from the same asset model. For
more information, see Asset hierarchies in the IoT SiteWise User Guide.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
associate_assets(assetId, childAssetId, hierarchyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets/$(assetId)/associate", Dict{String, Any}("childAssetId"=>childAssetId, "hierarchyId"=>hierarchyId, "clientToken"=>string(uuid4())); aws_config=aws_config)
associate_assets(assetId, childAssetId, hierarchyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets/$(assetId)/associate", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("childAssetId"=>childAssetId, "hierarchyId"=>hierarchyId, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
batch_associate_project_assets(asset_ids, project_id)
batch_associate_project_assets(asset_ids, project_id, params::Dict{String,<:Any})
Associates a group (batch) of assets with an IoT SiteWise Monitor project.
# Arguments
- `asset_ids`: The IDs of the assets to be associated to the project.
- `project_id`: The ID of the project to which to associate the assets.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
batch_associate_project_assets(assetIds, projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects/$(projectId)/assets/associate", Dict{String, Any}("assetIds"=>assetIds, "clientToken"=>string(uuid4())); aws_config=aws_config)
batch_associate_project_assets(assetIds, projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects/$(projectId)/assets/associate", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetIds"=>assetIds, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
batch_disassociate_project_assets(asset_ids, project_id)
batch_disassociate_project_assets(asset_ids, project_id, params::Dict{String,<:Any})
Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.
# Arguments
- `asset_ids`: The IDs of the assets to be disassociated from the project.
- `project_id`: The ID of the project from which to disassociate the assets.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
batch_disassociate_project_assets(assetIds, projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects/$(projectId)/assets/disassociate", Dict{String, Any}("assetIds"=>assetIds, "clientToken"=>string(uuid4())); aws_config=aws_config)
batch_disassociate_project_assets(assetIds, projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects/$(projectId)/assets/disassociate", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetIds"=>assetIds, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
batch_put_asset_property_value(entries)
batch_put_asset_property_value(entries, params::Dict{String,<:Any})
Sends a list of asset property values to IoT SiteWise. Each value is a
timestamp-quality-value (TQV) data point. For more information, see Ingesting data using
the API in the IoT SiteWise User Guide. To identify an asset property, you must specify one
of the following: The assetId and propertyId of an asset property. A propertyAlias,
which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To
define an asset property's alias, see UpdateAssetProperty. With respect to Unix epoch
time, IoT SiteWise accepts only TQVs that have a timestamp of no more than 7 days in the
past and no more than 10 minutes in the future. IoT SiteWise rejects timestamps outside of
the inclusive range of [-7 days, +10 minutes] and returns a TimestampOutOfRangeException
error. For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps
unless the newer TQV has a different quality. For example, if you store a TQV {T1, GOOD,
V1}, then storing {T1, GOOD, V2} replaces the existing TQV. IoT SiteWise authorizes access
to each BatchPutAssetPropertyValue entry individually. For more information, see
BatchPutAssetPropertyValue authorization in the IoT SiteWise User Guide.
# Arguments
- `entries`: The list of asset property value entries for the batch put request. You can
specify up to 10 entries per request.
"""
batch_put_asset_property_value(entries; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/properties", Dict{String, Any}("entries"=>entries); aws_config=aws_config)
batch_put_asset_property_value(entries, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/properties", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("entries"=>entries), params)); aws_config=aws_config)
"""
create_access_policy(access_policy_identity, access_policy_permission, access_policy_resource)
create_access_policy(access_policy_identity, access_policy_permission, access_policy_resource, params::Dict{String,<:Any})
Creates an access policy that grants the specified identity (Amazon Web Services SSO user,
Amazon Web Services SSO group, or IAM user) access to the specified IoT SiteWise Monitor
portal or project resource.
# Arguments
- `access_policy_identity`: The identity for this access policy. Choose an Amazon Web
Services SSO user, an Amazon Web Services SSO group, or an IAM user.
- `access_policy_permission`: The permission level for this access policy. Note that a
project ADMINISTRATOR is also known as a project owner.
- `access_policy_resource`: The IoT SiteWise Monitor resource for this access policy.
Choose either a portal or a project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"tags"`: A list of key-value pairs that contain metadata for the access policy. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_access_policy(accessPolicyIdentity, accessPolicyPermission, accessPolicyResource; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/access-policies", Dict{String, Any}("accessPolicyIdentity"=>accessPolicyIdentity, "accessPolicyPermission"=>accessPolicyPermission, "accessPolicyResource"=>accessPolicyResource, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_access_policy(accessPolicyIdentity, accessPolicyPermission, accessPolicyResource, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/access-policies", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("accessPolicyIdentity"=>accessPolicyIdentity, "accessPolicyPermission"=>accessPolicyPermission, "accessPolicyResource"=>accessPolicyResource, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
create_asset(asset_model_id, asset_name)
create_asset(asset_model_id, asset_name, params::Dict{String,<:Any})
Creates an asset from an existing asset model. For more information, see Creating assets in
the IoT SiteWise User Guide.
# Arguments
- `asset_model_id`: The ID of the asset model from which to create the asset.
- `asset_name`: A unique, friendly name for the asset.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"tags"`: A list of key-value pairs that contain metadata for the asset. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_asset(assetModelId, assetName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets", Dict{String, Any}("assetModelId"=>assetModelId, "assetName"=>assetName, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_asset(assetModelId, assetName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetModelId"=>assetModelId, "assetName"=>assetName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
create_asset_model(asset_model_name)
create_asset_model(asset_model_name, params::Dict{String,<:Any})
Creates an asset model from specified property and hierarchy definitions. You create assets
from asset models. With asset models, you can easily create assets of the same type that
have standardized definitions. Each asset created from a model inherits the asset model's
property and hierarchy definitions. For more information, see Defining asset models in the
IoT SiteWise User Guide.
# Arguments
- `asset_model_name`: A unique, friendly name for the asset model.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetModelCompositeModels"`: The composite asset models that are part of this asset
model. Composite asset models are asset models that contain specific properties. Each
composite model has a type that defines the properties that the composite model supports.
Use composite asset models to define alarms on this asset model.
- `"assetModelDescription"`: A description for the asset model.
- `"assetModelHierarchies"`: The hierarchy definitions of the asset model. Each hierarchy
specifies an asset model whose assets can be children of any other assets created from this
asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in
the IoT SiteWise User Guide.
- `"assetModelProperties"`: The property definitions of the asset model. For more
information, see Asset properties in the IoT SiteWise User Guide. You can specify up to 200
properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"tags"`: A list of key-value pairs that contain metadata for the asset model. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_asset_model(assetModelName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/asset-models", Dict{String, Any}("assetModelName"=>assetModelName, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_asset_model(assetModelName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/asset-models", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetModelName"=>assetModelName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
create_dashboard(dashboard_definition, dashboard_name, project_id)
create_dashboard(dashboard_definition, dashboard_name, project_id, params::Dict{String,<:Any})
Creates a dashboard in an IoT SiteWise Monitor project.
# Arguments
- `dashboard_definition`: The dashboard definition specified in a JSON literal. For
detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
- `dashboard_name`: A friendly name for the dashboard.
- `project_id`: The ID of the project in which to create the dashboard.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"dashboardDescription"`: A description for the dashboard.
- `"tags"`: A list of key-value pairs that contain metadata for the dashboard. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_dashboard(dashboardDefinition, dashboardName, projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/dashboards", Dict{String, Any}("dashboardDefinition"=>dashboardDefinition, "dashboardName"=>dashboardName, "projectId"=>projectId, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_dashboard(dashboardDefinition, dashboardName, projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/dashboards", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("dashboardDefinition"=>dashboardDefinition, "dashboardName"=>dashboardName, "projectId"=>projectId, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
create_gateway(gateway_name, gateway_platform)
create_gateway(gateway_name, gateway_platform, params::Dict{String,<:Any})
Creates a gateway, which is a virtual or edge device that delivers industrial data streams
from local servers to IoT SiteWise. For more information, see Ingesting data using a
gateway in the IoT SiteWise User Guide.
# Arguments
- `gateway_name`: A unique, friendly name for the gateway.
- `gateway_platform`: The gateway's platform. You can only specify one platform in a
gateway.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"tags"`: A list of key-value pairs that contain metadata for the gateway. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_gateway(gatewayName, gatewayPlatform; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/20200301/gateways", Dict{String, Any}("gatewayName"=>gatewayName, "gatewayPlatform"=>gatewayPlatform); aws_config=aws_config)
create_gateway(gatewayName, gatewayPlatform, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/20200301/gateways", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("gatewayName"=>gatewayName, "gatewayPlatform"=>gatewayPlatform), params)); aws_config=aws_config)
"""
create_portal(portal_contact_email, portal_name, role_arn)
create_portal(portal_contact_email, portal_name, role_arn, params::Dict{String,<:Any})
Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor uses
Amazon Web Services SSO or IAM to authenticate portal users and manage user permissions.
Before you can sign in to a new portal, you must add at least one identity to that portal.
For more information, see Adding or removing portal administrators in the IoT SiteWise User
Guide.
# Arguments
- `portal_contact_email`: The Amazon Web Services administrator's contact email address.
- `portal_name`: A friendly name for the portal.
- `role_arn`: The ARN of a service role that allows the portal's users to access your IoT
SiteWise resources on your behalf. For more information, see Using service roles for IoT
SiteWise Monitor in the IoT SiteWise User Guide.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"alarms"`: Contains the configuration information of an alarm created in an IoT SiteWise
Monitor portal. You can use the alarm to monitor an asset property and get notified when
the asset property value is outside a specified range. For more information, see Monitoring
with alarms in the IoT SiteWise Application Guide.
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"notificationSenderEmail"`: The email address that sends alarm notifications. If you
use the IoT Events managed Lambda function to manage your emails, you must verify the
sender email address in Amazon SES.
- `"portalAuthMode"`: The service to use to authenticate users to the portal. Choose from
the following options: SSO – The portal uses Amazon Web Services Single Sign On to
authenticate users and manage user permissions. Before you can create a portal that uses
Amazon Web Services SSO, you must enable Amazon Web Services SSO. For more information, see
Enabling Amazon Web Services SSO in the IoT SiteWise User Guide. This option is only
available in Amazon Web Services Regions other than the China Regions. IAM – The
portal uses Identity and Access Management to authenticate users and manage user
permissions. This option is only available in the China Regions. You can't change this
value after you create a portal. Default: SSO
- `"portalDescription"`: A description for the portal.
- `"portalLogoImageFile"`: A logo image to display in the portal. Upload a square,
high-resolution image. The image is displayed on a dark background.
- `"tags"`: A list of key-value pairs that contain metadata for the portal. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_portal(portalContactEmail, portalName, roleArn; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/portals", Dict{String, Any}("portalContactEmail"=>portalContactEmail, "portalName"=>portalName, "roleArn"=>roleArn, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_portal(portalContactEmail, portalName, roleArn, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/portals", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("portalContactEmail"=>portalContactEmail, "portalName"=>portalName, "roleArn"=>roleArn, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
create_project(portal_id, project_name)
create_project(portal_id, project_name, params::Dict{String,<:Any})
Creates a project in the specified portal.
# Arguments
- `portal_id`: The ID of the portal in which to create the project.
- `project_name`: A friendly name for the project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"projectDescription"`: A description for the project.
- `"tags"`: A list of key-value pairs that contain metadata for the project. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
create_project(portalId, projectName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects", Dict{String, Any}("portalId"=>portalId, "projectName"=>projectName, "clientToken"=>string(uuid4())); aws_config=aws_config)
create_project(portalId, projectName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/projects", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("portalId"=>portalId, "projectName"=>projectName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_access_policy(access_policy_id)
delete_access_policy(access_policy_id, params::Dict{String,<:Any})
Deletes an access policy that grants the specified identity access to the specified IoT
SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise
Monitor resource.
# Arguments
- `access_policy_id`: The ID of the access policy to be deleted.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_access_policy(accessPolicyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/access-policies/$(accessPolicyId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_access_policy(accessPolicyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/access-policies/$(accessPolicyId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_asset(asset_id)
delete_asset(asset_id, params::Dict{String,<:Any})
Deletes an asset. This action can't be undone. For more information, see Deleting assets
and models in the IoT SiteWise User Guide. You can't delete an asset that's associated to
another asset. For more information, see DisassociateAssets.
# Arguments
- `asset_id`: The ID of the asset to delete.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_asset(assetId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/assets/$(assetId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_asset(assetId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/assets/$(assetId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_asset_model(asset_model_id)
delete_asset_model(asset_model_id, params::Dict{String,<:Any})
Deletes an asset model. This action can't be undone. You must delete all assets created
from an asset model before you can delete the model. Also, you can't delete an asset model
if a parent asset model exists that contains a property formula expression that depends on
the asset model that you want to delete. For more information, see Deleting assets and
models in the IoT SiteWise User Guide.
# Arguments
- `asset_model_id`: The ID of the asset model to delete.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_asset_model(assetModelId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/asset-models/$(assetModelId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_asset_model(assetModelId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/asset-models/$(assetModelId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_dashboard(dashboard_id)
delete_dashboard(dashboard_id, params::Dict{String,<:Any})
Deletes a dashboard from IoT SiteWise Monitor.
# Arguments
- `dashboard_id`: The ID of the dashboard to delete.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_dashboard(dashboardId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/dashboards/$(dashboardId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_dashboard(dashboardId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/dashboards/$(dashboardId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_gateway(gateway_id)
delete_gateway(gateway_id, params::Dict{String,<:Any})
Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's files
remain in your gateway's file system.
# Arguments
- `gateway_id`: The ID of the gateway to delete.
"""
delete_gateway(gatewayId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/20200301/gateways/$(gatewayId)"; aws_config=aws_config)
delete_gateway(gatewayId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/20200301/gateways/$(gatewayId)", params; aws_config=aws_config)
"""
delete_portal(portal_id)
delete_portal(portal_id, params::Dict{String,<:Any})
Deletes a portal from IoT SiteWise Monitor.
# Arguments
- `portal_id`: The ID of the portal to delete.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_portal(portalId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/portals/$(portalId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_portal(portalId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/portals/$(portalId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
delete_project(project_id)
delete_project(project_id, params::Dict{String,<:Any})
Deletes a project from IoT SiteWise Monitor.
# Arguments
- `project_id`: The ID of the project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
delete_project(projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/projects/$(projectId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
delete_project(projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/projects/$(projectId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
describe_access_policy(access_policy_id)
describe_access_policy(access_policy_id, params::Dict{String,<:Any})
Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor
portal or project.
# Arguments
- `access_policy_id`: The ID of the access policy.
"""
describe_access_policy(accessPolicyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/access-policies/$(accessPolicyId)"; aws_config=aws_config)
describe_access_policy(accessPolicyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/access-policies/$(accessPolicyId)", params; aws_config=aws_config)
"""
describe_asset(asset_id)
describe_asset(asset_id, params::Dict{String,<:Any})
Retrieves information about an asset.
# Arguments
- `asset_id`: The ID of the asset.
"""
describe_asset(assetId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)"; aws_config=aws_config)
describe_asset(assetId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)", params; aws_config=aws_config)
"""
describe_asset_model(asset_model_id)
describe_asset_model(asset_model_id, params::Dict{String,<:Any})
Retrieves information about an asset model.
# Arguments
- `asset_model_id`: The ID of the asset model.
"""
describe_asset_model(assetModelId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/asset-models/$(assetModelId)"; aws_config=aws_config)
describe_asset_model(assetModelId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/asset-models/$(assetModelId)", params; aws_config=aws_config)
"""
describe_asset_property(asset_id, property_id)
describe_asset_property(asset_id, property_id, params::Dict{String,<:Any})
Retrieves information about an asset property. When you call this operation for an
attribute property, this response includes the default attribute value that you define in
the asset model. If you update the default value in the model, this operation's response
includes the new default value. This operation doesn't return the value of the asset
property. To get the value of an asset property, use GetAssetPropertyValue.
# Arguments
- `asset_id`: The ID of the asset.
- `property_id`: The ID of the asset property.
"""
describe_asset_property(assetId, propertyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/properties/$(propertyId)"; aws_config=aws_config)
describe_asset_property(assetId, propertyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/properties/$(propertyId)", params; aws_config=aws_config)
"""
describe_dashboard(dashboard_id)
describe_dashboard(dashboard_id, params::Dict{String,<:Any})
Retrieves information about a dashboard.
# Arguments
- `dashboard_id`: The ID of the dashboard.
"""
describe_dashboard(dashboardId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/dashboards/$(dashboardId)"; aws_config=aws_config)
describe_dashboard(dashboardId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/dashboards/$(dashboardId)", params; aws_config=aws_config)
"""
describe_default_encryption_configuration()
describe_default_encryption_configuration(params::Dict{String,<:Any})
Retrieves information about the default encryption configuration for the Amazon Web
Services account in the default or specified Region. For more information, see Key
management in the IoT SiteWise User Guide.
"""
describe_default_encryption_configuration(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/configuration/account/encryption"; aws_config=aws_config)
describe_default_encryption_configuration(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/configuration/account/encryption", params; aws_config=aws_config)
"""
describe_gateway(gateway_id)
describe_gateway(gateway_id, params::Dict{String,<:Any})
Retrieves information about a gateway.
# Arguments
- `gateway_id`: The ID of the gateway device.
"""
describe_gateway(gatewayId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways/$(gatewayId)"; aws_config=aws_config)
describe_gateway(gatewayId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways/$(gatewayId)", params; aws_config=aws_config)
"""
describe_gateway_capability_configuration(capability_namespace, gateway_id)
describe_gateway_capability_configuration(capability_namespace, gateway_id, params::Dict{String,<:Any})
Retrieves information about a gateway capability configuration. Each gateway capability
defines data sources for a gateway. A capability configuration can contain multiple data
source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise
console, all of your OPC-UA sources are stored in one capability configuration. To list all
capability configurations for a gateway, use DescribeGateway.
# Arguments
- `capability_namespace`: The namespace of the capability configuration. For example, if
you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability
configuration has the namespace iotsitewise:opcuacollector:version, where version is a
number such as 1.
- `gateway_id`: The ID of the gateway that defines the capability configuration.
"""
describe_gateway_capability_configuration(capabilityNamespace, gatewayId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways/$(gatewayId)/capability/$(capabilityNamespace)"; aws_config=aws_config)
describe_gateway_capability_configuration(capabilityNamespace, gatewayId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways/$(gatewayId)/capability/$(capabilityNamespace)", params; aws_config=aws_config)
"""
describe_logging_options()
describe_logging_options(params::Dict{String,<:Any})
Retrieves the current IoT SiteWise logging options.
"""
describe_logging_options(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/logging"; aws_config=aws_config)
describe_logging_options(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/logging", params; aws_config=aws_config)
"""
describe_portal(portal_id)
describe_portal(portal_id, params::Dict{String,<:Any})
Retrieves information about a portal.
# Arguments
- `portal_id`: The ID of the portal.
"""
describe_portal(portalId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/portals/$(portalId)"; aws_config=aws_config)
describe_portal(portalId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/portals/$(portalId)", params; aws_config=aws_config)
"""
describe_project(project_id)
describe_project(project_id, params::Dict{String,<:Any})
Retrieves information about a project.
# Arguments
- `project_id`: The ID of the project.
"""
describe_project(projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects/$(projectId)"; aws_config=aws_config)
describe_project(projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects/$(projectId)", params; aws_config=aws_config)
"""
describe_storage_configuration()
describe_storage_configuration(params::Dict{String,<:Any})
Retrieves information about the storage configuration for IoT SiteWise.
"""
describe_storage_configuration(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/configuration/account/storage"; aws_config=aws_config)
describe_storage_configuration(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/configuration/account/storage", params; aws_config=aws_config)
"""
disassociate_assets(asset_id, child_asset_id, hierarchy_id)
disassociate_assets(asset_id, child_asset_id, hierarchy_id, params::Dict{String,<:Any})
Disassociates a child asset from the given parent asset through a hierarchy defined in the
parent asset's model.
# Arguments
- `asset_id`: The ID of the parent asset from which to disassociate the child asset.
- `child_asset_id`: The ID of the child asset to disassociate.
- `hierarchy_id`: The ID of a hierarchy in the parent asset's model. Hierarchies allow
different groupings of assets to be formed that all come from the same asset model. You can
use the hierarchy ID to identify the correct asset to disassociate. For more information,
see Asset hierarchies in the IoT SiteWise User Guide.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
disassociate_assets(assetId, childAssetId, hierarchyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets/$(assetId)/disassociate", Dict{String, Any}("childAssetId"=>childAssetId, "hierarchyId"=>hierarchyId, "clientToken"=>string(uuid4())); aws_config=aws_config)
disassociate_assets(assetId, childAssetId, hierarchyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/assets/$(assetId)/disassociate", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("childAssetId"=>childAssetId, "hierarchyId"=>hierarchyId, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
get_asset_property_aggregates(aggregate_types, end_date, resolution, start_date)
get_asset_property_aggregates(aggregate_types, end_date, resolution, start_date, params::Dict{String,<:Any})
Gets aggregated values for an asset property. For more information, see Querying aggregates
in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the
following: The assetId and propertyId of an asset property. A propertyAlias, which is a
data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an
asset property's alias, see UpdateAssetProperty.
# Arguments
- `aggregate_types`: The data aggregating function.
- `end_date`: The inclusive end of the range from which to query historical data, expressed
in seconds in Unix epoch time.
- `resolution`: The time interval over which to aggregate data.
- `start_date`: The exclusive start of the range from which to query historical data,
expressed in seconds in Unix epoch time.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetId"`: The ID of the asset.
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 100
- `"nextToken"`: The token to be used for the next set of paginated results.
- `"propertyAlias"`: The alias that identifies the property, such as an OPC-UA server data
stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information,
see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
- `"propertyId"`: The ID of the asset property.
- `"qualities"`: The quality by which to filter asset data.
- `"timeOrdering"`: The chronological sorting order of the requested information. Default:
ASCENDING
"""
get_asset_property_aggregates(aggregateTypes, endDate, resolution, startDate; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/aggregates", Dict{String, Any}("aggregateTypes"=>aggregateTypes, "endDate"=>endDate, "resolution"=>resolution, "startDate"=>startDate); aws_config=aws_config)
get_asset_property_aggregates(aggregateTypes, endDate, resolution, startDate, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/aggregates", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("aggregateTypes"=>aggregateTypes, "endDate"=>endDate, "resolution"=>resolution, "startDate"=>startDate), params)); aws_config=aws_config)
"""
get_asset_property_value()
get_asset_property_value(params::Dict{String,<:Any})
Gets an asset property's current value. For more information, see Querying current values
in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the
following: The assetId and propertyId of an asset property. A propertyAlias, which is a
data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an
asset property's alias, see UpdateAssetProperty.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetId"`: The ID of the asset.
- `"propertyAlias"`: The alias that identifies the property, such as an OPC-UA server data
stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information,
see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
- `"propertyId"`: The ID of the asset property.
"""
get_asset_property_value(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/latest"; aws_config=aws_config)
get_asset_property_value(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/latest", params; aws_config=aws_config)
"""
get_asset_property_value_history()
get_asset_property_value_history(params::Dict{String,<:Any})
Gets the history of an asset property's values. For more information, see Querying
historical values in the IoT SiteWise User Guide. To identify an asset property, you must
specify one of the following: The assetId and propertyId of an asset property. A
propertyAlias, which is a data stream alias (for example,
/company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see
UpdateAssetProperty.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetId"`: The ID of the asset.
- `"endDate"`: The inclusive end of the range from which to query historical data,
expressed in seconds in Unix epoch time.
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 100
- `"nextToken"`: The token to be used for the next set of paginated results.
- `"propertyAlias"`: The alias that identifies the property, such as an OPC-UA server data
stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information,
see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
- `"propertyId"`: The ID of the asset property.
- `"qualities"`: The quality by which to filter asset data.
- `"startDate"`: The exclusive start of the range from which to query historical data,
expressed in seconds in Unix epoch time.
- `"timeOrdering"`: The chronological sorting order of the requested information. Default:
ASCENDING
"""
get_asset_property_value_history(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/history"; aws_config=aws_config)
get_asset_property_value_history(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/history", params; aws_config=aws_config)
"""
get_interpolated_asset_property_values(end_time_in_seconds, interval_in_seconds, quality, start_time_in_seconds, type)
get_interpolated_asset_property_values(end_time_in_seconds, interval_in_seconds, quality, start_time_in_seconds, type, params::Dict{String,<:Any})
Get interpolated values for an asset property for a specified time interval, during a
period of time. For example, you can use the this operation to return the interpolated
temperature values for a wind turbine every 24 hours over a duration of 7 days. To identify
an asset property, you must specify one of the following: The assetId and propertyId of
an asset property. A propertyAlias, which is a data stream alias (for example,
/company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see
UpdateAssetProperty.
# Arguments
- `end_time_in_seconds`: The inclusive end of the range from which to interpolate data,
expressed in seconds in Unix epoch time.
- `interval_in_seconds`: The time interval in seconds over which to interpolate data. Each
interval starts when the previous one ends.
- `quality`: The quality of the asset property value. You can use this parameter as a
filter to choose only the asset property values that have a specific quality.
- `start_time_in_seconds`: The exclusive start of the range from which to interpolate data,
expressed in seconds in Unix epoch time.
- `type`: The interpolation type. Valid values: LINEAR_INTERPOLATION
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetId"`: The ID of the asset.
- `"endTimeOffsetInNanos"`: The nanosecond offset converted from endTimeInSeconds.
- `"maxResults"`: The maximum number of results to return for each paginated request. If
not specified, the default value is 10.
- `"nextToken"`: The token to be used for the next set of paginated results.
- `"propertyAlias"`: The alias that identifies the property, such as an OPC-UA server data
stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information,
see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
- `"propertyId"`: The ID of the asset property.
- `"startTimeOffsetInNanos"`: The nanosecond offset converted from startTimeInSeconds.
"""
get_interpolated_asset_property_values(endTimeInSeconds, intervalInSeconds, quality, startTimeInSeconds, type; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/interpolated", Dict{String, Any}("endTimeInSeconds"=>endTimeInSeconds, "intervalInSeconds"=>intervalInSeconds, "quality"=>quality, "startTimeInSeconds"=>startTimeInSeconds, "type"=>type); aws_config=aws_config)
get_interpolated_asset_property_values(endTimeInSeconds, intervalInSeconds, quality, startTimeInSeconds, type, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/properties/interpolated", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("endTimeInSeconds"=>endTimeInSeconds, "intervalInSeconds"=>intervalInSeconds, "quality"=>quality, "startTimeInSeconds"=>startTimeInSeconds, "type"=>type), params)); aws_config=aws_config)
"""
list_access_policies()
list_access_policies(params::Dict{String,<:Any})
Retrieves a paginated list of access policies for an identity (an Amazon Web Services SSO
user, an Amazon Web Services SSO group, or an IAM user) or an IoT SiteWise Monitor resource
(a portal or project).
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"iamArn"`: The ARN of the IAM user. For more information, see IAM ARNs in the IAM User
Guide. This parameter is required if you specify IAM for identityType.
- `"identityId"`: The ID of the identity. This parameter is required if you specify USER or
GROUP for identityType.
- `"identityType"`: The type of identity (Amazon Web Services SSO user, Amazon Web Services
SSO group, or IAM user). This parameter is required if you specify identityId.
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
- `"resourceId"`: The ID of the resource. This parameter is required if you specify
resourceType.
- `"resourceType"`: The type of resource (portal or project). This parameter is required if
you specify resourceId.
"""
list_access_policies(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/access-policies"; aws_config=aws_config)
list_access_policies(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/access-policies", params; aws_config=aws_config)
"""
list_asset_models()
list_asset_models(params::Dict{String,<:Any})
Retrieves a paginated list of summaries of all asset models.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_asset_models(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/asset-models"; aws_config=aws_config)
list_asset_models(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/asset-models", params; aws_config=aws_config)
"""
list_asset_relationships(asset_id, traversal_type)
list_asset_relationships(asset_id, traversal_type, params::Dict{String,<:Any})
Retrieves a paginated list of asset relationships for an asset. You can use this operation
to identify an asset's root asset and all associated assets between that asset and its root.
# Arguments
- `asset_id`: The ID of the asset.
- `traversal_type`: The type of traversal to use to identify asset relationships. Choose
the following option: PATH_TO_ROOT – Identify the asset's parent assets up to the root
asset. The asset that you specify in assetId is the first result in the list of
assetRelationshipSummaries, and the root asset is the last result.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_asset_relationships(assetId, traversalType; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/assetRelationships", Dict{String, Any}("traversalType"=>traversalType); aws_config=aws_config)
list_asset_relationships(assetId, traversalType, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/assetRelationships", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("traversalType"=>traversalType), params)); aws_config=aws_config)
"""
list_assets()
list_assets(params::Dict{String,<:Any})
Retrieves a paginated list of asset summaries. You can use this operation to do the
following: List assets based on a specific asset model. List top-level assets. You
can't use this operation to list all assets. To retrieve summaries for all of your assets,
use ListAssetModels to get all of your asset model IDs. Then, use ListAssets to get all
assets for each asset model.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetModelId"`: The ID of the asset model by which to filter the list of assets. This
parameter is required if you choose ALL for filter.
- `"filter"`: The filter for the requested list of assets. Choose one of the following
options: ALL – The list includes all assets for a given asset model ID. The
assetModelId parameter is required if you filter by ALL. TOP_LEVEL – The list includes
only top-level assets in the asset hierarchy tree. Default: ALL
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_assets(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets"; aws_config=aws_config)
list_assets(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets", params; aws_config=aws_config)
"""
list_associated_assets(asset_id)
list_associated_assets(asset_id, params::Dict{String,<:Any})
Retrieves a paginated list of associated assets. You can use this operation to do the
following: List child assets associated to a parent asset by a hierarchy that you
specify. List an asset's parent asset.
# Arguments
- `asset_id`: The ID of the asset to query.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"hierarchyId"`: The ID of the hierarchy by which child assets are associated to the
asset. To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This
parameter is required if you choose CHILD for traversalDirection. For more information, see
Asset hierarchies in the IoT SiteWise User Guide.
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
- `"traversalDirection"`: The direction to list associated assets. Choose one of the
following options: CHILD – The list includes all child assets associated to the asset.
The hierarchyId parameter is required if you choose CHILD. PARENT – The list includes
the asset's parent asset. Default: CHILD
"""
list_associated_assets(assetId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/hierarchies"; aws_config=aws_config)
list_associated_assets(assetId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/assets/$(assetId)/hierarchies", params; aws_config=aws_config)
"""
list_dashboards(project_id)
list_dashboards(project_id, params::Dict{String,<:Any})
Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.
# Arguments
- `project_id`: The ID of the project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_dashboards(projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/dashboards", Dict{String, Any}("projectId"=>projectId); aws_config=aws_config)
list_dashboards(projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/dashboards", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("projectId"=>projectId), params)); aws_config=aws_config)
"""
list_gateways()
list_gateways(params::Dict{String,<:Any})
Retrieves a paginated list of gateways.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_gateways(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways"; aws_config=aws_config)
list_gateways(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/20200301/gateways", params; aws_config=aws_config)
"""
list_portals()
list_portals(params::Dict{String,<:Any})
Retrieves a paginated list of IoT SiteWise Monitor portals.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_portals(; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/portals"; aws_config=aws_config)
list_portals(params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/portals", params; aws_config=aws_config)
"""
list_project_assets(project_id)
list_project_assets(project_id, params::Dict{String,<:Any})
Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.
# Arguments
- `project_id`: The ID of the project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_project_assets(projectId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects/$(projectId)/assets"; aws_config=aws_config)
list_project_assets(projectId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects/$(projectId)/assets", params; aws_config=aws_config)
"""
list_projects(portal_id)
list_projects(portal_id, params::Dict{String,<:Any})
Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.
# Arguments
- `portal_id`: The ID of the portal.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"maxResults"`: The maximum number of results to return for each paginated request.
Default: 50
- `"nextToken"`: The token to be used for the next set of paginated results.
"""
list_projects(portalId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects", Dict{String, Any}("portalId"=>portalId); aws_config=aws_config)
list_projects(portalId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/projects", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("portalId"=>portalId), params)); aws_config=aws_config)
"""
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Retrieves the list of tags for an IoT SiteWise resource.
# Arguments
- `resource_arn`: The ARN of the resource.
"""
list_tags_for_resource(resourceArn; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/tags", Dict{String, Any}("resourceArn"=>resourceArn); aws_config=aws_config)
list_tags_for_resource(resourceArn, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("GET", "/tags", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceArn"=>resourceArn), params)); aws_config=aws_config)
"""
put_default_encryption_configuration(encryption_type)
put_default_encryption_configuration(encryption_type, params::Dict{String,<:Any})
Sets the default encryption configuration for the Amazon Web Services account. For more
information, see Key management in the IoT SiteWise User Guide.
# Arguments
- `encryption_type`: The type of encryption used for the encryption configuration.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"kmsKeyId"`: The Key ID of the customer managed customer master key (CMK) used for KMS
encryption. This is required if you use KMS_BASED_ENCRYPTION.
"""
put_default_encryption_configuration(encryptionType; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/configuration/account/encryption", Dict{String, Any}("encryptionType"=>encryptionType); aws_config=aws_config)
put_default_encryption_configuration(encryptionType, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/configuration/account/encryption", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("encryptionType"=>encryptionType), params)); aws_config=aws_config)
"""
put_logging_options(logging_options)
put_logging_options(logging_options, params::Dict{String,<:Any})
Sets logging options for IoT SiteWise.
# Arguments
- `logging_options`: The logging options to set.
"""
put_logging_options(loggingOptions; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/logging", Dict{String, Any}("loggingOptions"=>loggingOptions); aws_config=aws_config)
put_logging_options(loggingOptions, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/logging", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("loggingOptions"=>loggingOptions), params)); aws_config=aws_config)
"""
put_storage_configuration(storage_type)
put_storage_configuration(storage_type, params::Dict{String,<:Any})
Configures storage settings for IoT SiteWise.
# Arguments
- `storage_type`: The type of storage that you specified for your data. The storage type
can be one of the following values: SITEWISE_DEFAULT_STORAGE – IoT SiteWise replicates
your data into a service managed database. MULTI_LAYER_STORAGE – IoT SiteWise
replicates your data into a service managed database and saves a copy of your raw data and
metadata in an Amazon S3 object that you specified.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"multiLayerStorage"`: Identifies a storage destination. If you specified
MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.
"""
put_storage_configuration(storageType; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/configuration/account/storage", Dict{String, Any}("storageType"=>storageType); aws_config=aws_config)
put_storage_configuration(storageType, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/configuration/account/storage", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("storageType"=>storageType), params)); aws_config=aws_config)
"""
tag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this
operation updates the tag's value.
# Arguments
- `resource_arn`: The ARN of the resource to tag.
- `tags`: A list of key-value pairs that contain metadata for the resource. For more
information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
"""
tag_resource(resourceArn, tags; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/tags", Dict{String, Any}("resourceArn"=>resourceArn, "tags"=>tags); aws_config=aws_config)
tag_resource(resourceArn, tags, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/tags", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceArn"=>resourceArn, "tags"=>tags), params)); aws_config=aws_config)
"""
untag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes a tag from an IoT SiteWise resource.
# Arguments
- `resource_arn`: The ARN of the resource to untag.
- `tag_keys`: A list of keys for tags to remove from the resource.
"""
untag_resource(resourceArn, tagKeys; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/tags", Dict{String, Any}("resourceArn"=>resourceArn, "tagKeys"=>tagKeys); aws_config=aws_config)
untag_resource(resourceArn, tagKeys, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("DELETE", "/tags", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceArn"=>resourceArn, "tagKeys"=>tagKeys), params)); aws_config=aws_config)
"""
update_access_policy(access_policy_id, access_policy_identity, access_policy_permission, access_policy_resource)
update_access_policy(access_policy_id, access_policy_identity, access_policy_permission, access_policy_resource, params::Dict{String,<:Any})
Updates an existing access policy that specifies an identity's access to an IoT SiteWise
Monitor portal or project resource.
# Arguments
- `access_policy_id`: The ID of the access policy.
- `access_policy_identity`: The identity for this access policy. Choose an Amazon Web
Services SSO user, an Amazon Web Services SSO group, or an IAM user.
- `access_policy_permission`: The permission level for this access policy. Note that a
project ADMINISTRATOR is also known as a project owner.
- `access_policy_resource`: The IoT SiteWise Monitor resource for this access policy.
Choose either a portal or a project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
update_access_policy(accessPolicyId, accessPolicyIdentity, accessPolicyPermission, accessPolicyResource; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/access-policies/$(accessPolicyId)", Dict{String, Any}("accessPolicyIdentity"=>accessPolicyIdentity, "accessPolicyPermission"=>accessPolicyPermission, "accessPolicyResource"=>accessPolicyResource, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_access_policy(accessPolicyId, accessPolicyIdentity, accessPolicyPermission, accessPolicyResource, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/access-policies/$(accessPolicyId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("accessPolicyIdentity"=>accessPolicyIdentity, "accessPolicyPermission"=>accessPolicyPermission, "accessPolicyResource"=>accessPolicyResource, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_asset(asset_id, asset_name)
update_asset(asset_id, asset_name, params::Dict{String,<:Any})
Updates an asset's name. For more information, see Updating assets and models in the IoT
SiteWise User Guide.
# Arguments
- `asset_id`: The ID of the asset to update.
- `asset_name`: A unique, friendly name for the asset.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
update_asset(assetId, assetName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/assets/$(assetId)", Dict{String, Any}("assetName"=>assetName, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_asset(assetId, assetName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/assets/$(assetId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetName"=>assetName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_asset_model(asset_model_id, asset_model_name)
update_asset_model(asset_model_id, asset_model_name, params::Dict{String,<:Any})
Updates an asset model and all of the assets that were created from the model. Each asset
created from the model inherits the updated asset model's property and hierarchy
definitions. For more information, see Updating assets and models in the IoT SiteWise User
Guide. This operation overwrites the existing model with the provided model. To avoid
deleting your asset model's properties or hierarchies, you must include their IDs and
definitions in the updated asset model payload. For more information, see
DescribeAssetModel. If you remove a property from an asset model, IoT SiteWise deletes all
previous data for that property. If you remove a hierarchy definition from an asset model,
IoT SiteWise disassociates every asset associated with that hierarchy. You can't change the
type or data type of an existing property.
# Arguments
- `asset_model_id`: The ID of the asset model to update.
- `asset_model_name`: A unique, friendly name for the asset model.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"assetModelCompositeModels"`: The composite asset models that are part of this asset
model. Composite asset models are asset models that contain specific properties. Each
composite model has a type that defines the properties that the composite model supports.
Use composite asset models to define alarms on this asset model.
- `"assetModelDescription"`: A description for the asset model.
- `"assetModelHierarchies"`: The updated hierarchy definitions of the asset model. Each
hierarchy specifies an asset model whose assets can be children of any other assets created
from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User
Guide. You can specify up to 10 hierarchies per asset model. For more information, see
Quotas in the IoT SiteWise User Guide.
- `"assetModelProperties"`: The updated property definitions of the asset model. For more
information, see Asset properties in the IoT SiteWise User Guide. You can specify up to 200
properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
"""
update_asset_model(assetModelId, assetModelName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/asset-models/$(assetModelId)", Dict{String, Any}("assetModelName"=>assetModelName, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_asset_model(assetModelId, assetModelName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/asset-models/$(assetModelId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("assetModelName"=>assetModelName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_asset_property(asset_id, property_id)
update_asset_property(asset_id, property_id, params::Dict{String,<:Any})
Updates an asset property's alias and notification state. This operation overwrites the
property's existing alias and notification state. To keep your existing property's alias or
notification state, you must include the existing values in the UpdateAssetProperty
request. For more information, see DescribeAssetProperty.
# Arguments
- `asset_id`: The ID of the asset to be updated.
- `property_id`: The ID of the asset property to be updated.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"propertyAlias"`: The alias that identifies the property, such as an OPC-UA server data
stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information,
see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide. If
you omit this parameter, the alias is removed from the property.
- `"propertyNotificationState"`: The MQTT notification state (enabled or disabled) for this
asset property. When the notification state is enabled, IoT SiteWise publishes property
value updates to a unique MQTT topic. For more information, see Interacting with other
services in the IoT SiteWise User Guide. If you omit this parameter, the notification state
is set to DISABLED.
"""
update_asset_property(assetId, propertyId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/assets/$(assetId)/properties/$(propertyId)", Dict{String, Any}("clientToken"=>string(uuid4())); aws_config=aws_config)
update_asset_property(assetId, propertyId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/assets/$(assetId)/properties/$(propertyId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_dashboard(dashboard_definition, dashboard_id, dashboard_name)
update_dashboard(dashboard_definition, dashboard_id, dashboard_name, params::Dict{String,<:Any})
Updates an IoT SiteWise Monitor dashboard.
# Arguments
- `dashboard_definition`: The new dashboard definition, as specified in a JSON literal. For
detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
- `dashboard_id`: The ID of the dashboard to update.
- `dashboard_name`: A new friendly name for the dashboard.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"dashboardDescription"`: A new description for the dashboard.
"""
update_dashboard(dashboardDefinition, dashboardId, dashboardName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/dashboards/$(dashboardId)", Dict{String, Any}("dashboardDefinition"=>dashboardDefinition, "dashboardName"=>dashboardName, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_dashboard(dashboardDefinition, dashboardId, dashboardName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/dashboards/$(dashboardId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("dashboardDefinition"=>dashboardDefinition, "dashboardName"=>dashboardName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_gateway(gateway_id, gateway_name)
update_gateway(gateway_id, gateway_name, params::Dict{String,<:Any})
Updates a gateway's name.
# Arguments
- `gateway_id`: The ID of the gateway to update.
- `gateway_name`: A unique, friendly name for the gateway.
"""
update_gateway(gatewayId, gatewayName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/20200301/gateways/$(gatewayId)", Dict{String, Any}("gatewayName"=>gatewayName); aws_config=aws_config)
update_gateway(gatewayId, gatewayName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/20200301/gateways/$(gatewayId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("gatewayName"=>gatewayName), params)); aws_config=aws_config)
"""
update_gateway_capability_configuration(capability_configuration, capability_namespace, gateway_id)
update_gateway_capability_configuration(capability_configuration, capability_namespace, gateway_id, params::Dict{String,<:Any})
Updates a gateway capability configuration or defines a new capability configuration. Each
gateway capability defines data sources for a gateway. A capability configuration can
contain multiple data source configurations. If you define OPC-UA sources for a gateway in
the IoT SiteWise console, all of your OPC-UA sources are stored in one capability
configuration. To list all capability configurations for a gateway, use DescribeGateway.
# Arguments
- `capability_configuration`: The JSON document that defines the configuration for the
gateway capability. For more information, see Configuring data sources (CLI) in the IoT
SiteWise User Guide.
- `capability_namespace`: The namespace of the gateway capability configuration to be
updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your
OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where
version is a number such as 1.
- `gateway_id`: The ID of the gateway to be updated.
"""
update_gateway_capability_configuration(capabilityConfiguration, capabilityNamespace, gatewayId; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/20200301/gateways/$(gatewayId)/capability", Dict{String, Any}("capabilityConfiguration"=>capabilityConfiguration, "capabilityNamespace"=>capabilityNamespace); aws_config=aws_config)
update_gateway_capability_configuration(capabilityConfiguration, capabilityNamespace, gatewayId, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("POST", "/20200301/gateways/$(gatewayId)/capability", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("capabilityConfiguration"=>capabilityConfiguration, "capabilityNamespace"=>capabilityNamespace), params)); aws_config=aws_config)
"""
update_portal(portal_contact_email, portal_id, portal_name, role_arn)
update_portal(portal_contact_email, portal_id, portal_name, role_arn, params::Dict{String,<:Any})
Updates an IoT SiteWise Monitor portal.
# Arguments
- `portal_contact_email`: The Amazon Web Services administrator's contact email address.
- `portal_id`: The ID of the portal to update.
- `portal_name`: A new friendly name for the portal.
- `role_arn`: The ARN of a service role that allows the portal's users to access your IoT
SiteWise resources on your behalf. For more information, see Using service roles for IoT
SiteWise Monitor in the IoT SiteWise User Guide.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"alarms"`: Contains the configuration information of an alarm created in an IoT SiteWise
Monitor portal. You can use the alarm to monitor an asset property and get notified when
the asset property value is outside a specified range. For more information, see Monitoring
with alarms in the IoT SiteWise Application Guide.
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"notificationSenderEmail"`: The email address that sends alarm notifications.
- `"portalDescription"`: A new description for the portal.
- `"portalLogoImage"`:
"""
update_portal(portalContactEmail, portalId, portalName, roleArn; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/portals/$(portalId)", Dict{String, Any}("portalContactEmail"=>portalContactEmail, "portalName"=>portalName, "roleArn"=>roleArn, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_portal(portalContactEmail, portalId, portalName, roleArn, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/portals/$(portalId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("portalContactEmail"=>portalContactEmail, "portalName"=>portalName, "roleArn"=>roleArn, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
"""
update_project(project_id, project_name)
update_project(project_id, project_name, params::Dict{String,<:Any})
Updates an IoT SiteWise Monitor project.
# Arguments
- `project_id`: The ID of the project to update.
- `project_name`: A new friendly name for the project.
# Optional Parameters
Optional parameters can be passed as a `params::Dict{String,<:Any}`. Valid keys are:
- `"clientToken"`: A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new idempotent request is
required.
- `"projectDescription"`: A new description for the project.
"""
update_project(projectId, projectName; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/projects/$(projectId)", Dict{String, Any}("projectName"=>projectName, "clientToken"=>string(uuid4())); aws_config=aws_config)
update_project(projectId, projectName, params::AbstractDict{String}; aws_config::AbstractAWSConfig=global_aws_config()) = iotsitewise("PUT", "/projects/$(projectId)", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("projectName"=>projectName, "clientToken"=>string(uuid4())), params)); aws_config=aws_config)
| [
2,
770,
2393,
318,
8295,
12,
27568,
416,
30865,
9171,
14706,
13,
20362,
198,
3500,
30865,
198,
3500,
30865,
13,
12298,
5432,
712,
1063,
25,
1312,
1747,
270,
413,
786,
198,
3500,
30865,
13,
40073,
198,
3500,
30865,
13,
52,
27586,
82,
198,
198,
37811,
198,
220,
220,
220,
11602,
62,
19668,
7,
562,
316,
62,
312,
11,
1200,
62,
562,
316,
62,
312,
11,
18911,
62,
312,
8,
198,
220,
220,
220,
11602,
62,
19668,
7,
562,
316,
62,
312,
11,
1200,
62,
562,
316,
62,
312,
11,
18911,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
8021,
1733,
689,
257,
1200,
11171,
351,
262,
1813,
2560,
11171,
832,
257,
18911,
5447,
287,
262,
198,
8000,
11171,
338,
2746,
13,
1114,
517,
1321,
11,
766,
3928,
803,
6798,
287,
262,
38488,
14413,
54,
786,
11787,
198,
47889,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
2560,
11171,
13,
198,
12,
4600,
9410,
62,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
1200,
11171,
284,
307,
3917,
13,
198,
12,
4600,
71,
959,
9282,
62,
312,
63,
25,
383,
4522,
286,
257,
18911,
287,
262,
2560,
11171,
338,
2746,
13,
36496,
998,
444,
1249,
198,
220,
1180,
1448,
654,
286,
6798,
284,
307,
7042,
326,
477,
1282,
422,
262,
976,
11171,
2746,
13,
1114,
198,
220,
517,
1321,
11,
766,
31433,
28398,
444,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
562,
47615,
62,
19668,
7,
562,
316,
7390,
11,
1200,
45869,
7390,
11,
18911,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9410,
45869,
7390,
1,
14804,
9410,
45869,
7390,
11,
366,
71,
959,
9282,
7390,
1,
14804,
71,
959,
9282,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
562,
47615,
62,
19668,
7,
562,
316,
7390,
11,
1200,
45869,
7390,
11,
18911,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9410,
45869,
7390,
1,
14804,
9410,
45869,
7390,
11,
366,
71,
959,
9282,
7390,
1,
14804,
71,
959,
9282,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
15458,
62,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
62,
2340,
11,
1628,
62,
312,
8,
198,
220,
220,
220,
15458,
62,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
62,
2340,
11,
1628,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
8021,
1733,
689,
257,
1448,
357,
43501,
8,
286,
6798,
351,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
2340,
63,
25,
383,
32373,
286,
262,
6798,
284,
307,
3917,
284,
262,
1628,
13,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
284,
543,
284,
11602,
262,
6798,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
43501,
62,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
7390,
82,
11,
1628,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
14,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
7390,
82,
1,
14804,
562,
316,
7390,
82,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
43501,
62,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
7390,
82,
11,
1628,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
14,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
7390,
82,
1,
14804,
562,
316,
7390,
82,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
15458,
62,
6381,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
62,
2340,
11,
1628,
62,
312,
8,
198,
220,
220,
220,
15458,
62,
6381,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
62,
2340,
11,
1628,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
7279,
562,
1733,
689,
257,
1448,
357,
43501,
8,
286,
6798,
422,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
2340,
63,
25,
383,
32373,
286,
262,
6798,
284,
307,
595,
32852,
422,
262,
1628,
13,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
422,
543,
284,
595,
562,
47615,
262,
6798,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
43501,
62,
6381,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
7390,
82,
11,
1628,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
14,
6381,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
7390,
82,
1,
14804,
562,
316,
7390,
82,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
43501,
62,
6381,
562,
47615,
62,
16302,
62,
19668,
7,
562,
316,
7390,
82,
11,
1628,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
14,
6381,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
7390,
82,
1,
14804,
562,
316,
7390,
82,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
15458,
62,
1996,
62,
562,
316,
62,
26745,
62,
8367,
7,
298,
1678,
8,
198,
220,
220,
220,
15458,
62,
1996,
62,
562,
316,
62,
26745,
62,
8367,
7,
298,
1678,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
50,
2412,
257,
1351,
286,
11171,
3119,
3815,
284,
38488,
14413,
54,
786,
13,
5501,
1988,
318,
257,
198,
16514,
27823,
12,
13237,
12,
8367,
357,
51,
48,
53,
8,
1366,
966,
13,
1114,
517,
1321,
11,
766,
554,
3495,
278,
1366,
1262,
198,
1169,
7824,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1675,
5911,
281,
11171,
3119,
11,
345,
1276,
11986,
530,
198,
1659,
262,
1708,
25,
220,
220,
383,
11171,
7390,
290,
3119,
7390,
286,
281,
11171,
3119,
13,
220,
220,
317,
3119,
40489,
11,
198,
4758,
318,
257,
1366,
4269,
16144,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1675,
198,
13086,
281,
11171,
3119,
338,
16144,
11,
766,
10133,
45869,
21746,
13,
220,
220,
220,
2080,
2461,
284,
33501,
36835,
198,
2435,
11,
38488,
14413,
54,
786,
18178,
691,
309,
48,
23266,
326,
423,
257,
41033,
286,
645,
517,
621,
767,
1528,
287,
262,
198,
30119,
290,
645,
517,
621,
838,
2431,
287,
262,
2003,
13,
38488,
14413,
54,
786,
28317,
4628,
395,
9430,
2354,
286,
198,
1169,
19889,
2837,
286,
25915,
22,
1528,
11,
1343,
940,
2431,
60,
290,
5860,
257,
5045,
27823,
7975,
5189,
17257,
16922,
198,
18224,
13,
1114,
1123,
11171,
3119,
11,
38488,
14413,
54,
786,
6993,
23156,
309,
48,
23266,
351,
23418,
4628,
395,
9430,
198,
25252,
262,
15064,
309,
48,
53,
468,
257,
1180,
3081,
13,
1114,
1672,
11,
611,
345,
3650,
257,
309,
48,
53,
1391,
51,
16,
11,
21090,
11,
198,
53,
16,
5512,
788,
23069,
1391,
51,
16,
11,
21090,
11,
569,
17,
92,
24020,
262,
4683,
309,
48,
53,
13,
220,
38488,
14413,
54,
786,
1772,
4340,
1895,
198,
1462,
1123,
347,
963,
11588,
45869,
21746,
11395,
5726,
17033,
13,
1114,
517,
1321,
11,
766,
198,
33,
963,
11588,
45869,
21746,
11395,
19601,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
298,
1678,
63,
25,
383,
1351,
286,
11171,
3119,
1988,
12784,
329,
262,
15458,
1234,
2581,
13,
921,
460,
198,
220,
11986,
510,
284,
838,
12784,
583,
2581,
13,
198,
198,
37811,
198,
43501,
62,
1996,
62,
562,
316,
62,
26745,
62,
8367,
7,
298,
1678,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
48310,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
298,
1678,
1,
14804,
298,
1678,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
43501,
62,
1996,
62,
562,
316,
62,
26745,
62,
8367,
7,
298,
1678,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
48310,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
298,
1678,
1,
14804,
298,
1678,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
738,
414,
11,
1895,
62,
30586,
62,
525,
3411,
11,
1895,
62,
30586,
62,
31092,
8,
198,
220,
220,
220,
2251,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
738,
414,
11,
1895,
62,
30586,
62,
525,
3411,
11,
1895,
62,
30586,
62,
31092,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
281,
1895,
2450,
326,
11455,
262,
7368,
5369,
357,
24888,
5313,
6168,
6723,
46,
2836,
11,
198,
24888,
5313,
6168,
6723,
46,
1448,
11,
393,
314,
2390,
2836,
8,
1895,
284,
262,
7368,
38488,
14413,
54,
786,
18289,
198,
634,
282,
393,
1628,
8271,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
15526,
62,
30586,
62,
738,
414,
63,
25,
383,
5369,
329,
428,
1895,
2450,
13,
17489,
281,
6186,
5313,
198,
220,
6168,
6723,
46,
2836,
11,
281,
6186,
5313,
6168,
6723,
46,
1448,
11,
393,
281,
314,
2390,
2836,
13,
198,
12,
4600,
15526,
62,
30586,
62,
525,
3411,
63,
25,
383,
7170,
1241,
329,
428,
1895,
2450,
13,
5740,
326,
257,
198,
220,
1628,
5984,
23678,
1797,
5446,
25633,
318,
635,
1900,
355,
257,
1628,
4870,
13,
198,
12,
4600,
15526,
62,
30586,
62,
31092,
63,
25,
383,
38488,
14413,
54,
786,
18289,
8271,
329,
428,
1895,
2450,
13,
198,
220,
17489,
2035,
257,
17898,
393,
257,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
1895,
2450,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
26858,
11,
1895,
36727,
5990,
3411,
11,
1895,
36727,
26198,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
15526,
12,
79,
4160,
444,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
15526,
36727,
7390,
26858,
1,
14804,
15526,
36727,
7390,
26858,
11,
366,
15526,
36727,
5990,
3411,
1,
14804,
15526,
36727,
5990,
3411,
11,
366,
15526,
36727,
26198,
1,
14804,
15526,
36727,
26198,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
26858,
11,
1895,
36727,
5990,
3411,
11,
1895,
36727,
26198,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
15526,
12,
79,
4160,
444,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
15526,
36727,
7390,
26858,
1,
14804,
15526,
36727,
7390,
26858,
11,
366,
15526,
36727,
5990,
3411,
1,
14804,
15526,
36727,
5990,
3411,
11,
366,
15526,
36727,
26198,
1,
14804,
15526,
36727,
26198,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
562,
316,
7,
562,
316,
62,
19849,
62,
312,
11,
11171,
62,
3672,
8,
198,
220,
220,
220,
2251,
62,
562,
316,
7,
562,
316,
62,
19849,
62,
312,
11,
11171,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
281,
11171,
422,
281,
4683,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
30481,
6798,
287,
198,
1169,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
19849,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
2746,
422,
543,
284,
2251,
262,
11171,
13,
198,
12,
4600,
562,
316,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
11171,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
11171,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
562,
316,
7,
562,
316,
17633,
7390,
11,
11171,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
7390,
1,
14804,
562,
316,
17633,
7390,
11,
366,
562,
316,
5376,
1,
14804,
562,
316,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
562,
316,
7,
562,
316,
17633,
7390,
11,
11171,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
7390,
1,
14804,
562,
316,
17633,
7390,
11,
366,
562,
316,
5376,
1,
14804,
562,
316,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
3672,
8,
198,
220,
220,
220,
2251,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
281,
11171,
2746,
422,
7368,
3119,
290,
18911,
17336,
13,
921,
2251,
6798,
198,
6738,
11171,
4981,
13,
2080,
11171,
4981,
11,
345,
460,
3538,
2251,
6798,
286,
262,
976,
2099,
326,
198,
14150,
25713,
17336,
13,
5501,
11171,
2727,
422,
257,
2746,
10639,
896,
262,
11171,
2746,
338,
198,
26745,
290,
18911,
17336,
13,
1114,
517,
1321,
11,
766,
2896,
3191,
11171,
4981,
287,
262,
198,
40,
78,
51,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
19849,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
11171,
2746,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
17633,
5377,
1930,
578,
5841,
1424,
1,
63,
25,
383,
24185,
11171,
4981,
326,
389,
636,
286,
428,
11171,
198,
220,
2746,
13,
49355,
11171,
4981,
389,
11171,
4981,
326,
3994,
2176,
6608,
13,
5501,
198,
220,
24185,
2746,
468,
257,
2099,
326,
15738,
262,
6608,
326,
262,
24185,
2746,
6971,
13,
198,
220,
5765,
24185,
11171,
4981,
284,
8160,
36302,
319,
428,
11171,
2746,
13,
198,
12,
4600,
1,
562,
316,
17633,
11828,
1,
63,
25,
317,
6764,
329,
262,
11171,
2746,
13,
198,
12,
4600,
1,
562,
316,
17633,
39,
959,
998,
444,
1,
63,
25,
383,
18911,
17336,
286,
262,
11171,
2746,
13,
5501,
18911,
198,
220,
26052,
281,
11171,
2746,
3025,
6798,
460,
307,
1751,
286,
597,
584,
6798,
2727,
422,
428,
198,
220,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
31433,
28398,
444,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
220,
921,
460,
11986,
510,
284,
838,
28398,
444,
583,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
2264,
313,
292,
287,
198,
220,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
562,
316,
17633,
2964,
18200,
1,
63,
25,
383,
3119,
17336,
286,
262,
11171,
2746,
13,
1114,
517,
198,
220,
1321,
11,
766,
31433,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
921,
460,
11986,
510,
284,
939,
198,
220,
6608,
583,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
2264,
313,
292,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
11171,
2746,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
562,
316,
12,
27530,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
5376,
1,
14804,
562,
316,
17633,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
562,
316,
12,
27530,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
5376,
1,
14804,
562,
316,
17633,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
42460,
3526,
7,
42460,
3526,
62,
46758,
11,
30415,
62,
3672,
11,
1628,
62,
312,
8,
198,
220,
220,
220,
2251,
62,
42460,
3526,
7,
42460,
3526,
62,
46758,
11,
30415,
62,
3672,
11,
1628,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
257,
30415,
287,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
42460,
3526,
62,
46758,
63,
25,
383,
30415,
6770,
7368,
287,
257,
19449,
18875,
13,
1114,
198,
220,
6496,
1321,
11,
766,
30481,
14470,
12821,
357,
5097,
40,
8,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
42460,
3526,
62,
3672,
63,
25,
317,
8030,
1438,
329,
262,
30415,
13,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
287,
543,
284,
2251,
262,
30415,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
42460,
3526,
11828,
1,
63,
25,
317,
6764,
329,
262,
30415,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
30415,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
42460,
3526,
7,
42460,
3526,
36621,
11,
30415,
5376,
11,
1628,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42460,
12821,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
42460,
3526,
36621,
1,
14804,
42460,
3526,
36621,
11,
366,
42460,
3526,
5376,
1,
14804,
42460,
3526,
5376,
11,
366,
16302,
7390,
1,
14804,
16302,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
42460,
3526,
7,
42460,
3526,
36621,
11,
30415,
5376,
11,
1628,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42460,
12821,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
42460,
3526,
36621,
1,
14804,
42460,
3526,
36621,
11,
366,
42460,
3526,
5376,
1,
14804,
42460,
3526,
5376,
11,
366,
16302,
7390,
1,
14804,
16302,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
10494,
1014,
7,
10494,
1014,
62,
3672,
11,
24308,
62,
24254,
8,
198,
220,
220,
220,
2251,
62,
10494,
1014,
7,
10494,
1014,
62,
3672,
11,
24308,
62,
24254,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
257,
24308,
11,
543,
318,
257,
7166,
393,
5743,
3335,
326,
16316,
7593,
1366,
15190,
198,
6738,
1957,
9597,
284,
38488,
14413,
54,
786,
13,
1114,
517,
1321,
11,
766,
554,
3495,
278,
1366,
1262,
257,
198,
10494,
1014,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
10494,
1014,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
24308,
13,
198,
12,
4600,
10494,
1014,
62,
24254,
63,
25,
383,
24308,
338,
3859,
13,
921,
460,
691,
11986,
530,
3859,
287,
257,
198,
220,
24308,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
24308,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
10494,
1014,
7,
10494,
1014,
5376,
11,
24308,
37148,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
10494,
1014,
5376,
1,
14804,
10494,
1014,
5376,
11,
366,
10494,
1014,
37148,
1,
14804,
10494,
1014,
37148,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
10494,
1014,
7,
10494,
1014,
5376,
11,
24308,
37148,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
10494,
1014,
5376,
1,
14804,
10494,
1014,
5376,
11,
366,
10494,
1014,
37148,
1,
14804,
10494,
1014,
37148,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
634,
282,
7,
634,
282,
62,
32057,
62,
12888,
11,
17898,
62,
3672,
11,
2597,
62,
1501,
8,
198,
220,
220,
220,
2251,
62,
634,
282,
7,
634,
282,
62,
32057,
62,
12888,
11,
17898,
62,
3672,
11,
2597,
62,
1501,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
257,
17898,
11,
543,
460,
3994,
4493,
290,
14470,
12821,
13,
38488,
14413,
54,
786,
18289,
3544,
198,
24888,
5313,
6168,
6723,
46,
393,
314,
2390,
284,
8323,
5344,
17898,
2985,
290,
6687,
2836,
21627,
13,
198,
8421,
345,
460,
1051,
287,
284,
257,
649,
17898,
11,
345,
1276,
751,
379,
1551,
530,
5369,
284,
326,
17898,
13,
198,
1890,
517,
1321,
11,
766,
18247,
393,
10829,
17898,
18618,
287,
262,
38488,
14413,
54,
786,
11787,
198,
47889,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
32057,
62,
12888,
63,
25,
383,
6186,
5313,
6168,
18382,
338,
2800,
3053,
2209,
13,
198,
12,
4600,
634,
282,
62,
3672,
63,
25,
317,
8030,
1438,
329,
262,
17898,
13,
198,
12,
4600,
18090,
62,
1501,
63,
25,
383,
5923,
45,
286,
257,
2139,
2597,
326,
3578,
262,
17898,
338,
2985,
284,
1895,
534,
38488,
198,
220,
14413,
54,
786,
4133,
319,
534,
8378,
13,
1114,
517,
1321,
11,
766,
8554,
2139,
9176,
329,
38488,
198,
220,
14413,
54,
786,
18289,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
282,
8357,
1,
63,
25,
49850,
262,
8398,
1321,
286,
281,
10436,
2727,
287,
281,
38488,
14413,
54,
786,
198,
220,
18289,
17898,
13,
921,
460,
779,
262,
10436,
284,
5671,
281,
11171,
3119,
290,
651,
17600,
618,
198,
220,
262,
11171,
3119,
1988,
318,
2354,
257,
7368,
2837,
13,
1114,
517,
1321,
11,
766,
37484,
198,
220,
351,
36302,
287,
262,
38488,
14413,
54,
786,
15678,
10005,
13,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
1662,
2649,
50,
2194,
15333,
1,
63,
25,
383,
3053,
2209,
326,
12800,
10436,
19605,
13,
220,
1002,
345,
198,
220,
779,
262,
38488,
18715,
5257,
21114,
6814,
2163,
284,
6687,
534,
7237,
11,
345,
1276,
11767,
262,
198,
220,
29788,
3053,
2209,
287,
6186,
311,
1546,
13,
198,
12,
4600,
1,
634,
282,
30515,
19076,
1,
63,
25,
383,
2139,
284,
779,
284,
8323,
5344,
2985,
284,
262,
17898,
13,
17489,
422,
198,
220,
262,
1708,
3689,
25,
220,
220,
220,
6723,
46,
784,
383,
17898,
3544,
6186,
5313,
6168,
14206,
5865,
1550,
284,
198,
220,
8323,
5344,
2985,
290,
6687,
2836,
21627,
13,
7413,
345,
460,
2251,
257,
17898,
326,
3544,
198,
220,
6186,
5313,
6168,
6723,
46,
11,
345,
1276,
7139,
6186,
5313,
6168,
6723,
46,
13,
1114,
517,
1321,
11,
766,
198,
220,
2039,
11716,
6186,
5313,
6168,
6723,
46,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
770,
3038,
318,
691,
198,
220,
1695,
287,
6186,
5313,
6168,
47089,
584,
621,
262,
2807,
47089,
13,
220,
220,
220,
314,
2390,
784,
383,
198,
220,
17898,
3544,
27207,
290,
8798,
8549,
284,
8323,
5344,
2985,
290,
6687,
2836,
198,
220,
21627,
13,
770,
3038,
318,
691,
1695,
287,
262,
2807,
47089,
13,
220,
220,
921,
460,
470,
1487,
428,
198,
220,
1988,
706,
345,
2251,
257,
17898,
13,
15161,
25,
6723,
46,
198,
12,
4600,
1,
634,
282,
11828,
1,
63,
25,
317,
6764,
329,
262,
17898,
13,
198,
12,
4600,
1,
634,
282,
11187,
78,
5159,
8979,
1,
63,
25,
317,
11112,
2939,
284,
3359,
287,
262,
17898,
13,
36803,
257,
6616,
11,
198,
220,
1029,
12,
29268,
2939,
13,
383,
2939,
318,
9066,
319,
257,
3223,
4469,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
17898,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
634,
282,
7,
634,
282,
17829,
15333,
11,
17898,
5376,
11,
2597,
3163,
77,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
634,
874,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
17829,
15333,
1,
14804,
634,
282,
17829,
15333,
11,
366,
634,
282,
5376,
1,
14804,
634,
282,
5376,
11,
366,
18090,
3163,
77,
1,
14804,
18090,
3163,
77,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
634,
282,
7,
634,
282,
17829,
15333,
11,
17898,
5376,
11,
2597,
3163,
77,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
634,
874,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
17829,
15333,
1,
14804,
634,
282,
17829,
15333,
11,
366,
634,
282,
5376,
1,
14804,
634,
282,
5376,
11,
366,
18090,
3163,
77,
1,
14804,
18090,
3163,
77,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
2251,
62,
16302,
7,
634,
282,
62,
312,
11,
1628,
62,
3672,
8,
198,
220,
220,
220,
2251,
62,
16302,
7,
634,
282,
62,
312,
11,
1628,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16719,
274,
257,
1628,
287,
262,
7368,
17898,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
312,
63,
25,
383,
4522,
286,
262,
17898,
287,
543,
284,
2251,
262,
1628,
13,
198,
12,
4600,
16302,
62,
3672,
63,
25,
317,
8030,
1438,
329,
262,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
16302,
11828,
1,
63,
25,
317,
6764,
329,
262,
1628,
13,
198,
12,
4600,
1,
31499,
1,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
1628,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
37811,
198,
17953,
62,
16302,
7,
634,
282,
7390,
11,
1628,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
7390,
1,
14804,
634,
282,
7390,
11,
366,
16302,
5376,
1,
14804,
16302,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
17953,
62,
16302,
7,
634,
282,
7390,
11,
1628,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
42068,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
7390,
1,
14804,
634,
282,
7390,
11,
366,
16302,
5376,
1,
14804,
16302,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
281,
1895,
2450,
326,
11455,
262,
7368,
5369,
1895,
284,
262,
7368,
38488,
198,
29123,
54,
786,
18289,
8271,
13,
921,
460,
779,
428,
4905,
284,
39041,
1895,
284,
281,
38488,
14413,
54,
786,
198,
35479,
8271,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
15526,
62,
30586,
62,
312,
63,
25,
383,
4522,
286,
262,
1895,
2450,
284,
307,
13140,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
562,
316,
7,
562,
316,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
562,
316,
7,
562,
316,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
281,
11171,
13,
770,
2223,
460,
470,
307,
45171,
13,
1114,
517,
1321,
11,
766,
42226,
889,
6798,
198,
392,
4981,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
220,
220,
921,
460,
470,
12233,
281,
11171,
326,
338,
3917,
284,
198,
29214,
11171,
13,
1114,
517,
1321,
11,
766,
3167,
562,
47615,
8021,
1039,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
284,
12233,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
562,
316,
7,
562,
316,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
562,
316,
7,
562,
316,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
281,
11171,
2746,
13,
770,
2223,
460,
470,
307,
45171,
13,
921,
1276,
12233,
477,
6798,
2727,
198,
6738,
281,
11171,
2746,
878,
345,
460,
12233,
262,
2746,
13,
4418,
11,
345,
460,
470,
12233,
281,
11171,
2746,
198,
361,
257,
2560,
11171,
2746,
7160,
326,
4909,
257,
3119,
10451,
5408,
326,
8338,
319,
198,
1169,
11171,
2746,
326,
345,
765,
284,
12233,
13,
1114,
517,
1321,
11,
766,
42226,
889,
6798,
290,
198,
27530,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
19849,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
2746,
284,
12233,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
42460,
3526,
7,
42460,
3526,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
42460,
3526,
7,
42460,
3526,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
257,
30415,
422,
38488,
14413,
54,
786,
18289,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
42460,
3526,
62,
312,
63,
25,
383,
4522,
286,
262,
30415,
284,
12233,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
42460,
3526,
7,
42460,
3526,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
42460,
3526,
7,
42460,
3526,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
257,
24308,
422,
38488,
14413,
54,
786,
13,
1649,
345,
12233,
257,
24308,
11,
617,
286,
262,
24308,
338,
3696,
198,
2787,
391,
287,
534,
24308,
338,
2393,
1080,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
10494,
1014,
62,
312,
63,
25,
383,
4522,
286,
262,
24308,
284,
12233,
13,
198,
198,
37811,
198,
33678,
62,
10494,
1014,
7,
10494,
1014,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
10494,
1014,
7,
10494,
1014,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
634,
282,
7,
634,
282,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
634,
282,
7,
634,
282,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
257,
17898,
422,
38488,
14413,
54,
786,
18289,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
312,
63,
25,
383,
4522,
286,
262,
17898,
284,
12233,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
634,
282,
7,
634,
282,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
634,
282,
7,
634,
282,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
12233,
62,
16302,
7,
16302,
62,
312,
8,
198,
220,
220,
220,
12233,
62,
16302,
7,
16302,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
5005,
40676,
257,
1628,
422,
38488,
14413,
54,
786,
18289,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
33678,
62,
16302,
7,
16302,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
42068,
32624,
7,
16302,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
33678,
62,
16302,
7,
16302,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
42068,
32624,
7,
16302,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
24564,
22090,
281,
1895,
2450,
11,
543,
26052,
281,
5369,
338,
1895,
284,
281,
38488,
14413,
54,
786,
18289,
198,
634,
282,
393,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
15526,
62,
30586,
62,
312,
63,
25,
383,
4522,
286,
262,
1895,
2450,
13,
198,
198,
37811,
198,
20147,
4892,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
562,
316,
7,
562,
316,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
562,
316,
7,
562,
316,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
281,
11171,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
198,
37811,
198,
20147,
4892,
62,
562,
316,
7,
562,
316,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
562,
316,
7,
562,
316,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
281,
11171,
2746,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
19849,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
2746,
13,
198,
198,
37811,
198,
20147,
4892,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
562,
316,
62,
26745,
7,
562,
316,
62,
312,
11,
3119,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
562,
316,
62,
26745,
7,
562,
316,
62,
312,
11,
3119,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
281,
11171,
3119,
13,
220,
1649,
345,
869,
428,
4905,
329,
281,
198,
42348,
3119,
11,
428,
2882,
3407,
262,
4277,
11688,
1988,
326,
345,
8160,
287,
198,
1169,
11171,
2746,
13,
1002,
345,
4296,
262,
4277,
1988,
287,
262,
2746,
11,
428,
4905,
338,
2882,
198,
42813,
262,
649,
4277,
1988,
13,
220,
770,
4905,
1595,
470,
1441,
262,
1988,
286,
262,
11171,
198,
26745,
13,
1675,
651,
262,
1988,
286,
281,
11171,
3119,
11,
779,
3497,
45869,
21746,
11395,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
26745,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
3119,
13,
198,
198,
37811,
198,
20147,
4892,
62,
562,
316,
62,
26745,
7,
562,
316,
7390,
11,
3119,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
48310,
32624,
7,
26745,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
562,
316,
62,
26745,
7,
562,
316,
7390,
11,
3119,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
48310,
32624,
7,
26745,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
42460,
3526,
7,
42460,
3526,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
42460,
3526,
7,
42460,
3526,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
257,
30415,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
42460,
3526,
62,
312,
63,
25,
383,
4522,
286,
262,
30415,
13,
198,
198,
37811,
198,
20147,
4892,
62,
42460,
3526,
7,
42460,
3526,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
42460,
3526,
7,
42460,
3526,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
3419,
198,
220,
220,
220,
6901,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
262,
4277,
15835,
8398,
329,
262,
6186,
5313,
198,
31007,
1848,
287,
262,
4277,
393,
7368,
17718,
13,
1114,
517,
1321,
11,
766,
7383,
198,
27604,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
37811,
198,
20147,
4892,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
11250,
3924,
14,
23317,
14,
12685,
13168,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
11250,
3924,
14,
23317,
14,
12685,
13168,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
257,
24308,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
10494,
1014,
62,
312,
63,
25,
383,
4522,
286,
262,
24308,
3335,
13,
198,
198,
37811,
198,
20147,
4892,
62,
10494,
1014,
7,
10494,
1014,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
10494,
1014,
7,
10494,
1014,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
62,
14933,
10223,
11,
24308,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
62,
14933,
10223,
11,
24308,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
257,
24308,
12971,
8398,
13,
5501,
24308,
12971,
198,
4299,
1127,
1366,
4237,
329,
257,
24308,
13,
317,
12971,
8398,
460,
3994,
3294,
1366,
198,
10459,
25412,
13,
1002,
345,
8160,
440,
5662,
12,
34970,
4237,
329,
257,
24308,
287,
262,
38488,
14413,
54,
786,
198,
41947,
11,
477,
286,
534,
440,
5662,
12,
34970,
4237,
389,
8574,
287,
530,
12971,
8398,
13,
1675,
1351,
477,
198,
11128,
1799,
25412,
329,
257,
24308,
11,
779,
39373,
4892,
22628,
1014,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
11128,
1799,
62,
14933,
10223,
63,
25,
383,
25745,
286,
262,
12971,
8398,
13,
1114,
1672,
11,
611,
198,
220,
345,
17425,
440,
5662,
12,
34970,
4237,
422,
262,
38488,
14413,
54,
786,
8624,
11,
534,
440,
5662,
12,
34970,
12971,
198,
220,
8398,
468,
262,
25745,
1312,
1747,
270,
413,
786,
25,
404,
27399,
330,
349,
801,
273,
25,
9641,
11,
810,
2196,
318,
257,
198,
220,
1271,
884,
355,
352,
13,
198,
12,
4600,
10494,
1014,
62,
312,
63,
25,
383,
4522,
286,
262,
24308,
326,
15738,
262,
12971,
8398,
13,
198,
198,
37811,
198,
20147,
4892,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
36690,
10223,
11,
24308,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
20679,
11128,
1799,
32624,
7,
11128,
1799,
36690,
10223,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
36690,
10223,
11,
24308,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
20679,
11128,
1799,
32624,
7,
11128,
1799,
36690,
10223,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
6404,
2667,
62,
25811,
3419,
198,
220,
220,
220,
6901,
62,
6404,
2667,
62,
25811,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
262,
1459,
38488,
14413,
54,
786,
18931,
3689,
13,
198,
198,
37811,
198,
20147,
4892,
62,
6404,
2667,
62,
25811,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
6404,
2667,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
6404,
2667,
62,
25811,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
6404,
2667,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
634,
282,
7,
634,
282,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
634,
282,
7,
634,
282,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
257,
17898,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
312,
63,
25,
383,
4522,
286,
262,
17898,
13,
198,
198,
37811,
198,
20147,
4892,
62,
634,
282,
7,
634,
282,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
634,
282,
7,
634,
282,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
16302,
7,
16302,
62,
312,
8,
198,
220,
220,
220,
6901,
62,
16302,
7,
16302,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
257,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
13,
198,
198,
37811,
198,
20147,
4892,
62,
16302,
7,
16302,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
32624,
7,
16302,
7390,
8,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
16302,
7,
16302,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
32624,
7,
16302,
7390,
42501,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
6901,
62,
35350,
62,
11250,
3924,
3419,
198,
220,
220,
220,
6901,
62,
35350,
62,
11250,
3924,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
1321,
546,
262,
6143,
8398,
329,
38488,
14413,
54,
786,
13,
198,
198,
37811,
198,
20147,
4892,
62,
35350,
62,
11250,
3924,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
11250,
3924,
14,
23317,
14,
35350,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
20147,
4892,
62,
35350,
62,
11250,
3924,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
11250,
3924,
14,
23317,
14,
35350,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
595,
562,
47615,
62,
19668,
7,
562,
316,
62,
312,
11,
1200,
62,
562,
316,
62,
312,
11,
18911,
62,
312,
8,
198,
220,
220,
220,
595,
562,
47615,
62,
19668,
7,
562,
316,
62,
312,
11,
1200,
62,
562,
316,
62,
312,
11,
18911,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
7279,
562,
1733,
689,
257,
1200,
11171,
422,
262,
1813,
2560,
11171,
832,
257,
18911,
5447,
287,
262,
198,
8000,
11171,
338,
2746,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
2560,
11171,
422,
543,
284,
595,
562,
47615,
262,
1200,
11171,
13,
198,
12,
4600,
9410,
62,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
1200,
11171,
284,
595,
562,
47615,
13,
198,
12,
4600,
71,
959,
9282,
62,
312,
63,
25,
383,
4522,
286,
257,
18911,
287,
262,
2560,
11171,
338,
2746,
13,
36496,
998,
444,
1249,
198,
220,
1180,
1448,
654,
286,
6798,
284,
307,
7042,
326,
477,
1282,
422,
262,
976,
11171,
2746,
13,
921,
460,
198,
220,
779,
262,
18911,
4522,
284,
5911,
262,
3376,
11171,
284,
595,
562,
47615,
13,
1114,
517,
1321,
11,
198,
220,
766,
31433,
28398,
444,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
6381,
562,
47615,
62,
19668,
7,
562,
316,
7390,
11,
1200,
45869,
7390,
11,
18911,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
6381,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9410,
45869,
7390,
1,
14804,
9410,
45869,
7390,
11,
366,
71,
959,
9282,
7390,
1,
14804,
71,
959,
9282,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
6381,
562,
47615,
62,
19668,
7,
562,
316,
7390,
11,
1200,
45869,
7390,
11,
18911,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
6381,
562,
47615,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9410,
45869,
7390,
1,
14804,
9410,
45869,
7390,
11,
366,
71,
959,
9282,
7390,
1,
14804,
71,
959,
9282,
7390,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
9460,
2301,
689,
7,
9460,
49373,
62,
19199,
11,
886,
62,
4475,
11,
6323,
11,
923,
62,
4475,
8,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
9460,
2301,
689,
7,
9460,
49373,
62,
19199,
11,
886,
62,
4475,
11,
6323,
11,
923,
62,
4475,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
38,
1039,
13262,
515,
3815,
329,
281,
11171,
3119,
13,
1114,
517,
1321,
11,
766,
2264,
263,
1112,
13262,
689,
198,
259,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1675,
5911,
281,
11171,
3119,
11,
345,
1276,
11986,
530,
286,
262,
198,
27780,
278,
25,
220,
220,
383,
11171,
7390,
290,
3119,
7390,
286,
281,
11171,
3119,
13,
220,
220,
317,
3119,
40489,
11,
543,
318,
257,
198,
7890,
4269,
16144,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1675,
8160,
281,
198,
562,
316,
3119,
338,
16144,
11,
766,
10133,
45869,
21746,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
9460,
49373,
62,
19199,
63,
25,
383,
1366,
13262,
803,
2163,
13,
198,
12,
4600,
437,
62,
4475,
63,
25,
383,
19889,
886,
286,
262,
2837,
422,
543,
284,
12405,
6754,
1366,
11,
6241,
198,
220,
287,
4201,
287,
33501,
36835,
640,
13,
198,
12,
4600,
29268,
63,
25,
383,
640,
16654,
625,
543,
284,
19406,
1366,
13,
198,
12,
4600,
9688,
62,
4475,
63,
25,
383,
8568,
923,
286,
262,
2837,
422,
543,
284,
12405,
6754,
1366,
11,
198,
220,
6241,
287,
4201,
287,
33501,
36835,
640,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
1802,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
12,
4600,
1,
26745,
40489,
1,
63,
25,
383,
16144,
326,
21079,
262,
3119,
11,
884,
355,
281,
440,
5662,
12,
34970,
4382,
1366,
198,
220,
4269,
3108,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1114,
517,
1321,
11,
198,
220,
766,
337,
5912,
7593,
1366,
15190,
284,
11171,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
26745,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
3119,
13,
198,
12,
4600,
1,
13255,
871,
1,
63,
25,
383,
3081,
416,
543,
284,
8106,
11171,
1366,
13,
198,
12,
4600,
1,
2435,
18743,
278,
1,
63,
25,
383,
45946,
29407,
1502,
286,
262,
9167,
1321,
13,
15161,
25,
198,
220,
25400,
10619,
2751,
198,
37811,
198,
1136,
62,
562,
316,
62,
26745,
62,
9460,
2301,
689,
7,
9460,
49373,
31431,
11,
886,
10430,
11,
6323,
11,
923,
10430,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
9460,
2301,
689,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9460,
49373,
31431,
1,
14804,
9460,
49373,
31431,
11,
366,
437,
10430,
1,
14804,
437,
10430,
11,
366,
29268,
1,
14804,
29268,
11,
366,
9688,
10430,
1,
14804,
9688,
10430,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1136,
62,
562,
316,
62,
26745,
62,
9460,
2301,
689,
7,
9460,
49373,
31431,
11,
886,
10430,
11,
6323,
11,
923,
10430,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
9460,
2301,
689,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9460,
49373,
31431,
1,
14804,
9460,
49373,
31431,
11,
366,
437,
10430,
1,
14804,
437,
10430,
11,
366,
29268,
1,
14804,
29268,
11,
366,
9688,
10430,
1,
14804,
9688,
10430,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
8367,
3419,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
8367,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
38,
1039,
281,
11171,
3119,
338,
1459,
1988,
13,
1114,
517,
1321,
11,
766,
2264,
263,
1112,
1459,
3815,
198,
259,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1675,
5911,
281,
11171,
3119,
11,
345,
1276,
11986,
530,
286,
262,
198,
27780,
278,
25,
220,
220,
383,
11171,
7390,
290,
3119,
7390,
286,
281,
11171,
3119,
13,
220,
220,
317,
3119,
40489,
11,
543,
318,
257,
198,
7890,
4269,
16144,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1675,
8160,
281,
198,
562,
316,
3119,
338,
16144,
11,
766,
10133,
45869,
21746,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
1,
26745,
40489,
1,
63,
25,
383,
16144,
326,
21079,
262,
3119,
11,
884,
355,
281,
440,
5662,
12,
34970,
4382,
1366,
198,
220,
4269,
3108,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1114,
517,
1321,
11,
198,
220,
766,
337,
5912,
7593,
1366,
15190,
284,
11171,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
26745,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
3119,
13,
198,
37811,
198,
1136,
62,
562,
316,
62,
26745,
62,
8367,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
42861,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1136,
62,
562,
316,
62,
26745,
62,
8367,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
42861,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
8367,
62,
23569,
3419,
198,
220,
220,
220,
651,
62,
562,
316,
62,
26745,
62,
8367,
62,
23569,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
38,
1039,
262,
2106,
286,
281,
11171,
3119,
338,
3815,
13,
1114,
517,
1321,
11,
766,
2264,
263,
1112,
198,
10034,
12409,
3815,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1675,
5911,
281,
11171,
3119,
11,
345,
1276,
198,
16684,
1958,
530,
286,
262,
1708,
25,
220,
220,
383,
11171,
7390,
290,
3119,
7390,
286,
281,
11171,
3119,
13,
220,
220,
317,
198,
26745,
40489,
11,
543,
318,
257,
1366,
4269,
16144,
357,
1640,
1672,
11,
198,
14,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1675,
8160,
281,
11171,
3119,
338,
16144,
11,
766,
198,
10260,
45869,
21746,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
1,
437,
10430,
1,
63,
25,
383,
19889,
886,
286,
262,
2837,
422,
543,
284,
12405,
6754,
1366,
11,
198,
220,
6241,
287,
4201,
287,
33501,
36835,
640,
13,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
1802,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
12,
4600,
1,
26745,
40489,
1,
63,
25,
383,
16144,
326,
21079,
262,
3119,
11,
884,
355,
281,
440,
5662,
12,
34970,
4382,
1366,
198,
220,
4269,
3108,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1114,
517,
1321,
11,
198,
220,
766,
337,
5912,
7593,
1366,
15190,
284,
11171,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
26745,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
3119,
13,
198,
12,
4600,
1,
13255,
871,
1,
63,
25,
383,
3081,
416,
543,
284,
8106,
11171,
1366,
13,
198,
12,
4600,
1,
9688,
10430,
1,
63,
25,
383,
8568,
923,
286,
262,
2837,
422,
543,
284,
12405,
6754,
1366,
11,
198,
220,
6241,
287,
4201,
287,
33501,
36835,
640,
13,
198,
12,
4600,
1,
2435,
18743,
278,
1,
63,
25,
383,
45946,
29407,
1502,
286,
262,
9167,
1321,
13,
15161,
25,
198,
220,
25400,
10619,
2751,
198,
37811,
198,
1136,
62,
562,
316,
62,
26745,
62,
8367,
62,
23569,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
23569,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1136,
62,
562,
316,
62,
26745,
62,
8367,
62,
23569,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
23569,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
62,
3849,
16104,
515,
62,
562,
316,
62,
26745,
62,
27160,
7,
437,
62,
2435,
62,
259,
62,
43012,
11,
16654,
62,
259,
62,
43012,
11,
3081,
11,
923,
62,
2435,
62,
259,
62,
43012,
11,
2099,
8,
198,
220,
220,
220,
651,
62,
3849,
16104,
515,
62,
562,
316,
62,
26745,
62,
27160,
7,
437,
62,
2435,
62,
259,
62,
43012,
11,
16654,
62,
259,
62,
43012,
11,
3081,
11,
923,
62,
2435,
62,
259,
62,
43012,
11,
2099,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
3855,
39555,
515,
3815,
329,
281,
11171,
3119,
329,
257,
7368,
640,
16654,
11,
1141,
257,
198,
41007,
286,
640,
13,
1114,
1672,
11,
345,
460,
779,
262,
428,
4905,
284,
1441,
262,
39555,
515,
198,
11498,
21069,
3815,
329,
257,
2344,
36489,
790,
1987,
2250,
625,
257,
9478,
286,
767,
1528,
13,
1675,
5911,
198,
272,
11171,
3119,
11,
345,
1276,
11986,
530,
286,
262,
1708,
25,
220,
220,
383,
11171,
7390,
290,
3119,
7390,
286,
198,
272,
11171,
3119,
13,
220,
220,
317,
3119,
40489,
11,
543,
318,
257,
1366,
4269,
16144,
357,
1640,
1672,
11,
198,
14,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1675,
8160,
281,
11171,
3119,
338,
16144,
11,
766,
198,
10260,
45869,
21746,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
437,
62,
2435,
62,
259,
62,
43012,
63,
25,
383,
19889,
886,
286,
262,
2837,
422,
543,
284,
39555,
378,
1366,
11,
198,
220,
6241,
287,
4201,
287,
33501,
36835,
640,
13,
198,
12,
4600,
3849,
2100,
62,
259,
62,
43012,
63,
25,
383,
640,
16654,
287,
4201,
625,
543,
284,
39555,
378,
1366,
13,
5501,
198,
220,
16654,
4940,
618,
262,
2180,
530,
5645,
13,
198,
12,
4600,
13237,
63,
25,
383,
3081,
286,
262,
11171,
3119,
1988,
13,
921,
460,
779,
428,
11507,
355,
257,
198,
220,
8106,
284,
3853,
691,
262,
11171,
3119,
3815,
326,
423,
257,
2176,
3081,
13,
198,
12,
4600,
9688,
62,
2435,
62,
259,
62,
43012,
63,
25,
383,
8568,
923,
286,
262,
2837,
422,
543,
284,
39555,
378,
1366,
11,
198,
220,
6241,
287,
4201,
287,
33501,
36835,
640,
13,
198,
12,
4600,
4906,
63,
25,
383,
39555,
341,
2099,
13,
48951,
3815,
25,
48920,
1503,
62,
41358,
45472,
6234,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
1,
437,
7575,
34519,
818,
45,
40015,
1,
63,
25,
383,
15709,
577,
17561,
11677,
11513,
422,
886,
7575,
818,
12211,
82,
13,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
1002,
198,
220,
407,
7368,
11,
262,
4277,
1988,
318,
838,
13,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
12,
4600,
1,
26745,
40489,
1,
63,
25,
383,
16144,
326,
21079,
262,
3119,
11,
884,
355,
281,
440,
5662,
12,
34970,
4382,
1366,
198,
220,
4269,
3108,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1114,
517,
1321,
11,
198,
220,
766,
337,
5912,
7593,
1366,
15190,
284,
11171,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
26745,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
3119,
13,
198,
12,
4600,
1,
9688,
7575,
34519,
818,
45,
40015,
1,
63,
25,
383,
15709,
577,
17561,
11677,
11513,
422,
923,
7575,
818,
12211,
82,
13,
198,
37811,
198,
1136,
62,
3849,
16104,
515,
62,
562,
316,
62,
26745,
62,
27160,
7,
437,
7575,
818,
12211,
82,
11,
16654,
818,
12211,
82,
11,
3081,
11,
923,
7575,
818,
12211,
82,
11,
2099,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
3849,
16104,
515,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
437,
7575,
818,
12211,
82,
1,
14804,
437,
7575,
818,
12211,
82,
11,
366,
3849,
2100,
818,
12211,
82,
1,
14804,
3849,
2100,
818,
12211,
82,
11,
366,
13237,
1,
14804,
13237,
11,
366,
9688,
7575,
818,
12211,
82,
1,
14804,
9688,
7575,
818,
12211,
82,
11,
366,
4906,
1,
14804,
4906,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1136,
62,
3849,
16104,
515,
62,
562,
316,
62,
26745,
62,
27160,
7,
437,
7575,
818,
12211,
82,
11,
16654,
818,
12211,
82,
11,
3081,
11,
923,
7575,
818,
12211,
82,
11,
2099,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
48310,
14,
3849,
16104,
515,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
437,
7575,
818,
12211,
82,
1,
14804,
437,
7575,
818,
12211,
82,
11,
366,
3849,
2100,
818,
12211,
82,
1,
14804,
3849,
2100,
818,
12211,
82,
11,
366,
13237,
1,
14804,
13237,
11,
366,
9688,
7575,
818,
12211,
82,
1,
14804,
9688,
7575,
818,
12211,
82,
11,
366,
4906,
1,
14804,
4906,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
15526,
62,
79,
4160,
444,
3419,
198,
220,
220,
220,
1351,
62,
15526,
62,
79,
4160,
444,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
1895,
4788,
329,
281,
5369,
357,
272,
6186,
5313,
6168,
6723,
46,
198,
7220,
11,
281,
6186,
5313,
6168,
6723,
46,
1448,
11,
393,
281,
314,
2390,
2836,
8,
393,
281,
38488,
14413,
54,
786,
18289,
8271,
198,
7,
64,
17898,
393,
1628,
737,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
1789,
3163,
77,
1,
63,
25,
383,
5923,
45,
286,
262,
314,
2390,
2836,
13,
1114,
517,
1321,
11,
766,
314,
2390,
5923,
47503,
287,
262,
314,
2390,
11787,
198,
220,
10005,
13,
770,
11507,
318,
2672,
611,
345,
11986,
314,
2390,
329,
5369,
6030,
13,
198,
12,
4600,
1,
738,
414,
7390,
1,
63,
25,
383,
4522,
286,
262,
5369,
13,
770,
11507,
318,
2672,
611,
345,
11986,
1294,
1137,
393,
198,
220,
44441,
329,
5369,
6030,
13,
198,
12,
4600,
1,
738,
414,
6030,
1,
63,
25,
383,
2099,
286,
5369,
357,
24888,
5313,
6168,
6723,
46,
2836,
11,
6186,
5313,
6168,
198,
220,
6723,
46,
1448,
11,
393,
314,
2390,
2836,
737,
770,
11507,
318,
2672,
611,
345,
11986,
5369,
7390,
13,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
12,
4600,
1,
31092,
7390,
1,
63,
25,
383,
4522,
286,
262,
8271,
13,
770,
11507,
318,
2672,
611,
345,
11986,
198,
220,
8271,
6030,
13,
198,
12,
4600,
1,
31092,
6030,
1,
63,
25,
383,
2099,
286,
8271,
357,
634,
282,
393,
1628,
737,
770,
11507,
318,
2672,
611,
198,
220,
345,
11986,
8271,
7390,
13,
198,
37811,
198,
4868,
62,
15526,
62,
79,
4160,
444,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
15526,
12,
79,
4160,
444,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
15526,
62,
79,
4160,
444,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
15526,
12,
79,
4160,
444,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
562,
316,
62,
27530,
3419,
198,
220,
220,
220,
1351,
62,
562,
316,
62,
27530,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
30114,
3166,
286,
477,
11171,
4981,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
562,
316,
62,
27530,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
562,
316,
12,
27530,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
562,
316,
62,
27530,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
562,
316,
12,
27530,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
562,
316,
62,
39468,
5748,
7,
562,
316,
62,
312,
11,
33038,
282,
62,
4906,
8,
198,
220,
220,
220,
1351,
62,
562,
316,
62,
39468,
5748,
7,
562,
316,
62,
312,
11,
33038,
282,
62,
4906,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
11171,
6958,
329,
281,
11171,
13,
921,
460,
779,
428,
4905,
198,
1462,
5911,
281,
11171,
338,
6808,
11171,
290,
477,
3917,
6798,
1022,
326,
11171,
290,
663,
6808,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
13,
198,
12,
4600,
9535,
690,
282,
62,
4906,
63,
25,
383,
2099,
286,
33038,
282,
284,
779,
284,
5911,
11171,
6958,
13,
17489,
198,
220,
262,
1708,
3038,
25,
220,
220,
220,
46490,
62,
10468,
62,
13252,
2394,
784,
11440,
1958,
262,
11171,
338,
2560,
6798,
510,
284,
262,
6808,
198,
220,
11171,
13,
383,
11171,
326,
345,
11986,
287,
11171,
7390,
318,
262,
717,
1255,
287,
262,
1351,
286,
198,
220,
11171,
47117,
1056,
13065,
76,
3166,
11,
290,
262,
6808,
11171,
318,
262,
938,
1255,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
562,
316,
62,
39468,
5748,
7,
562,
316,
7390,
11,
33038,
282,
6030,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
562,
316,
47117,
5748,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9535,
690,
282,
6030,
1,
14804,
9535,
690,
282,
6030,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
562,
316,
62,
39468,
5748,
7,
562,
316,
7390,
11,
33038,
282,
6030,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
562,
316,
47117,
5748,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
9535,
690,
282,
6030,
1,
14804,
9535,
690,
282,
6030,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
19668,
3419,
198,
220,
220,
220,
1351,
62,
19668,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
11171,
30114,
3166,
13,
921,
460,
779,
428,
4905,
284,
466,
262,
198,
27780,
278,
25,
220,
220,
7343,
6798,
1912,
319,
257,
2176,
11171,
2746,
13,
220,
220,
7343,
1353,
12,
5715,
6798,
13,
220,
220,
921,
198,
5171,
470,
779,
428,
4905,
284,
1351,
477,
6798,
13,
1675,
19818,
30114,
3166,
329,
477,
286,
534,
6798,
11,
198,
1904,
7343,
45869,
5841,
1424,
284,
651,
477,
286,
534,
11171,
2746,
32373,
13,
3244,
11,
779,
7343,
8021,
1039,
284,
651,
477,
198,
19668,
329,
1123,
11171,
2746,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
17633,
7390,
1,
63,
25,
383,
4522,
286,
262,
11171,
2746,
416,
543,
284,
8106,
262,
1351,
286,
6798,
13,
770,
198,
220,
11507,
318,
2672,
611,
345,
3853,
11096,
329,
8106,
13,
198,
12,
4600,
1,
24455,
1,
63,
25,
383,
8106,
329,
262,
9167,
1351,
286,
6798,
13,
17489,
530,
286,
262,
1708,
198,
220,
3689,
25,
220,
220,
220,
11096,
784,
383,
1351,
3407,
477,
6798,
329,
257,
1813,
11171,
2746,
4522,
13,
383,
198,
220,
11171,
17633,
7390,
11507,
318,
2672,
611,
345,
8106,
416,
11096,
13,
220,
220,
220,
28662,
62,
2538,
18697,
784,
383,
1351,
3407,
198,
220,
691,
1353,
12,
5715,
6798,
287,
262,
11171,
18911,
5509,
13,
220,
220,
15161,
25,
11096,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
19668,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
19668,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
32852,
62,
19668,
7,
562,
316,
62,
312,
8,
198,
220,
220,
220,
1351,
62,
32852,
62,
19668,
7,
562,
316,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
3917,
6798,
13,
921,
460,
779,
428,
4905,
284,
466,
262,
198,
27780,
278,
25,
220,
220,
7343,
1200,
6798,
3917,
284,
257,
2560,
11171,
416,
257,
18911,
326,
345,
198,
16684,
1958,
13,
220,
220,
7343,
281,
11171,
338,
2560,
11171,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
284,
12405,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
71,
959,
9282,
7390,
1,
63,
25,
383,
4522,
286,
262,
18911,
416,
543,
1200,
6798,
389,
3917,
284,
262,
198,
220,
11171,
13,
1675,
1064,
257,
18911,
4522,
11,
779,
262,
39373,
4892,
45869,
393,
39373,
4892,
45869,
17633,
4560,
13,
770,
198,
220,
11507,
318,
2672,
611,
345,
3853,
5870,
26761,
329,
33038,
282,
35,
4154,
13,
1114,
517,
1321,
11,
766,
198,
220,
31433,
28398,
444,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
12,
4600,
1,
9535,
690,
282,
35,
4154,
1,
63,
25,
383,
4571,
284,
1351,
3917,
6798,
13,
17489,
530,
286,
262,
198,
220,
1708,
3689,
25,
220,
220,
220,
5870,
26761,
784,
383,
1351,
3407,
477,
1200,
6798,
3917,
284,
262,
11171,
13,
198,
220,
383,
18911,
7390,
11507,
318,
2672,
611,
345,
3853,
5870,
26761,
13,
220,
220,
220,
29463,
3525,
784,
383,
1351,
3407,
198,
220,
262,
11171,
338,
2560,
11171,
13,
220,
220,
15161,
25,
5870,
26761,
198,
37811,
198,
4868,
62,
32852,
62,
19668,
7,
562,
316,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
71,
959,
998,
444,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
32852,
62,
19668,
7,
562,
316,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
71,
959,
998,
444,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
42460,
12821,
7,
16302,
62,
312,
8,
198,
220,
220,
220,
1351,
62,
42460,
12821,
7,
16302,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
14470,
12821,
329,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
42460,
12821,
7,
16302,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42460,
12821,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16302,
7390,
1,
14804,
16302,
7390,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
42460,
12821,
7,
16302,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42460,
12821,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16302,
7390,
1,
14804,
16302,
7390,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
10494,
1322,
3419,
198,
220,
220,
220,
1351,
62,
10494,
1322,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
8946,
1322,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
10494,
1322,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
10494,
1322,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
634,
874,
3419,
198,
220,
220,
220,
1351,
62,
634,
874,
7,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
38488,
14413,
54,
786,
18289,
42604,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
634,
874,
7,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
634,
874,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
634,
874,
7,
37266,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
634,
874,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
16302,
62,
19668,
7,
16302,
62,
312,
8,
198,
220,
220,
220,
1351,
62,
16302,
62,
19668,
7,
16302,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
6798,
3917,
351,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
16302,
62,
19668,
7,
16302,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
8172,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
16302,
62,
19668,
7,
16302,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
32624,
7,
16302,
7390,
20679,
19668,
1600,
42287,
26,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
42068,
7,
634,
282,
62,
312,
8,
198,
220,
220,
220,
1351,
62,
42068,
7,
634,
282,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
257,
42208,
3898,
1351,
286,
4493,
329,
281,
38488,
14413,
54,
786,
18289,
17898,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
312,
63,
25,
383,
4522,
286,
262,
17898,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
9806,
25468,
1,
63,
25,
383,
5415,
1271,
286,
2482,
284,
1441,
329,
1123,
42208,
3898,
2581,
13,
198,
220,
15161,
25,
2026,
198,
12,
4600,
1,
19545,
30642,
1,
63,
25,
383,
11241,
284,
307,
973,
329,
262,
1306,
900,
286,
42208,
3898,
2482,
13,
198,
37811,
198,
4868,
62,
42068,
7,
634,
282,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
7390,
1,
14804,
634,
282,
7390,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
42068,
7,
634,
282,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
42068,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
7390,
1,
14804,
634,
282,
7390,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1351,
62,
31499,
62,
1640,
62,
31092,
7,
31092,
62,
1501,
8,
198,
220,
220,
220,
1351,
62,
31499,
62,
1640,
62,
31092,
7,
31092,
62,
1501,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
9781,
5034,
1158,
262,
1351,
286,
15940,
329,
281,
38488,
14413,
54,
786,
8271,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
31092,
62,
1501,
63,
25,
383,
5923,
45,
286,
262,
8271,
13,
198,
198,
37811,
198,
4868,
62,
31499,
62,
1640,
62,
31092,
7,
31092,
3163,
77,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
4868,
62,
31499,
62,
1640,
62,
31092,
7,
31092,
3163,
77,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
18851,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1234,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
12685,
13168,
62,
4906,
8,
198,
220,
220,
220,
1234,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
12685,
13168,
62,
4906,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
50,
1039,
262,
4277,
15835,
8398,
329,
262,
6186,
5313,
6168,
1848,
13,
1114,
517,
198,
17018,
11,
766,
7383,
4542,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
12685,
13168,
62,
4906,
63,
25,
383,
2099,
286,
15835,
973,
329,
262,
15835,
8398,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
74,
907,
9218,
7390,
1,
63,
25,
383,
7383,
4522,
286,
262,
6491,
5257,
6491,
4958,
1994,
357,
24187,
42,
8,
973,
329,
509,
5653,
198,
220,
15835,
13,
770,
318,
2672,
611,
345,
779,
509,
5653,
62,
33,
42827,
62,
1677,
9419,
56,
11571,
2849,
13,
198,
37811,
198,
1996,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
12685,
13168,
6030,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
11250,
3924,
14,
23317,
14,
12685,
13168,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
12685,
13168,
6030,
1,
14804,
12685,
13168,
6030,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1996,
62,
12286,
62,
12685,
13168,
62,
11250,
3924,
7,
12685,
13168,
6030,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
11250,
3924,
14,
23317,
14,
12685,
13168,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
12685,
13168,
6030,
1,
14804,
12685,
13168,
6030,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1234,
62,
6404,
2667,
62,
25811,
7,
6404,
2667,
62,
25811,
8,
198,
220,
220,
220,
1234,
62,
6404,
2667,
62,
25811,
7,
6404,
2667,
62,
25811,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
50,
1039,
18931,
3689,
329,
38488,
14413,
54,
786,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
6404,
2667,
62,
25811,
63,
25,
383,
18931,
3689,
284,
900,
13,
198,
198,
37811,
198,
1996,
62,
6404,
2667,
62,
25811,
7,
6404,
2667,
29046,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
6404,
2667,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
6404,
2667,
29046,
1,
14804,
6404,
2667,
29046,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1996,
62,
6404,
2667,
62,
25811,
7,
6404,
2667,
29046,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
6404,
2667,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
6404,
2667,
29046,
1,
14804,
6404,
2667,
29046,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1234,
62,
35350,
62,
11250,
3924,
7,
35350,
62,
4906,
8,
198,
220,
220,
220,
1234,
62,
35350,
62,
11250,
3924,
7,
35350,
62,
4906,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
16934,
942,
6143,
6460,
329,
38488,
14413,
54,
786,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
35350,
62,
4906,
63,
25,
383,
2099,
286,
6143,
326,
345,
7368,
329,
534,
1366,
13,
383,
6143,
2099,
198,
220,
460,
307,
530,
286,
262,
1708,
3815,
25,
220,
220,
220,
311,
2043,
6217,
24352,
62,
7206,
38865,
62,
2257,
1581,
11879,
784,
38488,
14413,
54,
786,
2186,
16856,
198,
220,
534,
1366,
656,
257,
2139,
5257,
6831,
13,
220,
220,
220,
337,
16724,
40,
62,
43,
4792,
1137,
62,
2257,
1581,
11879,
784,
38488,
14413,
54,
786,
198,
220,
2186,
16856,
534,
1366,
656,
257,
2139,
5257,
6831,
290,
16031,
257,
4866,
286,
534,
8246,
1366,
290,
198,
220,
20150,
287,
281,
6186,
311,
18,
2134,
326,
345,
7368,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
41684,
49925,
31425,
1,
63,
25,
11440,
6945,
257,
6143,
10965,
13,
1002,
345,
7368,
198,
220,
337,
16724,
40,
62,
43,
4792,
1137,
62,
2257,
1581,
11879,
329,
262,
6143,
2099,
11,
345,
1276,
11986,
257,
15237,
49925,
31425,
2134,
13,
198,
37811,
198,
1996,
62,
35350,
62,
11250,
3924,
7,
35350,
6030,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
11250,
3924,
14,
23317,
14,
35350,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
35350,
6030,
1,
14804,
35350,
6030,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
1996,
62,
35350,
62,
11250,
3924,
7,
35350,
6030,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
11250,
3924,
14,
23317,
14,
35350,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
35350,
6030,
1,
14804,
35350,
6030,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
7621,
62,
31092,
7,
31092,
62,
1501,
11,
15940,
8,
198,
220,
220,
220,
7621,
62,
31092,
7,
31092,
62,
1501,
11,
15940,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
46245,
15940,
284,
281,
38488,
14413,
54,
786,
8271,
13,
1002,
257,
7621,
1541,
7160,
329,
262,
8271,
11,
428,
198,
27184,
5992,
262,
7621,
338,
1988,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
31092,
62,
1501,
63,
25,
383,
5923,
45,
286,
262,
8271,
284,
7621,
13,
198,
12,
4600,
31499,
63,
25,
317,
1351,
286,
1994,
12,
8367,
14729,
326,
3994,
20150,
329,
262,
8271,
13,
1114,
517,
198,
220,
1321,
11,
766,
309,
16406,
534,
38488,
14413,
54,
786,
4133,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
37811,
198,
12985,
62,
31092,
7,
31092,
3163,
77,
11,
15940,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
11,
366,
31499,
1,
14804,
31499,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
12985,
62,
31092,
7,
31092,
3163,
77,
11,
15940,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
11,
366,
31499,
1,
14804,
31499,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
1418,
363,
62,
31092,
7,
31092,
62,
1501,
11,
7621,
62,
13083,
8,
198,
220,
220,
220,
1418,
363,
62,
31092,
7,
31092,
62,
1501,
11,
7621,
62,
13083,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
8413,
5241,
257,
7621,
422,
281,
38488,
14413,
54,
786,
8271,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
31092,
62,
1501,
63,
25,
383,
5923,
45,
286,
262,
8271,
284,
1418,
363,
13,
198,
12,
4600,
12985,
62,
13083,
63,
25,
317,
1351,
286,
8251,
329,
15940,
284,
4781,
422,
262,
8271,
13,
198,
198,
37811,
198,
2797,
363,
62,
31092,
7,
31092,
3163,
77,
11,
7621,
40729,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
11,
366,
12985,
40729,
1,
14804,
12985,
40729,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
2797,
363,
62,
31092,
7,
31092,
3163,
77,
11,
7621,
40729,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
7206,
2538,
9328,
1600,
12813,
31499,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
31092,
3163,
77,
1,
14804,
31092,
3163,
77,
11,
366,
12985,
40729,
1,
14804,
12985,
40729,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
11,
1895,
62,
30586,
62,
738,
414,
11,
1895,
62,
30586,
62,
525,
3411,
11,
1895,
62,
30586,
62,
31092,
8,
198,
220,
220,
220,
4296,
62,
15526,
62,
30586,
7,
15526,
62,
30586,
62,
312,
11,
1895,
62,
30586,
62,
738,
414,
11,
1895,
62,
30586,
62,
525,
3411,
11,
1895,
62,
30586,
62,
31092,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
4683,
1895,
2450,
326,
26052,
281,
5369,
338,
1895,
284,
281,
38488,
14413,
54,
786,
198,
35479,
17898,
393,
1628,
8271,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
15526,
62,
30586,
62,
312,
63,
25,
383,
4522,
286,
262,
1895,
2450,
13,
198,
12,
4600,
15526,
62,
30586,
62,
738,
414,
63,
25,
383,
5369,
329,
428,
1895,
2450,
13,
17489,
281,
6186,
5313,
198,
220,
6168,
6723,
46,
2836,
11,
281,
6186,
5313,
6168,
6723,
46,
1448,
11,
393,
281,
314,
2390,
2836,
13,
198,
12,
4600,
15526,
62,
30586,
62,
525,
3411,
63,
25,
383,
7170,
1241,
329,
428,
1895,
2450,
13,
5740,
326,
257,
198,
220,
1628,
5984,
23678,
1797,
5446,
25633,
318,
635,
1900,
355,
257,
1628,
4870,
13,
198,
12,
4600,
15526,
62,
30586,
62,
31092,
63,
25,
383,
38488,
14413,
54,
786,
18289,
8271,
329,
428,
1895,
2450,
13,
198,
220,
17489,
2035,
257,
17898,
393,
257,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
19119,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
11,
1895,
36727,
7390,
26858,
11,
1895,
36727,
5990,
3411,
11,
1895,
36727,
26198,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
15526,
36727,
7390,
26858,
1,
14804,
15526,
36727,
7390,
26858,
11,
366,
15526,
36727,
5990,
3411,
1,
14804,
15526,
36727,
5990,
3411,
11,
366,
15526,
36727,
26198,
1,
14804,
15526,
36727,
26198,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
15526,
62,
30586,
7,
15526,
36727,
7390,
11,
1895,
36727,
7390,
26858,
11,
1895,
36727,
5990,
3411,
11,
1895,
36727,
26198,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
15526,
12,
79,
4160,
444,
32624,
7,
15526,
36727,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
15526,
36727,
7390,
26858,
1,
14804,
15526,
36727,
7390,
26858,
11,
366,
15526,
36727,
5990,
3411,
1,
14804,
15526,
36727,
5990,
3411,
11,
366,
15526,
36727,
26198,
1,
14804,
15526,
36727,
26198,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
562,
316,
7,
562,
316,
62,
312,
11,
11171,
62,
3672,
8,
198,
220,
220,
220,
4296,
62,
562,
316,
7,
562,
316,
62,
312,
11,
11171,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
11171,
338,
1438,
13,
1114,
517,
1321,
11,
766,
3205,
38734,
6798,
290,
4981,
287,
262,
38488,
198,
29123,
54,
786,
11787,
10005,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
284,
4296,
13,
198,
12,
4600,
562,
316,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
11171,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
19119,
62,
562,
316,
7,
562,
316,
7390,
11,
11171,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
5376,
1,
14804,
562,
316,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
562,
316,
7,
562,
316,
7390,
11,
11171,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
5376,
1,
14804,
562,
316,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
11,
11171,
62,
19849,
62,
3672,
8,
198,
220,
220,
220,
4296,
62,
562,
316,
62,
19849,
7,
562,
316,
62,
19849,
62,
312,
11,
11171,
62,
19849,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
11171,
2746,
290,
477,
286,
262,
6798,
326,
547,
2727,
422,
262,
2746,
13,
5501,
11171,
198,
25598,
422,
262,
2746,
10639,
896,
262,
6153,
11171,
2746,
338,
3119,
290,
18911,
198,
4299,
50101,
13,
1114,
517,
1321,
11,
766,
3205,
38734,
6798,
290,
4981,
287,
262,
38488,
14413,
54,
786,
11787,
198,
47889,
13,
220,
770,
4905,
6993,
23156,
262,
4683,
2746,
351,
262,
2810,
2746,
13,
1675,
3368,
198,
2934,
293,
889,
534,
11171,
2746,
338,
6608,
393,
28398,
444,
11,
345,
1276,
2291,
511,
32373,
290,
198,
4299,
50101,
287,
262,
6153,
11171,
2746,
21437,
13,
1114,
517,
1321,
11,
766,
198,
24564,
4892,
45869,
17633,
13,
1002,
345,
4781,
257,
3119,
422,
281,
11171,
2746,
11,
38488,
14413,
54,
786,
28128,
274,
477,
198,
3866,
1442,
1366,
329,
326,
3119,
13,
1002,
345,
4781,
257,
18911,
6770,
422,
281,
11171,
2746,
11,
198,
40,
78,
51,
14413,
54,
786,
595,
562,
1733,
689,
790,
11171,
3917,
351,
326,
18911,
13,
921,
460,
470,
1487,
262,
198,
4906,
393,
1366,
2099,
286,
281,
4683,
3119,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
19849,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
2746,
284,
4296,
13,
198,
12,
4600,
562,
316,
62,
19849,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
11171,
2746,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
562,
316,
17633,
5377,
1930,
578,
5841,
1424,
1,
63,
25,
383,
24185,
11171,
4981,
326,
389,
636,
286,
428,
11171,
198,
220,
2746,
13,
49355,
11171,
4981,
389,
11171,
4981,
326,
3994,
2176,
6608,
13,
5501,
198,
220,
24185,
2746,
468,
257,
2099,
326,
15738,
262,
6608,
326,
262,
24185,
2746,
6971,
13,
198,
220,
5765,
24185,
11171,
4981,
284,
8160,
36302,
319,
428,
11171,
2746,
13,
198,
12,
4600,
1,
562,
316,
17633,
11828,
1,
63,
25,
317,
6764,
329,
262,
11171,
2746,
13,
198,
12,
4600,
1,
562,
316,
17633,
39,
959,
998,
444,
1,
63,
25,
383,
6153,
18911,
17336,
286,
262,
11171,
2746,
13,
5501,
198,
220,
18911,
26052,
281,
11171,
2746,
3025,
6798,
460,
307,
1751,
286,
597,
584,
6798,
2727,
198,
220,
422,
428,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
31433,
28398,
444,
287,
262,
38488,
14413,
54,
786,
11787,
198,
220,
10005,
13,
921,
460,
11986,
510,
284,
838,
28398,
444,
583,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
198,
220,
2264,
313,
292,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
562,
316,
17633,
2964,
18200,
1,
63,
25,
383,
6153,
3119,
17336,
286,
262,
11171,
2746,
13,
1114,
517,
198,
220,
1321,
11,
766,
31433,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
921,
460,
11986,
510,
284,
939,
198,
220,
6608,
583,
11171,
2746,
13,
1114,
517,
1321,
11,
766,
2264,
313,
292,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
37811,
198,
19119,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
11,
11171,
17633,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
5376,
1,
14804,
562,
316,
17633,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
562,
316,
62,
19849,
7,
562,
316,
17633,
7390,
11,
11171,
17633,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
562,
316,
12,
27530,
32624,
7,
562,
316,
17633,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
562,
316,
17633,
5376,
1,
14804,
562,
316,
17633,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
562,
316,
62,
26745,
7,
562,
316,
62,
312,
11,
3119,
62,
312,
8,
198,
220,
220,
220,
4296,
62,
562,
316,
62,
26745,
7,
562,
316,
62,
312,
11,
3119,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
11171,
3119,
338,
16144,
290,
14483,
1181,
13,
220,
770,
4905,
6993,
23156,
262,
198,
26745,
338,
4683,
16144,
290,
14483,
1181,
13,
1675,
1394,
534,
4683,
3119,
338,
16144,
393,
198,
1662,
2649,
1181,
11,
345,
1276,
2291,
262,
4683,
3815,
287,
262,
10133,
45869,
21746,
198,
25927,
13,
1114,
517,
1321,
11,
766,
39373,
4892,
45869,
21746,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
562,
316,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
284,
307,
6153,
13,
198,
12,
4600,
26745,
62,
312,
63,
25,
383,
4522,
286,
262,
11171,
3119,
284,
307,
6153,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
26745,
40489,
1,
63,
25,
383,
16144,
326,
21079,
262,
3119,
11,
884,
355,
281,
440,
5662,
12,
34970,
4382,
1366,
198,
220,
4269,
3108,
357,
1640,
1672,
11,
1220,
39722,
14,
7972,
43323,
14,
18,
14,
83,
5945,
500,
14,
22,
14,
11498,
21069,
737,
1114,
517,
1321,
11,
198,
220,
766,
337,
5912,
7593,
1366,
15190,
284,
11171,
6608,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1002,
198,
220,
345,
42848,
428,
11507,
11,
262,
16144,
318,
4615,
422,
262,
3119,
13,
198,
12,
4600,
1,
26745,
3673,
2649,
9012,
1,
63,
25,
383,
337,
48,
15751,
14483,
1181,
357,
25616,
393,
10058,
8,
329,
428,
198,
220,
11171,
3119,
13,
1649,
262,
14483,
1181,
318,
9343,
11,
38488,
14413,
54,
786,
34134,
3119,
198,
220,
1988,
5992,
284,
257,
3748,
337,
48,
15751,
7243,
13,
1114,
517,
1321,
11,
766,
4225,
27362,
351,
584,
198,
220,
2594,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
1002,
345,
42848,
428,
11507,
11,
262,
14483,
1181,
198,
220,
318,
900,
284,
13954,
6242,
30465,
13,
198,
37811,
198,
19119,
62,
562,
316,
62,
26745,
7,
562,
316,
7390,
11,
3119,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
48310,
32624,
7,
26745,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
562,
316,
62,
26745,
7,
562,
316,
7390,
11,
3119,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
19668,
32624,
7,
562,
316,
7390,
20679,
48310,
32624,
7,
26745,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
42460,
3526,
7,
42460,
3526,
62,
46758,
11,
30415,
62,
312,
11,
30415,
62,
3672,
8,
198,
220,
220,
220,
4296,
62,
42460,
3526,
7,
42460,
3526,
62,
46758,
11,
30415,
62,
312,
11,
30415,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
38488,
14413,
54,
786,
18289,
30415,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
42460,
3526,
62,
46758,
63,
25,
383,
649,
30415,
6770,
11,
355,
7368,
287,
257,
19449,
18875,
13,
1114,
198,
220,
6496,
1321,
11,
766,
30481,
14470,
12821,
357,
5097,
40,
8,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
42460,
3526,
62,
312,
63,
25,
383,
4522,
286,
262,
30415,
284,
4296,
13,
198,
12,
4600,
42460,
3526,
62,
3672,
63,
25,
317,
649,
8030,
1438,
329,
262,
30415,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
42460,
3526,
11828,
1,
63,
25,
317,
649,
6764,
329,
262,
30415,
13,
198,
37811,
198,
19119,
62,
42460,
3526,
7,
42460,
3526,
36621,
11,
30415,
7390,
11,
30415,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
42460,
3526,
36621,
1,
14804,
42460,
3526,
36621,
11,
366,
42460,
3526,
5376,
1,
14804,
42460,
3526,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
42460,
3526,
7,
42460,
3526,
36621,
11,
30415,
7390,
11,
30415,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
42460,
12821,
32624,
7,
42460,
3526,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
42460,
3526,
36621,
1,
14804,
42460,
3526,
36621,
11,
366,
42460,
3526,
5376,
1,
14804,
42460,
3526,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
11,
24308,
62,
3672,
8,
198,
220,
220,
220,
4296,
62,
10494,
1014,
7,
10494,
1014,
62,
312,
11,
24308,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
257,
24308,
338,
1438,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
10494,
1014,
62,
312,
63,
25,
383,
4522,
286,
262,
24308,
284,
4296,
13,
198,
12,
4600,
10494,
1014,
62,
3672,
63,
25,
317,
3748,
11,
8030,
1438,
329,
262,
24308,
13,
198,
198,
37811,
198,
19119,
62,
10494,
1014,
7,
10494,
1014,
7390,
11,
24308,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
10494,
1014,
5376,
1,
14804,
10494,
1014,
5376,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
10494,
1014,
7,
10494,
1014,
7390,
11,
24308,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
10494,
1014,
5376,
1,
14804,
10494,
1014,
5376,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
62,
11250,
3924,
11,
12971,
62,
14933,
10223,
11,
24308,
62,
312,
8,
198,
220,
220,
220,
4296,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
62,
11250,
3924,
11,
12971,
62,
14933,
10223,
11,
24308,
62,
312,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
257,
24308,
12971,
8398,
393,
15738,
257,
649,
12971,
8398,
13,
5501,
198,
10494,
1014,
12971,
15738,
1366,
4237,
329,
257,
24308,
13,
317,
12971,
8398,
460,
198,
3642,
391,
3294,
1366,
2723,
25412,
13,
1002,
345,
8160,
440,
5662,
12,
34970,
4237,
329,
257,
24308,
287,
198,
1169,
38488,
14413,
54,
786,
8624,
11,
477,
286,
534,
440,
5662,
12,
34970,
4237,
389,
8574,
287,
530,
12971,
198,
11250,
3924,
13,
1675,
1351,
477,
12971,
25412,
329,
257,
24308,
11,
779,
39373,
4892,
22628,
1014,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
11128,
1799,
62,
11250,
3924,
63,
25,
383,
19449,
3188,
326,
15738,
262,
8398,
329,
262,
198,
220,
24308,
12971,
13,
1114,
517,
1321,
11,
766,
17056,
870,
1366,
4237,
357,
5097,
40,
8,
287,
262,
38488,
198,
220,
14413,
54,
786,
11787,
10005,
13,
198,
12,
4600,
11128,
1799,
62,
14933,
10223,
63,
25,
383,
25745,
286,
262,
24308,
12971,
8398,
284,
307,
198,
220,
6153,
13,
1114,
1672,
11,
611,
345,
17425,
440,
5662,
12,
34970,
4237,
422,
262,
38488,
14413,
54,
786,
8624,
11,
534,
198,
220,
440,
5662,
12,
34970,
12971,
8398,
468,
262,
25745,
1312,
1747,
270,
413,
786,
25,
404,
27399,
330,
349,
801,
273,
25,
9641,
11,
810,
198,
220,
2196,
318,
257,
1271,
884,
355,
352,
13,
198,
12,
4600,
10494,
1014,
62,
312,
63,
25,
383,
4522,
286,
262,
24308,
284,
307,
6153,
13,
198,
198,
37811,
198,
19119,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
38149,
11,
12971,
36690,
10223,
11,
24308,
7390,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
20679,
11128,
1799,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7203,
11128,
1799,
38149,
1,
14804,
11128,
1799,
38149,
11,
366,
11128,
1799,
36690,
10223,
1,
14804,
11128,
1799,
36690,
10223,
1776,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
10494,
1014,
62,
11128,
1799,
62,
11250,
3924,
7,
11128,
1799,
38149,
11,
12971,
36690,
10223,
11,
24308,
7390,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
32782,
1600,
12813,
1238,
16088,
486,
14,
10494,
1322,
32624,
7,
10494,
1014,
7390,
20679,
11128,
1799,
1600,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
11128,
1799,
38149,
1,
14804,
11128,
1799,
38149,
11,
366,
11128,
1799,
36690,
10223,
1,
14804,
11128,
1799,
36690,
10223,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
634,
282,
7,
634,
282,
62,
32057,
62,
12888,
11,
17898,
62,
312,
11,
17898,
62,
3672,
11,
2597,
62,
1501,
8,
198,
220,
220,
220,
4296,
62,
634,
282,
7,
634,
282,
62,
32057,
62,
12888,
11,
17898,
62,
312,
11,
17898,
62,
3672,
11,
2597,
62,
1501,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
38488,
14413,
54,
786,
18289,
17898,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
634,
282,
62,
32057,
62,
12888,
63,
25,
383,
6186,
5313,
6168,
18382,
338,
2800,
3053,
2209,
13,
198,
12,
4600,
634,
282,
62,
312,
63,
25,
383,
4522,
286,
262,
17898,
284,
4296,
13,
198,
12,
4600,
634,
282,
62,
3672,
63,
25,
317,
649,
8030,
1438,
329,
262,
17898,
13,
198,
12,
4600,
18090,
62,
1501,
63,
25,
383,
5923,
45,
286,
257,
2139,
2597,
326,
3578,
262,
17898,
338,
2985,
284,
1895,
534,
38488,
198,
220,
14413,
54,
786,
4133,
319,
534,
8378,
13,
1114,
517,
1321,
11,
766,
8554,
2139,
9176,
329,
38488,
198,
220,
14413,
54,
786,
18289,
287,
262,
38488,
14413,
54,
786,
11787,
10005,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
282,
8357,
1,
63,
25,
49850,
262,
8398,
1321,
286,
281,
10436,
2727,
287,
281,
38488,
14413,
54,
786,
198,
220,
18289,
17898,
13,
921,
460,
779,
262,
10436,
284,
5671,
281,
11171,
3119,
290,
651,
17600,
618,
198,
220,
262,
11171,
3119,
1988,
318,
2354,
257,
7368,
2837,
13,
1114,
517,
1321,
11,
766,
37484,
198,
220,
351,
36302,
287,
262,
38488,
14413,
54,
786,
15678,
10005,
13,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
1662,
2649,
50,
2194,
15333,
1,
63,
25,
383,
3053,
2209,
326,
12800,
10436,
19605,
13,
198,
12,
4600,
1,
634,
282,
11828,
1,
63,
25,
317,
649,
6764,
329,
262,
17898,
13,
198,
12,
4600,
1,
634,
282,
11187,
78,
5159,
1,
63,
25,
198,
37811,
198,
19119,
62,
634,
282,
7,
634,
282,
17829,
15333,
11,
17898,
7390,
11,
17898,
5376,
11,
2597,
3163,
77,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
17829,
15333,
1,
14804,
634,
282,
17829,
15333,
11,
366,
634,
282,
5376,
1,
14804,
634,
282,
5376,
11,
366,
18090,
3163,
77,
1,
14804,
18090,
3163,
77,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
634,
282,
7,
634,
282,
17829,
15333,
11,
17898,
7390,
11,
17898,
5376,
11,
2597,
3163,
77,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
634,
874,
32624,
7,
634,
282,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
634,
282,
17829,
15333,
1,
14804,
634,
282,
17829,
15333,
11,
366,
634,
282,
5376,
1,
14804,
634,
282,
5376,
11,
366,
18090,
3163,
77,
1,
14804,
18090,
3163,
77,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
198,
37811,
198,
220,
220,
220,
4296,
62,
16302,
7,
16302,
62,
312,
11,
1628,
62,
3672,
8,
198,
220,
220,
220,
4296,
62,
16302,
7,
16302,
62,
312,
11,
1628,
62,
3672,
11,
42287,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
30072,
198,
198,
4933,
19581,
281,
38488,
14413,
54,
786,
18289,
1628,
13,
198,
198,
2,
20559,
2886,
198,
12,
4600,
16302,
62,
312,
63,
25,
383,
4522,
286,
262,
1628,
284,
4296,
13,
198,
12,
4600,
16302,
62,
3672,
63,
25,
317,
649,
8030,
1438,
329,
262,
1628,
13,
198,
198,
2,
32233,
40117,
198,
30719,
10007,
460,
307,
3804,
355,
257,
4600,
37266,
3712,
35,
713,
90,
10100,
11,
27,
25,
7149,
92,
44646,
48951,
8251,
389,
25,
198,
12,
4600,
1,
16366,
30642,
1,
63,
25,
317,
3748,
1339,
12,
30176,
27421,
326,
345,
460,
2148,
284,
4155,
262,
198,
220,
4686,
368,
13059,
1387,
286,
262,
2581,
13,
2094,
470,
32349,
428,
5456,
11241,
611,
257,
649,
4686,
368,
13059,
298,
2581,
318,
198,
220,
2672,
13,
198,
12,
4600,
1,
16302,
11828,
1,
63,
25,
317,
649,
6764,
329,
262,
1628,
13,
198,
37811,
198,
19119,
62,
16302,
7,
16302,
7390,
11,
1628,
5376,
26,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
42068,
32624,
7,
16302,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16302,
5376,
1,
14804,
16302,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
3419,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198,
19119,
62,
16302,
7,
16302,
7390,
11,
1628,
5376,
11,
42287,
3712,
23839,
35,
713,
90,
10100,
19629,
3253,
82,
62,
11250,
3712,
23839,
12298,
50,
16934,
28,
20541,
62,
8356,
62,
11250,
28955,
796,
1312,
1747,
270,
413,
786,
7203,
30076,
1600,
12813,
42068,
32624,
7,
16302,
7390,
42501,
360,
713,
90,
10100,
11,
4377,
92,
7,
647,
39909,
342,
28264,
647,
469,
11,
360,
713,
90,
10100,
11,
4377,
92,
7203,
16302,
5376,
1,
14804,
16302,
5376,
11,
366,
16366,
30642,
1,
14804,
8841,
7,
12303,
312,
19,
28955,
828,
42287,
18125,
3253,
82,
62,
11250,
28,
8356,
62,
11250,
8,
198
] | 3.26843 | 24,606 |
OK = '✓'
FAIL= '✖'
RESET = "\033[0m"
PAD = " " ^ 2
FAINT_COLOR = "\033[90m"
PASS_COLOR = "\033[32m"
PASS_LIGHT_COLOR = "\033[92m"
FAILED_COLOR = "\033[31m"
FAILED_LIGHT_COLOR = "\033[91m"
HOUR = 3600_000
MINUTES = 60_000
SECOND = 1000
DESCRIPTION_ERROR_MESSAGE = "PANIC! Got an error while called describe"
toMilis(n) = int(n * 10e2)
function testColor()
[println("\033[$(i)m Test_$i \033[0m") for i in 1:109]
end
function report(desc::Description)
desc.depth == 1 && println()
println(PAD ^ desc.depth, desc.name)
end
function summaryReport(passes::Array{Test,1},errors::Array{Union(Error,DescriptionError),1},elapsed)
println()
println(PASS_LIGHT_COLOR, PAD, length(passes), " passing ",FAINT_COLOR, "(", showTime(elapsed), ")")
length(errors) == 0 || println(FAILED_LIGHT_COLOR, PAD, length(errors), " failing")
println(RESET)
length(errors) == 0 || fullFailedReport(errors)
end
function showTime(n)
if n > HOUR
string(n/HOUR)[1:3] * "h"
elseif n > MINUTES
string(n/MINUTES)[1:3] * "m"
elseif n > SECOND
string(n/SECOND)[1:3] * "s"
else
string(n) * "ms"
end
end
function colorTime(elapsed::Int)
if elapsed != 0
color = elapsed > 500 ? 91 : (elapsed > 100 ? 93 : 90)
" \e[$(color)m($(showTime(elapsed)))$RESET"
else
""
end
end
function passReport(test::Test, elapsed::Int)
println(PAD ^ test.desc.depth,PAD, PASS_LIGHT_COLOR, OK, "\033[90m ", test.name, colorTime(elapsed), RESET)
end
function failedReport(err::DescriptionError)
err.desc.depth == 1 && println()
println(
PAD ^ err.desc.depth,FAILED_COLOR, FAIL, " ",
DESCRIPTION_ERROR_MESSAGE, " - ", err.desc.name,
RESET
)
end
function failedReport(err::Error)
print(PAD ^ err.test.desc.depth,PAD,FAILED_COLOR, FAIL," ",err.test.name)
print(RESET,'\n')
end
function fullFailedReport(errors::Array{Union(Error,DescriptionError),1})
for i in 1:length(errors)
err = errors[i]
print(PAD, i, ") ")
if isa(err, DescriptionError)
print(DESCRIPTION_ERROR_MESSAGE, " - ", err.desc.name)
else
print(err.test.desc.name, " - ", err.test.name)
end
println(":", FAILED_COLOR)
dump(err.err)
println(RESET)
end
end
| [
11380,
796,
705,
26486,
241,
6,
198,
7708,
4146,
28,
705,
26486,
244,
6,
198,
19535,
2767,
796,
37082,
44427,
58,
15,
76,
1,
198,
47,
2885,
796,
366,
366,
10563,
362,
198,
7708,
12394,
62,
46786,
796,
37082,
44427,
58,
3829,
76,
1,
198,
47924,
62,
46786,
796,
37082,
44427,
58,
2624,
76,
1,
198,
47924,
62,
43,
9947,
62,
46786,
796,
37082,
44427,
58,
5892,
76,
1,
198,
7708,
4146,
1961,
62,
46786,
796,
37082,
44427,
58,
3132,
76,
1,
198,
7708,
4146,
1961,
62,
43,
9947,
62,
46786,
796,
37082,
44427,
58,
6420,
76,
1,
198,
39,
11698,
796,
4570,
405,
62,
830,
198,
23678,
3843,
1546,
796,
3126,
62,
830,
198,
23683,
18672,
796,
8576,
198,
30910,
40165,
62,
24908,
62,
44,
1546,
4090,
8264,
796,
366,
47,
1565,
2149,
0,
11853,
281,
4049,
981,
1444,
6901,
1,
198,
198,
1462,
24857,
271,
7,
77,
8,
796,
493,
7,
77,
1635,
838,
68,
17,
8,
198,
198,
8818,
1332,
10258,
3419,
198,
220,
685,
35235,
7203,
59,
44427,
58,
3,
7,
72,
8,
76,
6208,
62,
3,
72,
3467,
44427,
58,
15,
76,
4943,
329,
1312,
287,
352,
25,
14454,
60,
198,
437,
198,
198,
8818,
989,
7,
20147,
3712,
11828,
8,
198,
220,
1715,
13,
18053,
6624,
352,
11405,
44872,
3419,
198,
220,
44872,
7,
47,
2885,
10563,
1715,
13,
18053,
11,
1715,
13,
3672,
8,
198,
437,
628,
198,
8818,
10638,
19100,
7,
6603,
274,
3712,
19182,
90,
14402,
11,
16,
5512,
48277,
3712,
19182,
90,
38176,
7,
12331,
11,
11828,
12331,
828,
16,
5512,
417,
28361,
8,
198,
220,
44872,
3419,
198,
220,
44872,
7,
47924,
62,
43,
9947,
62,
46786,
11,
350,
2885,
11,
4129,
7,
6603,
274,
828,
366,
6427,
33172,
7708,
12394,
62,
46786,
11,
30629,
1600,
905,
7575,
7,
417,
28361,
828,
366,
8,
4943,
198,
220,
4129,
7,
48277,
8,
6624,
657,
8614,
44872,
7,
7708,
4146,
1961,
62,
43,
9947,
62,
46786,
11,
350,
2885,
11,
4129,
7,
48277,
828,
366,
9894,
4943,
198,
220,
44872,
7,
19535,
2767,
8,
198,
220,
4129,
7,
48277,
8,
6624,
657,
220,
8614,
1336,
37,
6255,
19100,
7,
48277,
8,
198,
437,
198,
198,
8818,
905,
7575,
7,
77,
8,
198,
220,
611,
299,
1875,
367,
11698,
198,
220,
220,
220,
4731,
7,
77,
14,
39,
11698,
38381,
16,
25,
18,
60,
1635,
366,
71,
1,
198,
220,
2073,
361,
299,
1875,
20625,
3843,
1546,
198,
220,
220,
220,
4731,
7,
77,
14,
23678,
3843,
1546,
38381,
16,
25,
18,
60,
1635,
366,
76,
1,
198,
220,
2073,
361,
299,
1875,
10729,
18672,
198,
220,
220,
220,
4731,
7,
77,
14,
23683,
18672,
38381,
16,
25,
18,
60,
1635,
366,
82,
1,
198,
220,
2073,
198,
220,
220,
220,
4731,
7,
77,
8,
1635,
366,
907,
1,
198,
220,
886,
198,
437,
198,
198,
8818,
3124,
7575,
7,
417,
28361,
3712,
5317,
8,
198,
220,
611,
42118,
14512,
657,
198,
220,
220,
220,
3124,
796,
42118,
1875,
5323,
5633,
10495,
1058,
357,
417,
28361,
1875,
1802,
5633,
10261,
1058,
4101,
8,
198,
220,
220,
220,
366,
3467,
68,
58,
3,
7,
8043,
8,
76,
16763,
7,
12860,
7575,
7,
417,
28361,
22305,
3,
19535,
2767,
1,
198,
220,
2073,
198,
220,
220,
220,
13538,
198,
220,
886,
198,
437,
198,
198,
8818,
1208,
19100,
7,
9288,
3712,
14402,
11,
42118,
3712,
5317,
8,
198,
220,
44872,
7,
47,
2885,
10563,
1332,
13,
20147,
13,
18053,
11,
47,
2885,
11,
41752,
62,
43,
9947,
62,
46786,
11,
7477,
11,
37082,
44427,
58,
3829,
76,
33172,
1332,
13,
3672,
11,
3124,
7575,
7,
417,
28361,
828,
15731,
2767,
8,
198,
437,
198,
198,
8818,
4054,
19100,
7,
8056,
3712,
11828,
12331,
8,
198,
220,
11454,
13,
20147,
13,
18053,
6624,
352,
11405,
44872,
3419,
198,
220,
44872,
7,
198,
220,
220,
220,
350,
2885,
10563,
11454,
13,
20147,
13,
18053,
11,
7708,
4146,
1961,
62,
46786,
11,
9677,
4146,
11,
366,
33172,
198,
220,
220,
220,
22196,
40165,
62,
24908,
62,
44,
1546,
4090,
8264,
11,
366,
532,
33172,
11454,
13,
20147,
13,
3672,
11,
198,
220,
220,
220,
15731,
2767,
198,
220,
1267,
198,
437,
198,
198,
8818,
4054,
19100,
7,
8056,
3712,
12331,
8,
198,
220,
3601,
7,
47,
2885,
10563,
11454,
13,
9288,
13,
20147,
13,
18053,
11,
47,
2885,
11,
7708,
4146,
1961,
62,
46786,
11,
9677,
4146,
553,
33172,
8056,
13,
9288,
13,
3672,
8,
198,
220,
3601,
7,
19535,
2767,
4032,
59,
77,
11537,
198,
437,
628,
198,
8818,
1336,
37,
6255,
19100,
7,
48277,
3712,
19182,
90,
38176,
7,
12331,
11,
11828,
12331,
828,
16,
30072,
198,
220,
329,
1312,
287,
352,
25,
13664,
7,
48277,
8,
198,
220,
220,
220,
11454,
796,
8563,
58,
72,
60,
198,
220,
220,
220,
3601,
7,
47,
2885,
11,
1312,
11,
366,
8,
366,
8,
198,
220,
220,
220,
611,
318,
64,
7,
8056,
11,
12489,
12331,
8,
198,
220,
220,
220,
220,
220,
3601,
7,
30910,
40165,
62,
24908,
62,
44,
1546,
4090,
8264,
11,
366,
532,
33172,
11454,
13,
20147,
13,
3672,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
3601,
7,
8056,
13,
9288,
13,
20147,
13,
3672,
11,
366,
532,
33172,
11454,
13,
9288,
13,
3672,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
44872,
7,
1298,
1600,
9677,
4146,
1961,
62,
46786,
8,
198,
220,
220,
220,
10285,
7,
8056,
13,
8056,
8,
198,
220,
220,
220,
44872,
7,
19535,
2767,
8,
198,
220,
886,
198,
437,
198
] | 2.386536 | 921 |
"""
`generateVTK(filename, points; lines, cells, point_data, path, num, time)`
Generates a vtk file with the given data. Written by Eduardo Alvarez.
**Arguments**
* `points::Array{Array{Float64,1},1}` : Points to output.
**Optional Arguments**
* `lines::Array{Array{Int64,1},1}` : line definitions. lines[i] contains the
indices of points in the i-th line.
* `cells::Array{Array{Int64,1},1}` : VTK polygons definiton. cells[i]
contains the indices of points in the i-th polygon.
* `data::Array{Dict{String,Any},1}` : Collection of data point fields in the
following format:
data[i] = Dict(
"field_name" => field_name::String
"field_type" => "scalar" or "vector"
"field_data" => point_data
)
where point_data[i] is the data at the i-th point.
See `examples.jl` for an example on how to use this function.
"""
function generateVTK(filename::String, points;
lines::Array{Array{Int64,1},1}=Array{Int64,1}[],
cells::Array{Array{Int64,1},1}=Array{Int64,1}[],
point_data=nothing, cell_data=nothing,
num=nothing, time=nothing,
path="", comments="", _griddims::Int64=-1,
keep_points::Bool=false,
override_cell_type::Int64=-1)
aux = num!=nothing ? ".$num" : ""
ext = aux*".vtk"
if path !=""
_path = string(path, (path[end]!="/" ? "/" : ""))
else
_path = path
end
f = open(string(_path, filename, ext), "w")
# HEADER
header = "# vtk DataFile Version 4.0" # File version and identifier
header = string(header, "\n", " ", comments) # Title
header = string(header, "\n", "ASCII") # File format
header = string(header, "\n", "DATASET UNSTRUCTURED_GRID")
write(f, header)
# TIME
if time!=nothing
line0 = "\nFIELD FieldData 1"
line1 = "\nSIM_TIME 1 1 double"
line2 = "\n$(time)"
write(f, line0*line1*line2)
end
np = size(points)[1]
nl = size(lines)[1]
nc = size(cells)[1]
_keep_points = keep_points || (nl==0 && nc==0)
# POINTS
write(f, string("\n", "POINTS ", np, " float"))
for i in 1:np
print(f, "\n", points[i][1], " ", points[i][2], " ", points[i][3])
end
# We do this to avoid outputting points as cells if outputting a Grid
# or if we simply want to ignore points
if _griddims!=-1 || !_keep_points
auxnp = np
np = 0
end
# CELLS
auxl = size(lines)[1]
for line in lines
auxl += size(line)[1]
end
auxc = size(cells)[1]
for cell in cells
auxc += size(cell)[1]
end
write(f, "\n\nCELLS $(np+nl+nc) $(2*np+auxl+auxc)")
for i in 1:np+nl+nc
if i<=np
pts = [i-1]
elseif i<=np+nl
pts = lines[i-np]
else
pts = cells[i-(nl+np)]
end
print(f, "\n", size(pts,1))
for pt in pts
print(f, " ", pt)
end
end
write(f, "\n\nCELL_TYPES $(np+nl+nc)")
for i in 1:np+nl+nc
if i<=np
tpe = 1
elseif i<=np+nl
tpe = 4
else
if override_cell_type==-1
if _griddims!=-1
if _griddims==1
tpe = 3
elseif _griddims==2
tpe = 9
elseif _griddims==3
tpe = 12
else
error("Generation of VTK cells of $_griddims dimensions not implemented")
end
else
tpe = 7
end
else
tpe = override_cell_type
end
end
print(f, "\n", tpe)
end
if _griddims!=-1 || !_keep_points
np = auxnp
end
# POINT DATA
if point_data!=nothing
write(f, "\n\nPOINT_DATA $np")
end
_p_data = point_data!=nothing ? point_data : []
for field in _p_data
field_name = field["field_name"]
field_type = field["field_type"]
data = field["field_data"]
if size(data)[1]!=np
warn("Corrupted field $(field_name)! Field size != number of points.")
end
if field_type=="scalar"
write(f, "\n\nSCALARS $field_name float\nLOOKUP_TABLE default")
for entry in data
print(f, "\n", entry)
end
elseif field_type=="vector"
write(f, "\n\nVECTORS $field_name float")
for entry in data
print(f, "\n", entry[1], " ", entry[2], " ", entry[3])
end
else
error("Unknown field type $(field_type).")
end
end
# CELL DATA
if cell_data!=nothing
write(f, "\n\nCELL_DATA $nc")
end
_c_data = cell_data!=nothing ? cell_data : []
for field in _c_data
field_name = field["field_name"]
field_type = field["field_type"]
data = field["field_data"]
if size(data)[1]!=nc
warn("Corrupted field $(field_name)! Field size != number of cells.")
end
if field_type=="scalar"
write(f, "\n\nSCALARS $field_name float\nLOOKUP_TABLE default")
for entry in data
print(f, "\n", entry)
end
elseif field_type=="vector"
write(f, "\n\nVECTORS $field_name float")
for entry in data
print(f, "\n", entry[1], " ", entry[2], " ", entry[3])
end
else
error("Unknown field type $(field_type).")
end
end
close(f)
return filename*ext*";"
end | [
37811,
198,
220,
4600,
8612,
378,
36392,
42,
7,
34345,
11,
2173,
26,
3951,
11,
4778,
11,
966,
62,
7890,
11,
3108,
11,
997,
11,
640,
8,
63,
198,
8645,
689,
257,
410,
30488,
2393,
351,
262,
1813,
1366,
13,
22503,
416,
40766,
13109,
36952,
13,
198,
220,
12429,
28100,
2886,
1174,
198,
220,
1635,
4600,
13033,
3712,
19182,
90,
19182,
90,
43879,
2414,
11,
16,
5512,
16,
92,
63,
220,
220,
220,
220,
1058,
11045,
284,
5072,
13,
198,
220,
12429,
30719,
20559,
2886,
1174,
198,
220,
1635,
4600,
6615,
3712,
19182,
90,
19182,
90,
5317,
2414,
11,
16,
5512,
16,
92,
63,
220,
1058,
1627,
17336,
13,
3951,
58,
72,
60,
4909,
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,
36525,
286,
2173,
287,
262,
1312,
12,
400,
1627,
13,
198,
220,
1635,
4600,
46342,
3712,
19182,
90,
19182,
90,
5317,
2414,
11,
16,
5512,
16,
92,
63,
220,
1058,
32751,
42,
25052,
684,
2730,
37752,
13,
4778,
58,
72,
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,
4909,
262,
36525,
286,
2173,
287,
262,
1312,
12,
400,
7514,
14520,
13,
198,
220,
1635,
4600,
7890,
3712,
19182,
90,
35,
713,
90,
10100,
11,
7149,
5512,
16,
92,
63,
1058,
12251,
286,
1366,
966,
7032,
287,
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,
1708,
5794,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
72,
60,
796,
360,
713,
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,
366,
3245,
62,
3672,
1,
5218,
2214,
62,
3672,
3712,
10100,
198,
220,
220,
220,
220,
220,
220,
220,
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,
3245,
62,
4906,
1,
5218,
366,
1416,
282,
283,
1,
393,
366,
31364,
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,
366,
3245,
62,
7890,
1,
5218,
966,
62,
7890,
198,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
810,
966,
62,
7890,
58,
72,
60,
318,
262,
1366,
379,
262,
1312,
12,
400,
966,
13,
198,
6214,
4600,
1069,
12629,
13,
20362,
63,
329,
281,
1672,
319,
703,
284,
779,
428,
2163,
13,
198,
37811,
198,
8818,
7716,
36392,
42,
7,
34345,
3712,
10100,
11,
2173,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3951,
3712,
19182,
90,
19182,
90,
5317,
2414,
11,
16,
5512,
16,
92,
28,
19182,
90,
5317,
2414,
11,
16,
92,
58,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4778,
3712,
19182,
90,
19182,
90,
5317,
2414,
11,
16,
5512,
16,
92,
28,
19182,
90,
5317,
2414,
11,
16,
92,
58,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
966,
62,
7890,
28,
22366,
11,
2685,
62,
7890,
28,
22366,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
28,
22366,
11,
640,
28,
22366,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
2625,
1600,
3651,
2625,
1600,
4808,
2164,
1638,
12078,
3712,
5317,
2414,
10779,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1394,
62,
13033,
3712,
33,
970,
28,
9562,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20957,
62,
3846,
62,
4906,
3712,
5317,
2414,
10779,
16,
8,
198,
220,
27506,
796,
997,
0,
28,
22366,
5633,
27071,
3,
22510,
1,
1058,
13538,
198,
220,
1070,
796,
27506,
9,
1911,
85,
30488,
1,
198,
220,
611,
3108,
5145,
33151,
198,
220,
220,
220,
4808,
6978,
796,
4731,
7,
6978,
11,
357,
6978,
58,
437,
60,
0,
2625,
30487,
5633,
12813,
1,
1058,
13538,
4008,
198,
220,
2073,
198,
220,
220,
220,
4808,
6978,
796,
3108,
198,
220,
886,
198,
220,
277,
796,
1280,
7,
8841,
28264,
6978,
11,
29472,
11,
1070,
828,
366,
86,
4943,
198,
220,
1303,
39837,
1137,
198,
220,
13639,
796,
25113,
410,
30488,
6060,
8979,
10628,
604,
13,
15,
1,
1303,
9220,
2196,
290,
27421,
198,
220,
13639,
796,
4731,
7,
25677,
11,
37082,
77,
1600,
366,
33172,
3651,
8,
1303,
11851,
198,
220,
13639,
796,
4731,
7,
25677,
11,
37082,
77,
1600,
366,
42643,
3978,
4943,
1303,
9220,
5794,
198,
220,
13639,
796,
4731,
7,
25677,
11,
37082,
77,
1600,
366,
35,
1404,
1921,
2767,
4725,
46126,
4261,
1961,
62,
10761,
2389,
4943,
198,
220,
3551,
7,
69,
11,
13639,
8,
198,
220,
1303,
20460,
198,
220,
611,
640,
0,
28,
22366,
198,
220,
220,
220,
1627,
15,
796,
37082,
77,
44603,
7663,
6601,
352,
1,
198,
220,
220,
220,
1627,
16,
796,
37082,
77,
48913,
62,
34694,
352,
352,
4274,
1,
198,
220,
220,
220,
1627,
17,
796,
37082,
77,
3,
7,
2435,
16725,
198,
220,
220,
220,
3551,
7,
69,
11,
1627,
15,
9,
1370,
16,
9,
1370,
17,
8,
198,
220,
886,
198,
220,
45941,
796,
2546,
7,
13033,
38381,
16,
60,
198,
220,
299,
75,
796,
2546,
7,
6615,
38381,
16,
60,
198,
220,
299,
66,
796,
2546,
7,
46342,
38381,
16,
60,
198,
220,
4808,
14894,
62,
13033,
796,
1394,
62,
13033,
8614,
357,
21283,
855,
15,
11405,
299,
66,
855,
15,
8,
198,
220,
1303,
19922,
1268,
4694,
198,
220,
3551,
7,
69,
11,
4731,
7203,
59,
77,
1600,
366,
16402,
1268,
4694,
33172,
45941,
11,
366,
12178,
48774,
198,
220,
329,
1312,
287,
352,
25,
37659,
198,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
2173,
58,
72,
7131,
16,
4357,
366,
33172,
2173,
58,
72,
7131,
17,
4357,
366,
33172,
2173,
58,
72,
7131,
18,
12962,
198,
220,
886,
198,
220,
1303,
775,
466,
428,
284,
3368,
5072,
889,
2173,
355,
4778,
611,
5072,
889,
257,
24846,
198,
220,
1303,
393,
611,
356,
2391,
765,
284,
8856,
2173,
198,
220,
611,
4808,
2164,
1638,
12078,
0,
10779,
16,
8614,
5145,
62,
14894,
62,
13033,
198,
220,
220,
220,
27506,
37659,
796,
45941,
198,
220,
220,
220,
45941,
796,
657,
198,
220,
886,
198,
220,
1303,
18671,
3069,
50,
198,
220,
27506,
75,
796,
2546,
7,
6615,
38381,
16,
60,
198,
220,
329,
1627,
287,
3951,
198,
220,
220,
220,
27506,
75,
15853,
2546,
7,
1370,
38381,
16,
60,
198,
220,
886,
198,
220,
27506,
66,
796,
2546,
7,
46342,
38381,
16,
60,
198,
220,
329,
2685,
287,
4778,
198,
220,
220,
220,
27506,
66,
15853,
2546,
7,
3846,
38381,
16,
60,
198,
220,
886,
198,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
5222,
3069,
50,
29568,
37659,
10,
21283,
10,
10782,
8,
29568,
17,
9,
37659,
10,
14644,
75,
10,
14644,
66,
8,
4943,
198,
220,
329,
1312,
287,
352,
25,
37659,
10,
21283,
10,
10782,
198,
220,
220,
220,
611,
1312,
27,
28,
37659,
198,
220,
220,
220,
220,
220,
43344,
796,
685,
72,
12,
16,
60,
198,
220,
220,
220,
2073,
361,
1312,
27,
28,
37659,
10,
21283,
198,
220,
220,
220,
220,
220,
43344,
796,
3951,
58,
72,
12,
37659,
60,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
43344,
796,
4778,
58,
72,
30420,
21283,
10,
37659,
15437,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
2546,
7,
457,
82,
11,
16,
4008,
198,
220,
220,
220,
329,
42975,
287,
43344,
198,
220,
220,
220,
220,
220,
3601,
7,
69,
11,
366,
33172,
42975,
8,
198,
220,
220,
220,
886,
198,
220,
886,
198,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
5222,
3069,
62,
9936,
47,
1546,
29568,
37659,
10,
21283,
10,
10782,
8,
4943,
198,
220,
329,
1312,
287,
352,
25,
37659,
10,
21283,
10,
10782,
198,
220,
220,
220,
611,
1312,
27,
28,
37659,
198,
220,
220,
220,
220,
220,
256,
431,
796,
352,
198,
220,
220,
220,
2073,
361,
1312,
27,
28,
37659,
10,
21283,
198,
220,
220,
220,
220,
220,
256,
431,
796,
604,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
611,
20957,
62,
3846,
62,
4906,
855,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4808,
2164,
1638,
12078,
0,
10779,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4808,
2164,
1638,
12078,
855,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
431,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4808,
2164,
1638,
12078,
855,
17,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
431,
796,
860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4808,
2164,
1638,
12078,
855,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
431,
796,
1105,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
8645,
341,
286,
32751,
42,
4778,
286,
40111,
2164,
1638,
12078,
15225,
407,
9177,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
431,
796,
767,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
256,
431,
796,
20957,
62,
3846,
62,
4906,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
256,
431,
8,
198,
220,
886,
198,
220,
611,
4808,
2164,
1638,
12078,
0,
10779,
16,
8614,
5145,
62,
14894,
62,
13033,
198,
220,
220,
220,
45941,
796,
27506,
37659,
198,
220,
886,
198,
220,
1303,
19922,
12394,
42865,
198,
220,
611,
966,
62,
7890,
0,
28,
22366,
198,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
16402,
12394,
62,
26947,
720,
37659,
4943,
198,
220,
886,
198,
220,
4808,
79,
62,
7890,
796,
966,
62,
7890,
0,
28,
22366,
5633,
966,
62,
7890,
1058,
17635,
198,
220,
329,
2214,
287,
4808,
79,
62,
7890,
198,
220,
220,
220,
2214,
62,
3672,
796,
2214,
14692,
3245,
62,
3672,
8973,
198,
220,
220,
220,
2214,
62,
4906,
796,
2214,
14692,
3245,
62,
4906,
8973,
198,
220,
220,
220,
1366,
796,
2214,
14692,
3245,
62,
7890,
8973,
198,
220,
220,
220,
611,
2546,
7,
7890,
38381,
16,
60,
0,
28,
37659,
198,
220,
220,
220,
220,
220,
9828,
7203,
10606,
31590,
2214,
29568,
3245,
62,
3672,
31520,
7663,
2546,
14512,
1271,
286,
2173,
19570,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
2214,
62,
4906,
855,
1,
1416,
282,
283,
1,
198,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
6173,
1847,
27415,
720,
3245,
62,
3672,
12178,
59,
77,
43,
15308,
8577,
62,
38148,
4277,
4943,
198,
220,
220,
220,
220,
220,
329,
5726,
287,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
5726,
8,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
2214,
62,
4906,
855,
1,
31364,
1,
198,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
53,
9782,
20673,
720,
3245,
62,
3672,
12178,
4943,
198,
220,
220,
220,
220,
220,
329,
5726,
287,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
5726,
58,
16,
4357,
366,
33172,
5726,
58,
17,
4357,
366,
33172,
5726,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
4049,
7203,
20035,
2214,
2099,
29568,
3245,
62,
4906,
8,
19570,
198,
220,
220,
220,
886,
198,
220,
886,
198,
220,
220,
220,
1303,
18671,
3069,
42865,
198,
220,
220,
220,
611,
2685,
62,
7890,
0,
28,
22366,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
5222,
3069,
62,
26947,
720,
10782,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
4808,
66,
62,
7890,
796,
2685,
62,
7890,
0,
28,
22366,
5633,
2685,
62,
7890,
1058,
17635,
198,
220,
220,
220,
329,
2214,
287,
4808,
66,
62,
7890,
198,
220,
220,
220,
220,
220,
2214,
62,
3672,
796,
2214,
14692,
3245,
62,
3672,
8973,
198,
220,
220,
220,
220,
220,
2214,
62,
4906,
796,
2214,
14692,
3245,
62,
4906,
8973,
198,
220,
220,
220,
220,
220,
1366,
796,
2214,
14692,
3245,
62,
7890,
8973,
198,
220,
220,
220,
220,
220,
611,
2546,
7,
7890,
38381,
16,
60,
0,
28,
10782,
198,
220,
220,
220,
220,
220,
220,
220,
9828,
7203,
10606,
31590,
2214,
29568,
3245,
62,
3672,
31520,
7663,
2546,
14512,
1271,
286,
4778,
19570,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
611,
2214,
62,
4906,
855,
1,
1416,
282,
283,
1,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
6173,
1847,
27415,
720,
3245,
62,
3672,
12178,
59,
77,
43,
15308,
8577,
62,
38148,
4277,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5726,
287,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
5726,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
2073,
361,
2214,
62,
4906,
855,
1,
31364,
1,
198,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
37082,
77,
59,
77,
53,
9782,
20673,
720,
3245,
62,
3672,
12178,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5726,
287,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
11,
37082,
77,
1600,
5726,
58,
16,
4357,
366,
33172,
5726,
58,
17,
4357,
366,
33172,
5726,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
20035,
2214,
2099,
29568,
3245,
62,
4906,
8,
19570,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
1969,
7,
69,
8,
198,
220,
1441,
29472,
9,
2302,
9,
8172,
1,
198,
437
] | 2.059455 | 2,607 |
@info("Please allow up to 20 minutes for all tests to execute.")
import SeisIO
import SeisIO: get_svn
cd(dirname(pathof(SeisIO))*"/../test")
get_svn("https://github.com/jpjones76/SeisIO-TestData/trunk/SampleFiles", "SampleFiles")
include("local_restricted.jl")
include("test_helpers.jl")
# Announce test begin
test_start = Dates.now()
ltestname = 48
printstyled(stdout,
string(test_start, ": tests begin, path = ", path, ", has_restricted = ", has_restricted, ", keep_log = ", keep_log, ", keep_samples = ", keep_samples, "\n"),
color=:light_green,
bold=true)
# Run all tests
# huehuehue grep "include(joinpath" runtests.jl | awk -F "(" '{print $3}' | awk -F "," {'print $1'}
for d in ["CoreUtils", "Types", "RandSeis", "Utils", "NativeIO", "DataFormats", "Processing", "Quake", "Web"]
ld = length(d)
ll = div(ltestname - ld - 2, 2)
lr = ll + (isodd(ld) ? 1 : 0)
printstyled(string("="^ll, " ", d, " ", "="^lr, "\n"), color=:cyan, bold=true)
for i in readdir(path*"/"*d)
f = joinpath(d,i)
if endswith(i, ".jl")
printstyled(lpad(" "*f, ltestname)*"\n", color=:cyan)
write(out, string("\n\ntest ", f, "\n\n"))
flush(out)
include(f)
end
end
end
# Cleanup
include("cleanup.jl")
if keep_samples == false
include("rm_samples.jl")
end
if !keep_log
try
rm("runtests.log")
catch err
@warn(string("can't remove runtests.log; threw err", err))
end
end
# Announce tests end
test_end = Dates.now()
δt = 0.001*(test_end-test_start).value
mm = round(Int, div(δt, 60))
ss = rem(δt, 60)
printstyled(string(test_end, ": tests end, elapsed time (mm:ss.μμμ) = ",
@sprintf("%02i", mm), ":",
@sprintf("%06.3f", ss), "\n"), color=:light_green, bold=true)
printstyled("To run some data acquisition examples, execute this command: include(\"", path, "/examples.jl\").\n", color=:cyan, bold=true)
| [
31,
10951,
7203,
5492,
1249,
510,
284,
1160,
2431,
329,
477,
5254,
284,
12260,
19570,
201,
198,
11748,
1001,
271,
9399,
201,
198,
11748,
1001,
271,
9399,
25,
651,
62,
21370,
77,
201,
198,
10210,
7,
15908,
3672,
7,
6978,
1659,
7,
4653,
271,
9399,
4008,
9,
1,
14,
40720,
9288,
4943,
201,
198,
1136,
62,
21370,
77,
7203,
5450,
1378,
12567,
13,
785,
14,
34523,
73,
1952,
4304,
14,
4653,
271,
9399,
12,
14402,
6601,
14,
2213,
2954,
14,
36674,
25876,
1600,
366,
36674,
25876,
4943,
201,
198,
17256,
7203,
12001,
62,
49343,
13,
20362,
4943,
201,
198,
17256,
7203,
9288,
62,
16794,
364,
13,
20362,
4943,
201,
198,
201,
198,
2,
43470,
1332,
2221,
201,
198,
9288,
62,
9688,
220,
796,
44712,
13,
2197,
3419,
201,
198,
2528,
395,
3672,
220,
220,
796,
4764,
201,
198,
4798,
34365,
992,
7,
19282,
448,
11,
201,
198,
220,
4731,
7,
9288,
62,
9688,
11,
366,
25,
5254,
2221,
11,
3108,
796,
33172,
3108,
11,
33172,
468,
62,
49343,
796,
33172,
468,
62,
49343,
11,
33172,
1394,
62,
6404,
796,
33172,
1394,
62,
6404,
11,
33172,
1394,
62,
82,
12629,
796,
33172,
1394,
62,
82,
12629,
11,
37082,
77,
12340,
201,
198,
220,
3124,
28,
25,
2971,
62,
14809,
11,
201,
198,
220,
10758,
28,
7942,
8,
201,
198,
201,
198,
2,
5660,
477,
5254,
201,
198,
2,
37409,
71,
518,
71,
518,
42717,
366,
17256,
7,
22179,
6978,
1,
1057,
41989,
13,
20362,
930,
3253,
74,
532,
37,
366,
7203,
705,
90,
4798,
720,
18,
92,
6,
930,
3253,
74,
532,
37,
366,
553,
1391,
6,
4798,
720,
16,
6,
92,
201,
198,
1640,
288,
287,
14631,
14055,
18274,
4487,
1600,
366,
31431,
1600,
366,
38918,
4653,
271,
1600,
366,
18274,
4487,
1600,
366,
31272,
9399,
1600,
366,
6601,
8479,
1381,
1600,
366,
18709,
278,
1600,
366,
4507,
539,
1600,
366,
13908,
8973,
201,
198,
220,
300,
67,
796,
4129,
7,
67,
8,
201,
198,
220,
32660,
796,
2659,
7,
2528,
395,
3672,
532,
300,
67,
532,
362,
11,
362,
8,
201,
198,
220,
300,
81,
796,
32660,
1343,
357,
271,
5088,
7,
335,
8,
5633,
352,
1058,
657,
8,
201,
198,
220,
3601,
34365,
992,
7,
8841,
7203,
2625,
61,
297,
11,
366,
33172,
288,
11,
366,
33172,
366,
2625,
61,
14050,
11,
37082,
77,
12340,
3124,
28,
25,
948,
272,
11,
10758,
28,
7942,
8,
201,
198,
220,
329,
1312,
287,
1100,
15908,
7,
6978,
9,
1,
30487,
9,
67,
8,
201,
198,
220,
220,
220,
277,
796,
4654,
6978,
7,
67,
11,
72,
8,
201,
198,
220,
220,
220,
611,
886,
2032,
342,
7,
72,
11,
27071,
20362,
4943,
201,
198,
220,
220,
220,
220,
220,
3601,
34365,
992,
7,
75,
15636,
7203,
366,
9,
69,
11,
300,
9288,
3672,
27493,
1,
59,
77,
1600,
3124,
28,
25,
948,
272,
8,
201,
198,
220,
220,
220,
220,
220,
3551,
7,
448,
11,
4731,
7203,
59,
77,
59,
429,
395,
33172,
277,
11,
37082,
77,
59,
77,
48774,
201,
198,
220,
220,
220,
220,
220,
24773,
7,
448,
8,
201,
198,
220,
220,
220,
220,
220,
2291,
7,
69,
8,
201,
198,
220,
220,
220,
886,
201,
198,
220,
886,
201,
198,
437,
201,
198,
201,
198,
2,
5985,
929,
201,
198,
17256,
7203,
27773,
929,
13,
20362,
4943,
201,
198,
361,
1394,
62,
82,
12629,
6624,
3991,
201,
198,
220,
2291,
7203,
26224,
62,
82,
12629,
13,
20362,
4943,
201,
198,
437,
201,
198,
361,
5145,
14894,
62,
6404,
201,
198,
220,
1949,
201,
198,
220,
220,
220,
42721,
7203,
81,
2797,
3558,
13,
6404,
4943,
201,
198,
220,
4929,
11454,
201,
198,
220,
220,
220,
2488,
40539,
7,
8841,
7203,
5171,
470,
4781,
1057,
41989,
13,
6404,
26,
9617,
11454,
1600,
11454,
4008,
201,
198,
220,
886,
201,
198,
437,
201,
198,
201,
198,
2,
43470,
5254,
886,
201,
198,
9288,
62,
437,
796,
44712,
13,
2197,
3419,
201,
198,
138,
112,
83,
796,
657,
13,
8298,
9,
7,
9288,
62,
437,
12,
9288,
62,
9688,
737,
8367,
201,
198,
3020,
796,
2835,
7,
5317,
11,
2659,
7,
138,
112,
83,
11,
3126,
4008,
201,
198,
824,
796,
816,
7,
138,
112,
83,
11,
3126,
8,
201,
198,
4798,
34365,
992,
7,
8841,
7,
9288,
62,
437,
11,
366,
25,
5254,
886,
11,
42118,
640,
357,
3020,
25,
824,
13,
34703,
34703,
34703,
8,
796,
33172,
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,
2488,
82,
37435,
7203,
4,
2999,
72,
1600,
8085,
828,
366,
25,
1600,
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,
2488,
82,
37435,
7203,
4,
3312,
13,
18,
69,
1600,
37786,
828,
37082,
77,
12340,
3124,
28,
25,
2971,
62,
14809,
11,
10758,
28,
7942,
8,
201,
198,
4798,
34365,
992,
7203,
2514,
1057,
617,
1366,
12673,
6096,
11,
12260,
428,
3141,
25,
2291,
7,
7879,
1600,
3108,
11,
12813,
1069,
12629,
13,
20362,
7879,
737,
59,
77,
1600,
3124,
28,
25,
948,
272,
11,
10758,
28,
7942,
8,
201,
198
] | 2.253456 | 868 |
using JLD2
using PyPlot
using Statistics
using Printf
nfile = 8
include("../../../src/loglinspace.jl")
include("../../../src/histogram_code.jl")
# Load in likelihood profile:
#@load "T1_likelihood_profile_student_all_3.0sig.jld2"
@load "../../../data/T1_likelihood_profile_student_all_3.0sig_v02.jld2"
# Load in the Markov chain dataset:
@load "../../../data/T1_hmc_total_02212020.jld2"
#@load "/Users/ericagol/Observing/Spitzer/DDT2019/Campaign04/v15/Hyak/T1_hmc_total_02212020.jld2"
## Now, make plots of each parameter versus the others:
#planet =["b","c","d","e","f","g","h"]
#var = ["m","P","t0","ecos","esin","log(nu)","V1 e^{1/(2nu)}"]
#
#for i=1:36
# if i < 36
# ip1 = ceil(Int64,i/5); ip2 = mod(i-1,5)+1
# x = vec(elements_grid_all[:,ip1+1,ip2,:])
# xname = string(planet[ip1]," ",var[ip2])
# else
# x = log.(vec(ndof_grid_all))
# xname = var[6]
# end
# for j=i+1:37
## for j=36:37
# if j < 36
# jp1 = ceil(Int64,j/5); jp2 = mod(j-1,5)+1
# y = vec(elements_grid_all[:,jp1+1,jp2,:])
# yname = string(planet[jp1]," ",var[jp2])
# elseif j < 37
# y = log.(vec(ndof_grid_all))
# yname = var[6]
# else
# y = exp.(vec(lnV1_grid_all) .+ 1 ./(2vec(ndof_grid_all)))
# yname = var[7]
# end
# if(abs(cor(x,y)) > 0.5)
# clf()
# cmap = exp.(-0.5 .*(vec(chi_grid_all) .- minimum(chi_grid_all)))
# scatter(x[cmap .> 0.6],y[cmap .> 0.6],c=cmap[cmap .> 0.6])
# println(i," ",xname," ",j," ",yname," ",cor(x,y))
# read(stdin,Char)
# end
# end
#end
planet =["b","c","d","e","f","g","h"]
cp = ["C0","C1","C2","C3","C4","C5","C6","C7","C8","C9"]
x2=collect(linearspace(-0.015,0.015,1000))
fig,axes = subplots(4,2,figsize=(10,8),sharex="col",sharey="row")
for i=1:7
ax = axes[i]
x= elements_grid_all[(i-1)*5+4,i+1,4,:]; ecos0 = elements_grid_all[(i-1)*5+4,i+1,4,16]
ecc = sqrt.(x.^2 .+ elements_grid_all[(i-1)*5+5,i+1,5,:].^2)
prob = exp.(-0.5*(chi_grid_all[(i-1)*5+4,:] .-chi_grid_all[(i-1)*5+4,16]))
ax.plot(x,prob./maximum(prob),color=cp[i],linewidth=1)
prob2 = exp.(-0.5 .*(x2 .-ecos0).^2 ./cov_save[(i-1)*5+4,(i-1)*5+4])
ax.plot(x2,prob2,color=cp[i],alpha=0.3,linewidth=1)
# Plot histogram:
ecos_bin,ecos_hist,ecos_bin_square,ecos_hist_square = histogram(state_total[(i-1)*5+4,:],50)
# ax.plot(ecos_bin_square,ecos_hist_square ./maximum(ecos_hist_square),color=cp[i],linewidth=3,label=L"$e\cos{\omega}$)
ax.plot(ecos_bin_square,ecos_hist_square ./maximum(ecos_hist_square),color=cp[i],linewidth=3,label=L"$e\cos \omega$")
x = elements_grid_all[(i-1)*5+5,i+1,5,:]; esin0 = elements_grid_all[i*5,i+1,5,16]
ecc = sqrt.(x.^2 + elements_grid_all[5i-4,i+1,4,:].^2)
prob = exp.(-0.5*(chi_grid_all[(i-1)*5+5,:] .-chi_grid_all[(i-1)*5+5,16]))
ax.plot(x,prob./maximum(prob),linestyle=":",color=cp[i],linewidth=1)
prob2 = exp.(-0.5 .*(x2 .-esin0).^2 ./cov_save[i*5,i*5])
ax.plot(x2,prob2,color=cp[i],linestyle=":",alpha=0.3,linewidth=1)
# Plot histogram:
esin_bin,esin_hist,esin_bin_square,esin_hist_square = histogram(state_total[(i-1)*5+5,:],50)
ax.plot(esin_bin_square,esin_hist_square ./maximum(esin_hist_square),color=cp[i],linestyle=":",linewidth=3,label=L"$e\sin{\omega}$")
# ax.plot(esin_bin_square,esin_hist_square ./maximum(esin_hist_square),color=cp[i],linestyle=":",linewidth=3)
ax.plot([0,0],[0,1.05],linestyle="--",color=cp[i],linewidth=2)
ax.legend();
ax.axis([-0.0175,0.0175,0,1.05]); ax.annotate(string("(",planet[i],")"),xy=[-0.014;0.8])
println(planet[i]," ",@sprintf("%6.4f",ecos0),"+-",@sprintf("%6.4f",sqrt(cov_save[5i-1,5i-1])),
" ",@sprintf("%6.4f",esin0),"+-",@sprintf("%6.4f",sqrt(cov_save[5i,5i])))
ax.grid(linestyle=":")
end
ax = axes[8]
#ax.axis("off")
# Plot the prior:
include("compute_ecc_prior.jl")
ax.grid(linestyle=":")
tight_layout()
subplots_adjust(hspace = 0,wspace=0)
savefig("../T1_eccentricity_vectors_likelihood_profile_hmc.pdf",bbox_inches="tight")
#read(stdin,Char)
# Make a plot of eccentricity histogram:
clf()
for i=1:7
ecc_bin,ecc_hist,ecc_bin_square,ecc_hist_square = histogram(sqrt.(state_total[(i-1)*5+4,:].^2+state_total[(i-1)*5+5,:].^2),50)
plot(ecc_bin_square,ecc_hist_square./maximum(ecc_hist_square),color=cp[i],linewidth=3,label=planet[i])
end
xlabel("Eccentricity",fontsize=15)
ylabel("Probability",fontsize=15)
legend(fontsize=15)
axis([0,0.015,0,1.05])
xticks(fontsize=15)
yticks(fontsize=15)
#read(stdin,Char)
savefig("../eccentricity_posterior.pdf",bbox_inches="tight")
#read(stdin,Char)
fig,axes = subplots(4,2)
for i=1:7
ax = axes[i]
# Plot period:
P0 = elements_grid_all[(i-1)*5+2,i+1,2,16]; x= elements_grid_all[(i-1)*5+2,i+1,2,:] .- P0
prob = exp.(-0.5*(chi_grid_all[(i-1)*5+4,:] .-chi_grid_all[(i-1)*5+4,16]))
sigP = sqrt(cov_save[(i-1)*5+2,(i-1)*5+2])
x2=collect(linearspace(-4sigP,4sigP,1000))
ax.plot(x,prob,label="Period",color=cp[i])
prob2 = exp.(-0.5 .*x2.^2 ./cov_save[(i-1)*5+2,(i-1)*5+2])
ax.plot(x2,prob2,color=cp[i],alpha=0.3)
t0 = elements_grid_all[(i-1)*5+3,i+1,3,16]
prob = exp.(-0.5*(chi_grid_all[(i-1)*5+3,:] .-chi_grid_all[(i-1)*5+3,16]))
x = elements_grid_all[(i-1)*5+3,i+1,3,:] .- t0
ax.plot(x,prob,label=L"$t_0$",linestyle="--",color=cp[i])
sigt0 = sqrt(cov_save[(i-1)*5+3,(i-1)*5+3])
x2=collect(linearspace(-4sigt0,4sigt0,1000))
prob2 = exp.(-0.5 .*x2.^2 ./cov_save[(i-1)*5+3,(i-1)*5+3])
ax.plot(x2,prob2,color=cp[i],linestyle="--",alpha=0.3)
ax.plot([0,0],[0,1],linestyle=":",color=cp[i])
ax.legend();
ax.axis([-0.015,0.015,0,1]); ax.annotate(string("(",planet[i],")"),xy=[-0.014;0.8])
println(planet[i]," ",@sprintf("%6.4f",P0),"+-",@sprintf("%6.4f",sigP),
" ",@sprintf("%6.4f",t0),"+-",@sprintf("%6.4f",sigt0))
end
# Finally plot log(ndof) & V1e^{1/(2nu)}:
fig,axes = subplots(1,2,sharey="row")
ax = axes[1]
#ndof0 = ndof_grid_all[nparam-1,16]; x= ndof_grid_all[nparam-1,:]
#prob = exp.(-0.5*(chi_grid_all[nparam-1,:] .-chi_grid_all[nparam-1,16]))
#signdof = sqrt(cov_save[nparam-1,nparam-1])
#x2=collect(linearspace(-4signdof,4signdof,1000))
#ax.plot(x,prob,label=L"$\nu$",color=cp[n])
#prob2 = exp.(-0.5 .*x2.^2 ./cov_save[nparam-1,nparam-1])
#x2 .+= ndof0
#ax.plot(x2,prob2,color=cp[n],alpha=0.3)
#lgndof0 = log(ndof_grid_all[nparam-1,16]); x= log.(ndof_grid_all[nparam-1,:])
lgndof0 = lgndof_grid_all[nparam-1,16]; x= lgndof_grid_all[nparam-1,:]
prob = exp.(-0.5*(chi_grid_all[nparam-1,:] .-chi_grid_all[nparam-1,16]))
signdof = sqrt(cov_save[nparam-1,nparam-1])/exp(lgndof0)
x2=collect(linearspace(-4signdof,4signdof,1000))
ax.plot(x,prob,label=L"$\nu$",color=cp[n],linewidth=3)
prob2 = exp.(-0.5 .*x2.^2 ./(cov_save[nparam-1,nparam-1]/exp(2lgndof0)))
x2 .+= lgndof0
ax.plot(x2,prob2,color=cp[n],alpha=0.3,linewidth=3)
# Plot histogram of log(ndof) parameter:
lndof_bin,lndof_hist,lndof_bin_square,lndof_hist_square = histogram(state_total[36,:],50)
ax.plot(lndof_bin_square,lndof_hist_square./maximum(lndof_hist_square))
ax.set_xlabel(L"$\log{\nu}$",fontsize=15)
ax.set_ylabel("Probability",fontsize=15)
ax = axes[2]
V1exp2nuinv0 = V1exp2nuinv_grid_all[nparam,16]; x= V1exp2nuinv_grid_all[nparam,:]
prob = exp.(-0.5*(chi_grid_all[nparam,:] .-chi_grid_all[nparam,16]))
#sigV1exp2nuinv = sqrt(cov_save[nparam,nparam])
sigV1exp2nuinv = 0.09
x2=collect(linearspace(-4sigV1exp2nuinv,4sigV1exp2nuinv,1000))
ax.plot(x,prob,label=L"$\ln(V_1)$",color=cp[n+1],linewidth=3)
#prob2 = exp.(-0.5 .*x2.^2 ./cov_save[nparam,nparam])
prob2 = exp.(-0.5 .*x2.^2 ./sigV1exp2nuinv^2)
x2 .+= V1exp2nuinv0
ax.plot(x2,prob2,color=cp[n+1],alpha=0.3,linewidth=3)
# Plot histogram of this parameter:
V1expinv2nu_bin,V1expinv2nu_hist,V1expinv2nu_bin_square,V1expinv2nu_hist_square = histogram(state_total[37,:],50)
ax.plot(V1expinv2nu_bin_square,V1expinv2nu_hist_square./maximum(V1expinv2nu_hist_square))
ax.set_xlabel(L"$V_1 e^{1/(2\nu)}$",fontsize=15)
subplots_adjust(wspace=0)
savefig("../T1_students_params_transformed.pdf",bbox_inches="tight")
| [
198,
198,
3500,
449,
11163,
17,
198,
3500,
9485,
43328,
198,
3500,
14370,
198,
3500,
12578,
69,
198,
77,
7753,
796,
807,
198,
17256,
7203,
40720,
40720,
40720,
10677,
14,
6404,
21602,
10223,
13,
20362,
4943,
198,
17256,
7203,
40720,
40720,
40720,
10677,
14,
10034,
21857,
62,
8189,
13,
20362,
4943,
198,
198,
2,
8778,
287,
14955,
7034,
25,
198,
2,
31,
2220,
366,
51,
16,
62,
2339,
11935,
62,
13317,
62,
50139,
62,
439,
62,
18,
13,
15,
82,
328,
13,
73,
335,
17,
1,
198,
31,
2220,
366,
40720,
40720,
40720,
7890,
14,
51,
16,
62,
2339,
11935,
62,
13317,
62,
50139,
62,
439,
62,
18,
13,
15,
82,
328,
62,
85,
2999,
13,
73,
335,
17,
1,
198,
198,
2,
8778,
287,
262,
2940,
709,
6333,
27039,
25,
198,
31,
2220,
366,
40720,
40720,
40720,
7890,
14,
51,
16,
62,
71,
23209,
62,
23350,
62,
44087,
10232,
1238,
13,
73,
335,
17,
1,
198,
2,
31,
2220,
12813,
14490,
14,
35626,
363,
349,
14,
31310,
14344,
14,
4561,
10557,
14,
16458,
51,
23344,
14,
46102,
3023,
14,
85,
1314,
14,
21217,
461,
14,
51,
16,
62,
71,
23209,
62,
23350,
62,
44087,
10232,
1238,
13,
73,
335,
17,
1,
198,
198,
2235,
2735,
11,
787,
21528,
286,
1123,
11507,
9051,
262,
1854,
25,
198,
2,
47427,
796,
14692,
65,
2430,
66,
2430,
67,
2430,
68,
2430,
69,
2430,
70,
2430,
71,
8973,
198,
2,
7785,
796,
14631,
76,
2430,
47,
2430,
83,
15,
2430,
721,
418,
2430,
274,
259,
2430,
6404,
7,
28803,
8,
2430,
53,
16,
304,
36796,
16,
29006,
17,
28803,
38165,
8973,
198,
2,
198,
2,
1640,
1312,
28,
16,
25,
2623,
198,
2,
220,
611,
1312,
1279,
4570,
198,
2,
220,
220,
220,
20966,
16,
796,
2906,
346,
7,
5317,
2414,
11,
72,
14,
20,
1776,
20966,
17,
796,
953,
7,
72,
12,
16,
11,
20,
47762,
16,
198,
2,
220,
220,
220,
2124,
796,
43030,
7,
68,
3639,
62,
25928,
62,
439,
58,
45299,
541,
16,
10,
16,
11,
541,
17,
11,
25,
12962,
198,
2,
220,
220,
220,
2124,
3672,
796,
4731,
7,
47427,
58,
541,
16,
17241,
33172,
7785,
58,
541,
17,
12962,
198,
2,
220,
2073,
198,
2,
220,
220,
220,
2124,
796,
2604,
12195,
35138,
7,
358,
1659,
62,
25928,
62,
439,
4008,
198,
2,
220,
220,
220,
2124,
3672,
796,
1401,
58,
21,
60,
198,
2,
220,
886,
198,
2,
220,
329,
474,
28,
72,
10,
16,
25,
2718,
198,
2235,
220,
329,
474,
28,
2623,
25,
2718,
198,
2,
220,
220,
220,
611,
474,
1279,
4570,
198,
2,
220,
220,
220,
220,
220,
474,
79,
16,
796,
2906,
346,
7,
5317,
2414,
11,
73,
14,
20,
1776,
474,
79,
17,
796,
953,
7,
73,
12,
16,
11,
20,
47762,
16,
198,
2,
220,
220,
220,
220,
220,
331,
796,
43030,
7,
68,
3639,
62,
25928,
62,
439,
58,
45299,
34523,
16,
10,
16,
11,
34523,
17,
11,
25,
12962,
198,
2,
220,
220,
220,
220,
220,
331,
3672,
796,
4731,
7,
47427,
58,
34523,
16,
17241,
33172,
7785,
58,
34523,
17,
12962,
198,
2,
220,
220,
220,
2073,
361,
474,
1279,
5214,
198,
2,
220,
220,
220,
220,
220,
331,
796,
2604,
12195,
35138,
7,
358,
1659,
62,
25928,
62,
439,
4008,
198,
2,
220,
220,
220,
220,
220,
331,
3672,
796,
1401,
58,
21,
60,
198,
2,
220,
220,
220,
2073,
198,
2,
220,
220,
220,
220,
220,
331,
796,
1033,
12195,
35138,
7,
18755,
53,
16,
62,
25928,
62,
439,
8,
764,
10,
352,
24457,
7,
17,
35138,
7,
358,
1659,
62,
25928,
62,
439,
22305,
198,
2,
220,
220,
220,
220,
220,
331,
3672,
796,
1401,
58,
22,
60,
198,
2,
220,
220,
220,
886,
198,
2,
220,
220,
220,
611,
7,
8937,
7,
10215,
7,
87,
11,
88,
4008,
1875,
657,
13,
20,
8,
198,
2,
220,
220,
220,
220,
220,
537,
69,
3419,
198,
2,
220,
220,
220,
220,
220,
269,
8899,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
7,
35138,
7,
11072,
62,
25928,
62,
439,
8,
764,
12,
5288,
7,
11072,
62,
25928,
62,
439,
22305,
198,
2,
220,
220,
220,
220,
220,
41058,
7,
87,
58,
66,
8899,
764,
29,
657,
13,
21,
4357,
88,
58,
66,
8899,
764,
29,
657,
13,
21,
4357,
66,
28,
66,
8899,
58,
66,
8899,
764,
29,
657,
13,
21,
12962,
198,
2,
220,
220,
220,
220,
220,
44872,
7,
72,
553,
33172,
87,
3672,
553,
33172,
73,
553,
33172,
2047,
480,
553,
33172,
10215,
7,
87,
11,
88,
4008,
198,
2,
220,
220,
220,
220,
220,
1100,
7,
19282,
259,
11,
12441,
8,
198,
2,
220,
220,
220,
886,
198,
2,
220,
886,
198,
2,
437,
198,
198,
47427,
796,
14692,
65,
2430,
66,
2430,
67,
2430,
68,
2430,
69,
2430,
70,
2430,
71,
8973,
198,
13155,
796,
14631,
34,
15,
2430,
34,
16,
2430,
34,
17,
2430,
34,
18,
2430,
34,
19,
2430,
34,
20,
2430,
34,
21,
2430,
34,
22,
2430,
34,
23,
2430,
34,
24,
8973,
198,
87,
17,
28,
33327,
7,
29127,
13200,
32590,
15,
13,
25150,
11,
15,
13,
25150,
11,
12825,
4008,
198,
5647,
11,
897,
274,
796,
850,
489,
1747,
7,
19,
11,
17,
11,
5647,
7857,
16193,
940,
11,
23,
828,
20077,
87,
2625,
4033,
1600,
20077,
88,
2625,
808,
4943,
198,
1640,
1312,
28,
16,
25,
22,
198,
220,
7877,
796,
34197,
58,
72,
60,
198,
220,
2124,
28,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
72,
10,
16,
11,
19,
11,
25,
11208,
304,
6966,
15,
796,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
72,
10,
16,
11,
19,
11,
1433,
60,
198,
220,
21399,
796,
19862,
17034,
12195,
87,
13,
61,
17,
764,
10,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
72,
10,
16,
11,
20,
11,
25,
4083,
61,
17,
8,
198,
220,
1861,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
1433,
60,
4008,
198,
220,
7877,
13,
29487,
7,
87,
11,
1676,
65,
19571,
47033,
7,
1676,
65,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
16,
8,
198,
220,
1861,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
7,
87,
17,
764,
12,
721,
418,
15,
737,
61,
17,
24457,
66,
709,
62,
21928,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
7,
72,
12,
16,
27493,
20,
10,
19,
12962,
198,
220,
7877,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
72,
4357,
26591,
28,
15,
13,
18,
11,
2815,
413,
5649,
28,
16,
8,
198,
220,
1303,
28114,
1554,
21857,
25,
198,
220,
304,
6966,
62,
8800,
11,
721,
418,
62,
10034,
11,
721,
418,
62,
8800,
62,
23415,
11,
721,
418,
62,
10034,
62,
23415,
796,
1554,
21857,
7,
5219,
62,
23350,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
25,
4357,
1120,
8,
198,
2,
220,
7877,
13,
29487,
7,
721,
418,
62,
8800,
62,
23415,
11,
721,
418,
62,
10034,
62,
23415,
24457,
47033,
7,
721,
418,
62,
10034,
62,
23415,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
18,
11,
18242,
28,
43,
1,
3,
68,
59,
6966,
31478,
462,
4908,
92,
3,
8,
198,
220,
7877,
13,
29487,
7,
721,
418,
62,
8800,
62,
23415,
11,
721,
418,
62,
10034,
62,
23415,
24457,
47033,
7,
721,
418,
62,
10034,
62,
23415,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
18,
11,
18242,
28,
43,
1,
3,
68,
59,
6966,
3467,
462,
4908,
3,
4943,
198,
220,
2124,
796,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
72,
10,
16,
11,
20,
11,
25,
11208,
1658,
259,
15,
796,
4847,
62,
25928,
62,
439,
58,
72,
9,
20,
11,
72,
10,
16,
11,
20,
11,
1433,
60,
198,
220,
21399,
796,
19862,
17034,
12195,
87,
13,
61,
17,
1343,
4847,
62,
25928,
62,
439,
58,
20,
72,
12,
19,
11,
72,
10,
16,
11,
19,
11,
25,
4083,
61,
17,
8,
198,
220,
1861,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
1433,
60,
4008,
198,
220,
7877,
13,
29487,
7,
87,
11,
1676,
65,
19571,
47033,
7,
1676,
65,
828,
2815,
10992,
28,
1298,
1600,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
16,
8,
198,
220,
1861,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
7,
87,
17,
764,
12,
274,
259,
15,
737,
61,
17,
24457,
66,
709,
62,
21928,
58,
72,
9,
20,
11,
72,
9,
20,
12962,
198,
220,
7877,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
72,
4357,
2815,
10992,
28,
1298,
1600,
26591,
28,
15,
13,
18,
11,
2815,
413,
5649,
28,
16,
8,
198,
220,
1303,
28114,
1554,
21857,
25,
198,
220,
1658,
259,
62,
8800,
11,
274,
259,
62,
10034,
11,
274,
259,
62,
8800,
62,
23415,
11,
274,
259,
62,
10034,
62,
23415,
796,
1554,
21857,
7,
5219,
62,
23350,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
25,
4357,
1120,
8,
198,
220,
7877,
13,
29487,
7,
274,
259,
62,
8800,
62,
23415,
11,
274,
259,
62,
10034,
62,
23415,
24457,
47033,
7,
274,
259,
62,
10034,
62,
23415,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
10992,
28,
1298,
1600,
2815,
413,
5649,
28,
18,
11,
18242,
28,
43,
1,
3,
68,
59,
31369,
31478,
462,
4908,
92,
3,
4943,
198,
2,
220,
7877,
13,
29487,
7,
274,
259,
62,
8800,
62,
23415,
11,
274,
259,
62,
10034,
62,
23415,
24457,
47033,
7,
274,
259,
62,
10034,
62,
23415,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
10992,
28,
1298,
1600,
2815,
413,
5649,
28,
18,
8,
198,
220,
7877,
13,
29487,
26933,
15,
11,
15,
38430,
15,
11,
16,
13,
2713,
4357,
2815,
10992,
2625,
438,
1600,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
17,
8,
198,
220,
7877,
13,
1455,
437,
9783,
220,
198,
220,
7877,
13,
22704,
26933,
12,
15,
13,
486,
2425,
11,
15,
13,
486,
2425,
11,
15,
11,
16,
13,
2713,
36563,
7877,
13,
34574,
378,
7,
8841,
7203,
7,
1600,
47427,
58,
72,
17241,
8,
12340,
5431,
41888,
12,
15,
13,
28645,
26,
15,
13,
23,
12962,
198,
220,
44872,
7,
47427,
58,
72,
17241,
33172,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
721,
418,
15,
27267,
10,
12,
1600,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
31166,
17034,
7,
66,
709,
62,
21928,
58,
20,
72,
12,
16,
11,
20,
72,
12,
16,
12962,
828,
198,
220,
220,
220,
220,
366,
33172,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
274,
259,
15,
27267,
10,
12,
1600,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
31166,
17034,
7,
66,
709,
62,
21928,
58,
20,
72,
11,
20,
72,
60,
22305,
198,
220,
7877,
13,
25928,
7,
2815,
10992,
28,
2404,
8,
198,
437,
198,
897,
796,
34197,
58,
23,
60,
198,
2,
897,
13,
22704,
7203,
2364,
4943,
198,
2,
28114,
262,
3161,
25,
198,
17256,
7203,
5589,
1133,
62,
68,
535,
62,
3448,
273,
13,
20362,
4943,
198,
897,
13,
25928,
7,
2815,
10992,
28,
2404,
8,
198,
33464,
62,
39786,
3419,
198,
7266,
489,
1747,
62,
23032,
7,
71,
13200,
796,
657,
11,
86,
13200,
28,
15,
8,
198,
21928,
5647,
7203,
40720,
51,
16,
62,
68,
535,
22317,
414,
62,
303,
5217,
62,
2339,
11935,
62,
13317,
62,
71,
23209,
13,
12315,
1600,
65,
3524,
62,
45457,
2625,
33464,
4943,
198,
2,
961,
7,
19282,
259,
11,
12441,
8,
198,
198,
2,
6889,
257,
7110,
286,
29303,
414,
1554,
21857,
25,
198,
198,
565,
69,
3419,
198,
1640,
1312,
28,
16,
25,
22,
198,
220,
21399,
62,
8800,
11,
68,
535,
62,
10034,
11,
68,
535,
62,
8800,
62,
23415,
11,
68,
535,
62,
10034,
62,
23415,
796,
1554,
21857,
7,
31166,
17034,
12195,
5219,
62,
23350,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
25,
4083,
61,
17,
10,
5219,
62,
23350,
58,
7,
72,
12,
16,
27493,
20,
10,
20,
11,
25,
4083,
61,
17,
828,
1120,
8,
198,
220,
7110,
7,
68,
535,
62,
8800,
62,
23415,
11,
68,
535,
62,
10034,
62,
23415,
19571,
47033,
7,
68,
535,
62,
10034,
62,
23415,
828,
8043,
28,
13155,
58,
72,
4357,
2815,
413,
5649,
28,
18,
11,
18242,
28,
47427,
58,
72,
12962,
198,
437,
198,
87,
18242,
7203,
36,
535,
22317,
414,
1600,
10331,
7857,
28,
1314,
8,
198,
2645,
9608,
7203,
2964,
65,
1799,
1600,
10331,
7857,
28,
1314,
8,
198,
1455,
437,
7,
10331,
7857,
28,
1314,
8,
198,
22704,
26933,
15,
11,
15,
13,
25150,
11,
15,
11,
16,
13,
2713,
12962,
198,
742,
3378,
7,
10331,
7857,
28,
1314,
8,
198,
20760,
3378,
7,
10331,
7857,
28,
1314,
8,
198,
2,
961,
7,
19282,
259,
11,
12441,
8,
198,
198,
21928,
5647,
7203,
40720,
68,
535,
22317,
414,
62,
79,
6197,
1504,
13,
12315,
1600,
65,
3524,
62,
45457,
2625,
33464,
4943,
198,
198,
2,
961,
7,
19282,
259,
11,
12441,
8,
198,
198,
5647,
11,
897,
274,
796,
850,
489,
1747,
7,
19,
11,
17,
8,
198,
1640,
1312,
28,
16,
25,
22,
198,
220,
7877,
796,
34197,
58,
72,
60,
198,
220,
1303,
28114,
2278,
25,
198,
220,
350,
15,
796,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
17,
11,
72,
10,
16,
11,
17,
11,
1433,
11208,
2124,
28,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
17,
11,
72,
10,
16,
11,
17,
11,
47715,
764,
12,
350,
15,
198,
220,
1861,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
19,
11,
1433,
60,
4008,
198,
220,
43237,
47,
796,
19862,
17034,
7,
66,
709,
62,
21928,
58,
7,
72,
12,
16,
27493,
20,
10,
17,
11,
7,
72,
12,
16,
27493,
20,
10,
17,
12962,
198,
220,
2124,
17,
28,
33327,
7,
29127,
13200,
32590,
19,
82,
328,
47,
11,
19,
82,
328,
47,
11,
12825,
4008,
198,
220,
7877,
13,
29487,
7,
87,
11,
1676,
65,
11,
18242,
2625,
5990,
2101,
1600,
8043,
28,
13155,
58,
72,
12962,
198,
220,
1861,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
66,
709,
62,
21928,
58,
7,
72,
12,
16,
27493,
20,
10,
17,
11,
7,
72,
12,
16,
27493,
20,
10,
17,
12962,
198,
220,
7877,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
72,
4357,
26591,
28,
15,
13,
18,
8,
198,
220,
256,
15,
796,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
72,
10,
16,
11,
18,
11,
1433,
60,
198,
220,
1861,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
1433,
60,
4008,
198,
220,
2124,
796,
4847,
62,
25928,
62,
439,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
72,
10,
16,
11,
18,
11,
47715,
764,
12,
256,
15,
198,
220,
7877,
13,
29487,
7,
87,
11,
1676,
65,
11,
18242,
28,
43,
1,
3,
83,
62,
15,
3,
1600,
2815,
10992,
2625,
438,
1600,
8043,
28,
13155,
58,
72,
12962,
198,
220,
43237,
83,
15,
796,
19862,
17034,
7,
66,
709,
62,
21928,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
7,
72,
12,
16,
27493,
20,
10,
18,
12962,
198,
220,
2124,
17,
28,
33327,
7,
29127,
13200,
32590,
19,
82,
328,
83,
15,
11,
19,
82,
328,
83,
15,
11,
12825,
4008,
198,
220,
1861,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
66,
709,
62,
21928,
58,
7,
72,
12,
16,
27493,
20,
10,
18,
11,
7,
72,
12,
16,
27493,
20,
10,
18,
12962,
198,
220,
7877,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
72,
4357,
2815,
10992,
2625,
438,
1600,
26591,
28,
15,
13,
18,
8,
198,
220,
7877,
13,
29487,
26933,
15,
11,
15,
38430,
15,
11,
16,
4357,
2815,
10992,
28,
1298,
1600,
8043,
28,
13155,
58,
72,
12962,
198,
220,
7877,
13,
1455,
437,
9783,
220,
198,
220,
7877,
13,
22704,
26933,
12,
15,
13,
25150,
11,
15,
13,
25150,
11,
15,
11,
16,
36563,
7877,
13,
34574,
378,
7,
8841,
7203,
7,
1600,
47427,
58,
72,
17241,
8,
12340,
5431,
41888,
12,
15,
13,
28645,
26,
15,
13,
23,
12962,
198,
220,
44872,
7,
47427,
58,
72,
17241,
33172,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
47,
15,
27267,
10,
12,
1600,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
82,
328,
47,
828,
198,
220,
220,
220,
220,
366,
33172,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
83,
15,
27267,
10,
12,
1600,
31,
82,
37435,
7203,
4,
21,
13,
19,
69,
1600,
82,
328,
83,
15,
4008,
198,
437,
198,
198,
2,
9461,
7110,
2604,
7,
358,
1659,
8,
1222,
569,
16,
68,
36796,
16,
29006,
17,
28803,
38165,
25,
198,
198,
5647,
11,
897,
274,
796,
850,
489,
1747,
7,
16,
11,
17,
11,
20077,
88,
2625,
808,
4943,
198,
198,
897,
796,
34197,
58,
16,
60,
198,
198,
2,
358,
1659,
15,
796,
299,
67,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
1433,
11208,
2124,
28,
299,
67,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
47715,
198,
2,
1676,
65,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
1433,
60,
4008,
198,
2,
82,
328,
358,
1659,
796,
19862,
17034,
7,
66,
709,
62,
21928,
58,
77,
17143,
12,
16,
11,
77,
17143,
12,
16,
12962,
198,
2,
87,
17,
28,
33327,
7,
29127,
13200,
32590,
19,
82,
328,
358,
1659,
11,
19,
82,
328,
358,
1659,
11,
12825,
4008,
220,
198,
2,
897,
13,
29487,
7,
87,
11,
1676,
65,
11,
18242,
28,
43,
1,
3,
59,
28803,
3,
1600,
8043,
28,
13155,
58,
77,
12962,
198,
2,
1676,
65,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
66,
709,
62,
21928,
58,
77,
17143,
12,
16,
11,
77,
17143,
12,
16,
12962,
198,
2,
87,
17,
764,
47932,
299,
67,
1659,
15,
198,
2,
897,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
77,
4357,
26591,
28,
15,
13,
18,
8,
198,
2,
75,
70,
358,
1659,
15,
796,
2604,
7,
358,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
1433,
36563,
2124,
28,
2604,
12195,
358,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
25,
12962,
198,
75,
70,
358,
1659,
15,
796,
300,
70,
358,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
1433,
11208,
2124,
28,
300,
70,
358,
1659,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
47715,
198,
1676,
65,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
77,
17143,
12,
16,
11,
1433,
60,
4008,
198,
82,
328,
358,
1659,
796,
19862,
17034,
7,
66,
709,
62,
21928,
58,
77,
17143,
12,
16,
11,
77,
17143,
12,
16,
12962,
14,
11201,
7,
75,
70,
358,
1659,
15,
8,
198,
87,
17,
28,
33327,
7,
29127,
13200,
32590,
19,
82,
328,
358,
1659,
11,
19,
82,
328,
358,
1659,
11,
12825,
4008,
220,
198,
897,
13,
29487,
7,
87,
11,
1676,
65,
11,
18242,
28,
43,
1,
3,
59,
28803,
3,
1600,
8043,
28,
13155,
58,
77,
4357,
2815,
413,
5649,
28,
18,
8,
198,
1676,
65,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
7,
66,
709,
62,
21928,
58,
77,
17143,
12,
16,
11,
77,
17143,
12,
16,
60,
14,
11201,
7,
17,
75,
70,
358,
1659,
15,
22305,
198,
87,
17,
764,
47932,
300,
70,
358,
1659,
15,
198,
897,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
77,
4357,
26591,
28,
15,
13,
18,
11,
2815,
413,
5649,
28,
18,
8,
198,
2,
28114,
1554,
21857,
286,
2604,
7,
358,
1659,
8,
11507,
25,
198,
75,
358,
1659,
62,
8800,
11,
75,
358,
1659,
62,
10034,
11,
75,
358,
1659,
62,
8800,
62,
23415,
11,
75,
358,
1659,
62,
10034,
62,
23415,
796,
1554,
21857,
7,
5219,
62,
23350,
58,
2623,
11,
25,
4357,
1120,
8,
198,
897,
13,
29487,
7,
75,
358,
1659,
62,
8800,
62,
23415,
11,
75,
358,
1659,
62,
10034,
62,
23415,
19571,
47033,
7,
75,
358,
1659,
62,
10034,
62,
23415,
4008,
198,
897,
13,
2617,
62,
87,
18242,
7,
43,
1,
3,
59,
6404,
31478,
28803,
92,
3,
1600,
10331,
7857,
28,
1314,
8,
198,
897,
13,
2617,
62,
2645,
9608,
7203,
2964,
65,
1799,
1600,
10331,
7857,
28,
1314,
8,
198,
198,
897,
796,
34197,
58,
17,
60,
198,
53,
16,
11201,
17,
28803,
16340,
15,
796,
569,
16,
11201,
17,
28803,
16340,
62,
25928,
62,
439,
58,
77,
17143,
11,
1433,
11208,
2124,
28,
569,
16,
11201,
17,
28803,
16340,
62,
25928,
62,
439,
58,
77,
17143,
11,
47715,
220,
198,
1676,
65,
796,
1033,
12195,
12,
15,
13,
20,
9,
7,
11072,
62,
25928,
62,
439,
58,
77,
17143,
11,
47715,
764,
12,
11072,
62,
25928,
62,
439,
58,
77,
17143,
11,
1433,
60,
4008,
198,
2,
82,
328,
53,
16,
11201,
17,
28803,
16340,
796,
19862,
17034,
7,
66,
709,
62,
21928,
58,
77,
17143,
11,
77,
17143,
12962,
198,
82,
328,
53,
16,
11201,
17,
28803,
16340,
796,
220,
657,
13,
2931,
198,
87,
17,
28,
33327,
7,
29127,
13200,
32590,
19,
82,
328,
53,
16,
11201,
17,
28803,
16340,
11,
19,
82,
328,
53,
16,
11201,
17,
28803,
16340,
11,
12825,
4008,
198,
897,
13,
29487,
7,
87,
11,
1676,
65,
11,
18242,
28,
43,
1,
3,
59,
18755,
7,
53,
62,
16,
8,
3,
1600,
8043,
28,
13155,
58,
77,
10,
16,
4357,
2815,
413,
5649,
28,
18,
8,
198,
2,
1676,
65,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
66,
709,
62,
21928,
58,
77,
17143,
11,
77,
17143,
12962,
198,
1676,
65,
17,
796,
1033,
12195,
12,
15,
13,
20,
764,
9,
87,
17,
13,
61,
17,
24457,
82,
328,
53,
16,
11201,
17,
28803,
16340,
61,
17,
8,
198,
87,
17,
764,
47932,
569,
16,
11201,
17,
28803,
16340,
15,
198,
897,
13,
29487,
7,
87,
17,
11,
1676,
65,
17,
11,
8043,
28,
13155,
58,
77,
10,
16,
4357,
26591,
28,
15,
13,
18,
11,
2815,
413,
5649,
28,
18,
8,
198,
2,
28114,
1554,
21857,
286,
428,
11507,
25,
198,
53,
16,
11201,
16340,
17,
28803,
62,
8800,
11,
53,
16,
11201,
16340,
17,
28803,
62,
10034,
11,
53,
16,
11201,
16340,
17,
28803,
62,
8800,
62,
23415,
11,
53,
16,
11201,
16340,
17,
28803,
62,
10034,
62,
23415,
796,
1554,
21857,
7,
5219,
62,
23350,
58,
2718,
11,
25,
4357,
1120,
8,
198,
897,
13,
29487,
7,
53,
16,
11201,
16340,
17,
28803,
62,
8800,
62,
23415,
11,
53,
16,
11201,
16340,
17,
28803,
62,
10034,
62,
23415,
19571,
47033,
7,
53,
16,
11201,
16340,
17,
28803,
62,
10034,
62,
23415,
4008,
198,
897,
13,
2617,
62,
87,
18242,
7,
43,
1,
3,
53,
62,
16,
304,
36796,
16,
29006,
17,
59,
28803,
38165,
3,
1600,
10331,
7857,
28,
1314,
8,
198,
7266,
489,
1747,
62,
23032,
7,
86,
13200,
28,
15,
8,
198,
21928,
5647,
7203,
40720,
51,
16,
62,
19149,
658,
62,
37266,
62,
7645,
12214,
13,
12315,
1600,
65,
3524,
62,
45457,
2625,
33464,
4943,
198
] | 1.90896 | 4,152 |
# Copyright (c) 2017: Miles Lubin and contributors
# Copyright (c) 2017: Google Inc.
#
# Use of this source code is governed by an MIT-style license that can be found
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
"""
abstract type AbstractBridge <: MOI.Bridges.AbstractBridge end
Subtype of [`MathOptInterface.Bridges.AbstractBridge`](@ref) for objective
bridges.
"""
abstract type AbstractBridge <: MOI.Bridges.AbstractBridge end
"""
supports_objective_function(
BT::Type{<:MOI.Bridges.Objective.AbstractBridge},
F::Type{<:MOI.AbstractScalarFunction},
)::Bool
Return a `Bool` indicating whether the bridges of type `BT` support bridging
objective functions of type `F`.
## Implementation notes
* This method depends only on the type of the inputs, not the runtime values.
* There is a default fallback, so you need only implement this method For
objective functions that the bridge implements.
"""
function supports_objective_function(
::Type{<:AbstractBridge},
::Type{<:MOI.AbstractScalarFunction},
)
return false
end
"""
concrete_bridge_type(
BT::Type{<:MOI.Bridges.Objective.AbstractBridge},
F::Type{<:MOI.AbstractScalarFunction},
)::Type
Return the concrete type of the bridge supporting objective functions of type
`F`.
This function can only be called if `MOI.supports_objective_function(BT, F)` is
`true`.
"""
function concrete_bridge_type(
::Type{BT},
::Type{<:MOI.AbstractScalarFunction},
) where {BT}
return BT
end
function concrete_bridge_type(
b::MOI.Bridges.AbstractBridgeOptimizer,
F::Type{<:MOI.AbstractScalarFunction},
)
return concrete_bridge_type(MOI.Bridges.bridge_type(b, F), F)
end
"""
bridge_objective(
BT::Type{<:MOI.Bridges.Objective.AbstractBridge},
model::MOI.ModelLike,
func::MOI.AbstractScalarFunction,
)::BT
Bridge the objective function `func` using bridge `BT` to `model` and returns
a bridge object of type `BT`.
## Implementation notes
* The bridge type `BT` must be a concrete type, that is, all the type
parameters of the bridge must be set.
"""
function bridge_objective(
::Type{<:AbstractBridge},
::MOI.ModelLike,
func::MOI.AbstractScalarFunction,
)
return throw(
MOI.UnsupportedAttribute(MOI.ObjectiveFunction{typeof(func)}()),
)
end
function MOI.set(
::MOI.ModelLike,
::MOI.ObjectiveSense,
bridge::AbstractBridge,
::MOI.OptimizationSense,
)
return throw(
ArgumentError(
"Objective bridge of type `$(typeof(bridge))` does not support " *
"modifying the objective sense. As a workaround, set the sense " *
"to `MOI.FEASIBILITY_SENSE` to clear the objective function and " *
"bridges.",
),
)
end
function MOI.get(
::MOI.ModelLike,
::MOI.ObjectiveFunction,
bridge::AbstractBridge,
)
return throw(
ArgumentError(
"ObjectiveFunction bridge of type `$(typeof(bridge))` does not" *
" support getting the objective function.",
),
)
end
function MOI.delete(::MOI.ModelLike, bridge::AbstractBridge)
return throw(
ArgumentError(
"`MOI.delete` not implemented for `ObjectiveFunction` bridges of " *
"type `$(typeof(bridge))`",
),
)
end
| [
2,
15069,
357,
66,
8,
2177,
25,
20404,
40753,
259,
290,
20420,
198,
2,
15069,
357,
66,
8,
2177,
25,
3012,
3457,
13,
198,
2,
198,
2,
5765,
286,
428,
2723,
2438,
318,
21825,
416,
281,
17168,
12,
7635,
5964,
326,
460,
307,
1043,
198,
2,
287,
262,
38559,
24290,
13,
9132,
2393,
393,
379,
3740,
1378,
44813,
1668,
13,
2398,
14,
677,
4541,
14,
36393,
13,
198,
198,
37811,
198,
220,
220,
220,
12531,
2099,
27741,
37385,
1279,
25,
13070,
40,
13,
33,
32124,
13,
23839,
37385,
886,
198,
198,
7004,
4906,
286,
685,
63,
37372,
27871,
39317,
13,
33,
32124,
13,
23839,
37385,
63,
16151,
31,
5420,
8,
329,
9432,
198,
10236,
3212,
13,
198,
37811,
198,
397,
8709,
2099,
27741,
37385,
1279,
25,
13070,
40,
13,
33,
32124,
13,
23839,
37385,
886,
198,
198,
37811,
198,
220,
220,
220,
6971,
62,
15252,
425,
62,
8818,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22205,
3712,
6030,
90,
27,
25,
11770,
40,
13,
33,
32124,
13,
10267,
425,
13,
23839,
37385,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
376,
3712,
6030,
90,
27,
25,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
5512,
198,
220,
220,
220,
1267,
3712,
33,
970,
198,
198,
13615,
257,
4600,
33,
970,
63,
12739,
1771,
262,
19432,
286,
2099,
4600,
19313,
63,
1104,
38265,
2667,
198,
15252,
425,
5499,
286,
2099,
4600,
37,
44646,
198,
198,
2235,
46333,
4710,
628,
1635,
770,
2446,
8338,
691,
319,
262,
2099,
286,
262,
17311,
11,
407,
262,
19124,
3815,
13,
198,
1635,
1318,
318,
257,
4277,
2121,
1891,
11,
523,
345,
761,
691,
3494,
428,
2446,
1114,
198,
220,
220,
9432,
5499,
326,
262,
7696,
23986,
13,
198,
37811,
198,
8818,
6971,
62,
15252,
425,
62,
8818,
7,
198,
220,
220,
220,
7904,
6030,
90,
27,
25,
23839,
37385,
5512,
198,
220,
220,
220,
7904,
6030,
90,
27,
25,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
5512,
198,
8,
198,
220,
220,
220,
1441,
3991,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
10017,
62,
9458,
62,
4906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22205,
3712,
6030,
90,
27,
25,
11770,
40,
13,
33,
32124,
13,
10267,
425,
13,
23839,
37385,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
376,
3712,
6030,
90,
27,
25,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
5512,
198,
220,
220,
220,
1267,
3712,
6030,
198,
198,
13615,
262,
10017,
2099,
286,
262,
7696,
6493,
9432,
5499,
286,
2099,
198,
63,
37,
44646,
198,
198,
1212,
2163,
460,
691,
307,
1444,
611,
4600,
11770,
40,
13,
18608,
2096,
62,
15252,
425,
62,
8818,
7,
19313,
11,
376,
8,
63,
318,
198,
63,
7942,
44646,
198,
37811,
198,
8818,
10017,
62,
9458,
62,
4906,
7,
198,
220,
220,
220,
7904,
6030,
90,
19313,
5512,
198,
220,
220,
220,
7904,
6030,
90,
27,
25,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
5512,
198,
8,
810,
1391,
19313,
92,
198,
220,
220,
220,
1441,
22205,
198,
437,
198,
198,
8818,
10017,
62,
9458,
62,
4906,
7,
198,
220,
220,
220,
275,
3712,
11770,
40,
13,
33,
32124,
13,
23839,
37385,
27871,
320,
7509,
11,
198,
220,
220,
220,
376,
3712,
6030,
90,
27,
25,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
5512,
198,
8,
198,
220,
220,
220,
1441,
10017,
62,
9458,
62,
4906,
7,
11770,
40,
13,
33,
32124,
13,
9458,
62,
4906,
7,
65,
11,
376,
828,
376,
8,
198,
437,
198,
198,
37811,
198,
220,
220,
220,
7696,
62,
15252,
425,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22205,
3712,
6030,
90,
27,
25,
11770,
40,
13,
33,
32124,
13,
10267,
425,
13,
23839,
37385,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
3712,
11770,
40,
13,
17633,
7594,
11,
198,
220,
220,
220,
220,
220,
220,
220,
25439,
3712,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
11,
198,
220,
220,
220,
1267,
3712,
19313,
198,
198,
37385,
262,
9432,
2163,
4600,
20786,
63,
1262,
7696,
4600,
19313,
63,
284,
4600,
19849,
63,
290,
5860,
198,
64,
7696,
2134,
286,
2099,
4600,
19313,
44646,
198,
198,
2235,
46333,
4710,
628,
1635,
383,
7696,
2099,
4600,
19313,
63,
1276,
307,
257,
10017,
2099,
11,
326,
318,
11,
477,
262,
2099,
198,
220,
220,
10007,
286,
262,
7696,
1276,
307,
900,
13,
198,
37811,
198,
8818,
7696,
62,
15252,
425,
7,
198,
220,
220,
220,
7904,
6030,
90,
27,
25,
23839,
37385,
5512,
198,
220,
220,
220,
7904,
11770,
40,
13,
17633,
7594,
11,
198,
220,
220,
220,
25439,
3712,
11770,
40,
13,
23839,
3351,
282,
283,
22203,
11,
198,
8,
198,
220,
220,
220,
1441,
3714,
7,
198,
220,
220,
220,
220,
220,
220,
220,
13070,
40,
13,
3118,
15999,
33682,
7,
11770,
40,
13,
10267,
425,
22203,
90,
4906,
1659,
7,
20786,
38165,
3419,
828,
198,
220,
220,
220,
1267,
198,
437,
198,
198,
8818,
13070,
40,
13,
2617,
7,
198,
220,
220,
220,
7904,
11770,
40,
13,
17633,
7594,
11,
198,
220,
220,
220,
7904,
11770,
40,
13,
10267,
425,
41166,
11,
198,
220,
220,
220,
7696,
3712,
23839,
37385,
11,
198,
220,
220,
220,
7904,
11770,
40,
13,
27871,
320,
1634,
41166,
11,
198,
8,
198,
220,
220,
220,
1441,
3714,
7,
198,
220,
220,
220,
220,
220,
220,
220,
45751,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10267,
425,
7696,
286,
2099,
4600,
3,
7,
4906,
1659,
7,
9458,
4008,
63,
857,
407,
1104,
366,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4666,
4035,
262,
9432,
2565,
13,
1081,
257,
46513,
11,
900,
262,
2565,
366,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1462,
4600,
11770,
40,
13,
15112,
1921,
40,
25382,
62,
50,
24290,
63,
284,
1598,
262,
9432,
2163,
290,
366,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10236,
3212,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
1267,
198,
437,
198,
198,
8818,
13070,
40,
13,
1136,
7,
198,
220,
220,
220,
7904,
11770,
40,
13,
17633,
7594,
11,
198,
220,
220,
220,
7904,
11770,
40,
13,
10267,
425,
22203,
11,
198,
220,
220,
220,
7696,
3712,
23839,
37385,
11,
198,
8,
198,
220,
220,
220,
1441,
3714,
7,
198,
220,
220,
220,
220,
220,
220,
220,
45751,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10267,
425,
22203,
7696,
286,
2099,
4600,
3,
7,
4906,
1659,
7,
9458,
4008,
63,
857,
407,
1,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1104,
1972,
262,
9432,
2163,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
1267,
198,
437,
198,
198,
8818,
13070,
40,
13,
33678,
7,
3712,
11770,
40,
13,
17633,
7594,
11,
7696,
3712,
23839,
37385,
8,
198,
220,
220,
220,
1441,
3714,
7,
198,
220,
220,
220,
220,
220,
220,
220,
45751,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
63,
11770,
40,
13,
33678,
63,
407,
9177,
329,
4600,
10267,
425,
22203,
63,
19432,
286,
366,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
4600,
3,
7,
4906,
1659,
7,
9458,
4008,
63,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
1267,
198,
437,
198
] | 2.673307 | 1,255 |
# Example from Nocedal & Wright, p. 281
# Used to test all the different algorithms
@testset "2by2" begin
function f_2by2!(F, x)
F[1] = (x[1]+3)*(x[2]^3-7)+18
F[2] = sin(x[2]*exp(x[1])-1)
end
function g_2by2!(J, x)
J[1, 1] = x[2]^3-7
J[1, 2] = 3*x[2]^2*(x[1]+3)
u = exp(x[1])*cos(x[2]*exp(x[1])-1)
J[2, 1] = x[2]*u
J[2, 2] = u
end
df = OnceDifferentiable(f_2by2!, g_2by2!, [ -0.5; 1.4], [ -0.5; 1.4])
# Test trust region
r = nlsolve(df, [ -0.5; 1.4], method = :trust_region, autoscale = true)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-7
r = nlsolve(df, [ -0.5; 1.4], method = :trust_region, autoscale = false)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-7
df32 = OnceDifferentiable(f_2by2!, g_2by2!, [ -0.5f0; 1.4f0], [ -0.5f0; 1.4f0])
r = nlsolve(df32, [ -0.5f0; 1.4f0], method = :trust_region, autoscale = true)
@test eltype(r.zero) == Float32
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-7
r = nlsolve(df32, [ -0.5f0; 1.4f0], method = :trust_region, autoscale = false)
@test eltype(r.zero) == Float32
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-7
# Test Newton
r = nlsolve(df, [ -0.5; 1.4], method = :newton, linesearch = LineSearches.BackTracking(), ftol = 1e-6)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-6
r = nlsolve(df32, [ -0.5f0; 1.4f0], method = :newton, linesearch = LineSearches.BackTracking(), ftol = 1e-3)
@test eltype(r.zero) == Float32
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-6
r = nlsolve(df, [ -0.5; 1.4], method = :newton, linesearch = LineSearches.HagerZhang(), ftol = 1e-6)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-6
r = nlsolve(df, [ -0.5; 1.4], method = :newton, linesearch = LineSearches.StrongWolfe(), ftol = 1e-6)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-6
# test local convergence of Anderson: close to a fixed-point and with
# a small beta, f should be almost affine, in which case Anderson is
# equivalent to GMRES and should converge
r = nlsolve(df, [ 0.01; .99], method = :anderson, m = 10, beta=.01)
@test converged(r)
@test norm(r.zero - [ 0; 1]) < 1e-8
end
| [
2,
17934,
422,
399,
420,
276,
282,
1222,
12206,
11,
279,
13,
39882,
198,
2,
16718,
284,
1332,
477,
262,
1180,
16113,
198,
31,
9288,
2617,
366,
17,
1525,
17,
1,
2221,
628,
198,
8818,
277,
62,
17,
1525,
17,
0,
7,
37,
11,
2124,
8,
198,
220,
220,
220,
376,
58,
16,
60,
796,
357,
87,
58,
16,
48688,
18,
27493,
7,
87,
58,
17,
60,
61,
18,
12,
22,
47762,
1507,
198,
220,
220,
220,
376,
58,
17,
60,
796,
7813,
7,
87,
58,
17,
60,
9,
11201,
7,
87,
58,
16,
12962,
12,
16,
8,
198,
437,
198,
198,
8818,
308,
62,
17,
1525,
17,
0,
7,
41,
11,
2124,
8,
198,
220,
220,
220,
449,
58,
16,
11,
352,
60,
796,
2124,
58,
17,
60,
61,
18,
12,
22,
198,
220,
220,
220,
449,
58,
16,
11,
362,
60,
796,
513,
9,
87,
58,
17,
60,
61,
17,
9,
7,
87,
58,
16,
48688,
18,
8,
198,
220,
220,
220,
334,
796,
1033,
7,
87,
58,
16,
12962,
9,
6966,
7,
87,
58,
17,
60,
9,
11201,
7,
87,
58,
16,
12962,
12,
16,
8,
198,
220,
220,
220,
449,
58,
17,
11,
352,
60,
796,
2124,
58,
17,
60,
9,
84,
198,
220,
220,
220,
449,
58,
17,
11,
362,
60,
796,
334,
198,
437,
198,
198,
7568,
796,
4874,
40341,
3379,
7,
69,
62,
17,
1525,
17,
28265,
308,
62,
17,
1525,
17,
28265,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
685,
532,
15,
13,
20,
26,
352,
13,
19,
12962,
198,
198,
2,
6208,
3774,
3814,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
2446,
796,
1058,
38087,
62,
36996,
11,
1960,
17500,
1000,
796,
2081,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
22,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
2446,
796,
1058,
38087,
62,
36996,
11,
1960,
17500,
1000,
796,
3991,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
22,
198,
198,
7568,
2624,
796,
4874,
40341,
3379,
7,
69,
62,
17,
1525,
17,
28265,
308,
62,
17,
1525,
17,
28265,
685,
532,
15,
13,
20,
69,
15,
26,
352,
13,
19,
69,
15,
4357,
685,
532,
15,
13,
20,
69,
15,
26,
352,
13,
19,
69,
15,
12962,
198,
81,
796,
299,
7278,
6442,
7,
7568,
2624,
11,
685,
532,
15,
13,
20,
69,
15,
26,
352,
13,
19,
69,
15,
4357,
2446,
796,
1058,
38087,
62,
36996,
11,
1960,
17500,
1000,
796,
2081,
8,
198,
31,
9288,
1288,
4906,
7,
81,
13,
22570,
8,
6624,
48436,
2624,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
22,
198,
81,
796,
299,
7278,
6442,
7,
7568,
2624,
11,
685,
532,
15,
13,
20,
69,
15,
26,
352,
13,
19,
69,
15,
4357,
2446,
796,
1058,
38087,
62,
36996,
11,
1960,
17500,
1000,
796,
3991,
8,
198,
31,
9288,
1288,
4906,
7,
81,
13,
22570,
8,
6624,
48436,
2624,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
22,
198,
198,
2,
6208,
17321,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
2446,
796,
1058,
3605,
1122,
11,
3951,
3679,
796,
6910,
50,
451,
2052,
13,
7282,
2898,
5430,
22784,
10117,
349,
796,
352,
68,
12,
21,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
21,
198,
81,
796,
299,
7278,
6442,
7,
7568,
2624,
11,
685,
532,
15,
13,
20,
69,
15,
26,
352,
13,
19,
69,
15,
4357,
2446,
796,
1058,
3605,
1122,
11,
3951,
3679,
796,
6910,
50,
451,
2052,
13,
7282,
2898,
5430,
22784,
10117,
349,
796,
352,
68,
12,
18,
8,
198,
31,
9288,
1288,
4906,
7,
81,
13,
22570,
8,
6624,
48436,
2624,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
21,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
2446,
796,
1058,
3605,
1122,
11,
3951,
3679,
796,
6910,
50,
451,
2052,
13,
39,
3536,
57,
33255,
22784,
10117,
349,
796,
352,
68,
12,
21,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
21,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
532,
15,
13,
20,
26,
352,
13,
19,
4357,
2446,
796,
1058,
3605,
1122,
11,
3951,
3679,
796,
6910,
50,
451,
2052,
13,
33004,
32069,
68,
22784,
10117,
349,
796,
352,
68,
12,
21,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
21,
198,
198,
2,
1332,
1957,
40826,
286,
9918,
25,
1969,
284,
257,
5969,
12,
4122,
290,
351,
198,
2,
257,
1402,
12159,
11,
277,
815,
307,
2048,
1527,
500,
11,
287,
543,
1339,
9918,
318,
198,
2,
7548,
284,
6951,
19535,
290,
815,
47873,
198,
81,
796,
299,
7278,
6442,
7,
7568,
11,
685,
657,
13,
486,
26,
764,
2079,
4357,
2446,
796,
1058,
392,
882,
11,
285,
796,
838,
11,
12159,
28,
13,
486,
8,
198,
31,
9288,
6718,
2004,
7,
81,
8,
198,
31,
9288,
2593,
7,
81,
13,
22570,
532,
685,
657,
26,
352,
12962,
1279,
352,
68,
12,
23,
198,
437,
198
] | 2.101493 | 1,005 |
using Test
let
cd(@__DIR__)
midi = readMIDIFile("serenade_full.mid")
piano = midi.tracks[4]
notes = getnotes(piano, midi.tpq)
tpq = 960
triplets = [0, 1//3, 2//3, 1]
sixteenths = [0, 1//4, 2//4, 3//4, 1]
@testset "Classify triplets" begin
@test isgrid(triplets)
class = classify(notes, triplets)
inbetw = [246
450
618
619
620
627
628
629
637
638
639
640]
@test length(class) == length(notes)
@test findall(class .== 2) == inbetw
@test sum( sum( class .== n ) for n in 1:4) == length(notes)
end
@testset "Classify 16ths" begin
@test isgrid(sixteenths)
class = classify(notes, sixteenths)
@test length(class) == length(notes)
@test sum( sum( class .== n ) for n in 1:5) == length(notes)
end
@testset "Quantize" begin
tripletstpq = triplets.*960
qnotes = quantize(notes, triplets)
@test qnotes.tpq == notes.tpq
@test length(notes) == length(qnotes)
for f in (velocities, pitches)
@test f(notes) == f(qnotes)
end
@test durations(notes) != durations(qnotes)
qqnotes = quantize(notes, triplets, false)
@test durations(notes) == durations(qqnotes)
pos = positions(notes)
qpos = positions(qnotes)
@test positions(notes) !== positions(qnotes)
@test mod.(qpos, 320) == zeros(length(notes))
end
@testset "quantize duration" begin
for (i, grid) in enumerate([triplets, sixteenths])
qnotes = quantize(notes, grid)
dnotes = quantize_duration!(deepcopy(qnotes), grid)
for note in dnotes
@test note.duration != 0
@test mod(note.duration, tpq÷(2+i)) == 0
end
end
end
end
@testset "Noninteger grid*tpq product" begin
cd(@__DIR__)
grid = [0,0.383,0.73,1]
midi = readMIDIFile("serenade_full.mid")
notes = getnotes(midi, 4)
tpq = 960
qnotes = quantize(notes, grid)
for note in qnotes
@test note.duration != 0
end
end
| [
3500,
6208,
198,
198,
1616,
198,
10210,
7,
31,
834,
34720,
834,
8,
198,
13602,
72,
796,
1100,
44,
2389,
5064,
576,
7203,
325,
918,
671,
62,
12853,
13,
13602,
4943,
198,
79,
10115,
796,
3095,
72,
13,
46074,
58,
19,
60,
198,
17815,
796,
651,
17815,
7,
79,
10115,
11,
3095,
72,
13,
34788,
80,
8,
198,
34788,
80,
796,
41263,
198,
198,
28461,
46916,
796,
685,
15,
11,
352,
1003,
18,
11,
362,
1003,
18,
11,
352,
60,
198,
19412,
20283,
82,
796,
685,
15,
11,
352,
1003,
19,
11,
362,
1003,
19,
11,
513,
1003,
19,
11,
352,
60,
198,
198,
31,
9288,
2617,
366,
9487,
1958,
15055,
912,
1,
2221,
628,
220,
220,
220,
2488,
9288,
318,
25928,
7,
28461,
46916,
8,
628,
220,
220,
220,
1398,
796,
36509,
7,
17815,
11,
15055,
912,
8,
198,
220,
220,
220,
287,
11181,
86,
796,
685,
26912,
198,
220,
220,
220,
18523,
198,
220,
220,
220,
718,
1507,
198,
220,
220,
220,
718,
1129,
198,
220,
220,
220,
45469,
198,
220,
220,
220,
718,
1983,
198,
220,
220,
220,
718,
2078,
198,
220,
220,
220,
718,
1959,
198,
220,
220,
220,
718,
2718,
198,
220,
220,
220,
718,
2548,
198,
220,
220,
220,
718,
2670,
198,
220,
220,
220,
33759,
60,
628,
220,
220,
220,
2488,
9288,
4129,
7,
4871,
8,
6624,
4129,
7,
17815,
8,
198,
220,
220,
220,
2488,
9288,
1064,
439,
7,
4871,
764,
855,
362,
8,
6624,
287,
11181,
86,
628,
220,
220,
220,
2488,
9288,
2160,
7,
2160,
7,
1398,
764,
855,
299,
1267,
329,
299,
287,
352,
25,
19,
8,
6624,
4129,
7,
17815,
8,
198,
437,
198,
31,
9288,
2617,
366,
9487,
1958,
1467,
9998,
1,
2221,
198,
220,
220,
220,
2488,
9288,
318,
25928,
7,
19412,
20283,
82,
8,
198,
220,
220,
220,
1398,
796,
36509,
7,
17815,
11,
2237,
20283,
82,
8,
198,
220,
220,
220,
2488,
9288,
4129,
7,
4871,
8,
6624,
4129,
7,
17815,
8,
198,
220,
220,
220,
2488,
9288,
2160,
7,
2160,
7,
1398,
764,
855,
299,
1267,
329,
299,
287,
352,
25,
20,
8,
6624,
4129,
7,
17815,
8,
198,
437,
198,
198,
31,
9288,
2617,
366,
24915,
1096,
1,
2221,
628,
220,
220,
220,
15055,
83,
301,
79,
80,
796,
15055,
912,
15885,
39277,
198,
220,
220,
220,
10662,
17815,
796,
5554,
1096,
7,
17815,
11,
15055,
912,
8,
628,
220,
220,
220,
2488,
9288,
10662,
17815,
13,
34788,
80,
6624,
4710,
13,
34788,
80,
198,
220,
220,
220,
2488,
9288,
4129,
7,
17815,
8,
6624,
4129,
7,
80,
17815,
8,
628,
220,
220,
220,
329,
277,
287,
357,
626,
420,
871,
11,
22421,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
7,
17815,
8,
6624,
277,
7,
80,
17815,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2488,
9288,
288,
20074,
7,
17815,
8,
14512,
288,
20074,
7,
80,
17815,
8,
628,
220,
220,
220,
10662,
80,
17815,
796,
5554,
1096,
7,
17815,
11,
15055,
912,
11,
3991,
8,
198,
220,
220,
220,
2488,
9288,
288,
20074,
7,
17815,
8,
6624,
288,
20074,
7,
38227,
17815,
8,
628,
220,
220,
220,
1426,
796,
6116,
7,
17815,
8,
198,
220,
220,
220,
10662,
1930,
796,
6116,
7,
80,
17815,
8,
628,
220,
220,
220,
2488,
9288,
6116,
7,
17815,
8,
5145,
855,
6116,
7,
80,
17815,
8,
198,
220,
220,
220,
2488,
9288,
953,
12195,
80,
1930,
11,
20959,
8,
6624,
1976,
27498,
7,
13664,
7,
17815,
4008,
198,
437,
198,
198,
31,
9288,
2617,
366,
40972,
1096,
9478,
1,
2221,
628,
220,
220,
220,
329,
357,
72,
11,
10706,
8,
287,
27056,
378,
26933,
28461,
46916,
11,
2237,
20283,
82,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
10662,
17815,
796,
5554,
1096,
7,
17815,
11,
10706,
8,
628,
220,
220,
220,
220,
220,
220,
220,
288,
17815,
796,
5554,
1096,
62,
32257,
0,
7,
22089,
30073,
7,
80,
17815,
828,
10706,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
3465,
287,
288,
17815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
3465,
13,
32257,
14512,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
953,
7,
11295,
13,
32257,
11,
256,
79,
80,
127,
115,
7,
17,
10,
72,
4008,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
886,
198,
198,
437,
198,
198,
437,
198,
198,
31,
9288,
2617,
366,
15419,
41433,
10706,
9,
34788,
80,
1720,
1,
2221,
628,
220,
220,
220,
22927,
7,
31,
834,
34720,
834,
8,
198,
220,
220,
220,
10706,
796,
685,
15,
11,
15,
13,
34741,
11,
15,
13,
4790,
11,
16,
60,
198,
220,
220,
220,
3095,
72,
796,
1100,
44,
2389,
5064,
576,
7203,
325,
918,
671,
62,
12853,
13,
13602,
4943,
198,
220,
220,
220,
4710,
796,
651,
17815,
7,
13602,
72,
11,
604,
8,
198,
220,
220,
220,
256,
79,
80,
796,
41263,
198,
220,
220,
220,
10662,
17815,
796,
5554,
1096,
7,
17815,
11,
10706,
8,
198,
220,
220,
220,
329,
3465,
287,
10662,
17815,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
3465,
13,
32257,
14512,
657,
198,
220,
220,
220,
886,
198,
198,
437,
198
] | 2.242597 | 878 |
##########################################################################
# Copyright 2017 Samuel Ridler.
#
# 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.
##########################################################################
using StatsBase
@testset "histogram addition" begin
# null histogram
h1 = fit(Histogram, [0], 0:1)
h2 = NullHist()
h3 = h1+h2
@test h3 == h1
@test h3 == h2+h1 # commutative
# histograms with UnitRange edges
h1 = fit(Histogram, [0], 0:2)
h2 = fit(Histogram, [0,2], 0:3)
h3 = h1+h2
@test h3 == h2+h1 # commutative
@test h3.edges == h2.edges
@test h3.weights == [2,0,1] # [1,0] + [1,0,1]
# histograms with StepRange edges
h1 = fit(Histogram, [0], 0:2:4)
h2 = fit(Histogram, [0,5], 0:2:6)
h3 = h1+h2
@test h3 == h2+h1 # commutative
@test h3.edges == h2.edges
@test h3.weights == [2,0,1] # [1,0] + [1,0,1]
# histograms with StepRangeLen edges
h1 = fit(Histogram, [0], 0.0:2.0)
h2 = fit(Histogram, [0,2], 0.0:3.0)
h3 = h1+h2
@test h3 == h2+h1 # commutative
@test h3.edges == h2.edges
@test h3.weights == [2,0,1] # [1,0] + [1,0,1]
end
| [
29113,
29113,
7804,
2235,
198,
2,
15069,
2177,
17100,
23223,
1754,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
29113,
29113,
7804,
2235,
198,
198,
3500,
20595,
14881,
198,
198,
31,
9288,
2617,
366,
10034,
21857,
3090,
1,
2221,
198,
197,
2,
9242,
1554,
21857,
198,
197,
71,
16,
796,
4197,
7,
13749,
21857,
11,
685,
15,
4357,
657,
25,
16,
8,
198,
197,
71,
17,
796,
35886,
13749,
3419,
198,
197,
71,
18,
796,
289,
16,
10,
71,
17,
198,
197,
31,
9288,
289,
18,
6624,
289,
16,
198,
197,
31,
9288,
289,
18,
6624,
289,
17,
10,
71,
16,
1303,
725,
315,
876,
198,
197,
198,
197,
2,
1554,
26836,
351,
11801,
17257,
13015,
198,
197,
71,
16,
796,
4197,
7,
13749,
21857,
11,
685,
15,
4357,
657,
25,
17,
8,
198,
197,
71,
17,
796,
4197,
7,
13749,
21857,
11,
685,
15,
11,
17,
4357,
657,
25,
18,
8,
198,
197,
71,
18,
796,
289,
16,
10,
71,
17,
198,
197,
31,
9288,
289,
18,
6624,
289,
17,
10,
71,
16,
1303,
725,
315,
876,
198,
197,
31,
9288,
289,
18,
13,
276,
3212,
6624,
289,
17,
13,
276,
3212,
198,
197,
31,
9288,
289,
18,
13,
43775,
6624,
685,
17,
11,
15,
11,
16,
60,
1303,
685,
16,
11,
15,
60,
1343,
685,
16,
11,
15,
11,
16,
60,
198,
197,
198,
197,
2,
1554,
26836,
351,
5012,
17257,
13015,
198,
197,
71,
16,
796,
4197,
7,
13749,
21857,
11,
685,
15,
4357,
657,
25,
17,
25,
19,
8,
198,
197,
71,
17,
796,
4197,
7,
13749,
21857,
11,
685,
15,
11,
20,
4357,
657,
25,
17,
25,
21,
8,
198,
197,
71,
18,
796,
289,
16,
10,
71,
17,
198,
197,
31,
9288,
289,
18,
6624,
289,
17,
10,
71,
16,
1303,
725,
315,
876,
198,
197,
31,
9288,
289,
18,
13,
276,
3212,
6624,
289,
17,
13,
276,
3212,
198,
197,
31,
9288,
289,
18,
13,
43775,
6624,
685,
17,
11,
15,
11,
16,
60,
1303,
685,
16,
11,
15,
60,
1343,
685,
16,
11,
15,
11,
16,
60,
198,
197,
198,
197,
2,
1554,
26836,
351,
5012,
17257,
30659,
13015,
198,
197,
71,
16,
796,
4197,
7,
13749,
21857,
11,
685,
15,
4357,
657,
13,
15,
25,
17,
13,
15,
8,
198,
197,
71,
17,
796,
4197,
7,
13749,
21857,
11,
685,
15,
11,
17,
4357,
657,
13,
15,
25,
18,
13,
15,
8,
198,
197,
71,
18,
796,
289,
16,
10,
71,
17,
198,
197,
31,
9288,
289,
18,
6624,
289,
17,
10,
71,
16,
1303,
725,
315,
876,
198,
197,
31,
9288,
289,
18,
13,
276,
3212,
6624,
289,
17,
13,
276,
3212,
198,
197,
31,
9288,
289,
18,
13,
43775,
6624,
685,
17,
11,
15,
11,
16,
60,
1303,
685,
16,
11,
15,
60,
1343,
685,
16,
11,
15,
11,
16,
60,
198,
437,
198
] | 2.609195 | 609 |
function __init__cifar100()
DEPNAME = "CIFAR100"
register(DataDep(
DEPNAME,
"""
Dataset: The CIFAR-100 dataset
Authors: Alex Krizhevsky, Vinod Nair, Geoffrey Hinton
Website: https://www.cs.toronto.edu/~kriz/cifar.html
Reference: https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf
[Krizhevsky, 2009]
Alex Krizhevsky.
"Learning Multiple Layers of Features from Tiny Images",
Tech Report, 2009.
The CIFAR-100 dataset is a labeled subsets of the 80
million tiny images dataset. It consists of 60000
32x32 colour images in 100 classes. Specifically, it
has 100 classes containing 600 images each. There are
500 training images and 100 testing images per class.
The 100 classes in the CIFAR-100 are grouped into 20
superclasses. Each image comes with a "fine" label
(the class to which it belongs) and a "coarse" label
(the superclass to which it belongs).
The compressed archive file that contains the
complete dataset is available for download at the
offical website linked above; specifically the binary
version for C programs. Note that using the data
responsibly and respecting copyright remains your
responsibility. The authors of CIFAR-10 aren't really
explicit about any terms of use, so please read the
website to make sure you want to download the
dataset.
""",
"https://www.cs.toronto.edu/~kriz/cifar-100-binary.tar.gz",
"58a81ae192c23a4be8b1804d68e518ed807d710a4eb253b1f2a199162a40d8ec",
post_fetch_method = file -> (run(BinDeps.unpack_cmd(file, dirname(file), ".gz", ".tar")); rm(file))
))
end
"""
CIFAR100(; Tx=Float32, split=:train, dir=nothing)
CIFAR100([Tx, split])
The CIFAR100 dataset is a labeled subsets of the 80
million tiny images dataset. It consists of 60000
32x32 colour images in 10 classes, with 6000 images
per class.
Return the CIFAR-100 **trainset** labels (coarse and fine)
corresponding to the given `indices` as a tuple of two `Int` or
two `Vector{Int}`. The variables returned are the coarse label(s)
(`Yc`) and the fine label(s) (`Yf`) respectively.
# Arguments
$ARGUMENTS_SUPERVISED_ARRAY
- `split`: selects the data partition. Can take the values `:train:` or `:test`.
# Fields
$FIELDS_SUPERVISED_ARRAY
- `split`.
# Methods
$METHODS_SUPERVISED_ARRAY
- [`convert2image`](@ref) converts features to `RGB` images.
# Examples
```julia-repl
julia> dataset = CIFAR100()
CIFAR100:
metadata => Dict{String, Any} with 3 entries
split => :train
features => 32×32×3×50000 Array{Float32, 4}
targets => (coarse = "50000-element Vector{Int64}", fine = "50000-element Vector{Int64}")
julia> dataset[1:5].targets
(coarse = [11, 15, 4, 14, 1], fine = [19, 29, 0, 11, 1])
julia> X, y = dataset[];
julia> dataset.metadata
Dict{String, Any} with 3 entries:
"n_observations" => 50000
"class_names_coarse" => ["aquatic_mammals", "fish", "flowers", "food_containers", "fruit_and_vegetables", "household_electrical_devices", "household_furniture", "insects", "large_carnivores", "large_man-made_…
"class_names_fine" => ["apple", "aquarium_fish", "baby", "bear", "beaver", "bed", "bee", "beetle", "bicycle", "bottle" … "train", "trout", "tulip", "turtle", "wardrobe", "whale", "willow_tree", "wolf", "w…
```
"""
struct CIFAR100 <: SupervisedDataset
metadata::Dict{String, Any}
split::Symbol
features::Array{<:Any, 4}
targets::NamedTuple{(:coarse, :fine), Tuple{Vector{Int}, Vector{Int}}}
end
CIFAR100(; split=:train, Tx=Float32, dir=nothing) = CIFAR100(Tx, split; dir)
function CIFAR100(Tx::Type, split::Symbol=:train; dir=nothing)
DEPNAME = "CIFAR100"
TRAINSET_FILENAME = joinpath("cifar-100-binary", "train.bin")
TESTSET_FILENAME = joinpath("cifar-100-binary", "test.bin")
COARSE_FILENAME = joinpath("cifar-100-binary", "coarse_label_names.txt")
FINE_FILENAME = joinpath("cifar-100-binary", "fine_label_names.txt")
TRAINSET_SIZE = 50_000
TESTSET_SIZE = 10_000
@assert split ∈ (:train, :test)
if split == :train
file_path = datafile(DEPNAME, TRAINSET_FILENAME, dir)
images, labels_c, labels_f = CIFAR100Reader.readdata(file_path, TRAINSET_SIZE)
else
file_path = datafile(DEPNAME, TESTSET_FILENAME, dir)
images, labels_c, labels_f = CIFAR100Reader.readdata(file_path, TESTSET_SIZE)
end
features = bytes_to_type(Tx, images)
targets = (coarse = labels_c, fine = labels_f)
metadata = Dict{String, Any}()
metadata["class_names_coarse"] = readlines(datafile(DEPNAME, COARSE_FILENAME, dir))
metadata["class_names_fine"] = readlines(datafile(DEPNAME, FINE_FILENAME, dir))
metadata["n_observations"] = size(features)[end]
return CIFAR100(metadata, split, features, targets)
end
convert2image(::Type{<:CIFAR100}, x) = convert2image(CIFAR10, x)
# DEPRECATED INTERFACE, REMOVE IN v0.7 (or 0.6.x)
function Base.getproperty(::Type{CIFAR100}, s::Symbol)
if s == :traintensor
@warn "CIFAR100.traintensor() is deprecated, use `CIFAR100(split=:train).features` instead." maxlog=2
traintensor(T::Type=N0f8; kws...) = traintensor(T, :; kws...)
traintensor(i; kws...) = traintensor(N0f8, i; kws...)
function traintensor(T::Type, i; dir=nothing)
CIFAR100(; split=:train, Tx=T, dir)[i][1]
end
return traintensor
elseif s == :testtensor
@warn "CIFAR100.testtensor() is deprecated, use `CIFAR100(split=:test).features` instead." maxlog=2
testtensor(T::Type=N0f8; kws...) = testtensor(T, :; kws...)
testtensor(i; kws...) = testtensor(N0f8, i; kws...)
function testtensor(T::Type, i; dir=nothing)
CIFAR100(; split=:test, Tx=T, dir)[i][1]
end
return testtensor
elseif s == :trainlabels
@warn "CIFAR100.trainlabels() is deprecated, use `CIFAR100(split=:train).targets` instead." maxlog=2
trainlabels(; kws...) = trainlabels(:; kws...)
function trainlabels(i; dir=nothing)
yc, yf = CIFAR100(; split=:train, dir)[i][2]
yc, yf
end
return trainlabels
elseif s == :testlabels
@warn "CIFAR100.testlabels() is deprecated, use `CIFAR100(split=:test).targets` instead." maxlog=2
testlabels(; kws...) = testlabels(:; kws...)
function testlabels(i; dir=nothing)
yc, yf = CIFAR100(; split=:test, dir)[i][2]
yc, yf
end
return testlabels
elseif s == :traindata
@warn "CIFAR100.traindata() is deprecated, use `CIFAR100(split=:train)[]` instead." maxlog=2
traindata(T::Type=N0f8; kws...) = traindata(T, :; kws...)
traindata(i; kws...) = traindata(N0f8, i; kws...)
function traindata(T::Type, i; dir=nothing)
x, (yc, yf) = CIFAR100(; split=:train, Tx=T, dir)[i]
x, yc, yf
end
return traindata
elseif s == :testdata
@warn "CIFAR100.testdata() is deprecated, use `CIFAR100(split=:test)[]` instead." maxlog=2
testdata(T::Type=N0f8; kws...) = testdata(T, :; kws...)
testdata(i; kws...) = testdata(N0f8, i; kws...)
function testdata(T::Type, i; dir=nothing)
x, (yc, yf) = CIFAR100(; split=:test, Tx=T, dir)[i]
x, yc, yf
end
return testdata
elseif s == :convert2image
@warn "CIFAR100.convert2image(x) is deprecated, use `convert2image(CIFAR100, x)` instead"
return x -> convert2image(CIFAR100, x)
elseif s == :classnames_fine
@warn "CIFAR100.classnames_fine() is deprecated, use `CIFAR100().metadata[\"class_names_fine\"]` instead"
return () -> CIFAR100().metadata["class_names_fine"]
elseif s == :classnames_coarse
@warn "CIFAR100.classnames_coarse() is deprecated, use `CIFAR100().metadata[\"class_names_coarse\"]` instead"
return () -> CIFAR100().metadata["class_names_coarse"]
else
return getfield(CIFAR100, s)
end
end
| [
8818,
11593,
15003,
834,
66,
361,
283,
3064,
3419,
198,
220,
220,
220,
5550,
13137,
10067,
796,
366,
34,
5064,
1503,
3064,
1,
628,
220,
220,
220,
7881,
7,
6601,
12156,
7,
198,
220,
220,
220,
220,
220,
220,
220,
5550,
13137,
10067,
11,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16092,
292,
316,
25,
383,
327,
5064,
1503,
12,
3064,
27039,
198,
220,
220,
220,
220,
220,
220,
220,
46665,
25,
4422,
509,
47847,
258,
14259,
2584,
11,
11820,
375,
399,
958,
11,
42803,
367,
2371,
198,
220,
220,
220,
220,
220,
220,
220,
15887,
25,
3740,
1378,
2503,
13,
6359,
13,
13165,
5957,
13,
15532,
14,
93,
74,
47847,
14,
66,
361,
283,
13,
6494,
198,
220,
220,
220,
220,
220,
220,
220,
20984,
25,
3740,
1378,
2503,
13,
6359,
13,
13165,
5957,
13,
15532,
14,
93,
74,
47847,
14,
40684,
12,
40890,
12,
10531,
12,
5446,
13,
12315,
628,
220,
220,
220,
220,
220,
220,
220,
685,
42,
47847,
258,
14259,
2584,
11,
3717,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4422,
509,
47847,
258,
14259,
2584,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
41730,
20401,
406,
6962,
286,
17571,
422,
20443,
5382,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9634,
6358,
11,
3717,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
327,
5064,
1503,
12,
3064,
27039,
318,
257,
15494,
6352,
1039,
286,
262,
4019,
198,
220,
220,
220,
220,
220,
220,
220,
1510,
7009,
4263,
27039,
13,
632,
10874,
286,
718,
2388,
198,
220,
220,
220,
220,
220,
220,
220,
3933,
87,
2624,
9568,
4263,
287,
1802,
6097,
13,
22426,
11,
340,
198,
220,
220,
220,
220,
220,
220,
220,
468,
1802,
6097,
7268,
10053,
4263,
1123,
13,
1318,
389,
198,
220,
220,
220,
220,
220,
220,
220,
5323,
3047,
4263,
290,
1802,
4856,
4263,
583,
1398,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1802,
6097,
287,
262,
327,
5064,
1503,
12,
3064,
389,
32824,
656,
1160,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
37724,
13,
5501,
2939,
2058,
351,
257,
366,
38125,
1,
6167,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1169,
1398,
284,
543,
340,
14448,
8,
290,
257,
366,
1073,
17208,
1,
6167,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1169,
2208,
4871,
284,
543,
340,
14448,
737,
628,
220,
220,
220,
220,
220,
220,
220,
383,
25388,
15424,
2393,
326,
4909,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1844,
27039,
318,
1695,
329,
4321,
379,
262,
198,
220,
220,
220,
220,
220,
220,
220,
572,
605,
3052,
6692,
2029,
26,
5734,
262,
13934,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
329,
327,
4056,
13,
5740,
326,
1262,
262,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
43493,
290,
30796,
6634,
3793,
534,
198,
220,
220,
220,
220,
220,
220,
220,
5798,
13,
383,
7035,
286,
327,
5064,
1503,
12,
940,
3588,
470,
1107,
198,
220,
220,
220,
220,
220,
220,
220,
7952,
546,
597,
2846,
286,
779,
11,
523,
3387,
1100,
262,
198,
220,
220,
220,
220,
220,
220,
220,
3052,
284,
787,
1654,
345,
765,
284,
4321,
262,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
13,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
6359,
13,
13165,
5957,
13,
15532,
14,
93,
74,
47847,
14,
66,
361,
283,
12,
3064,
12,
39491,
13,
18870,
13,
34586,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3365,
64,
6659,
3609,
17477,
66,
1954,
64,
19,
1350,
23,
65,
1507,
3023,
67,
3104,
68,
44085,
276,
36928,
67,
43147,
64,
19,
1765,
28592,
65,
16,
69,
17,
64,
19104,
25061,
64,
1821,
67,
23,
721,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
69,
7569,
62,
24396,
796,
2393,
4613,
357,
5143,
7,
33,
259,
12156,
82,
13,
403,
8002,
62,
28758,
7,
7753,
11,
26672,
3672,
7,
7753,
828,
27071,
34586,
1600,
27071,
18870,
4943,
1776,
42721,
7,
7753,
4008,
198,
220,
220,
220,
15306,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
327,
5064,
1503,
3064,
7,
26,
309,
87,
28,
43879,
2624,
11,
6626,
28,
25,
27432,
11,
26672,
28,
22366,
8,
198,
220,
220,
220,
327,
5064,
1503,
3064,
26933,
46047,
11,
6626,
12962,
198,
198,
464,
327,
5064,
1503,
3064,
27039,
318,
257,
15494,
6352,
1039,
286,
262,
4019,
198,
14100,
7009,
4263,
27039,
13,
632,
10874,
286,
718,
2388,
198,
2624,
87,
2624,
9568,
4263,
287,
838,
6097,
11,
351,
39064,
4263,
198,
525,
1398,
13,
198,
198,
13615,
262,
327,
5064,
1503,
12,
3064,
12429,
2213,
1299,
316,
1174,
14722,
357,
1073,
17208,
290,
3734,
8,
198,
10215,
5546,
278,
284,
262,
1813,
4600,
521,
1063,
63,
355,
257,
46545,
286,
734,
4600,
5317,
63,
393,
198,
11545,
4600,
38469,
90,
5317,
92,
44646,
383,
9633,
4504,
389,
262,
36076,
6167,
7,
82,
8,
198,
7,
63,
56,
66,
63,
8,
290,
262,
3734,
6167,
7,
82,
8,
357,
63,
56,
69,
63,
8,
8148,
13,
198,
198,
2,
20559,
2886,
198,
198,
3,
1503,
38,
5883,
15365,
62,
40331,
1137,
29817,
1961,
62,
1503,
30631,
198,
12,
4600,
35312,
63,
25,
40573,
262,
1366,
18398,
13,
1680,
1011,
262,
3815,
4600,
25,
27432,
25,
63,
393,
4600,
25,
9288,
44646,
220,
198,
198,
2,
23948,
198,
198,
3,
11674,
3698,
5258,
62,
40331,
1137,
29817,
1961,
62,
1503,
30631,
198,
12,
4600,
35312,
44646,
198,
198,
2,
25458,
198,
198,
3,
49273,
50,
62,
40331,
1137,
29817,
1961,
62,
1503,
30631,
198,
12,
685,
63,
1102,
1851,
17,
9060,
63,
16151,
31,
5420,
8,
26161,
3033,
284,
4600,
36982,
63,
4263,
13,
198,
198,
2,
21066,
198,
198,
15506,
63,
73,
43640,
12,
35666,
198,
73,
43640,
29,
27039,
796,
327,
5064,
1503,
3064,
3419,
198,
34,
5064,
1503,
3064,
25,
198,
220,
20150,
220,
220,
220,
5218,
220,
220,
220,
360,
713,
90,
10100,
11,
4377,
92,
351,
513,
12784,
198,
220,
6626,
220,
220,
220,
220,
220,
220,
5218,
220,
220,
220,
1058,
27432,
198,
220,
3033,
220,
220,
220,
5218,
220,
220,
220,
3933,
12906,
2624,
12906,
18,
12906,
20,
2388,
15690,
90,
43879,
2624,
11,
604,
92,
198,
220,
6670,
220,
220,
220,
220,
5218,
220,
220,
220,
357,
1073,
17208,
796,
366,
20,
2388,
12,
30854,
20650,
90,
5317,
2414,
92,
1600,
3734,
796,
366,
20,
2388,
12,
30854,
20650,
90,
5317,
2414,
92,
4943,
198,
198,
73,
43640,
29,
27039,
58,
16,
25,
20,
4083,
83,
853,
1039,
198,
7,
1073,
17208,
796,
685,
1157,
11,
1315,
11,
604,
11,
1478,
11,
352,
4357,
3734,
796,
685,
1129,
11,
2808,
11,
657,
11,
1367,
11,
352,
12962,
198,
198,
73,
43640,
29,
1395,
11,
331,
796,
27039,
58,
11208,
198,
198,
73,
43640,
29,
27039,
13,
38993,
198,
35,
713,
90,
10100,
11,
4377,
92,
351,
513,
12784,
25,
198,
220,
366,
77,
62,
672,
3168,
602,
1,
220,
220,
220,
220,
5218,
642,
2388,
198,
220,
366,
4871,
62,
14933,
62,
1073,
17208,
1,
5218,
14631,
36129,
1512,
62,
76,
6475,
874,
1600,
366,
11084,
1600,
366,
2704,
3618,
1600,
366,
19425,
62,
3642,
50221,
1600,
366,
34711,
62,
392,
62,
303,
1136,
2977,
1600,
366,
4803,
2946,
62,
9509,
8143,
62,
42034,
1600,
366,
4803,
2946,
62,
69,
700,
8089,
1600,
366,
259,
8831,
82,
1600,
366,
11664,
62,
66,
1501,
452,
2850,
1600,
366,
11664,
62,
805,
12,
9727,
62,
1399,
198,
220,
366,
4871,
62,
14933,
62,
38125,
1,
220,
220,
5218,
14631,
18040,
1600,
366,
36129,
17756,
62,
11084,
1600,
366,
40252,
1600,
366,
33227,
1600,
366,
1350,
8770,
1600,
366,
3077,
1600,
366,
20963,
1600,
366,
1350,
316,
293,
1600,
366,
65,
35298,
1600,
366,
10985,
293,
1,
220,
3926,
220,
366,
27432,
1600,
366,
2213,
448,
1600,
366,
83,
377,
541,
1600,
366,
83,
17964,
1600,
366,
904,
25481,
1600,
366,
1929,
1000,
1600,
366,
10594,
322,
62,
21048,
1600,
366,
18829,
1600,
366,
86,
1399,
198,
15506,
63,
198,
37811,
198,
7249,
327,
5064,
1503,
3064,
1279,
25,
3115,
16149,
27354,
292,
316,
198,
220,
220,
220,
20150,
3712,
35,
713,
90,
10100,
11,
4377,
92,
198,
220,
220,
220,
6626,
3712,
13940,
23650,
198,
220,
220,
220,
3033,
3712,
19182,
90,
27,
25,
7149,
11,
604,
92,
198,
220,
220,
220,
6670,
3712,
45,
2434,
51,
29291,
90,
7,
25,
1073,
17208,
11,
1058,
38125,
828,
309,
29291,
90,
38469,
90,
5317,
5512,
20650,
90,
5317,
42535,
198,
437,
198,
198,
34,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
27432,
11,
309,
87,
28,
43879,
2624,
11,
26672,
28,
22366,
8,
796,
327,
5064,
1503,
3064,
7,
46047,
11,
6626,
26,
26672,
8,
198,
198,
8818,
327,
5064,
1503,
3064,
7,
46047,
3712,
6030,
11,
6626,
3712,
13940,
23650,
28,
25,
27432,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
5550,
13137,
10067,
796,
366,
34,
5064,
1503,
3064,
1,
198,
220,
220,
220,
29125,
20913,
2767,
62,
46700,
1677,
10067,
796,
4654,
6978,
7203,
66,
361,
283,
12,
3064,
12,
39491,
1600,
366,
27432,
13,
8800,
4943,
198,
220,
220,
220,
309,
1546,
4694,
2767,
62,
46700,
1677,
10067,
220,
796,
4654,
6978,
7203,
66,
361,
283,
12,
3064,
12,
39491,
1600,
366,
9288,
13,
8800,
4943,
198,
220,
220,
220,
7375,
1503,
5188,
62,
46700,
1677,
10067,
796,
4654,
6978,
7203,
66,
361,
283,
12,
3064,
12,
39491,
1600,
366,
1073,
17208,
62,
18242,
62,
14933,
13,
14116,
4943,
198,
220,
220,
220,
376,
8881,
62,
46700,
1677,
10067,
796,
4654,
6978,
7203,
66,
361,
283,
12,
3064,
12,
39491,
1600,
366,
38125,
62,
18242,
62,
14933,
13,
14116,
4943,
220,
220,
220,
220,
198,
220,
220,
220,
29125,
20913,
2767,
62,
33489,
796,
2026,
62,
830,
198,
220,
220,
220,
309,
1546,
4694,
2767,
62,
33489,
220,
796,
838,
62,
830,
628,
220,
220,
220,
2488,
30493,
6626,
18872,
230,
357,
25,
27432,
11,
1058,
9288,
8,
628,
220,
220,
220,
611,
6626,
6624,
1058,
27432,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
6978,
796,
1366,
7753,
7,
7206,
13137,
10067,
11,
29125,
20913,
2767,
62,
46700,
1677,
10067,
11,
26672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4263,
11,
14722,
62,
66,
11,
14722,
62,
69,
796,
327,
5064,
1503,
3064,
33634,
13,
961,
7890,
7,
7753,
62,
6978,
11,
29125,
20913,
2767,
62,
33489,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
6978,
796,
1366,
7753,
7,
7206,
13137,
10067,
11,
309,
1546,
4694,
2767,
62,
46700,
1677,
10067,
11,
26672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4263,
11,
14722,
62,
66,
11,
14722,
62,
69,
796,
327,
5064,
1503,
3064,
33634,
13,
961,
7890,
7,
7753,
62,
6978,
11,
309,
1546,
4694,
2767,
62,
33489,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
3033,
796,
9881,
62,
1462,
62,
4906,
7,
46047,
11,
4263,
8,
198,
220,
220,
220,
6670,
796,
357,
1073,
17208,
796,
14722,
62,
66,
11,
3734,
796,
14722,
62,
69,
8,
628,
220,
220,
220,
20150,
796,
360,
713,
90,
10100,
11,
4377,
92,
3419,
198,
220,
220,
220,
20150,
14692,
4871,
62,
14933,
62,
1073,
17208,
8973,
796,
1100,
6615,
7,
7890,
7753,
7,
7206,
13137,
10067,
11,
7375,
1503,
5188,
62,
46700,
1677,
10067,
11,
26672,
4008,
198,
220,
220,
220,
20150,
14692,
4871,
62,
14933,
62,
38125,
8973,
796,
1100,
6615,
7,
7890,
7753,
7,
7206,
13137,
10067,
11,
376,
8881,
62,
46700,
1677,
10067,
11,
26672,
4008,
198,
220,
220,
220,
20150,
14692,
77,
62,
672,
3168,
602,
8973,
796,
2546,
7,
40890,
38381,
437,
60,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
327,
5064,
1503,
3064,
7,
38993,
11,
6626,
11,
3033,
11,
6670,
8,
198,
437,
198,
198,
1102,
1851,
17,
9060,
7,
3712,
6030,
90,
27,
25,
34,
5064,
1503,
3064,
5512,
2124,
8,
796,
10385,
17,
9060,
7,
34,
5064,
1503,
940,
11,
2124,
8,
198,
198,
2,
5550,
47,
38827,
11617,
23255,
49836,
11,
22657,
46,
6089,
3268,
410,
15,
13,
22,
357,
273,
657,
13,
21,
13,
87,
8,
198,
8818,
7308,
13,
1136,
26745,
7,
3712,
6030,
90,
34,
5064,
1503,
3064,
5512,
264,
3712,
13940,
23650,
8,
198,
220,
220,
220,
611,
264,
6624,
1058,
2213,
2913,
22854,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
2213,
2913,
22854,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
27432,
737,
40890,
63,
2427,
526,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
491,
2913,
22854,
7,
51,
3712,
6030,
28,
45,
15,
69,
23,
26,
479,
18504,
23029,
796,
491,
2913,
22854,
7,
51,
11,
1058,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
491,
2913,
22854,
7,
72,
26,
479,
18504,
23029,
796,
491,
2913,
22854,
7,
45,
15,
69,
23,
11,
1312,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
491,
2913,
22854,
7,
51,
3712,
6030,
11,
1312,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
27432,
11,
309,
87,
28,
51,
11,
26672,
38381,
72,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
491,
2913,
22854,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
9288,
83,
22854,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
9288,
83,
22854,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
9288,
737,
40890,
63,
2427,
526,
220,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
83,
22854,
7,
51,
3712,
6030,
28,
45,
15,
69,
23,
26,
479,
18504,
23029,
796,
1332,
83,
22854,
7,
51,
11,
1058,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
83,
22854,
7,
72,
26,
479,
18504,
23029,
796,
1332,
83,
22854,
7,
45,
15,
69,
23,
11,
1312,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
1332,
83,
22854,
7,
51,
3712,
6030,
11,
1312,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
9288,
11,
309,
87,
28,
51,
11,
26672,
38381,
72,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1332,
83,
22854,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
27432,
23912,
1424,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
27432,
23912,
1424,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
27432,
737,
83,
853,
1039,
63,
2427,
526,
220,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
23912,
1424,
7,
26,
479,
18504,
23029,
796,
4512,
23912,
1424,
7,
25,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
4512,
23912,
1424,
7,
72,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
66,
11,
331,
69,
796,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
27432,
11,
26672,
38381,
72,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
66,
11,
331,
69,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4512,
23912,
1424,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
9288,
23912,
1424,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
9288,
23912,
1424,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
9288,
737,
83,
853,
1039,
63,
2427,
526,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
23912,
1424,
7,
26,
479,
18504,
23029,
796,
1332,
23912,
1424,
7,
25,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
1332,
23912,
1424,
7,
72,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
66,
11,
331,
69,
796,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
9288,
11,
26672,
38381,
72,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
66,
11,
331,
69,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1332,
23912,
1424,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
27432,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
27432,
7890,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
27432,
8,
21737,
63,
2427,
526,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
7890,
7,
51,
3712,
6030,
28,
45,
15,
69,
23,
26,
479,
18504,
23029,
796,
4512,
7890,
7,
51,
11,
1058,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
7890,
7,
72,
26,
479,
18504,
23029,
796,
4512,
7890,
7,
45,
15,
69,
23,
11,
1312,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
4512,
7890,
7,
51,
3712,
6030,
11,
1312,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
357,
88,
66,
11,
331,
69,
8,
796,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
27432,
11,
309,
87,
28,
51,
11,
26672,
38381,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
331,
66,
11,
331,
69,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4512,
7890,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
9288,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
9288,
7890,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
7,
35312,
28,
25,
9288,
8,
21737,
63,
2427,
526,
220,
3509,
6404,
28,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
7890,
7,
51,
3712,
6030,
28,
45,
15,
69,
23,
26,
479,
18504,
23029,
796,
1332,
7890,
7,
51,
11,
1058,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
7890,
7,
72,
26,
479,
18504,
23029,
796,
1332,
7890,
7,
45,
15,
69,
23,
11,
1312,
26,
479,
18504,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
1332,
7890,
7,
51,
3712,
6030,
11,
1312,
26,
26672,
28,
22366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
357,
88,
66,
11,
331,
69,
8,
796,
327,
5064,
1503,
3064,
7,
26,
6626,
28,
25,
9288,
11,
309,
87,
28,
51,
11,
26672,
38381,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
331,
66,
11,
331,
69,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1332,
7890,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
1102,
1851,
17,
9060,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
1102,
1851,
17,
9060,
7,
87,
8,
318,
39224,
11,
779,
4600,
1102,
1851,
17,
9060,
7,
34,
5064,
1503,
3064,
11,
2124,
8,
63,
2427,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2124,
4613,
10385,
17,
9060,
7,
34,
5064,
1503,
3064,
11,
2124,
8,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
4871,
14933,
62,
38125,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
4871,
14933,
62,
38125,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
22446,
38993,
58,
7879,
4871,
62,
14933,
62,
38125,
7879,
60,
63,
2427,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7499,
4613,
327,
5064,
1503,
3064,
22446,
38993,
14692,
4871,
62,
14933,
62,
38125,
8973,
198,
220,
220,
220,
2073,
361,
264,
6624,
1058,
4871,
14933,
62,
1073,
17208,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
34,
5064,
1503,
3064,
13,
4871,
14933,
62,
1073,
17208,
3419,
318,
39224,
11,
779,
4600,
34,
5064,
1503,
3064,
22446,
38993,
58,
7879,
4871,
62,
14933,
62,
1073,
17208,
7879,
60,
63,
2427,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7499,
4613,
327,
5064,
1503,
3064,
22446,
38993,
14692,
4871,
62,
14933,
62,
1073,
17208,
8973,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
3245,
7,
34,
5064,
1503,
3064,
11,
264,
8,
198,
220,
220,
220,
886,
198,
437,
198
] | 2.295684 | 3,568 |
module TestTearing
println("TestTearing: Tests tearing algorithm of the symbolic handling.")
using Modia
# Desired:
# using ModiaMath: plot
#
# In order that these packages need not to be defined in the user environment, they are included via Modia:
using Modia.ModiaMath: plot
# Tearing1
# No tearing is performed since coefficients of the block equations are not 1 or -1.
@model Tearing1 begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(start=1.0)
@equations begin
2.0*x1 + 3.0*x2 = x3
-1.4*x1 + 5.0*x2 = 2.0*x3
der(x3) = -x3
end
end
result = simulate(Tearing1, 1.0; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3"))
# Tearing1B
#
@model Tearing1B begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(start=1.0)
@equations begin
2.0*x1 + x2 = x3
-1.4*x1 + 5.0*x2 = 2.0*x3
der(x3) = -x3
end
end
result = simulate(Tearing1B, 1.0; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3"))
# Tearing2
# A correct solution is:
# x2 := (x3 - 1.0) - 2.0 * (sin)(x1)
# -1.4*sin(x1) + 5.0*cos(x2) = 2.0*x3
# der(x3) = -x3
#
@model Tearing2 begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(start=1.0)
@equations begin
2.0*sin(x1) + x2 = x3-1.0
-1.4*sin(x1) + 5.0*cos(x2) = 2.0*x3
der(x3) = -x3
end
end
result = simulate(Tearing2, 0.3; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3"))
# Tearing3
# Variables that are explicitely solved due to tearing: x1, x2
#
@model Tearing3 begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(size=())
x4 = Float(start=1.0)
@equations begin
2.0*sin(x1) + x2 = x3-1.0 - 0.01*sin(x4)
-1.4*sin(x1) + 5.0*cos(x2) + (0.02*x3)^3 = 2.0*x4
sin(0.1*x4) = abs(x3) - x1
der(x4) = -x4
end
end
result = simulate(Tearing3, 0.3; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3", "x4"))
# Tearing4
# Variables that are explicitely solved due to tearing: x1, x2
#
@model Tearing4 begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(size=())
x4 = Float(size=())
x5 = Float(start=1.0)
@equations begin
2.0*sin(x1) + x2 = x3-1.0 - 0.01*sin(x4)
-1.4*sin(x1) + 5.0*cos(x2) + (0.02*x3)^3 = 2.0*x4
sin(0.1*x4) = abs(x3) - x1
-2*x4 + 3.0*x1 -3*x2 = 0.0
der(x5) = -x5
end
end
result = simulate(Tearing4, 0.3; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3", "x4", "x5"))
@model TearingCombined begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(start=1.0)
x11 = Float(size=())
x12 = Float(size=())
x13 = Float(start=1.0)
x21 = Float(size=())
x22 = Float(size=())
x23 = Float(start=1.0)
x31 = Float(size=())
x32 = Float(size=())
x33 = Float(start=1.0)
x34 = Float(start=1.0)
x35 = Float(size=())
@equations begin
2.0*x1 + 3.0*x2 = x3
-1.4*x1 + 5.0*x2 = 2.0*x3
der(x3) = -x3
2.0*x11 + x12 = x13
-1.4*x11 + 5.0*x12 = 2.0*x13
der(x13) = -x13
2.0*sin(x21) + x22 = x23-1.0
-1.4*sin(x21) + 5.0*cos(x22) = 2.0*x23
der(x23) = -x23
2.0*sin(x31) + x32 = x33-1.0
-1.4*sin(x35) + 5.0*cos(x34) = 2.0*x33
x34 = 1.0*x32
2*x35 = 2*x31
der(x33) = -x33
end
end
result = simulate(TearingCombined, 1.0; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3"))
# Tearing5
# RemoveAuxiliary should remove equation "2*x1 = 4*x2"
# Tearing should then eliminate x1 = 2*x2
#
# The log shows, that all this works. However, the generated code
# has a state vector of [x1, x2, x3, x4]. Since tearing can compute x1 from x2,
# it would be possible that the state vector has only elements [x2,x3,x4].
# Otherwise, tearing has basically no effect, because the system of equations
# was not reduced in the generated code.
@model Tearing5 begin
x1 = Float(size=())
x2 = Float(size=())
x3 = Float(size=())
x4 = Float(start=1.0)
@equations begin
x1 = 2*x2
2*x1 = 4*x2
x1 + x2 = x3 + x4
3.1*x2 + 1.2*x3 + 1.3*x4 = 0
der(x4) = -x4
end
end
result = simulate(Tearing5, 0.3; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("x1", "x2", "x3", "x4"), figure=5)
# Tearing6
@model Tearing6 begin
C1 = 1e-3
C2 = 2e-3
u1 = Float(size=(), start=1.0)
u2 = Float(size=(), state=false)
i1 = Float(size=())
v1 = Float(size=())
v0 = Float(size=())
@equations begin
C1*der(u1) = i1
C2*der(u2) = -i1
u1 = v1 - v0
u2 = v1 - v0
v0 = 0
end
end
result = simulate(Tearing6, 1.0; logTranslation=true, logSimulation=true, tearing=true, removeSingularities=true)
plot(result, ("u1", "u2", "i1", "v1", "v0"), figure=6)
end
| [
21412,
6208,
51,
6648,
198,
198,
35235,
7203,
14402,
51,
6648,
25,
30307,
24447,
11862,
286,
262,
18975,
9041,
19570,
198,
198,
3500,
3401,
544,
628,
198,
2,
2935,
1202,
25,
198,
2,
220,
220,
1262,
3401,
544,
37372,
25,
7110,
198,
2,
198,
2,
554,
1502,
326,
777,
10392,
761,
407,
284,
307,
5447,
287,
262,
2836,
2858,
11,
484,
389,
3017,
2884,
3401,
544,
25,
198,
3500,
3401,
544,
13,
5841,
544,
37372,
25,
7110,
628,
198,
2,
309,
6648,
16,
220,
198,
2,
1400,
24447,
318,
6157,
1201,
44036,
286,
262,
2512,
27490,
389,
407,
352,
393,
532,
16,
13,
198,
31,
19849,
309,
6648,
16,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
87,
16,
1343,
513,
13,
15,
9,
87,
17,
796,
2124,
18,
198,
220,
220,
220,
532,
16,
13,
19,
9,
87,
16,
1343,
642,
13,
15,
9,
87,
17,
796,
362,
13,
15,
9,
87,
18,
198,
220,
220,
220,
4587,
7,
87,
18,
8,
796,
532,
87,
18,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
16,
11,
352,
13,
15,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
48774,
198,
198,
2,
309,
6648,
16,
33,
198,
2,
220,
198,
31,
19849,
309,
6648,
16,
33,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
87,
16,
1343,
2124,
17,
796,
2124,
18,
198,
220,
220,
220,
532,
16,
13,
19,
9,
87,
16,
1343,
642,
13,
15,
9,
87,
17,
796,
362,
13,
15,
9,
87,
18,
198,
220,
220,
220,
4587,
7,
87,
18,
8,
796,
532,
87,
18,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
16,
33,
11,
352,
13,
15,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
48774,
628,
198,
2,
309,
6648,
17,
198,
2,
317,
3376,
4610,
318,
25,
198,
2,
220,
220,
220,
2124,
17,
19039,
357,
87,
18,
532,
352,
13,
15,
8,
532,
362,
13,
15,
1635,
357,
31369,
5769,
87,
16,
8,
198,
2,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
16,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
17,
8,
796,
362,
13,
15,
9,
87,
18,
198,
2,
220,
220,
220,
220,
4587,
7,
87,
18,
8,
796,
532,
87,
18,
198,
2,
198,
31,
19849,
309,
6648,
17,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
31369,
7,
87,
16,
8,
1343,
2124,
17,
796,
2124,
18,
12,
16,
13,
15,
198,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
16,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
17,
8,
796,
362,
13,
15,
9,
87,
18,
198,
220,
220,
220,
4587,
7,
87,
18,
8,
796,
532,
87,
18,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
17,
11,
657,
13,
18,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
48774,
628,
198,
2,
309,
6648,
18,
198,
2,
15965,
2977,
326,
389,
1193,
291,
3973,
16019,
2233,
284,
24447,
25,
2124,
16,
11,
2124,
17,
198,
2,
198,
31,
19849,
309,
6648,
18,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
19,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
31369,
7,
87,
16,
8,
1343,
2124,
17,
796,
2124,
18,
12,
16,
13,
15,
532,
657,
13,
486,
9,
31369,
7,
87,
19,
8,
198,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
16,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
17,
8,
1343,
357,
15,
13,
2999,
9,
87,
18,
8,
61,
18,
796,
362,
13,
15,
9,
87,
19,
198,
220,
220,
220,
220,
7813,
7,
15,
13,
16,
9,
87,
19,
8,
796,
2352,
7,
87,
18,
8,
532,
2124,
16,
198,
220,
220,
220,
4587,
7,
87,
19,
8,
796,
532,
87,
19,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
18,
11,
657,
13,
18,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
1600,
366,
87,
19,
48774,
628,
198,
198,
2,
309,
6648,
19,
198,
2,
15965,
2977,
326,
389,
1193,
291,
3973,
16019,
2233,
284,
24447,
25,
2124,
16,
11,
2124,
17,
198,
2,
198,
31,
19849,
309,
6648,
19,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
19,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
20,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
31369,
7,
87,
16,
8,
1343,
2124,
17,
796,
2124,
18,
12,
16,
13,
15,
532,
657,
13,
486,
9,
31369,
7,
87,
19,
8,
198,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
16,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
17,
8,
1343,
357,
15,
13,
2999,
9,
87,
18,
8,
61,
18,
796,
362,
13,
15,
9,
87,
19,
198,
220,
220,
220,
220,
7813,
7,
15,
13,
16,
9,
87,
19,
8,
796,
2352,
7,
87,
18,
8,
532,
2124,
16,
198,
220,
220,
220,
220,
532,
17,
9,
87,
19,
1343,
513,
13,
15,
9,
87,
16,
532,
18,
9,
87,
17,
796,
657,
13,
15,
198,
220,
220,
220,
4587,
7,
87,
20,
8,
796,
532,
87,
20,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
19,
11,
657,
13,
18,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
1600,
366,
87,
19,
1600,
366,
87,
20,
48774,
628,
198,
31,
19849,
309,
6648,
20575,
1389,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
628,
220,
220,
220,
2124,
1157,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
1065,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
1485,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
628,
220,
220,
220,
2124,
2481,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
1828,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
1954,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
3132,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
2624,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
2091,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
220,
220,
220,
2124,
2682,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
220,
220,
220,
2124,
2327,
796,
48436,
7,
7857,
28,
28955,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
362,
13,
15,
9,
87,
16,
1343,
513,
13,
15,
9,
87,
17,
796,
2124,
18,
198,
220,
220,
220,
532,
16,
13,
19,
9,
87,
16,
1343,
642,
13,
15,
9,
87,
17,
796,
362,
13,
15,
9,
87,
18,
198,
220,
220,
220,
4587,
7,
87,
18,
8,
796,
532,
87,
18,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
362,
13,
15,
9,
87,
1157,
1343,
2124,
1065,
796,
2124,
1485,
198,
220,
220,
220,
532,
16,
13,
19,
9,
87,
1157,
1343,
642,
13,
15,
9,
87,
1065,
796,
362,
13,
15,
9,
87,
1485,
198,
220,
220,
220,
4587,
7,
87,
1485,
8,
796,
532,
87,
1485,
628,
220,
220,
220,
220,
362,
13,
15,
9,
31369,
7,
87,
2481,
8,
1343,
2124,
1828,
796,
2124,
1954,
12,
16,
13,
15,
198,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
2481,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
1828,
8,
796,
362,
13,
15,
9,
87,
1954,
198,
220,
220,
220,
4587,
7,
87,
1954,
8,
796,
532,
87,
1954,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
362,
13,
15,
9,
31369,
7,
87,
3132,
8,
1343,
2124,
2624,
796,
2124,
2091,
12,
16,
13,
15,
198,
220,
220,
220,
532,
16,
13,
19,
9,
31369,
7,
87,
2327,
8,
1343,
642,
13,
15,
9,
6966,
7,
87,
2682,
8,
796,
362,
13,
15,
9,
87,
2091,
198,
220,
220,
220,
2124,
2682,
796,
352,
13,
15,
9,
87,
2624,
198,
220,
220,
220,
362,
9,
87,
2327,
796,
362,
9,
87,
3132,
198,
220,
220,
220,
4587,
7,
87,
2091,
8,
796,
532,
87,
2091,
220,
220,
220,
220,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
20575,
1389,
11,
352,
13,
15,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
48774,
628,
198,
198,
2,
309,
6648,
20,
198,
2,
17220,
32,
2821,
28129,
815,
4781,
16022,
366,
17,
9,
87,
16,
796,
604,
9,
87,
17,
1,
198,
2,
309,
6648,
815,
788,
11005,
2124,
16,
796,
362,
9,
87,
17,
198,
2,
198,
2,
383,
2604,
2523,
11,
326,
477,
428,
2499,
13,
2102,
11,
262,
7560,
2438,
198,
2,
468,
257,
1181,
15879,
286,
685,
87,
16,
11,
2124,
17,
11,
2124,
18,
11,
2124,
19,
4083,
4619,
24447,
460,
24061,
2124,
16,
422,
2124,
17,
11,
198,
2,
340,
561,
307,
1744,
326,
262,
1181,
15879,
468,
691,
4847,
685,
87,
17,
11,
87,
18,
11,
87,
19,
4083,
198,
2,
15323,
11,
24447,
468,
6209,
645,
1245,
11,
780,
262,
1080,
286,
27490,
198,
2,
373,
407,
5322,
287,
262,
7560,
2438,
13,
198,
31,
19849,
309,
6648,
20,
2221,
198,
220,
220,
220,
2124,
16,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
17,
796,
48436,
7,
7857,
28,
28955,
198,
220,
220,
220,
2124,
18,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2124,
19,
796,
48436,
7,
9688,
28,
16,
13,
15,
8,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
220,
2124,
16,
796,
362,
9,
87,
17,
198,
220,
220,
362,
9,
87,
16,
796,
604,
9,
87,
17,
198,
220,
220,
220,
220,
2124,
16,
1343,
2124,
17,
796,
2124,
18,
1343,
2124,
19,
220,
198,
220,
220,
220,
220,
513,
13,
16,
9,
87,
17,
1343,
352,
13,
17,
9,
87,
18,
1343,
352,
13,
18,
9,
87,
19,
796,
657,
198,
220,
220,
220,
4587,
7,
87,
19,
8,
796,
532,
87,
19,
198,
220,
220,
220,
886,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
20,
11,
657,
13,
18,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
87,
16,
1600,
366,
87,
17,
1600,
366,
87,
18,
1600,
366,
87,
19,
12340,
3785,
28,
20,
8,
628,
198,
2,
309,
6648,
21,
198,
31,
19849,
309,
6648,
21,
2221,
198,
220,
220,
220,
327,
16,
796,
352,
68,
12,
18,
198,
220,
220,
220,
327,
17,
796,
362,
68,
12,
18,
198,
220,
220,
220,
334,
16,
796,
48436,
7,
7857,
16193,
828,
923,
28,
16,
13,
15,
8,
198,
220,
220,
220,
334,
17,
796,
48436,
7,
7857,
16193,
828,
1181,
28,
9562,
8,
198,
220,
220,
220,
1312,
16,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
410,
16,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
410,
15,
796,
48436,
7,
7857,
28,
28955,
220,
220,
220,
220,
220,
220,
220,
220,
198,
31,
4853,
602,
2221,
198,
220,
220,
220,
327,
16,
9,
1082,
7,
84,
16,
8,
796,
1312,
16,
198,
220,
220,
220,
327,
17,
9,
1082,
7,
84,
17,
8,
796,
532,
72,
16,
198,
220,
220,
220,
334,
16,
796,
410,
16,
532,
410,
15,
198,
220,
220,
220,
334,
17,
796,
410,
16,
532,
410,
15,
198,
220,
220,
220,
410,
15,
796,
657,
198,
220,
220,
220,
886,
220,
198,
437,
220,
198,
20274,
796,
29308,
7,
51,
6648,
21,
11,
352,
13,
15,
26,
2604,
48313,
28,
7942,
11,
2604,
8890,
1741,
28,
7942,
11,
24447,
28,
7942,
11,
4781,
29974,
934,
871,
28,
7942,
8,
198,
29487,
7,
20274,
11,
5855,
84,
16,
1600,
366,
84,
17,
1600,
366,
72,
16,
1600,
366,
85,
16,
1600,
366,
85,
15,
12340,
3785,
28,
21,
8,
198,
198,
437,
628
] | 2.050521 | 2,494 |
"""Algorithm for computing H, as given by arxiv:1403.7698
H is related to Wigner's (small) d via
dₗⁿᵐ = ϵₙ ϵ₋ₘ Hₗⁿᵐ,
where
⎧ 1 for k≤0
ϵₖ = ⎨
⎩ (-1)ᵏ for k>0
H has various advantages over d, including the fact that it can be efficiently
and robustly valculated via recurrence relations, and the following symmetry
relations:
H^{m', m}_n(β) = H^{m, m'}_n(β)
H^{m', m}_n(β) = H^{-m', -m}_n(β)
H^{m', m}_n(β) = (-1)^{n+m+m'} H^{-m', m}_n(π - β)
H^{m', m}_n(β) = (-1)^{m+m'} H^{m', m}_n(-β)
Because of these symmetries, we only need to evaluate at most 1/4 of all the
elements.
"""
"""Return flat index into arrray of [n, m] pairs.
Assumes array is ordered as
[
[n, m]
for n in range(n_max+1)
for m in range(-n, n+1)
]
"""
nm_index(n, m) = m + n * (n + 1) + 1
"""Return flat index into arrray of [n, abs(m)] pairs
Assumes array is ordered as
[
[n, m]
for n in range(n_max+1)
for m in range(n+1)
]
"""
nabsm_index(n, absm) = absm + (n * (n + 1)) ÷ 2 + 1
"""Return flat index into arrray of [n, mp, m]
Assumes array is ordered as
[
[n, mp, m]
for n in range(n_max+1)
for mp in range(-n, n+1)
for m in range(-n, n+1)
]
"""
nmpm_index(n, mp, m) = (((4n + 6) * n + 6mp + 5) * n + 3(m + mp)) ÷ 3 + 1
@inbounds function _step_1!(w::WignerMatrixCalculator)
"""If n=0 set H_{0}^{0,0}=1."""
w.Hwedge[1] = 1
end
@inbounds function _step_2!(w::WignerMatrixCalculator, expiβ::Complex)
"""Compute values H^{0,m}_{n}(β)for m=0,...,n and H^{0,m}_{n+1}(β) for m=0,...,n+1
Uses Eq. (32) of Gumerov-Duraiswami (2014) [arxiv:1403.7698]:
H^{0,m}_{n}(β) = (-1)^m √((n-|m|)! / (n+|m|)!) P^{|m|}_{n}(cos β)
= (-1)^m P̄^{|m|}_{n}(cos β) / √(k (2n+1))
Here, k=1 for m=0, and k=2 for m>0, and
P̄ = √{k(2n+1)(n-m)!/(n+m)!} P
We use the "fully normalized" associated Legendre functions (fnALF) P̄ because,
as explained by Xing et al. (2020) [https://doi.org/10.1007/s00190-019-01331-0],
it is possible to compute these values very efficiently and accurately, while
also delaying the onset of overflow and underflow.
NOTE: Though not specified in arxiv:1403.7698, there is not enough information
for step 4 unless we also use symmetry to set H^{1,0}_{n} here. Similarly,
step 5 needs additional information, which depends on setting H^{0, -1}_{n}
from its symmetric equivalent H^{0, 1}_{n} in this step.
"""
n_max, mp_max, TW = ℓₘₐₓ(w), m′ₘₐₓ(w), T(w)
Hwedge, Hextra, Hv = w.Hwedge, w.Hextra, w.Hv
cosβ = expiβ.re
sinβ = expiβ.im
sqrt3 = √TW(3)
# The general expressions for the constants are Eq. (13) of Xing et al.:
#
# aₙ = √((2n+1)/TW(2n-1))
# bₙ = √(2*(n-1)*(2n+1)/TW(n*(2n-1)))
# cₙₘ = √(((n+m)*(n-m)*(2n+1)) / TW(2n-1)) / n
# dₙₘ = √(((n-m)*(n-m-1)*(2n+1)) / TW(2n-1)) / (2n)
# eₙₘ = √(((n+m)*(n+m-1)*(2n+1)) / TW(2n-1)) / (2n)
#
# Below, I factor aₙ out of each of these expressions, along with 1/2n where
# relevant, to avoid divisions.
#
# We initialize with Eq. (14), then step through with Eq. (12), to compute all
# values of P̄. Finally, we normalize everything again to compute the H
# values.
if n_max > 0
# n = 1
n0n_index = WignerHindex(1, 0, 1, mp_max)
Hwedge[n0n_index] = sqrt3 * sinβ
Hwedge[n0n_index-1] = sqrt3 * cosβ
# n = 2, ..., n_max+1
for n in 2:n_max+1
if n <= n_max
n0n_index = WignerHindex(n, 0, n, mp_max)
H = Hwedge
else
n0n_index = n + 1
H = Hextra
end
nm10nm1_index = WignerHindex(n-1, 0, n-1, mp_max)
inv2n = inv(TW(2n))
aₙ = √((2n+1)/TW(2n-1))
bₙ = aₙ * √((2*(n-1))/TW(n))
# m = n
eₙₘ = inv2n * √TW((2n)*(2n+1))
H[n0n_index] = sinβ * eₙₘ * Hwedge[nm10nm1_index]
# m = n-1
eₙₘ = inv2n * √TW((2n-2)*(2n+1))
cₙₘ = 2inv2n * √TW(2n+1)
H[n0n_index-1] = cosβ * cₙₘ * Hwedge[nm10nm1_index] + sinβ * eₙₘ * Hwedge[nm10nm1_index-1]
# m = n-2, ..., 2
for i in 2:n-2
# m = n-i
cₙₘ = 2inv2n * aₙ * √TW((2n-i)*i)
dₙₘ = inv2n * aₙ * √TW(i*(i-1))
eₙₘ = inv2n * aₙ * √TW((2n-i)*(2n-i-1))
H[n0n_index-i] = (
cosβ * cₙₘ * Hwedge[nm10nm1_index-i+1]
- sinβ * (
dₙₘ * Hwedge[nm10nm1_index-i+2]
- eₙₘ * Hwedge[nm10nm1_index-i]
)
)
end
# m = 1
cₙₘ = 2inv2n * aₙ * √TW((n+1)*(n-1))
dₙₘ = inv2n * aₙ * √TW((n-1)*(n-2))
eₙₘ = inv2n * aₙ * √TW(2n*(n+1))
H[n0n_index-n+1] = (
cosβ * cₙₘ * Hwedge[nm10nm1_index-n+2]
- sinβ * (
dₙₘ * Hwedge[nm10nm1_index-n+3]
- eₙₘ * Hwedge[nm10nm1_index-n+1]
)
)
# m = 0
cₙₘ = aₙ
dₙₘ = inv2n * aₙ * √TW(n*(n-1))
eₙₘ = dₙₘ
H[n0n_index-n] = (
aₙ * cosβ * Hwedge[nm10nm1_index-n+1]
- bₙ * sinβ * Hwedge[nm10nm1_index-n+2] / 2
)
# Supply extra edge cases as noted in docstring
if n <= n_max
Hv[nm_index(n, 1)] = Hwedge[WignerHindex(n, 0, 1, mp_max)]
Hv[nm_index(n, 0)] = Hwedge[WignerHindex(n, 0, 1, mp_max)]
end
end
# Supply extra edge cases as noted in docstring
Hv[nm_index(1, 1)] = Hwedge[WignerHindex(1, 0, 1, mp_max)]
Hv[nm_index(1, 0)] = Hwedge[WignerHindex(1, 0, 1, mp_max)]
# Normalize, changing P̄ to H values
for n in 1:n_max+1
if n <= n_max
n00_index = WignerHindex(n, 0, 0, mp_max)
H = Hwedge
else
n00_index = 1
H = Hextra
end
const0 = inv(√TW(2n+1))
const1 = inv(√TW(4n+2))
H[n00_index] *= const0
for m in 1:n
H[n00_index+m] *= const1
end
if n <= n_max
Hv[nm_index(n, 1)] *= -const1
Hv[nm_index(n, 0)] *= -const1
end
end
end
end
@inbounds function _step_3!(w::WignerMatrixCalculator, expiβ::Complex)
"""Use relation (41) to compute H^{1,m}_{n}(β) for m=1,...,n. Using symmetry and shift
of the indices this relation can be written as
b^{0}_{n+1} H^{1, m}_{n} = (b^{−m−1}_{n+1} (1−cosβ))/2 H^{0, m+1}_{n+1}
− (b^{ m−1}_{n+1} (1+cosβ))/2 H^{0, m−1}_{n+1}
− a^{m}_{n} sinβ H^{0, m}_{n+1}
"""
avalues = a(w)
bvalues = b(w)
n_max = ℓₘₐₓ(w)
mp_max = m′ₘₐₓ(w)
Hwedge = w.Hwedge
Hextra = w.Hextra
cosβ = expiβ.re
sinβ = expiβ.im
cosβ₊ = (1+cosβ)/2
cosβ₋ = (1-cosβ)/2
if n_max > 0 && mp_max > 0
for n in 1:n_max
# m = 1, ..., n
i1 = WignerHindex(n, 1, 1, mp_max)
if n+1 <= n_max
i2 = WignerHindex(n+1, 0, 0, mp_max)
H2 = Hwedge
else
i2 = 1
H2 = Hextra
end
i3 = nm_index(n+1, 0)
i4 = nabsm_index(n, 1)
inverse_b5 = inv(bvalues[i3])
for i in 0:n-1
b6 = bvalues[-i+i3-2]
b7 = bvalues[i+i3]
a8 = avalues[i+i4]
Hwedge[i+i1] = inverse_b5 * (
(
b6 * cosβ₋ * H2[i+i2+2]
- b7 * cosβ₊ * H2[i+i2]
)
- a8 * sinβ * H2[i+i2+1]
)
end
end
end
end
@inbounds function _step_4!(w::WignerMatrixCalculator)
"""Recursively compute H^{m'+1, m}_{n}(β) for m'=1,...,n−1, m=m',...,n using relation (50) resolved
with respect to H^{m'+1, m}_{n}:
d^{m'}_{n} H^{m'+1, m}_{n} = d^{m'−1}_{n} H^{m'−1, m}_{n}
− d^{m−1}_{n} H^{m', m−1}_{n}
+ d^{m}_{n} H^{m', m+1}_{n}
(where the last term drops out for m=n).
"""
dvalues, n_max, mp_max = d(w), ℓₘₐₓ(w), m′ₘₐₓ(w)
Hwedge, Hv = w.Hwedge, w.Hv
if n_max > 0 && mp_max > 0
for n in 2:n_max
for mp in 1:min(n, mp_max)-1
# m = m', ..., n-1
# i1 = WignerHindex(n, mp+1, mp, mp_max)
i1 = WignerHindex(n, mp+1, mp+1, mp_max) - 1
i2 = WignerHindex(n, mp-1, mp, mp_max)
# i3 = WignerHindex(n, mp, mp-1, mp_max)
i3 = WignerHindex(n, mp, mp, mp_max) - 1
i4 = WignerHindex(n, mp, mp+1, mp_max)
i5 = nm_index(n, mp)
i6 = nm_index(n, mp-1)
inverse_d5 = inv(dvalues[i5])
d6 = dvalues[i6]
let i=0
d7 = dvalues[i+i6]
d8 = dvalues[i+i5]
Hv[i+nm_index(n, mp+1)] = inverse_d5 * (
d6 * Hwedge[i+i2]
- d7 * Hv[i+nm_index(n, mp)]
+ d8 * Hwedge[i+i4]
)
end
for i in 1:n-mp-1
d7 = dvalues[i+i6]
d8 = dvalues[i+i5]
Hwedge[i+i1] = inverse_d5 * (
d6 * Hwedge[i+i2]
- d7 * Hwedge[i+i3]
+ d8 * Hwedge[i+i4]
)
end
# m = n
let i=n-mp
Hwedge[i+i1] = inverse_d5 * (
d6 * Hwedge[i+i2]
- dvalues[i+i6] * Hwedge[i+i3]
)
end
end
end
end
end
@inbounds function _step_5!(w::WignerMatrixCalculator)
"""Recursively compute H^{m'−1, m}_{n}(β) for m'=−1,...,−n+1, m=−m',...,n using relation (50)
resolved with respect to H^{m'−1, m}_{n}:
d^{m'−1}_{n} H^{m'−1, m}_{n} = d^{m'}_{n} H^{m'+1, m}_{n}
+ d^{m−1}_{n} H^{m', m−1}_{n}
− d^{m}_{n} H^{m', m+1}_{n}
(where the last term drops out for m=n).
NOTE: Although arxiv:1403.7698 specifies the loop over mp to start at -1, I
find it necessary to start at 0, or there will be missing information. This
also requires setting the (m',m)=(0,-1) components before beginning this loop.
"""
dvalues, n_max, mp_max = d(w), ℓₘₐₓ(w), m′ₘₐₓ(w)
Hwedge, Hv = w.Hwedge, w.Hv
if n_max > 0 && mp_max > 0
for n in 0:n_max
for mp in 0:-1:1-min(n, mp_max)
# m = -m', ..., n-1
# i1 = WignerHindex(n, mp-1, -mp, mp_max)
i1 = WignerHindex(n, mp-1, -mp+1, mp_max) - 1
# i2 = WignerHindex(n, mp+1, -mp, mp_max)
i2 = WignerHindex(n, mp+1, -mp+1, mp_max) - 1
# i3 = WignerHindex(n, mp, -mp-1, mp_max)
i3 = WignerHindex(n, mp, -mp, mp_max) - 1
i4 = WignerHindex(n, mp, -mp+1, mp_max)
i5 = nm_index(n, mp-1)
i6 = nm_index(n, mp)
i7 = nm_index(n, -mp-1)
i8 = nm_index(n, -mp)
inverse_d5 = inv(dvalues[i5])
d6 = dvalues[i6]
let i=0
d7 = dvalues[i+i7]
d8 = dvalues[i+i8]
if mp == 0
Hv[i+nm_index(n, mp-1)] = inverse_d5 * (
d6 * Hv[i+nm_index(n, mp+1)]
+ d7 * Hv[i+nm_index(n, mp)]
- d8 * Hwedge[i+i4]
)
else
Hv[i+nm_index(n, mp-1)] = inverse_d5 * (
d6 * Hwedge[i+i2]
+ d7 * Hv[i+nm_index(n, mp)]
- d8 * Hwedge[i+i4]
)
end
end
for i in 1:n+mp-1
d7 = dvalues[i+i7]
d8 = dvalues[i+i8]
Hwedge[i+i1] = inverse_d5 * (
d6 * Hwedge[i+i2]
+ d7 * Hwedge[i+i3]
- d8 * Hwedge[i+i4]
)
end
# m = n
let i=n+mp
Hwedge[i+i1] = inverse_d5 * (
d6 * Hwedge[i+i2]
+ dvalues[i+i7] * Hwedge[i+i3]
)
end
end
end
end
end
"""
H!(w, expiβ)
Compute (a quarter of) the H matrix
WARNING: The returned array will be a view into the `workspace` variable (see
below for an explanation of that). If you need to call this function again
using the same workspace before extracting all information from the first call,
you should use `numpy.copy` to make a separate copy of the result.
Parameters
----------
expiβ : array_like
Value of exp(i*β) on which to evaluate the H matrix.
Returns
-------
Hwedge : array
This is a 1-dimensional array of floats; see below.
workspace : array_like, optional
A working array like the one returned by Wigner.new_workspace(). If not
present, this object's default workspace will be used. Note that it is not
safe to use the same workspace on multiple threads. Also see the WARNING
above.
See Also
--------
d : Compute the full Wigner d matrix
D : Compute the full Wigner 𝔇 matrix
rotate : Avoid computing the full 𝔇 matrix and rotate modes directly
evaluate : Avoid computing the full 𝔇 matrix and evaluate modes directly
Notes
-----
H is related to Wigner's (small) d via
dₗⁿᵐ = ϵₙ ϵ₋ₘ Hₗⁿᵐ,
where
⎧ 1 for k≤0
ϵₖ = ⎨
⎩ (-1)ᵏ for k>0
H has various advantages over d, including the fact that it can be efficiently
and robustly valculated via recurrence relations, and the following symmetry
relations:
H^{m', m}_n(β) = H^{m, m'}_n(β)
H^{m', m}_n(β) = H^{-m', -m}_n(β)
H^{m', m}_n(β) = (-1)^{n+m+m'} H^{-m', m}_n(π - β)
H^{m', m}_n(β) = (-1)^{m+m'} H^{m', m}_n(-β)
Because of these symmetries, we only need to evaluate at most 1/4 of all the
elements.
"""
function H!(w::WignerMatrixCalculator, expiβ::Complex)
_step_1!(w)
_step_2!(w, expiβ)
_step_3!(w, expiβ)
_step_4!(w)
_step_5!(w)
w.Hwedge
end
| [
37811,
2348,
42289,
329,
14492,
367,
11,
355,
1813,
416,
610,
87,
452,
25,
1415,
3070,
13,
22,
39357,
198,
198,
39,
318,
3519,
284,
370,
570,
263,
338,
357,
17470,
8,
288,
2884,
628,
220,
220,
220,
288,
158,
224,
245,
46256,
123,
39611,
238,
796,
18074,
113,
158,
224,
247,
18074,
113,
158,
224,
233,
158,
224,
246,
367,
158,
224,
245,
46256,
123,
39611,
238,
11,
198,
198,
3003,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
236,
100,
352,
329,
479,
35705,
97,
15,
198,
220,
220,
220,
18074,
113,
158,
224,
244,
796,
2343,
236,
101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
236,
102,
13841,
16,
8,
39611,
237,
329,
479,
29,
15,
198,
198,
39,
468,
2972,
13391,
625,
288,
11,
1390,
262,
1109,
326,
340,
460,
307,
18306,
198,
392,
12373,
306,
1188,
49262,
2884,
664,
33928,
2316,
11,
290,
262,
1708,
40686,
198,
39468,
25,
628,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
367,
36796,
76,
11,
285,
6,
92,
62,
77,
7,
26638,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
367,
36796,
12,
76,
3256,
532,
76,
92,
62,
77,
7,
26638,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
13841,
16,
8,
36796,
77,
10,
76,
10,
76,
6,
92,
367,
36796,
12,
76,
3256,
285,
92,
62,
77,
7,
46582,
532,
27169,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
13841,
16,
8,
36796,
76,
10,
76,
6,
92,
367,
36796,
76,
3256,
285,
92,
62,
77,
32590,
26638,
8,
198,
198,
8128,
286,
777,
23606,
316,
1678,
11,
356,
691,
761,
284,
13446,
379,
749,
352,
14,
19,
286,
477,
262,
198,
68,
3639,
13,
198,
198,
37811,
628,
198,
37811,
13615,
6228,
6376,
656,
5240,
2433,
286,
685,
77,
11,
285,
60,
14729,
13,
198,
198,
8021,
8139,
7177,
318,
6149,
355,
628,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
685,
77,
11,
285,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
2837,
7,
77,
62,
9806,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
2837,
32590,
77,
11,
299,
10,
16,
8,
198,
220,
220,
220,
2361,
198,
198,
37811,
198,
21533,
62,
9630,
7,
77,
11,
285,
8,
796,
285,
1343,
299,
1635,
357,
77,
1343,
352,
8,
1343,
352,
628,
198,
37811,
13615,
6228,
6376,
656,
5240,
2433,
286,
685,
77,
11,
2352,
7,
76,
15437,
14729,
198,
198,
8021,
8139,
7177,
318,
6149,
355,
628,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
685,
77,
11,
285,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
2837,
7,
77,
62,
9806,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
2837,
7,
77,
10,
16,
8,
198,
220,
220,
220,
2361,
198,
198,
37811,
198,
77,
397,
5796,
62,
9630,
7,
77,
11,
2352,
76,
8,
796,
2352,
76,
1343,
357,
77,
1635,
357,
77,
1343,
352,
4008,
6184,
115,
362,
1343,
352,
628,
198,
37811,
13615,
6228,
6376,
656,
5240,
2433,
286,
685,
77,
11,
29034,
11,
285,
60,
198,
198,
8021,
8139,
7177,
318,
6149,
355,
628,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
685,
77,
11,
29034,
11,
285,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
2837,
7,
77,
62,
9806,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
29034,
287,
2837,
32590,
77,
11,
299,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
2837,
32590,
77,
11,
299,
10,
16,
8,
198,
220,
220,
220,
2361,
198,
198,
37811,
198,
77,
3149,
76,
62,
9630,
7,
77,
11,
29034,
11,
285,
8,
796,
14808,
7,
19,
77,
1343,
718,
8,
1635,
299,
1343,
718,
3149,
1343,
642,
8,
1635,
299,
1343,
513,
7,
76,
1343,
29034,
4008,
6184,
115,
513,
1343,
352,
628,
198,
31,
259,
65,
3733,
2163,
4808,
9662,
62,
16,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
8,
198,
220,
220,
220,
37227,
1532,
299,
28,
15,
900,
367,
23330,
15,
92,
36796,
15,
11,
15,
92,
28,
16,
526,
15931,
198,
220,
220,
220,
266,
13,
39,
86,
14907,
58,
16,
60,
796,
352,
198,
437,
628,
198,
31,
259,
65,
3733,
2163,
4808,
9662,
62,
17,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
11,
1033,
72,
26638,
3712,
5377,
11141,
8,
198,
220,
220,
220,
37227,
7293,
1133,
3815,
367,
36796,
15,
11,
76,
92,
23330,
77,
92,
7,
26638,
8,
1640,
285,
28,
15,
42303,
11,
77,
290,
367,
36796,
15,
11,
76,
92,
23330,
77,
10,
16,
92,
7,
26638,
8,
329,
285,
28,
15,
42303,
11,
77,
10,
16,
628,
220,
220,
220,
220,
36965,
412,
80,
13,
357,
2624,
8,
286,
402,
6975,
709,
12,
35,
5330,
271,
86,
6277,
357,
4967,
8,
685,
283,
87,
452,
25,
1415,
3070,
13,
22,
39357,
5974,
628,
220,
220,
220,
220,
220,
220,
220,
367,
36796,
15,
11,
76,
92,
23330,
77,
92,
7,
26638,
8,
796,
13841,
16,
8,
61,
76,
18872,
248,
19510,
77,
22831,
76,
91,
31520,
1220,
357,
77,
10,
91,
76,
91,
8,
8133,
350,
36796,
91,
76,
91,
92,
23330,
77,
92,
7,
6966,
27169,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
13841,
16,
8,
61,
76,
350,
136,
226,
36796,
91,
76,
91,
92,
23330,
77,
92,
7,
6966,
27169,
8,
1220,
18872,
248,
7,
74,
357,
17,
77,
10,
16,
4008,
628,
220,
220,
220,
3423,
11,
479,
28,
16,
329,
285,
28,
15,
11,
290,
479,
28,
17,
329,
285,
29,
15,
11,
290,
628,
220,
220,
220,
220,
220,
220,
220,
350,
136,
226,
796,
18872,
248,
90,
74,
7,
17,
77,
10,
16,
5769,
77,
12,
76,
31520,
29006,
77,
10,
76,
31520,
92,
350,
628,
220,
220,
220,
775,
779,
262,
366,
2759,
39279,
1,
3917,
9883,
260,
5499,
357,
22184,
1847,
37,
8,
350,
136,
226,
780,
11,
198,
220,
220,
220,
355,
4893,
416,
1395,
278,
2123,
435,
13,
357,
42334,
8,
685,
5450,
1378,
34023,
13,
2398,
14,
940,
13,
44318,
14,
82,
405,
19782,
12,
30484,
12,
486,
31697,
12,
15,
4357,
198,
220,
220,
220,
340,
318,
1744,
284,
24061,
777,
3815,
845,
18306,
290,
14351,
11,
981,
198,
220,
220,
220,
635,
35221,
262,
21228,
286,
30343,
290,
739,
11125,
13,
628,
220,
220,
220,
24550,
25,
7486,
407,
7368,
287,
610,
87,
452,
25,
1415,
3070,
13,
22,
39357,
11,
612,
318,
407,
1576,
1321,
198,
220,
220,
220,
329,
2239,
604,
4556,
356,
635,
779,
40686,
284,
900,
367,
36796,
16,
11,
15,
92,
23330,
77,
92,
994,
13,
220,
15298,
11,
198,
220,
220,
220,
2239,
642,
2476,
3224,
1321,
11,
543,
8338,
319,
4634,
367,
36796,
15,
11,
532,
16,
92,
23330,
77,
92,
198,
220,
220,
220,
422,
663,
23606,
19482,
7548,
367,
36796,
15,
11,
352,
92,
23330,
77,
92,
287,
428,
2239,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
299,
62,
9806,
11,
29034,
62,
9806,
11,
17306,
796,
2343,
226,
241,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
828,
285,
17478,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
828,
309,
7,
86,
8,
198,
220,
220,
220,
367,
86,
14907,
11,
679,
742,
430,
11,
367,
85,
796,
266,
13,
39,
86,
14907,
11,
266,
13,
1544,
742,
430,
11,
266,
13,
39,
85,
198,
220,
220,
220,
8615,
26638,
796,
1033,
72,
26638,
13,
260,
198,
220,
220,
220,
7813,
26638,
796,
1033,
72,
26638,
13,
320,
198,
220,
220,
220,
19862,
17034,
18,
796,
18872,
248,
34551,
7,
18,
8,
628,
220,
220,
220,
1303,
383,
2276,
14700,
329,
262,
38491,
389,
412,
80,
13,
357,
1485,
8,
286,
1395,
278,
2123,
435,
11207,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
220,
220,
257,
158,
224,
247,
796,
18872,
248,
19510,
17,
77,
10,
16,
20679,
34551,
7,
17,
77,
12,
16,
4008,
198,
220,
220,
220,
1303,
220,
220,
275,
158,
224,
247,
796,
18872,
248,
7,
17,
9,
7,
77,
12,
16,
27493,
7,
17,
77,
10,
16,
20679,
34551,
7,
77,
9,
7,
17,
77,
12,
16,
22305,
198,
220,
220,
220,
1303,
220,
220,
269,
158,
224,
247,
158,
224,
246,
796,
18872,
248,
19510,
7,
77,
10,
76,
27493,
7,
77,
12,
76,
27493,
7,
17,
77,
10,
16,
4008,
1220,
17306,
7,
17,
77,
12,
16,
4008,
1220,
299,
198,
220,
220,
220,
1303,
220,
220,
288,
158,
224,
247,
158,
224,
246,
796,
18872,
248,
19510,
7,
77,
12,
76,
27493,
7,
77,
12,
76,
12,
16,
27493,
7,
17,
77,
10,
16,
4008,
1220,
17306,
7,
17,
77,
12,
16,
4008,
1220,
357,
17,
77,
8,
198,
220,
220,
220,
1303,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
18872,
248,
19510,
7,
77,
10,
76,
27493,
7,
77,
10,
76,
12,
16,
27493,
7,
17,
77,
10,
16,
4008,
1220,
17306,
7,
17,
77,
12,
16,
4008,
1220,
357,
17,
77,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
10383,
11,
314,
5766,
257,
158,
224,
247,
503,
286,
1123,
286,
777,
14700,
11,
1863,
351,
352,
14,
17,
77,
810,
198,
220,
220,
220,
1303,
5981,
11,
284,
3368,
17397,
13,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
775,
41216,
351,
412,
80,
13,
357,
1415,
828,
788,
2239,
832,
351,
412,
80,
13,
357,
1065,
828,
284,
24061,
477,
198,
220,
220,
220,
1303,
3815,
286,
350,
136,
226,
13,
220,
9461,
11,
356,
3487,
1096,
2279,
757,
284,
24061,
262,
367,
198,
220,
220,
220,
1303,
3815,
13,
628,
198,
220,
220,
220,
611,
299,
62,
9806,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
299,
15,
77,
62,
9630,
796,
370,
570,
263,
39,
9630,
7,
16,
11,
657,
11,
352,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
77,
15,
77,
62,
9630,
60,
796,
19862,
17034,
18,
1635,
7813,
26638,
198,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
77,
15,
77,
62,
9630,
12,
16,
60,
796,
19862,
17034,
18,
1635,
8615,
26638,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
299,
796,
362,
11,
2644,
11,
299,
62,
9806,
10,
16,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
362,
25,
77,
62,
9806,
10,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
19841,
299,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
15,
77,
62,
9630,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
657,
11,
299,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
796,
367,
86,
14907,
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,
299,
15,
77,
62,
9630,
796,
299,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
796,
679,
742,
430,
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,
28642,
940,
21533,
16,
62,
9630,
796,
370,
570,
263,
39,
9630,
7,
77,
12,
16,
11,
657,
11,
299,
12,
16,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
800,
17,
77,
796,
800,
7,
34551,
7,
17,
77,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
158,
224,
247,
796,
18872,
248,
19510,
17,
77,
10,
16,
20679,
34551,
7,
17,
77,
12,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
158,
224,
247,
796,
257,
158,
224,
247,
1635,
18872,
248,
19510,
17,
9,
7,
77,
12,
16,
4008,
14,
34551,
7,
77,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
18872,
248,
34551,
19510,
17,
77,
27493,
7,
17,
77,
10,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
15,
77,
62,
9630,
60,
796,
7813,
26638,
1635,
304,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
18872,
248,
34551,
19510,
17,
77,
12,
17,
27493,
7,
17,
77,
10,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
158,
224,
247,
158,
224,
246,
796,
362,
16340,
17,
77,
1635,
18872,
248,
34551,
7,
17,
77,
10,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
15,
77,
62,
9630,
12,
16,
60,
796,
8615,
26638,
1635,
269,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
60,
1343,
7813,
26638,
1635,
304,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
12,
17,
11,
2644,
11,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
25,
77,
12,
17,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
12,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
158,
224,
247,
158,
224,
246,
796,
362,
16340,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
19510,
17,
77,
12,
72,
27493,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
7,
72,
9,
7,
72,
12,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
19510,
17,
77,
12,
72,
27493,
7,
17,
77,
12,
72,
12,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
15,
77,
62,
9630,
12,
72,
60,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8615,
26638,
1635,
269,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
72,
10,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
7813,
26638,
1635,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
72,
10,
17,
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,
532,
304,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
72,
60,
198,
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,
1267,
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,
1303,
285,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
158,
224,
247,
158,
224,
246,
796,
362,
16340,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
19510,
77,
10,
16,
27493,
7,
77,
12,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
19510,
77,
12,
16,
27493,
7,
77,
12,
17,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
7,
17,
77,
9,
7,
77,
10,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
15,
77,
62,
9630,
12,
77,
10,
16,
60,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8615,
26638,
1635,
269,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
77,
10,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
7813,
26638,
1635,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
77,
10,
18,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
304,
158,
224,
247,
158,
224,
246,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
77,
10,
16,
60,
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,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
158,
224,
247,
158,
224,
246,
796,
257,
158,
224,
247,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
158,
224,
247,
158,
224,
246,
796,
800,
17,
77,
1635,
257,
158,
224,
247,
1635,
18872,
248,
34551,
7,
77,
9,
7,
77,
12,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
158,
224,
247,
158,
224,
246,
796,
288,
158,
224,
247,
158,
224,
246,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
15,
77,
62,
9630,
12,
77,
60,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
158,
224,
247,
1635,
8615,
26638,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
77,
10,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
275,
158,
224,
247,
1635,
7813,
26638,
1635,
367,
86,
14907,
58,
21533,
940,
21533,
16,
62,
9630,
12,
77,
10,
17,
60,
1220,
362,
198,
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,
22663,
3131,
5743,
2663,
355,
4367,
287,
2205,
8841,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
19841,
299,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
77,
11,
352,
15437,
796,
367,
86,
14907,
58,
54,
570,
263,
39,
9630,
7,
77,
11,
657,
11,
352,
11,
29034,
62,
9806,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
77,
11,
657,
15437,
796,
367,
86,
14907,
58,
54,
570,
263,
39,
9630,
7,
77,
11,
657,
11,
352,
11,
29034,
62,
9806,
15437,
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,
22663,
3131,
5743,
2663,
355,
4367,
287,
2205,
8841,
198,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
16,
11,
352,
15437,
796,
367,
86,
14907,
58,
54,
570,
263,
39,
9630,
7,
16,
11,
657,
11,
352,
11,
29034,
62,
9806,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
16,
11,
657,
15437,
796,
367,
86,
14907,
58,
54,
570,
263,
39,
9630,
7,
16,
11,
657,
11,
352,
11,
29034,
62,
9806,
15437,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
14435,
1096,
11,
5609,
350,
136,
226,
284,
367,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
352,
25,
77,
62,
9806,
10,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
19841,
299,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
405,
62,
9630,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
657,
11,
657,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
796,
367,
86,
14907,
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,
299,
405,
62,
9630,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
796,
679,
742,
430,
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,
1500,
15,
796,
800,
7,
24861,
248,
34551,
7,
17,
77,
10,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1500,
16,
796,
800,
7,
24861,
248,
34551,
7,
19,
77,
10,
17,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
405,
62,
9630,
60,
1635,
28,
1500,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
58,
77,
405,
62,
9630,
10,
76,
60,
1635,
28,
1500,
16,
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,
299,
19841,
299,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
77,
11,
352,
15437,
1635,
28,
532,
9979,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
21533,
62,
9630,
7,
77,
11,
657,
15437,
1635,
28,
532,
9979,
16,
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,
628,
198,
31,
259,
65,
3733,
2163,
4808,
9662,
62,
18,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
11,
1033,
72,
26638,
3712,
5377,
11141,
8,
198,
220,
220,
220,
37227,
11041,
8695,
357,
3901,
8,
284,
24061,
367,
36796,
16,
11,
76,
92,
23330,
77,
92,
7,
26638,
8,
329,
285,
28,
16,
42303,
11,
77,
13,
220,
8554,
40686,
290,
6482,
198,
220,
220,
220,
286,
262,
36525,
428,
8695,
460,
307,
3194,
355,
628,
220,
220,
220,
220,
220,
220,
220,
275,
36796,
15,
92,
23330,
77,
10,
16,
92,
367,
36796,
16,
11,
285,
92,
23330,
77,
92,
796,
220,
220,
357,
65,
36796,
14095,
76,
14095,
16,
92,
23330,
77,
10,
16,
92,
357,
16,
14095,
6966,
26638,
4008,
14,
17,
367,
36796,
15,
11,
285,
10,
16,
92,
23330,
77,
10,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9746,
357,
65,
36796,
285,
14095,
16,
92,
23330,
77,
10,
16,
92,
357,
16,
10,
6966,
26638,
4008,
14,
17,
367,
36796,
15,
11,
285,
14095,
16,
92,
23330,
77,
10,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9746,
257,
36796,
76,
92,
23330,
77,
92,
7813,
26638,
367,
36796,
15,
11,
285,
92,
23330,
77,
10,
16,
92,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
37441,
947,
796,
257,
7,
86,
8,
198,
220,
220,
220,
275,
27160,
796,
275,
7,
86,
8,
198,
220,
220,
220,
299,
62,
9806,
796,
2343,
226,
241,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
8,
198,
220,
220,
220,
29034,
62,
9806,
796,
285,
17478,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
8,
198,
220,
220,
220,
367,
86,
14907,
796,
266,
13,
39,
86,
14907,
198,
220,
220,
220,
679,
742,
430,
796,
266,
13,
1544,
742,
430,
198,
220,
220,
220,
8615,
26638,
796,
1033,
72,
26638,
13,
260,
198,
220,
220,
220,
7813,
26638,
796,
1033,
72,
26638,
13,
320,
198,
220,
220,
220,
8615,
26638,
158,
224,
232,
796,
357,
16,
10,
6966,
26638,
20679,
17,
198,
220,
220,
220,
8615,
26638,
158,
224,
233,
796,
357,
16,
12,
6966,
26638,
20679,
17,
628,
220,
220,
220,
611,
299,
62,
9806,
1875,
657,
11405,
29034,
62,
9806,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
352,
25,
77,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
352,
11,
2644,
11,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
16,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
352,
11,
352,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
10,
16,
19841,
299,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
796,
370,
570,
263,
39,
9630,
7,
77,
10,
16,
11,
657,
11,
657,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
17,
796,
367,
86,
14907,
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,
1312,
17,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
17,
796,
679,
742,
430,
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,
1312,
18,
796,
28642,
62,
9630,
7,
77,
10,
16,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
19,
796,
47822,
5796,
62,
9630,
7,
77,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34062,
62,
65,
20,
796,
800,
7,
65,
27160,
58,
72,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
657,
25,
77,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
21,
796,
275,
27160,
58,
12,
72,
10,
72,
18,
12,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
22,
796,
275,
27160,
58,
72,
10,
72,
18,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
23,
796,
37441,
947,
58,
72,
10,
72,
19,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
72,
10,
72,
16,
60,
796,
34062,
62,
65,
20,
1635,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
21,
1635,
8615,
26638,
158,
224,
233,
1635,
367,
17,
58,
72,
10,
72,
17,
10,
17,
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,
532,
275,
22,
1635,
8615,
26638,
158,
224,
232,
1635,
367,
17,
58,
72,
10,
72,
17,
60,
198,
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,
532,
257,
23,
1635,
7813,
26638,
1635,
367,
17,
58,
72,
10,
72,
17,
10,
16,
60,
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,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
628,
198,
31,
259,
65,
3733,
2163,
4808,
9662,
62,
19,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
8,
198,
220,
220,
220,
37227,
6690,
1834,
2280,
24061,
367,
36796,
76,
6,
10,
16,
11,
285,
92,
23330,
77,
92,
7,
26638,
8,
329,
285,
6,
28,
16,
42303,
11,
77,
14095,
16,
11,
285,
28,
76,
3256,
986,
11,
77,
1262,
8695,
357,
1120,
8,
12939,
198,
220,
220,
220,
351,
2461,
284,
367,
36796,
76,
6,
10,
16,
11,
285,
92,
23330,
77,
38362,
628,
220,
220,
220,
220,
220,
288,
36796,
76,
6,
92,
23330,
77,
92,
367,
36796,
76,
6,
10,
16,
11,
285,
92,
23330,
77,
92,
796,
220,
220,
288,
36796,
76,
6,
14095,
16,
92,
23330,
77,
92,
367,
36796,
76,
6,
14095,
16,
11,
285,
92,
23330,
77,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9746,
288,
36796,
76,
14095,
16,
92,
23330,
77,
92,
367,
36796,
76,
3256,
285,
14095,
16,
92,
23330,
77,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
36796,
76,
92,
23330,
77,
92,
367,
36796,
76,
3256,
285,
10,
16,
92,
23330,
77,
92,
628,
220,
220,
220,
357,
3003,
262,
938,
3381,
10532,
503,
329,
285,
28,
77,
737,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
288,
27160,
11,
299,
62,
9806,
11,
29034,
62,
9806,
796,
288,
7,
86,
828,
2343,
226,
241,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
828,
285,
17478,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
8,
198,
220,
220,
220,
367,
86,
14907,
11,
367,
85,
796,
266,
13,
39,
86,
14907,
11,
266,
13,
39,
85,
628,
220,
220,
220,
611,
299,
62,
9806,
1875,
657,
11405,
29034,
62,
9806,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
362,
25,
77,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
29034,
287,
352,
25,
1084,
7,
77,
11,
29034,
62,
9806,
13219,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
285,
3256,
2644,
11,
299,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
16,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
10,
16,
11,
29034,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
16,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
10,
16,
11,
29034,
10,
16,
11,
29034,
62,
9806,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
12,
16,
11,
29034,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
18,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
29034,
12,
16,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
18,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
29034,
11,
29034,
62,
9806,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
19,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
29034,
10,
16,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
20,
796,
28642,
62,
9630,
7,
77,
11,
29034,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
21,
796,
28642,
62,
9630,
7,
77,
11,
29034,
12,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34062,
62,
67,
20,
796,
800,
7,
67,
27160,
58,
72,
20,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
21,
796,
288,
27160,
58,
72,
21,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
1312,
28,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
22,
796,
288,
27160,
58,
72,
10,
72,
21,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
23,
796,
288,
27160,
58,
72,
10,
72,
20,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
10,
16,
15437,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
532,
288,
22,
1635,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
23,
1635,
367,
86,
14907,
58,
72,
10,
72,
19,
60,
198,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
77,
12,
3149,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
22,
796,
288,
27160,
58,
72,
10,
72,
21,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
23,
796,
288,
27160,
58,
72,
10,
72,
20,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
72,
10,
72,
16,
60,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
532,
288,
22,
1635,
367,
86,
14907,
58,
72,
10,
72,
18,
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,
1343,
288,
23,
1635,
367,
86,
14907,
58,
72,
10,
72,
19,
60,
198,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
1312,
28,
77,
12,
3149,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
72,
10,
72,
16,
60,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
532,
288,
27160,
58,
72,
10,
72,
21,
60,
1635,
367,
86,
14907,
58,
72,
10,
72,
18,
60,
198,
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,
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,
437,
628,
198,
31,
259,
65,
3733,
2163,
4808,
9662,
62,
20,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
8,
198,
220,
220,
220,
37227,
6690,
1834,
2280,
24061,
367,
36796,
76,
6,
14095,
16,
11,
285,
92,
23330,
77,
92,
7,
26638,
8,
329,
285,
6,
28,
14095,
16,
42303,
11,
14095,
77,
10,
16,
11,
285,
28,
14095,
76,
3256,
986,
11,
77,
1262,
8695,
357,
1120,
8,
198,
220,
220,
220,
12939,
351,
2461,
284,
367,
36796,
76,
6,
14095,
16,
11,
285,
92,
23330,
77,
38362,
628,
220,
220,
220,
220,
220,
288,
36796,
76,
6,
14095,
16,
92,
23330,
77,
92,
367,
36796,
76,
6,
14095,
16,
11,
285,
92,
23330,
77,
92,
796,
288,
36796,
76,
6,
92,
23330,
77,
92,
367,
36796,
76,
6,
10,
16,
11,
285,
92,
23330,
77,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
36796,
76,
14095,
16,
92,
23330,
77,
92,
367,
36796,
76,
3256,
285,
14095,
16,
92,
23330,
77,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9746,
288,
36796,
76,
92,
23330,
77,
92,
367,
36796,
76,
3256,
285,
10,
16,
92,
23330,
77,
92,
628,
220,
220,
220,
357,
3003,
262,
938,
3381,
10532,
503,
329,
285,
28,
77,
737,
628,
220,
220,
220,
24550,
25,
4900,
610,
87,
452,
25,
1415,
3070,
13,
22,
39357,
26052,
262,
9052,
625,
29034,
284,
923,
379,
532,
16,
11,
314,
198,
220,
220,
220,
1064,
340,
3306,
284,
923,
379,
657,
11,
393,
612,
481,
307,
4814,
1321,
13,
220,
770,
198,
220,
220,
220,
635,
4433,
4634,
262,
357,
76,
3256,
76,
35793,
15,
12095,
16,
8,
6805,
878,
3726,
428,
9052,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
288,
27160,
11,
299,
62,
9806,
11,
29034,
62,
9806,
796,
288,
7,
86,
828,
2343,
226,
241,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
828,
285,
17478,
158,
224,
246,
158,
224,
238,
158,
224,
241,
7,
86,
8,
198,
220,
220,
220,
367,
86,
14907,
11,
367,
85,
796,
266,
13,
39,
86,
14907,
11,
266,
13,
39,
85,
628,
220,
220,
220,
611,
299,
62,
9806,
1875,
657,
11405,
29034,
62,
9806,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
657,
25,
77,
62,
9806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
29034,
287,
657,
21912,
16,
25,
16,
12,
1084,
7,
77,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
532,
76,
3256,
2644,
11,
299,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
16,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
12,
16,
11,
532,
3149,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
16,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
12,
16,
11,
532,
3149,
10,
16,
11,
29034,
62,
9806,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
17,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
10,
16,
11,
532,
3149,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
10,
16,
11,
532,
3149,
10,
16,
11,
29034,
62,
9806,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
18,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
532,
3149,
12,
16,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
18,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
532,
3149,
11,
29034,
62,
9806,
8,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
19,
796,
370,
570,
263,
39,
9630,
7,
77,
11,
29034,
11,
532,
3149,
10,
16,
11,
29034,
62,
9806,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
20,
796,
28642,
62,
9630,
7,
77,
11,
29034,
12,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
21,
796,
28642,
62,
9630,
7,
77,
11,
29034,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
22,
796,
28642,
62,
9630,
7,
77,
11,
532,
3149,
12,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
23,
796,
28642,
62,
9630,
7,
77,
11,
532,
3149,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34062,
62,
67,
20,
796,
800,
7,
67,
27160,
58,
72,
20,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
21,
796,
288,
27160,
58,
72,
21,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
1312,
28,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
22,
796,
288,
27160,
58,
72,
10,
72,
22,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
23,
796,
288,
27160,
58,
72,
10,
72,
23,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
29034,
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,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
12,
16,
15437,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
220,
220,
220,
220,
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,
21,
1635,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
10,
16,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
22,
1635,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
288,
23,
1635,
367,
86,
14907,
58,
72,
10,
72,
19,
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,
1267,
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,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
12,
16,
15437,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
220,
220,
220,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
1343,
288,
22,
1635,
367,
85,
58,
72,
10,
21533,
62,
9630,
7,
77,
11,
29034,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
288,
23,
1635,
367,
86,
14907,
58,
72,
10,
72,
19,
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,
1267,
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,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
77,
10,
3149,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
22,
796,
288,
27160,
58,
72,
10,
72,
22,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
23,
796,
288,
27160,
58,
72,
10,
72,
23,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
72,
10,
72,
16,
60,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
1343,
288,
22,
1635,
367,
86,
14907,
58,
72,
10,
72,
18,
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,
532,
288,
23,
1635,
367,
86,
14907,
58,
72,
10,
72,
19,
60,
198,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
796,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1309,
1312,
28,
77,
10,
3149,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
86,
14907,
58,
72,
10,
72,
16,
60,
796,
34062,
62,
67,
20,
1635,
357,
198,
220,
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,
21,
1635,
367,
86,
14907,
58,
72,
10,
72,
17,
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,
1343,
288,
27160,
58,
72,
10,
72,
22,
60,
1635,
367,
86,
14907,
58,
72,
10,
72,
18,
60,
198,
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,
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,
437,
628,
198,
37811,
198,
220,
220,
220,
367,
0,
7,
86,
11,
1033,
72,
26638,
8,
198,
198,
7293,
1133,
357,
64,
3860,
286,
8,
262,
367,
17593,
198,
198,
31502,
25,
383,
4504,
7177,
481,
307,
257,
1570,
656,
262,
4600,
5225,
10223,
63,
7885,
357,
3826,
198,
35993,
329,
281,
7468,
286,
326,
737,
220,
1002,
345,
761,
284,
869,
428,
2163,
757,
198,
3500,
262,
976,
44573,
878,
37895,
477,
1321,
422,
262,
717,
869,
11,
198,
5832,
815,
779,
4600,
77,
32152,
13,
30073,
63,
284,
787,
257,
4553,
4866,
286,
262,
1255,
13,
198,
198,
48944,
198,
35937,
198,
11201,
72,
26638,
1058,
7177,
62,
2339,
198,
220,
220,
220,
11052,
286,
1033,
7,
72,
9,
26638,
8,
319,
543,
284,
13446,
262,
367,
17593,
13,
198,
198,
35561,
198,
26866,
198,
39,
86,
14907,
1058,
7177,
198,
220,
220,
220,
770,
318,
257,
352,
12,
19577,
7177,
286,
36016,
26,
766,
2174,
13,
198,
5225,
10223,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
317,
1762,
7177,
588,
262,
530,
4504,
416,
370,
570,
263,
13,
3605,
62,
5225,
10223,
22446,
220,
1002,
407,
198,
220,
220,
220,
1944,
11,
428,
2134,
338,
4277,
44573,
481,
307,
973,
13,
220,
5740,
326,
340,
318,
407,
198,
220,
220,
220,
3338,
284,
779,
262,
976,
44573,
319,
3294,
14390,
13,
220,
4418,
766,
262,
39410,
198,
220,
220,
220,
2029,
13,
198,
198,
6214,
4418,
198,
982,
198,
67,
1058,
3082,
1133,
262,
1336,
370,
570,
263,
288,
17593,
198,
35,
1058,
3082,
1133,
262,
1336,
370,
570,
263,
220,
47728,
242,
229,
17593,
198,
10599,
378,
1058,
24390,
14492,
262,
1336,
220,
47728,
242,
229,
17593,
290,
23064,
12881,
3264,
198,
49786,
1058,
24390,
14492,
262,
1336,
220,
47728,
242,
229,
17593,
290,
13446,
12881,
3264,
198,
198,
16130,
198,
30934,
198,
39,
318,
3519,
284,
370,
570,
263,
338,
357,
17470,
8,
288,
2884,
628,
220,
220,
220,
288,
158,
224,
245,
46256,
123,
39611,
238,
796,
18074,
113,
158,
224,
247,
18074,
113,
158,
224,
233,
158,
224,
246,
367,
158,
224,
245,
46256,
123,
39611,
238,
11,
198,
198,
3003,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
236,
100,
352,
329,
479,
35705,
97,
15,
198,
220,
220,
220,
18074,
113,
158,
224,
244,
796,
2343,
236,
101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
236,
102,
13841,
16,
8,
39611,
237,
329,
479,
29,
15,
198,
198,
39,
468,
2972,
13391,
625,
288,
11,
1390,
262,
1109,
326,
340,
460,
307,
18306,
198,
392,
12373,
306,
1188,
49262,
2884,
664,
33928,
2316,
11,
290,
262,
1708,
40686,
198,
39468,
25,
628,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
367,
36796,
76,
11,
285,
6,
92,
62,
77,
7,
26638,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
367,
36796,
12,
76,
3256,
532,
76,
92,
62,
77,
7,
26638,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
13841,
16,
8,
36796,
77,
10,
76,
10,
76,
6,
92,
367,
36796,
12,
76,
3256,
285,
92,
62,
77,
7,
46582,
532,
27169,
8,
198,
220,
220,
220,
367,
36796,
76,
3256,
285,
92,
62,
77,
7,
26638,
8,
796,
13841,
16,
8,
36796,
76,
10,
76,
6,
92,
367,
36796,
76,
3256,
285,
92,
62,
77,
32590,
26638,
8,
198,
198,
8128,
286,
777,
23606,
316,
1678,
11,
356,
691,
761,
284,
13446,
379,
749,
352,
14,
19,
286,
477,
262,
198,
68,
3639,
13,
198,
198,
37811,
198,
8818,
367,
0,
7,
86,
3712,
54,
570,
263,
46912,
9771,
3129,
1352,
11,
1033,
72,
26638,
3712,
5377,
11141,
8,
198,
220,
220,
220,
4808,
9662,
62,
16,
0,
7,
86,
8,
198,
220,
220,
220,
4808,
9662,
62,
17,
0,
7,
86,
11,
1033,
72,
26638,
8,
198,
220,
220,
220,
4808,
9662,
62,
18,
0,
7,
86,
11,
1033,
72,
26638,
8,
198,
220,
220,
220,
4808,
9662,
62,
19,
0,
7,
86,
8,
198,
220,
220,
220,
4808,
9662,
62,
20,
0,
7,
86,
8,
198,
220,
220,
220,
266,
13,
39,
86,
14907,
198,
437,
198
] | 1.580967 | 9,436 |
"""
Simulation
A simulation composes the observed trace and the backend solve of Algorithm 7.1.
A simulation instance is returned from an `optimize` call.
"""
struct Simulation
model::Model
driver::Driver
trace::BlockOptTrace
backend::BlockOptBackend
function Simulation(model::Model, driver::Driver)
# TODO: Handle ill-formed input
new(model, driver, BlockOptTrace(model, driver), BlockOptBackend(model, driver))
end
end
trace(s::Simulation) = getfield(s, :trace)
model(s::Simulation) = model(trace(s))
driver(s::Simulation) = driver(trace(s))
"""
trs_timer(s::Simulation)
The elapsed time simulation `s` has been in `trs_solve(s)`.
"""
trs_timer(s::Simulation) = trs_timer(trace(s))
"""
trs_counter(s::Simulation)
The count of trust-region subproblem solves for simulation `s`.
"""
trs_counter(s::Simulation) = trs_counter(trace(s))
"""
ghs_timer(s::Simulation)
The elapsed time simulation `s` has been in `gHS(s)`.
"""
ghs_timer(s::Simulation) = ghs_timer(trace(s))
"""
ghs_counter(s::Simulation)
The count of `gHS` evaluations for simulation `s`.
"""
ghs_counter(s::Simulation) = ghs_counter(trace(s))
weave!(s::Simulation, field, val) = weave!(trace(s), field, val)
weave_level(s::Simulation) = weave_level(trace(s))
"""
f_vals(s::Simulation)
A vector holding objective values ``f(xₖ)`` for each successful iterate ``xₖ``
of simulation `s`.
"""
f_vals(s::Simulation) = f_vals(trace(s))
"""
∇f_norms(s::Simulation)
A vector holding normed gradient values ``||∇f(xₖ)||₂`` for each successful iterate ``xₖ``
of simulation `s`.
"""
∇f_norms(s::Simulation) = ∇f_norms(trace(s))
"""
p_norms(s::Simulation)
A vector holding distance ``||pₖ||₂` of each successful step ``pₖ``
of simulation `s`.
"""
p_norms(s::Simulation) = p_norms(trace(s))
"""
Δ_vals(s::Simulation)
A vector holding the trust-region radius passed to `trs_small` in TRS.jl
during each successful step of simulation `s`.
"""
Δ_vals(s::Simulation) = Δ_vals(trace(s))
"""
ρ_vals(s::Simulation)
A vector storing the ratio of actual reduction to model reduction of
each successful step of simulation `s`.
"""
ρ_vals(s::Simulation) = ρ_vals(trace(s))
"""
weave(args::Simulation...)
Generates a Weave.jl report of the simulation args.
"""
function weave(args::Simulation...)
println(pwd())
Weave.weave(
joinpath(dirname(pathof(BlockOpt)), "lib/trace.jmd");
args = args,
out_path = mkpath(
joinpath(directory(model(first(args))), "trace_$(trunc(now(), Minute))"),
),
)
end
io(s::Simulation) = io(trace(s))
log_level(s::Simulation) = log_level(trace(s))
info!(s::Simulation, args...) = info!(trace(s), args...)
debug!(s::Simulation, args...) = debug!(trace(s), args...)
warn!(s::Simulation, args...) = warn!(trace(s), args...)
error!(s::Simulation, args...) = error!(trace(s), args...)
backend(s::Simulation) = getfield(s, :backend)
fₖ(s::Simulation) = fₖ(backend(s))
∇fₖ_norm(s::Simulation) = ∇fₖ_norm(backend(s))
pₖ_norm(s::Simulation) = pₖ_norm(backend(s))
Δₖ(s::Simulation) = Δₖ(backend(s))
ρ(s::Simulation) = ρ(backend(s))
Base.getproperty(s::Simulation, sym::Symbol) = @restrict Simulation
Base.propertynames(s::Simulation) = ()
"""
initialize(s::Simulation)
Performs each step up to the preliminary update
to obtain ``H₀``. Lines 1-6 of `Algorithm 7.1`.
"""
function initialize(s::Simulation)
initialize(backend(s))
increment!(ghs_counter(s))
weave!(s, f_vals, fₖ(s))
weave!(s, ∇f_norms, ∇fₖ_norm(s))
weave!(s, Δ_vals, Δₖ(s))
info!(s, "Simulating:", s)
nothing
end
"""
terminal(s::Simulation)
True if the state of `s` is terminal.
"""
function terminal(s::Simulation)
if terminal(backend(s), evaluations(trs_counter(s)))
return true
end
return false
end
"""
build_trs(s::Simulation)
Build arguments for the trs_small call to TRS.jl.
"""
function build_trs(s::Simulation)
build_trs(backend(s))
nothing
end
"""
solve_trs(s::Simulation)
Solve ``aₖ`` in Equation (5.5).
"""
function solve_trs(s::Simulation)
on!(trs_timer(s))
solve_trs(backend(s))
off!(trs_timer(s))
increment!(trs_counter(s))
nothing
end
"""
build_trial(s::Simulation)
Build trial iterate, evaluate the objective at the trial location, and compute ``ρ``.
"""
function build_trial(s::Simulation)
build_trial(backend(s))
nothing
end
"""
update_Δₖ(s::Simulation)
Updates the radius Δₖ after each trust-region subproblem solve.
"""
function update_Δₖ(s::Simulation)
update_Δₖ(backend(s))
nothing
end
"""
accept_trial(s::Simulation)
Observe the value of ``ρ``, accept positive values, and then update ``xₖ, fₖ``.
"""
function accept_trial(s::Simulation)
if accept_trial(backend(s))
weave!(s, f_vals, fₖ(s))
weave!(s, Δ_vals, Δₖ(s))
weave!(s, p_norms, pₖ_norm(s))
weave!(s, ρ_vals, ρ(s))
return true
end
return false
end
"""
pflag(s::Simulation)
The preliminary secant update flag of the Driver of `s` the default value is false.
"""
function pflag(s::Simulation)
return pflag(backend(s))
end
"""
secantQN(s::Simulation)
Performs the standard secant update for `s`'s inverse Hessian approximation ``Hₖ``.
The QN formula used is given by the Driver of `s`.
"""
function secantQN(s::Simulation)
secantQN(backend(s))
nothing
end
"""
update_Sₖ(s::Simulation)
Updates the ``2w-1`` sample directions of simulation `s`.
See: `S_update_a`, `S_update_b`, `S_update_c`, `S_update_d`, `S_update_e`, `S_update_f`.
"""
function update_Sₖ(s::Simulation)
update_Sₖ(backend(s))
nothing
end
"""
gHS(s::Simulation)
See Algorithm ``3.1``
"""
function gHS(s::Simulation)
on!(ghs_timer(s))
gHS(backend(s))
off!(ghs_timer(s))
increment!(ghs_counter(s))
weave!(s, ∇f_norms, ∇fₖ_norm(s))
nothing
end
"""
blockQN(s::Simulation)
Performs a block update for `s`'s inverse Hessian approximation ``Hₖ``.
The QN formula used is given by the Driver of `s`.
"""
function blockQN(s::Simulation)
blockQN(backend(s))
nothing
end
function optimize!(simulation::Simulation)
initialize(simulation)
build_trs(simulation)
while !terminal(simulation)
solve_trs(simulation)
build_trial(simulation)
if accept_trial(simulation)
if pflag(simulation)
secantQN(simulation)
end
update_Sₖ(simulation)
gHS(simulation)
blockQN(simulation)
build_trs(simulation)
end
update_Δₖ(simulation)
end
info!(simulation, "Terminating:", trace(simulation))
return simulation
end
| [
37811,
198,
8890,
1741,
198,
198,
32,
18640,
552,
4629,
262,
6515,
12854,
290,
262,
30203,
8494,
286,
978,
42289,
767,
13,
16,
13,
198,
32,
18640,
4554,
318,
4504,
422,
281,
4600,
40085,
1096,
63,
869,
13,
220,
198,
37811,
198,
7249,
41798,
198,
220,
220,
220,
2746,
3712,
17633,
198,
220,
220,
220,
4639,
3712,
32103,
198,
220,
220,
220,
12854,
3712,
12235,
27871,
2898,
558,
198,
220,
220,
220,
30203,
3712,
12235,
27871,
7282,
437,
628,
220,
220,
220,
2163,
41798,
7,
19849,
3712,
17633,
11,
4639,
3712,
32103,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
33141,
2801,
12,
12214,
5128,
198,
220,
220,
220,
220,
220,
220,
220,
649,
7,
19849,
11,
4639,
11,
9726,
27871,
2898,
558,
7,
19849,
11,
4639,
828,
9726,
27871,
7282,
437,
7,
19849,
11,
4639,
4008,
198,
220,
220,
220,
886,
198,
437,
628,
198,
40546,
7,
82,
3712,
8890,
1741,
8,
796,
651,
3245,
7,
82,
11,
1058,
40546,
8,
628,
198,
19849,
7,
82,
3712,
8890,
1741,
8,
796,
2746,
7,
40546,
7,
82,
4008,
628,
198,
26230,
7,
82,
3712,
8890,
1741,
8,
796,
4639,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
491,
82,
62,
45016,
7,
82,
3712,
8890,
1741,
8,
198,
198,
464,
42118,
640,
18640,
4600,
82,
63,
468,
587,
287,
4600,
2213,
82,
62,
82,
6442,
7,
82,
8,
44646,
198,
37811,
198,
2213,
82,
62,
45016,
7,
82,
3712,
8890,
1741,
8,
796,
491,
82,
62,
45016,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
491,
82,
62,
24588,
7,
82,
3712,
8890,
1741,
8,
198,
198,
464,
954,
286,
3774,
12,
36996,
850,
45573,
39107,
329,
18640,
4600,
82,
44646,
198,
37811,
198,
2213,
82,
62,
24588,
7,
82,
3712,
8890,
1741,
8,
796,
491,
82,
62,
24588,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
308,
11994,
62,
45016,
7,
82,
3712,
8890,
1741,
8,
198,
198,
464,
42118,
640,
18640,
4600,
82,
63,
468,
587,
287,
4600,
70,
7998,
7,
82,
8,
44646,
198,
37811,
198,
456,
82,
62,
45016,
7,
82,
3712,
8890,
1741,
8,
796,
308,
11994,
62,
45016,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
308,
11994,
62,
24588,
7,
82,
3712,
8890,
1741,
8,
198,
198,
464,
954,
286,
4600,
70,
7998,
63,
34109,
329,
18640,
4600,
82,
44646,
198,
37811,
198,
456,
82,
62,
24588,
7,
82,
3712,
8890,
1741,
8,
796,
308,
11994,
62,
24588,
7,
40546,
7,
82,
4008,
628,
198,
732,
1015,
0,
7,
82,
3712,
8890,
1741,
11,
2214,
11,
1188,
8,
796,
37982,
0,
7,
40546,
7,
82,
828,
2214,
11,
1188,
8,
628,
198,
732,
1015,
62,
5715,
7,
82,
3712,
8890,
1741,
8,
796,
37982,
62,
5715,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
277,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
198,
198,
32,
15879,
4769,
9432,
3815,
7559,
69,
7,
87,
158,
224,
244,
8,
15506,
329,
1123,
4388,
11629,
378,
7559,
87,
158,
224,
244,
15506,
198,
1659,
18640,
4600,
82,
44646,
198,
37811,
198,
69,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
796,
277,
62,
12786,
7,
40546,
7,
82,
4008,
198,
198,
37811,
198,
220,
220,
220,
18872,
229,
69,
62,
27237,
82,
7,
82,
3712,
8890,
1741,
8,
198,
198,
32,
15879,
4769,
2593,
276,
31312,
3815,
7559,
15886,
24861,
229,
69,
7,
87,
158,
224,
244,
14726,
91,
158,
224,
224,
15506,
329,
1123,
4388,
11629,
378,
7559,
87,
158,
224,
244,
15506,
198,
1659,
18640,
4600,
82,
44646,
198,
37811,
198,
24861,
229,
69,
62,
27237,
82,
7,
82,
3712,
8890,
1741,
8,
796,
18872,
229,
69,
62,
27237,
82,
7,
40546,
7,
82,
4008,
198,
198,
37811,
198,
220,
220,
220,
279,
62,
27237,
82,
7,
82,
3712,
8890,
1741,
8,
198,
198,
32,
15879,
4769,
5253,
7559,
15886,
79,
158,
224,
244,
15886,
158,
224,
224,
63,
286,
1123,
4388,
2239,
7559,
79,
158,
224,
244,
15506,
198,
1659,
18640,
4600,
82,
44646,
198,
37811,
198,
79,
62,
27237,
82,
7,
82,
3712,
8890,
1741,
8,
796,
279,
62,
27237,
82,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
37455,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
198,
198,
32,
15879,
4769,
262,
3774,
12,
36996,
16874,
3804,
284,
4600,
2213,
82,
62,
17470,
63,
287,
309,
6998,
13,
20362,
198,
42122,
1123,
4388,
2239,
286,
18640,
4600,
82,
44646,
198,
37811,
198,
138,
242,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
796,
37455,
62,
12786,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
18074,
223,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
198,
198,
32,
15879,
23069,
262,
8064,
286,
4036,
7741,
284,
2746,
7741,
286,
198,
27379,
4388,
2239,
286,
18640,
4600,
82,
44646,
198,
37811,
198,
33643,
62,
12786,
7,
82,
3712,
8890,
1741,
8,
796,
18074,
223,
62,
12786,
7,
40546,
7,
82,
4008,
628,
198,
37811,
198,
220,
220,
220,
37982,
7,
22046,
3712,
8890,
1741,
23029,
198,
198,
8645,
689,
257,
775,
1015,
13,
20362,
989,
286,
262,
18640,
26498,
13,
220,
198,
37811,
198,
8818,
37982,
7,
22046,
3712,
8890,
1741,
23029,
198,
220,
220,
220,
44872,
7,
79,
16993,
28955,
198,
220,
220,
220,
775,
1015,
13,
732,
1015,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4654,
6978,
7,
15908,
3672,
7,
6978,
1659,
7,
12235,
27871,
36911,
366,
8019,
14,
40546,
13,
73,
9132,
15341,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
26498,
11,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
6978,
796,
33480,
6978,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4654,
6978,
7,
34945,
7,
19849,
7,
11085,
7,
22046,
4008,
828,
366,
40546,
62,
3,
7,
2213,
19524,
7,
2197,
22784,
38573,
4008,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
1267,
198,
437,
628,
198,
952,
7,
82,
3712,
8890,
1741,
8,
796,
33245,
7,
40546,
7,
82,
4008,
628,
198,
6404,
62,
5715,
7,
82,
3712,
8890,
1741,
8,
796,
2604,
62,
5715,
7,
40546,
7,
82,
4008,
628,
198,
10951,
0,
7,
82,
3712,
8890,
1741,
11,
26498,
23029,
796,
7508,
0,
7,
40546,
7,
82,
828,
26498,
23029,
628,
198,
24442,
0,
7,
82,
3712,
8890,
1741,
11,
26498,
23029,
796,
14257,
0,
7,
40546,
7,
82,
828,
26498,
23029,
628,
198,
40539,
0,
7,
82,
3712,
8890,
1741,
11,
26498,
23029,
796,
9828,
0,
7,
40546,
7,
82,
828,
26498,
23029,
628,
198,
18224,
0,
7,
82,
3712,
8890,
1741,
11,
26498,
23029,
796,
4049,
0,
7,
40546,
7,
82,
828,
26498,
23029,
628,
198,
1891,
437,
7,
82,
3712,
8890,
1741,
8,
796,
651,
3245,
7,
82,
11,
1058,
1891,
437,
8,
628,
198,
69,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
796,
277,
158,
224,
244,
7,
1891,
437,
7,
82,
4008,
628,
198,
24861,
229,
69,
158,
224,
244,
62,
27237,
7,
82,
3712,
8890,
1741,
8,
796,
18872,
229,
69,
158,
224,
244,
62,
27237,
7,
1891,
437,
7,
82,
4008,
628,
198,
79,
158,
224,
244,
62,
27237,
7,
82,
3712,
8890,
1741,
8,
796,
279,
158,
224,
244,
62,
27237,
7,
1891,
437,
7,
82,
4008,
628,
198,
138,
242,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
796,
37455,
158,
224,
244,
7,
1891,
437,
7,
82,
4008,
628,
198,
33643,
7,
82,
3712,
8890,
1741,
8,
796,
18074,
223,
7,
1891,
437,
7,
82,
4008,
628,
198,
14881,
13,
1136,
26745,
7,
82,
3712,
8890,
1741,
11,
5659,
3712,
13940,
23650,
8,
796,
2488,
2118,
2012,
41798,
628,
198,
14881,
13,
26745,
14933,
7,
82,
3712,
8890,
1741,
8,
796,
7499,
198,
198,
37811,
198,
220,
220,
220,
41216,
7,
82,
3712,
8890,
1741,
8,
198,
198,
5990,
23914,
1123,
2239,
510,
284,
262,
15223,
4296,
198,
1462,
7330,
7559,
39,
158,
224,
222,
15506,
13,
26299,
352,
12,
21,
286,
4600,
2348,
42289,
767,
13,
16,
44646,
198,
37811,
198,
8818,
41216,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
41216,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
18703,
0,
7,
456,
82,
62,
24588,
7,
82,
4008,
628,
220,
220,
220,
37982,
0,
7,
82,
11,
277,
62,
12786,
11,
277,
158,
224,
244,
7,
82,
4008,
628,
220,
220,
220,
37982,
0,
7,
82,
11,
18872,
229,
69,
62,
27237,
82,
11,
18872,
229,
69,
158,
224,
244,
62,
27237,
7,
82,
4008,
628,
220,
220,
220,
37982,
0,
7,
82,
11,
37455,
62,
12786,
11,
37455,
158,
224,
244,
7,
82,
4008,
628,
220,
220,
220,
7508,
0,
7,
82,
11,
366,
8890,
8306,
25,
1600,
264,
8,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
12094,
7,
82,
3712,
8890,
1741,
8,
198,
198,
17821,
611,
262,
1181,
286,
4600,
82,
63,
318,
12094,
13,
198,
37811,
198,
8818,
12094,
7,
82,
3712,
8890,
1741,
8,
198,
220,
220,
220,
611,
12094,
7,
1891,
437,
7,
82,
828,
34109,
7,
2213,
82,
62,
24588,
7,
82,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
3991,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
1382,
62,
2213,
82,
7,
82,
3712,
8890,
1741,
8,
198,
198,
15580,
7159,
329,
262,
491,
82,
62,
17470,
869,
284,
309,
6998,
13,
20362,
13,
198,
37811,
198,
8818,
1382,
62,
2213,
82,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
1382,
62,
2213,
82,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
8494,
62,
2213,
82,
7,
82,
3712,
8890,
1741,
8,
198,
198,
50,
6442,
7559,
64,
158,
224,
244,
15506,
287,
7889,
341,
357,
20,
13,
20,
737,
198,
37811,
198,
8818,
8494,
62,
2213,
82,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
319,
0,
7,
2213,
82,
62,
45016,
7,
82,
4008,
628,
220,
220,
220,
8494,
62,
2213,
82,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
572,
0,
7,
2213,
82,
62,
45016,
7,
82,
4008,
628,
220,
220,
220,
18703,
0,
7,
2213,
82,
62,
24588,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
1382,
62,
45994,
7,
82,
3712,
8890,
1741,
8,
198,
198,
15580,
4473,
11629,
378,
11,
13446,
262,
9432,
379,
262,
4473,
4067,
11,
290,
24061,
7559,
33643,
15506,
13,
198,
37811,
198,
8818,
1382,
62,
45994,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
1382,
62,
45994,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
4296,
62,
138,
242,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
198,
198,
4933,
19581,
262,
16874,
37455,
158,
224,
244,
706,
1123,
3774,
12,
36996,
850,
45573,
8494,
13,
198,
37811,
198,
8818,
4296,
62,
138,
242,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
4296,
62,
138,
242,
158,
224,
244,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
2453,
62,
45994,
7,
82,
3712,
8890,
1741,
8,
198,
198,
31310,
3760,
262,
1988,
286,
7559,
33643,
15506,
11,
2453,
3967,
3815,
11,
290,
788,
4296,
7559,
87,
158,
224,
244,
11,
277,
158,
224,
244,
15506,
13,
198,
37811,
198,
8818,
2453,
62,
45994,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
611,
2453,
62,
45994,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
37982,
0,
7,
82,
11,
277,
62,
12786,
11,
277,
158,
224,
244,
7,
82,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
37982,
0,
7,
82,
11,
37455,
62,
12786,
11,
37455,
158,
224,
244,
7,
82,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
37982,
0,
7,
82,
11,
279,
62,
27237,
82,
11,
279,
158,
224,
244,
62,
27237,
7,
82,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
37982,
0,
7,
82,
11,
18074,
223,
62,
12786,
11,
18074,
223,
7,
82,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
3991,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
279,
32109,
7,
82,
3712,
8890,
1741,
8,
198,
198,
464,
15223,
792,
415,
4296,
6056,
286,
262,
12434,
286,
4600,
82,
63,
262,
4277,
1988,
318,
3991,
13,
198,
37811,
198,
8818,
279,
32109,
7,
82,
3712,
8890,
1741,
8,
198,
220,
220,
220,
1441,
279,
32109,
7,
1891,
437,
7,
82,
4008,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
792,
415,
48,
45,
7,
82,
3712,
8890,
1741,
8,
198,
198,
5990,
23914,
262,
3210,
792,
415,
4296,
329,
4600,
82,
63,
6,
82,
34062,
46305,
666,
40874,
7559,
39,
158,
224,
244,
15506,
13,
198,
198,
464,
1195,
45,
10451,
973,
318,
1813,
416,
262,
12434,
286,
4600,
82,
44646,
198,
37811,
198,
8818,
792,
415,
48,
45,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
792,
415,
48,
45,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
4296,
62,
50,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
198,
198,
4933,
19581,
262,
7559,
17,
86,
12,
16,
15506,
6291,
11678,
286,
18640,
4600,
82,
44646,
198,
198,
6214,
25,
4600,
50,
62,
19119,
62,
64,
47671,
4600,
50,
62,
19119,
62,
65,
47671,
4600,
50,
62,
19119,
62,
66,
47671,
4600,
50,
62,
19119,
62,
67,
47671,
4600,
50,
62,
19119,
62,
68,
47671,
4600,
50,
62,
19119,
62,
69,
44646,
198,
37811,
198,
8818,
4296,
62,
50,
158,
224,
244,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
4296,
62,
50,
158,
224,
244,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
308,
7998,
7,
82,
3712,
8890,
1741,
8,
198,
198,
6214,
978,
42289,
7559,
18,
13,
16,
15506,
198,
37811,
198,
8818,
308,
7998,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
319,
0,
7,
456,
82,
62,
45016,
7,
82,
4008,
628,
220,
220,
220,
308,
7998,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
572,
0,
7,
456,
82,
62,
45016,
7,
82,
4008,
628,
220,
220,
220,
18703,
0,
7,
456,
82,
62,
24588,
7,
82,
4008,
628,
220,
220,
220,
37982,
0,
7,
82,
11,
18872,
229,
69,
62,
27237,
82,
11,
18872,
229,
69,
158,
224,
244,
62,
27237,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
2512,
48,
45,
7,
82,
3712,
8890,
1741,
8,
198,
198,
5990,
23914,
257,
2512,
4296,
329,
4600,
82,
63,
6,
82,
34062,
46305,
666,
40874,
7559,
39,
158,
224,
244,
15506,
13,
198,
198,
464,
1195,
45,
10451,
973,
318,
1813,
416,
262,
12434,
286,
4600,
82,
44646,
198,
37811,
198,
8818,
2512,
48,
45,
7,
82,
3712,
8890,
1741,
8,
628,
220,
220,
220,
2512,
48,
45,
7,
1891,
437,
7,
82,
4008,
628,
220,
220,
220,
2147,
198,
437,
628,
198,
8818,
27183,
0,
7,
14323,
1741,
3712,
8890,
1741,
8,
628,
220,
220,
220,
41216,
7,
14323,
1741,
8,
628,
220,
220,
220,
1382,
62,
2213,
82,
7,
14323,
1741,
8,
628,
220,
220,
220,
981,
5145,
23705,
282,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
8494,
62,
2213,
82,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1382,
62,
45994,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2453,
62,
45994,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
279,
32109,
7,
14323,
1741,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
792,
415,
48,
45,
7,
14323,
1741,
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,
4296,
62,
50,
158,
224,
244,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
7998,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2512,
48,
45,
7,
14323,
1741,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1382,
62,
2213,
82,
7,
14323,
1741,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
138,
242,
158,
224,
244,
7,
14323,
1741,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
7508,
0,
7,
14323,
1741,
11,
366,
44798,
803,
25,
1600,
12854,
7,
14323,
1741,
4008,
628,
220,
220,
220,
1441,
18640,
198,
437,
198
] | 2.374826 | 2,876 |
function make_model(f, ϵsub, ϵ, cellL, thickness, order, lb, ub, filename)
# TODO: call out to Python
pts = chebpoints(order, lb, ub)
end
function get_model(order, lb, ub, filename)
f = open(filename)
function val(line)
dat = split(line)
parse(Float64, dat[1]) + parse(Float64, dat[2]) * im
end
vals = [val(line) for line in eachline(f)]
chebinterp(vals, lb, ub)
end
# rrule for Chebyshev polynomial functor. TODO: support chebjacobian (or explicitly don't support it)
# TODO: support x real
function rrule(c::ChebPoly, x::AbstractVector)
project_x = ProjectTo(x)
y, Δy = chebgradient(c, x)
pullback(∂y) = NoTangent(), project_x(∂y * Δy')
y, pullback
end
| [
8818,
787,
62,
19849,
7,
69,
11,
18074,
113,
7266,
11,
18074,
113,
11,
2685,
43,
11,
20735,
11,
1502,
11,
18360,
11,
20967,
11,
29472,
8,
198,
220,
220,
220,
1303,
16926,
46,
25,
869,
503,
284,
11361,
198,
220,
220,
220,
43344,
796,
1125,
65,
13033,
7,
2875,
11,
18360,
11,
20967,
8,
198,
437,
198,
198,
8818,
651,
62,
19849,
7,
2875,
11,
18360,
11,
20967,
11,
29472,
8,
198,
220,
220,
220,
277,
796,
1280,
7,
34345,
8,
198,
220,
220,
220,
2163,
1188,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4818,
796,
6626,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
21136,
7,
43879,
2414,
11,
4818,
58,
16,
12962,
1343,
21136,
7,
43879,
2414,
11,
4818,
58,
17,
12962,
1635,
545,
198,
220,
220,
220,
886,
198,
220,
220,
220,
410,
874,
796,
685,
2100,
7,
1370,
8,
329,
1627,
287,
1123,
1370,
7,
69,
15437,
198,
220,
220,
220,
1125,
65,
3849,
79,
7,
12786,
11,
18360,
11,
20967,
8,
198,
437,
198,
198,
2,
374,
25135,
329,
2580,
48209,
258,
85,
745,
6213,
49070,
1257,
2715,
13,
16926,
46,
25,
1104,
1125,
65,
30482,
672,
666,
357,
273,
11777,
836,
470,
1104,
340,
8,
198,
2,
16926,
46,
25,
1104,
2124,
1103,
220,
198,
8818,
374,
25135,
7,
66,
3712,
7376,
65,
34220,
11,
2124,
3712,
23839,
38469,
8,
198,
220,
220,
220,
1628,
62,
87,
796,
4935,
2514,
7,
87,
8,
198,
220,
220,
220,
331,
11,
37455,
88,
796,
1125,
65,
49607,
7,
66,
11,
2124,
8,
198,
220,
220,
220,
2834,
1891,
7,
24861,
224,
88,
8,
796,
1400,
43909,
298,
22784,
1628,
62,
87,
7,
24861,
224,
88,
1635,
37455,
88,
11537,
198,
220,
220,
220,
331,
11,
2834,
1891,
198,
437,
628
] | 2.380795 | 302 |
module SurfaceTopology
using GeometryTypes
include("primitives.jl")
include("plainds.jl")
include("faceds.jl")
include("cachedds.jl")
include("edgeds.jl")
export FaceDS, CachedDS, EdgeDS
export FaceRing, VertexRing, EdgeRing
export Edges,Faces
end # module
| [
21412,
20321,
9126,
1435,
628,
198,
3500,
2269,
15748,
31431,
198,
198,
17256,
7203,
19795,
20288,
13,
20362,
4943,
198,
17256,
7203,
25638,
9310,
13,
20362,
4943,
198,
17256,
7203,
24903,
82,
13,
20362,
4943,
198,
17256,
7203,
66,
2317,
9310,
13,
20362,
4943,
198,
198,
17256,
7203,
48916,
82,
13,
20362,
4943,
198,
198,
39344,
15399,
5258,
11,
327,
2317,
5258,
11,
13113,
5258,
198,
39344,
15399,
39687,
11,
4643,
16886,
39687,
11,
13113,
39687,
198,
39344,
1717,
3212,
11,
37,
2114,
198,
198,
437,
1303,
8265,
628
] | 2.966292 | 89 |
function form(f::Function, args...; attrs...) :: HTMLString
normal_element(f, "form", [args...], attr(attrs...))
end
"""
$TYPEDSIGNATURES
"""
function form(children::Union{String,Vector{String}} = "", args...; attrs...) :: HTMLString
normal_element(children, "form", [args...], attr(attrs...))
end
"""
$TYPEDSIGNATURES
"""
function attr(attrs...)
attrs = Pair{Symbol,Any}[attrs...]
for p in attrs
p[1] == :enctype && return attrs
end
push!(attrs, :enctype => "multipart/form-data")
end | [
8818,
1296,
7,
69,
3712,
22203,
11,
26498,
986,
26,
708,
3808,
23029,
7904,
11532,
10100,
198,
220,
3487,
62,
30854,
7,
69,
11,
366,
687,
1600,
685,
22046,
986,
4357,
708,
81,
7,
1078,
3808,
986,
4008,
198,
437,
198,
198,
37811,
198,
3,
9936,
47,
1961,
46224,
47471,
198,
37811,
198,
8818,
1296,
7,
17197,
3712,
38176,
90,
10100,
11,
38469,
90,
10100,
11709,
796,
366,
1600,
26498,
986,
26,
708,
3808,
23029,
7904,
11532,
10100,
198,
220,
3487,
62,
30854,
7,
17197,
11,
366,
687,
1600,
685,
22046,
986,
4357,
708,
81,
7,
1078,
3808,
986,
4008,
198,
437,
198,
198,
37811,
198,
3,
9936,
47,
1961,
46224,
47471,
198,
37811,
198,
8818,
708,
81,
7,
1078,
3808,
23029,
198,
220,
708,
3808,
796,
39645,
90,
13940,
23650,
11,
7149,
92,
58,
1078,
3808,
22345,
628,
220,
329,
279,
287,
708,
3808,
198,
220,
220,
220,
279,
58,
16,
60,
6624,
1058,
268,
310,
2981,
11405,
1441,
708,
3808,
198,
220,
886,
628,
220,
4574,
0,
7,
1078,
3808,
11,
1058,
268,
310,
2981,
5218,
366,
16680,
541,
433,
14,
687,
12,
7890,
4943,
198,
437
] | 2.671958 | 189 |
using YaoExtensions, Yao
using Test, Random
using Optim: LBFGS, optimize
using Optim
"""
learn_u4(u::AbstractMatrix; niter=100)
Learn a general U4 gate. The optimizer is LBFGS.
"""
function learn_u4(u::AbstractBlock; niter=100)
ansatz = general_U4()
params = parameters(ansatz)
println("initial loss = $(operator_fidelity(u,ansatz))")
optimize(x->-operator_fidelity(u, dispatch!(ansatz, x)),
(G, x) -> (G .= -operator_fidelity'(u, dispatch!(ansatz, x))[2]),
parameters(ansatz),
LBFGS(),
Optim.Options(iterations=niter))
println("final fidelity = $(operator_fidelity(u,ansatz))")
return ansatz
end
using Random
Random.seed!(2)
u = matblock(rand_unitary(4))
c = learn_u4(u; niter=150)
| [
3500,
37826,
11627,
5736,
11,
37826,
198,
3500,
6208,
11,
14534,
198,
3500,
30011,
25,
22199,
37,
14313,
11,
27183,
198,
3500,
30011,
198,
198,
37811,
198,
220,
220,
220,
2193,
62,
84,
19,
7,
84,
3712,
23839,
46912,
26,
299,
2676,
28,
3064,
8,
198,
198,
20238,
257,
2276,
471,
19,
8946,
13,
383,
6436,
7509,
318,
22199,
37,
14313,
13,
198,
37811,
198,
8818,
2193,
62,
84,
19,
7,
84,
3712,
23839,
12235,
26,
299,
2676,
28,
3064,
8,
198,
220,
220,
220,
9093,
27906,
796,
2276,
62,
52,
19,
3419,
198,
220,
220,
220,
42287,
796,
10007,
7,
504,
27906,
8,
198,
220,
220,
220,
44872,
7203,
36733,
2994,
796,
29568,
46616,
62,
69,
23091,
7,
84,
11,
504,
27906,
4008,
4943,
198,
220,
220,
220,
27183,
7,
87,
3784,
12,
46616,
62,
69,
23091,
7,
84,
11,
27965,
0,
7,
504,
27906,
11,
2124,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
38,
11,
2124,
8,
4613,
357,
38,
764,
28,
532,
46616,
62,
69,
23091,
6,
7,
84,
11,
27965,
0,
7,
504,
27906,
11,
2124,
4008,
58,
17,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10007,
7,
504,
27906,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22199,
37,
14313,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30011,
13,
29046,
7,
2676,
602,
28,
77,
2676,
4008,
198,
220,
220,
220,
44872,
7203,
20311,
37744,
796,
29568,
46616,
62,
69,
23091,
7,
84,
11,
504,
27906,
4008,
4943,
198,
220,
220,
220,
1441,
9093,
27906,
198,
437,
198,
198,
3500,
14534,
198,
29531,
13,
28826,
0,
7,
17,
8,
198,
84,
796,
2603,
9967,
7,
25192,
62,
403,
9331,
7,
19,
4008,
198,
66,
796,
2193,
62,
84,
19,
7,
84,
26,
299,
2676,
28,
8628,
8,
198
] | 2.403785 | 317 |
num_unlabel_samples = 800
Mat_Label, labels, Mat_Unlabel = loadCircleData(num_unlabel_samples)
iter = round(linspace(1,70,4))
res = []
for i in iter
unlabel_data_labels = label_propagation(Mat_Label, Mat_Unlabel, labels, kernel_type = "knn", knn_num_neighbors = 10, max_iter = i)
push!(res, unlabel_data_labels)
end
res = reduce(hcat, res)
show_example(Mat_Label, labels, Mat_Unlabel, res)
| [
22510,
62,
403,
18242,
62,
82,
12629,
796,
10460,
220,
220,
198,
19044,
62,
33986,
11,
14722,
11,
6550,
62,
3118,
18242,
796,
3440,
31560,
293,
6601,
7,
22510,
62,
403,
18242,
62,
82,
12629,
8,
220,
198,
2676,
796,
2835,
7,
21602,
10223,
7,
16,
11,
2154,
11,
19,
4008,
198,
411,
796,
17635,
198,
1640,
1312,
287,
11629,
198,
220,
220,
220,
9642,
9608,
62,
7890,
62,
23912,
1424,
796,
6167,
62,
22930,
363,
341,
7,
19044,
62,
33986,
11,
6550,
62,
3118,
18242,
11,
14722,
11,
9720,
62,
4906,
796,
366,
15418,
77,
1600,
638,
77,
62,
22510,
62,
710,
394,
32289,
796,
838,
11,
3509,
62,
2676,
796,
1312,
8,
198,
220,
220,
220,
4574,
0,
7,
411,
11,
9642,
9608,
62,
7890,
62,
23912,
1424,
8,
198,
437,
198,
411,
796,
4646,
7,
71,
9246,
11,
581,
8,
198,
12860,
62,
20688,
7,
19044,
62,
33986,
11,
14722,
11,
6550,
62,
3118,
18242,
11,
581,
8,
220,
220,
628,
198
] | 2.454545 | 165 |
### GenePop parsing ###
"""
genepop(infile::String; digits::Int64 = 3, popsep::Any = "POP", numpops::Int64)
Load a Genepop format file into memory as a PopObj object.
### Arguments
- `infile` : path to Genepop file
- `digits` : number of digits denoting each allele
- `popsep` : word that separates populations in `infile` (default: "POP")
- `numpops` : number of populations in `infile` (used for checking parser)
- `marker` : "snp" (default) or "msat"
### File must follow standard Genepop formatting:
- First line is a comment (and skipped)
- Loci are listed after first line as one-per-line without commas or in single comma-separated row
- A line with a particular keyword (default "POP") must delimit populations
- File is tab or space delimted
## Example
`waspsNY = genepop("wasp_hive.gen", digits = 3, popsep = "POP", numpops = 2);`
### Genepop file example:
Wasp populations in New York \n
Locus1 \n
Locus2 \n
Locus3 \n
POP \n
Oneida_01, 250230 564568 110100 \n
Oneida_02, 252238 568558 100120 \n
Oneida_03, 254230 564558 090100 \n
POP \n
Newcomb_01, 254230 564558 080100 \n
Newcomb_02, 000230 564558 090080 \n
Newcomb_03, 254230 000000 090100 \n
Newcomb_04, 254230 564000 090120 \n
"""
function genepop(
infile::String;
digits::Int64 = 3,
popsep::Any = "POP",
numpops::Int64,
marker = "snp",
)
println("\n", "Input File : ", abspath(infile))
if lowercase(marker) == "snp"
geno_type = Int8
else
geno_type = Int16
end
gpop = split(open(readlines, infile)[2:end], popsep)
if length(gpop) - 1 != numpops
error("incorrect number of populations detected, see docstring for formatting
expected : $numpops
detected : $(length(gpop)-1) ")
end
if length(gpop[1]) == 1 # loci horizontally stacked
locinames = strip.(split(gpop[1] |> join, ",") |> Array{String,1})
replace!(locinames, "." => "_")
else # loci vertically stacked
locinames = replace(gpop[1], "." => "_")
end
d = Dict(string(i) => [] for i in locinames)
popid = []
indnames = []
for i = 2:length(gpop)
append!(popid, fill(i - 1, length(gpop[i])))
for j = 1:length(gpop[i])
#println(Base.Threads.threadid()) ########
phasedloci = []
push!(indnames, split(strip(gpop[i][j]), r"\,|\t")[1])
unphasedloci = split(strip(gpop[i][j]), r"\s|\t")[2:end] |>
Array{String,1}
replace!(unphasedloci, "-9" => "0"^digits) #just in case -9 = missing
for locus in unphasedloci
phasedlocus = parse.(
geno_type,
[join(i) for i in Iterators.partition(locus, digits)],
) |> sort |> Tuple
push!(phasedloci, phasedlocus)
end
for (loc, geno) in zip(locinames, phasedloci)
push!(d[loc], geno)
end
end
end
ploidy = length.(d[locinames[1]]) # lazy finding of ploidy from single locus
for (loc, ploid) in zip(locinames, ploidy)
miss_geno = fill(0, ploid) |> Tuple
msat_miss_geno = ("0")
replace!(d[loc], miss_geno => missing)
replace!(d[loc], msat_miss_geno => missing)
end
# typesafe genotype DataFrame
loci_df = DataFrame([Symbol(i) => Array{Union{Tuple,Missing},1}(d[i]) for i in locinames])
samples_df = DataFrame(
name = string.(indnames),
population = string.(popid),
ploidy = Int8.(ploidy),
longitude = fill(missing, length(indnames)),
latitude = fill(missing, length(indnames)),
)
PopObj(samples_df, loci_df)
end
# Alternative line-by-line reader
## NOT EXPORTED
#=
function gpop2(infile::String; digits::Int64 = 3, popsep::Any = "POP", numpops::Int64)
println("\n", "Input File : ", abspath(infile))
popid = []
indnames = []
locinames = []
d = Dict()
linenum = 1
popcount = 0
open(infile) do file
for ln in eachline(file)
if popcount == 0
if linenum == 1
linenum += 1
continue
elseif linenum == 2
if occursin(",", ln) == true #loci are horizontally stacked
append!(locinames, strip.(split(ln |> join, ",") |> Array{String,1}))
replace!(locinames, "." => "_")
linenum += 1
continue
else # loci are vertically stacked
push!(locinames, ln)
linenum += 1
continue
end
else
if ln == popsep
popcount += 1
continue
else
push!(locinames, ln)
continue
end
end
end
if ln == popsep
popcount += 1
continue
else
phasedloci = []
push!(indnames, split(strip(ln), r"\,|\t")[1])
push!(popid, popcount)
unphasedloci = split(strip(ln), r"\s|\t")[2:end] |> Array{String,1}
for locus in unphasedloci
phasedlocus = parse.(Int16,[join(i) for i in Iterators.partition(locus,digits)]) |> sort |> Tuple
push!(phasedloci, phasedlocus)
end
if locinames[1] ∉ keys(d)
[d[i] = [] for i in locinames]
end
for (loc,geno) in zip(locinames, phasedloci)
push!(d[loc], geno)
end
end
end
end
ploidy = length.(d[locinames[1]]) # lazy finding of ploidy from single locus
for (loc, ploid) in zip(locinames, ploidy)
miss_geno = fill(0,ploid) |> Tuple
replace!(d[loc], miss_geno => missing)
end
loci_df = DataFrame([i = Array{Union{Tuple, Missing},1}(d[i]) for i in locinames])
names!(loci_df, Symbol.(locinames))
samples_df = DataFrame(name = string.(indnames),
population = popid,
ploidy = Int8.(ploidy),
longitude = fill(missing,length(indnames)),
latitude = fill(missing,length(indnames)))
PopObj(samples_df, loci_df)
end
=#
### CSV parsing ###
"""
csv(infile::String; delim::Union{Char,String,Regex}, digits::Int64 = 3, location::Bool = false)
Load a CSV-type file into memory as a PopObj object
### Arguments
- `infile` : path to CSV file
- `delim` : delimiter characters. default is comma (","), can be space (" "), tab ("\\t"), etc.
- `digits` : number of digits denoting each allele
- `marker` : "snp" (default) or "msat"
- `location` : decimal degrees longitude/latitude provided as values 3/4
### File formatting:
- Loci names must be first row
- Individuals names must be first value in row
- Population ID's must be second value in row
- [Optional] longitude (x) values third value in row, latitude (y) fourth
## Example
`lizardsCA = Read.csv("CA_lizards.csv", delim = ",", digits = 3);`
### Formatting example:
Locus1,Locus2,Locus3 \n
sierra_01,mountain,001001,002002,001001 \n
sierra_02,mountain,001001,001001,001002 \n
snbarb_03,coast,001001,001001,001002 \n
snbarb_02,coast,001001,001001,001001 \n
snbarb_03,coast,001002,001001,001001 \n
"""
function csv(
infile::String;
delim::Union{Char,String,Regex} = ",",
digits::Int = 3,
marker = "snp",
location::Bool = false,
)
println("\n", "Input File : ", abspath(infile))
popid = []
indnames = []
locx = []
locy = []
locinames = []
d = Dict()
linenum = 1
if lowercase(marker) == "snp"
geno_type = Int8
else
geno_type = Int16
end
file = open(infile, "r") #do file
for ln in eachline(file)
if linenum == 1
loci_raw = split(ln, delim)
loci_safe = replace(loci_raw, "." => "_")
append!(locinames, loci_safe)
[d[string(i)] = [] for i in locinames]
linenum += 1
continue
end
if location == false
tmp = split(ln, delim) |> Array{String,1}
# phase genotypes by ploidy
phasedloci = []
for locus in tmp[3:end]
phasedlocus = parse.(
geno_type,
[join(i) for i in Iterators.partition(locus, digits)],
) |> sort |> Tuple
push!(phasedloci, phasedlocus)
end
for (loc, geno) in zip(locinames, phasedloci)
push!(d[loc], geno)
end
push!(indnames, tmp[1])
push!(popid, tmp[2])
push!(locx, missing)
push!(locy, missing)
else
tmp = split(ln, delim) |> Array{String,1}
replace!(tmp, "-9" => "0"^digits) #just in case -9 = missing
phasedloci = []
for locus in tmp[5:end]
phasedlocus = parse.(
Int16,
[join(i) for i in Iterators.partition(locus, digits)],
) |> sort |> Tuple
push!(phasedloci, phasedlocus)
end
for (loc, geno) in zip(locinames, phasedloci)
push!(d[loc], geno)
end
push!(indnames, tmp[1])
push!(popid, tmp[2])
push!(locx, parse.(Float64, tmp[3]))
push!(locy, parse.(Float64, tmp[4]))
end
end
close(file)
ploidy = length.(d[locinames[1]]) # lazy finding of ploidy from single locus
for (loc, ploid) in zip(locinames, ploidy)
miss_geno = fill(0, ploid) |> Tuple
msat_miss_geno = ("0")
replace!(d[loc], miss_geno => missing)
replace!(d[loc], msat_miss_geno => missing)
end
# typesafe genotype DataFrame
loci_df = DataFrame([Symbol(i) => Array{Union{Tuple,Missing},1}(d[i]) for i in locinames])
#names!(loci_df, Symbol.(locinames))
samples_df = DataFrame(
name = string.(indnames),
population = string.(popid),
ploidy = Int8.(ploidy),
longitude = locx,
latitude = locy,
)
PopObj(samples_df, loci_df)
end
### VCF parsing ###
"""
vcf(infile::String)
Load a VCF file into memory as a PopObj object. Population and [optional]
location information need to be provided separately.
- `infile` : path to VCF file
"""
function vcf(infile::String)
vcf_file = VCF.Reader(open(infile, "r"))
# get sample names from header
sample_names = header(vcf_file).sampleID
# fill in pop/lat/long with missing
population = fill(missing, length(sample_names))
lat = fill(missing, length(sample_names))
long = fill(missing, length(sample_names))
## array of genotypes
# get loci names
locinames = []
d = Dict()
# get genotypes
for record in vcf_file
chr_safe = replace(VCF.chrom(record), "." => "_")
chr_safer = replace(chr_safe, "|" => "_")
pos = VCF.pos(record) |> string
push!(locinames, chr_safer*"_"*pos)
geno_raw = [split(i, ('/', '|')) for i in VCF.genotype(record, :, "GT")] |> sort
# change missing data "." to "-1"
geno_corr_miss = [replace(i, "." => "-1") for i in geno_raw]
# convert everything to an integer
geno_int = [parse.(Int8, i) for i in geno_corr_miss]
# add 1 to shift genos so 0 is 1 and -1 is 0
geno_shift = [i .+ Int8(1) for i in geno_int]
geno_final = [replace(i, 0 => missing) for i in geno_shift]
geno_tuple = [Tuple(i) for i in geno_final]
d[locinames[end]] = geno_tuple
end
ploidy = length.(d[locinames[1]])
loci_df = DataFrame([i = Array{Union{Tuple, Missing},1}(d[i]) for i in locinames])
names!(loci_df, Symbol.(locinames))
samples_df = DataFrame(name = sample_names,
population = population,
ploidy = Int8.(ploidy),
latitude = lat,
longitude = long)
PopObj(samples_df, loci_df)
end
| [
21017,
13005,
16979,
32096,
44386,
198,
37811,
198,
220,
220,
220,
2429,
538,
404,
7,
259,
7753,
3712,
10100,
26,
19561,
3712,
5317,
2414,
796,
513,
11,
1461,
325,
79,
3712,
7149,
796,
366,
47,
3185,
1600,
299,
931,
2840,
3712,
5317,
2414,
8,
198,
8912,
257,
5215,
538,
404,
5794,
2393,
656,
4088,
355,
257,
8099,
49201,
2134,
13,
198,
21017,
20559,
2886,
198,
12,
4600,
259,
7753,
63,
1058,
3108,
284,
5215,
538,
404,
2393,
198,
12,
4600,
12894,
896,
63,
1058,
1271,
286,
19561,
2853,
10720,
1123,
45907,
198,
12,
4600,
12924,
325,
79,
63,
1058,
1573,
326,
31555,
9684,
287,
4600,
259,
7753,
63,
357,
12286,
25,
366,
47,
3185,
4943,
198,
12,
4600,
77,
931,
2840,
63,
1058,
1271,
286,
9684,
287,
4600,
259,
7753,
63,
357,
1484,
329,
10627,
30751,
8,
198,
12,
4600,
4102,
263,
63,
1058,
366,
16184,
79,
1,
357,
12286,
8,
393,
366,
907,
265,
1,
198,
21017,
9220,
1276,
1061,
3210,
5215,
538,
404,
33313,
25,
198,
12,
3274,
1627,
318,
257,
2912,
357,
392,
26684,
8,
198,
12,
406,
1733,
389,
5610,
706,
717,
1627,
355,
530,
12,
525,
12,
1370,
1231,
725,
292,
393,
287,
2060,
39650,
12,
25512,
515,
5752,
198,
12,
317,
1627,
351,
257,
1948,
21179,
357,
12286,
366,
47,
3185,
4943,
1276,
46728,
270,
9684,
198,
12,
9220,
318,
7400,
393,
2272,
46728,
1513,
198,
198,
2235,
17934,
628,
4600,
9776,
862,
12805,
796,
2429,
538,
404,
7203,
86,
5126,
62,
71,
425,
13,
5235,
1600,
19561,
796,
513,
11,
1461,
325,
79,
796,
366,
47,
3185,
1600,
299,
931,
2840,
796,
362,
1776,
63,
198,
198,
21017,
5215,
538,
404,
2393,
1672,
25,
198,
54,
5126,
9684,
287,
968,
1971,
3467,
77,
198,
43,
10901,
16,
3467,
77,
198,
43,
10901,
17,
3467,
77,
198,
43,
10901,
18,
3467,
77,
198,
47,
3185,
3467,
77,
198,
3198,
3755,
62,
486,
11,
220,
8646,
19214,
7265,
2231,
3104,
1367,
39103,
220,
3467,
77,
198,
3198,
3755,
62,
2999,
11,
220,
1679,
1828,
2548,
642,
3104,
40486,
1802,
10232,
220,
3467,
77,
198,
3198,
3755,
62,
3070,
11,
220,
1679,
3682,
1270,
7265,
2231,
3365,
7769,
39103,
220,
3467,
77,
198,
47,
3185,
3467,
77,
198,
3791,
24011,
62,
486,
11,
220,
1679,
3682,
1270,
7265,
2231,
3365,
8487,
39103,
3467,
77,
198,
3791,
24011,
62,
2999,
11,
220,
12877,
19214,
7265,
2231,
3365,
7769,
405,
1795,
3467,
77,
198,
3791,
24011,
62,
3070,
11,
220,
1679,
3682,
1270,
41853,
7769,
39103,
3467,
77,
198,
3791,
24011,
62,
3023,
11,
220,
1679,
3682,
1270,
642,
2414,
830,
7769,
486,
1238,
3467,
77,
198,
37811,
198,
8818,
2429,
538,
404,
7,
198,
220,
220,
220,
1167,
576,
3712,
10100,
26,
198,
220,
220,
220,
19561,
3712,
5317,
2414,
796,
513,
11,
198,
220,
220,
220,
1461,
325,
79,
3712,
7149,
796,
366,
47,
3185,
1600,
198,
220,
220,
220,
299,
931,
2840,
3712,
5317,
2414,
11,
198,
220,
220,
220,
18364,
796,
366,
16184,
79,
1600,
198,
8,
198,
220,
220,
220,
44872,
7203,
59,
77,
1600,
366,
20560,
9220,
1058,
33172,
2352,
6978,
7,
259,
7753,
4008,
198,
220,
220,
220,
611,
2793,
7442,
7,
4102,
263,
8,
6624,
366,
16184,
79,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
796,
2558,
23,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
796,
2558,
1433,
198,
220,
220,
220,
886,
198,
220,
220,
220,
308,
12924,
796,
6626,
7,
9654,
7,
961,
6615,
11,
1167,
576,
38381,
17,
25,
437,
4357,
1461,
325,
79,
8,
198,
220,
220,
220,
611,
4129,
7,
70,
12924,
8,
532,
352,
14512,
299,
931,
2840,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
1939,
47315,
1271,
286,
9684,
12326,
11,
766,
2205,
8841,
329,
33313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2938,
1058,
720,
77,
931,
2840,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12326,
1058,
29568,
13664,
7,
70,
12924,
13219,
16,
8,
366,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
4129,
7,
70,
12924,
58,
16,
12962,
6624,
352,
220,
220,
220,
220,
1303,
1179,
72,
36774,
24167,
198,
220,
220,
220,
220,
220,
220,
220,
1179,
259,
1047,
796,
10283,
12195,
35312,
7,
70,
12924,
58,
16,
60,
930,
29,
4654,
11,
366,
553,
8,
930,
29,
15690,
90,
10100,
11,
16,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
17946,
259,
1047,
11,
366,
526,
5218,
45434,
4943,
198,
220,
220,
220,
2073,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1179,
72,
31677,
24167,
198,
220,
220,
220,
220,
220,
220,
220,
1179,
259,
1047,
796,
6330,
7,
70,
12924,
58,
16,
4357,
366,
526,
5218,
45434,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
288,
796,
360,
713,
7,
8841,
7,
72,
8,
5218,
17635,
329,
1312,
287,
1179,
259,
1047,
8,
198,
220,
220,
220,
1461,
312,
796,
17635,
198,
220,
220,
220,
773,
14933,
796,
17635,
198,
220,
220,
220,
329,
1312,
796,
362,
25,
13664,
7,
70,
12924,
8,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
12924,
312,
11,
6070,
7,
72,
532,
352,
11,
4129,
7,
70,
12924,
58,
72,
60,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
13664,
7,
70,
12924,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
35235,
7,
14881,
13,
16818,
82,
13,
16663,
312,
28955,
46424,
21017,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
1733,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
521,
14933,
11,
6626,
7,
36311,
7,
70,
12924,
58,
72,
7131,
73,
46570,
374,
1,
59,
11,
91,
59,
83,
4943,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
555,
746,
839,
75,
1733,
796,
6626,
7,
36311,
7,
70,
12924,
58,
72,
7131,
73,
46570,
374,
1,
59,
82,
91,
59,
83,
4943,
58,
17,
25,
437,
60,
930,
29,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15690,
90,
10100,
11,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
403,
746,
839,
75,
1733,
11,
27444,
24,
1,
5218,
366,
15,
1,
61,
12894,
896,
8,
1303,
3137,
287,
1339,
532,
24,
796,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1179,
385,
287,
555,
746,
839,
75,
1733,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
10901,
796,
21136,
12195,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
22179,
7,
72,
8,
329,
1312,
287,
40806,
2024,
13,
3911,
653,
7,
75,
10901,
11,
19561,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
930,
29,
3297,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
746,
839,
75,
1733,
11,
41716,
75,
10901,
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,
329,
357,
17946,
11,
2429,
78,
8,
287,
19974,
7,
17946,
259,
1047,
11,
41716,
75,
1733,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
67,
58,
17946,
4357,
2429,
78,
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,
220,
220,
220,
458,
1868,
88,
796,
4129,
12195,
67,
58,
17946,
259,
1047,
58,
16,
11907,
8,
220,
220,
1303,
16931,
4917,
286,
458,
1868,
88,
422,
2060,
1179,
385,
198,
220,
220,
220,
329,
357,
17946,
11,
458,
1868,
8,
287,
19974,
7,
17946,
259,
1047,
11,
458,
1868,
88,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2051,
62,
5235,
78,
796,
6070,
7,
15,
11,
458,
1868,
8,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
265,
62,
3927,
62,
5235,
78,
796,
5855,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
67,
58,
17946,
4357,
2051,
62,
5235,
78,
5218,
4814,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
67,
58,
17946,
4357,
13845,
265,
62,
3927,
62,
5235,
78,
5218,
4814,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
3858,
8635,
2429,
8690,
6060,
19778,
198,
220,
220,
220,
1179,
72,
62,
7568,
796,
6060,
19778,
26933,
13940,
23650,
7,
72,
8,
5218,
15690,
90,
38176,
90,
51,
29291,
11,
43730,
5512,
16,
92,
7,
67,
58,
72,
12962,
329,
1312,
287,
1179,
259,
1047,
12962,
198,
220,
220,
220,
8405,
62,
7568,
796,
6060,
19778,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
4731,
12195,
521,
14933,
828,
198,
220,
220,
220,
220,
220,
220,
220,
3265,
796,
4731,
12195,
12924,
312,
828,
198,
220,
220,
220,
220,
220,
220,
220,
458,
1868,
88,
796,
2558,
23,
12195,
489,
1868,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
890,
3984,
796,
6070,
7,
45688,
11,
4129,
7,
521,
14933,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
32477,
796,
6070,
7,
45688,
11,
4129,
7,
521,
14933,
36911,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
8099,
49201,
7,
82,
12629,
62,
7568,
11,
1179,
72,
62,
7568,
8,
198,
437,
628,
198,
2,
27182,
1627,
12,
1525,
12,
1370,
9173,
198,
2235,
5626,
7788,
15490,
1961,
198,
2,
28,
198,
8818,
308,
12924,
17,
7,
259,
7753,
3712,
10100,
26,
19561,
3712,
5317,
2414,
796,
513,
11,
1461,
325,
79,
3712,
7149,
796,
366,
47,
3185,
1600,
299,
931,
2840,
3712,
5317,
2414,
8,
198,
220,
220,
220,
44872,
7203,
59,
77,
1600,
366,
20560,
9220,
1058,
33172,
2352,
6978,
7,
259,
7753,
4008,
198,
220,
220,
220,
1461,
312,
796,
17635,
198,
220,
220,
220,
773,
14933,
796,
17635,
198,
220,
220,
220,
1179,
259,
1047,
796,
17635,
198,
220,
220,
220,
288,
796,
360,
713,
3419,
198,
220,
220,
220,
41822,
388,
796,
352,
198,
220,
220,
220,
1461,
9127,
796,
657,
198,
220,
220,
220,
1280,
7,
259,
7753,
8,
466,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
329,
300,
77,
287,
1123,
1370,
7,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1461,
9127,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
41822,
388,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41822,
388,
15853,
352,
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,
2073,
361,
41822,
388,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8833,
259,
7,
2430,
11,
300,
77,
8,
6624,
2081,
220,
1303,
75,
1733,
389,
36774,
24167,
198,
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,
17946,
259,
1047,
11,
10283,
12195,
35312,
7,
18755,
930,
29,
4654,
11,
366,
553,
8,
930,
29,
15690,
90,
10100,
11,
16,
92,
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,
6330,
0,
7,
17946,
259,
1047,
11,
366,
526,
5218,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41822,
388,
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,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
220,
220,
220,
220,
220,
220,
220,
1303,
1179,
72,
389,
31677,
24167,
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,
17946,
259,
1047,
11,
300,
77,
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,
41822,
388,
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,
2555,
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,
611,
300,
77,
6624,
1461,
325,
79,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1461,
9127,
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,
2555,
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,
17946,
259,
1047,
11,
300,
77,
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,
2555,
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,
611,
300,
77,
6624,
1461,
325,
79,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1461,
9127,
15853,
352,
198,
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,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
1733,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
521,
14933,
11,
6626,
7,
36311,
7,
18755,
828,
374,
1,
59,
11,
91,
59,
83,
4943,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
12924,
312,
11,
1461,
9127,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
555,
746,
839,
75,
1733,
796,
6626,
7,
36311,
7,
18755,
828,
374,
1,
59,
82,
91,
59,
83,
4943,
58,
17,
25,
437,
60,
930,
29,
15690,
90,
10100,
11,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1179,
385,
287,
555,
746,
839,
75,
1733,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
10901,
796,
21136,
12195,
5317,
1433,
17414,
22179,
7,
72,
8,
329,
1312,
287,
40806,
2024,
13,
3911,
653,
7,
75,
10901,
11,
12894,
896,
8,
12962,
220,
930,
29,
3297,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
746,
839,
75,
1733,
11,
41716,
75,
10901,
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,
611,
1179,
259,
1047,
58,
16,
60,
18872,
231,
8251,
7,
67,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
67,
58,
72,
60,
796,
17635,
329,
1312,
287,
1179,
259,
1047,
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,
220,
220,
220,
220,
329,
357,
17946,
11,
5235,
78,
8,
287,
19974,
7,
17946,
259,
1047,
11,
41716,
75,
1733,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
67,
58,
17946,
4357,
2429,
78,
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,
458,
1868,
88,
796,
4129,
12195,
67,
58,
17946,
259,
1047,
58,
16,
11907,
8,
220,
220,
1303,
16931,
4917,
286,
458,
1868,
88,
422,
2060,
1179,
385,
198,
220,
220,
220,
329,
357,
17946,
11,
458,
1868,
8,
287,
19974,
7,
17946,
259,
1047,
11,
458,
1868,
88,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2051,
62,
5235,
78,
796,
6070,
7,
15,
11,
489,
1868,
8,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
67,
58,
17946,
4357,
2051,
62,
5235,
78,
5218,
4814,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1179,
72,
62,
7568,
796,
6060,
19778,
26933,
72,
796,
15690,
90,
38176,
90,
51,
29291,
11,
25639,
5512,
16,
92,
7,
67,
58,
72,
12962,
329,
1312,
287,
1179,
259,
1047,
12962,
198,
220,
220,
220,
3891,
0,
7,
75,
1733,
62,
7568,
11,
38357,
12195,
17946,
259,
1047,
4008,
198,
220,
220,
220,
8405,
62,
7568,
796,
6060,
19778,
7,
3672,
796,
4731,
12195,
521,
14933,
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,
3265,
796,
1461,
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,
458,
1868,
88,
796,
2558,
23,
12195,
489,
1868,
88,
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,
890,
3984,
796,
6070,
7,
45688,
11,
13664,
7,
521,
14933,
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,
32477,
796,
6070,
7,
45688,
11,
13664,
7,
521,
14933,
22305,
198,
220,
220,
220,
8099,
49201,
7,
82,
12629,
62,
7568,
11,
1179,
72,
62,
7568,
8,
198,
437,
198,
46249,
198,
198,
21017,
44189,
32096,
44386,
198,
198,
37811,
198,
220,
220,
220,
269,
21370,
7,
259,
7753,
3712,
10100,
26,
46728,
3712,
38176,
90,
12441,
11,
10100,
11,
3041,
25636,
5512,
19561,
3712,
5317,
2414,
796,
513,
11,
4067,
3712,
33,
970,
796,
3991,
8,
198,
8912,
257,
44189,
12,
4906,
2393,
656,
4088,
355,
257,
8099,
49201,
2134,
198,
21017,
20559,
2886,
198,
12,
4600,
259,
7753,
63,
1058,
3108,
284,
44189,
2393,
198,
12,
4600,
12381,
320,
63,
1058,
46728,
2676,
3435,
13,
4277,
318,
39650,
357,
2430,
828,
460,
307,
2272,
5855,
366,
828,
7400,
5855,
6852,
83,
12340,
3503,
13,
198,
12,
4600,
12894,
896,
63,
1058,
1271,
286,
19561,
2853,
10720,
1123,
45907,
198,
12,
4600,
4102,
263,
63,
1058,
366,
16184,
79,
1,
357,
12286,
8,
393,
366,
907,
265,
1,
198,
12,
4600,
24886,
63,
1058,
32465,
7370,
890,
3984,
14,
15460,
3984,
2810,
355,
3815,
513,
14,
19,
198,
21017,
9220,
33313,
25,
198,
12,
406,
1733,
3891,
1276,
307,
717,
5752,
198,
12,
34884,
3891,
1276,
307,
717,
1988,
287,
5752,
198,
12,
20133,
4522,
338,
1276,
307,
1218,
1988,
287,
5752,
198,
12,
685,
30719,
60,
890,
3984,
357,
87,
8,
3815,
2368,
1988,
287,
5752,
11,
32477,
357,
88,
8,
5544,
198,
198,
2235,
17934,
198,
63,
75,
14124,
8141,
796,
4149,
13,
40664,
7203,
8141,
62,
75,
14124,
13,
40664,
1600,
46728,
796,
366,
553,
11,
19561,
796,
513,
1776,
63,
198,
198,
21017,
18980,
889,
1672,
25,
198,
43,
10901,
16,
11,
43,
10901,
17,
11,
43,
10901,
18,
220,
220,
3467,
77,
198,
82,
16367,
62,
486,
11,
14948,
391,
11,
405,
47705,
11,
405,
16942,
11,
405,
47705,
220,
220,
3467,
77,
198,
82,
16367,
62,
2999,
11,
14948,
391,
11,
405,
47705,
11,
405,
47705,
11,
405,
3064,
17,
220,
220,
3467,
77,
198,
16184,
5657,
65,
62,
3070,
11,
1073,
459,
11,
405,
47705,
11,
405,
47705,
11,
405,
3064,
17,
3467,
77,
198,
16184,
5657,
65,
62,
2999,
11,
1073,
459,
11,
405,
47705,
11,
405,
47705,
11,
405,
47705,
3467,
77,
198,
16184,
5657,
65,
62,
3070,
11,
1073,
459,
11,
405,
3064,
17,
11,
405,
47705,
11,
405,
47705,
3467,
77,
198,
37811,
198,
8818,
269,
21370,
7,
198,
220,
220,
220,
1167,
576,
3712,
10100,
26,
198,
220,
220,
220,
46728,
3712,
38176,
90,
12441,
11,
10100,
11,
3041,
25636,
92,
796,
366,
553,
11,
198,
220,
220,
220,
19561,
3712,
5317,
796,
513,
11,
198,
220,
220,
220,
18364,
796,
366,
16184,
79,
1600,
198,
220,
220,
220,
4067,
3712,
33,
970,
796,
3991,
11,
198,
8,
198,
220,
220,
220,
44872,
7203,
59,
77,
1600,
366,
20560,
9220,
1058,
33172,
2352,
6978,
7,
259,
7753,
4008,
198,
220,
220,
220,
1461,
312,
796,
17635,
198,
220,
220,
220,
773,
14933,
796,
17635,
198,
220,
220,
220,
1179,
87,
796,
17635,
198,
220,
220,
220,
1179,
88,
796,
17635,
198,
220,
220,
220,
1179,
259,
1047,
796,
17635,
198,
220,
220,
220,
288,
796,
360,
713,
3419,
198,
220,
220,
220,
41822,
388,
796,
352,
198,
220,
220,
220,
611,
2793,
7442,
7,
4102,
263,
8,
6624,
366,
16184,
79,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
796,
2558,
23,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
796,
2558,
1433,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2393,
796,
1280,
7,
259,
7753,
11,
366,
81,
4943,
1303,
4598,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
329,
300,
77,
287,
1123,
1370,
7,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
41822,
388,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1179,
72,
62,
1831,
796,
6626,
7,
18755,
11,
46728,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1179,
72,
62,
21230,
796,
6330,
7,
75,
1733,
62,
1831,
11,
366,
526,
5218,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24443,
0,
7,
17946,
259,
1047,
11,
1179,
72,
62,
21230,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
67,
58,
8841,
7,
72,
15437,
796,
17635,
329,
1312,
287,
1179,
259,
1047,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41822,
388,
15853,
352,
198,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4067,
6624,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45218,
796,
6626,
7,
18755,
11,
46728,
8,
930,
29,
15690,
90,
10100,
11,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7108,
2429,
13567,
416,
458,
1868,
88,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
1733,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1179,
385,
287,
45218,
58,
18,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
10901,
796,
21136,
12195,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
4906,
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,
685,
22179,
7,
72,
8,
329,
1312,
287,
40806,
2024,
13,
3911,
653,
7,
75,
10901,
11,
19561,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
930,
29,
3297,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
746,
839,
75,
1733,
11,
41716,
75,
10901,
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,
329,
357,
17946,
11,
2429,
78,
8,
287,
19974,
7,
17946,
259,
1047,
11,
41716,
75,
1733,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
67,
58,
17946,
4357,
2429,
78,
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,
4574,
0,
7,
521,
14933,
11,
45218,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
12924,
312,
11,
45218,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
17946,
87,
11,
4814,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
75,
13733,
11,
4814,
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,
45218,
796,
6626,
7,
18755,
11,
46728,
8,
930,
29,
15690,
90,
10100,
11,
16,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
22065,
11,
27444,
24,
1,
5218,
366,
15,
1,
61,
12894,
896,
8,
1303,
3137,
287,
1339,
532,
24,
796,
4814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
1733,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1179,
385,
287,
45218,
58,
20,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41716,
75,
10901,
796,
21136,
12195,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2558,
1433,
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,
685,
22179,
7,
72,
8,
329,
1312,
287,
40806,
2024,
13,
3911,
653,
7,
75,
10901,
11,
19561,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
930,
29,
3297,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
746,
839,
75,
1733,
11,
41716,
75,
10901,
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,
329,
357,
17946,
11,
2429,
78,
8,
287,
19974,
7,
17946,
259,
1047,
11,
41716,
75,
1733,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
67,
58,
17946,
4357,
2429,
78,
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,
4574,
0,
7,
521,
14933,
11,
45218,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
12924,
312,
11,
45218,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
17946,
87,
11,
21136,
12195,
43879,
2414,
11,
45218,
58,
18,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
75,
13733,
11,
21136,
12195,
43879,
2414,
11,
45218,
58,
19,
60,
4008,
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,
1969,
7,
7753,
8,
198,
220,
220,
220,
458,
1868,
88,
796,
4129,
12195,
67,
58,
17946,
259,
1047,
58,
16,
11907,
8,
220,
220,
1303,
16931,
4917,
286,
458,
1868,
88,
422,
2060,
1179,
385,
198,
220,
220,
220,
329,
357,
17946,
11,
458,
1868,
8,
287,
19974,
7,
17946,
259,
1047,
11,
458,
1868,
88,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2051,
62,
5235,
78,
796,
6070,
7,
15,
11,
458,
1868,
8,
930,
29,
309,
29291,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
265,
62,
3927,
62,
5235,
78,
796,
5855,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
67,
58,
17946,
4357,
2051,
62,
5235,
78,
5218,
4814,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6330,
0,
7,
67,
58,
17946,
4357,
13845,
265,
62,
3927,
62,
5235,
78,
5218,
4814,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
3858,
8635,
2429,
8690,
6060,
19778,
198,
220,
220,
220,
1179,
72,
62,
7568,
796,
6060,
19778,
26933,
13940,
23650,
7,
72,
8,
5218,
15690,
90,
38176,
90,
51,
29291,
11,
43730,
5512,
16,
92,
7,
67,
58,
72,
12962,
329,
1312,
287,
1179,
259,
1047,
12962,
198,
220,
220,
220,
1303,
14933,
0,
7,
75,
1733,
62,
7568,
11,
38357,
12195,
17946,
259,
1047,
4008,
198,
220,
220,
220,
8405,
62,
7568,
796,
6060,
19778,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
4731,
12195,
521,
14933,
828,
198,
220,
220,
220,
220,
220,
220,
220,
3265,
796,
4731,
12195,
12924,
312,
828,
198,
220,
220,
220,
220,
220,
220,
220,
458,
1868,
88,
796,
2558,
23,
12195,
489,
1868,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
890,
3984,
796,
1179,
87,
11,
198,
220,
220,
220,
220,
220,
220,
220,
32477,
796,
1179,
88,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
8099,
49201,
7,
82,
12629,
62,
7568,
11,
1179,
72,
62,
7568,
8,
198,
437,
628,
198,
21017,
569,
22495,
32096,
44386,
198,
198,
37811,
198,
220,
220,
220,
410,
12993,
7,
259,
7753,
3712,
10100,
8,
198,
8912,
257,
569,
22495,
2393,
656,
4088,
355,
257,
8099,
49201,
2134,
13,
20133,
290,
685,
25968,
60,
198,
24886,
1321,
761,
284,
307,
2810,
13869,
13,
198,
12,
4600,
259,
7753,
63,
1058,
3108,
284,
569,
22495,
2393,
198,
37811,
198,
8818,
410,
12993,
7,
259,
7753,
3712,
10100,
8,
198,
220,
220,
220,
410,
12993,
62,
7753,
796,
569,
22495,
13,
33634,
7,
9654,
7,
259,
7753,
11,
366,
81,
48774,
198,
220,
220,
220,
1303,
651,
6291,
3891,
422,
13639,
198,
220,
220,
220,
6291,
62,
14933,
796,
13639,
7,
85,
12993,
62,
7753,
737,
39873,
2389,
198,
220,
220,
220,
1303,
6070,
287,
1461,
14,
15460,
14,
6511,
351,
4814,
198,
220,
220,
220,
3265,
796,
6070,
7,
45688,
11,
4129,
7,
39873,
62,
14933,
4008,
198,
220,
220,
220,
3042,
796,
6070,
7,
45688,
11,
4129,
7,
39873,
62,
14933,
4008,
198,
220,
220,
220,
890,
796,
6070,
7,
45688,
11,
4129,
7,
39873,
62,
14933,
4008,
198,
220,
220,
220,
22492,
7177,
286,
2429,
13567,
198,
220,
220,
220,
1303,
651,
1179,
72,
3891,
198,
220,
220,
220,
1179,
259,
1047,
796,
17635,
198,
220,
220,
220,
288,
796,
360,
713,
3419,
198,
220,
220,
220,
1303,
651,
2429,
13567,
198,
220,
220,
220,
329,
1700,
287,
410,
12993,
62,
7753,
198,
220,
220,
220,
220,
220,
220,
220,
442,
81,
62,
21230,
796,
6330,
7,
15922,
37,
13,
28663,
7,
22105,
828,
366,
526,
5218,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
442,
81,
62,
82,
34659,
796,
6330,
7,
354,
81,
62,
21230,
11,
366,
91,
1,
5218,
45434,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
796,
569,
22495,
13,
1930,
7,
22105,
8,
930,
29,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
17946,
259,
1047,
11,
442,
81,
62,
82,
34659,
9,
1,
62,
1,
9,
1930,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
1831,
796,
685,
35312,
7,
72,
11,
19203,
14,
3256,
705,
91,
6,
4008,
329,
1312,
287,
569,
22495,
13,
5235,
8690,
7,
22105,
11,
1058,
11,
366,
19555,
4943,
60,
930,
29,
3297,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1487,
4814,
1366,
366,
526,
284,
27444,
16,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
10215,
81,
62,
3927,
796,
685,
33491,
7,
72,
11,
366,
526,
5218,
27444,
16,
4943,
329,
1312,
287,
2429,
78,
62,
1831,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10385,
2279,
284,
281,
18253,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
600,
796,
685,
29572,
12195,
5317,
23,
11,
1312,
8,
329,
1312,
287,
2429,
78,
62,
10215,
81,
62,
3927,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
352,
284,
6482,
2429,
418,
523,
657,
318,
352,
290,
532,
16,
318,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
30846,
796,
685,
72,
764,
10,
2558,
23,
7,
16,
8,
329,
1312,
287,
2429,
78,
62,
600,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
20311,
796,
685,
33491,
7,
72,
11,
657,
5218,
4814,
8,
329,
1312,
287,
2429,
78,
62,
30846,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2429,
78,
62,
83,
29291,
796,
685,
51,
29291,
7,
72,
8,
329,
1312,
287,
2429,
78,
62,
20311,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
58,
17946,
259,
1047,
58,
437,
11907,
796,
2429,
78,
62,
83,
29291,
198,
220,
220,
220,
886,
198,
220,
220,
220,
458,
1868,
88,
796,
4129,
12195,
67,
58,
17946,
259,
1047,
58,
16,
11907,
8,
198,
220,
220,
220,
1179,
72,
62,
7568,
796,
6060,
19778,
26933,
72,
796,
15690,
90,
38176,
90,
51,
29291,
11,
25639,
5512,
16,
92,
7,
67,
58,
72,
12962,
329,
1312,
287,
1179,
259,
1047,
12962,
198,
220,
220,
220,
3891,
0,
7,
75,
1733,
62,
7568,
11,
38357,
12195,
17946,
259,
1047,
4008,
198,
220,
220,
220,
8405,
62,
7568,
796,
6060,
19778,
7,
3672,
796,
6291,
62,
14933,
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,
3265,
796,
3265,
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,
458,
1868,
88,
796,
2558,
23,
12195,
489,
1868,
88,
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,
32477,
796,
3042,
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,
890,
3984,
796,
890,
8,
198,
220,
220,
220,
8099,
49201,
7,
82,
12629,
62,
7568,
11,
1179,
72,
62,
7568,
8,
198,
437,
198
] | 1.963352 | 6,385 |
import ..ShallowWater: forcing_term!
@inline function forcing_term!(::SWModel, ::Coupled, S, Q, A, t)
S.U += A.Gᵁ
return nothing
end
| [
11748,
11485,
2484,
12154,
19184,
25,
10833,
62,
4354,
0,
198,
198,
31,
45145,
2163,
10833,
62,
4354,
0,
7,
3712,
17887,
17633,
11,
7904,
34,
280,
10137,
11,
311,
11,
1195,
11,
317,
11,
256,
8,
198,
220,
220,
220,
311,
13,
52,
15853,
317,
13,
38,
39611,
223,
628,
220,
220,
220,
1441,
2147,
198,
437,
198
] | 2.423729 | 59 |
using RandomMatrix, LinearAlgebra
using Test
@test randDiagonal(2) !== nothing
@test randTriangular(1:3,3,upper=false,Diag=false) !== nothing
@test !isreal(randMatrix(10)|>eigvals)
@test isreal(randHermitian(3)|>eigvals)
@test randHermitian(ComplexNormal(im,2),3,diag=Elliptic(0.1,c=im,R=9)) !==nothing
@test pdf(MarchenkoPastur(rand()),0) == 0 | [
3500,
14534,
46912,
11,
44800,
2348,
29230,
198,
3500,
6208,
198,
198,
31,
9288,
43720,
18683,
27923,
7,
17,
8,
5145,
855,
2147,
198,
31,
9288,
43720,
14824,
21413,
7,
16,
25,
18,
11,
18,
11,
45828,
28,
9562,
11,
18683,
363,
28,
9562,
8,
5145,
855,
2147,
198,
31,
9288,
5145,
271,
5305,
7,
25192,
46912,
7,
940,
14726,
29,
68,
328,
12786,
8,
628,
198,
31,
9288,
318,
5305,
7,
25192,
9360,
2781,
666,
7,
18,
14726,
29,
68,
328,
12786,
8,
198,
31,
9288,
43720,
9360,
2781,
666,
7,
5377,
11141,
26447,
7,
320,
11,
17,
828,
18,
11,
10989,
363,
28,
30639,
10257,
291,
7,
15,
13,
16,
11,
66,
28,
320,
11,
49,
28,
24,
4008,
5145,
855,
22366,
198,
198,
31,
9288,
37124,
7,
22697,
30161,
34533,
333,
7,
25192,
3419,
828,
15,
8,
6624,
657
] | 2.450704 | 142 |
## header to provide surface and context
using Cairo
c = CairoRGBSurface(256,256);
cr = CairoContext(c);
save(cr);
set_source_rgb(cr,0.8,0.8,0.8); # light gray
rectangle(cr,0.0,0.0,256.0,256.0); # background
fill(cr);
restore(cr);
save(cr);
## original example, following here
arc(cr, 128.0, 128.0, 76.8, 0, 2 * pi);
clip(cr);
new_path(cr); # current path is not consumed by cairo_clip()
rectangle(cr, 0, 0, 256, 256);
fill(cr);
set_source_rgb(cr, 0, 1, 0);
move_to(cr, 0, 0);
line_to(cr, 256, 256);
move_to(cr, 256, 0);
line_to(cr, 0, 256);
set_line_width(cr, 10.0);
stroke(cr);
## mark picture with current date
restore(cr);
move_to(cr,0.0,12.0);
set_source_rgb(cr, 0,0,0);
show_text(cr,Libc.strftime(time()));
write_to_png(c,"sample_clip.png");
| [
2235,
13639,
284,
2148,
4417,
290,
4732,
198,
3500,
23732,
198,
66,
796,
23732,
48192,
4462,
333,
2550,
7,
11645,
11,
11645,
1776,
198,
6098,
796,
23732,
21947,
7,
66,
1776,
198,
198,
21928,
7,
6098,
1776,
198,
2617,
62,
10459,
62,
81,
22296,
7,
6098,
11,
15,
13,
23,
11,
15,
13,
23,
11,
15,
13,
23,
1776,
220,
220,
220,
1303,
1657,
12768,
198,
2554,
9248,
7,
6098,
11,
15,
13,
15,
11,
15,
13,
15,
11,
11645,
13,
15,
11,
11645,
13,
15,
1776,
1303,
4469,
198,
20797,
7,
6098,
1776,
198,
2118,
382,
7,
6098,
1776,
198,
198,
21928,
7,
6098,
1776,
198,
2235,
2656,
1672,
11,
1708,
994,
198,
198,
5605,
7,
6098,
11,
13108,
13,
15,
11,
13108,
13,
15,
11,
8684,
13,
23,
11,
657,
11,
362,
1635,
31028,
1776,
198,
15036,
7,
6098,
1776,
198,
198,
3605,
62,
6978,
7,
6098,
1776,
1303,
1459,
3108,
318,
407,
13529,
416,
1275,
7058,
62,
15036,
3419,
198,
2554,
9248,
7,
6098,
11,
657,
11,
657,
11,
17759,
11,
17759,
1776,
198,
20797,
7,
6098,
1776,
198,
2617,
62,
10459,
62,
81,
22296,
7,
6098,
11,
657,
11,
352,
11,
657,
1776,
198,
21084,
62,
1462,
7,
6098,
11,
657,
11,
657,
1776,
198,
1370,
62,
1462,
7,
6098,
11,
17759,
11,
17759,
1776,
198,
21084,
62,
1462,
7,
6098,
11,
17759,
11,
657,
1776,
198,
1370,
62,
1462,
7,
6098,
11,
657,
11,
17759,
1776,
198,
2617,
62,
1370,
62,
10394,
7,
6098,
11,
838,
13,
15,
1776,
198,
30757,
7,
6098,
1776,
198,
198,
2235,
1317,
4286,
351,
1459,
3128,
198,
2118,
382,
7,
6098,
1776,
198,
21084,
62,
1462,
7,
6098,
11,
15,
13,
15,
11,
1065,
13,
15,
1776,
198,
2617,
62,
10459,
62,
81,
22296,
7,
6098,
11,
657,
11,
15,
11,
15,
1776,
198,
12860,
62,
5239,
7,
6098,
11,
25835,
66,
13,
2536,
31387,
7,
2435,
3419,
18125,
198,
13564,
62,
1462,
62,
11134,
7,
66,
553,
39873,
62,
15036,
13,
11134,
15341,
198
] | 2.25 | 336 |
# Read the image format written by RADMC3D.
# Read the ascii text in `image.out` and parse things into a 3 dimensional matrix (x, y, lambda)
# The first four lines are format information
# iformat # = 1 (2 is local observer)
# im_nx im_ny #number of pixels in x and y directions
# nlam # number of images at different wavelengths
# pixsize_x pixsize_y # size of the pixels in cm
# lambda[1] ... lambda[nlam + 1] # wavelengths (um) correspending to images
# pixels, ordered from left to right (increasing x) in the inner loop, and from bottom to top (increasing y) in the outer loop. And wavelength is the outermost loop.
"The image module contains various data types for reading and holding images produced by the radiative transfer programs (via `RADMC-3D`), as well as routines for processing these images."
module image
export imread, imToSky, imToSpec, SkyImage, -
export taureadImg, taureadPos
using ..constants
# import Images # The Images.jl package, not affiliated w/ DiskJockey
# using Dierckx
import Base.- # extend this for Image
# Define an image type, which can store the data as well as pixel spacing
abstract type Image end
"
RawImage(data, pixsize_x, pixsize_y, lams)
Hold the raw output from `RADMC-3D` in a 3D array (npix_y, npix_x, nlam).
RawImage reflects the RADMC convention that both x and y are increasing
with array index. This means that to display the image as RADMC intends it,
you must set the first array element to the lower left corner."
mutable struct RawImage <: Image
data::Array{Float64,3} # [ergs/s/cm^2/Hz/ster]
pixsize_x::Float64 # [cm]
pixsize_y::Float64 # [cm]
lams::Vector{Float64} # [μm]
end
"SkyImage is a holder that has both RA and DEC increasing with array index
This convention is necessary for the FFT step
However, to display this image in the traditional sky convention (North up,
East to the left), you must set the first array element to the lower left
corner *and* flip the array along the RA axis: `fliplr(data)` or flipdim(data, 2)"
mutable struct SkyImage <: Image
data::Array{Float64,3} # [Jy/pixel]
ra::Vector{Float64} # [arcsec]
dec::Vector{Float64} # [arcsec]
lams::Vector{Float64} # [μm]
end
"TausurfImage is designed to hold the results of the RADMC-3D `tausurf` operation. This is
The distance in cm above or below the plane tangent to the observer, which intersects the origin of the model.
From the RADMC3D manual:
The image output file image.out will now contain, for each pixel, the position along the ray in centimeters where τ = τs. The zero point is the surface perpendicular to the direction of observation, going through the pointing position (which is, by default the origin (0, 0, 0)). Positive values mean that the surface is closer to the observer than the plane, while negative values mean that the surface is behind the plane.
So for this datastructure, it's the same thing as RawImage, just instead of intensity, we have distance above/below plane."
mutable struct TausurfImg <: Image
data::Array{Float64,3} # cm above/behind central projected plane of disk
pixsize_x::Float64 # [cm]
pixsize_y::Float64 # [cm]
lams::Vector{Float64} # [μm]
end
"Encapsulates the 3D position of the pixels representing the tau=1 surface, in the same datashape as the image.
For each pixel, this is the x, y, or z position."
mutable struct TausurfPos
data_x::Array{Float64,3} # [cm]
data_y::Array{Float64,3} # [cm]
data_z::Array{Float64,3} # [cm]
lams::Vector{Float64} # [μm]
end
"Subtraction for `SkyImage`s"
function -(img1::SkyImage, img2::SkyImage)
# @assert img1.lams == img2.lams "Images must have the same wavelengths."
@assert isapprox(img1.ra, img2.ra) "Images must have same RA coordinates."
@assert isapprox(img1.dec, img2.dec) "Images must have same DEC coordinates."
data = img1.data - img2.data
return SkyImage(data, img1.ra, img1.dec, img1.lams)
end
"SkyImage constructor for just a single frame"
SkyImage(data::Matrix{Float64}, ra::Vector{Float64}, dec::Vector{Float64}, lam::Float64) =
SkyImage(reshape(data, tuple(size(data)..., 1)), ra, dec, [lam])
"
imread(file=\"image.out\")
Read the image file (default=image.out) and return it as an Image object, which contains the fluxes in Jy/pixel,
the sizes and locations of the pixels in arcseconds, and the wavelengths (in microns) corresponding to the images"
function imread(file = "image.out")
fim = open(file, "r")
iformat = parse(Int, readline(fim))
im_nx, im_ny = split(readline(fim))
im_nx = parse(Int, im_nx)
im_ny = parse(Int, im_ny)
nlam = parse(Int, readline(fim))
pixsize_x, pixsize_y = split(readline(fim))
pixsize_x = parse(Float64, pixsize_x)
pixsize_y = parse(Float64, pixsize_y)
# Read the wavelength array
lams = Array{Float64}(undef, nlam)
for i = 1:nlam
lams[i] = parse(Float64, readline(fim))
end
# Create an array with the proper size, and then read the file into it
data = Array{Float64}(undef, im_ny, im_nx, nlam)
# According to the RADMC manual, section A.15, the pixels are ordered
# left to right (increasing x) in the inner loop, and from bottom to top
# (increasing y) in the outer loop.
# Basically, pack the array in order but display with origin=lower.
# Because of the way an image is stored as a matrix, we actually pack the
# array indices as data[y, x, lam]
# radmc3dPy achieves something similar by keeping indices the x,y but
# swaping loop order (radmcPy/image.py:line 675)
for k = 1:nlam
readline(fim) # Junk space
for j = 1:im_ny
for i = 1:im_nx
data[j,i,k] = parse(Float64, readline(fim))
end
end
end
close(fim)
# According to the RADMC3D manual, the units are *intensity* [erg cm−2 s−1 Hz−1 ster−1]
return RawImage(data, pixsize_x, pixsize_y, lams)
end
"
taureadImg(file=\"image_tausurf.out\")
Like imread, but for tausurf. Pixels that have no ``\\tau`` surface are set to `NaN`."
function taureadImg(file = "image_tausurf.out")
fim = open(file, "r")
iformat = parse(Int, readline(fim))
im_nx, im_ny = split(readline(fim))
im_nx = parse(Int, im_nx)
im_ny = parse(Int, im_ny)
nlam = parse(Int, readline(fim))
pixsize_x, pixsize_y = split(readline(fim))
pixsize_x = parse(Float64, pixsize_x)
pixsize_y = parse(Float64, pixsize_y)
# Read the wavelength array
lams = Array{Float64}(nlam)
for i = 1:nlam
lams[i] = parse(Float64, readline(fim))
end
# Create an array with the proper size, and then read the file into it
data = Array{Float64}(im_ny, im_nx, nlam)
for k = 1:nlam
readline(fim) # Junk space
for j = 1:im_ny
for i = 1:im_nx
val = parse(Float64, readline(fim))
data[j,i,k] = val
# If RADMC3D signaled that there is no tau=1 surface here, set height to NaN
if isapprox(val, -1e91)
data[j,i,k] = NaN #
else
data[j,i,k] = val
end
end
end
end
close(fim)
# According to the RADMC3D manual, the units are *intensity* [erg cm−2 s−1 Hz−1 ster−1]
return TausurfImg(data, pixsize_x, pixsize_y, lams)
end
"Read the (x,y,z) positions of the ``\\tau=1`` pixels."
function taureadPos(file = "tausurface_3d.out")
fim = open(file, "r")
iformat = parse(Int, readline(fim))
im_nx, im_ny = split(readline(fim))
im_nx = parse(Int, im_nx)
im_ny = parse(Int, im_ny)
nlam = parse(Int, readline(fim))
# pixsize_x, pixsize_y = split(readline(fim))
# pixsize_x = parse(Float64, pixsize_x)
# pixsize_y = parse(Float64, pixsize_y)
# Read the wavelength array
lams = Array{Float64}(nlam)
for i = 1:nlam
lams[i] = parse(Float64, readline(fim))
end
# Create an array with the proper size, and then read the file into it
data_x = Array{Float64}(im_ny, im_nx, nlam)
data_y = Array{Float64}(im_ny, im_nx, nlam)
data_z = Array{Float64}(im_ny, im_nx, nlam)
# In contrast to the other image formats, apparently there is only a space before the lams, not inbetween lams.
readline(fim) # Junk space
for k = 1:nlam
for j = 1:im_ny
for i = 1:im_nx
val_x, val_y, val_z = split(readline(fim))
val_x = parse(Float64, val_x)
val_y = parse(Float64, val_y)
val_z = parse(Float64, val_z)
# If RADMC3D signaled that there is no tau=1 surface here (any of the xyz values are -1e91)
# then set the height to NaN
if isapprox(val_x, -1e91)
data_x[j,i,k] = NaN
data_y[j,i,k] = NaN
data_z[j,i,k] = NaN
else
data_x[j,i,k] = val_x
data_y[j,i,k] = val_y
data_z[j,i,k] = val_z
end
end
end
end
close(fim)
return TausurfPos(data_x, data_y, data_z, lams)
end
"
imToSky(img::RawImage, dpc::Float64)
Convert a `RawImage` to a `SkyImage`. Assumes dpc is parsecs."
function imToSky(img::RawImage, dpc::Float64)
# The RawImage is oriented with North up and East increasing to the left.
# this means that for the RawImage, the delta RA array goes from + to -
# However, the SkyImage actually requires RA (ll) in increasing form.
# Therefore we flip along the RA axis, fliplr(data) or flipdim(data, 2)
# println("Min and max intensity ", minimum(img.data), " ", maximum(img.data))
# println("Pixel size ", img.pixsize_x)
# println("Steradians subtended by each pixel ", img.pixsize_x * img.pixsize_y / (dpc * pc)^2)
# convert from ergs/s/cm^2/Hz/ster to to Jy/ster
conv = 1e23 # [Jy/ster]
# Conversion from erg/s/cm^2/Hz/ster to Jy/pixel at 1 pc distance.
# conv = 1e23 * img.pixsize_x * img.pixsize_y / (dpc * pc)^2
# Flip across RA dimension
# dataJy = flipdim(img.data, 2) .* conv
dataJy = reverse(img.data, dims = 2) .* conv
(im_ny, im_nx) = size(dataJy)[1:2] # y and x dimensions of the image
# The locations of pixel centers in cm
# if n_x = 16, goes [-7.5, -6.5, ..., -0.5, 0.5, ..., 6.5, 7.5] * pixsize
xx = ((Float64[i for i = 0:im_nx - 1] .+ 0.5) .- im_nx / 2.) * img.pixsize_x
yy = ((Float64[i for i = 0:im_ny - 1] .+ 0.5) .- im_ny / 2.) * img.pixsize_y
# The locations of the pixel centers in relative arcseconds
# Note both RA and DEC increase with array index.
ra = xx ./ (AU * dpc)
dec = yy ./ (AU * dpc)
return SkyImage(dataJy, ra, dec, img.lams)
end
"Take an image and integrate all the frames to create a spatially-integrated spectrum"
function imToSpec(img::SkyImage)
# pixels in SkyImage are Jy/ster
# convert from Jy/str to Jy/pixel using str/pixel
dRA = abs(img.ra[2] - img.ra[1]) * arcsec
dDEC = abs(img.dec[2] - img.dec[1]) * arcsec
# Add up all the flux in the pixels to create the spectrum
flux = dropdims(sum(img.data .* dRA .* dDEC, dims = (1, 2)), dims = (1, 2))
spec = hcat(img.lams, flux) # First column is wl, second is flux
return spec
end
"Calculate the integrated line flux"
function integrateSpec(spec::Matrix{Float64}, lam0::Float64)
# First column is wl, second is flux
wl = spec[:,1]
fl = spec[:,2]
# Convert wl to kms
vs = c_kms * (spec[:,1] .- lam0) / lam0
if vs[2] - vs[1] < 0
reverse!(vs)
reverse!(fl)
end
# println(vs)
# println(fl)
spl = Spline1D(vs, fl)
tot = integrate(spl, vs[1], vs[end])
return tot
end
"Storage for zeroth moment map"
mutable struct ZerothMoment <: Image
data::Array{Float64,2} # [Jy · Hz / pixel]
ra::Vector{Float64} # [arcsec]
dec::Vector{Float64} # [arcsec]
end
"
convert(::Type{ZerothMoment}, img::SkyImage)
Convert a `SkyImage` to a `ZerothMoment` map."
function convert(::Type{ZerothMoment}, img::SkyImage)
# Sum along the frequency axis
data = squeeze(sum(img.data, (3)), 3)
return ZerothMoment(data, img.ra, img.dec)
end
end # model
| [
2,
4149,
262,
2939,
5794,
3194,
416,
33540,
9655,
18,
35,
13,
198,
198,
2,
4149,
262,
355,
979,
72,
2420,
287,
4600,
9060,
13,
448,
63,
290,
21136,
1243,
656,
257,
513,
38517,
17593,
357,
87,
11,
331,
11,
37456,
8,
198,
198,
2,
383,
717,
1440,
3951,
389,
5794,
1321,
198,
2,
611,
579,
265,
1303,
796,
352,
357,
17,
318,
1957,
22890,
8,
198,
2,
545,
62,
77,
87,
220,
220,
545,
62,
3281,
1303,
17618,
286,
17848,
287,
2124,
290,
331,
11678,
198,
2,
299,
2543,
1303,
1271,
286,
4263,
379,
1180,
45656,
198,
2,
279,
844,
7857,
62,
87,
220,
279,
844,
7857,
62,
88,
1303,
2546,
286,
262,
17848,
287,
12067,
198,
2,
37456,
58,
16,
60,
2644,
37456,
58,
77,
2543,
1343,
352,
60,
1303,
45656,
357,
388,
8,
1162,
4363,
1571,
284,
4263,
198,
2,
17848,
11,
6149,
422,
1364,
284,
826,
357,
42647,
2124,
8,
287,
262,
8434,
9052,
11,
290,
422,
4220,
284,
1353,
357,
42647,
331,
8,
287,
262,
12076,
9052,
13,
843,
28400,
318,
262,
12076,
1712,
9052,
13,
198,
198,
1,
464,
2939,
8265,
4909,
2972,
1366,
3858,
329,
3555,
290,
4769,
4263,
4635,
416,
262,
19772,
876,
4351,
4056,
357,
8869,
4600,
49,
2885,
9655,
12,
18,
35,
63,
828,
355,
880,
355,
31878,
329,
7587,
777,
4263,
526,
198,
21412,
2939,
198,
198,
39344,
545,
961,
11,
545,
2514,
22308,
11,
545,
2514,
22882,
11,
5274,
5159,
11,
532,
198,
39344,
20486,
495,
324,
3546,
70,
11,
20486,
495,
324,
21604,
198,
198,
3500,
11485,
9979,
1187,
198,
2,
1330,
5382,
1303,
383,
5382,
13,
20362,
5301,
11,
407,
18552,
266,
14,
31664,
41,
8337,
198,
2,
1262,
360,
959,
694,
87,
198,
198,
11748,
7308,
7874,
1303,
9117,
428,
329,
7412,
198,
198,
2,
2896,
500,
281,
2939,
2099,
11,
543,
460,
3650,
262,
1366,
355,
880,
355,
17465,
31050,
198,
198,
397,
8709,
2099,
7412,
886,
198,
198,
1,
198,
220,
220,
220,
16089,
5159,
7,
7890,
11,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
11,
300,
4105,
8,
198,
198,
26807,
262,
8246,
5072,
422,
4600,
49,
2885,
9655,
12,
18,
35,
63,
287,
257,
513,
35,
7177,
357,
37659,
844,
62,
88,
11,
45941,
844,
62,
87,
11,
299,
2543,
737,
198,
27369,
5159,
12497,
262,
33540,
9655,
9831,
326,
1111,
2124,
290,
331,
389,
3649,
198,
4480,
7177,
6376,
13,
770,
1724,
326,
284,
3359,
262,
2939,
355,
33540,
9655,
19582,
340,
11,
198,
5832,
1276,
900,
262,
717,
7177,
5002,
284,
262,
2793,
1364,
5228,
526,
198,
76,
18187,
2878,
16089,
5159,
1279,
25,
7412,
198,
220,
220,
220,
1366,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
685,
6422,
82,
14,
82,
14,
11215,
61,
17,
14,
7399,
14,
1706,
60,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
3712,
43879,
2414,
1303,
685,
11215,
60,
198,
220,
220,
220,
279,
844,
7857,
62,
88,
3712,
43879,
2414,
1303,
685,
11215,
60,
198,
220,
220,
220,
300,
4105,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
34703,
76,
60,
198,
437,
198,
198,
1,
22308,
5159,
318,
257,
15762,
326,
468,
1111,
17926,
290,
27196,
3649,
351,
7177,
6376,
198,
1212,
9831,
318,
3306,
329,
262,
376,
9792,
2239,
198,
4864,
11,
284,
3359,
428,
2939,
287,
262,
4569,
6766,
9831,
357,
14157,
510,
11,
198,
25234,
284,
262,
1364,
828,
345,
1276,
900,
262,
717,
7177,
5002,
284,
262,
2793,
1364,
198,
10215,
1008,
1635,
392,
9,
14283,
262,
7177,
1863,
262,
17926,
16488,
25,
4600,
2704,
24705,
81,
7,
7890,
8,
63,
393,
14283,
27740,
7,
7890,
11,
362,
16725,
198,
76,
18187,
2878,
5274,
5159,
1279,
25,
7412,
198,
220,
220,
220,
1366,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
685,
41,
88,
14,
32515,
60,
198,
220,
220,
220,
2179,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
5605,
2363,
60,
198,
220,
220,
220,
875,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
5605,
2363,
60,
198,
220,
220,
220,
300,
4105,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
34703,
76,
60,
198,
437,
198,
198,
1,
51,
8717,
333,
69,
5159,
318,
3562,
284,
1745,
262,
2482,
286,
262,
33540,
9655,
12,
18,
35,
4600,
8326,
385,
333,
69,
63,
4905,
13,
770,
318,
198,
464,
5253,
287,
12067,
2029,
393,
2174,
262,
6614,
13875,
298,
284,
262,
22890,
11,
543,
36177,
82,
262,
8159,
286,
262,
2746,
13,
198,
198,
4863,
262,
33540,
9655,
18,
35,
10107,
25,
198,
464,
2939,
5072,
2393,
2939,
13,
448,
481,
783,
3994,
11,
329,
1123,
17465,
11,
262,
2292,
1863,
262,
26842,
287,
48829,
810,
46651,
796,
46651,
82,
13,
383,
6632,
966,
318,
262,
4417,
47190,
284,
262,
4571,
286,
13432,
11,
1016,
832,
262,
10609,
2292,
357,
4758,
318,
11,
416,
4277,
262,
8159,
357,
15,
11,
657,
11,
657,
29720,
33733,
3815,
1612,
326,
262,
4417,
318,
5699,
284,
262,
22890,
621,
262,
6614,
11,
981,
4633,
3815,
1612,
326,
262,
4417,
318,
2157,
262,
6614,
13,
198,
2396,
329,
428,
4818,
459,
5620,
11,
340,
338,
262,
976,
1517,
355,
16089,
5159,
11,
655,
2427,
286,
12245,
11,
356,
423,
5253,
2029,
14,
35993,
6614,
526,
198,
76,
18187,
2878,
309,
8717,
333,
69,
3546,
70,
1279,
25,
7412,
198,
220,
220,
220,
1366,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
12067,
2029,
14,
42200,
4318,
13301,
6614,
286,
11898,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
3712,
43879,
2414,
1303,
685,
11215,
60,
198,
220,
220,
220,
279,
844,
7857,
62,
88,
3712,
43879,
2414,
1303,
685,
11215,
60,
198,
220,
220,
220,
300,
4105,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
34703,
76,
60,
198,
437,
198,
198,
1,
27195,
1686,
15968,
262,
513,
35,
2292,
286,
262,
17848,
10200,
262,
256,
559,
28,
16,
4417,
11,
287,
262,
976,
4818,
1077,
1758,
355,
262,
2939,
13,
198,
1890,
1123,
17465,
11,
428,
318,
262,
2124,
11,
331,
11,
393,
1976,
2292,
526,
198,
76,
18187,
2878,
309,
8717,
333,
69,
21604,
198,
220,
220,
220,
1366,
62,
87,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
685,
11215,
60,
198,
220,
220,
220,
1366,
62,
88,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
685,
11215,
60,
198,
220,
220,
220,
1366,
62,
89,
3712,
19182,
90,
43879,
2414,
11,
18,
92,
1303,
685,
11215,
60,
198,
220,
220,
220,
300,
4105,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
34703,
76,
60,
198,
437,
198,
198,
1,
7004,
83,
7861,
329,
4600,
22308,
5159,
63,
82,
1,
198,
8818,
532,
7,
9600,
16,
3712,
22308,
5159,
11,
33705,
17,
3712,
22308,
5159,
8,
198,
220,
220,
220,
1303,
2488,
30493,
33705,
16,
13,
2543,
82,
6624,
33705,
17,
13,
2543,
82,
366,
29398,
1276,
423,
262,
976,
45656,
526,
198,
220,
220,
220,
2488,
30493,
318,
1324,
13907,
7,
9600,
16,
13,
430,
11,
33705,
17,
13,
430,
8,
366,
29398,
1276,
423,
976,
17926,
22715,
526,
198,
220,
220,
220,
2488,
30493,
318,
1324,
13907,
7,
9600,
16,
13,
12501,
11,
33705,
17,
13,
12501,
8,
366,
29398,
1276,
423,
976,
27196,
22715,
526,
198,
220,
220,
220,
1366,
796,
33705,
16,
13,
7890,
532,
33705,
17,
13,
7890,
198,
220,
220,
220,
1441,
5274,
5159,
7,
7890,
11,
33705,
16,
13,
430,
11,
33705,
16,
13,
12501,
11,
33705,
16,
13,
2543,
82,
8,
198,
437,
198,
198,
1,
22308,
5159,
23772,
329,
655,
257,
2060,
5739,
1,
198,
22308,
5159,
7,
7890,
3712,
46912,
90,
43879,
2414,
5512,
2179,
3712,
38469,
90,
43879,
2414,
5512,
875,
3712,
38469,
90,
43879,
2414,
5512,
30592,
3712,
43879,
2414,
8,
796,
198,
22308,
5159,
7,
3447,
1758,
7,
7890,
11,
46545,
7,
7857,
7,
7890,
26513,
11,
352,
36911,
2179,
11,
875,
11,
685,
2543,
12962,
198,
198,
1,
198,
220,
220,
220,
545,
961,
7,
7753,
17553,
9060,
13,
448,
59,
4943,
198,
198,
5569,
262,
2939,
2393,
357,
12286,
28,
9060,
13,
448,
8,
290,
1441,
340,
355,
281,
7412,
2134,
11,
543,
4909,
262,
28462,
274,
287,
449,
88,
14,
32515,
11,
198,
1169,
10620,
290,
7064,
286,
262,
17848,
287,
10389,
43012,
11,
290,
262,
45656,
357,
259,
12314,
12212,
8,
11188,
284,
262,
4263,
1,
198,
8818,
545,
961,
7,
7753,
796,
366,
9060,
13,
448,
4943,
628,
220,
220,
220,
277,
320,
796,
1280,
7,
7753,
11,
366,
81,
4943,
198,
220,
220,
220,
611,
579,
265,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
11,
545,
62,
3281,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
796,
21136,
7,
5317,
11,
545,
62,
77,
87,
8,
198,
220,
220,
220,
545,
62,
3281,
796,
21136,
7,
5317,
11,
545,
62,
3281,
8,
198,
220,
220,
220,
299,
2543,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
87,
8,
198,
220,
220,
220,
279,
844,
7857,
62,
88,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
88,
8,
628,
220,
220,
220,
1303,
4149,
262,
28400,
7177,
198,
220,
220,
220,
300,
4105,
796,
15690,
90,
43879,
2414,
92,
7,
917,
891,
11,
299,
2543,
8,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
300,
4105,
58,
72,
60,
796,
21136,
7,
43879,
2414,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
13610,
281,
7177,
351,
262,
1774,
2546,
11,
290,
788,
1100,
262,
2393,
656,
340,
198,
220,
220,
220,
1366,
796,
15690,
90,
43879,
2414,
92,
7,
917,
891,
11,
545,
62,
3281,
11,
545,
62,
77,
87,
11,
299,
2543,
8,
628,
220,
220,
220,
1303,
4784,
284,
262,
33540,
9655,
10107,
11,
2665,
317,
13,
1314,
11,
262,
17848,
389,
6149,
198,
220,
220,
220,
1303,
1364,
284,
826,
357,
42647,
2124,
8,
287,
262,
8434,
9052,
11,
290,
422,
4220,
284,
1353,
198,
220,
220,
220,
1303,
357,
42647,
331,
8,
287,
262,
12076,
9052,
13,
198,
220,
220,
220,
1303,
20759,
11,
2353,
262,
7177,
287,
1502,
475,
3359,
351,
8159,
28,
21037,
13,
628,
220,
220,
220,
1303,
4362,
286,
262,
835,
281,
2939,
318,
8574,
355,
257,
17593,
11,
356,
1682,
2353,
262,
198,
220,
220,
220,
1303,
7177,
36525,
355,
1366,
58,
88,
11,
2124,
11,
30592,
60,
198,
220,
220,
220,
1303,
2511,
23209,
18,
67,
20519,
41885,
1223,
2092,
416,
5291,
36525,
262,
2124,
11,
88,
475,
198,
220,
220,
220,
1303,
1509,
9269,
9052,
1502,
357,
6335,
23209,
20519,
14,
9060,
13,
9078,
25,
1370,
718,
2425,
8,
198,
220,
220,
220,
329,
479,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
1370,
7,
69,
320,
8,
1303,
34980,
2272,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
320,
62,
3281,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
320,
62,
77,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
73,
11,
72,
11,
74,
60,
796,
21136,
7,
43879,
2414,
11,
1100,
1370,
7,
69,
320,
4008,
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,
1969,
7,
69,
320,
8,
628,
220,
220,
220,
1303,
4784,
284,
262,
33540,
9655,
18,
35,
10107,
11,
262,
4991,
389,
1635,
47799,
9,
685,
6422,
12067,
14095,
17,
264,
14095,
16,
26109,
14095,
16,
12504,
14095,
16,
60,
628,
220,
220,
220,
1441,
16089,
5159,
7,
7890,
11,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
11,
300,
4105,
8,
198,
437,
198,
198,
1,
198,
220,
220,
220,
20486,
495,
324,
3546,
70,
7,
7753,
17553,
9060,
62,
8326,
385,
333,
69,
13,
448,
59,
4943,
198,
198,
7594,
545,
961,
11,
475,
329,
256,
8717,
333,
69,
13,
350,
14810,
326,
423,
645,
7559,
6852,
83,
559,
15506,
4417,
389,
900,
284,
4600,
26705,
45,
63,
526,
198,
8818,
20486,
495,
324,
3546,
70,
7,
7753,
796,
366,
9060,
62,
8326,
385,
333,
69,
13,
448,
4943,
198,
220,
220,
220,
277,
320,
796,
1280,
7,
7753,
11,
366,
81,
4943,
198,
220,
220,
220,
611,
579,
265,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
11,
545,
62,
3281,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
796,
21136,
7,
5317,
11,
545,
62,
77,
87,
8,
198,
220,
220,
220,
545,
62,
3281,
796,
21136,
7,
5317,
11,
545,
62,
3281,
8,
198,
220,
220,
220,
299,
2543,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
279,
844,
7857,
62,
87,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
87,
8,
198,
220,
220,
220,
279,
844,
7857,
62,
88,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
88,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
4149,
262,
28400,
7177,
198,
220,
220,
220,
300,
4105,
796,
15690,
90,
43879,
2414,
92,
7,
77,
2543,
8,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
300,
4105,
58,
72,
60,
796,
21136,
7,
43879,
2414,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
13610,
281,
7177,
351,
262,
1774,
2546,
11,
290,
788,
1100,
262,
2393,
656,
340,
198,
220,
220,
220,
1366,
796,
15690,
90,
43879,
2414,
92,
7,
320,
62,
3281,
11,
545,
62,
77,
87,
11,
299,
2543,
8,
628,
220,
220,
220,
329,
479,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
1100,
1370,
7,
69,
320,
8,
1303,
34980,
2272,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
320,
62,
3281,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
320,
62,
77,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
796,
21136,
7,
43879,
2414,
11,
1100,
1370,
7,
69,
320,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
73,
11,
72,
11,
74,
60,
796,
1188,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
33540,
9655,
18,
35,
34676,
326,
612,
318,
645,
256,
559,
28,
16,
4417,
994,
11,
900,
6001,
284,
11013,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
1324,
13907,
7,
2100,
11,
532,
16,
68,
6420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
73,
11,
72,
11,
74,
60,
796,
11013,
45,
1303,
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,
1366,
58,
73,
11,
72,
11,
74,
60,
796,
1188,
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,
1969,
7,
69,
320,
8,
628,
220,
220,
220,
1303,
4784,
284,
262,
33540,
9655,
18,
35,
10107,
11,
262,
4991,
389,
1635,
47799,
9,
685,
6422,
12067,
14095,
17,
264,
14095,
16,
26109,
14095,
16,
12504,
14095,
16,
60,
628,
220,
220,
220,
1441,
309,
8717,
333,
69,
3546,
70,
7,
7890,
11,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
11,
300,
4105,
8,
198,
198,
437,
198,
198,
1,
5569,
262,
357,
87,
11,
88,
11,
89,
8,
6116,
286,
262,
7559,
6852,
83,
559,
28,
16,
15506,
17848,
526,
198,
8818,
20486,
495,
324,
21604,
7,
7753,
796,
366,
8326,
385,
333,
2550,
62,
18,
67,
13,
448,
4943,
198,
220,
220,
220,
277,
320,
796,
1280,
7,
7753,
11,
366,
81,
4943,
198,
220,
220,
220,
611,
579,
265,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
11,
545,
62,
3281,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
545,
62,
77,
87,
796,
21136,
7,
5317,
11,
545,
62,
77,
87,
8,
198,
220,
220,
220,
545,
62,
3281,
796,
21136,
7,
5317,
11,
545,
62,
3281,
8,
198,
220,
220,
220,
299,
2543,
796,
21136,
7,
5317,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
1303,
279,
844,
7857,
62,
87,
11,
279,
844,
7857,
62,
88,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
1303,
279,
844,
7857,
62,
87,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
87,
8,
198,
220,
220,
220,
1303,
279,
844,
7857,
62,
88,
796,
21136,
7,
43879,
2414,
11,
279,
844,
7857,
62,
88,
8,
628,
220,
220,
220,
1303,
4149,
262,
28400,
7177,
198,
220,
220,
220,
300,
4105,
796,
15690,
90,
43879,
2414,
92,
7,
77,
2543,
8,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
300,
4105,
58,
72,
60,
796,
21136,
7,
43879,
2414,
11,
1100,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
13610,
281,
7177,
351,
262,
1774,
2546,
11,
290,
788,
1100,
262,
2393,
656,
340,
198,
220,
220,
220,
1366,
62,
87,
796,
15690,
90,
43879,
2414,
92,
7,
320,
62,
3281,
11,
545,
62,
77,
87,
11,
299,
2543,
8,
198,
220,
220,
220,
1366,
62,
88,
796,
15690,
90,
43879,
2414,
92,
7,
320,
62,
3281,
11,
545,
62,
77,
87,
11,
299,
2543,
8,
198,
220,
220,
220,
1366,
62,
89,
796,
15690,
90,
43879,
2414,
92,
7,
320,
62,
3281,
11,
545,
62,
77,
87,
11,
299,
2543,
8,
628,
220,
220,
220,
1303,
554,
6273,
284,
262,
584,
2939,
17519,
11,
5729,
612,
318,
691,
257,
2272,
878,
262,
300,
4105,
11,
407,
287,
23395,
300,
4105,
13,
198,
220,
220,
220,
1100,
1370,
7,
69,
320,
8,
1303,
34980,
2272,
628,
220,
220,
220,
329,
479,
796,
352,
25,
77,
2543,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
796,
352,
25,
320,
62,
3281,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
320,
62,
77,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
87,
11,
1188,
62,
88,
11,
1188,
62,
89,
796,
6626,
7,
961,
1370,
7,
69,
320,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
87,
796,
21136,
7,
43879,
2414,
11,
1188,
62,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
88,
796,
21136,
7,
43879,
2414,
11,
1188,
62,
88,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
89,
796,
21136,
7,
43879,
2414,
11,
1188,
62,
89,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
33540,
9655,
18,
35,
34676,
326,
612,
318,
645,
256,
559,
28,
16,
4417,
994,
357,
1092,
286,
262,
2124,
45579,
3815,
389,
532,
16,
68,
6420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
788,
900,
262,
6001,
284,
11013,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
1324,
13907,
7,
2100,
62,
87,
11,
532,
16,
68,
6420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
87,
58,
73,
11,
72,
11,
74,
60,
796,
11013,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
88,
58,
73,
11,
72,
11,
74,
60,
796,
11013,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
89,
58,
73,
11,
72,
11,
74,
60,
796,
11013,
45,
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,
1366,
62,
87,
58,
73,
11,
72,
11,
74,
60,
796,
1188,
62,
87,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
88,
58,
73,
11,
72,
11,
74,
60,
796,
1188,
62,
88,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
89,
58,
73,
11,
72,
11,
74,
60,
796,
1188,
62,
89,
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,
1969,
7,
69,
320,
8,
628,
220,
220,
220,
1441,
309,
8717,
333,
69,
21604,
7,
7890,
62,
87,
11,
1366,
62,
88,
11,
1366,
62,
89,
11,
300,
4105,
8,
198,
198,
437,
198,
198,
1,
198,
220,
220,
220,
545,
2514,
22308,
7,
9600,
3712,
27369,
5159,
11,
288,
14751,
3712,
43879,
2414,
8,
198,
198,
3103,
1851,
257,
4600,
27369,
5159,
63,
284,
257,
4600,
22308,
5159,
44646,
2195,
8139,
288,
14751,
318,
1582,
2363,
82,
526,
198,
8818,
545,
2514,
22308,
7,
9600,
3712,
27369,
5159,
11,
288,
14751,
3712,
43879,
2414,
8,
628,
220,
220,
220,
1303,
383,
16089,
5159,
318,
25921,
351,
2258,
510,
290,
3687,
3649,
284,
262,
1364,
13,
198,
220,
220,
220,
1303,
428,
1724,
326,
329,
262,
16089,
5159,
11,
262,
25979,
17926,
7177,
2925,
422,
1343,
284,
532,
628,
220,
220,
220,
1303,
2102,
11,
262,
5274,
5159,
1682,
4433,
17926,
357,
297,
8,
287,
3649,
1296,
13,
198,
220,
220,
220,
1303,
8447,
356,
14283,
1863,
262,
17926,
16488,
11,
781,
24705,
81,
7,
7890,
8,
393,
14283,
27740,
7,
7890,
11,
362,
8,
628,
220,
220,
220,
1303,
44872,
7203,
9452,
290,
3509,
12245,
33172,
5288,
7,
9600,
13,
7890,
828,
366,
33172,
5415,
7,
9600,
13,
7890,
4008,
198,
220,
220,
220,
1303,
44872,
7203,
40809,
2546,
33172,
33705,
13,
79,
844,
7857,
62,
87,
8,
198,
220,
220,
220,
1303,
44872,
7203,
50,
353,
324,
1547,
13284,
1631,
416,
1123,
17465,
33172,
220,
33705,
13,
79,
844,
7857,
62,
87,
1635,
33705,
13,
79,
844,
7857,
62,
88,
1220,
357,
67,
14751,
1635,
40653,
8,
61,
17,
8,
628,
220,
220,
220,
1303,
10385,
422,
1931,
14542,
14,
82,
14,
11215,
61,
17,
14,
7399,
14,
1706,
284,
284,
449,
88,
14,
1706,
198,
220,
220,
220,
3063,
796,
352,
68,
1954,
1303,
685,
41,
88,
14,
1706,
60,
628,
220,
220,
220,
1303,
44101,
422,
39035,
14,
82,
14,
11215,
61,
17,
14,
7399,
14,
1706,
284,
449,
88,
14,
32515,
379,
352,
40653,
5253,
13,
198,
220,
220,
220,
1303,
3063,
796,
352,
68,
1954,
1635,
33705,
13,
79,
844,
7857,
62,
87,
1635,
33705,
13,
79,
844,
7857,
62,
88,
1220,
357,
67,
14751,
1635,
40653,
8,
61,
17,
628,
220,
220,
220,
1303,
29583,
1973,
17926,
15793,
198,
220,
220,
220,
1303,
1366,
41,
88,
796,
14283,
27740,
7,
9600,
13,
7890,
11,
362,
8,
764,
9,
3063,
198,
220,
220,
220,
1366,
41,
88,
796,
9575,
7,
9600,
13,
7890,
11,
5391,
82,
796,
362,
8,
764,
9,
3063,
628,
220,
220,
220,
357,
320,
62,
3281,
11,
545,
62,
77,
87,
8,
796,
2546,
7,
7890,
41,
88,
38381,
16,
25,
17,
60,
1303,
331,
290,
2124,
15225,
286,
262,
2939,
628,
220,
220,
220,
1303,
383,
7064,
286,
17465,
10399,
287,
12067,
198,
220,
220,
220,
1303,
611,
299,
62,
87,
796,
1467,
11,
2925,
25915,
22,
13,
20,
11,
532,
21,
13,
20,
11,
2644,
11,
532,
15,
13,
20,
11,
657,
13,
20,
11,
2644,
11,
718,
13,
20,
11,
767,
13,
20,
60,
1635,
279,
844,
7857,
198,
220,
220,
220,
31383,
796,
14808,
43879,
2414,
58,
72,
329,
1312,
796,
657,
25,
320,
62,
77,
87,
532,
352,
60,
764,
10,
657,
13,
20,
8,
764,
12,
545,
62,
77,
87,
1220,
362,
2014,
1635,
33705,
13,
79,
844,
7857,
62,
87,
198,
220,
220,
220,
331,
88,
796,
14808,
43879,
2414,
58,
72,
329,
1312,
796,
657,
25,
320,
62,
3281,
532,
352,
60,
764,
10,
657,
13,
20,
8,
764,
12,
545,
62,
3281,
1220,
362,
2014,
1635,
33705,
13,
79,
844,
7857,
62,
88,
628,
220,
220,
220,
1303,
383,
7064,
286,
262,
17465,
10399,
287,
3585,
10389,
43012,
198,
220,
220,
220,
1303,
5740,
1111,
17926,
290,
27196,
2620,
351,
7177,
6376,
13,
198,
220,
220,
220,
2179,
796,
31383,
24457,
357,
26830,
1635,
288,
14751,
8,
198,
220,
220,
220,
875,
796,
331,
88,
24457,
357,
26830,
1635,
288,
14751,
8,
628,
220,
220,
220,
1441,
5274,
5159,
7,
7890,
41,
88,
11,
2179,
11,
875,
11,
33705,
13,
2543,
82,
8,
198,
198,
437,
628,
198,
1,
12322,
281,
2939,
290,
19386,
477,
262,
13431,
284,
2251,
257,
15246,
1927,
12,
18908,
4111,
10958,
1,
198,
8818,
545,
2514,
22882,
7,
9600,
3712,
22308,
5159,
8,
628,
220,
220,
220,
1303,
17848,
287,
5274,
5159,
389,
449,
88,
14,
1706,
628,
220,
220,
220,
1303,
10385,
422,
449,
88,
14,
2536,
284,
449,
88,
14,
32515,
1262,
965,
14,
32515,
198,
220,
220,
220,
288,
3861,
796,
2352,
7,
9600,
13,
430,
58,
17,
60,
532,
33705,
13,
430,
58,
16,
12962,
1635,
10389,
2363,
198,
220,
220,
220,
288,
41374,
796,
2352,
7,
9600,
13,
12501,
58,
17,
60,
532,
33705,
13,
12501,
58,
16,
12962,
1635,
10389,
2363,
628,
220,
220,
220,
1303,
3060,
510,
477,
262,
28462,
287,
262,
17848,
284,
2251,
262,
10958,
198,
220,
220,
220,
28462,
796,
4268,
67,
12078,
7,
16345,
7,
9600,
13,
7890,
764,
9,
288,
3861,
764,
9,
288,
41374,
11,
5391,
82,
796,
357,
16,
11,
362,
36911,
5391,
82,
796,
357,
16,
11,
362,
4008,
198,
220,
220,
220,
1020,
796,
289,
9246,
7,
9600,
13,
2543,
82,
11,
28462,
8,
1303,
3274,
5721,
318,
266,
75,
11,
1218,
318,
28462,
628,
220,
220,
220,
1441,
1020,
198,
437,
198,
198,
1,
9771,
3129,
378,
262,
11521,
1627,
28462,
1,
198,
8818,
19386,
22882,
7,
16684,
3712,
46912,
90,
43879,
2414,
5512,
30592,
15,
3712,
43879,
2414,
8,
198,
220,
220,
220,
1303,
3274,
5721,
318,
266,
75,
11,
1218,
318,
28462,
628,
220,
220,
220,
266,
75,
796,
1020,
58,
45299,
16,
60,
198,
220,
220,
220,
781,
796,
1020,
58,
45299,
17,
60,
628,
220,
220,
220,
1303,
38240,
266,
75,
284,
479,
907,
198,
220,
220,
220,
3691,
796,
269,
62,
74,
907,
1635,
357,
16684,
58,
45299,
16,
60,
764,
12,
30592,
15,
8,
1220,
30592,
15,
628,
220,
220,
220,
611,
3691,
58,
17,
60,
532,
3691,
58,
16,
60,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
9575,
0,
7,
14259,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9575,
0,
7,
2704,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
44872,
7,
14259,
8,
198,
220,
220,
220,
1303,
44872,
7,
2704,
8,
628,
220,
220,
220,
4328,
796,
13341,
500,
16,
35,
7,
14259,
11,
781,
8,
198,
220,
220,
220,
2006,
796,
19386,
7,
22018,
11,
3691,
58,
16,
4357,
3691,
58,
437,
12962,
628,
220,
220,
220,
1441,
2006,
198,
437,
198,
220,
220,
220,
220,
198,
1,
31425,
329,
1976,
263,
849,
2589,
3975,
1,
198,
76,
18187,
2878,
37028,
849,
29252,
298,
1279,
25,
7412,
198,
220,
220,
1366,
3712,
19182,
90,
43879,
2414,
11,
17,
92,
1303,
685,
41,
88,
14128,
26109,
1220,
17465,
60,
198,
220,
220,
2179,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
5605,
2363,
60,
198,
220,
220,
875,
3712,
38469,
90,
43879,
2414,
92,
1303,
685,
5605,
2363,
60,
198,
437,
198,
198,
1,
198,
220,
220,
220,
10385,
7,
3712,
6030,
90,
57,
263,
849,
29252,
298,
5512,
33705,
3712,
22308,
5159,
8,
198,
198,
3103,
1851,
257,
4600,
22308,
5159,
63,
284,
257,
4600,
57,
263,
849,
29252,
298,
63,
3975,
526,
198,
8818,
10385,
7,
3712,
6030,
90,
57,
263,
849,
29252,
298,
5512,
33705,
3712,
22308,
5159,
8,
198,
220,
220,
220,
1303,
5060,
1863,
262,
8373,
16488,
198,
220,
220,
220,
1366,
796,
21229,
7,
16345,
7,
9600,
13,
7890,
11,
357,
18,
36911,
513,
8,
198,
220,
220,
220,
1441,
37028,
849,
29252,
298,
7,
7890,
11,
33705,
13,
430,
11,
33705,
13,
12501,
8,
198,
437,
198,
198,
437,
1303,
2746,
198
] | 2.425889 | 5,060 |
using GeneratorsX
@generator function f(xs)
for y in xs
for x in y
@yield x
end
end
end
collect(f([[1], [2, 3], [4, 5]]))
| [
3500,
2980,
2024,
55,
198,
31,
8612,
1352,
2163,
277,
7,
34223,
8,
198,
220,
220,
220,
329,
331,
287,
2124,
82,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2124,
287,
331,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
88,
1164,
2124,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
33327,
7,
69,
26933,
58,
16,
4357,
685,
17,
11,
513,
4357,
685,
19,
11,
642,
11907,
4008,
198
] | 1.837209 | 86 |
module CommonSubexpressions
export @cse, cse
struct Cache
args_to_symbol::Dict{Symbol, Symbol}
disqualified_symbols::Set{Symbol}
setup::Vector{Expr}
end
Cache() = Cache(Dict{Symbol,Symbol}(), Set{Symbol}(), Vector{Expr}())
function add_element!(cache::Cache, name, expr::Expr)
sym = gensym(expr.args[1])
cache.args_to_symbol[name] = sym
push!(cache.setup, :($sym = $(expr)))
sym
end
disqualify!(cache::Cache, x) = nothing
disqualify!(cache::Cache, s::Symbol) = push!(cache.disqualified_symbols, s)
disqualify!(cache::Cache, expr::Expr) = foreach(arg -> disqualify!(cache, arg), expr.args)
# fallback for non-Expr arguments
combine_subexprs!(setup, expr, warn_enabled::Bool) = expr
const standard_expression_forms = Set{Symbol}(
(:call,
:block,
:comprehension,
:(=>),
:(:),
:(&),
:(&&),
:(|),
:(||),
:tuple,
:for,
:ref,
:macrocall,
Symbol("'")))
const assignment_expression_forms = Set{Symbol}(
(:(=),
:(+=),
:(-=),
:(*=),
:(/=)))
function combine_subexprs!(cache::Cache, expr::Expr, warn_enabled::Bool)
if expr.head == :function
# We can't continue CSE through a function definition, but we can
# start over inside the body of the function:
for i in 2:length(expr.args)
expr.args[i] = combine_subexprs!(expr.args[i], warn_enabled)
end
elseif expr.head == :line
# nothing
elseif expr.head in assignment_expression_forms
disqualify!(cache, expr.args[1])
for i in 2:length(expr.args)
expr.args[i] = combine_subexprs!(cache, expr.args[i], warn_enabled)
end
elseif expr.head == :generator
for i in vcat(2:length(expr.args), 1)
expr.args[i] = combine_subexprs!(cache, expr.args[i], warn_enabled)
end
elseif expr.head in standard_expression_forms
for (i, child) in enumerate(expr.args)
expr.args[i] = combine_subexprs!(cache, child, warn_enabled)
end
if expr.head == :call
for (i, child) in enumerate(expr.args)
expr.args[i] = combine_subexprs!(cache, child, warn_enabled)
end
if all(!isa(arg, Expr) && !(arg in cache.disqualified_symbols) for arg in expr.args)
combined_args = Symbol(expr.args...)
if !haskey(cache.args_to_symbol, combined_args)
sym = add_element!(cache, combined_args, expr)
else
sym = cache.args_to_symbol[combined_args]
end
return sym
else
end
end
else
warn_enabled && warn("CommonSubexpressions can't yet handle expressions of this form: $(expr.head)")
end
return expr
end
combine_subexprs!(x, warn_enabled::Bool = true) = x
function combine_subexprs!(expr::Expr, warn_enabled::Bool)
cache = Cache()
expr = combine_subexprs!(cache, expr, warn_enabled)
Expr(:block, cache.setup..., expr)
end
macro cse(expr, warn_enabled::Bool = true)
result = combine_subexprs!(expr, warn_enabled)
# println(result)
esc(result)
end
cse(expr, warn_enabled::Bool = true) = combine_subexprs!(copy(expr), warn_enabled)
end
| [
21412,
8070,
7004,
42712,
507,
198,
198,
39344,
2488,
66,
325,
11,
269,
325,
198,
198,
7249,
34088,
198,
220,
220,
220,
26498,
62,
1462,
62,
1837,
23650,
3712,
35,
713,
90,
13940,
23650,
11,
38357,
92,
198,
220,
220,
220,
40650,
62,
1837,
2022,
10220,
3712,
7248,
90,
13940,
23650,
92,
198,
220,
220,
220,
9058,
3712,
38469,
90,
3109,
1050,
92,
198,
437,
198,
198,
30562,
3419,
796,
34088,
7,
35,
713,
90,
13940,
23650,
11,
13940,
23650,
92,
22784,
5345,
90,
13940,
23650,
92,
22784,
20650,
90,
3109,
1050,
92,
28955,
198,
198,
8818,
751,
62,
30854,
0,
7,
23870,
3712,
30562,
11,
1438,
11,
44052,
3712,
3109,
1050,
8,
198,
220,
220,
220,
5659,
796,
308,
641,
4948,
7,
31937,
13,
22046,
58,
16,
12962,
198,
220,
220,
220,
12940,
13,
22046,
62,
1462,
62,
1837,
23650,
58,
3672,
60,
796,
5659,
198,
220,
220,
220,
4574,
0,
7,
23870,
13,
40406,
11,
1058,
16763,
37047,
796,
29568,
31937,
22305,
198,
220,
220,
220,
5659,
198,
437,
198,
198,
6381,
13255,
1958,
0,
7,
23870,
3712,
30562,
11,
2124,
8,
796,
2147,
198,
6381,
13255,
1958,
0,
7,
23870,
3712,
30562,
11,
264,
3712,
13940,
23650,
8,
796,
4574,
0,
7,
23870,
13,
6381,
22557,
62,
1837,
2022,
10220,
11,
264,
8,
198,
6381,
13255,
1958,
0,
7,
23870,
3712,
30562,
11,
44052,
3712,
3109,
1050,
8,
796,
1674,
620,
7,
853,
4613,
31901,
1958,
0,
7,
23870,
11,
1822,
828,
44052,
13,
22046,
8,
198,
198,
2,
2121,
1891,
329,
1729,
12,
3109,
1050,
7159,
198,
24011,
500,
62,
7266,
31937,
82,
0,
7,
40406,
11,
44052,
11,
9828,
62,
25616,
3712,
33,
970,
8,
796,
44052,
198,
198,
9979,
3210,
62,
38011,
62,
23914,
796,
5345,
90,
13940,
23650,
92,
7,
198,
220,
220,
220,
357,
25,
13345,
11,
198,
220,
220,
220,
220,
1058,
9967,
11,
198,
220,
220,
220,
220,
1058,
785,
3866,
5135,
295,
11,
198,
220,
220,
220,
220,
36147,
14804,
828,
198,
220,
220,
220,
220,
36147,
25,
828,
198,
220,
220,
220,
220,
36147,
5,
828,
198,
220,
220,
220,
220,
36147,
25226,
828,
198,
220,
220,
220,
220,
36147,
91,
828,
198,
220,
220,
220,
220,
36147,
15886,
828,
198,
220,
220,
220,
220,
1058,
83,
29291,
11,
198,
220,
220,
220,
220,
1058,
1640,
11,
198,
220,
220,
220,
220,
1058,
5420,
11,
198,
220,
220,
220,
220,
1058,
20285,
12204,
439,
11,
198,
220,
220,
220,
220,
38357,
7203,
29653,
22305,
198,
198,
9979,
16237,
62,
38011,
62,
23914,
796,
5345,
90,
13940,
23650,
92,
7,
198,
220,
220,
220,
357,
37498,
28,
828,
198,
220,
220,
220,
220,
36147,
47932,
828,
198,
220,
220,
220,
220,
1058,
32590,
28,
828,
198,
220,
220,
220,
220,
36147,
9,
28,
828,
198,
220,
220,
220,
220,
36147,
14,
28,
22305,
198,
198,
8818,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
3712,
30562,
11,
44052,
3712,
3109,
1050,
11,
9828,
62,
25616,
3712,
33,
970,
8,
198,
220,
220,
220,
611,
44052,
13,
2256,
6624,
1058,
8818,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
460,
470,
2555,
327,
5188,
832,
257,
2163,
6770,
11,
475,
356,
460,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
923,
625,
2641,
262,
1767,
286,
262,
2163,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
25,
13664,
7,
31937,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
13,
22046,
58,
72,
60,
796,
12082,
62,
7266,
31937,
82,
0,
7,
31937,
13,
22046,
58,
72,
4357,
9828,
62,
25616,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
44052,
13,
2256,
6624,
1058,
1370,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2147,
198,
220,
220,
220,
2073,
361,
44052,
13,
2256,
287,
16237,
62,
38011,
62,
23914,
198,
220,
220,
220,
220,
220,
220,
220,
31901,
1958,
0,
7,
23870,
11,
44052,
13,
22046,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
25,
13664,
7,
31937,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
13,
22046,
58,
72,
60,
796,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
11,
44052,
13,
22046,
58,
72,
4357,
9828,
62,
25616,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
44052,
13,
2256,
6624,
1058,
8612,
1352,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
410,
9246,
7,
17,
25,
13664,
7,
31937,
13,
22046,
828,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
13,
22046,
58,
72,
60,
796,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
11,
44052,
13,
22046,
58,
72,
4357,
9828,
62,
25616,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
361,
44052,
13,
2256,
287,
3210,
62,
38011,
62,
23914,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
72,
11,
1200,
8,
287,
27056,
378,
7,
31937,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
13,
22046,
58,
72,
60,
796,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
11,
1200,
11,
9828,
62,
25616,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
44052,
13,
2256,
6624,
1058,
13345,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
72,
11,
1200,
8,
287,
27056,
378,
7,
31937,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
13,
22046,
58,
72,
60,
796,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
11,
1200,
11,
9828,
62,
25616,
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,
611,
477,
7,
0,
9160,
7,
853,
11,
1475,
1050,
8,
11405,
5145,
7,
853,
287,
12940,
13,
6381,
22557,
62,
1837,
2022,
10220,
8,
329,
1822,
287,
44052,
13,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5929,
62,
22046,
796,
38357,
7,
31937,
13,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
10134,
2539,
7,
23870,
13,
22046,
62,
1462,
62,
1837,
23650,
11,
5929,
62,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5659,
796,
751,
62,
30854,
0,
7,
23870,
11,
5929,
62,
22046,
11,
44052,
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,
5659,
796,
12940,
13,
22046,
62,
1462,
62,
1837,
23650,
58,
24011,
1389,
62,
22046,
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,
220,
220,
220,
220,
1441,
5659,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
9828,
62,
25616,
11405,
9828,
7203,
17227,
7004,
42712,
507,
460,
470,
1865,
5412,
14700,
286,
428,
1296,
25,
29568,
31937,
13,
2256,
8,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
44052,
198,
437,
198,
198,
24011,
500,
62,
7266,
31937,
82,
0,
7,
87,
11,
9828,
62,
25616,
3712,
33,
970,
796,
2081,
8,
796,
2124,
198,
198,
8818,
12082,
62,
7266,
31937,
82,
0,
7,
31937,
3712,
3109,
1050,
11,
9828,
62,
25616,
3712,
33,
970,
8,
198,
220,
220,
220,
12940,
796,
34088,
3419,
198,
220,
220,
220,
44052,
796,
12082,
62,
7266,
31937,
82,
0,
7,
23870,
11,
44052,
11,
9828,
62,
25616,
8,
198,
220,
220,
220,
1475,
1050,
7,
25,
9967,
11,
12940,
13,
40406,
986,
11,
44052,
8,
198,
437,
198,
198,
20285,
305,
269,
325,
7,
31937,
11,
9828,
62,
25616,
3712,
33,
970,
796,
2081,
8,
198,
220,
220,
220,
1255,
796,
12082,
62,
7266,
31937,
82,
0,
7,
31937,
11,
9828,
62,
25616,
8,
198,
220,
220,
220,
1303,
44872,
7,
20274,
8,
198,
220,
220,
220,
3671,
7,
20274,
8,
198,
437,
198,
198,
66,
325,
7,
31937,
11,
9828,
62,
25616,
3712,
33,
970,
796,
2081,
8,
796,
12082,
62,
7266,
31937,
82,
0,
7,
30073,
7,
31937,
828,
9828,
62,
25616,
8,
198,
198,
437,
198
] | 2.191561 | 1,493 |
"""
ListBasedNonProjective()
Transition system for list-based non-projective dependency parsing.
Described in Nivre 2008, "Algorithms for Deterministic Incremental Dependency Parsing."
"""
struct ListBasedNonProjective <: AbstractTransitionSystem end
initconfig(s::ListBasedNonProjective, graph::DependencyTree) =
ListBasedNonProjectiveConfig(graph)
initconfig(s::ListBasedNonProjective, deptype, words) =
ListBasedNonProjectiveConfig{deptype}(words)
projective_only(::ListBasedNonProjective) = false
transition_space(::ListBasedNonProjective, labels=[]) =
isempty(labels) ? [LeftArc(), RightArc(), NoArc(), Shift()] :
[LeftArc.(labels)..., RightArc.(labels)..., NoArc(), Shift()]
struct ListBasedNonProjectiveConfig{T} <: AbstractParserConfiguration{T}
λ1::Vector{Int} # right-headed
λ2::Vector{Int} # left-headed
β::Vector{Int}
A::Vector{T}
end
function ListBasedNonProjectiveConfig{T}(words::Vector{String}) where {T}
λ1 = [0]
λ2 = Int[]
β = 1:length(words)
A = [unk(T, id, w) for (id,w) in enumerate(words)]
ListBasedNonProjectiveConfig{T}(λ1, λ2, β, A)
end
function ListBasedNonProjectiveConfig{T}(gold::DependencyTree) where {T}
λ1 = [0]
λ2 = Int[]
β = 1:length(gold)
A = [dep(token, head=-1) for token in gold]
ListBasedNonProjectiveConfig{T}(λ1, λ2, β, A)
end
ListBasedNonProjectiveConfig(gold::DependencyTree) =
ListBasedNonProjectiveConfig{eltype(gold)}(gold)
buffer(cfg::ListBasedNonProjectiveConfig) = cfg.β
token(cfg::ListBasedNonProjectiveConfig, i) = iszero(i) ? root(deptype(cfg)) :
i == -1 ? noval(deptype(cfg)) :
cfg.A[i]
tokens(cfg::ListBasedNonProjectiveConfig) = cfg.A
tokens(cfg::ListBasedNonProjectiveConfig, is) = [token(cfg, i) for i in is]
function leftarc(cfg::ListBasedNonProjectiveConfig, args...; kwargs...)
λ1, i = cfg.λ1[1:end-1], cfg.λ1[end]
j, β = cfg.β[1], cfg.β[2:end]
A = copy(cfg.A)
i != 0 && (A[i] = dep(A[i], args...; head=j, kwargs...))
ListBasedNonProjectiveConfig(λ1, [i ; cfg.λ2], [j ; β], A)
end
function rightarc(cfg::ListBasedNonProjectiveConfig, args...; kwargs...)
λ1, i = cfg.λ1[1:end-1], cfg.λ1[end]
j, β = cfg.β[1], cfg.β[2:end]
A = copy(cfg.A)
A[j] = dep(A[j], args...; head=i, kwargs...)
ListBasedNonProjectiveConfig(λ1, [i ; cfg.λ2], [j ; β], A)
end
function noarc(cfg::ListBasedNonProjectiveConfig)
λ1, i = cfg.λ1[1:end-1], cfg.λ1[end]
λ2, β, A = cfg.λ2, cfg.β, cfg.A
ListBasedNonProjectiveConfig(λ1, [i ; λ2], β, A)
end
function shift(cfg::ListBasedNonProjectiveConfig)
λ1, λ2 = cfg.λ1, cfg.λ2
i, β = cfg.β[1], cfg.β[2:end]
ListBasedNonProjectiveConfig([λ1 ; λ2 ; i], Int[], β, cfg.A)
end
function isfinal(cfg::ListBasedNonProjectiveConfig)
return all(a -> head(a) != -1, tokens(cfg)) && length(cfg.λ1) == length(cfg.A) + 1 &&
length(cfg.λ2) == 0 && length(cfg.β) == 0
end
"""
static_oracle(::ListBasedNonProjectiveConfig, tree)
Return a training oracle function which returns gold transition
operations from a parser configuration with reference to `graph`.
"""
function static_oracle(cfg::ListBasedNonProjectiveConfig, tree, arc=untyped)
l = i -> arc(tree[i])
if length(cfg.λ1) >= 1 && length(cfg.β) >= 1
i, λ1 = cfg.λ1[end], cfg.λ1[1:end-1]
j, β = cfg.β[1], cfg.β[2:end]
if !iszero(i) && head(tree, i) == j
return LeftArc(l(i)...)
elseif head(tree, j) == i
return RightArc(l(j)...)
end
j_deps = dependents(tree, j)
if (!(any(x -> x < j, j_deps) && j_deps[1] < i)) && !(head(tree, j) < i)
return Shift()
end
end
if length(cfg.λ1) == 0
return Shift()
end
return NoArc()
end
# todo?
possible_transitions(cfg::ListBasedNonProjectiveConfig, graph::DependencyTree, arc=untyped) =
TransitionOperator[static_oracle(cfg, graph, arc)]
==(cfg1::ListBasedNonProjectiveConfig, cfg2::ListBasedNonProjectiveConfig) =
cfg1.λ1 == cfg2.λ1 && cfg1.λ2 == cfg2.λ2 && cfg1.β == cfg2.β && cfg1.A == cfg2.A
function Base.show(io::IO, c::ListBasedNonProjectiveConfig)
λ1 = join(c.λ1, ",")
λ2 = join(c.λ2, ",")
β = join(c.β, ",")
print(io, "ListBasedNonProjectiveConfig([$λ1],[$λ2],[$β])\n$(join([join([id(t),form(t),head(t)],'\t') for t in tokens(c)],'\n'))")
end
| [
37811,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
3419,
198,
198,
8291,
653,
1080,
329,
1351,
12,
3106,
1729,
12,
16302,
425,
20203,
32096,
13,
198,
198,
24564,
8725,
287,
399,
452,
260,
3648,
11,
366,
2348,
7727,
907,
329,
45559,
49228,
10791,
37098,
37947,
1387,
23042,
278,
526,
198,
37811,
198,
7249,
7343,
15001,
15419,
16775,
425,
1279,
25,
27741,
8291,
653,
11964,
886,
198,
198,
15003,
11250,
7,
82,
3712,
8053,
15001,
15419,
16775,
425,
11,
4823,
3712,
35,
2690,
1387,
27660,
8,
796,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
7,
34960,
8,
198,
15003,
11250,
7,
82,
3712,
8053,
15001,
15419,
16775,
425,
11,
390,
457,
2981,
11,
2456,
8,
796,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
90,
2934,
457,
2981,
92,
7,
10879,
8,
198,
198,
16302,
425,
62,
8807,
7,
3712,
8053,
15001,
15419,
16775,
425,
8,
796,
3991,
198,
198,
7645,
653,
62,
13200,
7,
3712,
8053,
15001,
15419,
16775,
425,
11,
14722,
41888,
12962,
796,
198,
220,
220,
220,
318,
28920,
7,
23912,
1424,
8,
5633,
685,
18819,
24021,
22784,
6498,
24021,
22784,
1400,
24021,
22784,
15576,
3419,
60,
1058,
198,
220,
220,
220,
685,
18819,
24021,
12195,
23912,
1424,
26513,
11,
6498,
24021,
12195,
23912,
1424,
26513,
11,
1400,
24021,
22784,
15576,
3419,
60,
198,
198,
7249,
7343,
15001,
15419,
16775,
425,
16934,
90,
51,
92,
1279,
25,
27741,
46677,
38149,
90,
51,
92,
198,
220,
220,
220,
7377,
119,
16,
3712,
38469,
90,
5317,
92,
1303,
826,
12,
15353,
198,
220,
220,
220,
7377,
119,
17,
3712,
38469,
90,
5317,
92,
1303,
1364,
12,
15353,
198,
220,
220,
220,
27169,
3712,
38469,
90,
5317,
92,
198,
220,
220,
220,
317,
3712,
38469,
90,
51,
92,
198,
437,
198,
198,
8818,
7343,
15001,
15419,
16775,
425,
16934,
90,
51,
92,
7,
10879,
3712,
38469,
90,
10100,
30072,
810,
1391,
51,
92,
198,
220,
220,
220,
7377,
119,
16,
796,
685,
15,
60,
198,
220,
220,
220,
7377,
119,
17,
796,
2558,
21737,
198,
220,
220,
220,
27169,
796,
352,
25,
13664,
7,
10879,
8,
198,
220,
220,
220,
317,
796,
685,
2954,
7,
51,
11,
4686,
11,
266,
8,
329,
357,
312,
11,
86,
8,
287,
27056,
378,
7,
10879,
15437,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
90,
51,
92,
7,
39377,
16,
11,
7377,
119,
17,
11,
27169,
11,
317,
8,
198,
437,
198,
198,
8818,
7343,
15001,
15419,
16775,
425,
16934,
90,
51,
92,
7,
24267,
3712,
35,
2690,
1387,
27660,
8,
810,
1391,
51,
92,
198,
220,
220,
220,
7377,
119,
16,
796,
685,
15,
60,
198,
220,
220,
220,
7377,
119,
17,
796,
2558,
21737,
198,
220,
220,
220,
27169,
796,
352,
25,
13664,
7,
24267,
8,
198,
220,
220,
220,
317,
796,
685,
10378,
7,
30001,
11,
1182,
10779,
16,
8,
329,
11241,
287,
3869,
60,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
90,
51,
92,
7,
39377,
16,
11,
7377,
119,
17,
11,
27169,
11,
317,
8,
198,
437,
198,
8053,
15001,
15419,
16775,
425,
16934,
7,
24267,
3712,
35,
2690,
1387,
27660,
8,
796,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
90,
417,
4906,
7,
24267,
38165,
7,
24267,
8,
198,
198,
22252,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
796,
30218,
70,
13,
26638,
198,
198,
30001,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
1312,
8,
796,
318,
22570,
7,
72,
8,
5633,
6808,
7,
2934,
457,
2981,
7,
37581,
4008,
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,
220,
1312,
6624,
532,
16,
220,
220,
5633,
645,
2100,
7,
2934,
457,
2981,
7,
37581,
4008,
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,
220,
30218,
70,
13,
32,
58,
72,
60,
198,
83,
482,
641,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
796,
30218,
70,
13,
32,
198,
83,
482,
641,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
318,
8,
796,
685,
30001,
7,
37581,
11,
1312,
8,
329,
1312,
287,
318,
60,
198,
198,
8818,
1364,
5605,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
26498,
986,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
7377,
119,
16,
11,
1312,
796,
30218,
70,
13,
39377,
16,
58,
16,
25,
437,
12,
16,
4357,
30218,
70,
13,
39377,
16,
58,
437,
60,
198,
220,
220,
220,
474,
11,
27169,
796,
30218,
70,
13,
26638,
58,
16,
4357,
30218,
70,
13,
26638,
58,
17,
25,
437,
60,
198,
220,
220,
220,
317,
796,
4866,
7,
37581,
13,
32,
8,
198,
220,
220,
220,
1312,
14512,
657,
11405,
357,
32,
58,
72,
60,
796,
1207,
7,
32,
58,
72,
4357,
26498,
986,
26,
1182,
28,
73,
11,
479,
86,
22046,
986,
4008,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
7,
39377,
16,
11,
685,
72,
2162,
30218,
70,
13,
39377,
17,
4357,
685,
73,
2162,
27169,
4357,
317,
8,
198,
437,
198,
198,
8818,
826,
5605,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
26498,
986,
26,
479,
86,
22046,
23029,
198,
220,
220,
220,
7377,
119,
16,
11,
1312,
796,
30218,
70,
13,
39377,
16,
58,
16,
25,
437,
12,
16,
4357,
30218,
70,
13,
39377,
16,
58,
437,
60,
198,
220,
220,
220,
474,
11,
27169,
796,
30218,
70,
13,
26638,
58,
16,
4357,
30218,
70,
13,
26638,
58,
17,
25,
437,
60,
198,
220,
220,
220,
317,
796,
4866,
7,
37581,
13,
32,
8,
198,
220,
220,
220,
317,
58,
73,
60,
796,
1207,
7,
32,
58,
73,
4357,
26498,
986,
26,
1182,
28,
72,
11,
479,
86,
22046,
23029,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
7,
39377,
16,
11,
685,
72,
2162,
30218,
70,
13,
39377,
17,
4357,
685,
73,
2162,
27169,
4357,
317,
8,
198,
437,
198,
198,
8818,
645,
5605,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
198,
220,
220,
220,
7377,
119,
16,
11,
1312,
796,
30218,
70,
13,
39377,
16,
58,
16,
25,
437,
12,
16,
4357,
30218,
70,
13,
39377,
16,
58,
437,
60,
198,
220,
220,
220,
7377,
119,
17,
11,
27169,
11,
317,
796,
30218,
70,
13,
39377,
17,
11,
30218,
70,
13,
26638,
11,
30218,
70,
13,
32,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
7,
39377,
16,
11,
685,
72,
2162,
7377,
119,
17,
4357,
27169,
11,
317,
8,
198,
437,
198,
198,
8818,
6482,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
198,
220,
220,
220,
7377,
119,
16,
11,
7377,
119,
17,
796,
30218,
70,
13,
39377,
16,
11,
30218,
70,
13,
39377,
17,
198,
220,
220,
220,
1312,
11,
27169,
796,
30218,
70,
13,
26638,
58,
16,
4357,
30218,
70,
13,
26638,
58,
17,
25,
437,
60,
198,
220,
220,
220,
7343,
15001,
15419,
16775,
425,
16934,
26933,
39377,
16,
2162,
7377,
119,
17,
2162,
1312,
4357,
2558,
58,
4357,
27169,
11,
30218,
70,
13,
32,
8,
198,
437,
198,
198,
8818,
318,
20311,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
198,
220,
220,
220,
1441,
477,
7,
64,
4613,
1182,
7,
64,
8,
14512,
532,
16,
11,
16326,
7,
37581,
4008,
11405,
4129,
7,
37581,
13,
39377,
16,
8,
6624,
4129,
7,
37581,
13,
32,
8,
1343,
352,
11405,
198,
220,
220,
220,
220,
220,
220,
220,
4129,
7,
37581,
13,
39377,
17,
8,
6624,
657,
11405,
4129,
7,
37581,
13,
26638,
8,
6624,
657,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
9037,
62,
273,
6008,
7,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
5509,
8,
198,
198,
13615,
257,
3047,
393,
6008,
2163,
543,
5860,
3869,
6801,
198,
3575,
602,
422,
257,
30751,
8398,
351,
4941,
284,
4600,
34960,
44646,
198,
37811,
198,
8818,
9037,
62,
273,
6008,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
5509,
11,
10389,
28,
403,
774,
9124,
8,
198,
220,
220,
220,
300,
796,
1312,
4613,
10389,
7,
21048,
58,
72,
12962,
198,
220,
220,
220,
611,
4129,
7,
37581,
13,
39377,
16,
8,
18189,
352,
11405,
4129,
7,
37581,
13,
26638,
8,
18189,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
11,
7377,
119,
16,
796,
30218,
70,
13,
39377,
16,
58,
437,
4357,
30218,
70,
13,
39377,
16,
58,
16,
25,
437,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
474,
11,
27169,
796,
30218,
70,
13,
26638,
58,
16,
4357,
30218,
70,
13,
26638,
58,
17,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
22570,
7,
72,
8,
11405,
1182,
7,
21048,
11,
1312,
8,
6624,
474,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
9578,
24021,
7,
75,
7,
72,
8,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
1182,
7,
21048,
11,
474,
8,
6624,
1312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6498,
24021,
7,
75,
7,
73,
8,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
474,
62,
10378,
82,
796,
4745,
658,
7,
21048,
11,
474,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
22759,
7,
1092,
7,
87,
4613,
2124,
1279,
474,
11,
474,
62,
10378,
82,
8,
11405,
474,
62,
10378,
82,
58,
16,
60,
1279,
1312,
4008,
11405,
5145,
7,
2256,
7,
21048,
11,
474,
8,
1279,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
15576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
4129,
7,
37581,
13,
39377,
16,
8,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
15576,
3419,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
1400,
24021,
3419,
198,
437,
198,
198,
2,
284,
4598,
30,
198,
79,
4733,
62,
7645,
1756,
7,
37581,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
4823,
3712,
35,
2690,
1387,
27660,
11,
10389,
28,
403,
774,
9124,
8,
796,
198,
220,
220,
220,
40658,
18843,
1352,
58,
12708,
62,
273,
6008,
7,
37581,
11,
4823,
11,
10389,
15437,
198,
198,
855,
7,
37581,
16,
3712,
8053,
15001,
15419,
16775,
425,
16934,
11,
30218,
70,
17,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
796,
198,
220,
220,
220,
30218,
70,
16,
13,
39377,
16,
6624,
30218,
70,
17,
13,
39377,
16,
11405,
30218,
70,
16,
13,
39377,
17,
6624,
30218,
70,
17,
13,
39377,
17,
11405,
30218,
70,
16,
13,
26638,
6624,
30218,
70,
17,
13,
26638,
11405,
30218,
70,
16,
13,
32,
6624,
30218,
70,
17,
13,
32,
198,
198,
8818,
7308,
13,
12860,
7,
952,
3712,
9399,
11,
269,
3712,
8053,
15001,
15419,
16775,
425,
16934,
8,
198,
220,
220,
220,
7377,
119,
16,
796,
4654,
7,
66,
13,
39377,
16,
11,
366,
553,
8,
198,
220,
220,
220,
7377,
119,
17,
796,
4654,
7,
66,
13,
39377,
17,
11,
366,
553,
8,
198,
220,
220,
220,
27169,
796,
4654,
7,
66,
13,
26638,
11,
366,
553,
8,
198,
220,
220,
220,
3601,
7,
952,
11,
366,
8053,
15001,
15419,
16775,
425,
16934,
26933,
3,
39377,
16,
38430,
3,
39377,
17,
38430,
3,
26638,
12962,
59,
77,
3,
7,
22179,
26933,
22179,
26933,
312,
7,
83,
828,
687,
7,
83,
828,
2256,
7,
83,
15437,
4032,
59,
83,
11537,
329,
256,
287,
16326,
7,
66,
15437,
4032,
59,
77,
6,
4008,
4943,
198,
437,
198
] | 2.209476 | 2,005 |
type class_nlo <: internal_AbstractNLPEvaluator
# linear program with non-linear objective
# min f(x)
# A*x = b
# x >= 0
_n::Int64 # number of variables
_m::Int64 # number of constraints
_A::SparseMatrixCSC{Float64,Int64}
_b::Array{Float64,1}
obj::class_nl_function
function class_nlo(A::SparseMatrixCSC{Float64,Int64},b::Array{Float64,1}, obj::class_nl_function)
(m, n) = size(A)
return new(n,m,A,b,obj);
end
end
################
# METHODS
################
# evaluate objective
function internal_eval_c(nlo::class_nlo, x::Array{Float64,1})
return nlo.obj.value(x);
end
# evalutate constraints
function internal_eval_a(nlo::class_nlo, x::Array{Float64,1})
return nlo._A * x - nlo._b;
end
# evaluate gradient of constraints
function internal_eval_jac_a(nlo::class_nlo, x::Array{Float64,1}) # J
return nlo._A;
end
# hessian of lagrangian
function internal_eval_hesslag_prod(nlo::class_nlo, x::Array{Float64,1}, y::Array{Float64,1})
return nlo.obj.hessian(x)
end
# gradient of lagrangian
function internal_eval_gradlag(nlo::class_nlo, x::Array{Float64,1}, y::Array{Float64,1})
return internal_eval_gradc(nlo, x) - nlo._A' * y;
end
# gradient of f
function internal_eval_gradc(nlo::class_nlo, x::Array{Float64,1})
return nlo.obj.gradient(x);
end
# (\nabla g * x - g)
function internal_eval_b(nlo::class_nlo, x::Array{Float64,1})
return nlo._b;
end
function n(nlo::class_nlo)
return nlo._n;
end
function m(nlo::class_nlo)
return nlo._m;
end
| [
4906,
1398,
62,
77,
5439,
1279,
25,
5387,
62,
23839,
32572,
11401,
2100,
84,
1352,
198,
220,
1303,
14174,
1430,
351,
1729,
12,
29127,
9432,
198,
220,
1303,
949,
277,
7,
87,
8,
198,
220,
1303,
317,
9,
87,
796,
275,
198,
220,
1303,
2124,
18189,
657,
628,
197,
62,
77,
3712,
5317,
2414,
1303,
1271,
286,
9633,
198,
197,
62,
76,
3712,
5317,
2414,
1303,
1271,
286,
17778,
198,
197,
62,
32,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
5317,
2414,
92,
198,
197,
62,
65,
3712,
19182,
90,
43879,
2414,
11,
16,
92,
198,
220,
26181,
3712,
4871,
62,
21283,
62,
8818,
628,
197,
8818,
1398,
62,
77,
5439,
7,
32,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
5317,
2414,
5512,
65,
3712,
19182,
90,
43879,
2414,
11,
16,
5512,
26181,
3712,
4871,
62,
21283,
62,
8818,
8,
198,
197,
197,
7,
76,
11,
299,
8,
796,
2546,
7,
32,
8,
198,
197,
197,
7783,
649,
7,
77,
11,
76,
11,
32,
11,
65,
11,
26801,
1776,
198,
197,
437,
198,
437,
198,
198,
14468,
198,
2,
337,
36252,
50,
198,
14468,
198,
198,
2,
13446,
9432,
198,
8818,
5387,
62,
18206,
62,
66,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
299,
5439,
13,
26801,
13,
8367,
7,
87,
1776,
198,
437,
198,
198,
2,
5418,
315,
378,
17778,
198,
8818,
5387,
62,
18206,
62,
64,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
299,
5439,
13557,
32,
1635,
2124,
532,
299,
5439,
13557,
65,
26,
198,
437,
198,
198,
2,
13446,
31312,
286,
17778,
198,
8818,
5387,
62,
18206,
62,
30482,
62,
64,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
1303,
449,
198,
220,
220,
220,
1441,
299,
5439,
13557,
32,
26,
198,
437,
198,
198,
2,
339,
824,
666,
286,
19470,
36985,
666,
198,
8818,
5387,
62,
18206,
62,
33979,
30909,
62,
1676,
67,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
5512,
331,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
299,
5439,
13,
26801,
13,
33979,
666,
7,
87,
8,
198,
437,
198,
198,
2,
31312,
286,
19470,
36985,
666,
198,
8818,
5387,
62,
18206,
62,
9744,
30909,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
5512,
331,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
5387,
62,
18206,
62,
9744,
66,
7,
77,
5439,
11,
2124,
8,
532,
299,
5439,
13557,
32,
6,
1635,
331,
26,
198,
437,
198,
198,
2,
31312,
286,
277,
198,
8818,
5387,
62,
18206,
62,
9744,
66,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
299,
5439,
13,
26801,
13,
49607,
7,
87,
1776,
198,
437,
198,
198,
2,
357,
59,
77,
397,
5031,
308,
1635,
2124,
532,
308,
8,
198,
8818,
5387,
62,
18206,
62,
65,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
11,
2124,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
220,
220,
220,
1441,
299,
5439,
13557,
65,
26,
198,
437,
198,
198,
8818,
299,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
8,
198,
220,
220,
220,
1441,
299,
5439,
13557,
77,
26,
198,
437,
198,
198,
8818,
285,
7,
77,
5439,
3712,
4871,
62,
77,
5439,
8,
198,
220,
220,
220,
1441,
299,
5439,
13557,
76,
26,
198,
437,
198
] | 2.4219 | 621 |
using MJPlayGround
using Base.Test
# write your own tests here
@test 1 == 1
a=2;
a
| [
3500,
33974,
11002,
35539,
198,
3500,
7308,
13,
14402,
198,
198,
2,
3551,
534,
898,
5254,
994,
198,
31,
9288,
352,
6624,
352,
198,
198,
64,
28,
17,
26,
198,
64,
198
] | 2.65625 | 32 |
"""
perpendicular_vector(vec)
Compute a vector perpendicular to `vec` by switching the two elements with
largest absolute value, flipping the sign of the second largest, and setting the
remaining element to zero.
"""
function perpendicular_vector(vec::SVector{3})
T = eltype(vec)
# find indices of the two elements of vec with the largest absolute values:
absvec = abs.(vec)
ind1 = argmax(absvec) # index of largest element
tmin = typemin(T)
@inbounds absvec2 = @SVector [ifelse(i == ind1, tmin, absvec[i]) for i = 1 : 3] # set largest element to typemin(T)
ind2 = argmax(absvec2) # index of second-largest element
# perp[ind1] = -vec[ind2], perp[ind2] = vec[ind1], set remaining element to zero:
@inbounds perpind1 = -vec[ind2]
@inbounds perpind2 = vec[ind1]
tzero = zero(T)
perp = @SVector [ifelse(i == ind1, perpind1, ifelse(i == ind2, perpind2, tzero)) for i = 1 : 3]
end
@noinline length_error(v, len) =
throw(DimensionMismatch("Expected length $len, got length $(length(v))"))
@inline function check_length(v, len)
if length(v) != len
length_error(v, len)
end
end
function skew(v::AbstractVector)
check_length(v, 3)
@SMatrix [0 -v[3] v[2];
v[3] 0 -v[1];
-v[2] v[1] 0]
end
function vee(S::AbstractMatrix)
return @SVector [S[3,2], S[1,3], S[2,1]]
end
"""
The element type for a rotation matrix with a given angle type is composed of
trigonometric functions of that type.
"""
Base.@pure rot_eltype(angle_type) = typeof(sin(zero(angle_type))) | [
37811,
198,
220,
220,
220,
47190,
62,
31364,
7,
35138,
8,
198,
198,
7293,
1133,
257,
15879,
47190,
284,
4600,
35138,
63,
416,
15430,
262,
734,
4847,
351,
198,
28209,
4112,
1988,
11,
33097,
262,
1051,
286,
262,
1218,
4387,
11,
290,
4634,
262,
198,
2787,
1397,
5002,
284,
6632,
13,
198,
37811,
198,
8818,
47190,
62,
31364,
7,
35138,
3712,
50,
38469,
90,
18,
30072,
198,
220,
220,
220,
309,
796,
1288,
4906,
7,
35138,
8,
628,
220,
220,
220,
1303,
1064,
36525,
286,
262,
734,
4847,
286,
43030,
351,
262,
4387,
4112,
3815,
25,
198,
220,
220,
220,
2352,
35138,
796,
2352,
12195,
35138,
8,
198,
220,
220,
220,
773,
16,
796,
1822,
9806,
7,
8937,
35138,
8,
1303,
6376,
286,
4387,
5002,
198,
220,
220,
220,
256,
1084,
796,
2170,
14857,
7,
51,
8,
198,
220,
220,
220,
2488,
259,
65,
3733,
2352,
35138,
17,
796,
2488,
50,
38469,
685,
361,
17772,
7,
72,
6624,
773,
16,
11,
256,
1084,
11,
2352,
35138,
58,
72,
12962,
329,
1312,
796,
352,
1058,
513,
60,
1303,
900,
4387,
5002,
284,
2170,
14857,
7,
51,
8,
198,
220,
220,
220,
773,
17,
796,
1822,
9806,
7,
8937,
35138,
17,
8,
1303,
6376,
286,
1218,
12,
28209,
5002,
628,
220,
220,
220,
1303,
583,
79,
58,
521,
16,
60,
796,
532,
35138,
58,
521,
17,
4357,
583,
79,
58,
521,
17,
60,
796,
43030,
58,
521,
16,
4357,
900,
5637,
5002,
284,
6632,
25,
198,
220,
220,
220,
2488,
259,
65,
3733,
583,
79,
521,
16,
796,
532,
35138,
58,
521,
17,
60,
198,
220,
220,
220,
2488,
259,
65,
3733,
583,
79,
521,
17,
796,
43030,
58,
521,
16,
60,
198,
220,
220,
220,
256,
22570,
796,
6632,
7,
51,
8,
198,
220,
220,
220,
583,
79,
796,
2488,
50,
38469,
685,
361,
17772,
7,
72,
6624,
773,
16,
11,
583,
79,
521,
16,
11,
611,
17772,
7,
72,
6624,
773,
17,
11,
583,
79,
521,
17,
11,
256,
22570,
4008,
329,
1312,
796,
352,
1058,
513,
60,
198,
437,
198,
198,
31,
3919,
45145,
4129,
62,
18224,
7,
85,
11,
18896,
8,
796,
198,
220,
220,
220,
3714,
7,
29271,
3004,
44,
1042,
963,
7203,
3109,
7254,
4129,
720,
11925,
11,
1392,
4129,
29568,
13664,
7,
85,
4008,
48774,
198,
198,
31,
45145,
2163,
2198,
62,
13664,
7,
85,
11,
18896,
8,
198,
220,
220,
220,
611,
4129,
7,
85,
8,
14512,
18896,
198,
220,
220,
220,
220,
220,
220,
220,
4129,
62,
18224,
7,
85,
11,
18896,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
43370,
7,
85,
3712,
23839,
38469,
8,
198,
220,
220,
220,
2198,
62,
13664,
7,
85,
11,
513,
8,
198,
220,
220,
220,
2488,
12310,
265,
8609,
685,
15,
220,
220,
532,
85,
58,
18,
60,
220,
410,
58,
17,
11208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
58,
18,
60,
657,
220,
220,
220,
532,
85,
58,
16,
11208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
85,
58,
17,
60,
410,
58,
16,
60,
220,
657,
60,
198,
437,
198,
198,
8818,
1569,
68,
7,
50,
3712,
23839,
46912,
8,
198,
220,
220,
220,
1441,
2488,
50,
38469,
685,
50,
58,
18,
11,
17,
4357,
311,
58,
16,
11,
18,
4357,
311,
58,
17,
11,
16,
11907,
198,
437,
198,
198,
37811,
198,
464,
5002,
2099,
329,
257,
13179,
17593,
351,
257,
1813,
9848,
2099,
318,
13160,
286,
198,
2213,
37107,
16996,
5499,
286,
326,
2099,
13,
198,
37811,
198,
14881,
13,
31,
37424,
5724,
62,
417,
4906,
7,
9248,
62,
4906,
8,
796,
2099,
1659,
7,
31369,
7,
22570,
7,
9248,
62,
4906,
22305
] | 2.52818 | 621 |
mutable struct NothingXMLElement <: MyXMLElement
el::Nothing
NothingXMLElement() = new(nothing)
end
function make_xml(::NothingXMLElement)
# do nothing
end
| [
76,
18187,
2878,
10528,
37643,
2538,
1732,
1279,
25,
2011,
37643,
2538,
1732,
198,
220,
220,
220,
1288,
3712,
18465,
198,
220,
220,
220,
10528,
37643,
2538,
1732,
3419,
796,
649,
7,
22366,
8,
198,
437,
198,
198,
8818,
787,
62,
19875,
7,
3712,
18465,
37643,
2538,
1732,
8,
198,
220,
220,
220,
1303,
466,
2147,
198,
437,
198
] | 2.864407 | 59 |
module MaxHelpingHandMultiRoomStrawberry
using ..Ahorn, Maple
@mapdef Entity "MaxHelpingHand/MultiRoomStrawberry" MultiRoomStrawberry(x::Integer, y::Integer,
name::String="multi_room_strawberry", winged::Bool=false, moon::Bool=false, checkpointID::Integer=-1, order::Integer=-1)
const placements = Ahorn.PlacementDict(
"Multi-Room Strawberry (max480's Helping Hand)" => Ahorn.EntityPlacement(
MultiRoomStrawberry
)
)
# winged, moon
sprites = Dict{Tuple{Bool, Bool}, String}(
(false, false) => "collectables/strawberry/normal00",
(true, false) => "collectables/strawberry/wings01",
(false, true) => "collectables/moonBerry/normal00",
(true, true) => "collectables/moonBerry/normal00"
)
function Ahorn.selection(entity::MultiRoomStrawberry)
x, y = Ahorn.position(entity)
moon = get(entity.data, "moon", false)
winged = get(entity.data, "winged", false)
sprite = sprites[(winged, moon)]
return Ahorn.getSpriteRectangle(sprite, x, y)
end
function Ahorn.renderAbs(ctx::Ahorn.Cairo.CairoContext, entity::MultiRoomStrawberry, room::Maple.Room)
x, y = Ahorn.position(entity)
moon = get(entity.data, "moon", false)
winged = get(entity.data, "winged", false)
sprite = sprites[(winged, moon)]
Ahorn.drawSprite(ctx, sprite, x, y)
end
end
| [
171,
119,
123,
21412,
5436,
12621,
13886,
12885,
29800,
41178,
1273,
1831,
8396,
198,
198,
3500,
11485,
10910,
1211,
11,
21249,
198,
198,
31,
8899,
4299,
20885,
366,
11518,
12621,
13886,
12885,
14,
29800,
41178,
1273,
1831,
8396,
1,
15237,
41178,
1273,
1831,
8396,
7,
87,
3712,
46541,
11,
331,
3712,
46541,
11,
198,
220,
220,
220,
1438,
3712,
10100,
2625,
41684,
62,
3823,
62,
301,
1831,
8396,
1600,
8539,
276,
3712,
33,
970,
28,
9562,
11,
8824,
3712,
33,
970,
28,
9562,
11,
26954,
2389,
3712,
46541,
10779,
16,
11,
1502,
3712,
46541,
10779,
16,
8,
198,
198,
9979,
21957,
3196,
796,
7900,
1211,
13,
3646,
5592,
35,
713,
7,
198,
220,
220,
220,
366,
29800,
12,
41178,
42611,
357,
9806,
22148,
338,
10478,
278,
7157,
16725,
5218,
7900,
1211,
13,
32398,
3646,
5592,
7,
198,
220,
220,
220,
220,
220,
220,
220,
15237,
41178,
1273,
1831,
8396,
198,
220,
220,
220,
1267,
198,
8,
198,
198,
2,
8539,
276,
11,
8824,
198,
2777,
23156,
796,
360,
713,
90,
51,
29291,
90,
33,
970,
11,
347,
970,
5512,
10903,
92,
7,
198,
220,
220,
220,
357,
9562,
11,
3991,
8,
5218,
366,
33327,
2977,
14,
301,
1831,
8396,
14,
11265,
405,
1600,
198,
220,
220,
220,
357,
7942,
11,
3991,
8,
5218,
366,
33327,
2977,
14,
301,
1831,
8396,
14,
48819,
486,
1600,
198,
220,
220,
220,
357,
9562,
11,
2081,
8,
5218,
366,
33327,
2977,
14,
22977,
25215,
14,
11265,
405,
1600,
198,
220,
220,
220,
357,
7942,
11,
2081,
8,
5218,
366,
33327,
2977,
14,
22977,
25215,
14,
11265,
405,
1,
198,
8,
198,
198,
8818,
7900,
1211,
13,
49283,
7,
26858,
3712,
29800,
41178,
1273,
1831,
8396,
8,
198,
220,
220,
220,
2124,
11,
331,
796,
7900,
1211,
13,
9150,
7,
26858,
8,
628,
220,
220,
220,
8824,
796,
651,
7,
26858,
13,
7890,
11,
366,
22977,
1600,
3991,
8,
198,
220,
220,
220,
8539,
276,
796,
651,
7,
26858,
13,
7890,
11,
366,
5469,
276,
1600,
3991,
8,
198,
220,
220,
220,
33810,
796,
42866,
58,
7,
5469,
276,
11,
8824,
15437,
628,
220,
220,
220,
1441,
7900,
1211,
13,
1136,
38454,
578,
45474,
9248,
7,
34975,
578,
11,
2124,
11,
331,
8,
198,
437,
198,
198,
8818,
7900,
1211,
13,
13287,
24849,
7,
49464,
3712,
10910,
1211,
13,
34,
18131,
13,
34,
18131,
21947,
11,
9312,
3712,
29800,
41178,
1273,
1831,
8396,
11,
2119,
3712,
13912,
293,
13,
41178,
8,
198,
220,
220,
220,
2124,
11,
331,
796,
7900,
1211,
13,
9150,
7,
26858,
8,
628,
220,
220,
220,
8824,
796,
651,
7,
26858,
13,
7890,
11,
366,
22977,
1600,
3991,
8,
198,
220,
220,
220,
8539,
276,
796,
651,
7,
26858,
13,
7890,
11,
366,
5469,
276,
1600,
3991,
8,
198,
220,
220,
220,
33810,
796,
42866,
58,
7,
5469,
276,
11,
8824,
15437,
628,
220,
220,
220,
7900,
1211,
13,
19334,
38454,
578,
7,
49464,
11,
33810,
11,
2124,
11,
331,
8,
198,
437,
198,
198,
437,
198
] | 2.649194 | 496 |
using ImagineInterface, ImagineFormat
ais = parse_ai("t.ai")
# Grab one particular signal
piezo = getname(ais, "axial piezo monitor")
# piezo is just a reference, the data are loaded on-demand. This lets you
# work with long recordings.
# Extract values in physical units, which here represent the position
data = get_samples(piezo)
# We can also get them in their original voltage units...
datav = get_samples(piezo; sampmap=:volts)
# ...or even in the raw Int16 format
dataraw = get_samples(piezo; sampmap=:raw)
# Let's display this signal
using ImaginePlots # you have to install this and its dependencies manually
using Plots
plot(piezo)
stimuli = getname(ais, "stimuli")
# This channel is just noise, but if it had had a sequence of TTL pulses
# this would give us a list of scan #s at which the pulses start
stimstarts = find_pulse_starts(stimuli; sampmap=:volts)
| [
3500,
18450,
39317,
11,
18450,
26227,
198,
198,
15152,
796,
21136,
62,
1872,
7203,
83,
13,
1872,
4943,
198,
198,
2,
25339,
530,
1948,
6737,
198,
21749,
10872,
796,
651,
3672,
7,
15152,
11,
366,
897,
498,
2508,
10872,
5671,
4943,
198,
2,
2508,
10872,
318,
655,
257,
4941,
11,
262,
1366,
389,
9639,
319,
12,
28550,
13,
770,
8781,
345,
198,
2,
670,
351,
890,
18813,
13,
198,
2,
29677,
3815,
287,
3518,
4991,
11,
543,
994,
2380,
262,
2292,
198,
7890,
796,
651,
62,
82,
12629,
7,
21749,
10872,
8,
198,
2,
775,
460,
635,
651,
606,
287,
511,
2656,
15004,
4991,
986,
198,
19608,
615,
796,
651,
62,
82,
12629,
7,
21749,
10872,
26,
264,
696,
8899,
28,
25,
10396,
912,
8,
198,
2,
2644,
273,
772,
287,
262,
8246,
2558,
1433,
5794,
198,
67,
9459,
707,
796,
651,
62,
82,
12629,
7,
21749,
10872,
26,
264,
696,
8899,
28,
25,
1831,
8,
198,
198,
2,
3914,
338,
3359,
428,
6737,
198,
3500,
18450,
3646,
1747,
220,
220,
1303,
345,
423,
284,
2721,
428,
290,
663,
20086,
14500,
198,
3500,
1345,
1747,
198,
29487,
7,
21749,
10872,
8,
198,
198,
42003,
32176,
796,
651,
3672,
7,
15152,
11,
366,
42003,
32176,
4943,
198,
2,
770,
6518,
318,
655,
7838,
11,
475,
611,
340,
550,
550,
257,
8379,
286,
42654,
37783,
198,
2,
428,
561,
1577,
514,
257,
1351,
286,
9367,
1303,
82,
379,
543,
262,
37783,
923,
198,
42003,
301,
5889,
796,
1064,
62,
79,
9615,
62,
301,
5889,
7,
42003,
32176,
26,
264,
696,
8899,
28,
25,
10396,
912,
8,
198
] | 3.30566 | 265 |
# ===============================
# Written by AAE
# TU Delft, Winter 2014
# simulkade.com
# ===============================
# =============================== SOLVERS ===================================
function solveLinearPDE(m::MeshStructure, M::SparseMatrixCSC{Float64, Int64}, RHS::Array{Float64,1})
N=m.dims
x=M\RHS # until the problem is solved with Julia "\" solver
phi = CellValue(m, reshape(full(x), tuple(N+2...)))
phi
end
function solvePDE(m::MeshStructure, M::SparseMatrixCSC{Float64, Int64}, RHS::Array{Float64,1})
N=m.dims
x=M\RHS # until the problem is solved with Julia "\" solver
phi = CellValue(m, reshape(full(x), tuple(N+2...)))
phi
end
function solveMUMPSLinearPDE(m::MeshStructure, M::SparseMatrixCSC{Float64, Int64}, RHS::Array{Float64,1})
N=m.dims
x=solveMUMPS(M,RHS) # until the problem is solved with Julia "\" solver
phi = CellValue(m, reshape(full(x), tuple(N+2...)))
phi
end
function solveExplicitPDE(phi_old::CellValue, dt::Real, RHS::Array{Float64,1},
BC::BoundaryCondition)
d = phi_old.domain.dimension
N = phi_old.domain.dims
phi_val=reshape(phi_old.value[:]+dt*RHS, tuple(N+2...))
if (d==1) || (d==1.5)
phi_val= phi_val[2:N[1]+1]
elseif (d==2) || (d==2.5) || (d==2.8)
phi_val= phi_val[2:N[1]+1, 2:N[2]+1]
elseif (d==3) || (d==3.2)
phi_val= phi_val[2:N[1]+1, 2:N[2]+1, 2:N[3]+1]
end
return createCellVariable(phi_old.domain, phi_val, BC)
end
function solveExplicitPDE(phi_old::CellValue, dt::Real, RHS::Array{Float64,1},
BC::BoundaryCondition, alfa::CellValue)
d = phi_old.domain.dimension
N = phi_old.domain.dims
phi_val=reshape(phi_old.value[:]+dt*RHS./alfa.value[:], tuple(N+2...))
if (d==1) || (d==1.5)
phi_val= phi_val[2:N[1]+1]
elseif (d==2) || (d==2.5) || (d==2.8)
phi_val= phi_val[2:N[1]+1, 2:N[2]+1]
elseif (d==3) || (d==3.2)
phi_val= phi_val[2:N[1]+1, 2:N[2]+1, 2:N[3]+1]
end
return createCellVariable(phi_old.domain, phi_val, BC)
end
# =========================== Visualization =================================
function visualizeCells(phi::CellValue)
d=phi.domain.dimension
if d==1 || d==1.5
x = [phi.domain.facecenters.x[1]; phi.domain.cellcenters.x; phi.domain.facecenters.x[end]]
phi = [0.5*(phi.value[1]+phi.value[2]); phi.value[2:end-1]; 0.5*(phi.value[end-1]+phi.value[end])]
plot(x, phi)
elseif d==2 || d==2.5
x = [phi.domain.facecenters.x[1]; phi.domain.cellcenters.x; phi.domain.facecenters.x[end]]
y = [phi.domain.facecenters.y[1]; phi.domain.cellcenters.y; phi.domain.facecenters.y[end]]
phi0 = Base.copy(phi.value)
phi0[:,1] = 0.5*(phi0[:,1]+phi0[:,2])
phi0[1,:] = 0.5*(phi0[1,:]+phi0[2,:])
phi0[:,end] = 0.5*(phi0[:,end]+phi0[:,end-1])
phi0[end,:] = 0.5*(phi0[end,:]+phi0[end-1,:])
phi0[1,1] = phi0[1,2]
phi0[1,end] = phi0[1,end-1]
phi0[end,1] = phi0[end,2]
phi0[end,end] = phi0[end,end-1]
pcolor(x, y, phi0')
elseif d==2.8
x = [phi.domain.facecenters.x[1]; phi.domain.cellcenters.x; phi.domain.facecenters.x[end]]
y = [phi.domain.facecenters.y[1]; phi.domain.cellcenters.y; phi.domain.facecenters.y[end]]
phi0 = Base.copy(phi.value)
phi0[:,1] = 0.5*(phi0[:,1]+phi0[:,2])
phi0[1,:] = 0.5*(phi0[1,:]+phi0[2,:])
phi0[:,end] = 0.5*(phi0[:,end]+phi0[:,end-1])
phi0[end,:] = 0.5*(phi0[end,:]+phi0[end-1,:])
phi0[1,1] = phi0[1,2]
phi0[1,end] = phi0[1,end-1]
phi0[end,1] = phi0[end,2]
phi0[end,end] = phi0[end,end-1]
subplot(111, polar="true")
pcolor(y, x, phi0)
elseif d==3
Nx = phi.domain.dims[1]
Ny = phi.domain.dims[2]
Nz = phi.domain.dims[3]
x=[phi.domain.facecenters.x[1]; phi.domain.cellcenters.x; phi.domain.facecenters.x[end]]
y=Array(Float64,1,Ny+2)
y[:]=[phi.domain.facecenters.y[1]; phi.domain.cellcenters.y; phi.domain.facecenters.y[end]]
z=Array(Float64,1,1,Nz+2)
z[:]=[phi.domain.facecenters.z[1]; phi.domain.cellcenters.z; phi.domain.facecenters.z[end]]
phi0 = Base.copy(phi.value)
phi0[:,1,:]=0.5*(phi0[:,1,:]+phi0[:,2,:])
phi0[:,end,:]=0.5*(phi0[:,end-1,:]+phi0[:,end,:])
phi0[:,:,1]=0.5*(phi0[:,:,1]+phi0[:,:,1])
phi0[:,:,end]=0.5*(phi0[:,:,end-1]+phi0[:,:,end])
phi0[1,:,:]=0.5*(phi0[1,:,:]+phi0[2,:,:])
phi0[end,:,:]=0.5*(phi0[end-1,:,:]+phi0[end,:,:])
vmin = minimum(phi0)
vmax = maximum(phi0)
a=ones(Nx+2,Ny+2,Nz+2)
X = x.*a
Y = y.*a
Z = z.*a
s=mayavis.pipeline[:scalar_field](X,Y,Z,phi0)
mayavis.pipeline[:image_plane_widget](s, plane_orientation="x_axes", slice_index=0, vmin=vmin, vmax=vmax)
mayavis.pipeline[:image_plane_widget](s, plane_orientation="y_axes", slice_index=0, vmin=vmin, vmax=vmax)
mayavis.pipeline[:image_plane_widget](s, plane_orientation="z_axes", slice_index=0, vmin=vmin, vmax=vmax)
mayavis.pipeline[:image_plane_widget](s, plane_orientation="z_axes", slice_index=floor(Integer,Nz/2.0), vmin=vmin, vmax=vmax)
mayavis.outline()
# # 6 surfaces
# # surfaces 1,2 (x=x[1], x=x[end])
# Y=repmat(y,1,Nz)
# Z=repmat(z,1,Ny)
# mayavis.mesh(x[1]*ones(Ny,Nz),Y,Z',scalars=squeeze(phi.value[2,2:end-1,2:end-1],1), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(x[end]*ones(Ny,Nz),Y,Z',scalars=squeeze(phi.value[end-1,2:end-1,2:end-1],1), vmin=vmin, vmax=vmax, opacity=0.8)
#
# # surfaces 3,4 (y=y[1], y=y[end]
# X = repmat(x,1,Nz)
# Z = repmat(z,1,Nx)
# mayavis.mesh(X,y[1]*ones(Nx,Nz),Z',scalars=squeeze(phi.value[2:end-1,2,2:end-1],2), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(X,y[end]*ones(Nx,Nz),Z',scalars=squeeze(phi.value[2:end-1,end-1,2:end-1],2), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.axes()
#
# # surfaces 5,6 (z=z[1], z=z[end]
# X = repmat(x,1,Ny)
# Y = repmat(y,1,Nx)
# mayavis.mesh(X,Y',z[1]*ones(Nx,Ny),scalars=phi.value[2:end-1,2:end-1,2], vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(X,Y',z[end]*ones(Nx,Ny),scalars=phi.value[2:end-1,2:end-1,end-1], vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.colorbar()
mayavis.axes()
mshot= mayavis.screenshot()
mayavis.show()
return mshot
elseif d==3.2
Nx = phi.domain.dims[1]
Ny = phi.domain.dims[2]
Nz = phi.domain.dims[3]
r=[phi.domain.facecenters.x[1]; phi.domain.cellcenters.x; phi.domain.facecenters.x[end]]
theta = Array(Float64,1,Ny+2)
theta[:]=[phi.domain.facecenters.y[1]; phi.domain.cellcenters.y; phi.domain.facecenters.y[end]]
z=Array(Float64,1,1,Nz+2)
z[:]=[phi.domain.facecenters.z[1]; phi.domain.cellcenters.z; phi.domain.facecenters.z[end]]
a=ones(Nx+2,Ny+2,Nz+2)
R=r.*a
TH = theta.*a
Z = z.*a
X=R.*cos(TH)
Y=R.*sin(TH)
phi0 = Base.copy(phi.value)
phi0[:,1,:]=0.5*(phi0[:,1,:]+phi0[:,2,:])
phi0[:,end,:]=0.5*(phi0[:,end-1,:]+phi0[:,end,:])
phi0[:,:,1]=0.5*(phi0[:,:,1]+phi0[:,:,1])
phi0[:,:,end]=0.5*(phi0[:,:,end-1]+phi0[:,:,end])
phi0[1,:,:]=0.5*(phi0[1,:,:]+phi0[2,:,:])
phi0[end,:,:]=0.5*(phi0[end-1,:,:]+phi0[end,:,:])
vmin = minimum(phi0)
vmax = maximum(phi0)
# 6 surfaces
# surfaces 1,2 (x=x[1], x=x[end])
mayavis.mesh(squeeze(X[floor(Integer,Nx/2.0),:,:],1),squeeze(Y[floor(Integer,Nx/2.0),:,:],1),squeeze(Z[floor(Integer,Nx/2.0),:,:],1),
scalars=squeeze(phi0[floor(Integer,Nx/2.0)+1,:,:],1), vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.mesh(squeeze(X[Nx,:,:],1),squeeze(Y[Nx,:,:],1),squeeze(Z[Nx,:,:],1),
scalars=squeeze(phi0[Nx+2,:,:],1), vmin=vmin, vmax=vmax, opacity=0.8)
# surfaces 3,4 (y=y[1], y=y[end]
mayavis.mesh(squeeze(X[:,floor(Integer,Ny/2.0),:],2),squeeze(Y[:,floor(Integer,Ny/2.0),:],2),squeeze(Z[:,floor(Integer,Ny/2.0),:],2),
scalars=squeeze(phi0[:,floor(Integer,Ny/2.0)+1,:],2), vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.mesh(squeeze(X[:,Ny,:],2),squeeze(Y[:,Ny,:],2),squeeze(Z[:,Ny,:],2),
scalars=squeeze(phi0[:,Ny+2,:],2), vmin=vmin, vmax=vmax, opacity=0.8)
# surfaces 5,6 (z=z[1], z=z[end]
mayavis.mesh(X[:,:,floor(Integer,Nz/2.0)],Y[:,:,floor(Integer,Nz/2.0)],Z[:,:,floor(Integer,Nz/2.0)],
scalars=phi0[:,:,floor(Integer,Nz/2.0)+1], vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.mesh(X[:,:,Nz],Y[:,:,Nz],Z[:,:,Nz],
scalars=phi0[:,:,Nz+1], vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.colorbar()
mayavis.axes()
mshot=mayavis.screenshot()
mayavis.show()
return mshot
end
end
########################## Visualize Vectors #####################
function visualizeCellVectors(phi::CellVector)
d=phi.domain.dimension
if d==1 || d==1.5
println("Vector visualization works only in 2D and 3D")
elseif d==2 || d==2.5
x = phi.domain.cellcenters.x
y = phi.domain.cellcenters.y
quiver(repmat(x, 1, length(y)), repmat(y', length(x), 1), phi.xvalue, phi.yvalue)
elseif d==2.8
x = phi.domain.cellcenters.x
y = phi.domain.cellcenters.y'
subplot(111, polar="true")
quiver(repmat(y, length(x), 1), repmat(x, 1, length(y)),
phi.xvalue.*cos(y)-phi.yvalue.*sin(y), phi.xvalue.*sin(y)+phi.yvalue.*cos(y))
elseif d==3
Nx = phi.domain.dims[1]
Ny = phi.domain.dims[2]
Nz = phi.domain.dims[3]
x=phi.domain.cellcenters.x
y=Array(Float64,1,Ny)
y[:]=phi.domain.cellcenters.y
z=Array(Float64,1,1,Nz)
z[:]=phi.domain.cellcenters.z
#vmin = minimum(phi.xvalue)
#vmax = maximum(phi0)
a=ones(Nx,Ny,Nz)
X = x.*a
Y = y.*a
Z = z.*a
mayavis.quiver3d(X,Y,Z, phi.xvalue, phi.yvalue, phi.zvalue)
mayavis.outline()
# # 6 surfaces
# # surfaces 1,2 (x=x[1], x=x[end])
# Y=repmat(y,1,Nz)
# Z=repmat(z,1,Ny)
# mayavis.mesh(x[1]*ones(Ny,Nz),Y,Z',scalars=squeeze(phi.value[2,2:end-1,2:end-1],1), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(x[end]*ones(Ny,Nz),Y,Z',scalars=squeeze(phi.value[end-1,2:end-1,2:end-1],1), vmin=vmin, vmax=vmax, opacity=0.8)
#
# # surfaces 3,4 (y=y[1], y=y[end]
# X = repmat(x,1,Nz)
# Z = repmat(z,1,Nx)
# mayavis.mesh(X,y[1]*ones(Nx,Nz),Z',scalars=squeeze(phi.value[2:end-1,2,2:end-1],2), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(X,y[end]*ones(Nx,Nz),Z',scalars=squeeze(phi.value[2:end-1,end-1,2:end-1],2), vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.axes()
#
# # surfaces 5,6 (z=z[1], z=z[end]
# X = repmat(x,1,Ny)
# Y = repmat(y,1,Nx)
# mayavis.mesh(X,Y',z[1]*ones(Nx,Ny),scalars=phi.value[2:end-1,2:end-1,2], vmin=vmin, vmax=vmax, opacity=0.8)
# mayavis.mesh(X,Y',z[end]*ones(Nx,Ny),scalars=phi.value[2:end-1,2:end-1,end-1], vmin=vmin, vmax=vmax, opacity=0.8)
mayavis.colorbar()
mayavis.axes()
mshot= mayavis.screenshot()
mayavis.show()
return mshot
elseif d==3.2
Nx = phi.domain.dims[1]
Ny = phi.domain.dims[2]
Nz = phi.domain.dims[3]
r=phi.domain.cellcenters.x
theta = Array(Float64,1,Ny)
theta[:]=phi.domain.cellcenters.y
z=Array(Float64,1,1,Nz)
z[:]=phi.domain.cellcenters.z
a=ones(Nx,Ny,Nz)
R=r.*a
TH = theta.*a
Z = z.*a
X=R.*cos(TH)
Y=R.*sin(TH)
#vmin = minimum(phi0)
#vmax = maximum(phi0)
# 6 surfaces
# surfaces 1,2 (x=x[1], x=x[end])
mayavis.quiver3d(X,Y,Z, phi.xvalue.*cos(TH)-phi.yvalue.*sin(TH),
phi.xvalue.*sin(TH)+phi.yvalue.*cos(TH), phi.zvalue)
mayavis.colorbar()
mayavis.axes()
mshot=mayavis.screenshot()
mayavis.show()
return mshot
end
end
| [
2,
36658,
25609,
855,
198,
2,
22503,
416,
317,
14242,
198,
2,
309,
52,
4216,
701,
11,
10633,
1946,
198,
2,
985,
12171,
671,
13,
785,
198,
2,
36658,
25609,
855,
198,
198,
2,
36658,
25609,
855,
36817,
28884,
46111,
855,
198,
8818,
8494,
14993,
451,
5760,
36,
7,
76,
3712,
37031,
1273,
5620,
11,
337,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
2558,
2414,
5512,
371,
7998,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
45,
28,
76,
13,
67,
12078,
198,
87,
28,
44,
59,
49,
7998,
1303,
1566,
262,
1917,
318,
16019,
351,
22300,
366,
7879,
1540,
332,
198,
34846,
796,
12440,
11395,
7,
76,
11,
27179,
1758,
7,
12853,
7,
87,
828,
46545,
7,
45,
10,
17,
986,
22305,
198,
34846,
198,
437,
198,
198,
8818,
8494,
5760,
36,
7,
76,
3712,
37031,
1273,
5620,
11,
337,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
2558,
2414,
5512,
371,
7998,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
45,
28,
76,
13,
67,
12078,
198,
87,
28,
44,
59,
49,
7998,
1303,
1566,
262,
1917,
318,
16019,
351,
22300,
366,
7879,
1540,
332,
198,
34846,
796,
12440,
11395,
7,
76,
11,
27179,
1758,
7,
12853,
7,
87,
828,
46545,
7,
45,
10,
17,
986,
22305,
198,
34846,
198,
437,
198,
198,
8818,
8494,
44,
5883,
3705,
14993,
451,
5760,
36,
7,
76,
3712,
37031,
1273,
5620,
11,
337,
3712,
50,
29572,
46912,
34,
6173,
90,
43879,
2414,
11,
2558,
2414,
5512,
371,
7998,
3712,
19182,
90,
43879,
2414,
11,
16,
30072,
198,
45,
28,
76,
13,
67,
12078,
198,
87,
28,
82,
6442,
44,
5883,
3705,
7,
44,
11,
49,
7998,
8,
1303,
1566,
262,
1917,
318,
16019,
351,
22300,
366,
7879,
1540,
332,
198,
34846,
796,
12440,
11395,
7,
76,
11,
27179,
1758,
7,
12853,
7,
87,
828,
46545,
7,
45,
10,
17,
986,
22305,
198,
34846,
198,
437,
198,
198,
8818,
8494,
18438,
3628,
5760,
36,
7,
34846,
62,
727,
3712,
28780,
11395,
11,
288,
83,
3712,
15633,
11,
371,
7998,
3712,
19182,
90,
43879,
2414,
11,
16,
5512,
198,
220,
11843,
3712,
49646,
560,
48362,
8,
198,
220,
288,
796,
872,
72,
62,
727,
13,
27830,
13,
46156,
198,
220,
399,
796,
872,
72,
62,
727,
13,
27830,
13,
67,
12078,
198,
220,
872,
72,
62,
2100,
28,
3447,
1758,
7,
34846,
62,
727,
13,
8367,
58,
47715,
10,
28664,
9,
49,
7998,
11,
46545,
7,
45,
10,
17,
986,
4008,
198,
220,
611,
357,
67,
855,
16,
8,
8614,
357,
67,
855,
16,
13,
20,
8,
198,
220,
220,
197,
34846,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
60,
198,
220,
2073,
361,
357,
67,
855,
17,
8,
8614,
357,
67,
855,
17,
13,
20,
8,
8614,
357,
67,
855,
17,
13,
23,
8,
198,
220,
220,
197,
34846,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
11,
362,
25,
45,
58,
17,
48688,
16,
60,
198,
220,
2073,
361,
357,
67,
855,
18,
8,
8614,
357,
67,
855,
18,
13,
17,
8,
198,
220,
220,
220,
872,
72,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
11,
362,
25,
45,
58,
17,
48688,
16,
11,
362,
25,
45,
58,
18,
48688,
16,
60,
198,
220,
886,
198,
220,
1441,
2251,
28780,
43015,
7,
34846,
62,
727,
13,
27830,
11,
872,
72,
62,
2100,
11,
11843,
8,
198,
437,
198,
198,
8818,
8494,
18438,
3628,
5760,
36,
7,
34846,
62,
727,
3712,
28780,
11395,
11,
288,
83,
3712,
15633,
11,
371,
7998,
3712,
19182,
90,
43879,
2414,
11,
16,
5512,
198,
220,
11843,
3712,
49646,
560,
48362,
11,
435,
13331,
3712,
28780,
11395,
8,
198,
220,
288,
796,
872,
72,
62,
727,
13,
27830,
13,
46156,
198,
220,
399,
796,
872,
72,
62,
727,
13,
27830,
13,
67,
12078,
198,
220,
872,
72,
62,
2100,
28,
3447,
1758,
7,
34846,
62,
727,
13,
8367,
58,
47715,
10,
28664,
9,
49,
7998,
19571,
1604,
64,
13,
8367,
58,
25,
4357,
46545,
7,
45,
10,
17,
986,
4008,
198,
220,
611,
357,
67,
855,
16,
8,
8614,
357,
67,
855,
16,
13,
20,
8,
198,
220,
220,
197,
34846,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
60,
198,
220,
2073,
361,
357,
67,
855,
17,
8,
8614,
357,
67,
855,
17,
13,
20,
8,
8614,
357,
67,
855,
17,
13,
23,
8,
198,
220,
220,
197,
34846,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
11,
362,
25,
45,
58,
17,
48688,
16,
60,
198,
220,
2073,
361,
357,
67,
855,
18,
8,
8614,
357,
67,
855,
18,
13,
17,
8,
198,
220,
220,
220,
872,
72,
62,
2100,
28,
872,
72,
62,
2100,
58,
17,
25,
45,
58,
16,
48688,
16,
11,
362,
25,
45,
58,
17,
48688,
16,
11,
362,
25,
45,
58,
18,
48688,
16,
60,
198,
220,
886,
198,
220,
1441,
2251,
28780,
43015,
7,
34846,
62,
727,
13,
27830,
11,
872,
72,
62,
2100,
11,
11843,
8,
198,
437,
198,
198,
2,
36658,
2559,
855,
15612,
1634,
46111,
198,
8818,
38350,
34,
19187,
7,
34846,
3712,
28780,
11395,
8,
198,
67,
28,
34846,
13,
27830,
13,
46156,
198,
361,
288,
855,
16,
8614,
288,
855,
16,
13,
20,
198,
220,
2124,
796,
685,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
437,
11907,
198,
220,
872,
72,
796,
685,
15,
13,
20,
9,
7,
34846,
13,
8367,
58,
16,
48688,
34846,
13,
8367,
58,
17,
36563,
872,
72,
13,
8367,
58,
17,
25,
437,
12,
16,
11208,
657,
13,
20,
9,
7,
34846,
13,
8367,
58,
437,
12,
16,
48688,
34846,
13,
8367,
58,
437,
12962,
60,
198,
220,
7110,
7,
87,
11,
872,
72,
8,
198,
17772,
361,
288,
855,
17,
8614,
288,
855,
17,
13,
20,
198,
220,
2124,
796,
685,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
437,
11907,
198,
220,
331,
796,
685,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
437,
11907,
198,
220,
872,
72,
15,
796,
7308,
13,
30073,
7,
34846,
13,
8367,
8,
198,
220,
872,
72,
15,
58,
45299,
16,
60,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
45299,
16,
48688,
34846,
15,
58,
45299,
17,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
47715,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
16,
11,
47715,
10,
34846,
15,
58,
17,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
437,
60,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
45299,
437,
48688,
34846,
15,
58,
45299,
437,
12,
16,
12962,
198,
220,
872,
72,
15,
58,
437,
11,
47715,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
437,
11,
47715,
10,
34846,
15,
58,
437,
12,
16,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
16,
60,
796,
872,
72,
15,
58,
16,
11,
17,
60,
198,
220,
872,
72,
15,
58,
16,
11,
437,
60,
796,
872,
72,
15,
58,
16,
11,
437,
12,
16,
60,
198,
220,
872,
72,
15,
58,
437,
11,
16,
60,
796,
872,
72,
15,
58,
437,
11,
17,
60,
198,
220,
872,
72,
15,
58,
437,
11,
437,
60,
796,
872,
72,
15,
58,
437,
11,
437,
12,
16,
60,
198,
220,
279,
8043,
7,
87,
11,
331,
11,
872,
72,
15,
11537,
198,
17772,
361,
288,
855,
17,
13,
23,
198,
220,
2124,
796,
685,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
437,
11907,
198,
220,
331,
796,
685,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
437,
11907,
198,
220,
872,
72,
15,
796,
7308,
13,
30073,
7,
34846,
13,
8367,
8,
198,
220,
872,
72,
15,
58,
45299,
16,
60,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
45299,
16,
48688,
34846,
15,
58,
45299,
17,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
47715,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
16,
11,
47715,
10,
34846,
15,
58,
17,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
437,
60,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
45299,
437,
48688,
34846,
15,
58,
45299,
437,
12,
16,
12962,
198,
220,
872,
72,
15,
58,
437,
11,
47715,
796,
657,
13,
20,
9,
7,
34846,
15,
58,
437,
11,
47715,
10,
34846,
15,
58,
437,
12,
16,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
16,
60,
796,
872,
72,
15,
58,
16,
11,
17,
60,
198,
220,
872,
72,
15,
58,
16,
11,
437,
60,
796,
872,
72,
15,
58,
16,
11,
437,
12,
16,
60,
198,
220,
872,
72,
15,
58,
437,
11,
16,
60,
796,
872,
72,
15,
58,
437,
11,
17,
60,
198,
220,
872,
72,
15,
58,
437,
11,
437,
60,
796,
872,
72,
15,
58,
437,
11,
437,
12,
16,
60,
198,
220,
850,
29487,
7,
16243,
11,
13559,
2625,
7942,
4943,
198,
220,
279,
8043,
7,
88,
11,
2124,
11,
872,
72,
15,
8,
198,
17772,
361,
288,
855,
18,
198,
220,
399,
87,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
16,
60,
198,
220,
17735,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
17,
60,
198,
220,
399,
89,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
18,
60,
198,
220,
2124,
41888,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
437,
11907,
198,
220,
331,
28,
19182,
7,
43879,
2414,
11,
16,
11,
45,
88,
10,
17,
8,
198,
220,
331,
58,
25,
22241,
58,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
437,
11907,
198,
220,
1976,
28,
19182,
7,
43879,
2414,
11,
16,
11,
16,
11,
45,
89,
10,
17,
8,
198,
220,
1976,
58,
25,
22241,
58,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
89,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
89,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
89,
58,
437,
11907,
628,
220,
872,
72,
15,
796,
7308,
13,
30073,
7,
34846,
13,
8367,
8,
198,
220,
872,
72,
15,
58,
45299,
16,
11,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
16,
11,
47715,
10,
34846,
15,
58,
45299,
17,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
437,
11,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
437,
12,
16,
11,
47715,
10,
34846,
15,
58,
45299,
437,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
45299,
16,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
45299,
16,
48688,
34846,
15,
58,
45299,
45299,
16,
12962,
198,
220,
872,
72,
15,
58,
45299,
45299,
437,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
45299,
437,
12,
16,
48688,
34846,
15,
58,
45299,
45299,
437,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
45299,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
16,
11,
45299,
47715,
10,
34846,
15,
58,
17,
11,
45299,
25,
12962,
198,
220,
872,
72,
15,
58,
437,
11,
45299,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
437,
12,
16,
11,
45299,
47715,
10,
34846,
15,
58,
437,
11,
45299,
25,
12962,
628,
220,
410,
1084,
796,
5288,
7,
34846,
15,
8,
198,
220,
410,
9806,
796,
5415,
7,
34846,
15,
8,
628,
220,
257,
28,
1952,
7,
45,
87,
10,
17,
11,
45,
88,
10,
17,
11,
45,
89,
10,
17,
8,
198,
220,
1395,
796,
2124,
15885,
64,
198,
220,
575,
796,
331,
15885,
64,
198,
220,
1168,
796,
1976,
15885,
64,
628,
220,
264,
28,
11261,
23401,
13,
79,
541,
4470,
58,
25,
1416,
282,
283,
62,
3245,
16151,
55,
11,
56,
11,
57,
11,
34846,
15,
8,
628,
220,
743,
23401,
13,
79,
541,
4470,
58,
25,
9060,
62,
14382,
62,
42655,
16151,
82,
11,
6614,
62,
13989,
341,
2625,
87,
62,
897,
274,
1600,
16416,
62,
9630,
28,
15,
11,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
8,
198,
220,
743,
23401,
13,
79,
541,
4470,
58,
25,
9060,
62,
14382,
62,
42655,
16151,
82,
11,
6614,
62,
13989,
341,
2625,
88,
62,
897,
274,
1600,
16416,
62,
9630,
28,
15,
11,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
8,
198,
220,
743,
23401,
13,
79,
541,
4470,
58,
25,
9060,
62,
14382,
62,
42655,
16151,
82,
11,
6614,
62,
13989,
341,
2625,
89,
62,
897,
274,
1600,
16416,
62,
9630,
28,
15,
11,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
8,
198,
220,
743,
23401,
13,
79,
541,
4470,
58,
25,
9060,
62,
14382,
62,
42655,
16151,
82,
11,
6614,
62,
13989,
341,
2625,
89,
62,
897,
274,
1600,
16416,
62,
9630,
28,
28300,
7,
46541,
11,
45,
89,
14,
17,
13,
15,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
8,
198,
220,
743,
23401,
13,
448,
1370,
3419,
198,
198,
2,
220,
220,
1303,
718,
16649,
198,
2,
220,
220,
1303,
16649,
352,
11,
17,
357,
87,
28,
87,
58,
16,
4357,
2124,
28,
87,
58,
437,
12962,
198,
2,
220,
220,
575,
28,
260,
4426,
265,
7,
88,
11,
16,
11,
45,
89,
8,
198,
2,
220,
220,
1168,
28,
260,
4426,
265,
7,
89,
11,
16,
11,
45,
88,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
87,
58,
16,
60,
9,
1952,
7,
45,
88,
11,
45,
89,
828,
56,
11,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
11,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
87,
58,
437,
60,
9,
1952,
7,
45,
88,
11,
45,
89,
828,
56,
11,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
198,
2,
220,
220,
1303,
16649,
513,
11,
19,
357,
88,
28,
88,
58,
16,
4357,
331,
28,
88,
58,
437,
60,
198,
2,
220,
220,
1395,
796,
1128,
6759,
7,
87,
11,
16,
11,
45,
89,
8,
198,
2,
220,
220,
1168,
796,
1128,
6759,
7,
89,
11,
16,
11,
45,
87,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
88,
58,
16,
60,
9,
1952,
7,
45,
87,
11,
45,
89,
828,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
11,
17,
25,
437,
12,
16,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
88,
58,
437,
60,
9,
1952,
7,
45,
87,
11,
45,
89,
828,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
897,
274,
3419,
198,
2,
198,
2,
220,
220,
1303,
16649,
642,
11,
21,
357,
89,
28,
89,
58,
16,
4357,
1976,
28,
89,
58,
437,
60,
198,
2,
220,
220,
1395,
796,
1128,
6759,
7,
87,
11,
16,
11,
45,
88,
8,
198,
2,
220,
220,
575,
796,
1128,
6759,
7,
88,
11,
16,
11,
45,
87,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
56,
3256,
89,
58,
16,
60,
9,
1952,
7,
45,
87,
11,
45,
88,
828,
1416,
282,
945,
28,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
17,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
56,
3256,
89,
58,
437,
60,
9,
1952,
7,
45,
87,
11,
45,
88,
828,
1416,
282,
945,
28,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
437,
12,
16,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
628,
220,
743,
23401,
13,
8043,
5657,
3419,
198,
220,
743,
23401,
13,
897,
274,
3419,
198,
220,
285,
9442,
28,
743,
23401,
13,
1416,
26892,
3419,
198,
220,
743,
23401,
13,
12860,
3419,
198,
220,
1441,
285,
9442,
198,
198,
17772,
361,
288,
855,
18,
13,
17,
198,
220,
399,
87,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
16,
60,
198,
220,
17735,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
17,
60,
198,
220,
399,
89,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
18,
60,
198,
220,
374,
41888,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
87,
58,
437,
11907,
198,
220,
262,
8326,
796,
15690,
7,
43879,
2414,
11,
16,
11,
45,
88,
10,
17,
8,
198,
220,
262,
8326,
58,
25,
22241,
58,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
88,
58,
437,
11907,
198,
220,
1976,
28,
19182,
7,
43879,
2414,
11,
16,
11,
16,
11,
45,
89,
10,
17,
8,
198,
220,
1976,
58,
25,
22241,
58,
34846,
13,
27830,
13,
2550,
1087,
364,
13,
89,
58,
16,
11208,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
89,
26,
872,
72,
13,
27830,
13,
2550,
1087,
364,
13,
89,
58,
437,
11907,
198,
220,
257,
28,
1952,
7,
45,
87,
10,
17,
11,
45,
88,
10,
17,
11,
45,
89,
10,
17,
8,
198,
220,
371,
28,
81,
15885,
64,
198,
220,
2320,
796,
262,
8326,
15885,
64,
198,
220,
1168,
796,
1976,
15885,
64,
628,
220,
1395,
28,
49,
15885,
6966,
7,
4221,
8,
198,
220,
575,
28,
49,
15885,
31369,
7,
4221,
8,
628,
220,
872,
72,
15,
796,
7308,
13,
30073,
7,
34846,
13,
8367,
8,
198,
220,
872,
72,
15,
58,
45299,
16,
11,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
16,
11,
47715,
10,
34846,
15,
58,
45299,
17,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
437,
11,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
437,
12,
16,
11,
47715,
10,
34846,
15,
58,
45299,
437,
11,
25,
12962,
198,
220,
872,
72,
15,
58,
45299,
45299,
16,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
45299,
16,
48688,
34846,
15,
58,
45299,
45299,
16,
12962,
198,
220,
872,
72,
15,
58,
45299,
45299,
437,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
45299,
45299,
437,
12,
16,
48688,
34846,
15,
58,
45299,
45299,
437,
12962,
198,
220,
872,
72,
15,
58,
16,
11,
45299,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
16,
11,
45299,
47715,
10,
34846,
15,
58,
17,
11,
45299,
25,
12962,
198,
220,
872,
72,
15,
58,
437,
11,
45299,
25,
22241,
15,
13,
20,
9,
7,
34846,
15,
58,
437,
12,
16,
11,
45299,
47715,
10,
34846,
15,
58,
437,
11,
45299,
25,
12962,
628,
220,
410,
1084,
796,
5288,
7,
34846,
15,
8,
198,
220,
410,
9806,
796,
5415,
7,
34846,
15,
8,
198,
220,
1303,
718,
16649,
198,
220,
1303,
16649,
352,
11,
17,
357,
87,
28,
87,
58,
16,
4357,
2124,
28,
87,
58,
437,
12962,
198,
220,
743,
23401,
13,
76,
5069,
7,
16485,
1453,
2736,
7,
55,
58,
28300,
7,
46541,
11,
45,
87,
14,
17,
13,
15,
828,
45299,
25,
4357,
16,
828,
16485,
1453,
2736,
7,
56,
58,
28300,
7,
46541,
11,
45,
87,
14,
17,
13,
15,
828,
45299,
25,
4357,
16,
828,
16485,
1453,
2736,
7,
57,
58,
28300,
7,
46541,
11,
45,
87,
14,
17,
13,
15,
828,
45299,
25,
4357,
16,
828,
198,
220,
220,
220,
16578,
945,
28,
16485,
1453,
2736,
7,
34846,
15,
58,
28300,
7,
46541,
11,
45,
87,
14,
17,
13,
15,
47762,
16,
11,
45299,
25,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
220,
743,
23401,
13,
76,
5069,
7,
16485,
1453,
2736,
7,
55,
58,
45,
87,
11,
45299,
25,
4357,
16,
828,
16485,
1453,
2736,
7,
56,
58,
45,
87,
11,
45299,
25,
4357,
16,
828,
16485,
1453,
2736,
7,
57,
58,
45,
87,
11,
45299,
25,
4357,
16,
828,
198,
220,
220,
220,
16578,
945,
28,
16485,
1453,
2736,
7,
34846,
15,
58,
45,
87,
10,
17,
11,
45299,
25,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
628,
220,
1303,
16649,
513,
11,
19,
357,
88,
28,
88,
58,
16,
4357,
331,
28,
88,
58,
437,
60,
198,
220,
743,
23401,
13,
76,
5069,
7,
16485,
1453,
2736,
7,
55,
58,
45299,
28300,
7,
46541,
11,
45,
88,
14,
17,
13,
15,
828,
25,
4357,
17,
828,
16485,
1453,
2736,
7,
56,
58,
45299,
28300,
7,
46541,
11,
45,
88,
14,
17,
13,
15,
828,
25,
4357,
17,
828,
16485,
1453,
2736,
7,
57,
58,
45299,
28300,
7,
46541,
11,
45,
88,
14,
17,
13,
15,
828,
25,
4357,
17,
828,
198,
220,
220,
220,
16578,
945,
28,
16485,
1453,
2736,
7,
34846,
15,
58,
45299,
28300,
7,
46541,
11,
45,
88,
14,
17,
13,
15,
47762,
16,
11,
25,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
220,
743,
23401,
13,
76,
5069,
7,
16485,
1453,
2736,
7,
55,
58,
45299,
45,
88,
11,
25,
4357,
17,
828,
16485,
1453,
2736,
7,
56,
58,
45299,
45,
88,
11,
25,
4357,
17,
828,
16485,
1453,
2736,
7,
57,
58,
45299,
45,
88,
11,
25,
4357,
17,
828,
198,
220,
220,
220,
16578,
945,
28,
16485,
1453,
2736,
7,
34846,
15,
58,
45299,
45,
88,
10,
17,
11,
25,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
628,
220,
1303,
16649,
642,
11,
21,
357,
89,
28,
89,
58,
16,
4357,
1976,
28,
89,
58,
437,
60,
198,
220,
743,
23401,
13,
76,
5069,
7,
55,
58,
45299,
45299,
28300,
7,
46541,
11,
45,
89,
14,
17,
13,
15,
8,
4357,
56,
58,
45299,
45299,
28300,
7,
46541,
11,
45,
89,
14,
17,
13,
15,
8,
4357,
57,
58,
45299,
45299,
28300,
7,
46541,
11,
45,
89,
14,
17,
13,
15,
8,
4357,
198,
220,
220,
220,
16578,
945,
28,
34846,
15,
58,
45299,
45299,
28300,
7,
46541,
11,
45,
89,
14,
17,
13,
15,
47762,
16,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
220,
743,
23401,
13,
76,
5069,
7,
55,
58,
45299,
45299,
45,
89,
4357,
56,
58,
45299,
45299,
45,
89,
4357,
57,
58,
45299,
45299,
45,
89,
4357,
198,
220,
220,
220,
16578,
945,
28,
34846,
15,
58,
45299,
45299,
45,
89,
10,
16,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
220,
743,
23401,
13,
8043,
5657,
3419,
198,
220,
743,
23401,
13,
897,
274,
3419,
198,
220,
285,
9442,
28,
11261,
23401,
13,
1416,
26892,
3419,
198,
220,
743,
23401,
13,
12860,
3419,
198,
220,
1441,
285,
9442,
198,
437,
198,
437,
198,
198,
14468,
7804,
2235,
15612,
1096,
569,
478,
669,
1303,
14468,
4242,
198,
8818,
38350,
28780,
53,
478,
669,
7,
34846,
3712,
28780,
38469,
8,
198,
67,
28,
34846,
13,
27830,
13,
46156,
198,
361,
288,
855,
16,
8614,
288,
855,
16,
13,
20,
198,
220,
44872,
7203,
38469,
32704,
2499,
691,
287,
362,
35,
290,
513,
35,
4943,
198,
17772,
361,
288,
855,
17,
8614,
288,
855,
17,
13,
20,
198,
220,
2124,
796,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
198,
220,
331,
796,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
198,
220,
627,
1428,
7,
260,
4426,
265,
7,
87,
11,
352,
11,
4129,
7,
88,
36911,
1128,
6759,
7,
88,
3256,
4129,
7,
87,
828,
352,
828,
872,
72,
13,
87,
8367,
11,
872,
72,
13,
88,
8367,
8,
198,
17772,
361,
288,
855,
17,
13,
23,
198,
220,
2124,
796,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
87,
198,
220,
331,
796,
872,
72,
13,
27830,
13,
3846,
1087,
364,
13,
88,
6,
198,
220,
850,
29487,
7,
16243,
11,
13559,
2625,
7942,
4943,
198,
220,
627,
1428,
7,
260,
4426,
265,
7,
88,
11,
4129,
7,
87,
828,
352,
828,
1128,
6759,
7,
87,
11,
352,
11,
4129,
7,
88,
36911,
198,
220,
872,
72,
13,
87,
8367,
15885,
6966,
7,
88,
13219,
34846,
13,
88,
8367,
15885,
31369,
7,
88,
828,
872,
72,
13,
87,
8367,
15885,
31369,
7,
88,
47762,
34846,
13,
88,
8367,
15885,
6966,
7,
88,
4008,
198,
17772,
361,
288,
855,
18,
198,
220,
399,
87,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
16,
60,
198,
220,
17735,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
17,
60,
198,
220,
399,
89,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
18,
60,
198,
220,
2124,
28,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
87,
198,
220,
331,
28,
19182,
7,
43879,
2414,
11,
16,
11,
45,
88,
8,
198,
220,
331,
58,
25,
22241,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
88,
198,
220,
1976,
28,
19182,
7,
43879,
2414,
11,
16,
11,
16,
11,
45,
89,
8,
198,
220,
1976,
58,
25,
22241,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
89,
628,
220,
1303,
85,
1084,
796,
5288,
7,
34846,
13,
87,
8367,
8,
198,
220,
1303,
85,
9806,
796,
5415,
7,
34846,
15,
8,
628,
220,
257,
28,
1952,
7,
45,
87,
11,
45,
88,
11,
45,
89,
8,
198,
220,
1395,
796,
2124,
15885,
64,
198,
220,
575,
796,
331,
15885,
64,
198,
220,
1168,
796,
1976,
15885,
64,
628,
220,
743,
23401,
13,
421,
1428,
18,
67,
7,
55,
11,
56,
11,
57,
11,
872,
72,
13,
87,
8367,
11,
872,
72,
13,
88,
8367,
11,
872,
72,
13,
89,
8367,
8,
198,
220,
743,
23401,
13,
448,
1370,
3419,
198,
198,
2,
220,
220,
1303,
718,
16649,
198,
2,
220,
220,
1303,
16649,
352,
11,
17,
357,
87,
28,
87,
58,
16,
4357,
2124,
28,
87,
58,
437,
12962,
198,
2,
220,
220,
575,
28,
260,
4426,
265,
7,
88,
11,
16,
11,
45,
89,
8,
198,
2,
220,
220,
1168,
28,
260,
4426,
265,
7,
89,
11,
16,
11,
45,
88,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
87,
58,
16,
60,
9,
1952,
7,
45,
88,
11,
45,
89,
828,
56,
11,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
11,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
87,
58,
437,
60,
9,
1952,
7,
45,
88,
11,
45,
89,
828,
56,
11,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
16,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
198,
2,
220,
220,
1303,
16649,
513,
11,
19,
357,
88,
28,
88,
58,
16,
4357,
331,
28,
88,
58,
437,
60,
198,
2,
220,
220,
1395,
796,
1128,
6759,
7,
87,
11,
16,
11,
45,
89,
8,
198,
2,
220,
220,
1168,
796,
1128,
6759,
7,
89,
11,
16,
11,
45,
87,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
88,
58,
16,
60,
9,
1952,
7,
45,
87,
11,
45,
89,
828,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
11,
17,
25,
437,
12,
16,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
88,
58,
437,
60,
9,
1952,
7,
45,
87,
11,
45,
89,
828,
57,
3256,
1416,
282,
945,
28,
16485,
1453,
2736,
7,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
437,
12,
16,
11,
17,
25,
437,
12,
16,
4357,
17,
828,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
897,
274,
3419,
198,
2,
198,
2,
220,
220,
1303,
16649,
642,
11,
21,
357,
89,
28,
89,
58,
16,
4357,
1976,
28,
89,
58,
437,
60,
198,
2,
220,
220,
1395,
796,
1128,
6759,
7,
87,
11,
16,
11,
45,
88,
8,
198,
2,
220,
220,
575,
796,
1128,
6759,
7,
88,
11,
16,
11,
45,
87,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
56,
3256,
89,
58,
16,
60,
9,
1952,
7,
45,
87,
11,
45,
88,
828,
1416,
282,
945,
28,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
17,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
198,
2,
220,
220,
743,
23401,
13,
76,
5069,
7,
55,
11,
56,
3256,
89,
58,
437,
60,
9,
1952,
7,
45,
87,
11,
45,
88,
828,
1416,
282,
945,
28,
34846,
13,
8367,
58,
17,
25,
437,
12,
16,
11,
17,
25,
437,
12,
16,
11,
437,
12,
16,
4357,
410,
1084,
28,
85,
1084,
11,
410,
9806,
28,
85,
9806,
11,
45912,
28,
15,
13,
23,
8,
628,
220,
743,
23401,
13,
8043,
5657,
3419,
198,
220,
743,
23401,
13,
897,
274,
3419,
198,
220,
285,
9442,
28,
743,
23401,
13,
1416,
26892,
3419,
198,
220,
743,
23401,
13,
12860,
3419,
198,
220,
1441,
285,
9442,
198,
198,
17772,
361,
288,
855,
18,
13,
17,
198,
220,
399,
87,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
16,
60,
198,
220,
17735,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
17,
60,
198,
220,
399,
89,
796,
872,
72,
13,
27830,
13,
67,
12078,
58,
18,
60,
198,
220,
374,
28,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
87,
198,
220,
262,
8326,
796,
15690,
7,
43879,
2414,
11,
16,
11,
45,
88,
8,
198,
220,
262,
8326,
58,
25,
22241,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
88,
198,
220,
1976,
28,
19182,
7,
43879,
2414,
11,
16,
11,
16,
11,
45,
89,
8,
198,
220,
1976,
58,
25,
22241,
34846,
13,
27830,
13,
3846,
1087,
364,
13,
89,
198,
220,
257,
28,
1952,
7,
45,
87,
11,
45,
88,
11,
45,
89,
8,
198,
220,
371,
28,
81,
15885,
64,
198,
220,
2320,
796,
262,
8326,
15885,
64,
198,
220,
1168,
796,
1976,
15885,
64,
628,
220,
1395,
28,
49,
15885,
6966,
7,
4221,
8,
198,
220,
575,
28,
49,
15885,
31369,
7,
4221,
8,
628,
220,
1303,
85,
1084,
796,
5288,
7,
34846,
15,
8,
198,
220,
1303,
85,
9806,
796,
5415,
7,
34846,
15,
8,
198,
220,
1303,
718,
16649,
198,
220,
1303,
16649,
352,
11,
17,
357,
87,
28,
87,
58,
16,
4357,
2124,
28,
87,
58,
437,
12962,
198,
220,
743,
23401,
13,
421,
1428,
18,
67,
7,
55,
11,
56,
11,
57,
11,
872,
72,
13,
87,
8367,
15885,
6966,
7,
4221,
13219,
34846,
13,
88,
8367,
15885,
31369,
7,
4221,
828,
198,
220,
872,
72,
13,
87,
8367,
15885,
31369,
7,
4221,
47762,
34846,
13,
88,
8367,
15885,
6966,
7,
4221,
828,
872,
72,
13,
89,
8367,
8,
198,
220,
743,
23401,
13,
8043,
5657,
3419,
198,
220,
743,
23401,
13,
897,
274,
3419,
198,
220,
285,
9442,
28,
11261,
23401,
13,
1416,
26892,
3419,
198,
220,
743,
23401,
13,
12860,
3419,
198,
220,
1441,
285,
9442,
198,
437,
198,
437,
198
] | 1.921321 | 5,694 |
module TestExamples3DCurved
using Test
using Trixi
include("test_trixi.jl")
# pathof(Trixi) returns /path/to/Trixi/src/Trixi.jl, dirname gives the parent directory
EXAMPLES_DIR = joinpath(pathof(Trixi) |> dirname |> dirname, "examples", "3d")
@testset "Curved mesh" begin
@testset "elixir_advection_basic_curved.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_basic_curved.jl"),
l2 = [0.00013446460962856976],
linf = [0.0012577781391462928])
end
@testset "elixir_advection_free_stream_curved.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_free_stream_curved.jl"),
l2 = [1.830875777528287e-14],
linf = [7.491784970170556e-13],
atol = 8e-13, # required to make tests pass on Windows
)
end
@testset "elixir_euler_source_terms_curved.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_source_terms_curved.jl"),
l2 = [0.01032310150257373, 0.009728768969448439, 0.009728768969448494, 0.009728768969448388, 0.015080412597559597],
linf = [0.034894790428615874, 0.033835365548322116, 0.033835365548322116, 0.03383536554832034, 0.06785765131417065])
end
@testset "elixir_euler_free_stream_curved.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_free_stream_curved.jl"),
l2 = [2.8815700334367128e-15, 9.361915278236651e-15, 9.95614203619935e-15, 1.6809941842374106e-14, 1.4815037041566735e-14],
linf = [4.1300296516055823e-14, 2.0444756998472258e-13, 1.0133560657266116e-13, 3.1896707497480747e-13, 6.092903959142859e-13])
end
end
end # module
| [
21412,
6208,
27730,
18,
9697,
333,
1079,
198,
198,
3500,
6208,
198,
3500,
7563,
29992,
198,
198,
17256,
7203,
9288,
62,
83,
8609,
72,
13,
20362,
4943,
198,
198,
2,
3108,
1659,
7,
51,
8609,
72,
8,
5860,
1220,
6978,
14,
1462,
14,
51,
8609,
72,
14,
10677,
14,
51,
8609,
72,
13,
20362,
11,
26672,
3672,
3607,
262,
2560,
8619,
198,
6369,
2390,
6489,
1546,
62,
34720,
796,
4654,
6978,
7,
6978,
1659,
7,
51,
8609,
72,
8,
930,
29,
26672,
3672,
930,
29,
26672,
3672,
11,
366,
1069,
12629,
1600,
366,
18,
67,
4943,
198,
198,
31,
9288,
2617,
366,
26628,
1079,
19609,
1,
2221,
198,
220,
2488,
9288,
2617,
366,
417,
32345,
62,
324,
303,
596,
62,
35487,
62,
22019,
1079,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
62,
83,
8609,
72,
62,
17256,
7,
22179,
6978,
7,
6369,
2390,
6489,
1546,
62,
34720,
11,
366,
417,
32345,
62,
324,
303,
596,
62,
35487,
62,
22019,
1079,
13,
20362,
12340,
198,
220,
220,
220,
220,
220,
300,
17,
220,
220,
796,
685,
15,
13,
18005,
33535,
2414,
1899,
4846,
26279,
3388,
4304,
4357,
198,
220,
220,
220,
220,
220,
9493,
69,
796,
685,
15,
13,
405,
11623,
3324,
3695,
20219,
20964,
1959,
2078,
12962,
198,
220,
886,
628,
220,
2488,
9288,
2617,
366,
417,
32345,
62,
324,
303,
596,
62,
5787,
62,
5532,
62,
22019,
1079,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
62,
83,
8609,
72,
62,
17256,
7,
22179,
6978,
7,
6369,
2390,
6489,
1546,
62,
34720,
11,
366,
417,
32345,
62,
324,
303,
596,
62,
5787,
62,
5532,
62,
22019,
1079,
13,
20362,
12340,
198,
220,
220,
220,
220,
220,
300,
17,
220,
220,
796,
685,
16,
13,
23,
21495,
2425,
3324,
2425,
2078,
27800,
68,
12,
1415,
4357,
198,
220,
220,
220,
220,
220,
9493,
69,
796,
685,
22,
13,
2920,
23188,
38073,
486,
2154,
37864,
68,
12,
1485,
4357,
198,
220,
220,
220,
220,
220,
379,
349,
796,
807,
68,
12,
1485,
11,
1303,
2672,
284,
787,
5254,
1208,
319,
3964,
198,
220,
220,
220,
220,
220,
1267,
198,
220,
886,
628,
220,
2488,
9288,
2617,
366,
417,
32345,
62,
68,
18173,
62,
10459,
62,
38707,
62,
22019,
1079,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
62,
83,
8609,
72,
62,
17256,
7,
22179,
6978,
7,
6369,
2390,
6489,
1546,
62,
34720,
11,
366,
417,
32345,
62,
68,
18173,
62,
10459,
62,
38707,
62,
22019,
1079,
13,
20362,
12340,
198,
220,
220,
220,
220,
220,
300,
17,
220,
220,
796,
685,
15,
13,
486,
3070,
1954,
8784,
1120,
28676,
34770,
11,
657,
13,
405,
5607,
27800,
3104,
38819,
2598,
5705,
2670,
11,
657,
13,
405,
5607,
27800,
3104,
38819,
31115,
39449,
11,
657,
13,
405,
5607,
27800,
3104,
38819,
31115,
30460,
11,
657,
13,
486,
1120,
36088,
1065,
3270,
2425,
3270,
43239,
4357,
198,
220,
220,
220,
220,
220,
9493,
69,
796,
685,
15,
13,
49841,
4531,
31714,
3023,
27033,
21273,
4524,
11,
657,
13,
15,
28460,
2327,
2623,
2816,
2780,
37283,
18298,
11,
657,
13,
15,
28460,
2327,
2623,
2816,
2780,
37283,
18298,
11,
657,
13,
15,
28460,
2327,
2623,
2816,
2780,
19504,
2682,
11,
657,
13,
15,
30924,
3553,
2996,
1485,
1415,
17279,
2996,
12962,
198,
220,
886,
628,
220,
2488,
9288,
2617,
366,
417,
32345,
62,
68,
18173,
62,
5787,
62,
5532,
62,
22019,
1079,
13,
20362,
1,
2221,
198,
220,
220,
220,
2488,
9288,
62,
83,
8609,
72,
62,
17256,
7,
22179,
6978,
7,
6369,
2390,
6489,
1546,
62,
34720,
11,
366,
417,
32345,
62,
68,
18173,
62,
5787,
62,
5532,
62,
22019,
1079,
13,
20362,
12340,
198,
220,
220,
220,
220,
220,
300,
17,
220,
220,
796,
685,
17,
13,
3459,
1314,
9879,
31380,
27824,
12762,
68,
12,
1314,
11,
860,
13,
2623,
1129,
1314,
25870,
1954,
2791,
4349,
68,
12,
1314,
11,
860,
13,
3865,
46841,
1238,
2623,
19104,
2327,
68,
12,
1314,
11,
352,
13,
37397,
42691,
22883,
1954,
4524,
15801,
68,
12,
1415,
11,
352,
13,
2780,
8628,
20167,
35038,
28933,
2327,
68,
12,
1415,
4357,
198,
220,
220,
220,
220,
220,
9493,
69,
796,
685,
19,
13,
1485,
405,
1959,
2996,
1433,
2713,
3365,
1954,
68,
12,
1415,
11,
362,
13,
15,
30272,
38219,
34808,
2857,
18182,
23,
68,
12,
1485,
11,
352,
13,
486,
27326,
1899,
37680,
25540,
18298,
68,
12,
1485,
11,
513,
13,
1507,
4846,
24038,
2920,
4524,
36928,
2857,
68,
12,
1485,
11,
718,
13,
2931,
24369,
2670,
3270,
1415,
2078,
3270,
68,
12,
1485,
12962,
198,
220,
886,
198,
437,
198,
198,
437,
1303,
8265,
198
] | 2.114733 | 767 |
function k_tr{T}(x::T)
if(isnan(x) || abs(x)<= one(T))
return one(Float64)
else
return zero(Float64)
end
end
function k_bt{T}(x::T)
if isnan(x)
one(Float64)
end
float(max(one(T)-abs(x), zero(T)))
end
function k_pr{T}(x::T)
if isnan(x)
one(Float64)
end
ax = abs(x)
if(ax > one(T))
zero(Float64)
elseif ax <= .5
float(1 - 6 * x^2 + 6 * ax^3)
else
float(2 * (1-ax)^3)
end
end
function k_qs{T <: Number}(x::T)
if isnan(x)
one(Float64)
end
if(isequal(x, zero(eltype(x))))
one(Float64)
else
return (25/(12*π²*x^2))*(sin(sixπ*x/5)/(sixπ*x/5)-cos(sixπ*x/5))
end
end
function k_th{T <: Number}(x::T)
if isnan(x)
one(Float64)
end
ax = abs(x)
if(ax < one(T))
(1 + cos(π*x))/2
else
zero(Float64)
end
end
##############################################################################
##
## Optimal band-width
##
##############################################################################
type TruncatedKernel <: HAC
kernel::Function
bw::Function
end
type BartlettKernel <: HAC
kernel::Function
bw::Function
end
type ParzenKernel <: HAC
kernel::Function
bw::Function
end
type TukeyHanningKernel <: HAC
kernel::Function
bw::Function
end
type QuadraticSpectralKernel <: HAC
kernel::Function
bw::Function
end
type VARHAC <: HAC
imax::Int64
ilag::Int64
imodel::Int64
end
typealias TRK TruncatedKernel
typealias BTK BartlettKernel
typealias PRK ParzenKernel
typealias THK TukeyHanningKernel
typealias QSK QuadraticSpectralKernel
TruncatedKernel() = TRK(k_tr, optimalbw_ar_one)
BartlettKernel() = BTK(k_bt, optimalbw_ar_one)
ParzenKernel() = PRK(k_pr, optimalbw_ar_one)
TukeyHanningKernel() = THK(k_th, optimalbw_ar_one)
QuadraticSpectralKernel() = QSK(k_qs, optimalbw_ar_one)
TruncatedKernel(bw::Number) = TRK(k_tr, (x, k) -> float(bw))
BartlettKernel(bw::Number) = BTK(k_bt, (x, k) -> float(bw))
ParzenKernel(bw::Number) = PRK(k_pr, (x, k) -> float(bw))
TukeyHanningKernel(bw::Number) = THK(k_th, (x, k) -> float(bw))
QuadraticSpectralKernel(bw::Number) = QSK(k_qs, (x, k) -> float(bw))
VARHAC() = VARHAC(2, 2, 1)
VARHAC(imax::Int64) = VARHAC(imax, 2, 1)
function bandwidth(k::HAC, X::AbstractMatrix)
return floor(k.bw(X, k))
end
function bandwidth(k::QuadraticSpectralKernel, X::AbstractMatrix)
return k.bw(X, k)
end
kernel(k::HAC, x::Real) = k.kernel(x)
function Γ(X::AbstractMatrix, j::Int64)
T, p = size(X)
Q = zeros(eltype(X), p, p)
if j>=0
for h=1:p, s = 1:h
for t = j+1:T
@inbounds Q[s, h] = Q[s, h] + X[t, s]*X[t-j, h]
end
end
else
for h=1:p, s = 1:h
for t = -j+1:T
@inbounds Q[s,h] = Q[s ,h] + X[t+j, s]*X[t,h]
end
end
end
return Q
end
vcov(X::AbstractMatrix, k::VARHAC) = varhac(X, k.imax, k.ilag, k.imodel)
function vcov(X::AbstractMatrix, k::HAC; prewhite=true)
n, p = size(X)
!prewhite || ((X, D) = pre_white(X))
bw = bandwidth(k, X)
Q = zeros(eltype(X), p, p)
for j=-bw:bw
Base.BLAS.axpy!(kernel(k, j/bw), Γ(X, @compat Int(j)), Q)
end
Base.LinAlg.copytri!(Q, 'U')
if prewhite
Q[:] = D*Q*D'
end
return scale!(Q, 1/n)
end
function vcov(X::AbstractMatrix, k::QuadraticSpectralKernel; prewhite=true)
n, p = size(X)
!prewhite || ((X, D) = pre_white(X))
bw = bandwidth(k, X)
Q = zeros(eltype(X), p, p)
for j=-n:n
Base.BLAS.axpy!(kernel(k, j/bw), Γ(X, @compat Int(j)), Q)
end
Base.LinAlg.copytri!(Q, 'U')
if prewhite
Q[:] = D*Q*D'
end
return scale!(Q, 1/n)
end
vcov(x::DataFrameRegressionModel, k::HAC; args...) = vcov(x.model, k; args...)
function vcov(ll::LinPredModel, k::HAC; args...)
B = meat(ll, k; args...)
A = bread(ll)
scale!(A*B*A, 1/nobs(ll))
end
function meat(l::LinPredModel, k::HAC; args...)
u = wrkresidwts(l.rr)
X = ModelMatrix(l)
z = X.*u
vcov(z, k; args...)
end
| [
8818,
479,
62,
2213,
90,
51,
92,
7,
87,
3712,
51,
8,
198,
220,
220,
220,
611,
7,
271,
12647,
7,
87,
8,
8614,
2352,
7,
87,
8,
27,
28,
530,
7,
51,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6632,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
479,
62,
18347,
90,
51,
92,
7,
87,
3712,
51,
8,
198,
220,
220,
220,
611,
2125,
272,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
12178,
7,
9806,
7,
505,
7,
51,
13219,
8937,
7,
87,
828,
6632,
7,
51,
22305,
198,
437,
198,
198,
8818,
479,
62,
1050,
90,
51,
92,
7,
87,
3712,
51,
8,
198,
220,
220,
220,
611,
2125,
272,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7877,
796,
2352,
7,
87,
8,
198,
220,
220,
220,
611,
7,
897,
1875,
530,
7,
51,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
6632,
7,
43879,
2414,
8,
198,
220,
220,
220,
2073,
361,
7877,
19841,
764,
20,
198,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
16,
532,
718,
1635,
2124,
61,
17,
1343,
718,
1635,
7877,
61,
18,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
17,
1635,
357,
16,
12,
897,
8,
61,
18,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
479,
62,
48382,
90,
51,
1279,
25,
7913,
92,
7,
87,
3712,
51,
8,
198,
220,
220,
220,
611,
2125,
272,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
7,
786,
13255,
7,
87,
11,
6632,
7,
417,
4906,
7,
87,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
1495,
29006,
1065,
9,
46582,
31185,
9,
87,
61,
17,
4008,
9,
7,
31369,
7,
19412,
46582,
9,
87,
14,
20,
20679,
7,
19412,
46582,
9,
87,
14,
20,
13219,
6966,
7,
19412,
46582,
9,
87,
14,
20,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
479,
62,
400,
90,
51,
1279,
25,
7913,
92,
7,
87,
3712,
51,
8,
198,
220,
220,
220,
611,
2125,
272,
7,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
530,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7877,
796,
2352,
7,
87,
8,
198,
220,
220,
220,
611,
7,
897,
1279,
530,
7,
51,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
1343,
8615,
7,
46582,
9,
87,
4008,
14,
17,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
6632,
7,
43879,
2414,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
29113,
29113,
7804,
4242,
2235,
198,
2235,
198,
2235,
13123,
4402,
4097,
12,
10394,
198,
2235,
198,
29113,
29113,
7804,
4242,
2235,
198,
4906,
833,
19524,
515,
42,
7948,
1279,
25,
367,
2246,
198,
220,
9720,
3712,
22203,
198,
220,
275,
86,
3712,
22203,
198,
437,
198,
198,
4906,
13167,
15503,
42,
7948,
1279,
25,
367,
2246,
198,
220,
9720,
3712,
22203,
198,
220,
275,
86,
3712,
22203,
198,
437,
198,
198,
4906,
2547,
4801,
42,
7948,
1279,
25,
367,
2246,
198,
220,
9720,
3712,
22203,
198,
220,
275,
86,
3712,
22203,
198,
437,
198,
198,
4906,
16749,
2539,
29919,
768,
42,
7948,
1279,
25,
367,
2246,
198,
220,
9720,
3712,
22203,
198,
220,
275,
86,
3712,
22203,
198,
437,
198,
198,
4906,
20648,
81,
1512,
49738,
1373,
42,
7948,
1279,
25,
367,
2246,
198,
220,
9720,
3712,
22203,
198,
220,
275,
86,
3712,
22203,
198,
437,
198,
198,
4906,
569,
1503,
39,
2246,
1279,
25,
367,
2246,
198,
220,
220,
220,
545,
897,
3712,
5317,
2414,
198,
220,
220,
220,
4229,
363,
3712,
5317,
2414,
198,
220,
220,
220,
545,
375,
417,
3712,
5317,
2414,
198,
437,
198,
198,
4906,
26011,
7579,
42,
833,
19524,
515,
42,
7948,
198,
4906,
26011,
22205,
42,
13167,
15503,
42,
7948,
198,
4906,
26011,
4810,
42,
2547,
4801,
42,
7948,
198,
4906,
26011,
2320,
42,
16749,
2539,
29919,
768,
42,
7948,
198,
4906,
26011,
1195,
18831,
20648,
81,
1512,
49738,
1373,
42,
7948,
198,
198,
2898,
19524,
515,
42,
7948,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7579,
42,
7,
74,
62,
2213,
11,
16586,
65,
86,
62,
283,
62,
505,
8,
198,
33,
433,
15503,
42,
7948,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
22205,
42,
7,
74,
62,
18347,
11,
16586,
65,
86,
62,
283,
62,
505,
8,
198,
10044,
4801,
42,
7948,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4810,
42,
7,
74,
62,
1050,
11,
16586,
65,
86,
62,
283,
62,
505,
8,
198,
47247,
2539,
29919,
768,
42,
7948,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
2320,
42,
7,
74,
62,
400,
11,
16586,
65,
86,
62,
283,
62,
505,
8,
198,
4507,
41909,
1512,
49738,
1373,
42,
7948,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
1195,
18831,
7,
74,
62,
48382,
11,
16586,
65,
86,
62,
283,
62,
505,
8,
198,
198,
2898,
19524,
515,
42,
7948,
7,
65,
86,
3712,
15057,
8,
220,
220,
220,
220,
220,
220,
220,
220,
796,
7579,
42,
7,
74,
62,
2213,
11,
357,
87,
11,
479,
8,
4613,
12178,
7,
65,
86,
4008,
198,
33,
433,
15503,
42,
7948,
7,
65,
86,
3712,
15057,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
22205,
42,
7,
74,
62,
18347,
11,
357,
87,
11,
479,
8,
4613,
12178,
7,
65,
86,
4008,
198,
10044,
4801,
42,
7948,
7,
65,
86,
3712,
15057,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4810,
42,
7,
74,
62,
1050,
11,
357,
87,
11,
479,
8,
4613,
12178,
7,
65,
86,
4008,
198,
47247,
2539,
29919,
768,
42,
7948,
7,
65,
86,
3712,
15057,
8,
220,
220,
220,
220,
220,
796,
2320,
42,
7,
74,
62,
400,
11,
357,
87,
11,
479,
8,
4613,
12178,
7,
65,
86,
4008,
198,
4507,
41909,
1512,
49738,
1373,
42,
7948,
7,
65,
86,
3712,
15057,
8,
796,
1195,
18831,
7,
74,
62,
48382,
11,
357,
87,
11,
479,
8,
4613,
12178,
7,
65,
86,
4008,
198,
198,
53,
1503,
39,
2246,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
569,
1503,
39,
2246,
7,
17,
11,
362,
11,
352,
8,
198,
53,
1503,
39,
2246,
7,
320,
897,
3712,
5317,
2414,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
569,
1503,
39,
2246,
7,
320,
897,
11,
362,
11,
352,
8,
198,
198,
8818,
19484,
7,
74,
3712,
39,
2246,
11,
1395,
3712,
23839,
46912,
8,
198,
220,
1441,
4314,
7,
74,
13,
65,
86,
7,
55,
11,
479,
4008,
198,
437,
198,
198,
8818,
19484,
7,
74,
3712,
4507,
41909,
1512,
49738,
1373,
42,
7948,
11,
1395,
3712,
23839,
46912,
8,
198,
220,
220,
220,
1441,
479,
13,
65,
86,
7,
55,
11,
479,
8,
198,
437,
198,
198,
33885,
7,
74,
3712,
39,
2246,
11,
2124,
3712,
15633,
8,
796,
479,
13,
33885,
7,
87,
8,
198,
198,
8818,
7377,
241,
7,
55,
3712,
23839,
46912,
11,
474,
3712,
5317,
2414,
8,
198,
220,
220,
220,
309,
11,
279,
796,
2546,
7,
55,
8,
198,
220,
220,
220,
1195,
796,
1976,
27498,
7,
417,
4906,
7,
55,
828,
279,
11,
279,
8,
198,
220,
220,
220,
611,
474,
29,
28,
15,
198,
220,
220,
220,
220,
220,
220,
220,
329,
289,
28,
16,
25,
79,
11,
264,
796,
352,
25,
71,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
256,
796,
474,
10,
16,
25,
51,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
1195,
58,
82,
11,
289,
60,
796,
1195,
58,
82,
11,
289,
60,
1343,
1395,
58,
83,
11,
264,
60,
9,
55,
58,
83,
12,
73,
11,
289,
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,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
329,
289,
28,
16,
25,
79,
11,
264,
796,
352,
25,
71,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
256,
796,
532,
73,
10,
16,
25,
51,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
1195,
58,
82,
11,
71,
60,
796,
1195,
58,
82,
837,
71,
60,
1343,
1395,
58,
83,
10,
73,
11,
264,
60,
9,
55,
58,
83,
11,
71,
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,
1195,
198,
437,
198,
198,
28435,
709,
7,
55,
3712,
23839,
46912,
11,
479,
3712,
53,
1503,
39,
2246,
8,
796,
1401,
71,
330,
7,
55,
11,
479,
13,
320,
897,
11,
479,
13,
346,
363,
11,
479,
13,
320,
375,
417,
8,
198,
198,
8818,
410,
66,
709,
7,
55,
3712,
23839,
46912,
11,
479,
3712,
39,
2246,
26,
662,
11186,
28,
7942,
8,
198,
220,
220,
220,
299,
11,
279,
796,
2546,
7,
55,
8,
198,
220,
220,
220,
5145,
79,
1809,
71,
578,
8614,
14808,
55,
11,
360,
8,
796,
662,
62,
11186,
7,
55,
4008,
198,
220,
220,
220,
275,
86,
796,
19484,
7,
74,
11,
1395,
8,
198,
220,
220,
220,
1195,
220,
796,
1976,
27498,
7,
417,
4906,
7,
55,
828,
279,
11,
279,
8,
198,
220,
220,
220,
329,
474,
10779,
65,
86,
25,
65,
86,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
9148,
1921,
13,
897,
9078,
0,
7,
33885,
7,
74,
11,
474,
14,
65,
86,
828,
7377,
241,
7,
55,
11,
2488,
5589,
265,
2558,
7,
73,
36911,
1195,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7308,
13,
14993,
2348,
70,
13,
30073,
28461,
0,
7,
48,
11,
705,
52,
11537,
198,
220,
220,
220,
611,
662,
11186,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
58,
47715,
796,
360,
9,
48,
9,
35,
6,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
5046,
0,
7,
48,
11,
352,
14,
77,
8,
198,
437,
198,
198,
8818,
410,
66,
709,
7,
55,
3712,
23839,
46912,
11,
479,
3712,
4507,
41909,
1512,
49738,
1373,
42,
7948,
26,
662,
11186,
28,
7942,
8,
198,
220,
220,
220,
299,
11,
279,
796,
2546,
7,
55,
8,
198,
220,
220,
220,
5145,
79,
1809,
71,
578,
8614,
14808,
55,
11,
360,
8,
796,
662,
62,
11186,
7,
55,
4008,
198,
220,
220,
220,
275,
86,
796,
19484,
7,
74,
11,
1395,
8,
198,
220,
220,
220,
1195,
796,
1976,
27498,
7,
417,
4906,
7,
55,
828,
279,
11,
279,
8,
198,
220,
220,
220,
329,
474,
10779,
77,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
9148,
1921,
13,
897,
9078,
0,
7,
33885,
7,
74,
11,
474,
14,
65,
86,
828,
7377,
241,
7,
55,
11,
2488,
5589,
265,
2558,
7,
73,
36911,
1195,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7308,
13,
14993,
2348,
70,
13,
30073,
28461,
0,
7,
48,
11,
705,
52,
11537,
198,
220,
220,
220,
611,
662,
11186,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
58,
47715,
796,
360,
9,
48,
9,
35,
6,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
5046,
0,
7,
48,
11,
352,
14,
77,
8,
198,
437,
198,
198,
28435,
709,
7,
87,
3712,
6601,
19778,
8081,
2234,
17633,
11,
479,
3712,
39,
2246,
26,
26498,
23029,
796,
410,
66,
709,
7,
87,
13,
19849,
11,
479,
26,
26498,
23029,
198,
198,
8818,
410,
66,
709,
7,
297,
3712,
14993,
39156,
17633,
11,
479,
3712,
39,
2246,
26,
26498,
23029,
198,
220,
220,
220,
347,
796,
6174,
7,
297,
11,
479,
26,
26498,
23029,
198,
220,
220,
220,
317,
796,
8509,
7,
297,
8,
198,
220,
220,
220,
5046,
0,
7,
32,
9,
33,
9,
32,
11,
352,
14,
77,
8158,
7,
297,
4008,
198,
437,
198,
198,
8818,
6174,
7,
75,
3712,
14993,
39156,
17633,
11,
220,
479,
3712,
39,
2246,
26,
26498,
23029,
198,
220,
220,
220,
334,
796,
1319,
74,
411,
312,
86,
912,
7,
75,
13,
21062,
8,
198,
220,
220,
220,
1395,
796,
9104,
46912,
7,
75,
8,
198,
220,
220,
220,
1976,
796,
1395,
15885,
84,
198,
220,
220,
220,
410,
66,
709,
7,
89,
11,
479,
26,
26498,
23029,
198,
437,
198
] | 1.883988 | 2,267 |
using RiskAdjustedLinearizations, FastGaussQuadrature, Test
@testset "Gauss-Hermite Quadrature for Expectations of Functions of Independent Normally Distributed Random Variables/Vectors" begin
f(x) = x # calculate the expected value
g(x) = 1. # calculate the probability
ϵᵢ, wᵢ = RiskAdjustedLinearizations.standard_normal_gausshermite(3)
true_eps, true_wts = gausshermite(3)
@test ϵᵢ == true_eps .* sqrt(2.)
@test wᵢ == true_wts ./ sqrt(π)
mean51 = gausshermite_expectation(f, 5., 1., 5)
mean01 = gausshermite_expectation(f, 0., 1., 5)
mean53 = gausshermite_expectation(f, 5., 3., 5)
mean03 = gausshermite_expectation(f, 0., 3., 5)
prob = gausshermite_expectation(g, -5., .1)
@test mean51 ≈ 5.
@test mean53 ≈ 5.
@test isapprox(mean01, 0., atol = 1e-14)
@test isapprox(mean03, 0., atol = 1e-14)
@test prob ≈ 1.
h1(x) = x[1]
h2(x) = x[2]
prob1 = gausshermite_expectation(g, [.5, 5.], [1., 1.], 5)
mean11 = gausshermite_expectation(h1, [.5, 5.], [1., 1.], 5)
mean21 = gausshermite_expectation(h2, [.5, 5.], [1., 1.], 5)
prob2 = gausshermite_expectation(g, [5., -1.], [1., 1.], (5, 5))
mean12 = gausshermite_expectation(h1, [.5, 5.], [1., 1.], (5, 5))
mean22 = gausshermite_expectation(h2, [.5, 5.], [1., 1.], (5, 5))
prob3 = gausshermite_expectation(g, [5., -1., 2.], [1., 1., 2.], [5, 5, 3])
mean13 = gausshermite_expectation(h1, [.5, 5., 2.], [1., 1., 1.], [5, 5, 3])
mean23 = gausshermite_expectation(h2, [.5, 5., 2.], [1., 1., 1.], [5, 5, 3])
@test prob1 ≈ prob2 ≈ prob3 ≈ 1.
@test mean11 ≈ mean12 ≈ mean13 ≈ .5
@test mean21 ≈ mean22 ≈ mean23 ≈ 5.
end
nothing
| [
3500,
19602,
39668,
276,
14993,
451,
4582,
11,
12549,
35389,
1046,
4507,
41909,
1300,
11,
6208,
198,
198,
31,
9288,
2617,
366,
35389,
1046,
12,
48523,
578,
20648,
81,
1300,
329,
23600,
602,
286,
40480,
286,
13362,
29282,
4307,
6169,
14534,
15965,
2977,
14,
53,
478,
669,
1,
2221,
198,
220,
220,
220,
277,
7,
87,
8,
796,
2124,
220,
1303,
15284,
262,
2938,
1988,
198,
220,
220,
220,
308,
7,
87,
8,
796,
352,
13,
1303,
15284,
262,
12867,
628,
220,
220,
220,
18074,
113,
39611,
95,
11,
266,
39611,
95,
796,
19602,
39668,
276,
14993,
451,
4582,
13,
20307,
62,
11265,
62,
4908,
1046,
372,
32937,
7,
18,
8,
198,
220,
220,
220,
2081,
62,
25386,
11,
2081,
62,
86,
912,
796,
31986,
1046,
372,
32937,
7,
18,
8,
198,
220,
220,
220,
2488,
9288,
18074,
113,
39611,
95,
6624,
2081,
62,
25386,
764,
9,
19862,
17034,
7,
17,
2014,
198,
220,
220,
220,
2488,
9288,
266,
39611,
95,
6624,
2081,
62,
86,
912,
24457,
19862,
17034,
7,
46582,
8,
628,
220,
220,
220,
1612,
4349,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
69,
11,
642,
1539,
352,
1539,
642,
8,
198,
220,
220,
220,
1612,
486,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
69,
11,
657,
1539,
352,
1539,
642,
8,
198,
220,
220,
220,
1612,
4310,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
69,
11,
642,
1539,
513,
1539,
642,
8,
198,
220,
220,
220,
1612,
3070,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
69,
11,
657,
1539,
513,
1539,
642,
8,
198,
220,
220,
220,
1861,
220,
220,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
70,
11,
532,
20,
1539,
764,
16,
8,
628,
220,
220,
220,
2488,
9288,
1612,
4349,
15139,
230,
642,
13,
198,
220,
220,
220,
2488,
9288,
1612,
4310,
15139,
230,
642,
13,
198,
220,
220,
220,
2488,
9288,
318,
1324,
13907,
7,
32604,
486,
11,
657,
1539,
379,
349,
796,
352,
68,
12,
1415,
8,
198,
220,
220,
220,
2488,
9288,
318,
1324,
13907,
7,
32604,
3070,
11,
657,
1539,
379,
349,
796,
352,
68,
12,
1415,
8,
198,
220,
220,
220,
2488,
9288,
1861,
15139,
230,
352,
13,
628,
220,
220,
220,
289,
16,
7,
87,
8,
796,
2124,
58,
16,
60,
198,
220,
220,
220,
289,
17,
7,
87,
8,
796,
2124,
58,
17,
60,
628,
220,
220,
220,
1861,
16,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
70,
11,
685,
13,
20,
11,
642,
13,
4357,
685,
16,
1539,
352,
13,
4357,
642,
8,
198,
220,
220,
220,
1612,
1157,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
16,
11,
685,
13,
20,
11,
642,
13,
4357,
685,
16,
1539,
352,
13,
4357,
642,
8,
198,
220,
220,
220,
1612,
2481,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
17,
11,
685,
13,
20,
11,
642,
13,
4357,
685,
16,
1539,
352,
13,
4357,
642,
8,
198,
220,
220,
220,
1861,
17,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
70,
11,
685,
20,
1539,
532,
16,
13,
4357,
685,
16,
1539,
352,
13,
4357,
357,
20,
11,
642,
4008,
198,
220,
220,
220,
1612,
1065,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
16,
11,
685,
13,
20,
11,
642,
13,
4357,
685,
16,
1539,
352,
13,
4357,
357,
20,
11,
642,
4008,
198,
220,
220,
220,
1612,
1828,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
17,
11,
685,
13,
20,
11,
642,
13,
4357,
685,
16,
1539,
352,
13,
4357,
357,
20,
11,
642,
4008,
198,
220,
220,
220,
1861,
18,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
70,
11,
685,
20,
1539,
532,
16,
1539,
362,
13,
4357,
685,
16,
1539,
352,
1539,
362,
13,
4357,
685,
20,
11,
642,
11,
513,
12962,
198,
220,
220,
220,
1612,
1485,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
16,
11,
685,
13,
20,
11,
642,
1539,
362,
13,
4357,
685,
16,
1539,
352,
1539,
352,
13,
4357,
685,
20,
11,
642,
11,
513,
12962,
198,
220,
220,
220,
1612,
1954,
796,
31986,
1046,
372,
32937,
62,
1069,
806,
341,
7,
71,
17,
11,
685,
13,
20,
11,
642,
1539,
362,
13,
4357,
685,
16,
1539,
352,
1539,
352,
13,
4357,
685,
20,
11,
642,
11,
513,
12962,
628,
220,
220,
220,
2488,
9288,
1861,
16,
15139,
230,
1861,
17,
15139,
230,
1861,
18,
15139,
230,
352,
13,
198,
220,
220,
220,
2488,
9288,
1612,
1157,
15139,
230,
1612,
1065,
15139,
230,
1612,
1485,
15139,
230,
764,
20,
198,
220,
220,
220,
2488,
9288,
1612,
2481,
15139,
230,
1612,
1828,
15139,
230,
1612,
1954,
15139,
230,
642,
13,
198,
437,
198,
198,
22366,
198
] | 2.097893 | 807 |
using LabReports
using Test
@testset "LabReports.jl" begin
folder = "fake_data"
reference_folder = "reference_data"
to_rename = joinpath("fake_data", "200", "200_C&D_3.4e-3")
renamed = joinpath("fake_data", "200", "200_C&D_3.4e-3_D")
data = @test_logs (:info, "Renamed $to_rename to $renamed") find_files(folder)
reference_data = find_files(reference_folder)
@test length(data) == length(reference_data) == 3
@testset "Find $k" for k in keys(data)
for (datafile, ref) in zip(data[k], reference_data[k])
@test basename(datafile.filename) == basename(ref.filename)
@test basename(datafile.savename) == basename(ref.savename)
@test datafile.units == ref.units
@test datafile.legend_units == ref.legend_units
@test datafile.idx == ref.idx
end
end
include("originlab.jl")
ENV["UNITFUL_FANCY_EXPONENTS"] = false
process_data("CV", data, select=(:Scan, ==, 2))
process_data("EIS", data, select=(Symbol("-Phase (°)"), >, 0))
process_data("C&D", data, insert_D=(0, 1.4, 0, 0, 0), continue_col=Symbol("Time (s)"))
for ((root,dirs,files),(ref_root,ref_dirs,ref_files)) in zip(walkdir(folder), walkdir(reference_folder))
@test dirs == ref_dirs
@test length(files) == length(ref_files)
@test files == ref_files
@testset "File comparison for $file" for (file, ref_file) in zip(files, ref_files)
f = read(joinpath(root, file), String)
r = read(joinpath(ref_root, ref_file), String)
@test f == r
end
end
@test filevalue(data["CV"][1]) == "14000"
@test files_with_val(data["CV"], "14000") == [data["CV"][1]]
vals = Dict("15"=>Set(["2e-3","8.9e-5"]), "200"=>Set(["3.4e-3","8.9e-5","7.4e-2"]))
@test filevalues(data["C&D"]) == vals
include("analysis.jl")
# Cleanup
clear(folder, r".*\.dat")
mv(renamed, to_rename)
end
| [
3500,
3498,
37844,
198,
3500,
6208,
198,
198,
31,
9288,
2617,
366,
17822,
37844,
13,
20362,
1,
2221,
198,
220,
220,
220,
9483,
796,
366,
30706,
62,
7890,
1,
198,
220,
220,
220,
4941,
62,
43551,
796,
366,
35790,
62,
7890,
1,
198,
220,
220,
220,
284,
62,
918,
480,
796,
4654,
6978,
7203,
30706,
62,
7890,
1600,
366,
2167,
1600,
366,
2167,
62,
34,
5,
35,
62,
18,
13,
19,
68,
12,
18,
4943,
198,
220,
220,
220,
25121,
796,
4654,
6978,
7203,
30706,
62,
7890,
1600,
366,
2167,
1600,
366,
2167,
62,
34,
5,
35,
62,
18,
13,
19,
68,
12,
18,
62,
35,
4943,
628,
220,
220,
220,
1366,
796,
2488,
9288,
62,
6404,
82,
357,
25,
10951,
11,
366,
26764,
2434,
720,
1462,
62,
918,
480,
284,
720,
918,
2434,
4943,
1064,
62,
16624,
7,
43551,
8,
198,
220,
220,
220,
4941,
62,
7890,
796,
1064,
62,
16624,
7,
35790,
62,
43551,
8,
628,
220,
220,
220,
2488,
9288,
4129,
7,
7890,
8,
6624,
4129,
7,
35790,
62,
7890,
8,
6624,
513,
198,
220,
220,
220,
2488,
9288,
2617,
366,
16742,
720,
74,
1,
329,
479,
287,
8251,
7,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
7890,
7753,
11,
1006,
8,
287,
19974,
7,
7890,
58,
74,
4357,
4941,
62,
7890,
58,
74,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1615,
12453,
7,
7890,
7753,
13,
34345,
8,
6624,
1615,
12453,
7,
5420,
13,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1615,
12453,
7,
7890,
7753,
13,
82,
4005,
480,
8,
6624,
1615,
12453,
7,
5420,
13,
82,
4005,
480,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1366,
7753,
13,
41667,
6624,
1006,
13,
41667,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1366,
7753,
13,
1455,
437,
62,
41667,
6624,
1006,
13,
1455,
437,
62,
41667,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
1366,
7753,
13,
312,
87,
6624,
1006,
13,
312,
87,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2291,
7203,
47103,
23912,
13,
20362,
4943,
628,
220,
220,
220,
12964,
53,
14692,
4944,
2043,
46476,
62,
37,
20940,
56,
62,
49864,
1340,
15365,
8973,
796,
3991,
628,
220,
220,
220,
1429,
62,
7890,
7203,
33538,
1600,
1366,
11,
2922,
16193,
25,
33351,
11,
6624,
11,
362,
4008,
628,
220,
220,
220,
1429,
62,
7890,
7203,
36,
1797,
1600,
1366,
11,
2922,
16193,
13940,
23650,
7203,
12,
35645,
357,
7200,
8,
12340,
1875,
11,
657,
4008,
628,
220,
220,
220,
1429,
62,
7890,
7203,
34,
5,
35,
1600,
1366,
11,
7550,
62,
35,
16193,
15,
11,
352,
13,
19,
11,
657,
11,
657,
11,
657,
828,
2555,
62,
4033,
28,
13940,
23650,
7203,
7575,
357,
82,
16725,
4008,
628,
220,
220,
220,
329,
14808,
15763,
11,
15908,
82,
11,
16624,
828,
7,
5420,
62,
15763,
11,
5420,
62,
15908,
82,
11,
5420,
62,
16624,
4008,
287,
19974,
7,
11152,
15908,
7,
43551,
828,
2513,
15908,
7,
35790,
62,
43551,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
288,
17062,
6624,
1006,
62,
15908,
82,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
4129,
7,
16624,
8,
6624,
4129,
7,
5420,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
3696,
6624,
1006,
62,
16624,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
8979,
7208,
329,
720,
7753,
1,
329,
357,
7753,
11,
1006,
62,
7753,
8,
287,
19974,
7,
16624,
11,
1006,
62,
16624,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1100,
7,
22179,
6978,
7,
15763,
11,
2393,
828,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
1100,
7,
22179,
6978,
7,
5420,
62,
15763,
11,
1006,
62,
7753,
828,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
277,
6624,
374,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2393,
8367,
7,
7890,
14692,
33538,
1,
7131,
16,
12962,
6624,
366,
1415,
830,
1,
198,
220,
220,
220,
2488,
9288,
3696,
62,
4480,
62,
2100,
7,
7890,
14692,
33538,
33116,
366,
1415,
830,
4943,
6624,
685,
7890,
14692,
33538,
1,
7131,
16,
11907,
628,
220,
220,
220,
410,
874,
796,
360,
713,
7203,
1314,
1,
14804,
7248,
7,
14692,
17,
68,
12,
18,
2430,
23,
13,
24,
68,
12,
20,
8973,
828,
366,
2167,
1,
14804,
7248,
7,
14692,
18,
13,
19,
68,
12,
18,
2430,
23,
13,
24,
68,
12,
20,
2430,
22,
13,
19,
68,
12,
17,
8973,
4008,
198,
220,
220,
220,
2488,
9288,
2393,
27160,
7,
7890,
14692,
34,
5,
35,
8973,
8,
6624,
410,
874,
628,
220,
220,
220,
2291,
7203,
20930,
13,
20362,
4943,
628,
220,
220,
220,
1303,
5985,
929,
198,
220,
220,
220,
1598,
7,
43551,
11,
374,
1911,
9,
17405,
19608,
4943,
198,
220,
220,
220,
285,
85,
7,
918,
2434,
11,
284,
62,
918,
480,
8,
198,
437,
198
] | 2.204724 | 889 |
capa = 10
c = Channel(capa)
function f(c)
for i in 1:10
put!(c, i)
end
end
function g(c)
for i in c
sleep(0.5)
println("From g: ", i)
end
println("Finish")
end
@async f(c)
@async g(c)
| [
11128,
64,
796,
838,
198,
66,
796,
11102,
7,
11128,
64,
8,
198,
198,
8818,
277,
7,
66,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
25,
940,
198,
220,
220,
220,
220,
220,
220,
220,
1234,
0,
7,
66,
11,
1312,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
308,
7,
66,
8,
198,
220,
220,
220,
329,
1312,
287,
269,
198,
220,
220,
220,
220,
220,
220,
220,
3993,
7,
15,
13,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
4863,
308,
25,
33172,
1312,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
44872,
7203,
48658,
4943,
198,
437,
198,
198,
31,
292,
13361,
277,
7,
66,
8,
198,
31,
292,
13361,
308,
7,
66,
8,
198
] | 1.790698 | 129 |
using HDF5
function test_hdf5_output_layer(backend::Backend, T, eps)
println("-- Testing HDF5 Output Layer on $(typeof(backend)){$T}...")
############################################################
# Prepare Data for Testing
############################################################
tensor_dim = abs(rand(Int)) % 4 + 2
dims = tuple((abs(rand(Int, tensor_dim)) % 8 + 1)...)
println(" > $dims")
input = rand(T, dims)
input_blob = make_blob(backend, input)
output_fn = string(Mocha.temp_filename(), ".hdf5")
open(output_fn, "w") do file
# create an empty file
end
layer = HDF5OutputLayer(bottoms=[:input], datasets=[:foobar], filename=output_fn)
@test_throws ErrorException setup(backend, layer, Blob[input_blob], Blob[NullBlob()])
layer = HDF5OutputLayer(bottoms=[:input], datasets=[:foobar],
filename=output_fn, force_overwrite=true)
state = setup(backend, layer, Blob[input_blob], Blob[NullBlob()])
# repeat 3 times
forward(backend, state, Blob[input_blob])
forward(backend, state, Blob[input_blob])
forward(backend, state, Blob[input_blob])
shutdown(backend, state)
expected_output = cat(tensor_dim, input, input, input)
got_output = h5open(output_fn, "r") do h5
read(h5, "foobar")
end
@test size(expected_output) == size(got_output)
@test eltype(expected_output) == eltype(got_output)
@test all(abs(expected_output-got_output) .< eps)
rm(output_fn)
end
function test_hdf5_output_layer(backend::Backend)
test_hdf5_output_layer(backend, Float32, 1e-5)
test_hdf5_output_layer(backend, Float64, 1e-10)
end
if test_cpu
test_hdf5_output_layer(backend_cpu)
end
if test_gpu
test_hdf5_output_layer(backend_gpu)
end
| [
3500,
5572,
37,
20,
198,
198,
8818,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
3712,
7282,
437,
11,
309,
11,
304,
862,
8,
198,
220,
44872,
7203,
438,
23983,
5572,
37,
20,
25235,
34398,
319,
29568,
4906,
1659,
7,
1891,
437,
4008,
90,
3,
51,
92,
9313,
8,
628,
220,
1303,
29113,
14468,
7804,
21017,
198,
220,
1303,
43426,
6060,
329,
23983,
198,
220,
1303,
29113,
14468,
7804,
21017,
198,
220,
11192,
273,
62,
27740,
796,
2352,
7,
25192,
7,
5317,
4008,
4064,
604,
1343,
362,
198,
220,
5391,
82,
796,
46545,
19510,
8937,
7,
25192,
7,
5317,
11,
11192,
273,
62,
27740,
4008,
4064,
807,
1343,
352,
8,
23029,
198,
220,
44872,
7203,
220,
220,
220,
1875,
720,
67,
12078,
4943,
628,
220,
5128,
796,
43720,
7,
51,
11,
5391,
82,
8,
198,
220,
5128,
62,
2436,
672,
796,
787,
62,
2436,
672,
7,
1891,
437,
11,
5128,
8,
628,
220,
5072,
62,
22184,
796,
4731,
7,
44,
5374,
64,
13,
29510,
62,
34345,
22784,
27071,
71,
7568,
20,
4943,
198,
220,
1280,
7,
22915,
62,
22184,
11,
366,
86,
4943,
466,
2393,
198,
220,
220,
220,
1303,
2251,
281,
6565,
2393,
198,
220,
886,
198,
220,
7679,
796,
5572,
37,
20,
26410,
49925,
7,
10985,
3150,
41888,
25,
15414,
4357,
40522,
41888,
25,
6513,
30973,
4357,
29472,
28,
22915,
62,
22184,
8,
198,
220,
2488,
9288,
62,
400,
8516,
13047,
16922,
9058,
7,
1891,
437,
11,
7679,
11,
1086,
672,
58,
15414,
62,
2436,
672,
4357,
1086,
672,
58,
35067,
3629,
672,
3419,
12962,
628,
220,
7679,
796,
5572,
37,
20,
26410,
49925,
7,
10985,
3150,
41888,
25,
15414,
4357,
40522,
41888,
25,
6513,
30973,
4357,
198,
220,
220,
220,
220,
220,
29472,
28,
22915,
62,
22184,
11,
2700,
62,
2502,
13564,
28,
7942,
8,
198,
220,
1181,
796,
9058,
7,
1891,
437,
11,
7679,
11,
1086,
672,
58,
15414,
62,
2436,
672,
4357,
1086,
672,
58,
35067,
3629,
672,
3419,
12962,
628,
220,
1303,
9585,
513,
1661,
198,
220,
2651,
7,
1891,
437,
11,
1181,
11,
1086,
672,
58,
15414,
62,
2436,
672,
12962,
198,
220,
2651,
7,
1891,
437,
11,
1181,
11,
1086,
672,
58,
15414,
62,
2436,
672,
12962,
198,
220,
2651,
7,
1891,
437,
11,
1181,
11,
1086,
672,
58,
15414,
62,
2436,
672,
12962,
628,
220,
18325,
7,
1891,
437,
11,
1181,
8,
628,
220,
2938,
62,
22915,
796,
3797,
7,
83,
22854,
62,
27740,
11,
5128,
11,
5128,
11,
5128,
8,
198,
220,
1392,
62,
22915,
796,
289,
20,
9654,
7,
22915,
62,
22184,
11,
366,
81,
4943,
466,
289,
20,
198,
220,
220,
220,
1100,
7,
71,
20,
11,
366,
6513,
30973,
4943,
198,
220,
886,
628,
220,
2488,
9288,
2546,
7,
40319,
62,
22915,
8,
6624,
2546,
7,
23442,
62,
22915,
8,
198,
220,
2488,
9288,
1288,
4906,
7,
40319,
62,
22915,
8,
6624,
1288,
4906,
7,
23442,
62,
22915,
8,
198,
220,
2488,
9288,
477,
7,
8937,
7,
40319,
62,
22915,
12,
23442,
62,
22915,
8,
764,
27,
304,
862,
8,
628,
220,
42721,
7,
22915,
62,
22184,
8,
198,
437,
198,
198,
8818,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
3712,
7282,
437,
8,
198,
220,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
11,
48436,
2624,
11,
352,
68,
12,
20,
8,
198,
220,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
11,
48436,
2414,
11,
352,
68,
12,
940,
8,
198,
437,
198,
198,
361,
1332,
62,
36166,
198,
220,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
62,
36166,
8,
198,
437,
198,
361,
1332,
62,
46999,
198,
220,
1332,
62,
71,
7568,
20,
62,
22915,
62,
29289,
7,
1891,
437,
62,
46999,
8,
198,
437,
628
] | 2.690852 | 634 |
struct IterativeSolvers_LOBPCG{Tv} <: AbstractEigenMethod{Tv}
precond::Matrix{Tv}
IterativeSolvers_LOBPCG{Tv}(h::AbstractMatrix{Tv}, nev = 1) where {Tv} =
new(rand(Tv, size(h,1), nev))
end
IterativeSolvers_LOBPCG(h::AbstractMatrix{Tv}, nev = 1) where {Tv} =
IterativeSolvers_LOBPCG{Tv}(h, nev)
function (d::Diagonalizer{<:IterativeSolvers_LOBPCG, Tv})(nev::Integer;
side = upper, precond = true, kw...) where {Tv}
if size(d.method.precond) != (size(d.matrix, 1), nev)
d.method = IterativeSolvers_LOBPCG(d.matrix, nev) # reset preconditioner
end
largest = ifelse(isfinite(d.point), side === upper , d.point > 0)
result = IterativeSolvers.lobpcg(d.lmap, largest, d.method.precond; kw...)
λs, ϕs = result.λ, result.X
isfinite(d.point) && (λs .= 1 ./ λs .+ d.point)
precond && foreach(i -> (d.method.precond[i] = ϕs[i]), eachindex(d.method.precond))
return Eigen(real(λs), ϕs)
end | [
7249,
40806,
876,
36949,
690,
62,
43,
9864,
5662,
38,
90,
51,
85,
92,
1279,
25,
27741,
36,
9324,
17410,
90,
51,
85,
92,
198,
220,
220,
220,
3718,
623,
3712,
46912,
90,
51,
85,
92,
198,
220,
220,
220,
40806,
876,
36949,
690,
62,
43,
9864,
5662,
38,
90,
51,
85,
92,
7,
71,
3712,
23839,
46912,
90,
51,
85,
5512,
497,
85,
796,
352,
8,
810,
1391,
51,
85,
92,
796,
220,
198,
220,
220,
220,
220,
220,
220,
220,
649,
7,
25192,
7,
51,
85,
11,
2546,
7,
71,
11,
16,
828,
497,
85,
4008,
198,
437,
198,
198,
29993,
876,
36949,
690,
62,
43,
9864,
5662,
38,
7,
71,
3712,
23839,
46912,
90,
51,
85,
5512,
497,
85,
796,
352,
8,
810,
1391,
51,
85,
92,
796,
220,
198,
220,
220,
220,
40806,
876,
36949,
690,
62,
43,
9864,
5662,
38,
90,
51,
85,
92,
7,
71,
11,
497,
85,
8,
198,
198,
8818,
357,
67,
3712,
18683,
27923,
7509,
90,
27,
25,
29993,
876,
36949,
690,
62,
43,
9864,
5662,
38,
11,
309,
85,
92,
5769,
710,
85,
3712,
46541,
26,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1735,
796,
6727,
11,
3718,
623,
796,
2081,
11,
479,
86,
23029,
810,
1391,
51,
85,
92,
198,
220,
220,
220,
611,
2546,
7,
67,
13,
24396,
13,
3866,
17561,
8,
14512,
357,
7857,
7,
67,
13,
6759,
8609,
11,
352,
828,
497,
85,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
13,
24396,
796,
40806,
876,
36949,
690,
62,
43,
9864,
5662,
38,
7,
67,
13,
6759,
8609,
11,
497,
85,
8,
1303,
13259,
3718,
623,
653,
263,
198,
220,
220,
220,
886,
198,
220,
220,
220,
4387,
796,
611,
17772,
7,
4468,
9504,
7,
67,
13,
4122,
828,
1735,
24844,
6727,
837,
288,
13,
4122,
1875,
657,
8,
198,
220,
220,
220,
1255,
796,
40806,
876,
36949,
690,
13,
75,
672,
14751,
70,
7,
67,
13,
75,
8899,
11,
4387,
11,
288,
13,
24396,
13,
3866,
17561,
26,
479,
86,
23029,
198,
220,
220,
220,
7377,
119,
82,
11,
18074,
243,
82,
796,
1255,
13,
39377,
11,
1255,
13,
55,
198,
220,
220,
220,
318,
69,
9504,
7,
67,
13,
4122,
8,
11405,
357,
39377,
82,
764,
28,
352,
24457,
7377,
119,
82,
764,
10,
288,
13,
4122,
8,
198,
220,
220,
220,
3718,
623,
11405,
1674,
620,
7,
72,
4613,
357,
67,
13,
24396,
13,
3866,
17561,
58,
72,
60,
796,
18074,
243,
82,
58,
72,
46570,
1123,
9630,
7,
67,
13,
24396,
13,
3866,
17561,
4008,
198,
220,
220,
220,
1441,
412,
9324,
7,
5305,
7,
39377,
82,
828,
18074,
243,
82,
8,
198,
437
] | 2.127803 | 446 |
__precompile__()
module DictFiles
using Blosc, FunctionalData, Reexport, Compat
using HDF5
@reexport using JLD
export DictFile, dictopen, dictread, dictwrite, close, compact
export getindex, get, getkey, at, setindex!, delete!, blosc, deblosc, serialized, deserialize
export mmap
export haskey, isdict, keys, values, exists
import Base: getindex, get, getkey, setindex!, delete!, haskey, keys, values
macro onpid(pid, a)
quote
r = @fetchfrom $pid try
$a
catch e
e
end
isa(r, Exception) ? rethrow(r) : r
end
end
function blosc(a; kargs...)
io = IOBuffer()
serialize(io, a)
Any[:blosc_compressed, compress(takebuf_array(io); kargs...)]
end
function deblosc(a)
if isa(a, Array) && length(a) > 0 && a[1] == :blosc_compressed
Base.deserialize(IOBuffer(decompress(UInt8,a[2])))
else
a
end
end
function serialized(a; kargs...)
io = IOBuffer()
serialize(io, a)
Any[:dictfiles_serializeditem, takebuf_array(io)]
end
function deserialize(a)
if (isa(a, Array) || isa(a, Tuple)) && length(a) > 0 && a[1] == :dictfiles_serializeditem
Base.deserialize(IOBuffer(snd(a)))
else
a
end
end
#####################################################
## DictFile, dictfile
defaultmode(filename) = !existsfile(filename) || (uperm(filename) & 0x2 > 0) ? "r+" : "r"
type DictFile
jld::JLD.JldFile
ref::@compat(Future)
basekey::Tuple
pid
function DictFile(filename::AbstractString, mode::AbstractString = defaultmode(filename); compress = false)
exists(f) = (s = stat(filename); s.inode != 0 && s.size > 0)
if mode == "r" && !exists(filename)
error("DictFile: file $filename does not exist")
end
if mode == "r+" && !exists(filename)
mode = "w"
end
try
ref = @spawnat myid() jldopen(filename, mode, compress = false, mmaparrays = false)
a = new(fetch(ref),ref,(), myid())
return a
catch e
println("DictFile: error while trying to open file $filename")
Base.display_error(e, catch_backtrace())
rethrow(e)
end
end
function DictFile(fid::JLD.JldFile, basekey::Tuple)
ref = @spawnat myid() fid
r = new(fid, ref, basekey, myid()); finalizer(r, x -> close(x))
r
end
end
DictFile(filename::AbstractString, mode::AbstractString = defaultmode(filename), k...) = DictFile(DictFile(filename, mode), k...)
function DictFile(a::DictFile, k...)
d = a.jld[makekey(a,k)]
if !(typeof(d) <: JLD.JldGroup)
error("DictFile: Try to get proxy DictFile for key $k but that is not a JldGroup")
end
DictFile(a.jld, tuple(a.basekey..., k...))
end
function dictread(filename, key...)
dictopen(filename) do a
a[key...]
end
end
function dictwrite(v::Dict, args...)
dictopen(args...) do a
a[] = v
end
end
function dictopen(f::Function, args...)
fid = DictFile(args...)
try
f(fid)
finally
close(fid)
end
end
#####################################################
## close
import Base.close
function close(a::DictFile)
if isempty(a.basekey)
@onpid a.pid close(a.jld)
end
end
#####################################################
## getindex, setindex!
function makekey(a::DictFile, k::Tuple)
if any(map(x->isa(x,Function), k))
error("DictFiles.makekey: keys cannot contains functions. Key tuple was: $k")
end
reprs = [Base.map(repr, a.basekey)..., Base.map(repr, k)...]
reprs = @p map reprs replace "/" "{{__Dictfiles_slash}}"
key = "/"*join(reprs, "/")
#@show key
key
end
function getindex(a::DictFile, k...)
@onpid a.pid begin
key = makekey(a, k)
if !isempty(k) && !exists(a.jld, key)
error("DictFile: key $k does not exist")
end
if isempty(k)
k2 = keys(a)
return Dict(zip(k2, [getindex(a,x) for x in k2]))
elseif typeof(a.jld[key]) <: JLD.JldGroup
k2 = keys(a, k...)
d2 = DictFile(a, k...)
return Dict(zip(k2, map(x->getindex(d2,x), k2)))
else
return deblosc(DictFiles.deserialize(deblosc(read(a.jld, key))))
end
end
end
function setindex!(a::DictFile, v::Dict, k...; kargs...)
@onpid a.pid begin
if isempty(k)
map(x->delete!(a,x), keys(a))
flush(a.jld.plain)
end
map(x->setindex!(a, v[x], tuple(k...,x)...), keys(v); kargs...)
end
end
function setindex!(a::DictFile, v::Void, k...; kargs...)
end
function setindex!(a::DictFile, v, k...; kargs...)
@onpid a.pid begin
if isempty(k)
error("DictFile: cannot use empty key $k here")
end
key = makekey(a, k)
#@show "in setindex" k key
for i in 1:length(k)
subkey = makekey(a, k[1:i])
if exists(a.jld, subkey) && !(typeof(a.jld[subkey]) <: JLD.JldGroup)
delete!(a, k[1:i]...)
flush(a.jld.plain)
break
end
end
if exists(a.jld, key)
#@show "in setindex, deleting" key
delete!(a, k...)
flush(a.jld.plain)
if exists(a.jld, key)
error("i thought we deleted this?")
end
end
# map(showinfo, v)
write(a.jld, key, v; kargs...)
flush(a.jld.plain)
end
end
#####################################################
## get, getkey
get(a::DictFile, default, k...) = haskey(a, k...) ? a[k...] : default
getkey(a::DictFile, default, k...) = haskey(a, k...) ? k : default
import FunctionalData.at
at(a::DictFile, args...) = getkey(a, args...)
#####################################################
## delete!
import Base.delete!
function delete!(a::DictFile, k...)
@onpid a.pid begin
key = makekey(a,k)
#@show "deleting" key
if exists(a.jld, key)
HDF5.o_delete(a.jld, key)
#HDF5.o_delete(a.jld,"/_refs"*key)
flush(a.jld.plain)
end
end
end
#####################################################
## mmap
function mmap(a::DictFile, k...)
@onpid a.pid begin
dataset = a.jld[makekey(a, k)]
if ismmappable(dataset.plain)
return readmmap(dataset.plain)
else
error("DictFile: The dataset for $k does not support mmapping")
end
end
end
#####################################################
## haskey, keys, values
import Base.haskey
function haskey(a::DictFile, k...)
@onpid a.pid exists(a.jld, makekey(a, k))
end
function isdict(a::DictFile, k...)
@onpid a.pid begin
key = makekey(a,k);
e = exists(a.jld, key)
e && typeof(a.jld[key]) <: JLD.JldGroup
end
end
import Base.keys
function parsekey(a)
a = @p replace a "{{__Dictfiles_slash}}" "/"
r = parse(a)
r = isa(r,QuoteNode) ? Base.unquoted(r) : r
try
if !isa(r, Symbol)
r2 = eval(r)
if isa(r2, Tuple)
r = r2
end
end
catch e
Base.display_error(e, catch_backtrace())
end
r
end
function sortkeys(a)
if all(x -> isa(x, Real), a)
ind = sortperm(a)
else
ind = sortperm(map(string, a));
end
a[ind]
end
function keys(a::DictFile)
@onpid a.pid begin
b = isempty(a.basekey) ? a.jld : a.jld[makekey(a,())]
sortkeys([parsekey(x) for x in names(b)])
end
end
function keys(a::DictFile, k...)
@onpid a.pid begin
key = makekey(a,k)
if !exists(a.jld, key)
return Any[]
end
g = a.jld[key]
if !(isa(g,JLD.JldGroup))
return Any[]
end
sortkeys([parsekey(x) for x in setdiff(names(a.jld[key]), [:id, :file, :plain])])
end
end
import Base.values
values(a::DictFile, k...) = [a[k..., x] for x in keys(a, k...)]
#####################################################
## dump
import Base.dump
dump(a::DictFile) = dump(STDOUT, a)
function dump(io::IO, a::DictFile, maxdepth::Int = typemax(Int))
function printkey(k, maxdepth, indent = 0)
#@show k makekey(k) indent keys(a, k...)
subkeys = sort(keys(a, k...))
println(repeat(" ",indent), k[end], length(subkeys)>0 ? ":" : "")
if indent<maxdepth
Base.map(x-> printkey(tuple(k...,x), maxdepth, indent+1), subkeys)
end
end
Base.map(x->printkey(tuple(x), maxdepth), sort(keys(a)))
end
#####################################################
## compact
function compact(filename::AbstractString)
tmpfilename = tempname()
dictopen(filename) do from
dictopen(tmpfilename,"w") do to
function copykey(k)
if isdict(from, k...)
map(x->copykey(tuple(k..., x)), keys(from, k...))
assert(isempty(setdiff(keys(from, k...), keys(to, k...))))
else
to[k...] = from[k...]
end
end
[copykey(tuple(x)) for x in keys(from)]
end
end
mv(tmpfilename, filename, remove_destination=true)
end
include("snapshot.jl")
end
| [
834,
3866,
5589,
576,
834,
3419,
198,
198,
21412,
360,
713,
25876,
198,
3500,
1086,
17500,
11,
44224,
6601,
11,
797,
39344,
11,
3082,
265,
198,
3500,
5572,
37,
20,
198,
31,
631,
87,
634,
1262,
449,
11163,
198,
198,
39344,
360,
713,
8979,
11,
8633,
9654,
11,
8633,
961,
11,
8633,
13564,
11,
1969,
11,
16001,
198,
39344,
651,
9630,
11,
651,
11,
651,
2539,
11,
379,
11,
900,
9630,
28265,
12233,
28265,
698,
17500,
11,
1915,
75,
17500,
11,
11389,
1143,
11,
748,
48499,
1096,
198,
39344,
8085,
499,
198,
39344,
468,
2539,
11,
318,
11600,
11,
8251,
11,
3815,
11,
7160,
198,
198,
11748,
7308,
25,
651,
9630,
11,
651,
11,
651,
2539,
11,
900,
9630,
28265,
12233,
28265,
468,
2539,
11,
8251,
11,
3815,
628,
198,
20285,
305,
319,
35317,
7,
35317,
11,
257,
8,
198,
220,
220,
220,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
374,
796,
2488,
69,
7569,
6738,
720,
35317,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
720,
64,
198,
220,
220,
220,
220,
220,
220,
220,
4929,
304,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
318,
64,
7,
81,
11,
35528,
8,
5633,
302,
16939,
7,
81,
8,
1058,
374,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
698,
17500,
7,
64,
26,
479,
22046,
23029,
198,
220,
220,
220,
33245,
796,
314,
9864,
13712,
3419,
198,
220,
220,
220,
11389,
1096,
7,
952,
11,
257,
8,
198,
220,
220,
220,
4377,
58,
25,
2436,
17500,
62,
5589,
2790,
11,
27413,
7,
20657,
29325,
62,
18747,
7,
952,
1776,
479,
22046,
986,
15437,
198,
437,
198,
198,
8818,
1915,
75,
17500,
7,
64,
8,
198,
220,
220,
220,
611,
318,
64,
7,
64,
11,
15690,
8,
11405,
4129,
7,
64,
8,
1875,
657,
11405,
257,
58,
16,
60,
6624,
1058,
2436,
17500,
62,
5589,
2790,
198,
197,
197,
14881,
13,
8906,
48499,
1096,
7,
9399,
28632,
7,
12501,
3361,
601,
7,
52,
5317,
23,
11,
64,
58,
17,
60,
22305,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
11389,
1143,
7,
64,
26,
479,
22046,
23029,
198,
220,
220,
220,
33245,
796,
314,
9864,
13712,
3419,
198,
220,
220,
220,
11389,
1096,
7,
952,
11,
257,
8,
198,
220,
220,
220,
4377,
58,
25,
11600,
16624,
62,
46911,
1143,
9186,
11,
1011,
29325,
62,
18747,
7,
952,
15437,
198,
437,
198,
198,
8818,
748,
48499,
1096,
7,
64,
8,
198,
220,
220,
220,
611,
357,
9160,
7,
64,
11,
15690,
8,
8614,
318,
64,
7,
64,
11,
309,
29291,
4008,
11405,
4129,
7,
64,
8,
1875,
657,
11405,
257,
58,
16,
60,
6624,
1058,
11600,
16624,
62,
46911,
1143,
9186,
198,
197,
197,
14881,
13,
8906,
48499,
1096,
7,
9399,
28632,
7,
82,
358,
7,
64,
22305,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
198,
220,
220,
220,
886,
198,
437,
628,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
360,
713,
8979,
11,
8633,
7753,
198,
198,
12286,
14171,
7,
34345,
8,
796,
5145,
1069,
1023,
7753,
7,
34345,
8,
8614,
357,
84,
16321,
7,
34345,
8,
1222,
657,
87,
17,
1875,
657,
8,
5633,
366,
81,
10,
1,
1058,
366,
81,
1,
198,
198,
4906,
360,
713,
8979,
198,
220,
220,
220,
474,
335,
3712,
41,
11163,
13,
41,
335,
8979,
198,
220,
220,
220,
1006,
3712,
31,
5589,
265,
7,
29783,
8,
198,
220,
220,
220,
2779,
2539,
3712,
51,
29291,
198,
220,
220,
220,
46514,
198,
220,
220,
220,
2163,
360,
713,
8979,
7,
34345,
3712,
23839,
10100,
11,
4235,
3712,
23839,
10100,
796,
4277,
14171,
7,
34345,
1776,
27413,
796,
3991,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7160,
7,
69,
8,
796,
357,
82,
796,
1185,
7,
34345,
1776,
264,
13,
259,
1098,
14512,
657,
11405,
264,
13,
7857,
1875,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4235,
6624,
366,
81,
1,
11405,
5145,
1069,
1023,
7,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
8979,
25,
2393,
720,
34345,
857,
407,
2152,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
4235,
6624,
366,
81,
10,
1,
11405,
5145,
1069,
1023,
7,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4235,
796,
366,
86,
1,
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,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1006,
796,
2488,
48183,
265,
616,
312,
3419,
474,
335,
9654,
7,
34345,
11,
4235,
11,
27413,
796,
3991,
11,
8085,
499,
3258,
592,
796,
3991,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
649,
7,
69,
7569,
7,
5420,
828,
5420,
11,
22784,
616,
312,
28955,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
257,
198,
220,
220,
220,
220,
220,
220,
220,
4929,
304,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
35,
713,
8979,
25,
4049,
981,
2111,
284,
1280,
2393,
720,
34345,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
13812,
62,
18224,
7,
68,
11,
4929,
62,
1891,
40546,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
302,
16939,
7,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
2163,
360,
713,
8979,
7,
69,
312,
3712,
41,
11163,
13,
41,
335,
8979,
11,
2779,
2539,
3712,
51,
29291,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1006,
796,
2488,
48183,
265,
616,
312,
3419,
49909,
198,
220,
220,
220,
220,
220,
220,
220,
374,
796,
649,
7,
69,
312,
11,
1006,
11,
2779,
2539,
11,
616,
312,
35430,
2457,
7509,
7,
81,
11,
2124,
4613,
1969,
7,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
374,
198,
220,
220,
220,
886,
198,
437,
198,
198,
35,
713,
8979,
7,
34345,
3712,
23839,
10100,
11,
4235,
3712,
23839,
10100,
796,
4277,
14171,
7,
34345,
828,
479,
23029,
796,
360,
713,
8979,
7,
35,
713,
8979,
7,
34345,
11,
4235,
828,
479,
23029,
198,
8818,
360,
713,
8979,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
220,
198,
220,
220,
220,
288,
796,
257,
13,
73,
335,
58,
15883,
2539,
7,
64,
11,
74,
15437,
198,
220,
220,
220,
611,
5145,
7,
4906,
1659,
7,
67,
8,
1279,
25,
449,
11163,
13,
41,
335,
13247,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
8979,
25,
9993,
284,
651,
15741,
360,
713,
8979,
329,
1994,
720,
74,
475,
326,
318,
407,
257,
449,
335,
13247,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
360,
713,
8979,
7,
64,
13,
73,
335,
11,
46545,
7,
64,
13,
8692,
2539,
986,
11,
479,
986,
4008,
198,
437,
198,
198,
8818,
8633,
961,
7,
34345,
11,
1994,
23029,
198,
220,
220,
220,
8633,
9654,
7,
34345,
8,
466,
257,
198,
220,
220,
220,
220,
220,
220,
220,
257,
58,
2539,
22345,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
8633,
13564,
7,
85,
3712,
35,
713,
11,
26498,
23029,
198,
220,
220,
220,
8633,
9654,
7,
22046,
23029,
466,
257,
198,
220,
220,
220,
220,
220,
220,
220,
257,
21737,
796,
410,
198,
220,
220,
220,
886,
198,
437,
628,
198,
8818,
8633,
9654,
7,
69,
3712,
22203,
11,
26498,
23029,
198,
220,
220,
220,
49909,
796,
360,
713,
8979,
7,
22046,
23029,
198,
220,
220,
220,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
277,
7,
69,
312,
8,
198,
220,
220,
220,
3443,
198,
220,
220,
220,
220,
220,
220,
220,
1969,
7,
69,
312,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
1969,
198,
198,
11748,
7308,
13,
19836,
198,
8818,
1969,
7,
64,
3712,
35,
713,
8979,
8,
220,
198,
220,
220,
220,
611,
318,
28920,
7,
64,
13,
8692,
2539,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
1969,
7,
64,
13,
73,
335,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
651,
9630,
11,
900,
9630,
0,
198,
198,
8818,
787,
2539,
7,
64,
3712,
35,
713,
8979,
11,
479,
3712,
51,
29291,
8,
198,
220,
220,
220,
611,
597,
7,
8899,
7,
87,
3784,
9160,
7,
87,
11,
22203,
828,
479,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
25876,
13,
15883,
2539,
25,
8251,
2314,
4909,
5499,
13,
7383,
46545,
373,
25,
720,
74,
4943,
198,
220,
220,
220,
886,
198,
220,
220,
220,
41575,
82,
796,
685,
14881,
13,
8899,
7,
260,
1050,
11,
257,
13,
8692,
2539,
26513,
11,
7308,
13,
8899,
7,
260,
1050,
11,
479,
8,
22345,
198,
220,
220,
220,
41575,
82,
796,
2488,
79,
3975,
41575,
82,
6330,
12813,
1,
366,
27007,
834,
35,
713,
16624,
62,
6649,
1077,
11709,
1,
198,
220,
220,
220,
1994,
796,
12813,
1,
9,
22179,
7,
260,
1050,
82,
11,
12813,
4943,
198,
220,
220,
220,
1303,
31,
12860,
1994,
198,
220,
220,
220,
1994,
198,
437,
198,
198,
8818,
651,
9630,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
787,
2539,
7,
64,
11,
479,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
28920,
7,
74,
8,
11405,
5145,
1069,
1023,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
8979,
25,
1994,
720,
74,
857,
407,
2152,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
17,
796,
8251,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
360,
713,
7,
13344,
7,
74,
17,
11,
685,
1136,
9630,
7,
64,
11,
87,
8,
329,
2124,
287,
479,
17,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
2099,
1659,
7,
64,
13,
73,
335,
58,
2539,
12962,
1279,
25,
449,
11163,
13,
41,
335,
13247,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
17,
796,
8251,
7,
64,
11,
479,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
17,
796,
360,
713,
8979,
7,
64,
11,
479,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
360,
713,
7,
13344,
7,
74,
17,
11,
3975,
7,
87,
3784,
1136,
9630,
7,
67,
17,
11,
87,
828,
479,
17,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1915,
75,
17500,
7,
35,
713,
25876,
13,
8906,
48499,
1096,
7,
11275,
75,
17500,
7,
961,
7,
64,
13,
73,
335,
11,
1994,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
900,
9630,
0,
7,
64,
3712,
35,
713,
8979,
11,
410,
3712,
35,
713,
11,
479,
986,
26,
479,
22046,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
87,
3784,
33678,
0,
7,
64,
11,
87,
828,
8251,
7,
64,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24773,
7,
64,
13,
73,
335,
13,
25638,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
87,
3784,
2617,
9630,
0,
7,
64,
11,
410,
58,
87,
4357,
46545,
7,
74,
986,
11,
87,
26513,
828,
8251,
7,
85,
1776,
479,
22046,
23029,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
900,
9630,
0,
7,
64,
3712,
35,
713,
8979,
11,
410,
3712,
53,
1868,
11,
479,
986,
26,
479,
22046,
23029,
220,
198,
437,
198,
198,
8818,
900,
9630,
0,
7,
64,
3712,
35,
713,
8979,
11,
410,
11,
479,
986,
26,
479,
22046,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
628,
220,
220,
220,
220,
220,
220,
220,
611,
318,
28920,
7,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
8979,
25,
2314,
779,
6565,
1994,
720,
74,
994,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
787,
2539,
7,
64,
11,
479,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31,
12860,
366,
259,
900,
9630,
1,
479,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
25,
13664,
7,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
2539,
796,
787,
2539,
7,
64,
11,
479,
58,
16,
25,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7160,
7,
64,
13,
73,
335,
11,
850,
2539,
8,
11405,
5145,
7,
4906,
1659,
7,
64,
13,
73,
335,
58,
7266,
2539,
12962,
1279,
25,
449,
11163,
13,
41,
335,
13247,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
0,
7,
64,
11,
479,
58,
16,
25,
72,
60,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24773,
7,
64,
13,
73,
335,
13,
25638,
8,
198,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
7160,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
31,
12860,
366,
259,
900,
9630,
11,
34817,
1,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12233,
0,
7,
64,
11,
479,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24773,
7,
64,
13,
73,
335,
13,
25638,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7160,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
72,
1807,
356,
13140,
428,
1701,
8,
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,
3975,
7,
12860,
10951,
11,
410,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
64,
13,
73,
335,
11,
1994,
11,
410,
26,
479,
22046,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
24773,
7,
64,
13,
73,
335,
13,
25638,
8,
198,
220,
220,
220,
886,
198,
437,
628,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
651,
11,
651,
2539,
198,
198,
1136,
7,
64,
3712,
35,
713,
8979,
11,
4277,
11,
479,
23029,
220,
220,
220,
796,
468,
2539,
7,
64,
11,
479,
23029,
5633,
257,
58,
74,
22345,
1058,
4277,
198,
1136,
2539,
7,
64,
3712,
35,
713,
8979,
11,
4277,
11,
479,
23029,
796,
468,
2539,
7,
64,
11,
479,
23029,
5633,
479,
1058,
4277,
198,
11748,
44224,
6601,
13,
265,
198,
265,
7,
64,
3712,
35,
713,
8979,
11,
26498,
23029,
796,
651,
2539,
7,
64,
11,
26498,
23029,
198,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
12233,
0,
198,
198,
11748,
7308,
13,
33678,
0,
198,
8818,
12233,
0,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
787,
2539,
7,
64,
11,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31,
12860,
366,
2934,
293,
889,
1,
1994,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7160,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5572,
37,
20,
13,
78,
62,
33678,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
39,
8068,
20,
13,
78,
62,
33678,
7,
64,
13,
73,
335,
553,
47835,
5420,
82,
1,
9,
2539,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24773,
7,
64,
13,
73,
335,
13,
25638,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
628,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
8085,
499,
198,
198,
8818,
8085,
499,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
796,
257,
13,
73,
335,
58,
15883,
2539,
7,
64,
11,
479,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3020,
1324,
540,
7,
19608,
292,
316,
13,
25638,
8,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1100,
3020,
499,
7,
19608,
292,
316,
13,
25638,
8,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4049,
7203,
35,
713,
8979,
25,
383,
27039,
329,
720,
74,
857,
407,
1104,
8085,
5912,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
468,
2539,
11,
8251,
11,
3815,
198,
198,
11748,
7308,
13,
10134,
2539,
198,
8818,
468,
2539,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
220,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
7160,
7,
64,
13,
73,
335,
11,
787,
2539,
7,
64,
11,
479,
4008,
198,
437,
198,
198,
8818,
318,
11600,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
787,
2539,
7,
64,
11,
74,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
304,
796,
7160,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
304,
11405,
2099,
1659,
7,
64,
13,
73,
335,
58,
2539,
12962,
1279,
25,
449,
11163,
13,
41,
335,
13247,
198,
220,
220,
220,
886,
198,
437,
628,
198,
11748,
7308,
13,
13083,
198,
8818,
21136,
2539,
7,
64,
8,
198,
220,
220,
220,
257,
796,
2488,
79,
6330,
257,
366,
27007,
834,
35,
713,
16624,
62,
6649,
1077,
11709,
1,
12813,
1,
198,
220,
220,
220,
374,
796,
21136,
7,
64,
8,
198,
220,
220,
220,
374,
796,
318,
64,
7,
81,
11,
25178,
19667,
8,
5633,
7308,
13,
403,
421,
5191,
7,
81,
8,
1058,
374,
198,
220,
220,
220,
1949,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
9160,
7,
81,
11,
38357,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
17,
796,
5418,
7,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
64,
7,
81,
17,
11,
309,
29291,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
374,
17,
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,
4929,
304,
198,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
13812,
62,
18224,
7,
68,
11,
4929,
62,
1891,
40546,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
374,
198,
437,
198,
198,
8818,
3297,
13083,
7,
64,
8,
198,
220,
220,
220,
611,
477,
7,
87,
4613,
318,
64,
7,
87,
11,
6416,
828,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
773,
796,
3297,
16321,
7,
64,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
773,
796,
3297,
16321,
7,
8899,
7,
8841,
11,
257,
18125,
198,
220,
220,
220,
886,
198,
220,
220,
220,
257,
58,
521,
60,
198,
437,
198,
198,
8818,
8251,
7,
64,
3712,
35,
713,
8979,
8,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
318,
28920,
7,
64,
13,
8692,
2539,
8,
5633,
257,
13,
73,
335,
1058,
257,
13,
73,
335,
58,
15883,
2539,
7,
64,
11,
3419,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
3297,
13083,
26933,
29572,
2539,
7,
87,
8,
329,
2124,
287,
3891,
7,
65,
8,
12962,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
8251,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
198,
220,
220,
220,
2488,
261,
35317,
257,
13,
35317,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
796,
787,
2539,
7,
64,
11,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
220,
5145,
1069,
1023,
7,
64,
13,
73,
335,
11,
1994,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
4377,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
308,
796,
257,
13,
73,
335,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
7,
9160,
7,
70,
11,
41,
11163,
13,
41,
335,
13247,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
4377,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
3297,
13083,
26933,
29572,
2539,
7,
87,
8,
329,
2124,
287,
900,
26069,
7,
14933,
7,
64,
13,
73,
335,
58,
2539,
46570,
685,
25,
312,
11,
1058,
7753,
11,
1058,
25638,
12962,
12962,
198,
220,
220,
220,
886,
198,
437,
198,
198,
11748,
7308,
13,
27160,
198,
27160,
7,
64,
3712,
35,
713,
8979,
11,
479,
23029,
796,
685,
64,
58,
74,
986,
11,
2124,
60,
329,
2124,
287,
8251,
7,
64,
11,
479,
986,
15437,
628,
628,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
10285,
198,
198,
11748,
7308,
13,
39455,
198,
39455,
7,
64,
3712,
35,
713,
8979,
8,
796,
10285,
7,
36886,
11,
257,
8,
198,
8818,
10285,
7,
952,
3712,
9399,
11,
257,
3712,
35,
713,
8979,
11,
3509,
18053,
3712,
5317,
796,
2170,
368,
897,
7,
5317,
4008,
198,
220,
220,
220,
2163,
3601,
2539,
7,
74,
11,
3509,
18053,
11,
33793,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
31,
12860,
479,
787,
2539,
7,
74,
8,
33793,
8251,
7,
64,
11,
479,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
850,
13083,
796,
3297,
7,
13083,
7,
64,
11,
479,
986,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
44872,
7,
44754,
7203,
220,
33172,
521,
298,
828,
479,
58,
437,
4357,
4129,
7,
7266,
13083,
8,
29,
15,
5633,
366,
11097,
1058,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
33793,
27,
9806,
18053,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7308,
13,
8899,
7,
87,
3784,
3601,
2539,
7,
83,
29291,
7,
74,
986,
11,
87,
828,
3509,
18053,
11,
33793,
10,
16,
828,
850,
13083,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
7308,
13,
8899,
7,
87,
3784,
4798,
2539,
7,
83,
29291,
7,
87,
828,
3509,
18053,
828,
3297,
7,
13083,
7,
64,
22305,
198,
437,
628,
198,
29113,
14468,
4242,
2,
198,
2235,
220,
220,
16001,
198,
198,
8818,
16001,
7,
34345,
3712,
23839,
10100,
8,
198,
220,
220,
220,
45218,
34345,
796,
20218,
3672,
3419,
198,
220,
220,
220,
8633,
9654,
7,
34345,
8,
466,
422,
198,
220,
220,
220,
220,
220,
220,
220,
8633,
9654,
7,
22065,
34345,
553,
86,
4943,
466,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2163,
4866,
2539,
7,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
11600,
7,
6738,
11,
479,
23029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
87,
3784,
30073,
2539,
7,
83,
29291,
7,
74,
986,
11,
2124,
36911,
8251,
7,
6738,
11,
479,
986,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
7,
271,
28920,
7,
2617,
26069,
7,
13083,
7,
6738,
11,
479,
986,
828,
8251,
7,
1462,
11,
479,
986,
35514,
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,
284,
58,
74,
22345,
796,
422,
58,
74,
22345,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
30073,
2539,
7,
83,
29291,
7,
87,
4008,
329,
2124,
287,
8251,
7,
6738,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
285,
85,
7,
22065,
34345,
11,
29472,
11,
4781,
62,
16520,
1883,
28,
7942,
8,
198,
437,
198,
198,
17256,
7203,
45380,
9442,
13,
20362,
4943,
198,
198,
437,
198
] | 2.092132 | 4,461 |
DiffEqBase.has_reinit(i::AbstractNoiseProcess) = true
function DiffEqBase.reinit!(W::Union{NoiseProcess,NoiseApproximation},dt;
t0 = W.t[1],
erase_sol = true,
setup_next = false)
if erase_sol
resize!(W.t,1)
resize!(W.W,1)
if W.Z != nothing
resize!(W.Z,1)
end
end
W.curt = t0
W.dt = dt
if typeof(W) <: NoiseApproximation
reinit!(W.source1)
if W.source2 != nothing
reinit!(W.source2)
end
end
if isinplace(W)
W.curW .= first(W.W)
if W.Z != nothing
W.curZ .= first(W.Z)
end
else
W.curW = first(W.W)
if W.Z != nothing
W.curZ = first(W.Z)
end
end
if typeof(W) <: NoiseProcess
while !isempty(W.S₁)
pop!(W.S₁) # Get a reset for this stack?
end
ResettableStacks.reset!(W.S₂)
end
setup_next && setup_next_step!(W)
return nothing
end
function DiffEqBase.reinit!(W::AbstractNoiseProcess,dt;
t0 = W.t[1],
erase_sol = true,
setup_next = false)
W.curt = t0
W.dt = dt
if typeof(W) <: NoiseGrid
if isinplace(W)
W.curW .= W.W[1]
if W.Z != nothing
W.curZ .= W.Z[1]
end
else
W.curW = W.W[1]
if W.Z != nothing
W.curZ = W.Z[1]
end
end
W.step_setup = true
end
setup_next && setup_next_step!(W)
return nothing
end
function Base.reverse(W::AbstractNoiseProcess)
if typeof(W) <: NoiseGrid
backwardnoise = NoiseGrid(reverse(W.t),reverse(W.W))
else
W.save_everystep = false
backwardnoise = NoiseWrapper(W, reverse=true)
end
return backwardnoise
end
| [
28813,
36,
80,
14881,
13,
10134,
62,
260,
15003,
7,
72,
3712,
23839,
2949,
786,
18709,
8,
796,
2081,
198,
8818,
10631,
36,
80,
14881,
13,
260,
15003,
0,
7,
54,
3712,
38176,
90,
2949,
786,
18709,
11,
2949,
786,
4677,
13907,
18991,
5512,
28664,
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,
256,
15,
796,
370,
13,
83,
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,
28602,
62,
34453,
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,
9058,
62,
19545,
796,
3991,
8,
628,
220,
611,
28602,
62,
34453,
198,
220,
220,
220,
47558,
0,
7,
54,
13,
83,
11,
16,
8,
198,
220,
220,
220,
47558,
0,
7,
54,
13,
54,
11,
16,
8,
198,
220,
220,
220,
611,
370,
13,
57,
14512,
2147,
198,
220,
220,
220,
220,
220,
47558,
0,
7,
54,
13,
57,
11,
16,
8,
198,
220,
220,
220,
886,
198,
220,
886,
628,
220,
370,
13,
66,
3325,
796,
256,
15,
198,
220,
370,
13,
28664,
796,
288,
83,
198,
220,
611,
2099,
1659,
7,
54,
8,
1279,
25,
30964,
4677,
13907,
18991,
198,
220,
220,
220,
6865,
270,
0,
7,
54,
13,
10459,
16,
8,
198,
220,
220,
220,
611,
370,
13,
10459,
17,
14512,
2147,
198,
220,
220,
220,
220,
220,
6865,
270,
0,
7,
54,
13,
10459,
17,
8,
198,
220,
220,
220,
886,
198,
220,
886,
628,
220,
611,
318,
259,
5372,
7,
54,
8,
198,
220,
220,
220,
370,
13,
22019,
54,
764,
28,
717,
7,
54,
13,
54,
8,
198,
220,
220,
220,
611,
370,
13,
57,
14512,
2147,
198,
220,
220,
220,
220,
220,
370,
13,
22019,
57,
764,
28,
717,
7,
54,
13,
57,
8,
198,
220,
220,
220,
886,
198,
220,
2073,
198,
220,
220,
220,
370,
13,
22019,
54,
796,
717,
7,
54,
13,
54,
8,
198,
220,
220,
220,
611,
370,
13,
57,
14512,
2147,
198,
220,
220,
220,
220,
220,
370,
13,
22019,
57,
796,
717,
7,
54,
13,
57,
8,
198,
220,
220,
220,
886,
198,
220,
886,
628,
220,
611,
2099,
1659,
7,
54,
8,
1279,
25,
30964,
18709,
198,
220,
220,
220,
981,
5145,
271,
28920,
7,
54,
13,
50,
158,
224,
223,
8,
198,
220,
220,
220,
220,
220,
1461,
0,
7,
54,
13,
50,
158,
224,
223,
8,
1303,
3497,
257,
13259,
329,
428,
8931,
30,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1874,
3087,
540,
1273,
4595,
13,
42503,
0,
7,
54,
13,
50,
158,
224,
224,
8,
198,
220,
886,
198,
220,
9058,
62,
19545,
11405,
9058,
62,
19545,
62,
9662,
0,
7,
54,
8,
198,
220,
1441,
2147,
198,
437,
198,
198,
8818,
10631,
36,
80,
14881,
13,
260,
15003,
0,
7,
54,
3712,
23839,
2949,
786,
18709,
11,
28664,
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,
256,
15,
796,
370,
13,
83,
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,
28602,
62,
34453,
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,
9058,
62,
19545,
796,
3991,
8,
198,
220,
370,
13,
66,
3325,
796,
256,
15,
198,
220,
370,
13,
28664,
796,
288,
83,
198,
220,
611,
2099,
1659,
7,
54,
8,
1279,
25,
30964,
41339,
198,
220,
220,
220,
611,
318,
259,
5372,
7,
54,
8,
198,
220,
220,
220,
220,
220,
370,
13,
22019,
54,
764,
28,
370,
13,
54,
58,
16,
60,
198,
220,
220,
220,
220,
220,
611,
370,
13,
57,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
370,
13,
22019,
57,
764,
28,
370,
13,
57,
58,
16,
60,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
370,
13,
22019,
54,
796,
370,
13,
54,
58,
16,
60,
198,
220,
220,
220,
220,
220,
611,
370,
13,
57,
14512,
2147,
198,
220,
220,
220,
220,
220,
220,
220,
370,
13,
22019,
57,
796,
370,
13,
57,
58,
16,
60,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
370,
13,
9662,
62,
40406,
796,
2081,
198,
220,
886,
198,
220,
9058,
62,
19545,
11405,
9058,
62,
19545,
62,
9662,
0,
7,
54,
8,
198,
220,
1441,
2147,
198,
437,
628,
198,
8818,
7308,
13,
50188,
7,
54,
3712,
23839,
2949,
786,
18709,
8,
198,
220,
611,
2099,
1659,
7,
54,
8,
1279,
25,
30964,
41339,
198,
220,
220,
220,
19528,
3919,
786,
796,
30964,
41339,
7,
50188,
7,
54,
13,
83,
828,
50188,
7,
54,
13,
54,
4008,
198,
220,
2073,
198,
220,
220,
220,
370,
13,
21928,
62,
16833,
9662,
796,
3991,
198,
220,
220,
220,
19528,
3919,
786,
796,
30964,
36918,
2848,
7,
54,
11,
9575,
28,
7942,
8,
198,
220,
886,
198,
220,
1441,
19528,
3919,
786,
198,
437,
198
] | 1.859155 | 923 |
module types
export Body, Moon, Command_Module, EarthMoonSystem
type Body{T}
mass::T
velocity::Vector{T}
radius::T
position::Vector{T}
end
typealias Moon Body
type Command_Module{T}
mass::T
velocity::Vector{T}
radius::T
position::Vector{T}
positionE::Vector{T}
positionH::Vector{T}
velocityE::Vector{T}
velocityH::Vector{T}
end
type EarthMoonSystem
time::Float64
earth::Body
moon::Moon
command_module::Command_Module
end
end
| [
21412,
3858,
198,
198,
39344,
12290,
11,
6869,
11,
9455,
62,
26796,
11,
3668,
31640,
11964,
198,
198,
4906,
12290,
90,
51,
92,
198,
220,
220,
220,
2347,
3712,
51,
198,
220,
220,
220,
15432,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
16874,
3712,
51,
198,
220,
220,
220,
2292,
3712,
38469,
90,
51,
92,
198,
437,
198,
198,
4906,
26011,
6869,
12290,
198,
198,
4906,
9455,
62,
26796,
90,
51,
92,
198,
220,
220,
220,
2347,
3712,
51,
198,
220,
220,
220,
15432,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
16874,
3712,
51,
198,
220,
220,
220,
2292,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
2292,
36,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
2292,
39,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
15432,
36,
3712,
38469,
90,
51,
92,
198,
220,
220,
220,
15432,
39,
3712,
38469,
90,
51,
92,
198,
437,
198,
198,
4906,
3668,
31640,
11964,
198,
220,
220,
220,
640,
3712,
43879,
2414,
198,
220,
220,
220,
4534,
3712,
25842,
198,
220,
220,
220,
8824,
3712,
31640,
198,
220,
220,
220,
3141,
62,
21412,
3712,
21575,
62,
26796,
198,
437,
198,
198,
437,
198
] | 2.487437 | 199 |
### A Pluto.jl notebook ###
# v0.19.6
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end
local el = $(esc(element))
global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el)
el
end
end
# ╔═╡ 685479e8-1ad5-48d8-b9fe-f2cf8a672700
using AstroImages, PlutoUI
# ╔═╡ 59e1675f-9426-4bc4-88cc-e686ed90b6b5
md"""
Download a FITS image and open it.
Apply `restrict` to downscale 2x for faster rendering.
"""
# ╔═╡ d1e5947b-2c1a-46fc-ab8f-feeba03453e7
img = AstroImages.restrict(
AstroImage(download("http://www.astro.uvic.ca/~wthompson/astroimages/fits/656nmos.fits"))
);
# ╔═╡ c9ebe984-4630-47c1-a941-795293f5b3c1
md"""
Display options
"""
# ╔═╡ a3e81f3f-203b-47b7-ac60-b4267eddfad4
md"""
| parameter | value |
|-----------|-------|
|`cmap` | $( @bind cmap Select([:magma, :turbo, :ice, :viridis, :seaborn_icefire_gradient, "red"]) ) |
|`clims`| $( @bind clims Select([Percent(99.5), Percent(95), Percent(80), Zscale(), (0, 400)]) ) |
| `stretch` | $( @bind stretch Select([identity, asinhstretch, logstretch, sqrtstretch, powstretch, powerdiststretch, squarestretch])) |
| `contrast` | $(@bind contrast Slider(0:0.1:2.0, default=1.0)) |
| `bias` | $(@bind bias Slider(0:0.1:1.0, default=0.5)) |
"""
# ╔═╡ 2315ffec-dc49-413a-b0d6-1bcce2addd76
imview(img; cmap, clims, stretch, contrast, bias)
# ╔═╡ d2bd2f13-ed23-42c5-9317-5b48ec3a8bb7
md"""
## `implot`
Uncomment the following cells to use `Plots` instead.
"""
# ╔═╡ fe6b5b76-8b77-4bfc-a2e8-bcc0b78ad764
# using Plots
# ╔═╡ f557784e-828c-415e-abb0-964b3a9fe8ef
# implot(img; cmap, clims, stretch, contrast, bias)
# ╔═╡ Cell order:
# ╠═685479e8-1ad5-48d8-b9fe-f2cf8a672700
# ╟─59e1675f-9426-4bc4-88cc-e686ed90b6b5
# ╠═d1e5947b-2c1a-46fc-ab8f-feeba03453e7
# ╟─c9ebe984-4630-47c1-a941-795293f5b3c1
# ╟─a3e81f3f-203b-47b7-ac60-b4267eddfad4
# ╠═2315ffec-dc49-413a-b0d6-1bcce2addd76
# ╟─d2bd2f13-ed23-42c5-9317-5b48ec3a8bb7
# ╠═fe6b5b76-8b77-4bfc-a2e8-bcc0b78ad764
# ╠═f557784e-828c-415e-abb0-964b3a9fe8ef
| [
21017,
317,
32217,
13,
20362,
20922,
44386,
198,
2,
410,
15,
13,
1129,
13,
21,
198,
198,
3500,
2940,
2902,
198,
3500,
21365,
18274,
4487,
198,
198,
2,
770,
32217,
20922,
3544,
2488,
21653,
329,
9427,
3458,
13,
1649,
2491,
428,
20922,
2354,
286,
32217,
11,
262,
1708,
705,
76,
735,
2196,
6,
286,
2488,
21653,
3607,
5421,
9633,
257,
4277,
1988,
357,
38070,
286,
281,
4049,
737,
198,
20285,
305,
11007,
7,
4299,
11,
5002,
8,
198,
220,
220,
220,
9577,
198,
220,
220,
220,
220,
220,
220,
220,
1957,
21628,
796,
1949,
7308,
13,
14578,
62,
18170,
58,
14881,
13,
47,
10025,
7390,
7,
14881,
13,
52,
27586,
7203,
21,
68,
38205,
66,
4761,
12,
2996,
3682,
12,
1238,
3134,
12,
22,
22980,
12,
3682,
22136,
66,
2425,
5333,
1120,
12340,
366,
23839,
3646,
9390,
35,
278,
316,
73,
274,
4943,
4083,
33,
24764,
13,
36733,
62,
8367,
4929,
26,
275,
4613,
4814,
26,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1957,
1288,
796,
29568,
3798,
7,
30854,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3298,
29568,
3798,
7,
4299,
4008,
796,
7231,
13,
1324,
677,
540,
7,
14881,
13,
1136,
11,
1288,
8,
5633,
7308,
13,
1136,
7,
417,
8,
1058,
21628,
7,
417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
198,
220,
220,
220,
886,
198,
437,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
718,
5332,
31714,
68,
23,
12,
16,
324,
20,
12,
2780,
67,
23,
12,
65,
24,
5036,
12,
69,
17,
12993,
23,
64,
3134,
1983,
405,
198,
3500,
35167,
29398,
11,
32217,
10080,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
7863,
68,
1433,
2425,
69,
12,
5824,
2075,
12,
19,
15630,
19,
12,
3459,
535,
12,
68,
33808,
276,
3829,
65,
21,
65,
20,
198,
9132,
37811,
198,
10002,
257,
376,
29722,
2939,
290,
1280,
340,
13,
198,
44836,
4600,
2118,
2012,
63,
284,
866,
9888,
362,
87,
329,
5443,
14837,
13,
198,
37811,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
288,
16,
68,
3270,
2857,
65,
12,
17,
66,
16,
64,
12,
3510,
16072,
12,
397,
23,
69,
12,
39071,
7012,
3070,
36625,
68,
22,
198,
9600,
796,
35167,
29398,
13,
2118,
2012,
7,
198,
197,
32,
20661,
5159,
7,
15002,
7203,
4023,
1378,
2503,
13,
459,
305,
13,
14795,
291,
13,
6888,
14,
93,
86,
400,
296,
8430,
14,
459,
305,
17566,
14,
21013,
14,
37466,
77,
16785,
13,
21013,
48774,
198,
1776,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
269,
24,
68,
1350,
4089,
19,
12,
3510,
1270,
12,
2857,
66,
16,
12,
64,
24,
3901,
12,
41544,
31675,
69,
20,
65,
18,
66,
16,
198,
9132,
37811,
198,
23114,
3689,
198,
37811,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
257,
18,
68,
6659,
69,
18,
69,
12,
22416,
65,
12,
2857,
65,
22,
12,
330,
1899,
12,
65,
19,
25674,
6048,
69,
324,
19,
198,
9132,
37811,
198,
198,
91,
11507,
930,
1988,
930,
198,
91,
32284,
91,
26866,
91,
198,
91,
63,
66,
8899,
63,
930,
29568,
2488,
21653,
269,
8899,
220,
9683,
26933,
25,
19726,
2611,
11,
1058,
36590,
2127,
11,
1058,
501,
11,
1058,
37040,
29207,
11,
1058,
325,
397,
1211,
62,
501,
6495,
62,
49607,
11,
366,
445,
8973,
8,
1267,
930,
198,
91,
63,
565,
12078,
63,
91,
29568,
2488,
21653,
5424,
82,
9683,
26933,
31905,
7,
2079,
13,
20,
828,
22512,
7,
3865,
828,
22512,
7,
1795,
828,
1168,
9888,
22784,
357,
15,
11,
7337,
8,
12962,
1267,
930,
198,
91,
4600,
301,
22592,
63,
930,
29568,
2488,
21653,
7539,
220,
9683,
26933,
738,
414,
11,
355,
259,
71,
301,
22592,
11,
2604,
301,
22592,
11,
19862,
17034,
301,
22592,
11,
7182,
301,
22592,
11,
1176,
17080,
301,
22592,
11,
6616,
301,
22592,
60,
4008,
930,
198,
91,
4600,
3642,
5685,
63,
930,
29568,
31,
21653,
6273,
3454,
1304,
7,
15,
25,
15,
13,
16,
25,
17,
13,
15,
11,
4277,
28,
16,
13,
15,
4008,
930,
198,
91,
4600,
65,
4448,
63,
930,
29568,
31,
21653,
10690,
3454,
1304,
7,
15,
25,
15,
13,
16,
25,
16,
13,
15,
11,
4277,
28,
15,
13,
20,
4008,
930,
220,
198,
37811,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
2242,
1314,
487,
721,
12,
17896,
2920,
12,
44103,
64,
12,
65,
15,
67,
21,
12,
16,
15630,
344,
17,
324,
1860,
4304,
198,
320,
1177,
7,
9600,
26,
269,
8899,
11,
5424,
82,
11,
7539,
11,
6273,
11,
10690,
8,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
288,
17,
17457,
17,
69,
1485,
12,
276,
1954,
12,
3682,
66,
20,
12,
6052,
1558,
12,
20,
65,
2780,
721,
18,
64,
23,
11848,
22,
198,
9132,
37811,
198,
2235,
4600,
23928,
313,
63,
198,
3118,
23893,
262,
1708,
4778,
284,
779,
4600,
3646,
1747,
63,
2427,
13,
198,
37811,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
730,
21,
65,
20,
65,
4304,
12,
23,
65,
3324,
12,
19,
65,
16072,
12,
64,
17,
68,
23,
12,
65,
535,
15,
65,
3695,
324,
22,
2414,
198,
2,
1262,
1345,
1747,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
277,
2816,
3324,
5705,
68,
12,
23,
2078,
66,
12,
35038,
68,
12,
6485,
15,
12,
24,
2414,
65,
18,
64,
24,
5036,
23,
891,
198,
2,
4114,
313,
7,
9600,
26,
269,
8899,
11,
5424,
82,
11,
7539,
11,
6273,
11,
10690,
8,
198,
198,
2,
2343,
243,
242,
28670,
22880,
94,
12440,
1502,
25,
198,
2,
2343,
243,
254,
28670,
35978,
31714,
68,
23,
12,
16,
324,
20,
12,
2780,
67,
23,
12,
65,
24,
5036,
12,
69,
17,
12993,
23,
64,
3134,
1983,
405,
198,
2,
2343,
243,
253,
7280,
3270,
68,
1433,
2425,
69,
12,
5824,
2075,
12,
19,
15630,
19,
12,
3459,
535,
12,
68,
33808,
276,
3829,
65,
21,
65,
20,
198,
2,
2343,
243,
254,
28670,
67,
16,
68,
3270,
2857,
65,
12,
17,
66,
16,
64,
12,
3510,
16072,
12,
397,
23,
69,
12,
39071,
7012,
3070,
36625,
68,
22,
198,
2,
2343,
243,
253,
7280,
66,
24,
68,
1350,
4089,
19,
12,
3510,
1270,
12,
2857,
66,
16,
12,
64,
24,
3901,
12,
41544,
31675,
69,
20,
65,
18,
66,
16,
198,
2,
2343,
243,
253,
7280,
64,
18,
68,
6659,
69,
18,
69,
12,
22416,
65,
12,
2857,
65,
22,
12,
330,
1899,
12,
65,
19,
25674,
6048,
69,
324,
19,
198,
2,
2343,
243,
254,
28670,
1954,
1314,
487,
721,
12,
17896,
2920,
12,
44103,
64,
12,
65,
15,
67,
21,
12,
16,
15630,
344,
17,
324,
1860,
4304,
198,
2,
2343,
243,
253,
7280,
67,
17,
17457,
17,
69,
1485,
12,
276,
1954,
12,
3682,
66,
20,
12,
6052,
1558,
12,
20,
65,
2780,
721,
18,
64,
23,
11848,
22,
198,
2,
2343,
243,
254,
28670,
5036,
21,
65,
20,
65,
4304,
12,
23,
65,
3324,
12,
19,
65,
16072,
12,
64,
17,
68,
23,
12,
65,
535,
15,
65,
3695,
324,
22,
2414,
198,
2,
2343,
243,
254,
28670,
69,
2816,
3324,
5705,
68,
12,
23,
2078,
66,
12,
35038,
68,
12,
6485,
15,
12,
24,
2414,
65,
18,
64,
24,
5036,
23,
891,
198
] | 1.990871 | 1,205 |
module Raft
using ProtoBuf
include("./common_types.jl")
include("./leader.jl")
include("./candidate.jl")
include("./follower.jl")
end
| [
21412,
7567,
701,
198,
3500,
45783,
33,
3046,
198,
198,
17256,
7,
1911,
14,
11321,
62,
19199,
13,
20362,
4943,
198,
198,
17256,
7,
1911,
14,
27940,
13,
20362,
4943,
198,
17256,
7,
1911,
14,
46188,
20540,
13,
20362,
4943,
198,
17256,
7,
1911,
14,
69,
47030,
13,
20362,
4943,
198,
198,
437,
198
] | 2.537037 | 54 |
type SwapForwardBasisSystem <: MarketModelBasisSystem
rateTimes::Vector{Float64}
exerciseTimes::Vector{Float64}
currentIndex::Int
rateIndex::Vector{Int}
evolution::EvolutionDescription
end
function SwapForwardBasisSystem(rateTimes::Vector{Float64}, exerciseTimes::Vector{Float64})
evolution = EvolutionDescription(rateTimes, exerciseTimes)
rateIndex = Vector{Int}(length(exerciseTimes))
j = 1
for i in eachindex(exerciseTimes)
while j <= length(rateTimes) && rateTimes[j] < exerciseTimes[i]
j += 1
end
rateIndex[i] = j
end
return SwapForwardBasisSystem(rateTimes, exerciseTimes, -1, rateIndex, evolution)
end
reset!(bs::SwapForwardBasisSystem) = bs.currentIndex = 1
next_step!(bs::SwapForwardBasisSystem, ::CurveState) = bs.currentIndex += 1
function number_of_functions(bs::SwapForwardBasisSystem)
n = length(bs.exerciseTimes)
sizes = fill(10, n)
if bs.rateIndex[n] == length(bs.rateIndex) - 3
sizes[end] = 6
end
if bs.rateIndex[n] == length(bs.rateIndex) - 2
sizes[end] = 3
end
return sizes
end
function set_values!(bs::SwapForwardBasisSystem, currentState::CurveState, results::Vector{Float64})
rateIndex = bs.rateIndex[bs.currentIndex - 1]
if rateIndex < length(bs.rateTimes) - 2
resize!(results, 10)
x = forward_rate(currentState, rateIndex)
y = coterminal_swap_rate(currentState, rateIndex + 1)
z = discount_ratio(currentState, rateIndex, length(bs.rateTimes))
results[1] = 1.0
results[2] = x
results[3] = y
results[4] = z
results[5] = x*y
results[6] = y*z
results[7] = z*x
results[8] = x*x
results[9] = y*y
results[10] = z*z
else
if rateIndex == length(bs.rateTimes) - 2
x = forward_rate(currentState, rateIndex)
y = forward_rate(currentState, rateIndex + 1)
resize!(results, 6)
results[1] = 1.0
results[2] = x
results[3] = y
results[4] = x*x
results[5] = x*y
results[6] = y*y
else
x = forward_rate(currentState, rateIndex)
resize!(results, 3)
results[1] = 1.0
results[2] = x
results[3] = x*x
end
end
return results
end
clone(bs::SwapForwardBasisSystem) = SwapForwardBasisSystem(copy(bs.rateTimes), copy(bs.exerciseTimes), bs.currentIndex, copy(bs.rateIndex), clone(bs.evolution))
| [
4906,
48408,
39746,
15522,
271,
11964,
1279,
25,
5991,
17633,
15522,
271,
11964,
198,
220,
2494,
28595,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
5517,
28595,
3712,
38469,
90,
43879,
2414,
92,
198,
220,
1459,
15732,
3712,
5317,
198,
220,
2494,
15732,
3712,
38469,
90,
5317,
92,
198,
220,
6954,
3712,
15200,
2122,
11828,
198,
437,
198,
198,
8818,
48408,
39746,
15522,
271,
11964,
7,
4873,
28595,
3712,
38469,
90,
43879,
2414,
5512,
5517,
28595,
3712,
38469,
90,
43879,
2414,
30072,
198,
220,
6954,
796,
15815,
11828,
7,
4873,
28595,
11,
5517,
28595,
8,
198,
220,
2494,
15732,
796,
20650,
90,
5317,
92,
7,
13664,
7,
1069,
23697,
28595,
4008,
198,
220,
474,
796,
352,
198,
220,
329,
1312,
287,
1123,
9630,
7,
1069,
23697,
28595,
8,
198,
220,
220,
220,
981,
474,
19841,
4129,
7,
4873,
28595,
8,
11405,
2494,
28595,
58,
73,
60,
1279,
5517,
28595,
58,
72,
60,
198,
220,
220,
220,
220,
220,
474,
15853,
352,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2494,
15732,
58,
72,
60,
796,
474,
198,
220,
886,
628,
220,
1441,
48408,
39746,
15522,
271,
11964,
7,
4873,
28595,
11,
5517,
28595,
11,
532,
16,
11,
2494,
15732,
11,
6954,
8,
198,
437,
198,
198,
42503,
0,
7,
1443,
3712,
10462,
499,
39746,
15522,
271,
11964,
8,
796,
275,
82,
13,
14421,
15732,
796,
352,
198,
198,
19545,
62,
9662,
0,
7,
1443,
3712,
10462,
499,
39746,
15522,
271,
11964,
11,
7904,
26628,
303,
9012,
8,
796,
275,
82,
13,
14421,
15732,
15853,
352,
198,
198,
8818,
1271,
62,
1659,
62,
12543,
2733,
7,
1443,
3712,
10462,
499,
39746,
15522,
271,
11964,
8,
198,
220,
299,
796,
4129,
7,
1443,
13,
1069,
23697,
28595,
8,
198,
220,
10620,
796,
6070,
7,
940,
11,
299,
8,
198,
220,
611,
275,
82,
13,
4873,
15732,
58,
77,
60,
6624,
4129,
7,
1443,
13,
4873,
15732,
8,
532,
513,
198,
220,
220,
220,
10620,
58,
437,
60,
796,
718,
198,
220,
886,
198,
220,
611,
275,
82,
13,
4873,
15732,
58,
77,
60,
6624,
4129,
7,
1443,
13,
4873,
15732,
8,
532,
362,
198,
220,
220,
220,
10620,
58,
437,
60,
796,
513,
198,
220,
886,
628,
220,
1441,
10620,
198,
437,
198,
198,
8818,
900,
62,
27160,
0,
7,
1443,
3712,
10462,
499,
39746,
15522,
271,
11964,
11,
1459,
9012,
3712,
26628,
303,
9012,
11,
2482,
3712,
38469,
90,
43879,
2414,
30072,
198,
220,
2494,
15732,
796,
275,
82,
13,
4873,
15732,
58,
1443,
13,
14421,
15732,
532,
352,
60,
628,
220,
611,
2494,
15732,
1279,
4129,
7,
1443,
13,
4873,
28595,
8,
532,
362,
198,
220,
220,
220,
47558,
0,
7,
43420,
11,
838,
8,
628,
220,
220,
220,
2124,
796,
2651,
62,
4873,
7,
14421,
9012,
11,
2494,
15732,
8,
198,
220,
220,
220,
331,
796,
269,
19543,
1084,
282,
62,
2032,
499,
62,
4873,
7,
14421,
9012,
11,
2494,
15732,
1343,
352,
8,
198,
220,
220,
220,
1976,
796,
9780,
62,
10366,
952,
7,
14421,
9012,
11,
2494,
15732,
11,
4129,
7,
1443,
13,
4873,
28595,
4008,
628,
220,
220,
220,
2482,
58,
16,
60,
796,
352,
13,
15,
198,
220,
220,
220,
2482,
58,
17,
60,
796,
2124,
198,
220,
220,
220,
2482,
58,
18,
60,
796,
331,
198,
220,
220,
220,
2482,
58,
19,
60,
796,
1976,
198,
220,
220,
220,
2482,
58,
20,
60,
796,
2124,
9,
88,
198,
220,
220,
220,
2482,
58,
21,
60,
796,
331,
9,
89,
198,
220,
220,
220,
2482,
58,
22,
60,
796,
1976,
9,
87,
198,
220,
220,
220,
2482,
58,
23,
60,
796,
2124,
9,
87,
198,
220,
220,
220,
2482,
58,
24,
60,
796,
331,
9,
88,
198,
220,
220,
220,
2482,
58,
940,
60,
796,
1976,
9,
89,
198,
220,
2073,
198,
220,
220,
220,
611,
2494,
15732,
6624,
4129,
7,
1443,
13,
4873,
28595,
8,
532,
362,
198,
220,
220,
220,
220,
220,
2124,
796,
2651,
62,
4873,
7,
14421,
9012,
11,
2494,
15732,
8,
198,
220,
220,
220,
220,
220,
331,
796,
2651,
62,
4873,
7,
14421,
9012,
11,
2494,
15732,
1343,
352,
8,
628,
220,
220,
220,
220,
220,
47558,
0,
7,
43420,
11,
718,
8,
628,
220,
220,
220,
220,
220,
2482,
58,
16,
60,
796,
352,
13,
15,
198,
220,
220,
220,
220,
220,
2482,
58,
17,
60,
796,
2124,
198,
220,
220,
220,
220,
220,
2482,
58,
18,
60,
796,
331,
198,
220,
220,
220,
220,
220,
2482,
58,
19,
60,
796,
2124,
9,
87,
198,
220,
220,
220,
220,
220,
2482,
58,
20,
60,
796,
2124,
9,
88,
198,
220,
220,
220,
220,
220,
2482,
58,
21,
60,
796,
331,
9,
88,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
2124,
796,
2651,
62,
4873,
7,
14421,
9012,
11,
2494,
15732,
8,
628,
220,
220,
220,
220,
220,
47558,
0,
7,
43420,
11,
513,
8,
198,
220,
220,
220,
220,
220,
2482,
58,
16,
60,
796,
352,
13,
15,
198,
220,
220,
220,
220,
220,
2482,
58,
17,
60,
796,
2124,
198,
220,
220,
220,
220,
220,
2482,
58,
18,
60,
796,
2124,
9,
87,
198,
220,
220,
220,
886,
198,
220,
886,
628,
220,
1441,
2482,
198,
437,
198,
198,
21018,
7,
1443,
3712,
10462,
499,
39746,
15522,
271,
11964,
8,
796,
48408,
39746,
15522,
271,
11964,
7,
30073,
7,
1443,
13,
4873,
28595,
828,
4866,
7,
1443,
13,
1069,
23697,
28595,
828,
275,
82,
13,
14421,
15732,
11,
4866,
7,
1443,
13,
4873,
15732,
828,
17271,
7,
1443,
13,
1990,
2122,
4008,
198
] | 2.527687 | 921 |
function fibsq04()
#
# test polynomial suggested by Goedecker
#
n = 4;
p = fib(n)
p = conv(p,p)
z = [-.7748041132154339;
-.07637893113374573-.8147036471703865*im; -.07637893113374573+.8147036471703865*im;
1.927561975482925]
z = [z 2*ones(n)]
p, PolyZeros(z)
end
| [
8818,
12900,
31166,
3023,
3419,
198,
2,
198,
2,
220,
1332,
745,
6213,
49070,
5220,
416,
1514,
18654,
15280,
198,
2,
198,
220,
220,
220,
299,
796,
604,
26,
198,
220,
220,
220,
279,
796,
12900,
7,
77,
8,
198,
220,
220,
220,
279,
796,
3063,
7,
79,
11,
79,
8,
198,
220,
220,
220,
1976,
796,
25915,
13,
3324,
22148,
42224,
2624,
21526,
29626,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
532,
13,
2998,
21,
2718,
4531,
36244,
31496,
2231,
4790,
34507,
23,
1415,
2154,
26780,
22,
17279,
2548,
2996,
9,
320,
26,
532,
13,
2998,
21,
2718,
4531,
36244,
31496,
2231,
4790,
27613,
23,
1415,
2154,
26780,
22,
17279,
2548,
2996,
9,
320,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
24,
1983,
3980,
38449,
2780,
1959,
1495,
60,
198,
220,
220,
220,
1976,
796,
685,
89,
220,
362,
9,
1952,
7,
77,
15437,
198,
220,
220,
220,
279,
11,
12280,
57,
27498,
7,
89,
8,
198,
437,
198
] | 1.821429 | 168 |
#################################################################################################
# Functions needed for the manipulation of datacell labels
#
# Desired functionality:
# - adding labels to existing DataCell
# - removing labels from existing DataCell
# - changing some/all labels from existing DataCell
# - remap labels to something else : e.g. from "apple" to "bear" etc using regexpz
# - extract column(s) from data and transform them into labels
#
# Observation: All functions return new objects (they do not modify the existing ones)
#################################################################################################
# Remove labels from DataCells
# - Can be done by creating a new datacell(old_datacell.x) or datacell(old_datacell.x, old_datacell.y[:,...])
# Change labels from existing datacell
# - Extract current labels, modify accordingly and create new datacell re-using the data and new labels.
"""
addlabels(x, labels)
Creates a new datacell by adding `labels<:AbstractArray` to the existing labels
of data cell `x`.
"""
addlabels(x::T where T<:CellData, labels::S where S<:AbstractArray) = datacell(getx!(x), dcat(gety!(x), labels), name=x.tinfo)
"""
unlabel(data)
Removes labels (if any) from the data cell and returns a new datacell with the
data contents only.
"""
unlabel(x::T where T<:CellData) = datacell(getx(x); name = x.tinfo)
"""
labelize(x, f [,idx ,remove])
labelize(x, idx [,remove])
labelize(x, v [,remove])
Adds labels (also known as 'targets') to `x::DataCell`. If `x` is not provided, returns a fixed `Function cell` that when piped a DataCell into,
it will add labels/targets and return it.
# Arguments
* `f` is a `targets`-related function (e.g. `targets(f,...)` ) that it is applied to the existing labels of `x` if `idx` is not specified or to the
variables of `x` indicated by `idx`
* `idx` specifies variables in `x`; can be anything that can be used as a variable index in a `DataCell`
* `v` a vector that will become the new targets of `x`
* `remove` defaults to `true` and specifies whether any existing labels/targets are to be kept or, if `idx` is present, whether to remove the
variables from `x` from which the new labels/targets were obtained.
"""
labelize(f::T where T<:Function, remove::Bool=true) = FunctionCell(labelize, (f,remove), "Data labeler: f=$f, remove=$remove")
labelize(v::T where T<:AbstractArray, remove::Bool=true) = FunctionCell(labelize, (v,remove), "Data labeler: preloaded targets, remove=$remove")
labelize(idx::T where T, remove::Bool=true) = FunctionCell(labelize, (idx,remove), "Data labeler: idx=$idx remove=$remove")
labelize(f::T where T<:Function, idx::S where S, remove::Bool=true) = FunctionCell(labelize, (f,idx,remove), "Data labeler: f=$f idx=$idx remove=$remove")
labelize(x::T where T<:CellDataU, f::Function, remove::Bool=true) =
error("[labelize] Targets or the indices of variables from which to create targets required.")
labelize(x::T where T<:CellData, f::Function, remove::Bool=true) = begin
if remove
datacell(getx(x), targets(f, gety(x)), name=x.tinfo) # replace labels
else
datacell(getx(x), dcat(gety(x), targets(f, gety(x))), name=x.tinfo) # add to existing labels
end
end
labelize(x::T where T<:CellData, v::S where S<:AbstractArray, remove::Bool=true) = begin
if remove
return datacell( getx(x), getobs(v), name=x.tinfo) # replace labels
else
return datacell( getx(x), dcat(gety(x), getobs(v)), name=x.tinfo ) # add to existing labels
end
end
labelize(x::T where T<:CellData, idx::S where S, remove::Bool=true) = labelize(x, identity, idx, remove)
labelize(x::T where T<:CellData, f::Function, idx::S where S, remove::Bool=true) = begin
labels = targets(f, getx!(varsubset(x,idx)))
if remove
return datacell( getobs(_variable_(x, setdiff(1:nvars(x),idx))), labels, name=x.tinfo)
else
return datacell( getx(x), labels, name=x.tinfo )
end
end
| [
29113,
29113,
29113,
2,
198,
2,
40480,
2622,
329,
262,
17512,
286,
4818,
558,
297,
14722,
198,
2,
198,
2,
2935,
1202,
11244,
25,
198,
2,
220,
220,
220,
220,
532,
4375,
14722,
284,
4683,
6060,
28780,
198,
2,
220,
220,
220,
220,
532,
10829,
14722,
422,
4683,
6060,
28780,
198,
2,
220,
220,
220,
220,
532,
5609,
617,
14,
439,
14722,
422,
4683,
6060,
28780,
198,
2,
220,
220,
220,
220,
532,
816,
499,
14722,
284,
1223,
2073,
1058,
304,
13,
70,
13,
422,
366,
18040,
1,
284,
366,
33227,
1,
3503,
1262,
40364,
79,
89,
198,
2,
220,
220,
220,
220,
532,
7925,
5721,
7,
82,
8,
422,
1366,
290,
6121,
606,
656,
14722,
198,
2,
198,
2,
11086,
13208,
25,
1439,
5499,
1441,
649,
5563,
357,
9930,
466,
407,
13096,
262,
4683,
3392,
8,
198,
29113,
29113,
29113,
2,
628,
198,
2,
17220,
14722,
422,
6060,
34,
19187,
198,
2,
532,
1680,
307,
1760,
416,
4441,
257,
649,
4818,
558,
297,
7,
727,
62,
19608,
558,
297,
13,
87,
8,
393,
4818,
558,
297,
7,
727,
62,
19608,
558,
297,
13,
87,
11,
1468,
62,
19608,
558,
297,
13,
88,
58,
25,
42303,
12962,
198,
198,
2,
9794,
14722,
422,
4683,
4818,
558,
297,
220,
198,
2,
532,
29677,
1459,
14722,
11,
13096,
16062,
290,
2251,
649,
4818,
558,
297,
302,
12,
3500,
262,
1366,
290,
649,
14722,
13,
628,
198,
198,
37811,
198,
197,
2860,
23912,
1424,
7,
87,
11,
14722,
8,
198,
198,
16719,
274,
257,
649,
4818,
558,
297,
416,
4375,
4600,
23912,
1424,
27,
25,
23839,
19182,
63,
284,
262,
4683,
14722,
220,
198,
1659,
1366,
2685,
4600,
87,
44646,
220,
198,
37811,
198,
2860,
23912,
1424,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
11,
14722,
3712,
50,
810,
311,
27,
25,
23839,
19182,
8,
796,
4818,
558,
297,
7,
1136,
87,
0,
7,
87,
828,
288,
9246,
7,
1136,
88,
0,
7,
87,
828,
14722,
828,
1438,
28,
87,
13,
83,
10951,
8,
628,
198,
37811,
198,
197,
403,
18242,
7,
7890,
8,
198,
198,
8413,
5241,
14722,
357,
361,
597,
8,
422,
262,
1366,
2685,
290,
5860,
257,
649,
4818,
558,
297,
351,
262,
220,
198,
7890,
10154,
691,
13,
198,
37811,
198,
403,
18242,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
8,
796,
4818,
558,
297,
7,
1136,
87,
7,
87,
1776,
1438,
796,
2124,
13,
83,
10951,
8,
220,
628,
628,
198,
37811,
198,
197,
18242,
1096,
7,
87,
11,
277,
685,
11,
312,
87,
837,
28956,
12962,
198,
197,
18242,
1096,
7,
87,
11,
4686,
87,
685,
11,
28956,
12962,
198,
197,
18242,
1096,
7,
87,
11,
410,
685,
11,
28956,
12962,
198,
198,
46245,
14722,
357,
14508,
1900,
355,
705,
83,
853,
1039,
11537,
284,
4600,
87,
3712,
6601,
28780,
44646,
1002,
4600,
87,
63,
318,
407,
2810,
11,
5860,
257,
5969,
4600,
22203,
2685,
63,
326,
618,
7347,
276,
257,
6060,
28780,
656,
11,
220,
198,
270,
481,
751,
14722,
14,
83,
853,
1039,
290,
1441,
340,
13,
198,
198,
2,
20559,
2886,
198,
220,
1635,
4600,
69,
63,
318,
257,
4600,
83,
853,
1039,
63,
12,
5363,
2163,
357,
68,
13,
70,
13,
4600,
83,
853,
1039,
7,
69,
11,
23029,
63,
1267,
326,
340,
318,
5625,
284,
262,
4683,
14722,
286,
4600,
87,
63,
611,
4600,
312,
87,
63,
318,
407,
7368,
393,
284,
262,
220,
198,
220,
9633,
286,
4600,
87,
63,
8203,
416,
4600,
312,
87,
63,
198,
220,
1635,
4600,
312,
87,
63,
26052,
9633,
287,
4600,
87,
63,
26,
460,
307,
1997,
326,
460,
307,
973,
355,
257,
7885,
6376,
287,
257,
4600,
6601,
28780,
63,
198,
220,
1635,
4600,
85,
63,
257,
15879,
326,
481,
1716,
262,
649,
6670,
286,
4600,
87,
63,
198,
220,
1635,
4600,
28956,
63,
26235,
284,
4600,
7942,
63,
290,
26052,
1771,
597,
4683,
14722,
14,
83,
853,
1039,
389,
284,
307,
4030,
393,
11,
611,
4600,
312,
87,
63,
318,
1944,
11,
1771,
284,
4781,
262,
220,
198,
220,
9633,
422,
4600,
87,
63,
422,
543,
262,
649,
14722,
14,
83,
853,
1039,
547,
6492,
13,
198,
37811,
198,
18242,
1096,
7,
69,
3712,
51,
810,
309,
27,
25,
22203,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
15553,
28780,
7,
18242,
1096,
11,
357,
69,
11,
28956,
828,
366,
6601,
6167,
263,
25,
277,
43641,
69,
11,
4781,
43641,
28956,
4943,
198,
18242,
1096,
7,
85,
3712,
51,
810,
309,
27,
25,
23839,
19182,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
15553,
28780,
7,
18242,
1096,
11,
357,
85,
11,
28956,
828,
366,
6601,
6167,
263,
25,
662,
14578,
6670,
11,
4781,
43641,
28956,
4943,
198,
18242,
1096,
7,
312,
87,
3712,
51,
810,
309,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
15553,
28780,
7,
18242,
1096,
11,
357,
312,
87,
11,
28956,
828,
366,
6601,
6167,
263,
25,
4686,
87,
43641,
312,
87,
4781,
43641,
28956,
4943,
198,
18242,
1096,
7,
69,
3712,
51,
810,
309,
27,
25,
22203,
11,
4686,
87,
3712,
50,
810,
311,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
15553,
28780,
7,
18242,
1096,
11,
357,
69,
11,
312,
87,
11,
28956,
828,
366,
6601,
6167,
263,
25,
277,
43641,
69,
4686,
87,
43641,
312,
87,
4781,
43641,
28956,
4943,
628,
198,
18242,
1096,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
52,
11,
277,
3712,
22203,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
220,
198,
197,
18224,
7203,
58,
18242,
1096,
60,
31089,
1039,
393,
262,
36525,
286,
9633,
422,
543,
284,
2251,
6670,
2672,
19570,
220,
198,
198,
18242,
1096,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
11,
277,
3712,
22203,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
2221,
220,
198,
197,
361,
4781,
198,
197,
197,
19608,
558,
297,
7,
1136,
87,
7,
87,
828,
6670,
7,
69,
11,
651,
88,
7,
87,
36911,
1438,
28,
87,
13,
83,
10951,
8,
220,
197,
197,
197,
2,
6330,
14722,
198,
197,
17772,
198,
197,
197,
19608,
558,
297,
7,
1136,
87,
7,
87,
828,
288,
9246,
7,
1136,
88,
7,
87,
828,
6670,
7,
69,
11,
651,
88,
7,
87,
4008,
828,
1438,
28,
87,
13,
83,
10951,
8,
197,
2,
751,
284,
4683,
14722,
198,
197,
437,
198,
437,
198,
198,
18242,
1096,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
11,
410,
3712,
50,
810,
311,
27,
25,
23839,
19182,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
2221,
198,
197,
361,
4781,
198,
197,
197,
7783,
4818,
558,
297,
7,
651,
87,
7,
87,
828,
651,
8158,
7,
85,
828,
1438,
28,
87,
13,
83,
10951,
8,
220,
197,
197,
197,
2,
6330,
14722,
220,
198,
197,
17772,
198,
197,
197,
7783,
4818,
558,
297,
7,
651,
87,
7,
87,
828,
288,
9246,
7,
1136,
88,
7,
87,
828,
651,
8158,
7,
85,
36911,
1438,
28,
87,
13,
83,
10951,
1267,
220,
197,
2,
751,
284,
4683,
14722,
198,
197,
437,
198,
437,
198,
198,
18242,
1096,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
11,
4686,
87,
3712,
50,
810,
311,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
6167,
1096,
7,
87,
11,
5369,
11,
4686,
87,
11,
4781,
8,
220,
198,
198,
18242,
1096,
7,
87,
3712,
51,
810,
309,
27,
25,
28780,
6601,
11,
277,
3712,
22203,
11,
4686,
87,
3712,
50,
810,
311,
11,
4781,
3712,
33,
970,
28,
7942,
8,
796,
2221,
220,
198,
197,
23912,
1424,
796,
6670,
7,
69,
11,
651,
87,
0,
7,
85,
945,
549,
2617,
7,
87,
11,
312,
87,
22305,
198,
197,
361,
4781,
198,
197,
197,
7783,
4818,
558,
297,
7,
651,
8158,
28264,
45286,
41052,
87,
11,
900,
26069,
7,
16,
25,
48005,
945,
7,
87,
828,
312,
87,
4008,
828,
14722,
11,
1438,
28,
87,
13,
83,
10951,
8,
220,
220,
198,
197,
17772,
198,
197,
197,
7783,
4818,
558,
297,
7,
651,
87,
7,
87,
828,
14722,
11,
1438,
28,
87,
13,
83,
10951,
1267,
198,
197,
437,
198,
437,
198
] | 2.93422 | 1,353 |
module ReactiveMPMathTest
using Test
using ReactiveMP
using Random
@testset "Math" begin
@testset "tiny/huge" begin
@test typeof(tiny) === TinyNumber
@test typeof(huge) === HugeNumber
@test convert(Float32, tiny) == 1f-6
@test convert(Float64, tiny) == 1e-12
@test convert(BigFloat, tiny) == big"1e-24"
@test convert(Float32, huge) == 1f+6
@test convert(Float64, huge) == 1e+12
@test convert(BigFloat, huge) == big"1e+24"
@test @inferred clamp(1f0, tiny, huge) == 1f0
@test @inferred clamp(0f0, tiny, huge) == 1f-6
@test @inferred clamp(1f13, tiny, huge) == 1f+6
@test @inferred clamp(1.0, tiny, huge) == 1.0
@test @inferred clamp(0.0, tiny, huge) == 1e-12
@test @inferred clamp(1e13, tiny, huge) == 1e12
@test @inferred clamp(big"1.0", tiny, huge) == big"1.0"
@test @inferred clamp(big"0.0", tiny, huge) == big"1e-24"
@test @inferred clamp(big"1e25", tiny, huge) == big"1e+24"
for a in (1, 1.0, 0, 0.0, 1f0, 0f0, Int32(0), Int32(1), big"1", big"1.0", big"0", big"0.0")
T = typeof(a)
for v in [ tiny, huge ]
V = typeof(v)
for op in [ +, -, *, /, >, >=, <, <= ]
@test @inferred op(a, v) == op(a, convert(promote_type(T, V), v))
@test @inferred op(v, a) == op(convert(promote_type(T, V), v), a)
@test @inferred op(a, v) == op(a, v)
@test @inferred op(v, a) == op(v, a)
end
@test v <= (@inferred clamp(a, v, Inf)) <= Inf
@test zero(a) <= (@inferred clamp(a, zero(a), v)) <= v
for size in [ 3, 5 ]
for array in [ fill(a, (size, )), fill(a, (size, size)) ]
for op in [ +, -, *, /, >, >=, <, <= ]
@test @inferred op.(array, v) == op.(array, convert(promote_type(T, V), v))
@test @inferred op.(v, array) == op.(convert(promote_type(T, V), v), array)
@test @inferred op.(array, v) == op.(array, v)
@test @inferred op.(v, array) == op.(v, array)
end
@test @inferred clamp.(array, v, Inf) == clamp.(array, v, Inf)
@test @inferred clamp.(array, zero(array), v) == clamp.(array, zero(array), v)
end
end
end
end
end
end
end | [
21412,
797,
5275,
44,
5868,
776,
14402,
198,
198,
3500,
6208,
198,
3500,
797,
5275,
7378,
198,
3500,
14534,
198,
198,
31,
9288,
2617,
366,
37372,
1,
2221,
628,
220,
220,
220,
2488,
9288,
2617,
366,
44152,
14,
40878,
1,
2221,
220,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
44152,
8,
24844,
20443,
15057,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2099,
1659,
7,
40878,
8,
24844,
35225,
15057,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
43879,
2624,
11,
7009,
8,
220,
6624,
352,
69,
12,
21,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
43879,
2414,
11,
7009,
8,
220,
6624,
352,
68,
12,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
12804,
43879,
11,
7009,
8,
6624,
1263,
1,
16,
68,
12,
1731,
1,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
43879,
2624,
11,
3236,
8,
220,
6624,
352,
69,
10,
21,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
43879,
2414,
11,
3236,
8,
220,
6624,
352,
68,
10,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
10385,
7,
12804,
43879,
11,
3236,
8,
6624,
1263,
1,
16,
68,
10,
1731,
1,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
16,
69,
15,
11,
7009,
11,
3236,
8,
220,
6624,
352,
69,
15,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
15,
69,
15,
11,
7009,
11,
3236,
8,
220,
6624,
352,
69,
12,
21,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
16,
69,
1485,
11,
7009,
11,
3236,
8,
6624,
352,
69,
10,
21,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
16,
13,
15,
11,
7009,
11,
3236,
8,
220,
6624,
352,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
15,
13,
15,
11,
7009,
11,
3236,
8,
220,
6624,
352,
68,
12,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
16,
68,
1485,
11,
7009,
11,
3236,
8,
6624,
352,
68,
1065,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
14261,
1,
16,
13,
15,
1600,
7009,
11,
3236,
8,
220,
6624,
1263,
1,
16,
13,
15,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
14261,
1,
15,
13,
15,
1600,
7009,
11,
3236,
8,
220,
6624,
1263,
1,
16,
68,
12,
1731,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
29405,
7,
14261,
1,
16,
68,
1495,
1600,
7009,
11,
3236,
8,
6624,
1263,
1,
16,
68,
10,
1731,
1,
628,
220,
220,
220,
220,
220,
220,
220,
329,
257,
287,
357,
16,
11,
352,
13,
15,
11,
657,
11,
657,
13,
15,
11,
352,
69,
15,
11,
657,
69,
15,
11,
2558,
2624,
7,
15,
828,
2558,
2624,
7,
16,
828,
1263,
1,
16,
1600,
1263,
1,
16,
13,
15,
1600,
1263,
1,
15,
1600,
1263,
1,
15,
13,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
309,
796,
2099,
1659,
7,
64,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
410,
287,
685,
7009,
11,
3236,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
569,
796,
2099,
1659,
7,
85,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1034,
287,
685,
1343,
11,
532,
11,
1635,
11,
1220,
11,
1875,
11,
18189,
11,
1279,
11,
19841,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
1034,
7,
64,
11,
410,
8,
6624,
1034,
7,
64,
11,
10385,
7,
16963,
1258,
62,
4906,
7,
51,
11,
569,
828,
410,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
1034,
7,
85,
11,
257,
8,
6624,
1034,
7,
1102,
1851,
7,
16963,
1258,
62,
4906,
7,
51,
11,
569,
828,
410,
828,
257,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
1034,
7,
64,
11,
410,
8,
6624,
1034,
7,
64,
11,
410,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
1034,
7,
85,
11,
257,
8,
6624,
1034,
7,
85,
11,
257,
8,
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,
2488,
9288,
410,
19841,
4275,
259,
18186,
29405,
7,
64,
11,
410,
11,
4806,
4008,
19841,
4806,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
6632,
7,
64,
8,
19841,
4275,
259,
18186,
29405,
7,
64,
11,
6632,
7,
64,
828,
410,
4008,
19841,
410,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2546,
287,
220,
685,
513,
11,
642,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
7177,
287,
685,
6070,
7,
64,
11,
357,
7857,
11,
1267,
828,
6070,
7,
64,
11,
357,
7857,
11,
2546,
4008,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1034,
287,
685,
1343,
11,
532,
11,
1635,
11,
1220,
11,
1875,
11,
18189,
11,
1279,
11,
19841,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2488,
259,
18186,
1034,
12195,
18747,
11,
410,
8,
6624,
1034,
12195,
18747,
11,
10385,
7,
16963,
1258,
62,
4906,
7,
51,
11,
569,
828,
410,
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,
2488,
9288,
2488,
259,
18186,
1034,
12195,
85,
11,
7177,
8,
6624,
1034,
12195,
1102,
1851,
7,
16963,
1258,
62,
4906,
7,
51,
11,
569,
828,
410,
828,
7177,
8,
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,
2488,
9288,
2488,
259,
18186,
1034,
12195,
18747,
11,
410,
8,
6624,
1034,
12195,
18747,
11,
410,
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,
2488,
9288,
2488,
259,
18186,
1034,
12195,
85,
11,
7177,
8,
6624,
1034,
12195,
85,
11,
7177,
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,
2488,
9288,
2488,
259,
18186,
29405,
12195,
18747,
11,
410,
11,
4806,
8,
220,
220,
220,
220,
220,
220,
220,
220,
6624,
29405,
12195,
18747,
11,
410,
11,
4806,
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,
9288,
2488,
259,
18186,
29405,
12195,
18747,
11,
6632,
7,
18747,
828,
410,
8,
6624,
29405,
12195,
18747,
11,
6632,
7,
18747,
828,
410,
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,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
886,
198,
198,
437,
198,
198,
437
] | 1.807827 | 1,431 |
using Random, Plots, Distributions, Statistics
# Example solution for exercise 8.8 using Julia 1.4.1
#
# My solution has similar shape with the book, but different start state value
# under the greedy policy. I am not sure where goes wrong, probably in the
# reward calculation? But my results are similar to all the other people's
# results which I found online (see below reference implementation). So just
# take my solution as one of the references, don't treat it absolutely correct.
#
# By @burmecia at GitHub, 15 May 2020
#
# Other reference implementation:
#
# 1. https://github.com/ShangtongZhang/reinforcement-learning-an-introduction/blob/master/chapter08/trajectory_sampling.py
# 2. https://github.com/JuliaReinforcementLearning/ReinforcementLearningAnIntroduction.jl/blob/b5c718a891a4b3db4fae177b8b33ca506df1ecea/notebooks/Chapter08_Trajectory_Sampling.ipynb
# 3. https://github.com/enakai00/rl_book_solutions/blob/master/Chapter08/Exercise_8_8_Solution.ipynb
stat_len = 10000
T = 200000
ε = 0.1
act_len = 2
term_prob = 0.1
tick_num = 100
# make transition matrix, (state, action) -> (next_state, reward)
# element is b tuples: [(next_state, reward),...]
function make_transition_matrix(b)
trans = [
map(s -> (s, randn()), rand(1:stat_len, b))
for s = 1:stat_len, a = 1:act_len
]
# terminal state, transit to itself with zero reward
trans[stat_len, 1] = [(stat_len, 0) for _ = 1:b]
trans[stat_len, 2] = [(stat_len, 0) for _ = 1:b]
trans
end
# take action, observe the next state and reward
function next_state(s, a, trans)
if rand() < term_prob
return stat_len, 0
end
sample(trans[s, a])
end
# evaluate start state value under greedy policy
function start_state_value(Q, trans)
n = 200
returns = zeros(Float64, n)
for i = 1:n
s = 1
while s != stat_len
a = argmax(Q[s, :])
s, r = next_state(s, a, trans)
returns[i] += r
end
end
mean(returns)
end
function run_uniform(b, trans)
Q = zeros(Float64, stat_len, act_len)
interval = T ÷ tick_num
vπ_s0 = zeros(Float64, tick_num + 1)
for t = 0:T
s = t % stat_len + 1
a = (t % (stat_len * act_len)) ÷ stat_len + 1
next_states = trans[s, a]
Q[s, a] =
(1 - term_prob) *
mean(map(ns -> (ns[2] + maximum(Q[ns[1], :])), next_states))
if t % interval == 0
vπ_s0[t ÷ interval + 1] = start_state_value(Q, trans)
end
end
vπ_s0
end
function run_on_policy(b, trans)
Q = zeros(Float64, stat_len, act_len)
interval = T ÷ tick_num
vπ_s0 = zeros(Float64, tick_num + 1)
s = 1
for t = 0:T
if rand() < ε
a = rand(1:act_len)
else
a = argmax(Q[s, :])
end
next_states = trans[s, a]
Q[s, a] =
(1 - term_prob) *
mean(map(ns -> (ns[2] + maximum(Q[ns[1], :])), next_states))
s, r = next_state(s, a, trans)
if s == stat_len
s = 1
end
if t % interval == 0
vπ_s0[t ÷ interval + 1] = start_state_value(Q, trans)
end
end
vπ_s0
end
function experiment(b_list, p, subplot)
task_cnt = 100
interval = T ÷ tick_num
x = 0:interval:T
for b in b_list
uniform = zeros(Float64, task_cnt, length(x))
on_policy = zeros(Float64, task_cnt, length(x))
println("start subplot $(subplot), b=$(b)")
for i = 1:task_cnt
if i % 10 == 0
println(" task $(i)")
end
trans = make_transition_matrix(b)
uniform[i, :] = run_uniform(b, trans)
on_policy[i, :] = run_on_policy(b, trans)
end
uniform = mean(uniform, dims = 1)
on_policy = mean(on_policy, dims = 1)
plot!(
p,
x,
uniform[1, :],
subplot = subplot,
title = "$(stat_len) states",
label = "b=$(b), uniform",
)
plot!(
p,
x,
on_policy[1, :],
subplot = subplot,
label = "b=$(b), on-policy",
)
end
end
function main()
global stat_len, T
p = plot(
xlabel = "Computation time, in expected updates",
ylabel = "Start state value",
legend = :best,
size = (600, 800),
layout = (2, 1),
)
stat_len, T = 1000, 20000
experiment([1, 3, 10], p, 1)
stat_len, T = 10000, 200000
experiment([1, 3], p, 2)
display(p)
end
# uncomment the main function below to start learning
#main()
| [
3500,
14534,
11,
1345,
1747,
11,
46567,
507,
11,
14370,
198,
198,
2,
17934,
4610,
329,
5517,
807,
13,
23,
1262,
22300,
352,
13,
19,
13,
16,
198,
2,
198,
2,
2011,
4610,
468,
2092,
5485,
351,
262,
1492,
11,
475,
1180,
923,
1181,
1988,
198,
2,
739,
262,
31828,
2450,
13,
314,
716,
407,
1654,
810,
2925,
2642,
11,
2192,
287,
262,
198,
2,
6721,
17952,
30,
887,
616,
2482,
389,
2092,
284,
477,
262,
584,
661,
338,
198,
2,
2482,
543,
314,
1043,
2691,
357,
3826,
2174,
4941,
7822,
737,
1406,
655,
198,
2,
1011,
616,
4610,
355,
530,
286,
262,
10288,
11,
836,
470,
2190,
340,
5543,
3376,
13,
198,
2,
198,
2,
2750,
2488,
6236,
76,
721,
544,
379,
21722,
11,
1315,
1737,
12131,
198,
2,
198,
2,
3819,
4941,
7822,
25,
198,
2,
198,
2,
352,
13,
3740,
1378,
12567,
13,
785,
14,
2484,
648,
83,
506,
57,
33255,
14,
260,
259,
13442,
12,
40684,
12,
272,
12,
27427,
596,
14,
2436,
672,
14,
9866,
14,
43582,
2919,
14,
9535,
752,
652,
62,
37687,
11347,
13,
9078,
198,
2,
362,
13,
3740,
1378,
12567,
13,
785,
14,
16980,
544,
3041,
259,
13442,
41730,
14,
3041,
259,
13442,
41730,
2025,
21906,
13,
20362,
14,
2436,
672,
14,
65,
20,
66,
45720,
64,
4531,
16,
64,
19,
65,
18,
9945,
19,
69,
3609,
22413,
65,
23,
65,
2091,
6888,
35638,
7568,
16,
68,
344,
64,
14,
11295,
12106,
14,
14126,
2919,
62,
15721,
752,
652,
62,
16305,
11347,
13,
541,
2047,
65,
198,
2,
513,
13,
3740,
1378,
12567,
13,
785,
14,
268,
461,
1872,
405,
14,
45895,
62,
2070,
62,
82,
14191,
14,
2436,
672,
14,
9866,
14,
14126,
2919,
14,
3109,
23697,
62,
23,
62,
23,
62,
46344,
13,
541,
2047,
65,
198,
198,
14269,
62,
11925,
796,
33028,
198,
51,
796,
939,
830,
198,
198,
30950,
796,
657,
13,
16,
198,
529,
62,
11925,
796,
362,
198,
4354,
62,
1676,
65,
796,
657,
13,
16,
198,
42298,
62,
22510,
796,
1802,
198,
198,
2,
787,
6801,
17593,
11,
357,
5219,
11,
2223,
8,
4613,
357,
19545,
62,
5219,
11,
6721,
8,
198,
2,
5002,
318,
275,
12777,
2374,
25,
47527,
19545,
62,
5219,
11,
6721,
828,
22345,
198,
8818,
787,
62,
7645,
653,
62,
6759,
8609,
7,
65,
8,
198,
220,
220,
220,
1007,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
3975,
7,
82,
4613,
357,
82,
11,
43720,
77,
3419,
828,
43720,
7,
16,
25,
14269,
62,
11925,
11,
275,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
264,
796,
352,
25,
14269,
62,
11925,
11,
257,
796,
352,
25,
529,
62,
11925,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
1303,
12094,
1181,
11,
11168,
284,
2346,
351,
6632,
6721,
198,
220,
220,
220,
1007,
58,
14269,
62,
11925,
11,
352,
60,
796,
47527,
14269,
62,
11925,
11,
657,
8,
329,
4808,
796,
352,
25,
65,
60,
198,
220,
220,
220,
1007,
58,
14269,
62,
11925,
11,
362,
60,
796,
47527,
14269,
62,
11925,
11,
657,
8,
329,
4808,
796,
352,
25,
65,
60,
198,
220,
220,
220,
1007,
198,
437,
198,
198,
2,
1011,
2223,
11,
12414,
262,
1306,
1181,
290,
6721,
198,
8818,
1306,
62,
5219,
7,
82,
11,
257,
11,
1007,
8,
198,
220,
220,
220,
611,
43720,
3419,
1279,
3381,
62,
1676,
65,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1185,
62,
11925,
11,
657,
198,
220,
220,
220,
886,
198,
220,
220,
220,
6291,
7,
7645,
58,
82,
11,
257,
12962,
198,
437,
198,
198,
2,
13446,
923,
1181,
1988,
739,
31828,
2450,
198,
8818,
923,
62,
5219,
62,
8367,
7,
48,
11,
1007,
8,
198,
220,
220,
220,
299,
796,
939,
198,
220,
220,
220,
5860,
796,
1976,
27498,
7,
43879,
2414,
11,
299,
8,
628,
220,
220,
220,
329,
1312,
796,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
264,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
981,
264,
14512,
1185,
62,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
1822,
9806,
7,
48,
58,
82,
11,
1058,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
11,
374,
796,
1306,
62,
5219,
7,
82,
11,
257,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5860,
58,
72,
60,
15853,
374,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1612,
7,
7783,
82,
8,
198,
437,
198,
198,
8818,
1057,
62,
403,
6933,
7,
65,
11,
1007,
8,
198,
220,
220,
220,
1195,
796,
1976,
27498,
7,
43879,
2414,
11,
1185,
62,
11925,
11,
719,
62,
11925,
8,
198,
220,
220,
220,
16654,
796,
309,
6184,
115,
4378,
62,
22510,
198,
220,
220,
220,
410,
46582,
62,
82,
15,
796,
1976,
27498,
7,
43879,
2414,
11,
4378,
62,
22510,
1343,
352,
8,
628,
220,
220,
220,
329,
256,
796,
657,
25,
51,
198,
220,
220,
220,
220,
220,
220,
220,
264,
796,
256,
4064,
1185,
62,
11925,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
357,
83,
4064,
357,
14269,
62,
11925,
1635,
719,
62,
11925,
4008,
6184,
115,
1185,
62,
11925,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
27219,
796,
1007,
58,
82,
11,
257,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1195,
58,
82,
11,
257,
60,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
16,
532,
3381,
62,
1676,
65,
8,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1612,
7,
8899,
7,
5907,
4613,
357,
5907,
58,
17,
60,
1343,
5415,
7,
48,
58,
5907,
58,
16,
4357,
1058,
12962,
828,
1306,
62,
27219,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
611,
256,
4064,
16654,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
46582,
62,
82,
15,
58,
83,
6184,
115,
16654,
1343,
352,
60,
796,
923,
62,
5219,
62,
8367,
7,
48,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
410,
46582,
62,
82,
15,
198,
437,
198,
198,
8818,
1057,
62,
261,
62,
30586,
7,
65,
11,
1007,
8,
198,
220,
220,
220,
1195,
796,
1976,
27498,
7,
43879,
2414,
11,
1185,
62,
11925,
11,
719,
62,
11925,
8,
198,
220,
220,
220,
16654,
796,
309,
6184,
115,
4378,
62,
22510,
198,
220,
220,
220,
410,
46582,
62,
82,
15,
796,
1976,
27498,
7,
43879,
2414,
11,
4378,
62,
22510,
1343,
352,
8,
198,
220,
220,
220,
264,
796,
352,
628,
220,
220,
220,
329,
256,
796,
657,
25,
51,
198,
220,
220,
220,
220,
220,
220,
220,
611,
43720,
3419,
1279,
7377,
113,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
43720,
7,
16,
25,
529,
62,
11925,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
1822,
9806,
7,
48,
58,
82,
11,
1058,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
27219,
796,
1007,
58,
82,
11,
257,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1195,
58,
82,
11,
257,
60,
796,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
16,
532,
3381,
62,
1676,
65,
8,
1635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1612,
7,
8899,
7,
5907,
4613,
357,
5907,
58,
17,
60,
1343,
5415,
7,
48,
58,
5907,
58,
16,
4357,
1058,
12962,
828,
1306,
62,
27219,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
264,
11,
374,
796,
1306,
62,
5219,
7,
82,
11,
257,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
264,
6624,
1185,
62,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
611,
256,
4064,
16654,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
46582,
62,
82,
15,
58,
83,
6184,
115,
16654,
1343,
352,
60,
796,
923,
62,
5219,
62,
8367,
7,
48,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
410,
46582,
62,
82,
15,
198,
437,
198,
198,
8818,
6306,
7,
65,
62,
4868,
11,
279,
11,
850,
29487,
8,
198,
220,
220,
220,
4876,
62,
66,
429,
796,
1802,
198,
220,
220,
220,
16654,
796,
309,
6184,
115,
4378,
62,
22510,
198,
220,
220,
220,
2124,
796,
657,
25,
3849,
2100,
25,
51,
628,
220,
220,
220,
329,
275,
287,
275,
62,
4868,
198,
220,
220,
220,
220,
220,
220,
220,
8187,
796,
1976,
27498,
7,
43879,
2414,
11,
4876,
62,
66,
429,
11,
4129,
7,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
319,
62,
30586,
796,
1976,
27498,
7,
43879,
2414,
11,
4876,
62,
66,
429,
11,
4129,
7,
87,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
9688,
850,
29487,
29568,
7266,
29487,
828,
275,
43641,
7,
65,
8,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
35943,
62,
66,
429,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
4064,
838,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44872,
7203,
220,
4876,
29568,
72,
8,
4943,
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,
1007,
796,
787,
62,
7645,
653,
62,
6759,
8609,
7,
65,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8187,
58,
72,
11,
1058,
60,
796,
1057,
62,
403,
6933,
7,
65,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
319,
62,
30586,
58,
72,
11,
1058,
60,
796,
1057,
62,
261,
62,
30586,
7,
65,
11,
1007,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
8187,
796,
1612,
7,
403,
6933,
11,
5391,
82,
796,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
319,
62,
30586,
796,
1612,
7,
261,
62,
30586,
11,
5391,
82,
796,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
7110,
0,
7,
198,
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,
2124,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8187,
58,
16,
11,
1058,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
29487,
796,
850,
29487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
17971,
7,
14269,
62,
11925,
8,
2585,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
366,
65,
43641,
7,
65,
828,
8187,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
7110,
0,
7,
198,
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,
2124,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
319,
62,
30586,
58,
16,
11,
1058,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
29487,
796,
850,
29487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
796,
366,
65,
43641,
7,
65,
828,
319,
12,
30586,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
1388,
3419,
198,
220,
220,
220,
3298,
1185,
62,
11925,
11,
309,
628,
220,
220,
220,
279,
796,
7110,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
18242,
796,
366,
5377,
1996,
341,
640,
11,
287,
2938,
5992,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
331,
18242,
796,
366,
10434,
1181,
1988,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
8177,
796,
1058,
13466,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
357,
8054,
11,
10460,
828,
198,
220,
220,
220,
220,
220,
220,
220,
12461,
796,
357,
17,
11,
352,
828,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1185,
62,
11925,
11,
309,
796,
8576,
11,
939,
405,
198,
220,
220,
220,
6306,
26933,
16,
11,
513,
11,
838,
4357,
279,
11,
352,
8,
198,
220,
220,
220,
1185,
62,
11925,
11,
309,
796,
33028,
11,
939,
830,
198,
220,
220,
220,
6306,
26933,
16,
11,
513,
4357,
279,
11,
362,
8,
628,
220,
220,
220,
3359,
7,
79,
8,
198,
437,
198,
198,
2,
8820,
434,
262,
1388,
2163,
2174,
284,
923,
4673,
198,
2,
12417,
3419,
198
] | 2.097253 | 2,221 |
#
# Script for calculation of far-field pattern in the liquid case (sphere)
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# User configurable parameters
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Physical parameters
rho10 = 5.00 ; # Density ratio
k_0 = 4 ; # Wave number in media 0
k_1 = 6 ; # Wave number in media 1
a = 1 ; # Sphere radius
theta_inc = pi/4 ; # Incidence angle in radians
# Software parameters
grid_size = 200 ; # Angular grid size
N = 150 ; # Number of terms in the series solution
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Calculation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Far-Field pattern calculation
Pattern = Pattern_LiquidSphere( rho10, k_0, k_1, a, grid_size, N, theta_inc ) ;
# Saving to disk
writedlm( "Out.Pattern.dat", Pattern , '\t' ) ; | [
197,
2,
198,
197,
2,
197,
7391,
329,
17952,
286,
1290,
12,
3245,
3912,
287,
262,
8122,
1339,
357,
2777,
1456,
8,
198,
197,
2,
628,
197,
2,
220,
27156,
27156,
27156,
15116,
4907,
198,
197,
2,
11787,
4566,
11970,
10007,
198,
197,
2,
220,
27156,
27156,
27156,
15116,
4907,
198,
197,
198,
197,
2,
16331,
10007,
198,
197,
81,
8873,
940,
796,
642,
13,
405,
2162,
1303,
360,
6377,
8064,
198,
197,
74,
62,
15,
796,
604,
2162,
1303,
17084,
1271,
287,
2056,
657,
198,
197,
74,
62,
16,
796,
718,
2162,
1303,
17084,
1271,
287,
2056,
352,
197,
198,
197,
64,
796,
352,
2162,
1303,
31798,
16874,
198,
197,
1169,
8326,
62,
1939,
796,
31028,
14,
19,
2162,
1303,
3457,
1704,
9848,
287,
2511,
1547,
198,
197,
198,
197,
2,
10442,
10007,
198,
197,
25928,
62,
7857,
796,
939,
2162,
1303,
28147,
10706,
2546,
198,
197,
45,
796,
6640,
2162,
1303,
7913,
286,
2846,
287,
262,
2168,
4610,
198,
197,
198,
197,
2,
220,
27156,
27156,
27156,
15116,
4907,
198,
197,
2,
2199,
14902,
198,
197,
2,
220,
27156,
27156,
27156,
15116,
4907,
198,
197,
198,
197,
2,
6755,
12,
15878,
3912,
17952,
198,
197,
47546,
796,
23939,
62,
41966,
38882,
7,
374,
8873,
940,
11,
479,
62,
15,
11,
479,
62,
16,
11,
257,
11,
10706,
62,
7857,
11,
399,
11,
262,
8326,
62,
1939,
1267,
2162,
198,
197,
197,
198,
197,
2,
34689,
284,
11898,
198,
197,
8933,
276,
75,
76,
7,
366,
7975,
13,
47546,
13,
19608,
1600,
23939,
837,
705,
59,
83,
6,
1267,
2162,
197
] | 3.377863 | 262 |
using Plots, Test
@testset "Subplot sclicing" begin
pl = @test_nowarn plot(
rand(4, 8),
layout = 4,
yscale = [:identity :identity :log10 :log10],
)
@test pl[1][:yaxis][:scale] == :identity
@test pl[2][:yaxis][:scale] == :identity
@test pl[3][:yaxis][:scale] == :log10
@test pl[4][:yaxis][:scale] == :log10
end
| [
3500,
1345,
1747,
11,
6208,
198,
198,
31,
9288,
2617,
366,
7004,
29487,
264,
565,
6345,
1,
2221,
198,
220,
220,
220,
458,
796,
2488,
9288,
62,
2197,
1501,
7110,
7,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
7,
19,
11,
807,
828,
198,
220,
220,
220,
220,
220,
220,
220,
12461,
796,
604,
11,
198,
220,
220,
220,
220,
220,
220,
220,
331,
9888,
796,
685,
25,
738,
414,
1058,
738,
414,
1058,
6404,
940,
1058,
6404,
940,
4357,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
2488,
9288,
458,
58,
16,
7131,
25,
88,
22704,
7131,
25,
9888,
60,
6624,
1058,
738,
414,
198,
220,
220,
220,
2488,
9288,
458,
58,
17,
7131,
25,
88,
22704,
7131,
25,
9888,
60,
6624,
1058,
738,
414,
198,
220,
220,
220,
2488,
9288,
458,
58,
18,
7131,
25,
88,
22704,
7131,
25,
9888,
60,
6624,
1058,
6404,
940,
198,
220,
220,
220,
2488,
9288,
458,
58,
19,
7131,
25,
88,
22704,
7131,
25,
9888,
60,
6624,
1058,
6404,
940,
198,
437,
198
] | 2.063218 | 174 |
"""
linear regression function
Compute coeff. estimates, s.e's, equation σ, Rsquared
usage:
b, seb, s, R2 = linreg(y,x)
y = dependent variable vector
x = matrix of independent variables (no intercept in x)
"""
function blinreg(y,x)
# add intercept
n = length(y)
X = [ones(n) x]
b = (X'*X) \ X'*y
resids = y - X*b
RSS = sum(resids.^2)
s2 = RSS/n
covb = s2.*inv(X'X)
seb = sqrt.(diag(covb))
k = length(b)
### Correct formulas for AIC and BIC
BIC = n*log(s2) + k*log(n)
AIC = 2*k + n*log(s2)
odds = zeros(k)
pvals = zeros(k)
that = abs.(b)./seb
for i in 1:k
odds[i] = (1.0 + (that[i]^2)/(n-k))^((n-k+1)/2.0)
pvals[i] = 1.0 - cdf(TDist(n-k), that[i])
end
println(" coeffs = ", round.(b, digits=3))
println(" s.e's = ", round.(seb, digits=3))
println(" odds = ", round.(odds, digits=3))
println("p-values = ", round.(pvals, digits=4))
println("s^2 (eqn. variance) = ",round(s2, digits=6))
# compute R^2
tss = sum((y .- mean(y)).^2)
R2 = 1 - s2*n/tss
println("Rsquared = ",round(R2, digits=3))
println("AIC = ", round(AIC, digits = 2), " BIC = ", round(BIC, digits = 2),)
s = sqrt(s2)
return b, seb, odds, pvals, s, R2, RSS, AIC, BIC
end
## example of use:
#x = randn(20)
#y = 1 + 1.*x .+ randn(20)
#b, seb, odds, pvals, s, R2, RSS, AIC, BIC = blinreg(y,x)
| [
198,
37811,
198,
29127,
20683,
2163,
198,
220,
3082,
1133,
763,
14822,
13,
7746,
11,
264,
13,
68,
338,
11,
16022,
18074,
225,
11,
12820,
421,
1144,
198,
198,
26060,
25,
628,
220,
220,
220,
275,
11,
384,
65,
11,
264,
11,
371,
17,
796,
9493,
2301,
7,
88,
11,
87,
8,
198,
220,
220,
220,
331,
796,
10795,
7885,
15879,
198,
220,
220,
220,
2124,
796,
17593,
286,
4795,
9633,
357,
3919,
15788,
287,
2124,
8,
198,
37811,
198,
8818,
698,
259,
2301,
7,
88,
11,
87,
8,
198,
220,
1303,
751,
15788,
198,
220,
299,
796,
4129,
7,
88,
8,
198,
220,
1395,
796,
685,
1952,
7,
77,
8,
2124,
60,
198,
220,
275,
796,
357,
55,
6,
9,
55,
8,
3467,
1395,
6,
9,
88,
198,
220,
581,
2340,
796,
331,
532,
1395,
9,
65,
198,
220,
25012,
796,
2160,
7,
411,
2340,
13,
61,
17,
8,
198,
220,
264,
17,
796,
25012,
14,
77,
628,
220,
39849,
65,
796,
264,
17,
15885,
16340,
7,
55,
6,
55,
8,
198,
220,
384,
65,
796,
19862,
17034,
12195,
10989,
363,
7,
66,
709,
65,
4008,
198,
220,
479,
796,
4129,
7,
65,
8,
198,
220,
44386,
22941,
32126,
329,
317,
2149,
290,
347,
2149,
198,
220,
347,
2149,
796,
299,
9,
6404,
7,
82,
17,
8,
1343,
479,
9,
6404,
7,
77,
8,
198,
220,
317,
2149,
796,
362,
9,
74,
1343,
299,
9,
6404,
7,
82,
17,
8,
198,
220,
10402,
796,
1976,
27498,
7,
74,
8,
198,
220,
279,
12786,
796,
1976,
27498,
7,
74,
8,
198,
220,
326,
796,
2352,
12195,
65,
737,
14,
325,
65,
198,
220,
329,
1312,
287,
352,
25,
74,
198,
220,
220,
220,
10402,
58,
72,
60,
796,
357,
16,
13,
15,
1343,
357,
5562,
58,
72,
60,
61,
17,
20679,
7,
77,
12,
74,
4008,
61,
19510,
77,
12,
74,
10,
16,
20679,
17,
13,
15,
8,
198,
220,
220,
220,
279,
12786,
58,
72,
60,
796,
352,
13,
15,
532,
269,
7568,
7,
51,
20344,
7,
77,
12,
74,
828,
326,
58,
72,
12962,
198,
220,
886,
198,
220,
44872,
7203,
220,
763,
14822,
82,
796,
33172,
2835,
12195,
65,
11,
19561,
28,
18,
4008,
198,
220,
44872,
7203,
220,
220,
264,
13,
68,
338,
796,
33172,
2835,
12195,
325,
65,
11,
19561,
28,
18,
4008,
198,
220,
44872,
7203,
220,
220,
220,
10402,
796,
33172,
2835,
12195,
5088,
82,
11,
19561,
28,
18,
4008,
198,
220,
44872,
7203,
79,
12,
27160,
796,
33172,
2835,
12195,
79,
12786,
11,
19561,
28,
19,
4008,
198,
220,
44872,
7203,
82,
61,
17,
357,
27363,
77,
13,
24198,
8,
796,
33172,
744,
7,
82,
17,
11,
19561,
28,
21,
4008,
628,
220,
1303,
24061,
371,
61,
17,
198,
220,
256,
824,
796,
2160,
19510,
88,
764,
12,
1612,
7,
88,
29720,
61,
17,
8,
628,
220,
371,
17,
796,
352,
532,
264,
17,
9,
77,
14,
83,
824,
198,
220,
44872,
7203,
49,
16485,
1144,
796,
33172,
744,
7,
49,
17,
11,
19561,
28,
18,
4008,
198,
220,
44872,
7203,
32,
2149,
796,
33172,
2835,
7,
32,
2149,
11,
19561,
796,
362,
828,
366,
220,
347,
2149,
796,
33172,
2835,
7,
33,
2149,
11,
19561,
796,
362,
828,
8,
198,
220,
264,
796,
19862,
17034,
7,
82,
17,
8,
198,
220,
1441,
275,
11,
384,
65,
11,
10402,
11,
279,
12786,
11,
264,
11,
371,
17,
11,
25012,
11,
317,
2149,
11,
347,
2149,
198,
437,
198,
198,
2235,
1672,
286,
779,
25,
198,
2,
87,
796,
43720,
77,
7,
1238,
8,
198,
2,
88,
796,
352,
1343,
352,
15885,
87,
764,
10,
43720,
77,
7,
1238,
8,
198,
2,
65,
11,
384,
65,
11,
10402,
11,
279,
12786,
11,
264,
11,
371,
17,
11,
25012,
11,
317,
2149,
11,
347,
2149,
796,
698,
259,
2301,
7,
88,
11,
87,
8,
198
] | 2.101404 | 641 |
using BCTRNN
using DiffEqSensitivity
using OrdinaryDiffEq
import DiffEqFlux: FastChain, FastDense
import Flux: ClipValue, ADAM
# Not in Project.toml
using Plots
gr()
include("half_cheetah_data_loader.jl")
function train_cheetah(epochs, solver=nothing; sensealg=nothing,
T=Float32, model_size=5, batchsize=1, seq_len=32, normalise=true,
kwargs...)
train_dl, test_dl, _, _ = get_2d_dl(T; batchsize, seq_len, normalise=true)
@show size(first(train_dl)[1])
@show size(first(train_dl)[1][1])
f_in = 17
f_out = 17
n_neurons = model_size
n_sens = n_neurons
n_out = n_neurons
model = FastChain(BCTRNN.Mapper(f_in),
BCTRNN.LTC(f_in, n_neurons, solver, sensealg; n_sens, n_out),
FastDense(n_out, f_out))
cb = BCTRNN.MyCallback(T; ecb=mycb, nepochs=epochs, nsamples=length(train_dl))
#opt = GalacticOptim.Flux.Optimiser(ClipValue(0.5), ADAM(0.02))
opt = BCTRNN.ClampBoundOptim(BCTRNN.get_bounds(model,T)..., ClipValue(T(0.8)), ADAM(T(0.005)))
BCTRNN.optimize(model, BCTRNN.loss_seq, cb, opt, train_dl, epochs, T), model
end
#1173.351351 seconds (1.02 G allocations: 65.414 GiB, 1.82% gc time, 0.51% compilation time)
train_cheetah(30, Tsit5(); sensealg=InterpolatingAdjoint(autojacvec=ReverseDiffVJP(true)), model_size=8, batchsize=10, abstol=1e-4, reltol=1e-3
)
train_cheetah(30, AutoTsit5(Rosenbrock23(autodiff=false)); sensealg=InterpolatingAdjoint(autojacvec=ReverseDiffVJP(true)), model_size=6, batchsize=10, abstol=1e-4, reltol=1e-3
) | [
3500,
347,
4177,
49,
6144,
198,
3500,
10631,
36,
80,
50,
40545,
198,
3500,
14230,
3219,
28813,
36,
80,
198,
11748,
10631,
36,
80,
37,
22564,
25,
12549,
35491,
11,
12549,
35,
1072,
198,
11748,
1610,
2821,
25,
42512,
11395,
11,
5984,
2390,
198,
198,
2,
1892,
287,
4935,
13,
39532,
75,
198,
3500,
1345,
1747,
198,
2164,
3419,
198,
198,
17256,
7203,
13959,
62,
2395,
316,
993,
62,
7890,
62,
29356,
13,
20362,
4943,
198,
198,
8818,
4512,
62,
2395,
316,
993,
7,
538,
5374,
82,
11,
1540,
332,
28,
22366,
26,
2565,
14016,
28,
22366,
11,
198,
220,
309,
28,
43879,
2624,
11,
2746,
62,
7857,
28,
20,
11,
15458,
7857,
28,
16,
11,
33756,
62,
11925,
28,
2624,
11,
3487,
786,
28,
7942,
11,
198,
220,
479,
86,
22046,
23029,
628,
220,
4512,
62,
25404,
11,
1332,
62,
25404,
11,
4808,
11,
4808,
796,
651,
62,
17,
67,
62,
25404,
7,
51,
26,
15458,
7857,
11,
33756,
62,
11925,
11,
3487,
786,
28,
7942,
8,
198,
220,
2488,
12860,
2546,
7,
11085,
7,
27432,
62,
25404,
38381,
16,
12962,
198,
220,
2488,
12860,
2546,
7,
11085,
7,
27432,
62,
25404,
38381,
16,
7131,
16,
12962,
198,
220,
220,
198,
220,
277,
62,
259,
796,
1596,
198,
220,
277,
62,
448,
796,
1596,
198,
220,
299,
62,
710,
333,
684,
796,
2746,
62,
7857,
198,
220,
299,
62,
82,
641,
796,
299,
62,
710,
333,
684,
198,
220,
299,
62,
448,
796,
299,
62,
710,
333,
684,
628,
220,
2746,
796,
12549,
35491,
7,
2749,
5446,
6144,
13,
44,
11463,
7,
69,
62,
259,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
347,
4177,
49,
6144,
13,
43,
4825,
7,
69,
62,
259,
11,
299,
62,
710,
333,
684,
11,
1540,
332,
11,
2565,
14016,
26,
299,
62,
82,
641,
11,
299,
62,
448,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12549,
35,
1072,
7,
77,
62,
448,
11,
277,
62,
448,
4008,
628,
220,
269,
65,
796,
347,
4177,
49,
6144,
13,
3666,
47258,
7,
51,
26,
9940,
65,
28,
1820,
21101,
11,
25919,
5374,
82,
28,
538,
5374,
82,
11,
36545,
12629,
28,
13664,
7,
27432,
62,
25404,
4008,
198,
220,
1303,
8738,
796,
23509,
27871,
320,
13,
37,
22564,
13,
27871,
320,
5847,
7,
2601,
541,
11395,
7,
15,
13,
20,
828,
5984,
2390,
7,
15,
13,
2999,
4008,
198,
220,
2172,
796,
347,
4177,
49,
6144,
13,
2601,
696,
49646,
27871,
320,
7,
2749,
5446,
6144,
13,
1136,
62,
65,
3733,
7,
19849,
11,
51,
26513,
11,
42512,
11395,
7,
51,
7,
15,
13,
23,
36911,
5984,
2390,
7,
51,
7,
15,
13,
22544,
22305,
198,
220,
347,
4177,
49,
6144,
13,
40085,
1096,
7,
19849,
11,
347,
4177,
49,
6144,
13,
22462,
62,
41068,
11,
269,
65,
11,
2172,
11,
4512,
62,
25404,
11,
36835,
82,
11,
309,
828,
2746,
198,
437,
198,
2,
1157,
4790,
13,
2327,
1485,
4349,
4201,
357,
16,
13,
2999,
402,
49157,
25,
6135,
13,
37309,
8118,
33,
11,
352,
13,
6469,
4,
308,
66,
640,
11,
657,
13,
4349,
4,
23340,
640,
8,
198,
27432,
62,
2395,
316,
993,
7,
1270,
11,
13146,
270,
20,
9783,
2565,
14016,
28,
9492,
16104,
803,
2782,
73,
1563,
7,
2306,
13210,
330,
35138,
28,
49,
964,
325,
28813,
53,
12889,
7,
7942,
36911,
2746,
62,
7857,
28,
23,
11,
15458,
7857,
28,
940,
11,
16552,
349,
28,
16,
68,
12,
19,
11,
823,
83,
349,
28,
16,
68,
12,
18,
198,
8,
198,
27432,
62,
2395,
316,
993,
7,
1270,
11,
11160,
33758,
270,
20,
7,
49,
5233,
7957,
694,
1954,
7,
2306,
375,
733,
28,
9562,
18125,
2565,
14016,
28,
9492,
16104,
803,
2782,
73,
1563,
7,
2306,
13210,
330,
35138,
28,
49,
964,
325,
28813,
53,
12889,
7,
7942,
36911,
2746,
62,
7857,
28,
21,
11,
15458,
7857,
28,
940,
11,
16552,
349,
28,
16,
68,
12,
19,
11,
823,
83,
349,
28,
16,
68,
12,
18,
198,
8
] | 2.19186 | 688 |
# build the lookup
code = [0, 1, 2, 3, 4]
using Base.Iterators
code4 = product(code, code, code, code)
using DataFrames
function makeu(code4)
c = [code4...]
d = Dict{Int, Int}()
upto = 1
for i in 1:4
if c[i] == 0
## do nothing
elseif haskey(d, c[i])
c[i] = d[c[i]]
else
d[c[i]] = upto
c[i] = upto
upto += 1
end
end
c
end
ucode4 = collect([makeu(c) for c in code4]) |> unique
res = [move!([ucode4...]) for ucode4 in ucode4]
a = mapreduce(x->transpose([x...]), vcat, ucode4)
b = mapreduce(x->transpose([x...]), vcat, res)
using CSV, DataFrames
df = DataFrame()
for (i, c) in enumerate(eachcol(hcat(a,b)))
df[!, Symbol("ok"*string(i))] = c
end
df
CSV.write("d:/data/ok.csv", df)
| [
2,
1382,
262,
35847,
201,
198,
8189,
796,
685,
15,
11,
352,
11,
362,
11,
513,
11,
604,
60,
201,
198,
201,
198,
3500,
7308,
13,
29993,
2024,
201,
198,
201,
198,
8189,
19,
796,
1720,
7,
8189,
11,
2438,
11,
2438,
11,
2438,
8,
201,
198,
201,
198,
3500,
6060,
35439,
201,
198,
201,
198,
8818,
787,
84,
7,
8189,
19,
8,
201,
198,
197,
66,
796,
685,
8189,
19,
22345,
201,
198,
197,
67,
796,
360,
713,
90,
5317,
11,
2558,
92,
3419,
201,
198,
197,
37623,
78,
796,
352,
201,
198,
197,
1640,
1312,
287,
352,
25,
19,
201,
198,
197,
197,
361,
269,
58,
72,
60,
6624,
657,
201,
198,
197,
197,
197,
2235,
466,
2147,
201,
198,
197,
197,
17772,
361,
468,
2539,
7,
67,
11,
269,
58,
72,
12962,
201,
198,
197,
197,
197,
66,
58,
72,
60,
796,
288,
58,
66,
58,
72,
11907,
201,
198,
197,
197,
17772,
201,
198,
197,
197,
197,
67,
58,
66,
58,
72,
11907,
796,
18529,
78,
201,
198,
197,
197,
197,
66,
58,
72,
60,
796,
18529,
78,
201,
198,
197,
197,
197,
37623,
78,
15853,
352,
201,
198,
197,
197,
437,
201,
198,
197,
437,
201,
198,
197,
66,
201,
198,
437,
201,
198,
201,
198,
1229,
1098,
19,
796,
2824,
26933,
15883,
84,
7,
66,
8,
329,
269,
287,
2438,
19,
12962,
930,
29,
3748,
201,
198,
201,
198,
411,
796,
685,
21084,
0,
26933,
1229,
1098,
19,
986,
12962,
329,
334,
8189,
19,
287,
334,
8189,
19,
60,
201,
198,
201,
198,
64,
796,
3975,
445,
7234,
7,
87,
3784,
7645,
3455,
26933,
87,
22345,
828,
410,
9246,
11,
334,
8189,
19,
8,
201,
198,
65,
796,
3975,
445,
7234,
7,
87,
3784,
7645,
3455,
26933,
87,
22345,
828,
410,
9246,
11,
581,
8,
201,
198,
201,
198,
3500,
44189,
11,
6060,
35439,
201,
198,
7568,
796,
6060,
19778,
3419,
201,
198,
1640,
357,
72,
11,
269,
8,
287,
27056,
378,
7,
27379,
4033,
7,
71,
9246,
7,
64,
11,
65,
22305,
201,
198,
197,
7568,
58,
28265,
38357,
7203,
482,
1,
9,
8841,
7,
72,
4008,
60,
796,
269,
201,
198,
437,
201,
198,
7568,
201,
198,
7902,
53,
13,
13564,
7203,
67,
14079,
7890,
14,
482,
13,
40664,
1600,
47764,
8,
201,
198
] | 1.97644 | 382 |
# Reduction functions related to statistics
###################
#
# Varm & Stdm
#
###################
# varm
function varm(x::ContiguousRealArray, mu::Real)
!isempty(x) || error("varm: empty array is not allowed.")
n = length(x)
@inbounds s2 = abs2(x[1] - mu)
for i = 2:n
@inbounds s2 += abs2(x[i] - mu)
end
s2 / (n - 1)
end
function _varm_eachcol!{R<:Real}(m::Int, n::Int, dst::ContiguousArray{R}, x, mu)
c = inv(m - 1)
o = 0
for j = 1:n
s2 = zero(R)
@inbounds mu_j = mu[j]
for i = 1:m
@inbounds s2 += abs2(x[o + i] - mu_j)
end
@inbounds dst[j] = s2 * c
o += m
end
end
function _varm_eachrow!(m::Int, n::Int, dst::ContiguousRealArray, x, mu)
o::Int = 0
for i = 1:m
@inbounds dst[i] = abs2(x[o + i] - mu[i])
end
o += m
for j = 2:n-1
for i = 1:m
@inbounds dst[i] += abs2(x[o + i] - mu[i])
end
o += m
end
c = inv(n - 1)
for i = 1:m
@inbounds v = dst[i] + abs2(x[o + i] - mu[i])
dst[i] = v * c
end
end
function varm!(dst::ContiguousRealArray, x::ContiguousRealArray, mu::ContiguousRealArray, dim::Int)
!isempty(x) || error("varm!: empty array is not allowed.")
nd = ndims(x)
1 <= dim <= nd || error("varm: invalid value of dim.")
shp = size(x)
rlen = prod(Base.reduced_dims(shp, dim))
length(dst) == length(mu) == rlen || error("Inconsistent argument dimensions.")
if dim == 1
m = shp[1]
n = succ_length(shp, dim)
_varm_eachcol!(m, n, dst, x, mu)
else
m = prec_length(shp, dim)
n = shp[dim]
k = succ_length(shp, dim)
_varm_eachrow!(m, n, dst, x, mu)
if k > 1
mn = m * n
ro = m
ao = mn
for l = 2 : k
_varm_eachrow!(m, n,
offset_view(dst, ro, m), offset_view(x, ao, m, n),
offset_view(mu, ro, m))
ro += m
ao += mn
end
end
end
dst
end
function varm(x::ContiguousRealArray, mu::ContiguousRealArray, dim::Int)
rsiz = Base.reduced_dims(size(x), dim)
length(mu) == prod(rsiz) || error("Inconsistent argument dimensions.")
R = fptype(promote_type(eltype(x), eltype(mu)))
varm!(Array(R, rsiz), x, mu, dim)
end
# stdm
stdm(x::ContiguousRealArray, mu::Real) = sqrt(varm(x, mu))
stdm(x::ContiguousRealArray, mu::ContiguousArray, dim::Int) = sqrt!(varm(x, mu, dim))
function stdm!(dst::ContiguousRealArray, x::ContiguousRealArray, mu::ContiguousRealArray, dim::Int)
sqrt!(varm!(dst, x, mu, dim))
end
###################
#
# Var & Std
#
###################
var(x::ContiguousRealArray) = varm(x, mean(x))
function var!(dst::ContiguousRealArray, x::ContiguousRealArray, dim::Int)
!isempty(dst) || error("var: empty array is not allowed.")
nd = ndims(x)
1 <= dim <= nd || error("var: invalid value of dim.")
shp = size(x)
if dim == 1
m = shp[1]
n = succ_length(shp, 1)
ao = 0
for j in 1 : n
dst[j] = var(offset_view(x, ao, m))
ao += m
end
else
varm!(dst, x, mean(x, dim), dim)
end
dst
end
function var(x::ContiguousRealArray, dim::Int)
var!(Array(fptype(eltype(x)), Base.reduced_dims(size(x), dim)), x, dim)
end
# std
std(x::ContiguousRealArray) = sqrt(var(x))
std(x::ContiguousRealArray, dim::Int) = sqrt!(var(x, dim))
std!(dst::ContiguousRealArray, x::ContiguousRealArray, dim::Int) = sqrt!(var!(dst, x, dim))
###################
#
# LogFunsumexp
#
###################
function logsumexp(x::ContiguousRealArray)
!isempty(x) || error("logsumexp: empty array not allowed.")
u = maximum(x)
log(sumfdiff(ExpFun(), x, u)) + u
end
function _logsumexp_eachcol!(m::Int, n::Int, dst::ContiguousRealArray, x::ContiguousRealArray)
o = 0
for j in 1 : n
# compute max
u = x[o + 1]
for i in 2 : m
@inbounds xi = x[o + i]
if xi > u
u = xi
end
end
# sum exp
@inbounds s = exp(x[o + 1] - u)
for i in 2 : m
@inbounds s += exp(x[o + i] - u)
end
# compute log
dst[j] = log(s) + u
o += m
end
end
function _logsumexp_eachrow!(m::Int, n::Int, dst::ContiguousRealArray,
u::ContiguousRealArray, x::ContiguousRealArray)
# compute max
for i in 1 : m
@inbounds u[i] = x[i]
end
o = m
for j in 2 : n
for i in 1 : m
@inbounds ui = u[i]
@inbounds xi = x[o+i]
if xi > ui
@inbounds u[i] = xi
end
end
o += m
end
# sum exp
for i in 1 : m
@inbounds dst[i] = exp(x[i] - u[i])
end
o = m
for j in 2 : n
for i in 1 : m
@inbounds dst[i] += exp(x[o + i] - u[i])
end
o += m
end
# compute log
for i in 1 : m
@inbounds dst[i] = log(dst[i]) + u[i]
end
end
function logsumexp!{R<:Real,T<:Real}(dst::ContiguousArray{R}, x::ContiguousRealArray{T}, dim::Int)
!isempty(x) || error("logsumexp!: empty array not allowed.")
nd = ndims(x)
1 <= dim <= nd || error("logsumexp!: invalid value of dim.")
shp = size(x)
if dim == 1
m = shp[1]
n = succ_length(shp, dim)
_logsumexp_eachcol!(m, n, dst, x)
else
m = prec_length(shp, dim)
n = shp[dim]
k = succ_length(shp, dim)
u = Array(T, m)
_logsumexp_eachrow!(m, n, dst, u, x)
if k > 1
mn = m * n
ro = m
ao = mn
for l = 2 : k
_logsumexp_eachrow!(m, n, offset_view(dst, ro, m), u, offset_view(x, ao, m, n))
ro += m
ao += mn
end
end
end
dst
end
function logsumexp{T<:Real}(x::ContiguousArray{T}, dim::Int)
logsumexp!(Array(fptype(T), Base.reduced_dims(size(x), dim)), x, dim)
end
###################
#
# Softmax
#
###################
function softmax!(dst::ContiguousRealArray, x::ContiguousRealArray)
!isempty(x) || error("softmax!: empty array is not allowed.")
n = length(x)
length(dst) == n || error("Inconsistent argument dimensions.")
u = maximum(x)
@inbounds s = dst[1] = exp(x[1] - u)
for i in 2 : n
@inbounds s += (dst[i] = exp(x[i] - u))
end
c = inv(s)
for i in 1 : n
@inbounds dst[i] *= c
end
dst
end
softmax(x::ContiguousArray) = softmax!(Array(fptype(eltype(x)), size(x)), x)
function _softmax_eachcol!(m::Int, n::Int, dst::ContiguousRealArray, x::ContiguousRealArray)
o = 0
for j in 1 : n
softmax!(offset_view(dst, o, m), offset_view(x, o, m))
o += m
end
end
function _softmax_eachrow!(m::Int, n::Int, dst::ContiguousRealArray, u::ContiguousRealArray, x::ContiguousRealArray)
# compute max
for i in 1 : m
@inbounds u[i] = x[i]
end
o = m
for j in 2 : n
for i in 1 : m
@inbounds ui = u[i]
@inbounds xi = x[o + i]
if xi > ui
@inbounds u[i] = xi
end
end
o += m
end
# compute sum
s = view(u, m+1:2*m)
for i in 1 : m
@inbounds s[i] = dst[i] = exp(x[i] - u[i])
end
o = m
for j in 2 : n
for i in 1 : m
@inbounds s[i] += (dst[o + i] = exp(x[o + i] - u[i]))
end
o += m
end
rcp!(s)
o = 0
for j in 1 : n
for i in 1 : m
@inbounds dst[o + i] .*= s[i]
end
o += m
end
end
function softmax!{T<:Real}(dst::ContiguousRealArray, x::ContiguousArray{T}, dim::Int)
!isempty(x) || error("softmax!: empty array is not allowed.")
nd = ndims(x)
1 <= dim <= nd || error("softmax!: invalid value for the dim argument.")
shp = size(x)
if dim == 1
m = shp[1]
n = succ_length(shp, dim)
_softmax_eachcol!(m, n, dst, x)
else
m = prec_length(shp, dim)
n = shp[dim]
k = succ_length(shp, dim)
u = Array(fptype(T), 2*m)
_softmax_eachrow!(m, n, dst, u, x)
if k > 1
mn = m * n
o = mn
for l = 2 : k
_softmax_eachrow!(m, n, offset_view(dst, o, m, n), u, offset_view(x, o, m, n))
o += mn
end
end
end
dst
end
softmax(x::ContiguousRealArray, dim::Int) = softmax!(Array(fptype(eltype(x)), size(x)), x, dim)
| [
2,
33396,
5499,
3519,
284,
7869,
628,
198,
14468,
21017,
198,
2,
198,
2,
220,
569,
1670,
1222,
520,
36020,
198,
2,
198,
14468,
21017,
198,
198,
2,
1401,
76,
198,
198,
8818,
1401,
76,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
15633,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
85,
1670,
25,
6565,
7177,
318,
407,
3142,
19570,
198,
220,
220,
220,
299,
796,
4129,
7,
87,
8,
628,
220,
220,
220,
2488,
259,
65,
3733,
264,
17,
796,
2352,
17,
7,
87,
58,
16,
60,
532,
38779,
8,
198,
220,
220,
220,
329,
1312,
796,
362,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
17,
15853,
2352,
17,
7,
87,
58,
72,
60,
532,
38779,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
264,
17,
1220,
357,
77,
532,
352,
8,
198,
437,
198,
198,
8818,
4808,
85,
1670,
62,
27379,
4033,
0,
90,
49,
27,
25,
15633,
92,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
19182,
90,
49,
5512,
2124,
11,
38779,
8,
198,
220,
220,
220,
269,
796,
800,
7,
76,
532,
352,
8,
198,
220,
220,
220,
267,
796,
657,
198,
220,
220,
220,
329,
474,
796,
352,
25,
77,
198,
220,
220,
220,
220,
220,
220,
220,
264,
17,
796,
6632,
7,
49,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
38779,
62,
73,
796,
38779,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
76,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
17,
15853,
2352,
17,
7,
87,
58,
78,
1343,
1312,
60,
532,
38779,
62,
73,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
73,
60,
796,
264,
17,
1635,
269,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
220,
198,
437,
198,
198,
8818,
4808,
85,
1670,
62,
27379,
808,
0,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
15633,
19182,
11,
2124,
11,
38779,
8,
198,
220,
220,
220,
267,
3712,
5317,
796,
657,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
76,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
796,
2352,
17,
7,
87,
58,
78,
1343,
1312,
60,
532,
38779,
58,
72,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
329,
474,
796,
362,
25,
77,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
796,
352,
25,
76,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
15853,
2352,
17,
7,
87,
58,
78,
1343,
1312,
60,
532,
38779,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
220,
198,
220,
220,
220,
269,
796,
800,
7,
77,
532,
352,
8,
198,
220,
220,
220,
329,
1312,
796,
352,
25,
76,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
410,
796,
29636,
58,
72,
60,
1343,
2352,
17,
7,
87,
58,
78,
1343,
1312,
60,
532,
38779,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
29636,
58,
72,
60,
796,
410,
1635,
269,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
1401,
76,
0,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
85,
1670,
48725,
6565,
7177,
318,
407,
3142,
19570,
628,
220,
220,
220,
299,
67,
796,
299,
67,
12078,
7,
87,
8,
198,
220,
220,
220,
352,
19841,
5391,
19841,
299,
67,
8614,
4049,
7203,
85,
1670,
25,
12515,
1988,
286,
5391,
19570,
628,
220,
220,
220,
427,
79,
796,
2546,
7,
87,
8,
198,
220,
220,
220,
374,
11925,
796,
40426,
7,
14881,
13,
445,
19513,
62,
67,
12078,
7,
1477,
79,
11,
5391,
4008,
198,
220,
220,
220,
4129,
7,
67,
301,
8,
6624,
4129,
7,
30300,
8,
6624,
374,
11925,
8614,
4049,
7203,
818,
5936,
7609,
4578,
15225,
19570,
628,
220,
220,
220,
611,
5391,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
427,
79,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
85,
1670,
62,
27379,
4033,
0,
7,
76,
11,
299,
11,
29636,
11,
2124,
11,
38779,
8,
628,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
3718,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
427,
79,
58,
27740,
60,
198,
220,
220,
220,
220,
220,
220,
220,
479,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
85,
1670,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
29636,
11,
2124,
11,
38779,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
77,
796,
285,
1635,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
686,
796,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
78,
796,
285,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
796,
362,
1058,
479,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
85,
1670,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11677,
62,
1177,
7,
67,
301,
11,
686,
11,
285,
828,
11677,
62,
1177,
7,
87,
11,
257,
78,
11,
285,
11,
299,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11677,
62,
1177,
7,
30300,
11,
686,
11,
285,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
686,
15853,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
78,
15853,
285,
77,
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,
29636,
198,
437,
198,
198,
8818,
1401,
76,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
198,
220,
220,
220,
44608,
528,
796,
7308,
13,
445,
19513,
62,
67,
12078,
7,
7857,
7,
87,
828,
5391,
8,
198,
220,
220,
220,
4129,
7,
30300,
8,
6624,
40426,
7,
3808,
528,
8,
8614,
4049,
7203,
818,
5936,
7609,
4578,
15225,
19570,
198,
220,
220,
220,
371,
796,
277,
457,
2981,
7,
16963,
1258,
62,
4906,
7,
417,
4906,
7,
87,
828,
1288,
4906,
7,
30300,
22305,
198,
220,
220,
220,
1401,
76,
0,
7,
19182,
7,
49,
11,
44608,
528,
828,
2124,
11,
38779,
11,
5391,
8,
198,
437,
198,
198,
2,
14367,
76,
198,
198,
19282,
76,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
15633,
8,
796,
19862,
17034,
7,
85,
1670,
7,
87,
11,
38779,
4008,
198,
19282,
76,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
4264,
29709,
19182,
11,
5391,
3712,
5317,
8,
796,
19862,
17034,
0,
7,
85,
1670,
7,
87,
11,
38779,
11,
5391,
4008,
198,
198,
8818,
14367,
76,
0,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
11,
38779,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
198,
220,
220,
220,
19862,
17034,
0,
7,
85,
1670,
0,
7,
67,
301,
11,
2124,
11,
38779,
11,
5391,
4008,
198,
437,
628,
198,
14468,
21017,
198,
2,
198,
2,
220,
12372,
1222,
520,
67,
198,
2,
198,
14468,
21017,
198,
198,
7785,
7,
87,
3712,
4264,
29709,
15633,
19182,
8,
796,
1401,
76,
7,
87,
11,
1612,
7,
87,
4008,
198,
198,
8818,
1401,
0,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
67,
301,
8,
8614,
4049,
7203,
7785,
25,
6565,
7177,
318,
407,
3142,
19570,
198,
220,
220,
220,
299,
67,
796,
299,
67,
12078,
7,
87,
8,
198,
220,
220,
220,
352,
19841,
5391,
19841,
299,
67,
8614,
4049,
7203,
7785,
25,
12515,
1988,
286,
5391,
19570,
198,
220,
220,
220,
427,
79,
796,
2546,
7,
87,
8,
628,
220,
220,
220,
611,
5391,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
427,
79,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
17458,
62,
13664,
7,
1477,
79,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
257,
78,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
352,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29636,
58,
73,
60,
796,
1401,
7,
28968,
62,
1177,
7,
87,
11,
257,
78,
11,
285,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
78,
15853,
285,
198,
220,
220,
220,
220,
220,
220,
220,
886,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1401,
76,
0,
7,
67,
301,
11,
2124,
11,
1612,
7,
87,
11,
5391,
828,
5391,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
29636,
198,
437,
198,
198,
8818,
1401,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
198,
220,
220,
220,
1401,
0,
7,
19182,
7,
69,
457,
2981,
7,
417,
4906,
7,
87,
36911,
7308,
13,
445,
19513,
62,
67,
12078,
7,
7857,
7,
87,
828,
5391,
36911,
2124,
11,
5391,
8,
198,
437,
198,
198,
2,
14367,
198,
198,
19282,
7,
87,
3712,
4264,
29709,
15633,
19182,
8,
796,
19862,
17034,
7,
7785,
7,
87,
4008,
198,
19282,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
796,
19862,
17034,
0,
7,
7785,
7,
87,
11,
5391,
4008,
198,
19282,
0,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
796,
19862,
17034,
0,
7,
7785,
0,
7,
67,
301,
11,
2124,
11,
5391,
4008,
628,
198,
14468,
21017,
198,
2,
198,
2,
220,
5972,
37,
13271,
388,
11201,
198,
2,
198,
14468,
21017,
198,
198,
8818,
2604,
16345,
11201,
7,
87,
3712,
4264,
29709,
15633,
19182,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
6404,
16345,
11201,
25,
6565,
7177,
407,
3142,
19570,
198,
220,
220,
220,
334,
796,
5415,
7,
87,
8,
198,
220,
220,
220,
2604,
7,
16345,
16344,
733,
7,
16870,
24629,
22784,
2124,
11,
334,
4008,
1343,
334,
198,
437,
198,
198,
8818,
4808,
6404,
16345,
11201,
62,
27379,
4033,
0,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
8,
198,
220,
220,
220,
267,
796,
657,
198,
220,
220,
220,
329,
474,
287,
352,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24061,
3509,
198,
220,
220,
220,
220,
220,
220,
220,
334,
796,
2124,
58,
78,
1343,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2124,
72,
796,
2124,
58,
78,
1343,
1312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
72,
1875,
334,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
796,
2124,
72,
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,
2160,
1033,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
796,
1033,
7,
87,
58,
78,
1343,
352,
60,
532,
334,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
362,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
15853,
1033,
7,
87,
58,
78,
1343,
1312,
60,
532,
334,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
24061,
2604,
198,
220,
220,
220,
220,
220,
220,
220,
29636,
58,
73,
60,
796,
2604,
7,
82,
8,
1343,
334,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
4808,
6404,
16345,
11201,
62,
27379,
808,
0,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
15633,
19182,
11,
220,
198,
220,
220,
220,
334,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
8,
628,
220,
220,
220,
1303,
24061,
3509,
198,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
58,
72,
60,
796,
2124,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
267,
796,
285,
198,
220,
220,
220,
329,
474,
287,
362,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
72,
796,
334,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2124,
72,
796,
2124,
58,
78,
10,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
72,
1875,
334,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
58,
72,
60,
796,
2124,
72,
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,
267,
15853,
285,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
2160,
1033,
198,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
796,
1033,
7,
87,
58,
72,
60,
532,
334,
58,
72,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
267,
796,
285,
198,
220,
220,
220,
329,
474,
287,
362,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
15853,
1033,
7,
87,
58,
78,
1343,
1312,
60,
532,
334,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
24061,
2604,
198,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
796,
2604,
7,
67,
301,
58,
72,
12962,
1343,
334,
58,
72,
60,
198,
220,
220,
220,
886,
198,
437,
628,
198,
8818,
2604,
16345,
11201,
0,
90,
49,
27,
25,
15633,
11,
51,
27,
25,
15633,
92,
7,
67,
301,
3712,
4264,
29709,
19182,
90,
49,
5512,
2124,
3712,
4264,
29709,
15633,
19182,
90,
51,
5512,
5391,
3712,
5317,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
6404,
16345,
11201,
48725,
6565,
7177,
407,
3142,
19570,
198,
220,
220,
220,
299,
67,
796,
299,
67,
12078,
7,
87,
8,
198,
220,
220,
220,
352,
19841,
5391,
19841,
299,
67,
8614,
4049,
7203,
6404,
16345,
11201,
48725,
12515,
1988,
286,
5391,
19570,
198,
220,
220,
220,
427,
79,
796,
2546,
7,
87,
8,
628,
220,
220,
220,
611,
5391,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
427,
79,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
6404,
16345,
11201,
62,
27379,
4033,
0,
7,
76,
11,
299,
11,
29636,
11,
2124,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
3718,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
427,
79,
58,
27740,
60,
198,
220,
220,
220,
220,
220,
220,
220,
479,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
628,
220,
220,
220,
220,
220,
220,
220,
334,
796,
15690,
7,
51,
11,
285,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
6404,
16345,
11201,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
29636,
11,
334,
11,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
77,
796,
285,
1635,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
686,
796,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
78,
796,
285,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
796,
362,
1058,
479,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
6404,
16345,
11201,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
11677,
62,
1177,
7,
67,
301,
11,
686,
11,
285,
828,
334,
11,
11677,
62,
1177,
7,
87,
11,
257,
78,
11,
285,
11,
299,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
686,
15853,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
78,
15853,
285,
77,
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,
29636,
198,
437,
198,
198,
8818,
2604,
16345,
11201,
90,
51,
27,
25,
15633,
92,
7,
87,
3712,
4264,
29709,
19182,
90,
51,
5512,
5391,
3712,
5317,
8,
198,
220,
220,
220,
2604,
16345,
11201,
0,
7,
19182,
7,
69,
457,
2981,
7,
51,
828,
7308,
13,
445,
19513,
62,
67,
12078,
7,
7857,
7,
87,
828,
5391,
36911,
2124,
11,
5391,
8,
198,
437,
628,
198,
14468,
21017,
198,
2,
198,
2,
220,
8297,
9806,
198,
2,
198,
14468,
21017,
198,
198,
8818,
2705,
9806,
0,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
4215,
9806,
48725,
6565,
7177,
318,
407,
3142,
19570,
198,
220,
220,
220,
299,
796,
4129,
7,
87,
8,
198,
220,
220,
220,
4129,
7,
67,
301,
8,
6624,
299,
8614,
4049,
7203,
818,
5936,
7609,
4578,
15225,
19570,
628,
220,
220,
220,
334,
796,
5415,
7,
87,
8,
198,
220,
220,
220,
2488,
259,
65,
3733,
264,
796,
29636,
58,
16,
60,
796,
1033,
7,
87,
58,
16,
60,
532,
334,
8,
198,
220,
220,
220,
329,
1312,
287,
362,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
15853,
357,
67,
301,
58,
72,
60,
796,
1033,
7,
87,
58,
72,
60,
532,
334,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
269,
796,
800,
7,
82,
8,
198,
220,
220,
220,
329,
1312,
287,
352,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
72,
60,
1635,
28,
269,
198,
220,
220,
220,
886,
198,
220,
220,
220,
29636,
198,
437,
198,
198,
4215,
9806,
7,
87,
3712,
4264,
29709,
19182,
8,
796,
2705,
9806,
0,
7,
19182,
7,
69,
457,
2981,
7,
417,
4906,
7,
87,
36911,
2546,
7,
87,
36911,
2124,
8,
628,
198,
8818,
4808,
4215,
9806,
62,
27379,
4033,
0,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
8,
198,
220,
220,
220,
267,
796,
657,
198,
220,
220,
220,
329,
474,
287,
352,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
2705,
9806,
0,
7,
28968,
62,
1177,
7,
67,
301,
11,
267,
11,
285,
828,
11677,
62,
1177,
7,
87,
11,
267,
11,
285,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
4808,
4215,
9806,
62,
27379,
808,
0,
7,
76,
3712,
5317,
11,
299,
3712,
5317,
11,
29636,
3712,
4264,
29709,
15633,
19182,
11,
334,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
15633,
19182,
8,
628,
220,
220,
220,
1303,
24061,
3509,
198,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
58,
72,
60,
796,
2124,
58,
72,
60,
198,
220,
220,
220,
886,
198,
220,
220,
220,
267,
796,
285,
198,
220,
220,
220,
329,
474,
287,
362,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
72,
796,
334,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
2124,
72,
796,
2124,
58,
78,
1343,
1312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
72,
1875,
334,
72,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
334,
58,
72,
60,
796,
2124,
72,
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,
267,
15853,
285,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
24061,
2160,
198,
220,
220,
220,
264,
796,
1570,
7,
84,
11,
285,
10,
16,
25,
17,
9,
76,
8,
628,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
58,
72,
60,
796,
29636,
58,
72,
60,
796,
1033,
7,
87,
58,
72,
60,
532,
334,
58,
72,
12962,
198,
220,
220,
220,
886,
198,
220,
220,
220,
267,
796,
285,
628,
220,
220,
220,
329,
474,
287,
362,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
264,
58,
72,
60,
15853,
357,
67,
301,
58,
78,
1343,
1312,
60,
796,
1033,
7,
87,
58,
78,
1343,
1312,
60,
532,
334,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
628,
220,
220,
220,
374,
13155,
0,
7,
82,
8,
198,
220,
220,
220,
267,
796,
657,
198,
220,
220,
220,
329,
474,
287,
352,
1058,
299,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
352,
1058,
285,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
259,
65,
3733,
29636,
58,
78,
1343,
1312,
60,
764,
9,
28,
264,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
2705,
9806,
0,
90,
51,
27,
25,
15633,
92,
7,
67,
301,
3712,
4264,
29709,
15633,
19182,
11,
2124,
3712,
4264,
29709,
19182,
90,
51,
5512,
5391,
3712,
5317,
8,
198,
220,
220,
220,
5145,
271,
28920,
7,
87,
8,
8614,
4049,
7203,
4215,
9806,
48725,
6565,
7177,
318,
407,
3142,
19570,
198,
220,
220,
220,
299,
67,
796,
299,
67,
12078,
7,
87,
8,
198,
220,
220,
220,
352,
19841,
5391,
19841,
299,
67,
8614,
4049,
7203,
4215,
9806,
48725,
12515,
1988,
329,
262,
5391,
4578,
19570,
198,
220,
220,
220,
427,
79,
796,
2546,
7,
87,
8,
628,
220,
220,
220,
611,
5391,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
427,
79,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
4215,
9806,
62,
27379,
4033,
0,
7,
76,
11,
299,
11,
29636,
11,
2124,
8,
628,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
3718,
62,
13664,
7,
1477,
79,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
796,
427,
79,
58,
27740,
60,
198,
220,
220,
220,
220,
220,
220,
220,
479,
796,
17458,
62,
13664,
7,
1477,
79,
11,
5391,
8,
628,
220,
220,
220,
220,
220,
220,
220,
334,
796,
15690,
7,
69,
457,
2981,
7,
51,
828,
362,
9,
76,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
4215,
9806,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
29636,
11,
334,
11,
2124,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
77,
796,
285,
1635,
299,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
796,
285,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
796,
362,
1058,
479,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
4215,
9806,
62,
27379,
808,
0,
7,
76,
11,
299,
11,
11677,
62,
1177,
7,
67,
301,
11,
267,
11,
285,
11,
299,
828,
334,
11,
11677,
62,
1177,
7,
87,
11,
267,
11,
285,
11,
299,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
15853,
285,
77,
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,
29636,
220,
198,
437,
198,
198,
4215,
9806,
7,
87,
3712,
4264,
29709,
15633,
19182,
11,
5391,
3712,
5317,
8,
796,
2705,
9806,
0,
7,
19182,
7,
69,
457,
2981,
7,
417,
4906,
7,
87,
36911,
2546,
7,
87,
36911,
2124,
11,
5391,
8,
628
] | 1.882212 | 4,593 |
compute(n::Int, k::Int)::Float64 = round(7(1 - prod(1 .- k ./ (6n ÷ 7 + 1:n))), digits=9) | [
5589,
1133,
7,
77,
3712,
5317,
11,
479,
3712,
5317,
2599,
25,
43879,
2414,
796,
2835,
7,
22,
7,
16,
532,
40426,
7,
16,
764,
12,
479,
24457,
357,
21,
77,
6184,
115,
767,
1343,
352,
25,
77,
4008,
828,
19561,
28,
24,
8
] | 2.022727 | 44 |
using TrussMorph
tm = TrussMorph
import JSON
using Dates
using Printf
function parse_truss_json(file_path::String; parse_morph=false)
data = Dict()
open(file_path, "r") do f
data_txt = read(f, String)
data = JSON.parse(data_txt)
end
dim = data["dimension"]
n_nodes = data["node_num"]
n_elements = data["element_num"]
# get material properties
# pressure: kN/cm^2 -> kN/m^2
# density: kN/m^3
mp = tm.MaterialProperties(data["material_properties"]["material_name"],
data["material_properties"]["youngs_modulus"] * 1e4,
data["material_properties"]["shear_modulus"] * 1e4,
data["material_properties"]["poisson_ratio"],
data["material_properties"]["density"])
X = Matrix{Float64}(undef, n_nodes,2)
T = Matrix{Int}(undef, n_elements,2)
fix_node_ids = []
# get node coord
for i=1:n_nodes
X[i,:] = hcat(data["node_list"][i]["point"]["X"],
data["node_list"][i]["point"]["Y"])
# data["node_list"][i]["point"]["Z"])
if 1 == data["node_list"][i]["is_grounded"]
push!(fix_node_ids, i)
end
end
# get fixities
fix_dof = [1,2,6]
if 2 != dim
fix_dof = 1:1:6
end
S = Matrix{Int}(undef, length(fix_node_ids),length(fix_dof)+1)
for i=1:length(fix_node_ids)
S[i,1] = fix_node_ids[i]
S[i,2:end] = data["node_list"][fix_node_ids[i]]["fixities"][fix_dof]'
end
# get element node ids
for i=1:n_elements
T[i,:] = (data["element_list"][i]["end_node_ids"] .+ 1)'
end
morph_data = Dict()
if parse_morph
morph_data = data["morph_data"]
# @show morph_data
end
return Truss(X, T, S, mp), morph_data
end
function parse_load_json(file_path::String, node_dof::Int)
data = Dict()
open(file_path, "r") do f
data_txt = read(f, String)
data = JSON.parse(data_txt)
end
dim = data["dimension"]
n_load_nodes = length(data["point_load_list"])
@assert(dim == 2)
Load = zeros(n_load_nodes, 1+node_dof)
for i=1:n_load_nodes
Load[i,1] = data["point_load_list"][i]["applied_node_id"] + 1
if 2 == dim
Load[i,2] = data["point_load_list"][i]["Fx"]
Load[i,3] = data["point_load_list"][i]["Fy"]
if 3 == node_dof
Load[i,4] = data["point_load_list"][i]["Mz"]
end
end
end
@assert(n_load_nodes > 0)
return Load
# TODO: include_self_weight
end
function save_morph_path_json(morph_path::Array{Matrix{Float64}}, file_dir::String, st_file_name::String, end_file_name::String, t0::TrussMorph.Truss, sE::Vector{Float64}, wE::Vector{Float64}, totE::Vector{Float64}, sumE::Float64, parm_smooth::Float64, parm_weight::Float64)
pure_st_file_name = SubString(st_file_name, 1:length(st_file_name)-length(".json"))
pure_end_file_name = SubString(end_file_name, 1:length(end_file_name)-length(".json"))
result_file_name = pure_st_file_name * "-" * pure_end_file_name
f_file_dir = joinpath(file_dir, result_file_name)
if !ispath(f_file_dir)
mkpath(f_file_dir)
end
# same material
mp_data = Dict()
mp_data["material_name"] = t0.mp.name
mp_data["youngs_modulus"] = t0.mp.E * 1e-4
mp_data["youngs_modulus_unit"] = "kN/cm2"
mp_data["shear_modulus"] = t0.mp.G * 1e-4
mp_data["shear_modulus_unit"] = "kN/cm2"
mp_data["tensile_yeild_stress"] = "N/A"
mp_data["tensile_yeild_stress_unit"] = "kN/cm2"
mp_data["density"] = t0.mp.ρ
mp_data["density_unit"] = "kN/m3"
mp_data["poisson_ratio"] = t0.mp.μ
mp_data["radius"] = "N/A"
mp_data["radius_unit"] = "centimeter"
# same topology
topo_data = Dict[]
for e=1:size(t0.T,1)
e_data = Dict()
e_data["end_node_ids"] = t0.T[e,:]
e_data["element_id"] = e-1
e_data["layer_id"] = 0
push!(topo_data, e_data)
end
# morph data
morph_data = Dict()
morph_data["smooth_parameter"] = parm_smooth
morph_data["weight_parameter"] = parm_weight
morph_data["time_in_path"] = string(0,"/",0)
morph_data["weight_energy"] = 0.0
morph_data["smoothness_energy"] = 0.0
morph_data["tot_energy"] = 0.0
plen = length(morph_path)
for i=1:plen
data = Dict()
data["model_name"] = result_file_name * "_mp" * string(i,"-",plen)
data["model_type"]= "2D_frame"
data["unit"] = "meter"
data["generate_time"] = string(Dates.now())
data["dimension"] = size(morph_path[i],2)
i_morph_data = morph_data #deepcopy
i_morph_data["time_in_path"] = string(i,"/",plen)
i_morph_data["smoothness_energy"] = sE[i]
i_morph_data["weight_energy"] = wE[i]
i_morph_data["tot_energy"] = totE[i]
i_morph_data["sum_energy"] = sumE
data["morph_data"] = i_morph_data
data["node_num"] = size(morph_path[i],1)
data["element_num"] = size(t0.T,1)
data["material_properties"] = mp_data
data["node_list"] = Dict[]
for j=1:size(morph_path[i],1)
pt_data = Dict()
pt_data["point"] = Dict()
pt_data["point"]["X"] = morph_path[i][j,1]
pt_data["point"]["Y"] = morph_path[i][j,2]
pt_data["node_id"] = j-1
pt_fix = findall(x->x==j, t0.S[:,1])
pt_data["is_grounded"] = !isempty(pt_fix)
if !isempty(pt_fix)
@assert(length(pt_fix) == 1)
pt_data["fixities"] = ones(Int, 6)
if 2 == size(morph_path[i],1)
pt_data["fixities"][1] = t0.S[pt_fix,1]
pt_data["fixities"][2] = t0.S[pt_fix,2]
pt_data["fixities"][6] = t0.S[pt_fix,3]
end
else
pt_data["fixities"] = []
end
push!(data["node_list"], pt_data)
end
data["element_list"] = topo_data
# write
stringdata = JSON.json(data)
result_json_name = result_file_name * "_" * string(@sprintf("%03d",i),"-",plen) * ".json"
open(joinpath(f_file_dir,result_json_name), "w") do f
write(f, stringdata)
end
end
end
| [
3500,
833,
1046,
44,
13425,
198,
17209,
796,
833,
1046,
44,
13425,
198,
11748,
19449,
198,
3500,
44712,
198,
3500,
12578,
69,
198,
198,
8818,
21136,
62,
2213,
1046,
62,
17752,
7,
7753,
62,
6978,
3712,
10100,
26,
21136,
62,
24503,
28,
9562,
8,
198,
220,
220,
220,
1366,
796,
360,
713,
3419,
198,
220,
220,
220,
1280,
7,
7753,
62,
6978,
11,
366,
81,
4943,
466,
277,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
14116,
796,
1100,
7,
69,
11,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
19449,
13,
29572,
7,
7890,
62,
14116,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
5391,
796,
1366,
14692,
46156,
8973,
198,
220,
220,
220,
299,
62,
77,
4147,
796,
1366,
14692,
17440,
62,
22510,
8973,
198,
220,
220,
220,
299,
62,
68,
3639,
796,
1366,
14692,
30854,
62,
22510,
8973,
628,
220,
220,
220,
1303,
651,
2587,
6608,
198,
220,
220,
220,
1303,
3833,
25,
479,
45,
14,
11215,
61,
17,
4613,
479,
45,
14,
76,
61,
17,
198,
220,
220,
220,
1303,
12109,
25,
479,
45,
14,
76,
61,
18,
198,
220,
220,
220,
29034,
796,
256,
76,
13,
17518,
2964,
18200,
7,
7890,
14692,
33665,
62,
48310,
1,
7131,
1,
33665,
62,
3672,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
33665,
62,
48310,
1,
7131,
1,
35465,
82,
62,
4666,
23515,
8973,
1635,
352,
68,
19,
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,
1366,
14692,
33665,
62,
48310,
1,
7131,
1,
7091,
283,
62,
4666,
23515,
8973,
1635,
352,
68,
19,
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,
1366,
14692,
33665,
62,
48310,
1,
7131,
1,
7501,
30927,
62,
10366,
952,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
33665,
62,
48310,
1,
7131,
1,
43337,
8973,
8,
628,
220,
220,
220,
1395,
796,
24936,
90,
43879,
2414,
92,
7,
917,
891,
11,
299,
62,
77,
4147,
11,
17,
8,
198,
220,
220,
220,
309,
796,
24936,
90,
5317,
92,
7,
917,
891,
11,
299,
62,
68,
3639,
11,
17,
8,
198,
220,
220,
220,
4259,
62,
17440,
62,
2340,
796,
17635,
628,
220,
220,
220,
1303,
651,
10139,
6349,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
77,
62,
77,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
58,
72,
11,
47715,
796,
289,
9246,
7,
7890,
14692,
17440,
62,
4868,
1,
7131,
72,
7131,
1,
4122,
1,
7131,
1,
55,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
17440,
62,
4868,
1,
7131,
72,
7131,
1,
4122,
1,
7131,
1,
56,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1366,
14692,
17440,
62,
4868,
1,
7131,
72,
7131,
1,
4122,
1,
7131,
1,
57,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
352,
6624,
1366,
14692,
17440,
62,
4868,
1,
7131,
72,
7131,
1,
271,
62,
2833,
276,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
13049,
62,
17440,
62,
2340,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
651,
4259,
871,
198,
220,
220,
220,
4259,
62,
67,
1659,
796,
685,
16,
11,
17,
11,
21,
60,
198,
220,
220,
220,
611,
362,
14512,
5391,
198,
220,
220,
220,
220,
220,
220,
220,
4259,
62,
67,
1659,
796,
352,
25,
16,
25,
21,
198,
220,
220,
220,
886,
628,
220,
220,
220,
311,
796,
24936,
90,
5317,
92,
7,
917,
891,
11,
4129,
7,
13049,
62,
17440,
62,
2340,
828,
13664,
7,
13049,
62,
67,
1659,
47762,
16,
8,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
13664,
7,
13049,
62,
17440,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
311,
58,
72,
11,
16,
60,
796,
4259,
62,
17440,
62,
2340,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
311,
58,
72,
11,
17,
25,
437,
60,
796,
1366,
14692,
17440,
62,
4868,
1,
7131,
13049,
62,
17440,
62,
2340,
58,
72,
60,
7131,
1,
13049,
871,
1,
7131,
13049,
62,
67,
1659,
49946,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
651,
5002,
10139,
220,
2340,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
77,
62,
68,
3639,
198,
220,
220,
220,
220,
220,
220,
220,
309,
58,
72,
11,
47715,
796,
357,
7890,
14692,
30854,
62,
4868,
1,
7131,
72,
7131,
1,
437,
62,
17440,
62,
2340,
8973,
764,
10,
352,
33047,
198,
220,
220,
220,
886,
628,
220,
220,
220,
17488,
62,
7890,
796,
360,
713,
3419,
198,
220,
220,
220,
611,
21136,
62,
24503,
198,
220,
220,
220,
220,
220,
220,
220,
17488,
62,
7890,
796,
1366,
14692,
24503,
62,
7890,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2488,
12860,
17488,
62,
7890,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1441,
833,
1046,
7,
55,
11,
309,
11,
311,
11,
29034,
828,
17488,
62,
7890,
198,
437,
198,
198,
8818,
21136,
62,
2220,
62,
17752,
7,
7753,
62,
6978,
3712,
10100,
11,
10139,
62,
67,
1659,
3712,
5317,
8,
198,
220,
220,
220,
1366,
796,
360,
713,
3419,
198,
220,
220,
220,
1280,
7,
7753,
62,
6978,
11,
366,
81,
4943,
466,
277,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
14116,
796,
1100,
7,
69,
11,
10903,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
19449,
13,
29572,
7,
7890,
62,
14116,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
5391,
796,
1366,
14692,
46156,
8973,
198,
220,
220,
220,
299,
62,
2220,
62,
77,
4147,
796,
4129,
7,
7890,
14692,
4122,
62,
2220,
62,
4868,
8973,
8,
198,
220,
220,
220,
2488,
30493,
7,
27740,
6624,
362,
8,
628,
220,
220,
220,
8778,
796,
1976,
27498,
7,
77,
62,
2220,
62,
77,
4147,
11,
352,
10,
17440,
62,
67,
1659,
8,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
77,
62,
2220,
62,
77,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
8778,
58,
72,
11,
16,
60,
796,
1366,
14692,
4122,
62,
2220,
62,
4868,
1,
7131,
72,
7131,
1,
1324,
18511,
62,
17440,
62,
312,
8973,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
611,
362,
6624,
5391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8778,
58,
72,
11,
17,
60,
796,
1366,
14692,
4122,
62,
2220,
62,
4868,
1,
7131,
72,
7131,
1,
37,
87,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8778,
58,
72,
11,
18,
60,
796,
1366,
14692,
4122,
62,
2220,
62,
4868,
1,
7131,
72,
7131,
1,
37,
88,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
513,
6624,
10139,
62,
67,
1659,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8778,
58,
72,
11,
19,
60,
796,
1366,
14692,
4122,
62,
2220,
62,
4868,
1,
7131,
72,
7131,
1,
44,
89,
8973,
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,
7,
77,
62,
2220,
62,
77,
4147,
1875,
657,
8,
198,
220,
220,
220,
1441,
8778,
198,
220,
220,
220,
1303,
16926,
46,
25,
2291,
62,
944,
62,
6551,
198,
437,
198,
198,
8818,
3613,
62,
24503,
62,
6978,
62,
17752,
7,
24503,
62,
6978,
3712,
19182,
90,
46912,
90,
43879,
2414,
92,
5512,
2393,
62,
15908,
3712,
10100,
11,
336,
62,
7753,
62,
3672,
3712,
10100,
11,
886,
62,
7753,
62,
3672,
3712,
10100,
11,
256,
15,
3712,
2898,
1046,
44,
13425,
13,
2898,
1046,
11,
264,
36,
3712,
38469,
90,
43879,
2414,
5512,
266,
36,
3712,
38469,
90,
43879,
2414,
5512,
2006,
36,
3712,
38469,
90,
43879,
2414,
5512,
2160,
36,
3712,
43879,
2414,
11,
1582,
76,
62,
5796,
5226,
3712,
43879,
2414,
11,
1582,
76,
62,
6551,
3712,
43879,
2414,
8,
198,
220,
220,
220,
5899,
62,
301,
62,
7753,
62,
3672,
796,
3834,
10100,
7,
301,
62,
7753,
62,
3672,
11,
352,
25,
13664,
7,
301,
62,
7753,
62,
3672,
13219,
13664,
7,
1911,
17752,
48774,
198,
220,
220,
220,
5899,
62,
437,
62,
7753,
62,
3672,
796,
3834,
10100,
7,
437,
62,
7753,
62,
3672,
11,
352,
25,
13664,
7,
437,
62,
7753,
62,
3672,
13219,
13664,
7,
1911,
17752,
48774,
198,
220,
220,
220,
1255,
62,
7753,
62,
3672,
796,
5899,
62,
301,
62,
7753,
62,
3672,
1635,
366,
21215,
1635,
220,
5899,
62,
437,
62,
7753,
62,
3672,
198,
220,
220,
220,
277,
62,
7753,
62,
15908,
796,
4654,
6978,
7,
7753,
62,
15908,
11,
1255,
62,
7753,
62,
3672,
8,
198,
220,
220,
220,
611,
5145,
271,
6978,
7,
69,
62,
7753,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
33480,
6978,
7,
69,
62,
7753,
62,
15908,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
976,
2587,
198,
220,
220,
220,
29034,
62,
7890,
796,
360,
713,
3419,
198,
220,
220,
220,
29034,
62,
7890,
14692,
33665,
62,
3672,
8973,
796,
256,
15,
13,
3149,
13,
3672,
198,
220,
220,
220,
29034,
62,
7890,
14692,
35465,
82,
62,
4666,
23515,
8973,
796,
256,
15,
13,
3149,
13,
36,
1635,
352,
68,
12,
19,
198,
220,
220,
220,
29034,
62,
7890,
14692,
35465,
82,
62,
4666,
23515,
62,
20850,
8973,
796,
366,
74,
45,
14,
11215,
17,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
7091,
283,
62,
4666,
23515,
8973,
796,
256,
15,
13,
3149,
13,
38,
1635,
352,
68,
12,
19,
198,
220,
220,
220,
29034,
62,
7890,
14692,
7091,
283,
62,
4666,
23515,
62,
20850,
8973,
796,
366,
74,
45,
14,
11215,
17,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
83,
641,
576,
62,
5948,
688,
62,
41494,
8973,
796,
366,
45,
14,
32,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
83,
641,
576,
62,
5948,
688,
62,
41494,
62,
20850,
8973,
796,
366,
74,
45,
14,
11215,
17,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
43337,
8973,
796,
256,
15,
13,
3149,
13,
33643,
198,
220,
220,
220,
29034,
62,
7890,
14692,
43337,
62,
20850,
8973,
796,
366,
74,
45,
14,
76,
18,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
7501,
30927,
62,
10366,
952,
8973,
796,
256,
15,
13,
3149,
13,
34703,
628,
220,
220,
220,
29034,
62,
7890,
14692,
42172,
8973,
796,
366,
45,
14,
32,
1,
198,
220,
220,
220,
29034,
62,
7890,
14692,
42172,
62,
20850,
8973,
796,
366,
1087,
16912,
1,
628,
220,
220,
220,
1303,
976,
1353,
1435,
198,
220,
220,
220,
1353,
78,
62,
7890,
796,
360,
713,
21737,
198,
220,
220,
220,
329,
304,
28,
16,
25,
7857,
7,
83,
15,
13,
51,
11,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
304,
62,
7890,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
304,
62,
7890,
14692,
437,
62,
17440,
62,
2340,
8973,
796,
256,
15,
13,
51,
58,
68,
11,
47715,
198,
220,
220,
220,
220,
220,
220,
220,
304,
62,
7890,
14692,
30854,
62,
312,
8973,
796,
304,
12,
16,
198,
220,
220,
220,
220,
220,
220,
220,
304,
62,
7890,
14692,
29289,
62,
312,
8973,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
4574,
0,
7,
4852,
78,
62,
7890,
11,
304,
62,
7890,
8,
198,
220,
220,
220,
886,
628,
220,
220,
220,
1303,
17488,
1366,
198,
220,
220,
220,
17488,
62,
7890,
796,
360,
713,
3419,
198,
220,
220,
220,
17488,
62,
7890,
14692,
5796,
5226,
62,
17143,
2357,
8973,
796,
1582,
76,
62,
5796,
5226,
198,
220,
220,
220,
17488,
62,
7890,
14692,
6551,
62,
17143,
2357,
8973,
796,
1582,
76,
62,
6551,
198,
220,
220,
220,
17488,
62,
7890,
14692,
2435,
62,
259,
62,
6978,
8973,
796,
4731,
7,
15,
553,
14,
1600,
15,
8,
198,
220,
220,
220,
17488,
62,
7890,
14692,
6551,
62,
22554,
8973,
796,
657,
13,
15,
198,
220,
220,
220,
17488,
62,
7890,
14692,
5796,
5226,
1108,
62,
22554,
8973,
796,
657,
13,
15,
198,
220,
220,
220,
17488,
62,
7890,
14692,
83,
313,
62,
22554,
8973,
796,
657,
13,
15,
628,
220,
220,
220,
458,
268,
796,
4129,
7,
24503,
62,
6978,
8,
198,
220,
220,
220,
329,
1312,
28,
16,
25,
489,
268,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
19849,
62,
3672,
8973,
796,
1255,
62,
7753,
62,
3672,
1635,
45434,
3149,
1,
1635,
4731,
7,
72,
553,
12,
1600,
489,
268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
19849,
62,
4906,
8973,
28,
366,
17,
35,
62,
14535,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
20850,
8973,
796,
366,
27231,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
8612,
378,
62,
2435,
8973,
796,
4731,
7,
35,
689,
13,
2197,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
46156,
8973,
796,
2546,
7,
24503,
62,
6978,
58,
72,
4357,
17,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
796,
17488,
62,
7890,
1303,
22089,
30073,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
14692,
2435,
62,
259,
62,
6978,
8973,
796,
4731,
7,
72,
553,
14,
1600,
489,
268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
14692,
5796,
5226,
1108,
62,
22554,
8973,
796,
264,
36,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
14692,
6551,
62,
22554,
8973,
796,
266,
36,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
14692,
83,
313,
62,
22554,
8973,
796,
2006,
36,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
24503,
62,
7890,
14692,
16345,
62,
22554,
8973,
796,
2160,
36,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
24503,
62,
7890,
8973,
796,
1312,
62,
24503,
62,
7890,
628,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
17440,
62,
22510,
8973,
796,
2546,
7,
24503,
62,
6978,
58,
72,
4357,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
30854,
62,
22510,
8973,
796,
2546,
7,
83,
15,
13,
51,
11,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
33665,
62,
48310,
8973,
796,
29034,
62,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
17440,
62,
4868,
8973,
796,
360,
713,
21737,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
28,
16,
25,
7857,
7,
24503,
62,
6978,
58,
72,
4357,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
4122,
8973,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
4122,
1,
7131,
1,
55,
8973,
796,
17488,
62,
6978,
58,
72,
7131,
73,
11,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
4122,
1,
7131,
1,
56,
8973,
796,
17488,
62,
6978,
58,
72,
7131,
73,
11,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
17440,
62,
312,
8973,
796,
474,
12,
16,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
13049,
796,
1064,
439,
7,
87,
3784,
87,
855,
73,
11,
256,
15,
13,
50,
58,
45299,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
271,
62,
2833,
276,
8973,
796,
5145,
271,
28920,
7,
457,
62,
13049,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5145,
271,
28920,
7,
457,
62,
13049,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
30493,
7,
13664,
7,
457,
62,
13049,
8,
6624,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
13049,
871,
8973,
796,
3392,
7,
5317,
11,
718,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
362,
6624,
2546,
7,
24503,
62,
6978,
58,
72,
4357,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
13049,
871,
1,
7131,
16,
60,
796,
256,
15,
13,
50,
58,
457,
62,
13049,
11,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
13049,
871,
1,
7131,
17,
60,
796,
256,
15,
13,
50,
58,
457,
62,
13049,
11,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
13049,
871,
1,
7131,
21,
60,
796,
256,
15,
13,
50,
58,
457,
62,
13049,
11,
18,
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,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
62,
7890,
14692,
13049,
871,
8973,
796,
17635,
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,
4574,
0,
7,
7890,
14692,
17440,
62,
4868,
33116,
42975,
62,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
30854,
62,
4868,
8973,
796,
1353,
78,
62,
7890,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3551,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
7890,
796,
19449,
13,
17752,
7,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
17752,
62,
3672,
796,
1255,
62,
7753,
62,
3672,
1635,
45434,
1,
1635,
4731,
7,
31,
82,
37435,
7203,
4,
3070,
67,
1600,
72,
27267,
12,
1600,
489,
268,
8,
1635,
27071,
17752,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1280,
7,
22179,
6978,
7,
69,
62,
7753,
62,
15908,
11,
20274,
62,
17752,
62,
3672,
828,
366,
86,
4943,
466,
277,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3551,
7,
69,
11,
4731,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
437,
198
] | 1.931652 | 3,292 |
using ImageIO
using Test
using ColorTypes
using FixedPointNumbers
using ImageCore
using Logging
using Random
#logger = ConsoleLogger(stdout, Logging.Debug)
logger = ConsoleLogger(stdout, Logging.Info)
global_logger(logger)
tmpdir = joinpath(@__DIR__,"temp")
@testset "ImageIO.jl" begin
# Write your own tests here.
@testset "libtiff" begin
@test ImageIO.ModTIFF.version() == "LIBTIFF, Version 4.0.10\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
end
@testset "libpng" begin
isdir(tmpdir) && rm(tmpdir, recursive = true)
mkdir(tmpdir)
img = rand(Bool, 5, 5, 5, 5)
filepath = joinpath(tmpdir, "5x5x5x5.png")
@test_throws ErrorException ModPNG.writeimage(filepath, img)
@testset "Binary Image" begin
a = rand(Bool, 11, 10)
filepath = joinpath(tmpdir, "binary1.png")
ModPNG.writeimage(filepath, a)
b1 = ModPNG.readimage(filepath)
@test b1 == convert(Array{Gray{N0f8}}, a)
a = bitrand(5,5)
filepath = joinpath(tmpdir, "binary2.png")
ModPNG.writeimage(filepath, a)
b2 = ModPNG.readimage(filepath)
@test b2 == convert(Array{Gray{N0f8}}, a)
a = colorview(Gray, a)
filepath = joinpath(tmpdir, "binary3.png")
ModPNG.writeimage(filepath, a)
b3 = ModPNG.readimage(filepath)
@test b3 == convert(Array{Gray{N0f8}}, a)
end
@testset "Gray image" begin
gray = vcat(fill(Gray(1.0), 10, 10), fill(Gray(0.5), 10, 10), fill(Gray(0.0), 10, 10))
filepath = joinpath(tmpdir, "gray1.png")
ModPNG.writeimage(filepath, gray)
g1 = ModPNG.readimage(filepath)
@test g1 == convert(Array{Gray{N0f8}}, gray)
gray = rand(Gray{N0f8}, 5, 5)
filepath = joinpath(tmpdir, "gray2.png")
ModPNG.writeimage(filepath, gray)
g2 = ModPNG.readimage(filepath)
@test g2 == gray
end
@testset "Color - RGB" begin
#rgb8 = rand(RGB{N0f8}, 10, 5)
rgb8 = reshape(range(RGB{N0f8}(1,0,0),RGB{N0f8}(0,1,1), length=10*5), 10, 5)
filepath = joinpath(tmpdir, "rgb_n0f8.png")
ModPNG.writeimage(filepath, rgb8)
r1 = ModPNG.readimage(filepath)
@test r1 == rgb8
#rgb16 = rand(RGB{N0f16}, 10, 5)
rgb16 = reshape(range(RGB{N0f16}(1,0,0),RGB{N0f16}(0,1,1), length=10*5), 10, 5)
filepath = joinpath(tmpdir, "rgb_n0f16.png")
ModPNG.writeimage(filepath, rgb16)
r2 = ModPNG.readimage(filepath)
ModPNG.writeimage(joinpath(tmpdir, "rgb_n0f16_resave.png"), r2)
@test r2 == rgb16
end
@testset "Alpha" begin
# RGBA
r = RGBA(1.0,0.0,0.0, 0.2)
g = RGBA(0.0,1.0,0.0, 0.8)
b = RGBA(0.0,0.0,1.0, 1.0)
rgba1 = vcat(fill(r, 50,100), fill(g, 50,100), fill(b, 50,100))
filepath = joinpath(tmpdir, "rgba1.png")
ModPNG.writeimage(filepath, rgba1)
r1 = ModPNG.readimage(filepath)
@test r1 == rgba1
# GrayA
r = GrayA(1.0, 0.25)
g = GrayA(0.5, 0.5)
b = GrayA(0.0, 0.75)
graya = vcat(fill(r, 50,100), fill(g, 50,100), fill(b, 50,100))
filepath = joinpath(tmpdir, "graya1.png")
ModPNG.writeimage(filepath, graya)
g1 = ModPNG.readimage(filepath)
@test g1 == convert(Array{GrayA{N0f8}}, graya)
end
# TODO implement palette
end
@testset "libjpeg" begin
@test unsafe_string(ImageIO.ModJPEG.tjGetErrorStr()) == "No error"
end
end
# try
# rm(tmpdir, recursive = true)
# catch
# @error "Unable to remove temp directory at: $(tmpdir)"
# end
| [
3500,
7412,
9399,
198,
3500,
6208,
198,
3500,
5315,
31431,
198,
3500,
10832,
12727,
49601,
198,
3500,
7412,
14055,
198,
3500,
5972,
2667,
198,
3500,
14534,
198,
198,
2,
6404,
1362,
796,
24371,
11187,
1362,
7,
19282,
448,
11,
5972,
2667,
13,
27509,
8,
198,
6404,
1362,
796,
24371,
11187,
1362,
7,
19282,
448,
11,
5972,
2667,
13,
12360,
8,
198,
20541,
62,
6404,
1362,
7,
6404,
1362,
8,
198,
198,
22065,
15908,
796,
4654,
6978,
7,
31,
834,
34720,
834,
553,
29510,
4943,
198,
31,
9288,
2617,
366,
5159,
9399,
13,
20362,
1,
2221,
198,
220,
220,
220,
1303,
19430,
534,
898,
5254,
994,
13,
628,
220,
220,
220,
2488,
9288,
2617,
366,
8019,
83,
733,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
7412,
9399,
13,
5841,
51,
29267,
13,
9641,
3419,
6624,
366,
40347,
51,
29267,
11,
10628,
604,
13,
15,
13,
940,
59,
77,
15269,
357,
66,
8,
12122,
12,
22288,
3409,
1004,
487,
1754,
59,
77,
15269,
357,
66,
8,
10249,
12,
22288,
18210,
19840,
11,
3457,
526,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
8019,
11134,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
318,
15908,
7,
22065,
15908,
8,
11405,
42721,
7,
22065,
15908,
11,
45115,
796,
2081,
8,
198,
220,
220,
220,
220,
220,
220,
220,
33480,
15908,
7,
22065,
15908,
8,
628,
220,
220,
220,
220,
220,
220,
220,
33705,
796,
43720,
7,
33,
970,
11,
642,
11,
642,
11,
642,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
20,
87,
20,
87,
20,
87,
20,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
62,
400,
8516,
13047,
16922,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
33705,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
33,
3219,
7412,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
43720,
7,
33,
970,
11,
1367,
11,
838,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
39491,
16,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
16,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
275,
16,
6624,
10385,
7,
19182,
90,
46130,
90,
45,
15,
69,
23,
92,
5512,
257,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
1643,
25192,
7,
20,
11,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
39491,
17,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
17,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
275,
17,
6624,
10385,
7,
19182,
90,
46130,
90,
45,
15,
69,
23,
92,
5512,
257,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
3124,
1177,
7,
46130,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
39491,
18,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
18,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
275,
18,
6624,
10385,
7,
19182,
90,
46130,
90,
45,
15,
69,
23,
92,
5512,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
46130,
2939,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12768,
796,
410,
9246,
7,
20797,
7,
46130,
7,
16,
13,
15,
828,
838,
11,
838,
828,
6070,
7,
46130,
7,
15,
13,
20,
828,
838,
11,
838,
828,
6070,
7,
46130,
7,
15,
13,
15,
828,
838,
11,
838,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
44605,
16,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
12768,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
16,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
308,
16,
6624,
10385,
7,
19182,
90,
46130,
90,
45,
15,
69,
23,
92,
5512,
12768,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12768,
796,
43720,
7,
46130,
90,
45,
15,
69,
23,
5512,
642,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
44605,
17,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
12768,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
17,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
308,
17,
6624,
12768,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
10258,
532,
25228,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
81,
22296,
23,
796,
43720,
7,
36982,
90,
45,
15,
69,
23,
5512,
838,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46140,
23,
796,
27179,
1758,
7,
9521,
7,
36982,
90,
45,
15,
69,
23,
92,
7,
16,
11,
15,
11,
15,
828,
36982,
90,
45,
15,
69,
23,
92,
7,
15,
11,
16,
11,
16,
828,
4129,
28,
940,
9,
20,
828,
838,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
81,
22296,
62,
77,
15,
69,
23,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
46140,
23,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
16,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
374,
16,
6624,
46140,
23,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
81,
22296,
1433,
796,
43720,
7,
36982,
90,
45,
15,
69,
1433,
5512,
838,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46140,
1433,
796,
27179,
1758,
7,
9521,
7,
36982,
90,
45,
15,
69,
1433,
92,
7,
16,
11,
15,
11,
15,
828,
36982,
90,
45,
15,
69,
1433,
92,
7,
15,
11,
16,
11,
16,
828,
4129,
28,
940,
9,
20,
828,
838,
11,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
81,
22296,
62,
77,
15,
69,
1433,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
46140,
1433,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
17,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
22179,
6978,
7,
22065,
15908,
11,
366,
81,
22296,
62,
77,
15,
69,
1433,
62,
411,
1015,
13,
11134,
12340,
374,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
374,
17,
6624,
46140,
1433,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
2617,
366,
38077,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34359,
4339,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
34359,
4339,
7,
16,
13,
15,
11,
15,
13,
15,
11,
15,
13,
15,
11,
657,
13,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
796,
34359,
4339,
7,
15,
13,
15,
11,
16,
13,
15,
11,
15,
13,
15,
11,
657,
13,
23,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
34359,
4339,
7,
15,
13,
15,
11,
15,
13,
15,
11,
16,
13,
15,
11,
352,
13,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48670,
7012,
16,
796,
410,
9246,
7,
20797,
7,
81,
11,
2026,
11,
3064,
828,
6070,
7,
70,
11,
2026,
11,
3064,
828,
6070,
7,
65,
11,
2026,
11,
3064,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
41345,
7012,
16,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
48670,
7012,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
16,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
374,
16,
6624,
48670,
7012,
16,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12723,
32,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
12723,
32,
7,
16,
13,
15,
11,
657,
13,
1495,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
796,
12723,
32,
7,
15,
13,
20,
11,
657,
13,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
12723,
32,
7,
15,
13,
15,
11,
657,
13,
2425,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1036,
11729,
796,
410,
9246,
7,
20797,
7,
81,
11,
2026,
11,
3064,
828,
6070,
7,
70,
11,
2026,
11,
3064,
828,
6070,
7,
65,
11,
2026,
11,
3064,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
6978,
796,
4654,
6978,
7,
22065,
15908,
11,
366,
2164,
11729,
16,
13,
11134,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3401,
47,
10503,
13,
13564,
9060,
7,
7753,
6978,
11,
1036,
11729,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
16,
796,
3401,
47,
10503,
13,
961,
9060,
7,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
308,
16,
6624,
10385,
7,
19182,
90,
46130,
32,
90,
45,
15,
69,
23,
92,
5512,
1036,
11729,
8,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
3494,
27043,
198,
220,
220,
220,
886,
628,
220,
220,
220,
2488,
9288,
2617,
366,
8019,
73,
22071,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
9288,
21596,
62,
8841,
7,
5159,
9399,
13,
5841,
12889,
7156,
13,
83,
73,
3855,
12331,
13290,
28955,
6624,
366,
2949,
4049,
1,
198,
220,
220,
220,
886,
198,
198,
437,
198,
198,
2,
1949,
198,
2,
220,
220,
220,
220,
42721,
7,
22065,
15908,
11,
45115,
796,
2081,
8,
198,
2,
4929,
198,
2,
220,
220,
220,
220,
2488,
18224,
366,
3118,
540,
284,
4781,
20218,
8619,
379,
25,
29568,
22065,
15908,
16725,
198,
2,
886,
198
] | 1.859574 | 2,115 |
using OdinSon
using Distributions
# Graphics[Table[Circle[RandomReal[10, 2]], {100}]]
f1 = Canvas([Circle(rand(Uniform(0, 10), 2), 1, style=Style(fill=nothing)) for i = 1:100])
render(f1) # the render in the Mathematica notebook is implicit
f2 =Canvas(mapslices(p->Circle(p, 1, style=Style(fill=nothing)), rand(Uniform(0, 10), 100, 2), 2))
render(f2)
# So very verbose in comparison. Thow if instead we have like Mathematica implicit defaults
# which is very close, but I don't like the defaults as they don't feel natural to me,
# save for maybe having the style not fill by default
#=
```
Graphics[Table[Circle[RandomReal[10, 2]], {100}]]
Canvas([Circle(rand(Uniform(0, 10), 2)) for i = 1:100])
```
=#
| [
3500,
19758,
31056,
198,
3500,
46567,
507,
198,
198,
2,
19840,
58,
10962,
58,
31560,
293,
58,
29531,
15633,
58,
940,
11,
362,
60,
4357,
1391,
3064,
92,
11907,
198,
69,
16,
796,
1680,
11017,
26933,
31560,
293,
7,
25192,
7,
3118,
6933,
7,
15,
11,
838,
828,
362,
828,
352,
11,
3918,
28,
21466,
7,
20797,
28,
22366,
4008,
329,
1312,
796,
352,
25,
3064,
12962,
198,
13287,
7,
69,
16,
8,
1303,
262,
8543,
287,
262,
6550,
23380,
64,
20922,
318,
16992,
198,
69,
17,
796,
6090,
11017,
7,
31803,
677,
274,
7,
79,
3784,
31560,
293,
7,
79,
11,
352,
11,
3918,
28,
21466,
7,
20797,
28,
22366,
36911,
43720,
7,
3118,
6933,
7,
15,
11,
838,
828,
1802,
11,
362,
828,
362,
4008,
198,
13287,
7,
69,
17,
8,
198,
2,
1406,
845,
15942,
577,
287,
7208,
13,
536,
322,
611,
2427,
356,
423,
588,
6550,
23380,
64,
16992,
26235,
198,
2,
543,
318,
845,
1969,
11,
475,
314,
836,
470,
588,
262,
26235,
355,
484,
836,
470,
1254,
3288,
284,
502,
11,
198,
2,
3613,
329,
3863,
1719,
262,
3918,
407,
6070,
416,
4277,
198,
2,
28,
198,
15506,
63,
198,
18172,
58,
10962,
58,
31560,
293,
58,
29531,
15633,
58,
940,
11,
362,
60,
4357,
1391,
3064,
92,
11907,
198,
6090,
11017,
26933,
31560,
293,
7,
25192,
7,
3118,
6933,
7,
15,
11,
838,
828,
362,
4008,
329,
1312,
796,
352,
25,
3064,
12962,
198,
15506,
63,
198,
46249,
198
] | 2.865854 | 246 |
using PyPlot
"""
`histplot(x)` plot a histogram of the values in `x` and
`histplot(x,n)` gives a plot with `n` bins.
"""
histplot = plt[:hist]
| [
3500,
9485,
43328,
198,
198,
37811,
198,
63,
10034,
29487,
7,
87,
8,
63,
7110,
257,
1554,
21857,
286,
262,
3815,
287,
4600,
87,
63,
290,
198,
63,
10034,
29487,
7,
87,
11,
77,
8,
63,
3607,
257,
7110,
351,
4600,
77,
63,
41701,
13,
198,
37811,
198,
10034,
29487,
796,
458,
83,
58,
25,
10034,
60,
198
] | 2.482759 | 58 |
## ---------------- Bounded learning
"""
$(SIGNATURES)
For a single college (not a ModelObject).
Each college is endowed with `maxLearn`. Once a student has learned this much, learning productivity falls to 0 (or a constant).
`dh = exp(aScale * a) * studyTime ^ timeExp * A`
The functional form for `A` is governed by the `tfpSpec`. It depends on how much has been learned.
The way learning is defined is governed by `learnRelativeToH0`.
- false: `h learned = h - h0`
- true: `h learned = (h / h0 - 1)`. Then a college limits the percentage increase in the h endowment.
Options should be type parameters +++
A potential alternative with better scaling would be
`A = hExp .* ( log(maxLearn) .- log.(max.(1.0, h learned)) )`
`hExp` governs the slope. `maxLearn` governs the intercept. But the shape is fixed.
"""
mutable struct HcProdFctBounded <: AbstractHcProdFct
minTfp :: Double # Additive minimum tfp
tfp :: Double
maxLearn :: Double
timeExp :: Double
# Curvature: how strongly does learning decline as (h-h0) → maxLearn
hExp :: Double
# Depreciation rate
deltaH :: Double
# Ability scale
aScale :: Double
# Fixed time cost per course
timePerCourse :: Double
# Study time per course minimum (this is assigned when study time very low)
minTimePerCourse :: Double
# Learning as percentage of endowment? Or as (h - h0).
learnRelativeToH0 :: Bool
# TFP can be computed in several ways. See `base_tfp`.
tfpSpec :: AbstractTfpSpec
end
## ------------- All colleges
Base.@kwdef mutable struct HcProdBoundedSwitches <: AbstractHcProdSwitches
# Same exponents on time and h. If yes, ignore `hExp`.
minTfp :: Double = 1.0
calMinTfp :: Bool = true
tfp :: Double = 1.0
calTfpBase :: Bool = true
sameExponents :: Bool = true
timeExp :: Double = 0.6
calTimeExp :: Bool = true
hExp :: Double = 0.9
# hExpLb :: Double = 0.5
calHExp :: Bool = true
deltaH :: Double = 0.0
calDeltaH :: Bool = false
aScale :: Double = 0.2
calAScale :: Bool = true
# Learning as percentage of endowment?
learnRelativeToH0 :: Bool = false
# TFP from (max learning - learning)
tfpSpec :: AbstractTfpSpec = TfpMaxLearnMinusLearn()
end
"""
$(SIGNATURES)
Since all colleges share some parameters, we need a model object that keeps
track of parameters that are common or differ by college.
"""
mutable struct HcProdBoundedSet <: AbstractHcProdSet
objId :: ObjectId
switches :: HcProdBoundedSwitches
nc :: CollInt
# Calibrated parameters
minTfp :: Double
tfp :: Double
maxLearnV :: BoundedVector
timeExp :: Double
hExp :: Double
deltaH :: Double
# Ability scale
aScale :: Double
# Fixed time cost per course
timePerCourse :: Double
# Study time per course minimum (this is assigned when study time very low)
minTimePerCourse :: Double
pvec :: ParamVector
end
## H production: Bounded learning
max_learn(hs :: HcProdBoundedSet, ic) = ModelParams.values(hs.maxLearnV, ic);
max_learn(h :: HcProdFctBounded) = h.maxLearn;
learning_relative_to_h0(h :: HcProdFctBounded) = h.learnRelativeToH0;
learning_relative_to_h0(h :: HcProdBoundedSwitches) = h.learnRelativeToH0;
learning_relative_to_h0(h :: HcProdBoundedSet) = learning_relative_to_h0(h.switches);
tfp_spec(h :: HcProdFctBounded) = h.tfpSpec;
tfp_spec(h :: HcProdBoundedSwitches) = h.tfpSpec;
tfp_spec(h :: HcProdBoundedSet) = tfp_spec(h.switches);
## ---------- Construction
# Initialize with defaults
function make_hc_prod_set(objId :: ObjectId, nc :: Integer,
switches :: HcProdBoundedSwitches)
st = symbol_table(); # eventually use preconstructed +++
@assert validate_hprod(switches);
pTimePerCourse = init_time_per_course();
pMaxLearn = init_max_learn(objId, switches, nc);
minTfp = switches.minTfp;
pMinTfp = Param(:minTfp, "Min tfp", "A_{min}",
minTfp, minTfp, 0.0, 2.0, switches.calMinTfp);
tfpBase = switches.tfp;
pTfpBase = Param(:tfp, ldescription(:hTfpNeutral), lsymbol(:hTfpNeutral),
tfpBase, tfpBase, 0.1, 2.0, switches.calTfpBase);
timeExp = switches.timeExp;
pTimeExp = Param(:timeExp, ldescription(:hTimeExp), lsymbol(:hTimeExp),
timeExp, timeExp, 0.2, 0.9, switches.calTimeExp);
deltaH = delta_h(switches);
pDeltaH = Param(:deltaH, ldescription(:ddh), lsymbol(:ddh),
deltaH, deltaH, 0.0, 0.5, cal_delta_h(switches));
# Governs slope inside of TFP (should be inside of TFP spec +++)
hExp = switches.hExp;
pHExp = Param(:hExp, "TFP slope coefficient", lsymbol(:hHExp),
hExp, hExp, gma_range(tfp_spec(switches))..., switches.calHExp);
aScale = switches.aScale;
tfpSpec = tfp_spec(switches);
pAScale = Param(:aScale, ldescription(:hAScale), lsymbol(:hAScale),
aScale, aScale, gma_range(tfpSpec)..., switches.calAScale);
pvec = ParamVector(objId, [pMinTfp, pTfpBase, pTimeExp, pHExp, pDeltaH, pAScale, pTimePerCourse]);
# Min study time required per course. Should never bind.
minTimePerCourse =
hours_per_week_to_mtu(0.1 / data_to_model_courses(1));
h = HcProdBoundedSet(objId, switches, nc,
minTfp, tfpBase, pMaxLearn,
timeExp, hExp, deltaH, aScale,
pTimePerCourse.value, minTimePerCourse, pvec);
@assert validate_hprod_set(h)
return h
end
# Upper bound should depend on whether learning is relative to h0.
function init_max_learn(objId :: ObjectId, switches, nc :: Integer)
ownId = make_child_id(objId, :tfpV);
dMaxLearnV = fill(0.2, nc);
if learning_relative_to_h0(switches)
ub = 3.0;
else
ub = 5.0;
end
b = BoundedVector(ownId, ParamVector(ownId), :increasing, 0.2, ub, dMaxLearnV);
set_pvector!(b; description = ldescription(:maxLearn),
symbol = lsymbol(:maxLearn));
return b
end
make_test_hc_bounded_set(; learnRelativeToH0 = true,
tfpSpec = TfpMaxLearnMinusLearn()) =
make_hc_prod_set(ObjectId(:HProd), 4,
HcProdBoundedSwitches(
deltaH = 0.05,
learnRelativeToH0 = learnRelativeToH0,
tfpSpec = tfpSpec
));
# Make h production function for one college
function make_h_prod(hs :: HcProdBoundedSet, iCollege :: Integer)
return HcProdFctBounded(hs.minTfp, hs.tfp,
max_learn(hs, iCollege),
time_exp(hs), h_exp(hs),
delta_h(hs), hs.aScale,
hs.timePerCourse, hs.minTimePerCourse,
learning_relative_to_h0(hs), tfp_spec(hs));
end
function make_test_hprod_bounded(;
learnRelativeToH0 = true, tfpSpec = TfpMaxLearnMinusLearn())
minTfp = 0.7;
gma = sum(gma_range(tfpSpec)) / 2;
hS = HcProdFctBounded(minTfp, 0.6, 3.1, 0.7, gma, 0.1, 0.3, 0.01, 0.005,
learnRelativeToH0, tfpSpec);
@assert validate_hprod(hS);
return hS
end
## ---------- One college
function validate_hprod(hS :: HcProdFctBounded)
isValid = (max_learn(hS) > 0.05) && (0.0 < time_exp(hS) ≤ 1.0);
gmaMin, gmaMax = gma_range(tfp_spec(hS));
gma = h_exp(hS);
isValid = isValid && (gmaMin <= gma <= gmaMax);
return isValid
end
"""
$(SIGNATURES)
H produced (before shock is realized). Nonnegative.
# Arguments
- nTriedV
number of courses attempted this period.
- h0V
h endowments, so that `hV - h0V` is learning.
"""
function dh(hS :: HcProdFctBounded, abilV, hV, h0V, timeV, nTriedV)
sTimeV = study_time_per_course(hS, timeV, nTriedV);
# deltaHV = (max_learn(hS) ^ h_exp(hS) .- learned_h(hS, hV, h0V) .^ h_exp(hS));
# tfpV = hS.tfp .* max.(0.0, deltaHV) .^ (1.0 / h_exp(hS));
return nTriedV .* base_tfp(hS, hV, h0V) .* (sTimeV .^ hS.timeExp) .*
exp.(hS.aScale .* abilV);
end
## ---------- TFP specs
# Base TFP: the term in front of (sTime ^ beta * exp(ability))
function base_tfp(hS :: HcProdFctBounded, hV, h0V)
tfpSpec = tfp_spec(hS);
learnV = learned_h(hS, hV, h0V);
tfpV = hS.minTfp .+ hS.tfp .* tfp(tfpSpec, learnV, max_learn(hS), h_exp(hS));
return tfpV
end
# Expected range of TFP
function tfp_range(hS :: HcProdFctBounded)
return hS.minTfp .+ tfp(hS) .*
tfp_range(tfp_spec(hS), h_exp(hS), max_learn(hS));
end
# Learned h, scaled for the production function
function learned_h(hS :: HcProdFctBounded, hV, h0V)
if learning_relative_to_h0(hS)
dh = max.(0.0, hV .- h0V) ./ h0V;
else
dh = max.(0.0, hV .- h0V);
end
return dh
end
# function show_string(hS :: HcProdFctBounded)
# fs = Formatting.FormatExpr("dh = {1:.2f} h ^ {2:.2f} t ^ {3:.2f} exp({3:.2f} a)");
# return format(fs, hS.tfp, h_exp(hS), hS.timeExp, hS.aScale);
# end
function Base.show(io :: IO, hS :: HcProdFctBounded)
maxLearn = round(max_learn(hS), digits = 2);
print(io, "H prod fct: Bounded learning < $maxLearn");
end
## --------------------- For all colleges
function Base.show(io :: IO, switches :: HcProdBoundedSwitches)
print(io, "H production: bounded learning.");
end
function settings_table(h :: HcProdBoundedSwitches)
ddh = delta_h(h);
cal_delta_h(h) ? deprecStr = "calibrated" : deprecStr = "fixed at $ddh";
h.learnRelativeToH0 ? learnStr = "h/h0 - 1" : learnStr = "h - h0";
ownSettings = [
"H production function" "Bounded learning";
"Depreciation" deprecStr
"Learning of the form" learnStr
];
return vcat(ownSettings, settings_table(h.tfpSpec))
end
function settings_list(h :: HcProdBoundedSwitches, st)
eqnHChange = ["H production function", "eqnHChange", eqn_hchange(h)];
return [eqnHChange]
end
function validate_hprod(s :: HcProdBoundedSwitches)
isValid = true;
return isValid
end
function validate_hprod_set(h :: HcProdBoundedSet)
isValid = (h.nc > 1) && (h.timeExp > 0.0) &&
(h.aScale > 0.0) && (h.timePerCourse > 0.0);
isValid = isValid && (1.0 > delta_h(h) >= 0.0);
return isValid
end
function eqn_hchange(h :: HcProdBoundedSwitches)
"\\hTfp \\sTimePerCourse^{\\hTimeExp} e^{\\hAScale \\abil}"
end
# -------------- | [
2235,
34400,
220,
347,
6302,
4673,
198,
198,
37811,
198,
220,
220,
220,
29568,
46224,
47471,
8,
198,
198,
1890,
257,
2060,
4152,
357,
1662,
257,
9104,
10267,
737,
198,
10871,
4152,
318,
44134,
351,
4600,
9806,
20238,
44646,
4874,
257,
3710,
468,
4499,
428,
881,
11,
4673,
13714,
8953,
284,
657,
357,
273,
257,
6937,
737,
198,
198,
63,
34985,
796,
1033,
7,
64,
29990,
1635,
257,
8,
1635,
2050,
7575,
10563,
640,
16870,
1635,
317,
63,
198,
198,
464,
10345,
1296,
329,
4600,
32,
63,
318,
21825,
416,
262,
4600,
27110,
79,
22882,
44646,
632,
8338,
319,
703,
881,
468,
587,
4499,
13,
220,
198,
198,
464,
835,
4673,
318,
5447,
318,
21825,
416,
4600,
35720,
6892,
876,
2514,
39,
15,
44646,
198,
12,
3991,
25,
4600,
71,
4499,
796,
289,
532,
289,
15,
63,
198,
12,
2081,
25,
4600,
71,
4499,
796,
357,
71,
1220,
289,
15,
532,
352,
8,
44646,
3244,
257,
4152,
7095,
262,
5873,
2620,
287,
262,
289,
886,
36569,
13,
198,
198,
29046,
815,
307,
2099,
10007,
49954,
198,
198,
32,
2785,
5559,
351,
1365,
20796,
561,
307,
198,
63,
32,
796,
289,
16870,
764,
9,
357,
2604,
7,
9806,
20238,
8,
764,
12,
2604,
12195,
9806,
12195,
16,
13,
15,
11,
289,
4499,
4008,
1267,
63,
198,
63,
71,
16870,
63,
47049,
262,
22638,
13,
4600,
9806,
20238,
63,
47049,
262,
15788,
13,
887,
262,
5485,
318,
5969,
13,
198,
37811,
198,
76,
18187,
2878,
367,
66,
2964,
67,
37,
310,
33,
6302,
1279,
25,
27741,
39,
66,
2964,
67,
37,
310,
198,
220,
220,
220,
949,
51,
46428,
7904,
11198,
220,
1303,
3060,
1800,
5288,
256,
46428,
198,
220,
220,
220,
256,
46428,
7904,
11198,
198,
220,
220,
220,
3509,
20238,
220,
7904,
220,
11198,
198,
220,
220,
220,
640,
16870,
220,
7904,
220,
11198,
198,
220,
220,
220,
1303,
4424,
85,
1300,
25,
703,
7634,
857,
4673,
7794,
355,
357,
71,
12,
71,
15,
8,
15168,
3509,
20238,
198,
220,
220,
220,
289,
16870,
7904,
11198,
198,
220,
220,
220,
1303,
2129,
33950,
2494,
198,
220,
220,
220,
25979,
39,
7904,
11198,
198,
220,
220,
220,
1303,
20737,
5046,
198,
220,
220,
220,
257,
29990,
220,
7904,
220,
11198,
198,
220,
220,
220,
1303,
10832,
640,
1575,
583,
1781,
198,
220,
220,
220,
640,
5990,
49046,
7904,
11198,
198,
220,
220,
220,
1303,
12481,
640,
583,
1781,
5288,
357,
5661,
318,
8686,
618,
2050,
640,
845,
1877,
8,
198,
220,
220,
220,
949,
7575,
5990,
49046,
7904,
11198,
198,
220,
220,
220,
1303,
18252,
355,
5873,
286,
886,
36569,
30,
1471,
355,
357,
71,
532,
289,
15,
737,
198,
220,
220,
220,
2193,
6892,
876,
2514,
39,
15,
7904,
347,
970,
198,
220,
220,
220,
1303,
309,
5837,
460,
307,
29231,
287,
1811,
2842,
13,
4091,
4600,
8692,
62,
27110,
79,
44646,
198,
220,
220,
220,
256,
46428,
22882,
7904,
27741,
51,
46428,
22882,
198,
437,
628,
198,
2235,
220,
32501,
220,
1439,
15273,
198,
198,
14881,
13,
31,
46265,
4299,
4517,
540,
2878,
367,
66,
2964,
36077,
6302,
10462,
9249,
1279,
25,
27741,
39,
66,
2964,
67,
10462,
9249,
198,
220,
220,
220,
1303,
16766,
1033,
3906,
319,
640,
290,
289,
13,
1002,
3763,
11,
8856,
4600,
71,
16870,
44646,
198,
220,
220,
220,
949,
51,
46428,
7904,
11198,
796,
352,
13,
15,
198,
220,
220,
220,
2386,
9452,
51,
46428,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
256,
46428,
7904,
11198,
796,
352,
13,
15,
198,
220,
220,
220,
2386,
51,
46428,
14881,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
976,
16870,
3906,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
640,
16870,
7904,
11198,
796,
657,
13,
21,
198,
220,
220,
220,
2386,
7575,
16870,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
289,
16870,
7904,
11198,
796,
657,
13,
24,
198,
220,
220,
220,
1303,
289,
16870,
43,
65,
7904,
11198,
796,
657,
13,
20,
198,
220,
220,
220,
2386,
39,
16870,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
25979,
39,
7904,
11198,
796,
657,
13,
15,
198,
220,
220,
220,
2386,
42430,
39,
7904,
347,
970,
796,
3991,
198,
220,
220,
220,
257,
29990,
7904,
11198,
796,
657,
13,
17,
198,
220,
220,
220,
2386,
1921,
38765,
7904,
347,
970,
796,
2081,
198,
220,
220,
220,
1303,
18252,
355,
5873,
286,
886,
36569,
30,
198,
220,
220,
220,
2193,
6892,
876,
2514,
39,
15,
7904,
347,
970,
796,
3991,
198,
220,
220,
220,
1303,
309,
5837,
422,
357,
9806,
4673,
532,
4673,
8,
198,
220,
220,
220,
256,
46428,
22882,
7904,
27741,
51,
46428,
22882,
796,
309,
46428,
11518,
20238,
9452,
385,
20238,
3419,
198,
437,
628,
198,
198,
37811,
198,
220,
220,
220,
29568,
46224,
47471,
8,
198,
198,
6385,
477,
15273,
2648,
617,
10007,
11,
356,
761,
257,
2746,
2134,
326,
7622,
220,
198,
11659,
286,
10007,
326,
389,
2219,
393,
13238,
416,
4152,
13,
198,
37811,
198,
76,
18187,
2878,
367,
66,
2964,
36077,
6302,
7248,
1279,
25,
27741,
39,
66,
2964,
67,
7248,
198,
220,
220,
220,
26181,
7390,
7904,
9515,
7390,
198,
220,
220,
220,
18225,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
198,
220,
220,
220,
299,
66,
7904,
7778,
5317,
628,
220,
220,
220,
1303,
2199,
2889,
515,
10007,
198,
220,
220,
220,
949,
51,
46428,
7904,
11198,
198,
220,
220,
220,
256,
46428,
7904,
11198,
220,
220,
198,
220,
220,
220,
3509,
20238,
53,
220,
7904,
220,
347,
6302,
38469,
198,
220,
220,
220,
640,
16870,
220,
7904,
220,
11198,
198,
220,
220,
220,
289,
16870,
220,
7904,
220,
11198,
198,
220,
220,
220,
25979,
39,
7904,
11198,
198,
220,
220,
220,
1303,
20737,
5046,
198,
220,
220,
220,
257,
29990,
220,
7904,
220,
11198,
628,
220,
220,
220,
1303,
10832,
640,
1575,
583,
1781,
198,
220,
220,
220,
640,
5990,
49046,
7904,
11198,
198,
220,
220,
220,
1303,
12481,
640,
583,
1781,
5288,
357,
5661,
318,
8686,
618,
2050,
640,
845,
1877,
8,
198,
220,
220,
220,
949,
7575,
5990,
49046,
7904,
11198,
628,
220,
220,
220,
279,
35138,
7904,
25139,
38469,
198,
437,
628,
198,
2235,
367,
3227,
25,
347,
6302,
4673,
198,
198,
9806,
62,
35720,
7,
11994,
7904,
367,
66,
2964,
36077,
6302,
7248,
11,
14158,
8,
796,
9104,
10044,
4105,
13,
27160,
7,
11994,
13,
9806,
20238,
53,
11,
14158,
1776,
198,
9806,
62,
35720,
7,
71,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
796,
289,
13,
9806,
20238,
26,
198,
198,
40684,
62,
43762,
62,
1462,
62,
71,
15,
7,
71,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
796,
289,
13,
35720,
6892,
876,
2514,
39,
15,
26,
198,
40684,
62,
43762,
62,
1462,
62,
71,
15,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
796,
289,
13,
35720,
6892,
876,
2514,
39,
15,
26,
198,
40684,
62,
43762,
62,
1462,
62,
71,
15,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
7248,
8,
796,
4673,
62,
43762,
62,
1462,
62,
71,
15,
7,
71,
13,
2032,
9249,
1776,
198,
198,
27110,
79,
62,
16684,
7,
71,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
796,
289,
13,
27110,
79,
22882,
26,
198,
27110,
79,
62,
16684,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
796,
289,
13,
27110,
79,
22882,
26,
198,
27110,
79,
62,
16684,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
7248,
8,
796,
256,
46428,
62,
16684,
7,
71,
13,
2032,
9249,
1776,
198,
198,
2235,
24200,
438,
220,
20395,
198,
198,
2,
20768,
1096,
351,
26235,
198,
8818,
787,
62,
71,
66,
62,
1676,
67,
62,
2617,
7,
26801,
7390,
7904,
9515,
7390,
11,
299,
66,
7904,
34142,
11,
220,
198,
220,
220,
220,
18225,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
336,
796,
6194,
62,
11487,
9783,
1303,
4191,
779,
49394,
16242,
49954,
198,
220,
220,
220,
2488,
30493,
26571,
62,
71,
1676,
67,
7,
2032,
9249,
1776,
628,
220,
220,
220,
279,
7575,
5990,
49046,
796,
2315,
62,
2435,
62,
525,
62,
17319,
9783,
198,
220,
220,
220,
279,
11518,
20238,
796,
2315,
62,
9806,
62,
35720,
7,
26801,
7390,
11,
18225,
11,
299,
66,
1776,
628,
220,
220,
220,
949,
51,
46428,
796,
18225,
13,
1084,
51,
46428,
26,
198,
220,
220,
220,
279,
9452,
51,
46428,
796,
25139,
7,
25,
1084,
51,
46428,
11,
366,
9452,
256,
46428,
1600,
366,
32,
23330,
1084,
92,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
949,
51,
46428,
11,
949,
51,
46428,
11,
657,
13,
15,
11,
362,
13,
15,
11,
18225,
13,
9948,
9452,
51,
46428,
1776,
628,
220,
220,
220,
256,
46428,
14881,
796,
18225,
13,
27110,
79,
26,
198,
220,
220,
220,
279,
51,
46428,
14881,
796,
25139,
7,
25,
27110,
79,
11,
300,
11213,
7,
25,
71,
51,
46428,
8199,
6815,
828,
300,
1837,
23650,
7,
25,
71,
51,
46428,
8199,
6815,
828,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
256,
46428,
14881,
11,
256,
46428,
14881,
11,
657,
13,
16,
11,
362,
13,
15,
11,
18225,
13,
9948,
51,
46428,
14881,
1776,
220,
628,
220,
220,
220,
640,
16870,
796,
18225,
13,
2435,
16870,
26,
198,
220,
220,
220,
279,
7575,
16870,
796,
25139,
7,
25,
2435,
16870,
11,
300,
11213,
7,
25,
71,
7575,
16870,
828,
300,
1837,
23650,
7,
25,
71,
7575,
16870,
828,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
640,
16870,
11,
640,
16870,
11,
657,
13,
17,
11,
657,
13,
24,
11,
18225,
13,
9948,
7575,
16870,
1776,
628,
220,
220,
220,
25979,
39,
796,
25979,
62,
71,
7,
2032,
9249,
1776,
198,
220,
220,
220,
279,
42430,
39,
796,
25139,
7,
25,
67,
12514,
39,
11,
300,
11213,
7,
25,
1860,
71,
828,
300,
1837,
23650,
7,
25,
1860,
71,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
25979,
39,
11,
25979,
39,
11,
657,
13,
15,
11,
657,
13,
20,
11,
2386,
62,
67,
12514,
62,
71,
7,
2032,
9249,
18125,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
3948,
82,
22638,
2641,
286,
309,
5837,
357,
21754,
307,
2641,
286,
309,
5837,
1020,
1343,
29577,
198,
220,
220,
220,
289,
16870,
796,
18225,
13,
71,
16870,
26,
198,
220,
220,
220,
22918,
16870,
796,
25139,
7,
25,
71,
16870,
11,
366,
51,
5837,
22638,
35381,
1600,
300,
1837,
23650,
7,
25,
71,
39,
16870,
828,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
289,
16870,
11,
289,
16870,
11,
308,
2611,
62,
9521,
7,
27110,
79,
62,
16684,
7,
2032,
9249,
4008,
986,
11,
18225,
13,
9948,
39,
16870,
1776,
628,
220,
220,
220,
257,
29990,
796,
18225,
13,
64,
29990,
26,
198,
220,
220,
220,
256,
46428,
22882,
796,
256,
46428,
62,
16684,
7,
2032,
9249,
1776,
198,
220,
220,
220,
279,
1921,
38765,
796,
25139,
7,
25,
64,
29990,
11,
300,
11213,
7,
25,
71,
1921,
38765,
828,
300,
1837,
23650,
7,
25,
71,
1921,
38765,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
257,
29990,
11,
257,
29990,
11,
308,
2611,
62,
9521,
7,
27110,
79,
22882,
26513,
11,
18225,
13,
9948,
1921,
38765,
1776,
628,
220,
220,
220,
279,
35138,
796,
25139,
38469,
7,
26801,
7390,
11,
220,
685,
79,
9452,
51,
46428,
11,
279,
51,
46428,
14881,
11,
279,
7575,
16870,
11,
22918,
16870,
11,
279,
42430,
39,
11,
279,
1921,
38765,
11,
279,
7575,
5990,
49046,
36563,
198,
220,
220,
220,
1303,
1855,
2050,
640,
2672,
583,
1781,
13,
10358,
1239,
11007,
13,
198,
220,
220,
220,
949,
7575,
5990,
49046,
796,
198,
220,
220,
220,
220,
220,
220,
220,
2250,
62,
525,
62,
10464,
62,
1462,
62,
16762,
84,
7,
15,
13,
16,
1220,
1366,
62,
1462,
62,
19849,
62,
66,
39975,
7,
16,
18125,
628,
220,
220,
220,
289,
796,
367,
66,
2964,
36077,
6302,
7248,
7,
26801,
7390,
11,
18225,
11,
299,
66,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
949,
51,
46428,
11,
256,
46428,
14881,
11,
279,
11518,
20238,
11,
198,
220,
220,
220,
220,
220,
220,
220,
640,
16870,
11,
289,
16870,
11,
25979,
39,
11,
257,
29990,
11,
198,
220,
220,
220,
220,
220,
220,
220,
279,
7575,
5990,
49046,
13,
8367,
11,
949,
7575,
5990,
49046,
11,
279,
35138,
1776,
198,
220,
220,
220,
2488,
30493,
26571,
62,
71,
1676,
67,
62,
2617,
7,
71,
8,
198,
220,
220,
220,
1441,
289,
198,
437,
198,
198,
2,
20390,
5421,
815,
4745,
319,
1771,
4673,
318,
3585,
284,
289,
15,
13,
198,
8818,
2315,
62,
9806,
62,
35720,
7,
26801,
7390,
7904,
9515,
7390,
11,
18225,
11,
299,
66,
7904,
34142,
8,
198,
220,
220,
220,
898,
7390,
796,
787,
62,
9410,
62,
312,
7,
26801,
7390,
11,
1058,
27110,
79,
53,
1776,
628,
220,
220,
220,
288,
11518,
20238,
53,
796,
6070,
7,
15,
13,
17,
11,
299,
66,
1776,
198,
220,
220,
220,
611,
4673,
62,
43762,
62,
1462,
62,
71,
15,
7,
2032,
9249,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20967,
796,
513,
13,
15,
26,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
20967,
796,
642,
13,
15,
26,
198,
220,
220,
220,
886,
198,
220,
220,
220,
275,
796,
347,
6302,
38469,
7,
593,
7390,
11,
25139,
38469,
7,
593,
7390,
828,
1058,
42647,
11,
657,
13,
17,
11,
20967,
11,
288,
11518,
20238,
53,
1776,
198,
220,
220,
220,
900,
62,
79,
31364,
0,
7,
65,
26,
6764,
796,
300,
11213,
7,
25,
9806,
20238,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
6194,
796,
300,
1837,
23650,
7,
25,
9806,
20238,
18125,
198,
220,
220,
220,
1441,
275,
198,
437,
198,
198,
15883,
62,
9288,
62,
71,
66,
62,
65,
6302,
62,
2617,
7,
26,
2193,
6892,
876,
2514,
39,
15,
796,
2081,
11,
220,
198,
220,
220,
220,
256,
46428,
22882,
796,
309,
46428,
11518,
20238,
9452,
385,
20238,
28955,
796,
198,
220,
220,
220,
787,
62,
71,
66,
62,
1676,
67,
62,
2617,
7,
10267,
7390,
7,
25,
39,
2964,
67,
828,
604,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
367,
66,
2964,
36077,
6302,
10462,
9249,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25979,
39,
796,
657,
13,
2713,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2193,
6892,
876,
2514,
39,
15,
796,
2193,
6892,
876,
2514,
39,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
46428,
22882,
796,
256,
46428,
22882,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29226,
628,
198,
2,
6889,
289,
3227,
2163,
329,
530,
4152,
198,
8818,
787,
62,
71,
62,
1676,
67,
7,
11994,
7904,
367,
66,
2964,
36077,
6302,
7248,
11,
1312,
38951,
7904,
34142,
8,
198,
220,
220,
220,
1441,
367,
66,
2964,
67,
37,
310,
33,
6302,
7,
11994,
13,
1084,
51,
46428,
11,
289,
82,
13,
27110,
79,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
35720,
7,
11994,
11,
1312,
38951,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
640,
62,
11201,
7,
11994,
828,
289,
62,
11201,
7,
11994,
828,
198,
220,
220,
220,
220,
220,
220,
220,
25979,
62,
71,
7,
11994,
828,
289,
82,
13,
64,
29990,
11,
198,
220,
220,
220,
220,
220,
220,
220,
289,
82,
13,
2435,
5990,
49046,
11,
220,
289,
82,
13,
1084,
7575,
5990,
49046,
11,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4673,
62,
43762,
62,
1462,
62,
71,
15,
7,
11994,
828,
256,
46428,
62,
16684,
7,
11994,
18125,
198,
437,
198,
198,
8818,
787,
62,
9288,
62,
71,
1676,
67,
62,
65,
6302,
7,
26,
220,
198,
220,
220,
220,
2193,
6892,
876,
2514,
39,
15,
796,
2081,
11,
256,
46428,
22882,
796,
309,
46428,
11518,
20238,
9452,
385,
20238,
28955,
628,
220,
220,
220,
949,
51,
46428,
796,
657,
13,
22,
26,
198,
220,
220,
220,
308,
2611,
796,
2160,
7,
70,
2611,
62,
9521,
7,
27110,
79,
22882,
4008,
1220,
362,
26,
198,
220,
220,
220,
289,
50,
796,
367,
66,
2964,
67,
37,
310,
33,
6302,
7,
1084,
51,
46428,
11,
657,
13,
21,
11,
513,
13,
16,
11,
657,
13,
22,
11,
308,
2611,
11,
657,
13,
16,
11,
657,
13,
18,
11,
657,
13,
486,
11,
657,
13,
22544,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2193,
6892,
876,
2514,
39,
15,
11,
256,
46428,
22882,
1776,
198,
220,
220,
220,
2488,
30493,
26571,
62,
71,
1676,
67,
7,
71,
50,
1776,
198,
220,
220,
220,
1441,
289,
50,
198,
437,
198,
198,
2235,
24200,
438,
220,
1881,
4152,
198,
198,
8818,
26571,
62,
71,
1676,
67,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
198,
220,
220,
220,
318,
47139,
796,
357,
9806,
62,
35720,
7,
71,
50,
8,
1875,
657,
13,
2713,
8,
220,
11405,
220,
357,
15,
13,
15,
1279,
640,
62,
11201,
7,
71,
50,
8,
41305,
352,
13,
15,
1776,
198,
220,
220,
220,
308,
2611,
9452,
11,
308,
2611,
11518,
796,
308,
2611,
62,
9521,
7,
27110,
79,
62,
16684,
7,
71,
50,
18125,
198,
220,
220,
220,
308,
2611,
796,
289,
62,
11201,
7,
71,
50,
1776,
198,
220,
220,
220,
318,
47139,
796,
318,
47139,
220,
11405,
220,
357,
70,
2611,
9452,
19841,
308,
2611,
19841,
308,
2611,
11518,
1776,
198,
220,
220,
220,
1441,
318,
47139,
198,
437,
628,
198,
37811,
198,
220,
220,
220,
29568,
46224,
47471,
8,
198,
198,
39,
4635,
357,
19052,
6380,
318,
6939,
737,
8504,
31591,
13,
198,
198,
2,
20559,
2886,
198,
12,
299,
51,
2228,
53,
198,
220,
220,
220,
1271,
286,
10902,
7482,
428,
2278,
13,
198,
12,
289,
15,
53,
198,
220,
220,
220,
289,
886,
322,
902,
11,
523,
326,
4600,
71,
53,
532,
289,
15,
53,
63,
318,
4673,
13,
198,
37811,
198,
8818,
34590,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
11,
450,
346,
53,
11,
220,
289,
53,
11,
289,
15,
53,
11,
640,
53,
11,
299,
51,
2228,
53,
8,
198,
220,
220,
220,
264,
7575,
53,
796,
2050,
62,
2435,
62,
525,
62,
17319,
7,
71,
50,
11,
640,
53,
11,
299,
51,
2228,
53,
1776,
198,
220,
220,
220,
1303,
25979,
39,
53,
796,
357,
9806,
62,
35720,
7,
71,
50,
8,
10563,
289,
62,
11201,
7,
71,
50,
8,
764,
12,
4499,
62,
71,
7,
71,
50,
11,
289,
53,
11,
289,
15,
53,
8,
764,
61,
289,
62,
11201,
7,
71,
50,
18125,
198,
220,
220,
220,
1303,
256,
46428,
53,
796,
289,
50,
13,
27110,
79,
764,
9,
3509,
12195,
15,
13,
15,
11,
25979,
39,
53,
8,
764,
61,
357,
16,
13,
15,
1220,
289,
62,
11201,
7,
71,
50,
18125,
198,
220,
220,
220,
1441,
299,
51,
2228,
53,
764,
9,
2779,
62,
27110,
79,
7,
71,
50,
11,
289,
53,
11,
289,
15,
53,
8,
764,
9,
357,
82,
7575,
53,
764,
61,
289,
50,
13,
2435,
16870,
8,
764,
9,
198,
220,
220,
220,
220,
220,
220,
220,
1033,
12195,
71,
50,
13,
64,
29990,
764,
9,
450,
346,
53,
1776,
198,
437,
198,
198,
2235,
24200,
438,
220,
309,
5837,
25274,
198,
198,
2,
7308,
309,
5837,
25,
262,
3381,
287,
2166,
286,
357,
82,
7575,
10563,
12159,
1635,
1033,
7,
1799,
4008,
198,
8818,
2779,
62,
27110,
79,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
11,
289,
53,
11,
289,
15,
53,
8,
198,
220,
220,
220,
256,
46428,
22882,
796,
256,
46428,
62,
16684,
7,
71,
50,
1776,
198,
220,
220,
220,
2193,
53,
796,
4499,
62,
71,
7,
71,
50,
11,
289,
53,
11,
289,
15,
53,
1776,
198,
220,
220,
220,
256,
46428,
53,
796,
289,
50,
13,
1084,
51,
46428,
764,
10,
289,
50,
13,
27110,
79,
764,
9,
256,
46428,
7,
27110,
79,
22882,
11,
2193,
53,
11,
3509,
62,
35720,
7,
71,
50,
828,
289,
62,
11201,
7,
71,
50,
18125,
198,
220,
220,
220,
1441,
256,
46428,
53,
198,
437,
628,
198,
2,
1475,
7254,
2837,
286,
309,
5837,
198,
8818,
256,
46428,
62,
9521,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
198,
220,
220,
220,
1441,
289,
50,
13,
1084,
51,
46428,
764,
10,
256,
46428,
7,
71,
50,
8,
764,
9,
220,
198,
220,
220,
220,
220,
220,
220,
220,
256,
46428,
62,
9521,
7,
27110,
79,
62,
16684,
7,
71,
50,
828,
289,
62,
11201,
7,
71,
50,
828,
3509,
62,
35720,
7,
71,
50,
18125,
198,
437,
198,
198,
2,
38514,
289,
11,
27464,
329,
262,
3227,
2163,
198,
8818,
4499,
62,
71,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
11,
289,
53,
11,
289,
15,
53,
8,
198,
220,
220,
220,
611,
4673,
62,
43762,
62,
1462,
62,
71,
15,
7,
71,
50,
8,
198,
220,
220,
220,
220,
220,
220,
220,
34590,
796,
3509,
12195,
15,
13,
15,
11,
289,
53,
764,
12,
289,
15,
53,
8,
24457,
289,
15,
53,
26,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
34590,
796,
3509,
12195,
15,
13,
15,
11,
289,
53,
764,
12,
289,
15,
53,
1776,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
34590,
198,
437,
628,
198,
2,
2163,
905,
62,
8841,
7,
71,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
198,
2,
220,
220,
220,
220,
43458,
796,
18980,
889,
13,
26227,
3109,
1050,
7203,
34985,
796,
1391,
16,
25,
13,
17,
69,
92,
220,
289,
10563,
1391,
17,
25,
13,
17,
69,
92,
220,
256,
10563,
1391,
18,
25,
13,
17,
69,
92,
220,
1033,
15090,
18,
25,
13,
17,
69,
92,
257,
8,
15341,
198,
2,
220,
220,
220,
220,
1441,
5794,
7,
9501,
11,
220,
220,
289,
50,
13,
27110,
79,
11,
289,
62,
11201,
7,
71,
50,
828,
289,
50,
13,
2435,
16870,
11,
289,
50,
13,
64,
29990,
1776,
198,
2,
886,
628,
198,
8818,
7308,
13,
12860,
7,
952,
7904,
24418,
11,
289,
50,
7904,
367,
66,
2964,
67,
37,
310,
33,
6302,
8,
198,
220,
220,
220,
3509,
20238,
796,
2835,
7,
9806,
62,
35720,
7,
71,
50,
828,
19561,
796,
362,
1776,
198,
220,
220,
220,
3601,
7,
952,
11,
220,
366,
39,
40426,
277,
310,
25,
220,
347,
6302,
4673,
1279,
720,
9806,
20238,
15341,
198,
437,
628,
198,
2235,
41436,
12,
220,
1114,
477,
15273,
198,
198,
8818,
7308,
13,
12860,
7,
952,
7904,
24418,
11,
18225,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
198,
220,
220,
220,
3601,
7,
952,
11,
366,
39,
3227,
25,
49948,
4673,
526,
1776,
198,
437,
198,
198,
8818,
6460,
62,
11487,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
198,
220,
220,
220,
288,
34985,
796,
25979,
62,
71,
7,
71,
1776,
198,
220,
220,
220,
2386,
62,
67,
12514,
62,
71,
7,
71,
8,
220,
5633,
220,
1207,
8344,
13290,
796,
366,
9948,
2889,
515,
1,
220,
1058,
220,
1207,
8344,
13290,
796,
366,
34021,
379,
720,
1860,
71,
8172,
198,
220,
220,
220,
289,
13,
35720,
6892,
876,
2514,
39,
15,
220,
5633,
220,
2193,
13290,
796,
366,
71,
14,
71,
15,
532,
352,
1,
220,
1058,
220,
2193,
13290,
796,
366,
71,
532,
289,
15,
8172,
198,
220,
220,
220,
898,
26232,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39,
3227,
2163,
1,
366,
33,
6302,
4673,
8172,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12156,
33950,
1,
220,
1207,
8344,
13290,
198,
220,
220,
220,
220,
220,
220,
220,
366,
41730,
286,
262,
1296,
1,
220,
2193,
13290,
198,
220,
220,
220,
220,
220,
220,
220,
28013,
198,
220,
220,
220,
1441,
410,
9246,
7,
593,
26232,
11,
6460,
62,
11487,
7,
71,
13,
27110,
79,
22882,
4008,
198,
437,
198,
198,
8818,
6460,
62,
4868,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
11,
336,
8,
198,
220,
220,
220,
37430,
77,
39,
19400,
796,
14631,
39,
3227,
2163,
1600,
366,
27363,
77,
39,
19400,
1600,
220,
37430,
77,
62,
71,
3803,
7,
71,
8,
11208,
198,
220,
220,
220,
1441,
685,
27363,
77,
39,
19400,
60,
198,
437,
628,
198,
8818,
26571,
62,
71,
1676,
67,
7,
82,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
198,
220,
220,
220,
318,
47139,
796,
2081,
26,
198,
220,
220,
220,
1441,
318,
47139,
198,
437,
198,
198,
8818,
26571,
62,
71,
1676,
67,
62,
2617,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
7248,
8,
198,
220,
220,
220,
318,
47139,
796,
357,
71,
13,
10782,
1875,
352,
8,
220,
11405,
220,
357,
71,
13,
2435,
16870,
1875,
657,
13,
15,
8,
220,
11405,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
357,
71,
13,
64,
29990,
1875,
657,
13,
15,
8,
220,
11405,
220,
357,
71,
13,
2435,
5990,
49046,
1875,
657,
13,
15,
1776,
198,
220,
220,
220,
318,
47139,
796,
318,
47139,
220,
11405,
220,
357,
16,
13,
15,
1875,
25979,
62,
71,
7,
71,
8,
18189,
657,
13,
15,
1776,
198,
220,
220,
220,
1441,
318,
47139,
198,
437,
198,
198,
8818,
37430,
77,
62,
71,
3803,
7,
71,
7904,
367,
66,
2964,
36077,
6302,
10462,
9249,
8,
198,
220,
220,
220,
366,
6852,
71,
51,
46428,
26867,
82,
7575,
5990,
49046,
36796,
6852,
71,
7575,
16870,
92,
304,
36796,
6852,
71,
1921,
38765,
26867,
14991,
36786,
198,
437,
628,
198,
2,
220,
26171
] | 2.361124 | 4,306 |
################################################################################
# Copyright 2021, Marta Vanin #
################################################################################
function plot_result_caseA(path_to_caseA_csv::String, which_plot::String, ymin::Float64, ymax::Float64)
casea = CSV.read(path_to_caseA_csv)
casea_wls = casea |> Query.@filter(_.criterion .== "wls") |> DataFrames.DataFrame
casea_rwls = casea |> Query.@filter(_.criterion .== "rwls") |> DataFrames.DataFrame
casea_rwlav = casea |> Query.@filter(_.criterion .== "rwlav") |> DataFrames.DataFrame
ACP_df_wls = casea_wls |> Query.@filter(_.eq_model .== "rACP") |> DataFrames.DataFrame
ACR_df_wls = casea_wls |> Query.@filter(_.eq_model .== "rACR") |> DataFrames.DataFrame
IVR_df_wls = casea_wls |> Query.@filter(_.eq_model .== "rIVR") |> DataFrames.DataFrame
ACP_df_rwls = casea_rwls |> Query.@filter(_.eq_model .== "rACP") |> DataFrames.DataFrame
ACR_df_rwls = casea_rwls |> Query.@filter(_.eq_model .== "rACR") |> DataFrames.DataFrame
IVR_df_rwls = casea_rwls |> Query.@filter(_.eq_model .== "rIVR") |> DataFrames.DataFrame
ACP_df_rwlav = casea_rwlav |> Query.@filter(_.eq_model .== "rACP") |> DataFrames.DataFrame
ACR_df_rwlav = casea_rwlav |> Query.@filter(_.eq_model .== "rACR") |> DataFrames.DataFrame
IVR_df_rwlav = casea_rwlav |> Query.@filter(_.eq_model .== "rIVR") |> DataFrames.DataFrame
if which_plot == "time"
p1 = Plots.scatter([ACP_df_wls.n_bus, ACR_df_wls.n_bus, IVR_df_wls.n_bus], [ACP_df_wls.solve_time, ACR_df_wls.solve_time, IVR_df_wls.solve_time], markershape=[:circle :rect :utriangle], label=["ACP" "ACR" "IVR"], ylabel="Solve time [s]",
yscale=:log, legend=false, ylims=(ymin, ymax), title="WLS")
p2 = Plots.scatter([ACP_df_rwls.n_bus, ACR_df_rwls.n_bus, IVR_df_rwls.n_bus], [ACP_df_rwls.solve_time, ACR_df_rwls.solve_time, IVR_df_rwls.solve_time], markershape=[:circle :rect :utriangle], label=["ACP" "ACR" "IVR"],
legend=:bottomright, yscale=:log, xlabel="number of buses [-]", ylims=(ymin, ymax), yaxis=nothing, title="rWLS")
p3 = Plots.scatter([ACP_df_rwlav.n_bus, ACR_df_rwlav.n_bus, IVR_df_rwlav.n_bus], [ACP_df_rwlav.solve_time, ACR_df_rwlav.solve_time, IVR_df_rwlav.solve_time], markershape=[:circle :rect :utriangle],
legend=false, yscale=:log, ylims=(ymin, ymax), yaxis=nothing, title="rWLAV")
Plots.plot(p1, p2, p3, layout = (1,3))
elseif which_plot == "error_ph1"
Plots.scatter([ACR_df_rwlav.n_bus, ACR_df_rwlav.n_bus], [ACR_df_rwlav.err_max_1, ACR_df_rwlav.err_avg_1], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study A - Phase 1", ylims = (ymin, ymax))
elseif which_plot == "error_ph2"
Plots.scatter([ACR_df_rwlav.n_bus, ACR_df_rwlav.n_bus], [ACR_df_rwlav.err_max_2, ACR_df_rwlav.err_avg_2], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study A - Phase 2", ylims = (ymin, ymax))
elseif which_plot == "error_ph3"
Plots.scatter([ACR_df_rwlav.n_bus, ACR_df_rwlav.n_bus], [ACR_df_rwlav.err_max_3, ACR_df_rwlav.err_avg_3], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study A - Phase 3", ylims = (ymin, ymax))
else
display("ERROR: plot type $which_plot in argument `which_plot` not recognized. Possibilities are: \"time\", \"error_ph1\", \"error_ph2\", \"error_ph3\"")
end
end
function plot_result_caseB(path_to_caseB_csv::String, which_plot::String)
caseb = CSV.read(path_to_caseB_csv)
LDF_df = caseb |> Query.@filter(_.eq_model .== "LD3F") |> DataFrames.DataFrame
IVR_df = caseb |> Query.@filter(_.eq_model .== "rIVR") |> DataFrames.DataFrame
if which_plot == "time"
Plots.scatter([IVR_df.n_bus, LDF_df.n_bus], [IVR_df.solve_time, LDF_df.solve_time], markershape=[:utriangle :diamond], label=["IVR" "LD3F"], ylabel="Solve time [s]", xlabel="Number of buses [-]",
legend=:bottomright, title="$which_plot plot for case study B", yscale=:log)
elseif which_plot == "error_ph1"
Plots.scatter([LDF_df.n_bus, LDF_df.n_bus], [LDF_df.err_max_1, LDF_df.err_avg_1], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study B - Phase 1")
elseif which_plot == "error_ph2"
Plots.scatter([LDF_df.n_bus, LDF_df.n_bus], [LDF_df.err_max_2, LDF_df.err_avg_2], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study B - Phase 2")
elseif which_plot == "error_ph3"
Plots.scatter([LDF_df.n_bus, LDF_df.n_bus], [LDF_df.err_max_3, LDF_df.err_avg_3], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Number of buses [-]",
legend=:topright, title="Error plot for case study B - Phase 3")
else
display("ERROR: plot type $which_plot in argument `which_plot` not recognized. Possibilities are: \"time\", \"error_ph1\", \"error_ph2\", \"error_ph3\"")
end
end
function plot_result_caseC(path_to_caseC_csv::String)
casec = CSV.read(path_to_caseC_csv)
linIVR_df = casec |> Query.@filter(_.eq_model .== "linIVR") |> DataFrames.DataFrame
rIVR_df = casec |> Query.@filter(_.eq_model .== "rIVR") |> DataFrames.DataFrame
Plots.scatter([linIVR_df.n_bus, rIVR_df.n_bus], [linIVR_df.solve_time, rIVR_df.solve_time], markershape=[:circle :utriangle], label=["IVR - linear" "IVR - nonlinear"], ylabel="Solve time [s]", xlabel="Number of buses [-]",
legend=:bottomright, title="Plot for case study C", yscale=:log)
end
function plot_result_caseD(path_to_caseD_csv::String, which_plot::String)
caseD = CSV.read(path_to_caseD_csv)
x = (caseD.n_meas.-3)/(3*55)*100
if which_plot == "error_ph1"
Plots.scatter([x, x], [caseD.err_max_1, caseD.err_avg_1], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Measured users [%]",
legend=:bottomleft, title="Error plot for case study D - Phase 1", yscale=:log)
elseif which_plot == "error_ph2"
Plots.scatter([x, x], [caseD.err_max_2, caseD.err_avg_2], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Measured users [%]",
legend=:bottomleft, title="Error plot for case study D - Phase 2", yscale=:log)
elseif which_plot == "error_ph3"
Plots.scatter([x, x], [caseD.err_max_3, caseD.err_avg_3], markershape=[:circle :utriangle], label=["max. abs. error" "avg. abs. error"], ylabel="Absolute error ϵ [p.u.]", xlabel="Measured users [%]",
legend=:bottomleft, title="Error plot for case study D - Phase 3", yscale=:log)
else
display("ERROR: plot type $which_plot in argument `which_plot` not recognized. Possibilities are: \"error_ph1\", \"error_ph2\", \"error_ph3\"")
end
end
| [
29113,
29113,
14468,
198,
2,
220,
15069,
33448,
11,
3981,
64,
6656,
259,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
198,
29113,
29113,
14468,
198,
8818,
7110,
62,
20274,
62,
7442,
32,
7,
6978,
62,
1462,
62,
7442,
32,
62,
40664,
3712,
10100,
11,
543,
62,
29487,
3712,
10100,
11,
331,
1084,
3712,
43879,
2414,
11,
331,
9806,
3712,
43879,
2414,
8,
628,
220,
220,
220,
1339,
64,
796,
44189,
13,
961,
7,
6978,
62,
1462,
62,
7442,
32,
62,
40664,
8,
628,
220,
220,
220,
1339,
64,
62,
86,
7278,
796,
1339,
64,
930,
29,
43301,
13,
31,
24455,
28264,
13,
22213,
28019,
764,
855,
366,
86,
7278,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
1339,
64,
62,
31653,
7278,
796,
1339,
64,
930,
29,
43301,
13,
31,
24455,
28264,
13,
22213,
28019,
764,
855,
366,
31653,
7278,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
1339,
64,
62,
31653,
18809,
796,
1339,
64,
930,
29,
43301,
13,
31,
24455,
28264,
13,
22213,
28019,
764,
855,
366,
31653,
18809,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
628,
220,
220,
220,
7125,
47,
62,
7568,
62,
86,
7278,
796,
1339,
64,
62,
86,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
33056,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
7125,
49,
62,
7568,
62,
86,
7278,
796,
1339,
64,
62,
86,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
2246,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
8363,
49,
62,
7568,
62,
86,
7278,
796,
1339,
64,
62,
86,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
628,
220,
220,
220,
7125,
47,
62,
7568,
62,
31653,
7278,
796,
1339,
64,
62,
31653,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
33056,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
7125,
49,
62,
7568,
62,
31653,
7278,
796,
1339,
64,
62,
31653,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
2246,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
8363,
49,
62,
7568,
62,
31653,
7278,
796,
1339,
64,
62,
31653,
7278,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
628,
220,
220,
220,
7125,
47,
62,
7568,
62,
31653,
18809,
796,
1339,
64,
62,
31653,
18809,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
33056,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
7125,
49,
62,
7568,
62,
31653,
18809,
796,
1339,
64,
62,
31653,
18809,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
2246,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
8363,
49,
62,
7568,
62,
31653,
18809,
796,
1339,
64,
62,
31653,
18809,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
628,
220,
220,
220,
611,
543,
62,
29487,
6624,
366,
2435,
1,
198,
220,
220,
220,
220,
220,
220,
220,
279,
16,
796,
1345,
1747,
13,
1416,
1436,
26933,
33056,
62,
7568,
62,
86,
7278,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
86,
7278,
13,
77,
62,
10885,
11,
8363,
49,
62,
7568,
62,
86,
7278,
13,
77,
62,
10885,
4357,
685,
33056,
62,
7568,
62,
86,
7278,
13,
82,
6442,
62,
2435,
11,
7125,
49,
62,
7568,
62,
86,
7278,
13,
82,
6442,
62,
2435,
11,
8363,
49,
62,
7568,
62,
86,
7278,
13,
82,
6442,
62,
2435,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
2554,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
33056,
1,
366,
2246,
49,
1,
366,
3824,
49,
33116,
331,
18242,
2625,
50,
6442,
640,
685,
82,
60,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
9888,
28,
25,
6404,
11,
8177,
28,
9562,
11,
331,
2475,
82,
16193,
88,
1084,
11,
331,
9806,
828,
3670,
2625,
54,
6561,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
279,
17,
796,
1345,
1747,
13,
1416,
1436,
26933,
33056,
62,
7568,
62,
31653,
7278,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
31653,
7278,
13,
77,
62,
10885,
11,
8363,
49,
62,
7568,
62,
31653,
7278,
13,
77,
62,
10885,
4357,
685,
33056,
62,
7568,
62,
31653,
7278,
13,
82,
6442,
62,
2435,
11,
7125,
49,
62,
7568,
62,
31653,
7278,
13,
82,
6442,
62,
2435,
11,
8363,
49,
62,
7568,
62,
31653,
7278,
13,
82,
6442,
62,
2435,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
2554,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
33056,
1,
366,
2246,
49,
1,
366,
3824,
49,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
3506,
11,
331,
9888,
28,
25,
6404,
11,
2124,
18242,
2625,
17618,
286,
16893,
25915,
60,
1600,
331,
2475,
82,
16193,
88,
1084,
11,
331,
9806,
828,
331,
22704,
28,
22366,
11,
3670,
2625,
81,
54,
6561,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
279,
18,
796,
1345,
1747,
13,
1416,
1436,
26933,
33056,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
11,
8363,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
4357,
685,
33056,
62,
7568,
62,
31653,
18809,
13,
82,
6442,
62,
2435,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
82,
6442,
62,
2435,
11,
8363,
49,
62,
7568,
62,
31653,
18809,
13,
82,
6442,
62,
2435,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
2554,
1058,
315,
380,
9248,
4357,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
9562,
11,
331,
9888,
28,
25,
6404,
11,
331,
2475,
82,
16193,
88,
1084,
11,
331,
9806,
828,
331,
22704,
28,
22366,
11,
3670,
2625,
81,
54,
43,
10116,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
29487,
7,
79,
16,
11,
279,
17,
11,
279,
18,
11,
12461,
796,
357,
16,
11,
18,
4008,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
16,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
4357,
685,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
9806,
62,
16,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
615,
70,
62,
16,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
317,
532,
18983,
352,
1600,
331,
2475,
82,
796,
357,
88,
1084,
11,
331,
9806,
4008,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
17,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
4357,
685,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
9806,
62,
17,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
615,
70,
62,
17,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
317,
532,
18983,
362,
1600,
331,
2475,
82,
796,
357,
88,
1084,
11,
331,
9806,
4008,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
18,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
77,
62,
10885,
4357,
685,
2246,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
9806,
62,
18,
11,
7125,
49,
62,
7568,
62,
31653,
18809,
13,
8056,
62,
615,
70,
62,
18,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
317,
532,
18983,
513,
1600,
331,
2475,
82,
796,
357,
88,
1084,
11,
331,
9806,
4008,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
7203,
24908,
25,
7110,
2099,
720,
4758,
62,
29487,
287,
4578,
4600,
4758,
62,
29487,
63,
407,
8018,
13,
29265,
7992,
389,
25,
19990,
2435,
34607,
19990,
18224,
62,
746,
16,
34607,
19990,
18224,
62,
746,
17,
34607,
19990,
18224,
62,
746,
18,
7879,
4943,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
7110,
62,
20274,
62,
7442,
33,
7,
6978,
62,
1462,
62,
7442,
33,
62,
40664,
3712,
10100,
11,
543,
62,
29487,
3712,
10100,
8,
198,
220,
220,
220,
1339,
65,
796,
44189,
13,
961,
7,
6978,
62,
1462,
62,
7442,
33,
62,
40664,
8,
628,
220,
220,
220,
406,
8068,
62,
7568,
796,
1339,
65,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
11163,
18,
37,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
8363,
49,
62,
7568,
796,
1339,
65,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
543,
62,
29487,
6624,
366,
2435,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
3824,
49,
62,
7568,
13,
77,
62,
10885,
11,
406,
8068,
62,
7568,
13,
77,
62,
10885,
4357,
685,
3824,
49,
62,
7568,
13,
82,
6442,
62,
2435,
11,
406,
8068,
62,
7568,
13,
82,
6442,
62,
2435,
4357,
19736,
71,
1758,
41888,
25,
315,
380,
9248,
1058,
67,
8446,
4357,
6167,
28,
14692,
3824,
49,
1,
366,
11163,
18,
37,
33116,
331,
18242,
2625,
50,
6442,
640,
685,
82,
60,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
3506,
11,
3670,
2625,
3,
4758,
62,
29487,
7110,
329,
1339,
2050,
347,
1600,
331,
9888,
28,
25,
6404,
8,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
16,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
43,
8068,
62,
7568,
13,
77,
62,
10885,
11,
406,
8068,
62,
7568,
13,
77,
62,
10885,
4357,
685,
43,
8068,
62,
7568,
13,
8056,
62,
9806,
62,
16,
11,
406,
8068,
62,
7568,
13,
8056,
62,
615,
70,
62,
16,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
347,
532,
18983,
352,
4943,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
17,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
43,
8068,
62,
7568,
13,
77,
62,
10885,
11,
406,
8068,
62,
7568,
13,
77,
62,
10885,
4357,
685,
43,
8068,
62,
7568,
13,
8056,
62,
9806,
62,
17,
11,
406,
8068,
62,
7568,
13,
8056,
62,
615,
70,
62,
17,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
347,
532,
18983,
362,
4943,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
18,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
43,
8068,
62,
7568,
13,
77,
62,
10885,
11,
406,
8068,
62,
7568,
13,
77,
62,
10885,
4357,
685,
43,
8068,
62,
7568,
13,
8056,
62,
9806,
62,
18,
11,
406,
8068,
62,
7568,
13,
8056,
62,
615,
70,
62,
18,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
4852,
3506,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
347,
532,
18983,
513,
4943,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
7203,
24908,
25,
7110,
2099,
720,
4758,
62,
29487,
287,
4578,
4600,
4758,
62,
29487,
63,
407,
8018,
13,
29265,
7992,
389,
25,
19990,
2435,
34607,
19990,
18224,
62,
746,
16,
34607,
19990,
18224,
62,
746,
17,
34607,
19990,
18224,
62,
746,
18,
7879,
4943,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
7110,
62,
20274,
62,
7442,
34,
7,
6978,
62,
1462,
62,
7442,
34,
62,
40664,
3712,
10100,
8,
198,
220,
220,
220,
1339,
66,
796,
44189,
13,
961,
7,
6978,
62,
1462,
62,
7442,
34,
62,
40664,
8,
628,
220,
220,
220,
9493,
3824,
49,
62,
7568,
796,
1339,
66,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
2815,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
198,
220,
220,
220,
374,
3824,
49,
62,
7568,
796,
1339,
66,
930,
29,
43301,
13,
31,
24455,
28264,
13,
27363,
62,
19849,
764,
855,
366,
81,
3824,
49,
4943,
930,
29,
6060,
35439,
13,
6601,
19778,
628,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
2815,
3824,
49,
62,
7568,
13,
77,
62,
10885,
11,
374,
3824,
49,
62,
7568,
13,
77,
62,
10885,
4357,
685,
2815,
3824,
49,
62,
7568,
13,
82,
6442,
62,
2435,
11,
374,
3824,
49,
62,
7568,
13,
82,
6442,
62,
2435,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
3824,
49,
532,
14174,
1,
366,
3824,
49,
532,
1729,
29127,
33116,
331,
18242,
2625,
50,
6442,
640,
685,
82,
60,
1600,
2124,
18242,
2625,
15057,
286,
16893,
25915,
60,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
3506,
11,
3670,
2625,
43328,
329,
1339,
2050,
327,
1600,
331,
9888,
28,
25,
6404,
8,
198,
437,
198,
198,
8818,
7110,
62,
20274,
62,
7442,
35,
7,
6978,
62,
1462,
62,
7442,
35,
62,
40664,
3712,
10100,
11,
543,
62,
29487,
3712,
10100,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1339,
35,
796,
44189,
13,
961,
7,
6978,
62,
1462,
62,
7442,
35,
62,
40664,
8,
628,
220,
220,
220,
2124,
796,
357,
7442,
35,
13,
77,
62,
1326,
292,
7874,
18,
20679,
7,
18,
9,
2816,
27493,
3064,
628,
220,
220,
220,
611,
543,
62,
29487,
6624,
366,
18224,
62,
746,
16,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
87,
11,
2124,
4357,
685,
7442,
35,
13,
8056,
62,
9806,
62,
16,
11,
1339,
35,
13,
8056,
62,
615,
70,
62,
16,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
5308,
34006,
2985,
685,
39850,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
9464,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
360,
532,
18983,
352,
1600,
331,
9888,
28,
25,
6404,
8,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
17,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
87,
11,
2124,
4357,
685,
7442,
35,
13,
8056,
62,
9806,
62,
17,
11,
1339,
35,
13,
8056,
62,
615,
70,
62,
17,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
5308,
34006,
2985,
685,
39850,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
9464,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
360,
532,
18983,
362,
1600,
331,
9888,
28,
25,
6404,
8,
198,
220,
220,
220,
2073,
361,
543,
62,
29487,
6624,
366,
18224,
62,
746,
18,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1345,
1747,
13,
1416,
1436,
26933,
87,
11,
2124,
4357,
685,
7442,
35,
13,
8056,
62,
9806,
62,
18,
11,
1339,
35,
13,
8056,
62,
615,
70,
62,
18,
4357,
19736,
71,
1758,
41888,
25,
45597,
1058,
315,
380,
9248,
4357,
6167,
28,
14692,
9806,
13,
2352,
13,
4049,
1,
366,
615,
70,
13,
2352,
13,
4049,
33116,
331,
18242,
2625,
24849,
3552,
4049,
18074,
113,
685,
79,
13,
84,
8183,
1600,
2124,
18242,
2625,
5308,
34006,
2985,
685,
39850,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8177,
28,
25,
22487,
9464,
11,
3670,
2625,
12331,
7110,
329,
1339,
2050,
360,
532,
18983,
513,
1600,
331,
9888,
28,
25,
6404,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
7203,
24908,
25,
7110,
2099,
720,
4758,
62,
29487,
287,
4578,
4600,
4758,
62,
29487,
63,
407,
8018,
13,
29265,
7992,
389,
25,
19990,
18224,
62,
746,
16,
34607,
19990,
18224,
62,
746,
17,
34607,
19990,
18224,
62,
746,
18,
7879,
4943,
198,
220,
220,
220,
886,
198,
437,
628
] | 2.275598 | 3,389 |
# Get the summary of some numbers in fibonacci sequence.
v = [1,1]
s = 0
while (v[end] < 4000000)
if v[end]%2==0 s+=v[end] end
push!(v, v[end]+v[end-1])
end
println(s)
# 4613732
| [
2,
3497,
262,
10638,
286,
617,
3146,
287,
12900,
261,
44456,
8379,
13,
198,
85,
796,
685,
16,
11,
16,
60,
198,
82,
796,
657,
198,
4514,
357,
85,
58,
437,
60,
1279,
604,
10535,
8,
198,
220,
220,
220,
611,
410,
58,
437,
60,
4,
17,
855,
15,
264,
47932,
85,
58,
437,
60,
886,
198,
220,
220,
220,
4574,
0,
7,
85,
11,
410,
58,
437,
48688,
85,
58,
437,
12,
16,
12962,
198,
437,
198,
35235,
7,
82,
8,
198,
2,
6337,
19708,
2624,
198
] | 2.113636 | 88 |
function objective_min_cost_TNEP(pm::_PM.AbstractPowerModel)
if pm.setting["FSprotection"] == true || pm.setting["NSprotection"] == true
objective_min_cost_TNEP_FSNS(pm)
elseif pm.setting["Permanentloss"] == true
objective_min_cost_TNEP_PL(pm)
end
end
function objective_min_cost_TNEP_nocl(pm::_PM.AbstractPowerModel)
if pm.setting["FSprotection"] == true || pm.setting["NSprotection"] == true
objective_min_cost_TNEP_FSNS_nocl(pm)
elseif pm.setting["Permanentloss"] == true
objective_min_cost_TNEP_PL_nocl(pm)
end
end
function objective_min_cost_TNEP_FSNS_nocl(pm::_PM.AbstractPowerModel)
base_nws = pm.setting["base_list"]
cont_nws = pm.setting["Cont_list"]
Total_sample = pm.setting["Total_sample"]
curt_gen = pm.setting["curtailed_gen"]
max_curt = pm.setting["max_curt"]
year_base = pm.setting["year_base"]
total_year = pm.setting["total_yr"]
gen_cost = Dict()
FFR_cost = Dict()
FCR_cost = Dict()
fail_prob = Dict()
Inv_cost = _PM.var(pm)[:Inv_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Gen_cost = _PM.var(pm)[:Gen_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FFRReserves = _PM.var(pm)[:FFR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FCRReserves = _PM.var(pm)[:FCR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Cont = _PM.var(pm)[:Cont] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Curt = _PM.var(pm)[:curt] = JuMP.@variable(pm.model, [i in 1:total_year], start = 0, lower_bound = 0)
sol_component_value_mod_wonw(pm, :Inv_cost, Inv_cost)
sol_component_value_mod_wonw(pm, :Gen_cost, Gen_cost)
sol_component_value_mod_wonw(pm, :Curt, Curt)
sol_component_value_mod_wonw(pm, :FFR_Reserves, FFRReserves)
sol_component_value_mod_wonw(pm, :FCR_Reserves, FCRReserves)
sol_component_value_mod_wonw(pm, :Cont, Cont)
for (n, nw_ref) in _PM.nws(pm)
for (r, reserves) in nw_ref[:reserves]
FFR_cost[(n,r)] = reserves["Cf"]
FCR_cost[(n,r)] = reserves["Cg"]
end
for (i,gen) in nw_ref[:gen]
pg = _PM.var(pm, n, :pg, i)
if length(gen["cost"]) == 1
gen_cost[(n,i)] = gen["cost"][1]
elseif length(gen["cost"]) == 2
gen_cost[(n,i)] = gen["cost"][1]*pg + gen["cost"][2]
elseif length(gen["cost"]) == 3
gen_cost[(n,i)] = gen["cost"][2]*pg + gen["cost"][3]
else
gen_cost[(n,i)] = 0.0
end
end
end
FFR_list = Dict()
FCR_list = Dict()
for (b,c,br) in cont_nws
FFR_list[(b,c)] = FFR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pff, 2)+
FCR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pgg, 2)
# a_ub, a_lb = _IM.variable_domain(_PM.var(pm, c, :Pff, 2))
# display("a_ub:$a_ub a_lb:$a_lb")
end
Zff = _PM.var(pm)[:Zff] = Dict((b, c) => JuMP.@variable(pm.model, base_name = "zff[$(string(b)),$(string(c))]", binary = true, start = 0) for (b, c, br) in cont_nws)
sol_component_value_mod_wonw(pm, :Zff, Zff)
#maximum out of onshore converters
FFRReserves_max = _PM.var(pm)[:FFRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FFRReserves_max", start = 0)
FCRReserves_max = _PM.var(pm)[:FCRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FCRReserves_max", start = 0)
for b in base_nws
sol_component_value_mod(pm, b, :FFRReserves_max, FFRReserves_max[b])
sol_component_value_mod(pm, b, :FCRReserves_max, FCRReserves_max[b])
end
base_cont= Dict()
for b in base_nws
# [item for item in a if item[2] == 4]
base_cont = [tt for tt in cont_nws if tt[1] == b]
####_PM.var(pm)[:Zff] = JuMP.@variable(pm.model, [(z,w) in base_cont], base_name="zff", binary = true, start = 0 ) #just one variable, how to create multiple with an index
for (z,w) in base_cont
display(JuMP.@constraint(pm.model, FFRReserves_max[b] >= FFR_list[(z,w)] ))
display(JuMP.@constraint(pm.model, FFRReserves_max[b] <= FFR_list[(z,w)] + 100*(1-Zff[(z,w)])))
end
display(JuMP.@constraint(pm.model, sum(Zff[(z,w)] for (z, w) in base_cont) == 1 ) )
end
Scale = 8760*5/Total_sample # 5 for no. of gap years between two time steps
# multiperiod
JuMP.@constraint(pm.model, Inv_cost == sum(sum(conv["cost"]*_PM.var(pm, 1, :conv_ne, i) for (i,conv) in _PM.nws(pm)[1][:convdc_ne]) for (n, nw_ref) in _PM.nws(pm)) +
sum(sum(branch["cost"]*_PM.var(pm, 1, :branchdc_ne, i) for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]) for (n, nw_ref) in _PM.nws(pm)) )
JuMP.@constraint(pm.model, Gen_cost == sum(sum(Scale/10^6*gen_cost[(b,i)] for (i,gen) in _PM.nws(pm)[b][:gen]) for b in base_nws) )
JuMP.@constraint(pm.model, FFRReserves == Scale*sum(FFRReserves_max[b] for b in base_nws) )
JuMP.@constraint(pm.model, FCRReserves == Scale*sum(FCRReserves_max[b] for b in base_nws) )
# display(JuMP.@constraint(pm.model, FCRReserves == sum(FCR_cost[(c,2)]*100*Scale/10^6*_PM.var(pm, c, :Pgg, 2) for (b,c,br) in cont_nws) ) )
display(JuMP.@constraint(pm.model, Cont == sum(_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, b, :branchdc_ne, br)*
(Scale/10^6*gen_cost[(c,3)] - Scale/10^6*gen_cost[(b,3)]) for (b,c,br) in cont_nws) ) )
curtailment = Dict()
capacity = Dict()
for b in base_nws
for c in curt_gen
curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
end
end
for y = 1:total_year
JuMP.@constraint(pm.model, Curt[y] == sum(sum(curtailment[(b,c)] for c in curt_gen) for b in year_base[y]) / sum(sum(capacity[(b,c)] for c in curt_gen) for b in year_base[y]) )
JuMP.@constraint(pm.model, Curt[y] <= max_curt)
end
return JuMP.@objective(pm.model, Min, Inv_cost + Gen_cost + FFRReserves + FCRReserves + Cont - Gen_cost)
end
function objective_min_cost_TNEP_FSNS(pm::_PM.AbstractPowerModel)
display("objective_min_cost_TNEP_FSNS")
base_nws = pm.setting["base_list"]
cont_nws = pm.setting["Cont_list"]
Total_sample = pm.setting["Total_sample"]
curt_gen = pm.setting["curtailed_gen"]
max_curt = pm.setting["max_curt"]
year_base = pm.setting["year_base"]
total_year = pm.setting["total_yr"]
gen_cost = Dict()
FFR_cost = Dict()
FCR_cost = Dict()
fail_prob = Dict()
Inv_cost = _PM.var(pm)[:Inv_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Gen_cost = _PM.var(pm)[:Gen_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FFRReserves = _PM.var(pm)[:FFR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FCRReserves = _PM.var(pm)[:FCR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Curt = _PM.var(pm)[:curt] = JuMP.@variable(pm.model, start = 0)
Cont = _PM.var(pm)[:Cont] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
weights = pm.setting["weights"]
sol_component_value_mod_wonw(pm, :Inv_cost, Inv_cost)
sol_component_value_mod_wonw(pm, :Gen_cost, Gen_cost)
sol_component_value_mod_wonw(pm, :FFR_Reserves, FFRReserves)
sol_component_value_mod_wonw(pm, :FCR_Reserves, FCRReserves)
sol_component_value_mod_wonw(pm, :Cont, Cont)
sol_component_value_mod_wonw(pm, :Curt, Curt)
for (n, nw_ref) in _PM.nws(pm)
for (r, reserves) in nw_ref[:reserves]
FFR_cost[(n,r)] = reserves["Cf"]
FCR_cost[(n,r)] = reserves["Cg"]
end
for (i,gen) in nw_ref[:gen]
pg = _PM.var(pm, n, :pg, i)
if length(gen["cost"]) == 1
gen_cost[(n,i)] = gen["cost"][1]
elseif length(gen["cost"]) == 2
gen_cost[(n,i)] = gen["cost"][1]*pg + gen["cost"][2]
elseif length(gen["cost"]) == 3
gen_cost[(n,i)] = gen["cost"][2]*pg + gen["cost"][3]
else
gen_cost[(n,i)] = 0.0
end
end
end
FFR_list = Dict()
FCR_list = Dict()
for (b,c,br) in cont_nws
FFR_list[(b,c)] = FFR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pff, 2)+
FCR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pgg, 2)
# a_ub, a_lb = _IM.variable_domain(_PM.var(pm, c, :Pff, 2))
# display("a_ub:$a_ub a_lb:$a_lb")
end
Zff = _PM.var(pm)[:Zff] = Dict((b, c) => JuMP.@variable(pm.model, base_name = "zff[$(string(b)),$(string(c))]", binary = true, start = 0) for (b, c, br) in cont_nws)
sol_component_value_mod_wonw(pm, :Zff, Zff)
# _IM.sol_component_value(pm, nw, :reserves, :Zff, base_nws, Zff)
FFRReserves_max = _PM.var(pm)[:FFRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FFRReserves_max", start = 0)
FCRReserves_max = _PM.var(pm)[:FCRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FCRReserves_max", start = 0)
for b in base_nws
sol_component_value_mod(pm, b, :FFRReserves_max, FFRReserves_max[b])
sol_component_value_mod(pm, b, :FCRReserves_max, FCRReserves_max[b])
end
base_cont= Dict()
for b in base_nws
# [item for item in a if item[2] == 4]
base_cont = [tt for tt in cont_nws if tt[1] == b]
####_PM.var(pm)[:Zff] = JuMP.@variable(pm.model, [(z,w) in base_cont], base_name="zff", binary = true, start = 0 ) #just one variable, how to create multiple with an index
for (z,w) in base_cont
JuMP.@constraint(pm.model, FFRReserves_max[b] >= FFR_list[(z,w)] )
JuMP.@constraint(pm.model, FFRReserves_max[b] <= FFR_list[(z,w)] + 100*(1-Zff[(z,w)]))
end
JuMP.@constraint(pm.model, sum(Zff[(z,w)] for (z, w) in base_cont) == 1 )
end
Scale = 8760*10 # 5 for no. of gap years between two time steps
# for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]
# display(branch["cost"])
# end
#
# for (i,conv) in _PM.nws(pm)[1][:convdc_ne]
# display(conv["cost"])
# end
# display(gen_cost)
JuMP.@constraint(pm.model, Inv_cost == sum(sum(conv["cost"]*_PM.var(pm, 1, :conv_ne, i) for (i,conv) in _PM.nws(pm)[1][:convdc_ne]) for (n, nw_ref) in _PM.nws(pm)) +
sum(sum(branch["cost"]*_PM.var(pm, 1, :branchdc_ne, i) for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]) for (n, nw_ref) in _PM.nws(pm)) )
JuMP.@constraint(pm.model, Gen_cost == sum(weights[b]*sum(Scale/10^6*gen_cost[(b,i)] for (i,gen) in _PM.nws(pm)[b][:gen]) for b in base_nws) )
# display(JuMP.@constraint(pm.model, FFRReserves == sum(FFR_cost[(c,2)]*100*Scale/10^6* _PM.var(pm, c, :Pff, 2) for (b,c,br) in cont_nws) ))
JuMP.@constraint(pm.model, FFRReserves == Scale*sum(weights[b]*FFRReserves_max[b] for b in base_nws) )
JuMP.@constraint(pm.model, FCRReserves == Scale*sum(weights[b]*FCRReserves_max[b] for b in base_nws) )
# display(JuMP.@constraint(pm.model, FCRReserves == sum(FCR_cost[(c,2)]*100*Scale/10^6*_PM.var(pm, c, :Pgg, 2) for (b,c,br) in cont_nws) ) )
# print(JuMP.@constraint(pm.model, Cont == sum( sum( (Scale/10^6) *gen_cost[(c,i)]*_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, 1, :branchdc_ne, br)
# for i in curt_gen)
# for (b,c,br) in cont_nws) ) )
# display(JuMP.@constraint(pm.model, Cont == sum(weights[b]*_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, b, :branchdc_ne, br)*
# (Scale/10^6*gen_cost[(c,3)] - Scale/10^6*gen_cost[(b,3)]) for (b,c,br) in cont_nws) ) )
curtailment = Dict()
capacity = Dict()
#
# for b in base_nws
# for c in curt_gen
# curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
# # curtailment[(b,c)] = _PM.var(pm, b, :pg, c)
# capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
# end
# end
curtailment = Dict()
capacity = Dict()
for b in base_nws
for c in curt_gen
curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
end
end
for y = 1:total_year
JuMP.@constraint(pm.model, Curt[y] == sum(sum(curtailment[(b,c)] for c in curt_gen) for b in year_base[y]) / sum(sum(capacity[(b,c)] for c in curt_gen) for b in year_base[y]) )
# JuMP.@constraint(pm.model, Curt[y] <= max_curt)
end
return JuMP.@objective(pm.model, Min, Inv_cost + FFRReserves + FCRReserves + Gen_cost)
end
function objective_min_cost_TNEP_PL_nocl(pm::_PM.AbstractPowerModel)
base_nws = pm.setting["base_list"]
cont_nws = pm.setting["Cont_list"]
Total_sample = pm.setting["Total_sample"]
curt_gen = pm.setting["curtailed_gen"]
max_curt = pm.setting["max_curt"]
year_base = pm.setting["year_base"]
total_year = pm.setting["total_yr"]
weights = pm.setting["weights"]
gen_cost = Dict()
FFR_cost = Dict()
FCR_cost = Dict()
fail_prob = Dict()
Inv_cost = _PM.var(pm)[:Inv_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Gen_cost = _PM.var(pm)[:Gen_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FFRReserves = _PM.var(pm)[:FFR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FCRReserves = _PM.var(pm)[:FCR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Cont = _PM.var(pm)[:Cont] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Curt = _PM.var(pm)[:curt] = JuMP.@variable(pm.model, [i in 1:total_year], start = 0, lower_bound = 0)
sol_component_value_mod_wonw(pm, :Inv_cost, Inv_cost)
sol_component_value_mod_wonw(pm, :Gen_cost, Gen_cost)
sol_component_value_mod_wonw(pm, :Curt, Curt)
sol_component_value_mod_wonw(pm, :FFR_Reserves, FFRReserves)
sol_component_value_mod_wonw(pm, :FCR_Reserves, FCRReserves)
sol_component_value_mod_wonw(pm, :Cont, Cont)
for (n, nw_ref) in _PM.nws(pm)
for (r, reserves) in nw_ref[:reserves]
FFR_cost[(n,r)] = reserves["Cf"]
FCR_cost[(n,r)] = reserves["Cg"]
end
for (i,gen) in nw_ref[:gen]
pg = _PM.var(pm, n, :pg, i)
if length(gen["cost"]) == 1
gen_cost[(n,i)] = gen["cost"][1]
elseif length(gen["cost"]) == 2
gen_cost[(n,i)] = gen["cost"][1]*pg + gen["cost"][2]
elseif length(gen["cost"]) == 3
gen_cost[(n,i)] = gen["cost"][2]*pg + gen["cost"][3]
else
gen_cost[(n,i)] = 0.0
end
end
end
Scale = 8760/Total_sample*5 # 5 for no. of gap years between two time steps
JuMP.@constraint(pm.model, Inv_cost == sum(sum(conv["cost"]*_PM.var(pm, 1, :conv_ne, i) for (i,conv) in _PM.nws(pm)[1][:convdc_ne]) for (n, nw_ref) in _PM.nws(pm)) +
sum(sum(branch["cost"]*_PM.var(pm, 1, :branchdc_ne, i) for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]) for (n, nw_ref) in _PM.nws(pm)) )
JuMP.@constraint(pm.model, Gen_cost == sum(sum(Scale/10^6*gen_cost[(b,i)] for (i,gen) in _PM.nws(pm)[b][:gen]) for b in base_nws) )
JuMP.@constraint(pm.model, FFRReserves == sum(FFR_cost[(c,2)]*100*Scale/10^6* _PM.var(pm, c, :Pff, 2) for (b,c,br) in cont_nws) )
JuMP.@constraint(pm.model, FCRReserves == sum(FCR_cost[(c,2)]*100*Scale/10^6*_PM.var(pm, c, :Pgg, 2) for (b,c,br) in cont_nws) )
JuMP.@constraint(pm.model, Cont == sum(_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, b, :branchdc_ne, br)*
(Scale/10^6*gen_cost[(c,3)] - Scale/10^6*gen_cost[(b,3)]) for (b,c,br) in cont_nws) )
curtailment = Dict()
capacity = Dict()
for b in base_nws
for c in curt_gen
curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
end
end
for y = 1:total_year
JuMP.@constraint(pm.model, Curt[y] == sum(sum(curtailment[(b,c)] for c in curt_gen) for b in year_base[y]) / sum(sum(capacity[(b,c)] for c in curt_gen) for b in year_base[y]) )
# JuMP.@constraint(pm.model, Curt[y] <= max_curt)
end
return display( JuMP.@objective(pm.model, Min, Inv_cost + Gen_cost + FFRReserves + FCRReserves + Cont ) )
end
function objective_min_cost_TNEP_PL(pm::_PM.AbstractPowerModel)
base_nws = pm.setting["base_list"]
cont_nws = pm.setting["Cont_list"]
Total_sample = pm.setting["Total_sample"]
curt_gen = pm.setting["curtailed_gen"]
max_curt = pm.setting["max_curt"]
year_base = pm.setting["year_base"]
total_year = pm.setting["total_yr"]
gen_cost = Dict()
FFR_cost = Dict()
FCR_cost = Dict()
fail_prob = Dict()
Inv_cost = _PM.var(pm)[:Inv_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Gen_cost = _PM.var(pm)[:Gen_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FFRReserves = _PM.var(pm)[:FFR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FCRReserves = _PM.var(pm)[:FCR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Curt = _PM.var(pm)[:curt] = JuMP.@variable(pm.model, start = 0)
Cont = _PM.var(pm)[:Cont] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
weights = pm.setting["weights"]
sol_component_value_mod_wonw(pm, :Inv_cost, Inv_cost)
sol_component_value_mod_wonw(pm, :Gen_cost, Gen_cost)
sol_component_value_mod_wonw(pm, :FFR_Reserves, FFRReserves)
sol_component_value_mod_wonw(pm, :FCR_Reserves, FCRReserves)
sol_component_value_mod_wonw(pm, :Cont, Cont)
sol_component_value_mod_wonw(pm, :Curt, Curt)
for (n, nw_ref) in _PM.nws(pm)
for (r, reserves) in nw_ref[:reserves]
FFR_cost[(n,r)] = reserves["Cf"]
FCR_cost[(n,r)] = reserves["Cg"]
end
for (i,gen) in nw_ref[:gen]
pg = _PM.var(pm, n, :pg, i)
if length(gen["cost"]) == 1
gen_cost[(n,i)] = gen["cost"][1]
elseif length(gen["cost"]) == 2
gen_cost[(n,i)] = gen["cost"][1]*pg + gen["cost"][2]
elseif length(gen["cost"]) == 3
gen_cost[(n,i)] = gen["cost"][2]*pg + gen["cost"][3]
else
gen_cost[(n,i)] = 0.0
end
end
end
FFR_list = Dict()
FCR_list = Dict()
for (b,c,br) in cont_nws
FFR_list[(b,c)] = FFR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pff, 2)+
FCR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pgg, 2)
# a_ub, a_lb = _IM.variable_domain(_PM.var(pm, c, :Pff, 2))
# display("a_ub:$a_ub a_lb:$a_lb")
end
Zff = _PM.var(pm)[:Zff] = Dict((b, c) => JuMP.@variable(pm.model, base_name = "zff[$(string(b)),$(string(c))]", binary = true, start = 0) for (b, c, br) in cont_nws)
sol_component_value_mod_wonw(pm, :Zff, Zff)
# _IM.sol_component_value(pm, nw, :reserves, :Zff, base_nws, Zff)
FFRReserves_max = _PM.var(pm)[:FFRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FFRReserves_max", start = 0)
FCRReserves_max = _PM.var(pm)[:FCRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FCRReserves_max", start = 0)
for b in base_nws
sol_component_value_mod(pm, b, :FFRReserves_max, FFRReserves_max[b])
sol_component_value_mod(pm, b, :FCRReserves_max, FCRReserves_max[b])
end
base_cont= Dict()
for b in base_nws
# [item for item in a if item[2] == 4]
base_cont = [tt for tt in cont_nws if tt[1] == b]
####_PM.var(pm)[:Zff] = JuMP.@variable(pm.model, [(z,w) in base_cont], base_name="zff", binary = true, start = 0 ) #just one variable, how to create multiple with an index
for (z,w) in base_cont
JuMP.@constraint(pm.model, FFRReserves_max[b] >= FFR_list[(z,w)] )
JuMP.@constraint(pm.model, FFRReserves_max[b] <= FFR_list[(z,w)] + 100*(1-Zff[(z,w)]))
end
JuMP.@constraint(pm.model, sum(Zff[(z,w)] for (z, w) in base_cont) == 1 )
end
Scale = 8760*10 # 5 for no. of gap years between two time steps
# for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]
# display(branch["cost"])
# end
#
# for (i,conv) in _PM.nws(pm)[1][:convdc_ne]
# display(conv["cost"])
# end
# display(gen_cost)
JuMP.@constraint(pm.model, Inv_cost == sum(sum(conv["cost"]*_PM.var(pm, 1, :conv_ne, i) for (i,conv) in _PM.nws(pm)[1][:convdc_ne]) for (n, nw_ref) in _PM.nws(pm)) +
sum(sum(branch["cost"]*_PM.var(pm, 1, :branchdc_ne, i) for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]) for (n, nw_ref) in _PM.nws(pm)) )
JuMP.@constraint(pm.model, Gen_cost == sum(weights[b]*sum(Scale/10^6*gen_cost[(b,i)] for (i,gen) in _PM.nws(pm)[b][:gen]) for b in base_nws) )
# display(JuMP.@constraint(pm.model, FFRReserves == sum(FFR_cost[(c,2)]*100*Scale/10^6* _PM.var(pm, c, :Pff, 2) for (b,c,br) in cont_nws) ))
JuMP.@constraint(pm.model, FFRReserves == Scale*sum(weights[b]*FFRReserves_max[b] for b in base_nws) )
JuMP.@constraint(pm.model, FCRReserves == Scale*sum(weights[b]*FCRReserves_max[b] for b in base_nws) )
# display(JuMP.@constraint(pm.model, FCRReserves == sum(FCR_cost[(c,2)]*100*Scale/10^6*_PM.var(pm, c, :Pgg, 2) for (b,c,br) in cont_nws) ) )
# print(JuMP.@constraint(pm.model, Cont == sum( sum( (Scale/10^6) *gen_cost[(c,i)]*_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, 1, :branchdc_ne, br)
# for i in curt_gen)
# for (b,c,br) in cont_nws) ) )
# display(JuMP.@constraint(pm.model, Cont == sum(weights[b]*_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, b, :branchdc_ne, br)*
# (Scale/10^6*gen_cost[(c,3)] - Scale/10^6*gen_cost[(b,3)]) for (b,c,br) in cont_nws) ) )``
curtailment = Dict()
capacity = Dict()
#
# for b in base_nws
# for c in curt_gen
# curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
# # curtailment[(b,c)] = _PM.var(pm, b, :pg, c)
# capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
# end
# end
curtailment = Dict()
capacity = Dict()
for b in base_nws
for c in curt_gen
curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
end
end
for y = 1:total_year
JuMP.@constraint(pm.model, Curt[y] == sum(sum(curtailment[(b,c)] for c in curt_gen) for b in year_base[y]) / sum(sum(capacity[(b,c)] for c in curt_gen) for b in year_base[y]) )
# JuMP.@constraint(pm.model, Curt[y] <= max_curt)
end
return display( JuMP.@objective(pm.model, Min, Inv_cost + Gen_cost + FFRReserves + FCRReserves) )
end
function objective_min_cost_TNEP_FSNS_rev1(pm::_PM.AbstractPowerModel)
base_nws = pm.setting["base_list"]
cont_nws = pm.setting["Cont_list"]
Total_sample = pm.setting["Total_sample"]
curt_gen = pm.setting["curtailed_gen"]
max_curt = pm.setting["max_curt"]
year_base = pm.setting["year_base"]
total_year = pm.setting["total_yr"]
gen_cost = Dict()
FFR_cost = Dict()
FCR_cost = Dict()
fail_prob = Dict()
Inv_cost = _PM.var(pm)[:Inv_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Gen_cost = _PM.var(pm)[:Gen_cost] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FFRReserves = _PM.var(pm)[:FFR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
FCRReserves = _PM.var(pm)[:FCR_Reserves] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
Curt = _PM.var(pm)[:curt] = JuMP.@variable(pm.model, start = 0)
Cont = _PM.var(pm)[:Cont] = JuMP.@variable(pm.model, start = 0, lower_bound = 0)
weights = pm.setting["weights"]
sol_component_value_mod_wonw(pm, :Inv_cost, Inv_cost)
sol_component_value_mod_wonw(pm, :Gen_cost, Gen_cost)
sol_component_value_mod_wonw(pm, :FFR_Reserves, FFRReserves)
sol_component_value_mod_wonw(pm, :FCR_Reserves, FCRReserves)
sol_component_value_mod_wonw(pm, :Cont, Cont)
for (n, nw_ref) in _PM.nws(pm)
for (r, reserves) in nw_ref[:reserves]
FFR_cost[(n,r)] = reserves["Cf"]
FCR_cost[(n,r)] = reserves["Cg"]
end
for (i,gen) in nw_ref[:gen]
pg = _PM.var(pm, n, :pg, i)
if length(gen["cost"]) == 1
gen_cost[(n,i)] = gen["cost"][1]
elseif length(gen["cost"]) == 2
gen_cost[(n,i)] = gen["cost"][1]*pg + gen["cost"][2]
elseif length(gen["cost"]) == 3
gen_cost[(n,i)] = gen["cost"][2]*pg + gen["cost"][3]
else
gen_cost[(n,i)] = 0.0
end
end
end
FFR_list = Dict()
FCR_list = Dict()
for (b,c,br) in cont_nws
FFR_list[(b,c)] = FFR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pff, 2)+
FCR_cost[(c,2)]*100/10^6*_PM.var(pm, c, :Pgg, 2)
# a_ub, a_lb = _IM.variable_domain(_PM.var(pm, c, :Pff, 2))
# display("a_ub:$a_ub a_lb:$a_lb")
end
Zff = _PM.var(pm)[:Zff] = Dict((b, c) => JuMP.@variable(pm.model, base_name = "zff[$(string(b)),$(string(c))]", binary = true, start = 0) for (b, c, br) in cont_nws)
sol_component_value_mod_wonw(pm, :Zff, Zff)
# _IM.sol_component_value(pm, nw, :reserves, :Zff, base_nws, Zff)
FFRReserves_max = _PM.var(pm)[:FFRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FFRReserves_max", start = 0)
FCRReserves_max = _PM.var(pm)[:FCRReserves_max] = JuMP.@variable(pm.model, [b in base_nws], base_name ="FCRReserves_max", start = 0)
for b in base_nws
sol_component_value_mod(pm, b, :FFRReserves_max, FFRReserves_max[b])
sol_component_value_mod(pm, b, :FCRReserves_max, FCRReserves_max[b])
end
base_cont= Dict()
for b in base_nws
# [item for item in a if item[2] == 4]
base_cont = [tt for tt in cont_nws if tt[1] == b]
####_PM.var(pm)[:Zff] = JuMP.@variable(pm.model, [(z,w) in base_cont], base_name="zff", binary = true, start = 0 ) #just one variable, how to create multiple with an index
for (z,w) in base_cont
JuMP.@constraint(pm.model, FFRReserves_max[b] >= FFR_list[(z,w)] )
JuMP.@constraint(pm.model, FFRReserves_max[b] <= FFR_list[(z,w)] + 100*(1-Zff[(z,w)]))
end
JuMP.@constraint(pm.model, sum(Zff[(z,w)] for (z, w) in base_cont) == 1 )
end
Scale = 8760*10 # 5 for no. of gap years between two time steps
JuMP.@constraint(pm.model, Inv_cost == sum(sum(conv["cost"]*_PM.var(pm, 1, :conv_ne, i) for (i,conv) in _PM.nws(pm)[1][:convdc_ne]) for (n, nw_ref) in _PM.nws(pm)) +
sum(sum(branch["cost"]*_PM.var(pm, 1, :branchdc_ne, i) for (i,branch) in _PM.nws(pm)[1][:branchdc_ne]) for (n, nw_ref) in _PM.nws(pm)) )
display(JuMP.@constraint(pm.model, Gen_cost == sum(weights[b]*sum(Scale/10^6*gen_cost[(b,i)] for i in curt_gen) for b in base_nws) ) )
# display(JuMP.@constraint(pm.model, FFRReserves == sum(FFR_cost[(c,2)]*100*Scale/10^6* _PM.var(pm, c, :Pff, 2) for (b,c,br) in cont_nws) ))
JuMP.@constraint(pm.model, FFRReserves == Scale*sum(weights[b]*FFRReserves_max[b] for b in base_nws) )
JuMP.@constraint(pm.model, FCRReserves == Scale*sum(weights[b]*FCRReserves_max[b] for b in base_nws) )
# JuMP.@constraint(pm.model, Cont == sum(weights[b]*_PM.ref(pm, b, :branchdc_ne, br)["fail_prob"]*_PM.var(pm, b, :branchdc_ne, br)*
# (Scale/10^6*(gen_cost[(c,1)] + gen_cost[(c,2)]) - Scale/10^6*(gen_cost[(b,1)]+gen_cost[(b,2)]) ]) for (b,c,br) in cont_nws) )
curtailment = Dict()
capacity = Dict()
# for b in base_nws
# for c in curt_gen
# curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
# # curtailment[(b,c)] = _PM.var(pm, b, :pg, c)
# capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
# end
# end
# curtailment = Dict()
# capacity = Dict()
# for b in base_nws
# for c in curt_gen
# curtailment[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c)) - _PM.var(pm, b, :pg, c)
# capacity[(b,c)] = JuMP.upper_bound(_PM.var(pm, b, :pg, c))
# end
# end
# for y = 1:total_year
# JuMP.@constraint(pm.model, Curt[y] == sum(sum(curtailment[(b,c)] for c in curt_gen) for b in year_base[y]) / sum(sum(capacity[(b,c)] for c in curt_gen) for b in year_base[y]) )
# JuMP.@constraint(pm.model, Curt[y] <= max_curt)
# end
display("objective_min_cost_TNEP_FSNS_rev1")
return JuMP.@objective(pm.model, Min, FFRReserves + FCRReserves + Inv_cost - Gen_cost)
end
| [
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
220,
220,
220,
611,
9114,
13,
33990,
14692,
10652,
42846,
8973,
6624,
2081,
8614,
9114,
13,
33990,
14692,
8035,
42846,
8973,
6624,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
7,
4426,
8,
198,
220,
220,
220,
2073,
361,
220,
9114,
13,
33990,
14692,
47,
30312,
22462,
8973,
6624,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
6489,
7,
4426,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
77,
38679,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
220,
220,
220,
611,
9114,
13,
33990,
14692,
10652,
42846,
8973,
6624,
2081,
8614,
9114,
13,
33990,
14692,
8035,
42846,
8973,
6624,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
62,
77,
38679,
7,
4426,
8,
198,
220,
220,
220,
2073,
361,
220,
9114,
13,
33990,
14692,
47,
30312,
22462,
8973,
6624,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
6489,
62,
77,
38679,
7,
4426,
8,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
62,
77,
38679,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
8692,
62,
4868,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
542,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
4264,
62,
4868,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
7472,
62,
39873,
796,
9114,
13,
33990,
14692,
14957,
62,
39873,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
83,
62,
5235,
796,
9114,
13,
33990,
14692,
66,
3325,
6255,
62,
5235,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
66,
3325,
796,
9114,
13,
33990,
14692,
9806,
62,
66,
3325,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
614,
62,
8692,
796,
9114,
13,
33990,
14692,
1941,
62,
8692,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
1941,
796,
9114,
13,
33990,
14692,
23350,
62,
2417,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
15805,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2038,
62,
1676,
65,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10001,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
19904,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5215,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
13746,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2345,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4264,
60,
220,
220,
220,
220,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19569,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
66,
3325,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
72,
287,
352,
25,
23350,
62,
1941,
4357,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
19904,
62,
15805,
11,
10001,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
13746,
62,
15805,
11,
5215,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
34,
3325,
11,
19569,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
5777,
49,
62,
4965,
11184,
11,
376,
10913,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4851,
49,
62,
4965,
11184,
11,
376,
9419,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4264,
11,
2345,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
81,
11,
14072,
8,
287,
299,
86,
62,
5420,
58,
25,
411,
11184,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
69,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
70,
8973,
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,
357,
72,
11,
5235,
8,
287,
299,
86,
62,
5420,
58,
25,
5235,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23241,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
299,
11,
1058,
6024,
11,
1312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
17,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
18,
60,
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,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
657,
13,
15,
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,
376,
10913,
62,
4868,
796,
220,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
4868,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
58,
7,
65,
11,
66,
15437,
796,
376,
10913,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
47762,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
257,
62,
549,
11,
257,
62,
23160,
796,
4808,
3955,
13,
45286,
62,
27830,
28264,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7203,
64,
62,
549,
25,
3,
64,
62,
549,
257,
62,
23160,
25,
3,
64,
62,
23160,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
1168,
487,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
360,
713,
19510,
65,
11,
269,
8,
5218,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
2779,
62,
3672,
796,
366,
89,
487,
58,
3,
7,
8841,
7,
65,
36911,
3,
7,
8841,
7,
66,
4008,
60,
1600,
13934,
796,
2081,
11,
923,
796,
657,
8,
329,
357,
65,
11,
269,
11,
865,
8,
287,
542,
62,
77,
18504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
1058,
57,
487,
11,
1168,
487,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
47033,
503,
286,
319,
14640,
6718,
1010,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
5777,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
4851,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
5777,
49,
4965,
11184,
62,
9806,
11,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
4851,
49,
4965,
11184,
62,
9806,
11,
376,
9419,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
28,
360,
713,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
685,
9186,
329,
2378,
287,
257,
611,
2378,
58,
17,
60,
6624,
604,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
796,
685,
926,
329,
256,
83,
287,
542,
62,
77,
18504,
611,
256,
83,
58,
16,
60,
6624,
275,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
62,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
47527,
89,
11,
86,
8,
287,
2779,
62,
3642,
4357,
2779,
62,
3672,
2625,
89,
487,
1600,
13934,
796,
2081,
11,
923,
796,
657,
1267,
1303,
3137,
530,
7885,
11,
703,
284,
2251,
3294,
351,
281,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
89,
11,
86,
8,
287,
2779,
62,
3642,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
220,
18189,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
19841,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1343,
1802,
9,
7,
16,
12,
57,
487,
58,
7,
89,
11,
86,
15437,
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,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
2160,
7,
57,
487,
58,
7,
89,
11,
86,
15437,
329,
357,
89,
11,
266,
8,
287,
2779,
62,
3642,
8,
6624,
352,
1267,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
21589,
796,
10083,
1899,
9,
20,
14,
14957,
62,
39873,
1303,
642,
329,
645,
13,
286,
7625,
812,
1022,
734,
640,
4831,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5021,
41007,
628,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
10001,
62,
15805,
6624,
2160,
7,
16345,
7,
42946,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
42946,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1343,
198,
197,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
16345,
7,
1671,
3702,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1267,
198,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
5215,
62,
15805,
6624,
2160,
7,
16345,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
72,
15437,
329,
357,
72,
11,
5235,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
65,
7131,
25,
5235,
12962,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
21589,
9,
16345,
7,
5777,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
21589,
9,
16345,
7,
4851,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
628,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
220,
2160,
7,
4851,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
198,
197,
197,
13812,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
28264,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
27493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
197,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
66,
11,
18,
15437,
532,
21589,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
18,
8,
12962,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
628,
220,
220,
220,
220,
220,
45962,
434,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
5339,
796,
360,
713,
3419,
628,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5339,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
329,
331,
796,
352,
25,
23350,
62,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
6624,
2160,
7,
16345,
7,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
1220,
2160,
7,
16345,
7,
42404,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
19841,
3509,
62,
66,
3325,
8,
198,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
220,
12585,
7378,
13,
31,
15252,
425,
7,
4426,
13,
19849,
11,
1855,
11,
10001,
62,
15805,
1343,
5215,
62,
15805,
1343,
376,
10913,
4965,
11184,
1343,
376,
9419,
4965,
11184,
1343,
2345,
532,
5215,
62,
15805,
8,
198,
437,
198,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
197,
13812,
7203,
15252,
425,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
4943,
198,
197,
8692,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
8692,
62,
4868,
8973,
198,
197,
3642,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
4264,
62,
4868,
8973,
198,
197,
14957,
62,
39873,
796,
9114,
13,
33990,
14692,
14957,
62,
39873,
8973,
198,
197,
66,
3325,
62,
5235,
796,
9114,
13,
33990,
14692,
66,
3325,
6255,
62,
5235,
8973,
198,
197,
9806,
62,
66,
3325,
796,
9114,
13,
33990,
14692,
9806,
62,
66,
3325,
8973,
198,
197,
1941,
62,
8692,
796,
9114,
13,
33990,
14692,
1941,
62,
8692,
8973,
198,
197,
23350,
62,
1941,
796,
9114,
13,
33990,
14692,
23350,
62,
2417,
8973,
628,
197,
5235,
62,
15805,
796,
360,
713,
3419,
198,
197,
5777,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
4851,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
32165,
62,
1676,
65,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10001,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
19904,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5215,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
13746,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19569,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
66,
3325,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2345,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4264,
60,
220,
220,
220,
220,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19590,
796,
9114,
13,
33990,
14692,
43775,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
19904,
62,
15805,
11,
10001,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
13746,
62,
15805,
11,
5215,
62,
15805,
8,
198,
197,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
5777,
49,
62,
4965,
11184,
11,
376,
10913,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4851,
49,
62,
4965,
11184,
11,
376,
9419,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4264,
11,
2345,
8,
198,
197,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
34,
3325,
11,
19569,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
81,
11,
14072,
8,
287,
299,
86,
62,
5420,
58,
25,
411,
11184,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
69,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
70,
8973,
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,
220,
329,
357,
72,
11,
5235,
8,
287,
299,
86,
62,
5420,
58,
25,
5235,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23241,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
299,
11,
1058,
6024,
11,
1312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
17,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
18,
60,
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,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
657,
13,
15,
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,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
796,
220,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
4868,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
58,
7,
65,
11,
66,
15437,
796,
376,
10913,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
47762,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
257,
62,
549,
11,
257,
62,
23160,
796,
4808,
3955,
13,
45286,
62,
27830,
28264,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7203,
64,
62,
549,
25,
3,
64,
62,
549,
257,
62,
23160,
25,
3,
64,
62,
23160,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
487,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
360,
713,
19510,
65,
11,
269,
8,
5218,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
2779,
62,
3672,
796,
366,
89,
487,
58,
3,
7,
8841,
7,
65,
36911,
3,
7,
8841,
7,
66,
4008,
60,
1600,
13934,
796,
2081,
11,
923,
796,
657,
8,
329,
357,
65,
11,
269,
11,
865,
8,
287,
542,
62,
77,
18504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
1058,
57,
487,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4808,
3955,
13,
34453,
62,
42895,
62,
8367,
7,
4426,
11,
299,
86,
11,
1058,
411,
11184,
11,
1058,
57,
487,
11,
2779,
62,
77,
18504,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
5777,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
4851,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
5777,
49,
4965,
11184,
62,
9806,
11,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
4851,
49,
4965,
11184,
62,
9806,
11,
376,
9419,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
28,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
685,
9186,
329,
2378,
287,
257,
611,
2378,
58,
17,
60,
6624,
604,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
796,
685,
926,
329,
256,
83,
287,
542,
62,
77,
18504,
611,
256,
83,
58,
16,
60,
6624,
275,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
62,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
47527,
89,
11,
86,
8,
287,
2779,
62,
3642,
4357,
2779,
62,
3672,
2625,
89,
487,
1600,
13934,
796,
2081,
11,
923,
796,
657,
1267,
1303,
3137,
530,
7885,
11,
703,
284,
2251,
3294,
351,
281,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
89,
11,
86,
8,
287,
2779,
62,
3642,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
18189,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
19841,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1343,
1802,
9,
7,
16,
12,
57,
487,
58,
7,
89,
11,
86,
15437,
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,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
2160,
7,
57,
487,
58,
7,
89,
11,
86,
15437,
329,
357,
89,
11,
266,
8,
287,
2779,
62,
3642,
8,
6624,
352,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
21589,
796,
10083,
1899,
9,
940,
220,
1303,
642,
329,
645,
13,
286,
7625,
812,
1022,
734,
640,
4831,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
3359,
7,
1671,
3702,
14692,
15805,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
3359,
7,
42946,
14692,
15805,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7,
5235,
62,
15805,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
10001,
62,
15805,
6624,
2160,
7,
16345,
7,
42946,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
42946,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
16345,
7,
1671,
3702,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1267,
198,
197,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
5215,
62,
15805,
6624,
2160,
7,
43775,
58,
65,
60,
9,
16345,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
72,
15437,
329,
357,
72,
11,
5235,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
65,
7131,
25,
5235,
12962,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
197,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
2160,
7,
5777,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
4808,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
8,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
5777,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
4851,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
628,
197,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
220,
2160,
7,
4851,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
198,
197,
197,
197,
2,
3601,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
7,
2160,
7,
357,
29990,
14,
940,
61,
21,
8,
1635,
5235,
62,
15805,
58,
7,
66,
11,
72,
15437,
9,
62,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
220,
1090,
83,
62,
5235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
7,
43775,
58,
65,
60,
9,
62,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
27493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
66,
11,
18,
15437,
532,
21589,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
18,
8,
12962,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
198,
220,
197,
197,
197,
66,
3325,
603,
434,
796,
360,
713,
3419,
198,
197,
197,
197,
42404,
796,
360,
713,
3419,
198,
197,
197,
197,
2,
198,
197,
197,
197,
2,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
197,
197,
2,
220,
197,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
197,
197,
2,
220,
197,
197,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
197,
197,
2,
220,
197,
197,
42404,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
197,
197,
2,
220,
197,
886,
198,
197,
197,
197,
2,
220,
886,
198,
197,
197,
197,
45962,
434,
796,
360,
713,
3419,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
5339,
796,
360,
713,
3419,
628,
197,
220,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5339,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
329,
331,
796,
352,
25,
23350,
62,
1941,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
6624,
2160,
7,
16345,
7,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
1220,
2160,
7,
16345,
7,
42404,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
220,
1267,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
19841,
3509,
62,
66,
3325,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
12585,
7378,
13,
31,
15252,
425,
7,
4426,
13,
19849,
11,
1855,
11,
10001,
62,
15805,
1343,
376,
10913,
4965,
11184,
1343,
376,
9419,
4965,
11184,
1343,
5215,
62,
15805,
8,
198,
437,
198,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
6489,
62,
77,
38679,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
197,
8692,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
8692,
62,
4868,
8973,
198,
197,
3642,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
4264,
62,
4868,
8973,
198,
197,
14957,
62,
39873,
796,
9114,
13,
33990,
14692,
14957,
62,
39873,
8973,
198,
197,
66,
3325,
62,
5235,
796,
9114,
13,
33990,
14692,
66,
3325,
6255,
62,
5235,
8973,
198,
197,
9806,
62,
66,
3325,
796,
9114,
13,
33990,
14692,
9806,
62,
66,
3325,
8973,
198,
197,
1941,
62,
8692,
796,
9114,
13,
33990,
14692,
1941,
62,
8692,
8973,
198,
197,
23350,
62,
1941,
796,
9114,
13,
33990,
14692,
23350,
62,
2417,
8973,
198,
197,
43775,
796,
9114,
13,
33990,
14692,
43775,
8973,
628,
197,
5235,
62,
15805,
796,
360,
713,
3419,
198,
197,
5777,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
4851,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
32165,
62,
1676,
65,
796,
360,
713,
3419,
198,
197,
19904,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
19904,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
197,
13746,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
13746,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
197,
5777,
49,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
197,
4851,
49,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
197,
4264,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4264,
60,
220,
220,
220,
220,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
197,
34,
3325,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
66,
3325,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
72,
287,
352,
25,
23350,
62,
1941,
4357,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
628,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
19904,
62,
15805,
11,
10001,
62,
15805,
8,
198,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
13746,
62,
15805,
11,
5215,
62,
15805,
8,
198,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
34,
3325,
11,
19569,
8,
198,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
5777,
49,
62,
4965,
11184,
11,
376,
10913,
4965,
11184,
8,
198,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4851,
49,
62,
4965,
11184,
11,
376,
9419,
4965,
11184,
8,
198,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4264,
11,
2345,
8,
628,
197,
1640,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
8,
198,
197,
197,
1640,
357,
81,
11,
14072,
8,
287,
299,
86,
62,
5420,
58,
25,
411,
11184,
60,
198,
197,
197,
197,
5777,
49,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
69,
8973,
198,
197,
197,
197,
4851,
49,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
70,
8973,
198,
197,
197,
437,
628,
197,
197,
329,
357,
72,
11,
5235,
8,
287,
299,
86,
62,
5420,
58,
25,
5235,
60,
198,
197,
197,
197,
6024,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
299,
11,
1058,
6024,
11,
1312,
8,
628,
197,
197,
197,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
352,
198,
197,
197,
197,
197,
5235,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
198,
197,
197,
197,
17772,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
362,
198,
197,
197,
197,
197,
5235,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
17,
60,
198,
197,
197,
197,
17772,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
513,
198,
197,
197,
197,
197,
5235,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
17,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
18,
60,
198,
197,
197,
197,
17772,
198,
197,
197,
197,
197,
5235,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
657,
13,
15,
198,
197,
197,
197,
437,
198,
197,
197,
437,
198,
197,
437,
628,
197,
29990,
796,
10083,
1899,
14,
14957,
62,
39873,
9,
20,
1303,
642,
329,
645,
13,
286,
7625,
812,
1022,
734,
640,
4831,
628,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
10001,
62,
15805,
6624,
2160,
7,
16345,
7,
42946,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
42946,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1343,
198,
197,
197,
197,
220,
220,
2160,
7,
16345,
7,
1671,
3702,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1267,
198,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
5215,
62,
15805,
6624,
2160,
7,
16345,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
72,
15437,
329,
357,
72,
11,
5235,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
65,
7131,
25,
5235,
12962,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
2160,
7,
5777,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
4808,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
8,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
198,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
220,
2160,
7,
4851,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
198,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
28264,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
27493,
198,
197,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
66,
11,
18,
15437,
532,
21589,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
18,
8,
12962,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
198,
197,
66,
3325,
603,
434,
796,
360,
713,
3419,
198,
197,
42404,
796,
360,
713,
3419,
628,
198,
197,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
220,
220,
220,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
220,
220,
220,
220,
220,
220,
220,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
5339,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
220,
220,
220,
220,
886,
198,
197,
886,
198,
197,
329,
331,
796,
352,
25,
23350,
62,
1941,
198,
197,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
6624,
2160,
7,
16345,
7,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
1220,
2160,
7,
16345,
7,
42404,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
220,
1267,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
19841,
3509,
62,
66,
3325,
8,
198,
197,
220,
886,
628,
197,
7783,
3359,
7,
12585,
7378,
13,
31,
15252,
425,
7,
4426,
13,
19849,
11,
1855,
11,
10001,
62,
15805,
1343,
5215,
62,
15805,
1343,
376,
10913,
4965,
11184,
1343,
376,
9419,
4965,
11184,
1343,
2345,
220,
1267,
1267,
198,
437,
198,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
6489,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
197,
8692,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
8692,
62,
4868,
8973,
198,
197,
3642,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
4264,
62,
4868,
8973,
198,
197,
14957,
62,
39873,
796,
9114,
13,
33990,
14692,
14957,
62,
39873,
8973,
198,
197,
66,
3325,
62,
5235,
796,
9114,
13,
33990,
14692,
66,
3325,
6255,
62,
5235,
8973,
198,
197,
9806,
62,
66,
3325,
796,
9114,
13,
33990,
14692,
9806,
62,
66,
3325,
8973,
198,
197,
1941,
62,
8692,
796,
9114,
13,
33990,
14692,
1941,
62,
8692,
8973,
198,
197,
23350,
62,
1941,
796,
9114,
13,
33990,
14692,
23350,
62,
2417,
8973,
628,
197,
5235,
62,
15805,
796,
360,
713,
3419,
198,
197,
5777,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
4851,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
32165,
62,
1676,
65,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10001,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
19904,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5215,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
13746,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19569,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
66,
3325,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2345,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4264,
60,
220,
220,
220,
220,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19590,
796,
9114,
13,
33990,
14692,
43775,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
19904,
62,
15805,
11,
10001,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
13746,
62,
15805,
11,
5215,
62,
15805,
8,
198,
197,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
5777,
49,
62,
4965,
11184,
11,
376,
10913,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4851,
49,
62,
4965,
11184,
11,
376,
9419,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4264,
11,
2345,
8,
198,
197,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
34,
3325,
11,
19569,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
81,
11,
14072,
8,
287,
299,
86,
62,
5420,
58,
25,
411,
11184,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
69,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
70,
8973,
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,
220,
329,
357,
72,
11,
5235,
8,
287,
299,
86,
62,
5420,
58,
25,
5235,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23241,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
299,
11,
1058,
6024,
11,
1312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
17,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
18,
60,
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,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
657,
13,
15,
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,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
796,
220,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
4868,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
58,
7,
65,
11,
66,
15437,
796,
376,
10913,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
47762,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
257,
62,
549,
11,
257,
62,
23160,
796,
4808,
3955,
13,
45286,
62,
27830,
28264,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7203,
64,
62,
549,
25,
3,
64,
62,
549,
257,
62,
23160,
25,
3,
64,
62,
23160,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
487,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
360,
713,
19510,
65,
11,
269,
8,
5218,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
2779,
62,
3672,
796,
366,
89,
487,
58,
3,
7,
8841,
7,
65,
36911,
3,
7,
8841,
7,
66,
4008,
60,
1600,
13934,
796,
2081,
11,
923,
796,
657,
8,
329,
357,
65,
11,
269,
11,
865,
8,
287,
542,
62,
77,
18504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
1058,
57,
487,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4808,
3955,
13,
34453,
62,
42895,
62,
8367,
7,
4426,
11,
299,
86,
11,
1058,
411,
11184,
11,
1058,
57,
487,
11,
2779,
62,
77,
18504,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
5777,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
4851,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
5777,
49,
4965,
11184,
62,
9806,
11,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
4851,
49,
4965,
11184,
62,
9806,
11,
376,
9419,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
28,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
685,
9186,
329,
2378,
287,
257,
611,
2378,
58,
17,
60,
6624,
604,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
796,
685,
926,
329,
256,
83,
287,
542,
62,
77,
18504,
611,
256,
83,
58,
16,
60,
6624,
275,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
62,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
47527,
89,
11,
86,
8,
287,
2779,
62,
3642,
4357,
2779,
62,
3672,
2625,
89,
487,
1600,
13934,
796,
2081,
11,
923,
796,
657,
1267,
1303,
3137,
530,
7885,
11,
703,
284,
2251,
3294,
351,
281,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
89,
11,
86,
8,
287,
2779,
62,
3642,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
18189,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
19841,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1343,
1802,
9,
7,
16,
12,
57,
487,
58,
7,
89,
11,
86,
15437,
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,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
2160,
7,
57,
487,
58,
7,
89,
11,
86,
15437,
329,
357,
89,
11,
266,
8,
287,
2779,
62,
3642,
8,
6624,
352,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
21589,
796,
10083,
1899,
9,
940,
220,
1303,
642,
329,
645,
13,
286,
7625,
812,
1022,
734,
640,
4831,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
3359,
7,
1671,
3702,
14692,
15805,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
3359,
7,
42946,
14692,
15805,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7,
5235,
62,
15805,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
10001,
62,
15805,
6624,
2160,
7,
16345,
7,
42946,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
42946,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
16345,
7,
1671,
3702,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1267,
198,
197,
197,
197,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
5215,
62,
15805,
6624,
2160,
7,
43775,
58,
65,
60,
9,
16345,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
72,
15437,
329,
357,
72,
11,
5235,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
65,
7131,
25,
5235,
12962,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
197,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
2160,
7,
5777,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
4808,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
8,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
5777,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
4851,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
628,
197,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
220,
2160,
7,
4851,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
198,
197,
197,
197,
2,
3601,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
7,
2160,
7,
357,
29990,
14,
940,
61,
21,
8,
1635,
5235,
62,
15805,
58,
7,
66,
11,
72,
15437,
9,
62,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
220,
1090,
83,
62,
5235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
7,
43775,
58,
65,
60,
9,
62,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
27493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
66,
11,
18,
15437,
532,
21589,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
18,
8,
12962,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
1267,
15506,
198,
220,
197,
197,
197,
66,
3325,
603,
434,
796,
360,
713,
3419,
198,
197,
197,
197,
42404,
796,
360,
713,
3419,
198,
197,
197,
197,
2,
198,
197,
197,
197,
2,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
197,
197,
2,
220,
197,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
197,
197,
2,
220,
197,
197,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
197,
197,
2,
220,
197,
197,
42404,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
197,
197,
2,
220,
197,
886,
198,
197,
197,
197,
2,
220,
886,
198,
197,
197,
197,
45962,
434,
796,
360,
713,
3419,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
5339,
796,
360,
713,
3419,
628,
197,
220,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5339,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
329,
331,
796,
352,
25,
23350,
62,
1941,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
6624,
2160,
7,
16345,
7,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
1220,
2160,
7,
16345,
7,
42404,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
220,
1267,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
19841,
3509,
62,
66,
3325,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
886,
628,
197,
7783,
3359,
7,
12585,
7378,
13,
31,
15252,
425,
7,
4426,
13,
19849,
11,
1855,
11,
10001,
62,
15805,
1343,
5215,
62,
15805,
1343,
376,
10913,
4965,
11184,
1343,
376,
9419,
4965,
11184,
8,
1267,
198,
437,
628,
198,
8818,
9432,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
62,
18218,
16,
7,
4426,
3712,
62,
5868,
13,
23839,
13434,
17633,
8,
198,
197,
8692,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
8692,
62,
4868,
8973,
198,
197,
3642,
62,
77,
18504,
796,
9114,
13,
33990,
14692,
4264,
62,
4868,
8973,
198,
197,
14957,
62,
39873,
796,
9114,
13,
33990,
14692,
14957,
62,
39873,
8973,
198,
197,
66,
3325,
62,
5235,
796,
9114,
13,
33990,
14692,
66,
3325,
6255,
62,
5235,
8973,
198,
197,
9806,
62,
66,
3325,
796,
9114,
13,
33990,
14692,
9806,
62,
66,
3325,
8973,
198,
197,
1941,
62,
8692,
796,
9114,
13,
33990,
14692,
1941,
62,
8692,
8973,
198,
197,
23350,
62,
1941,
796,
9114,
13,
33990,
14692,
23350,
62,
2417,
8973,
628,
197,
5235,
62,
15805,
796,
360,
713,
3419,
198,
197,
5777,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
4851,
49,
62,
15805,
796,
360,
713,
3419,
198,
197,
32165,
62,
1676,
65,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10001,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
19904,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5215,
62,
15805,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
13746,
62,
15805,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
62,
4965,
11184,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19569,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
66,
3325,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2345,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4264,
60,
220,
220,
220,
220,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
923,
796,
657,
11,
2793,
62,
7784,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19590,
796,
9114,
13,
33990,
14692,
43775,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
19904,
62,
15805,
11,
10001,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
13746,
62,
15805,
11,
5215,
62,
15805,
8,
198,
197,
197,
34453,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
5777,
49,
62,
4965,
11184,
11,
376,
10913,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4851,
49,
62,
4965,
11184,
11,
376,
9419,
4965,
11184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
220,
220,
1058,
4264,
11,
2345,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
81,
11,
14072,
8,
287,
299,
86,
62,
5420,
58,
25,
411,
11184,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
69,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
77,
11,
81,
15437,
796,
14072,
14692,
34,
70,
8973,
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,
220,
329,
357,
72,
11,
5235,
8,
287,
299,
86,
62,
5420,
58,
25,
5235,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23241,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
299,
11,
1058,
6024,
11,
1312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
16,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
361,
4129,
7,
5235,
14692,
15805,
8973,
8,
6624,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
2429,
14692,
15805,
1,
7131,
17,
60,
9,
6024,
1343,
2429,
14692,
15805,
1,
7131,
18,
60,
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,
2429,
62,
15805,
58,
7,
77,
11,
72,
15437,
796,
657,
13,
15,
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,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
796,
220,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
4868,
796,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
62,
4868,
58,
7,
65,
11,
66,
15437,
796,
376,
10913,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
47762,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
14,
940,
61,
21,
9,
62,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
1130,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
257,
62,
549,
11,
257,
62,
23160,
796,
4808,
3955,
13,
45286,
62,
27830,
28264,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3359,
7203,
64,
62,
549,
25,
3,
64,
62,
549,
257,
62,
23160,
25,
3,
64,
62,
23160,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
487,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
360,
713,
19510,
65,
11,
269,
8,
5218,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
2779,
62,
3672,
796,
366,
89,
487,
58,
3,
7,
8841,
7,
65,
36911,
3,
7,
8841,
7,
66,
4008,
60,
1600,
13934,
796,
2081,
11,
923,
796,
657,
8,
329,
357,
65,
11,
269,
11,
865,
8,
287,
542,
62,
77,
18504,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
62,
26502,
86,
7,
4426,
11,
1058,
57,
487,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4808,
3955,
13,
34453,
62,
42895,
62,
8367,
7,
4426,
11,
299,
86,
11,
1058,
411,
11184,
11,
1058,
57,
487,
11,
2779,
62,
77,
18504,
11,
1168,
487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
10913,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
5777,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
5777,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
376,
9419,
4965,
11184,
62,
9806,
796,
4808,
5868,
13,
7785,
7,
4426,
38381,
25,
4851,
49,
4965,
11184,
62,
9806,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
685,
65,
287,
2779,
62,
77,
18504,
4357,
2779,
62,
3672,
796,
1,
4851,
49,
4965,
11184,
62,
9806,
1600,
923,
796,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
5777,
49,
4965,
11184,
62,
9806,
11,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1540,
62,
42895,
62,
8367,
62,
4666,
7,
4426,
11,
275,
11,
1058,
4851,
49,
4965,
11184,
62,
9806,
11,
376,
9419,
4965,
11184,
62,
9806,
58,
65,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
28,
360,
713,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
685,
9186,
329,
2378,
287,
257,
611,
2378,
58,
17,
60,
6624,
604,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
3642,
796,
685,
926,
329,
256,
83,
287,
542,
62,
77,
18504,
611,
256,
83,
58,
16,
60,
6624,
275,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
62,
5868,
13,
7785,
7,
4426,
38381,
25,
57,
487,
60,
796,
12585,
7378,
13,
31,
45286,
7,
4426,
13,
19849,
11,
47527,
89,
11,
86,
8,
287,
2779,
62,
3642,
4357,
2779,
62,
3672,
2625,
89,
487,
1600,
13934,
796,
2081,
11,
923,
796,
657,
1267,
1303,
3137,
530,
7885,
11,
703,
284,
2251,
3294,
351,
281,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
89,
11,
86,
8,
287,
2779,
62,
3642,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
220,
18189,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
376,
10913,
4965,
11184,
62,
9806,
58,
65,
60,
19841,
376,
10913,
62,
4868,
58,
7,
89,
11,
86,
15437,
1343,
1802,
9,
7,
16,
12,
57,
487,
58,
7,
89,
11,
86,
15437,
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,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
220,
2160,
7,
57,
487,
58,
7,
89,
11,
86,
15437,
329,
357,
89,
11,
266,
8,
287,
2779,
62,
3642,
8,
6624,
352,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
886,
628,
220,
220,
220,
220,
220,
220,
220,
21589,
796,
10083,
1899,
9,
940,
220,
1303,
642,
329,
645,
13,
286,
7625,
812,
1022,
734,
640,
4831,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
10001,
62,
15805,
6624,
2160,
7,
16345,
7,
42946,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
42946,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
42946,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
42946,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2160,
7,
16345,
7,
1671,
3702,
14692,
15805,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
352,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
1312,
8,
329,
357,
72,
11,
1671,
3702,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
38381,
16,
7131,
25,
1671,
3702,
17896,
62,
710,
12962,
329,
357,
77,
11,
299,
86,
62,
5420,
8,
287,
4808,
5868,
13,
77,
18504,
7,
4426,
4008,
1267,
198,
197,
197,
197,
13812,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
5215,
62,
15805,
6624,
2160,
7,
43775,
58,
65,
60,
9,
16345,
7,
29990,
14,
940,
61,
21,
9,
5235,
62,
15805,
58,
7,
65,
11,
72,
15437,
329,
1312,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
1267,
198,
197,
197,
197,
2,
3359,
7,
33018,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
2160,
7,
5777,
49,
62,
15805,
58,
7,
66,
11,
17,
15437,
9,
3064,
9,
29990,
14,
940,
61,
21,
9,
4808,
5868,
13,
7785,
7,
4426,
11,
269,
11,
1058,
47,
487,
11,
362,
8,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
10913,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
5777,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
376,
9419,
4965,
11184,
6624,
21589,
9,
16345,
7,
43775,
58,
65,
60,
9,
4851,
49,
4965,
11184,
62,
9806,
58,
65,
60,
329,
275,
287,
2779,
62,
77,
18504,
8,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
2345,
6624,
2160,
7,
43775,
58,
65,
60,
9,
62,
5868,
13,
5420,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
8,
14692,
32165,
62,
1676,
65,
8973,
9,
62,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
1671,
3702,
17896,
62,
710,
11,
865,
27493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
29990,
14,
940,
61,
21,
9,
7,
5235,
62,
15805,
58,
7,
66,
11,
16,
15437,
1343,
2429,
62,
15805,
58,
7,
66,
11,
17,
8,
12962,
532,
21589,
14,
940,
61,
21,
9,
7,
5235,
62,
15805,
58,
7,
65,
11,
16,
15437,
10,
5235,
62,
15805,
58,
7,
65,
11,
17,
8,
12962,
33761,
329,
357,
65,
11,
66,
11,
1671,
8,
287,
542,
62,
77,
18504,
8,
1267,
628,
197,
197,
197,
66,
3325,
603,
434,
796,
360,
713,
3419,
198,
197,
197,
197,
42404,
796,
360,
713,
3419,
628,
197,
197,
197,
1303,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
197,
197,
197,
2,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
197,
197,
197,
2,
220,
197,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
1303,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
197,
197,
197,
2,
220,
197,
42404,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
197,
197,
197,
2,
220,
886,
198,
197,
197,
197,
1303,
886,
198,
197,
197,
197,
1303,
45962,
434,
796,
360,
713,
3419,
198,
197,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5339,
796,
360,
713,
3419,
628,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
329,
275,
287,
2779,
62,
77,
18504,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
329,
269,
287,
1090,
83,
62,
5235,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
45962,
434,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
532,
4808,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
5339,
58,
7,
65,
11,
66,
15437,
796,
12585,
7378,
13,
45828,
62,
7784,
28264,
5868,
13,
7785,
7,
4426,
11,
275,
11,
1058,
6024,
11,
269,
4008,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
886,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
331,
796,
352,
25,
23350,
62,
1941,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
6624,
2160,
7,
16345,
7,
66,
3325,
603,
434,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
1220,
2160,
7,
16345,
7,
42404,
58,
7,
65,
11,
66,
15437,
329,
269,
287,
1090,
83,
62,
5235,
8,
329,
275,
287,
614,
62,
8692,
58,
88,
12962,
220,
1267,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
12585,
7378,
13,
31,
1102,
2536,
2913,
7,
4426,
13,
19849,
11,
19569,
58,
88,
60,
19841,
3509,
62,
66,
3325,
8,
198,
197,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
886,
198,
197,
197,
197,
3359,
7203,
15252,
425,
62,
1084,
62,
15805,
62,
46559,
8905,
62,
10652,
8035,
62,
18218,
16,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
12585,
7378,
13,
31,
15252,
425,
7,
4426,
13,
19849,
11,
1855,
11,
220,
376,
10913,
4965,
11184,
1343,
376,
9419,
4965,
11184,
1343,
10001,
62,
15805,
220,
532,
5215,
62,
15805,
8,
198,
437,
198
] | 1.890038 | 15,960 |
"""
tfill(v, ::Val{D}) where D
Returns a tuple of length `D` that contains `D` times the object `v`.
In contrast to `tuple(fill(v,D)...)` which returns the same result, this function is type-stable.
"""
function tfill(v, ::Val{D}) where D
t = tfill(v, Val{D-1}())
(v,t...)
end
tfill(v,::Val{0}) = ()
tfill(v,::Val{1}) = (v,)
tfill(v,::Val{2}) = (v,v)
tfill(v,::Val{3}) = (v,v,v)
"""
get_val_parameter(::Val{T}) where T
get_val_parameter(::Type{Val{T}}) where T
Returns `T`.
"""
function get_val_parameter(::Val{T}) where T
T
end
function get_val_parameter(::Type{Val{T}}) where T
T
end
| [
198,
37811,
198,
220,
220,
220,
256,
20797,
7,
85,
11,
7904,
7762,
90,
35,
30072,
810,
360,
198,
198,
35561,
257,
46545,
286,
4129,
4600,
35,
63,
326,
4909,
4600,
35,
63,
1661,
262,
2134,
4600,
85,
44646,
198,
818,
6273,
284,
4600,
83,
29291,
7,
20797,
7,
85,
11,
35,
8,
23029,
63,
543,
5860,
262,
976,
1255,
11,
428,
2163,
318,
2099,
12,
31284,
13,
198,
37811,
198,
8818,
256,
20797,
7,
85,
11,
7904,
7762,
90,
35,
30072,
810,
360,
198,
220,
256,
796,
256,
20797,
7,
85,
11,
3254,
90,
35,
12,
16,
92,
28955,
198,
220,
357,
85,
11,
83,
23029,
198,
437,
198,
198,
83,
20797,
7,
85,
11,
3712,
7762,
90,
15,
30072,
796,
7499,
198,
83,
20797,
7,
85,
11,
3712,
7762,
90,
16,
30072,
796,
357,
85,
35751,
198,
83,
20797,
7,
85,
11,
3712,
7762,
90,
17,
30072,
796,
357,
85,
11,
85,
8,
198,
83,
20797,
7,
85,
11,
3712,
7762,
90,
18,
30072,
796,
357,
85,
11,
85,
11,
85,
8,
198,
198,
37811,
198,
220,
220,
220,
651,
62,
2100,
62,
17143,
2357,
7,
3712,
7762,
90,
51,
30072,
810,
309,
198,
220,
220,
220,
651,
62,
2100,
62,
17143,
2357,
7,
3712,
6030,
90,
7762,
90,
51,
11709,
8,
810,
309,
198,
198,
35561,
4600,
51,
44646,
198,
37811,
198,
8818,
651,
62,
2100,
62,
17143,
2357,
7,
3712,
7762,
90,
51,
30072,
810,
309,
198,
220,
309,
198,
437,
198,
198,
8818,
651,
62,
2100,
62,
17143,
2357,
7,
3712,
6030,
90,
7762,
90,
51,
11709,
8,
810,
309,
198,
220,
309,
198,
437,
628
] | 2.261993 | 271 |
abstract type AbstractPardisoLU{Tv,Ti} <: AbstractLUFactorization{Tv,Ti} end
mutable struct PardisoLU{Tv, Ti} <: AbstractPardisoLU{Tv,Ti}
A::Union{ExtendableSparseMatrix{Tv,Ti},Nothing}
ps::Pardiso.PardisoSolver
phash::UInt64
end
function PardisoLU{Tv,Ti}(;iparm=nothing,dparm=nothing,mtype=nothing) where {Tv,Ti}
fact=PardisoLU{Tv,Ti}(nothing,Pardiso.PardisoSolver(),0)
default_initialize!(fact,iparm,dparm,mtype)
end
"""
```
PardisoLU(;valuetype=Float64,
indextype=Int64,
iparm::Vector,
dparm::Vector,
mtype::Int)
PardisoLU(matrix; iparm,dparm,mtype)
```
LU factorization based on pardiso. For using this, you need to issue `using Pardiso`
and have the pardiso library from [pardiso-project.org](https://pardiso-project.org)
[installed](https://github.com/JuliaSparse/Pardiso.jl#pardiso-60).
The optional keyword arguments `mtype`, `iparm` and `dparm` are
(Pardiso internal parameters)[https://github.com/JuliaSparse/Pardiso.jl#readme].
Forsetting them, one can also access the `PardisoSolver` e.g. like
```
using Pardiso
plu=PardisoLU()
Pardiso.set_iparm!(plu.ps,5,13.0)
```
"""
PardisoLU(;valuetype::Type=Float64, indextype::Type=Int64, kwargs...)=PardisoLU{valuetype,indextype}(;kwargs...)
#############################################################################################
mutable struct MKLPardisoLU{Tv, Ti} <: AbstractPardisoLU{Tv,Ti}
A::Union{ExtendableSparseMatrix{Tv,Ti},Nothing}
ps::Pardiso.MKLPardisoSolver
phash::UInt64
end
function MKLPardisoLU{Tv,Ti}(;iparm=nothing,mtype=nothing) where {Tv,Ti}
fact=MKLPardisoLU{Tv,Ti}(nothing,Pardiso.MKLPardisoSolver(),0)
default_initialize!(fact, iparm,nothing,mtype)
end
"""
```
MKLPardisoLU(;valuetype=Float64,
indextype=Int64,
iparm::Vector,
mtype::Int)
MKLPardisoLU(matrix; iparm, mtype)
```
LU factorization based on pardiso. For using this, you need to issue `using Pardiso`.
This version uses the early 2000's fork in Intel's MKL library.
The optional keyword arguments `mtype` and `iparm` are
(Pardiso internal parameters)[https://github.com/JuliaSparse/Pardiso.jl#readme].
For setting them you can also access the `PardisoSolver` e.g. like
```
using Pardiso
plu=MKLPardisoLU()
Pardiso.set_iparm!(plu.ps,5,13.0)
```
"""
MKLPardisoLU(;valuetype::Type=Float64, indextype::Type=Int64,kwargs...)=MKLPardisoLU{valuetype,indextype}(;kwargs...)
##########################################################################################
function default_initialize!(fact::AbstractPardisoLU{Tv,Ti}, iparm,dparm,mtype) where {Tv, Ti}
if !isnothing(mtype)
my_mtype=mtype
elseif Tv<:Complex
my_mtype=Pardiso.COMPLEX_NONSYM
else
my_mtype=Pardiso.REAL_NONSYM
end
Pardiso.set_matrixtype!(fact.ps,Pardiso.REAL_NONSYM)
if !isnothing(iparm)
for i=1:min(length(iparm),length(fact.ps.iparm))
Pardiso.set_iparm!(fact.ps,i,iparm[i])
end
end
if !isnothing(dparm)
for i=1:min(length(dparm),length(fact.ps.dparm))
Pardiso.set_dparm!(fact.ps,i,dparm[i])
end
end
fact
end
function update!(lufact::AbstractPardisoLU{Tv,Ti}) where {Tv, Ti}
ps=lufact.ps
flush!(lufact.A)
Acsc=lufact.A.cscmatrix
if lufact.phash!=lufact.A.phash
Pardiso.set_phase!(ps, Pardiso.RELEASE_ALL)
Pardiso.pardiso(ps, Tv[], Acsc, Tv[])
Pardiso.set_phase!(ps, Pardiso.ANALYSIS_NUM_FACT)
lufact.phash=lufact.A.phash
else
Pardiso.set_phase!(ps, Pardiso.NUM_FACT)
end
Pardiso.fix_iparm!(ps, :N)
Pardiso.pardiso(ps, Tv[], Acsc, Tv[])
lufact
end
function LinearAlgebra.ldiv!(u::AbstractArray{T,1} where T, lufact::AbstractPardisoLU, v::AbstractArray{T,1} where T)
ps=lufact.ps
Acsc=lufact.A.cscmatrix
Pardiso.set_phase!(ps, Pardiso.SOLVE_ITERATIVE_REFINE)
Pardiso.pardiso(ps, u, Acsc, v)
u
end
LinearAlgebra.ldiv!(fact::AbstractPardisoLU, v::AbstractArray{T,1} where T)=ldiv!(v,fact,copy(v))
@eval begin
@makefrommatrix PardisoLU
@makefrommatrix MKLPardisoLU
end
| [
397,
8709,
2099,
27741,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
1279,
25,
27741,
43,
36820,
11218,
1634,
90,
51,
85,
11,
40533,
92,
886,
198,
198,
76,
18187,
2878,
350,
446,
26786,
41596,
90,
51,
85,
11,
16953,
92,
1279,
25,
27741,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
198,
220,
220,
220,
317,
3712,
38176,
90,
11627,
437,
540,
50,
29572,
46912,
90,
51,
85,
11,
40533,
5512,
18465,
92,
198,
220,
220,
220,
26692,
3712,
47,
446,
26786,
13,
47,
446,
26786,
50,
14375,
198,
220,
220,
220,
872,
1077,
3712,
52,
5317,
2414,
198,
437,
198,
198,
8818,
350,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
7,
26,
541,
1670,
28,
22366,
11,
26059,
1670,
28,
22366,
11,
76,
4906,
28,
22366,
8,
810,
1391,
51,
85,
11,
40533,
92,
198,
220,
220,
220,
1109,
28,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
7,
22366,
11,
47,
446,
26786,
13,
47,
446,
26786,
50,
14375,
22784,
15,
8,
198,
220,
220,
220,
4277,
62,
36733,
1096,
0,
7,
22584,
11,
541,
1670,
11,
26059,
1670,
11,
76,
4906,
8,
198,
437,
198,
198,
37811,
198,
15506,
63,
198,
47,
446,
26786,
41596,
7,
26,
2100,
84,
2963,
431,
28,
43879,
2414,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
773,
2302,
2981,
28,
5317,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20966,
1670,
3712,
38469,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
79,
1670,
3712,
38469,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
4906,
3712,
5317,
8,
198,
198,
47,
446,
26786,
41596,
7,
6759,
8609,
26,
20966,
1670,
11,
26059,
1670,
11,
76,
4906,
8,
198,
15506,
63,
198,
198,
41596,
5766,
1634,
1912,
319,
41746,
26786,
13,
1114,
1262,
428,
11,
345,
761,
284,
2071,
4600,
3500,
350,
446,
26786,
63,
198,
392,
423,
262,
41746,
26786,
5888,
422,
220,
685,
26037,
26786,
12,
16302,
13,
2398,
16151,
5450,
1378,
26037,
26786,
12,
16302,
13,
2398,
8,
220,
198,
58,
37050,
16151,
5450,
1378,
12567,
13,
785,
14,
16980,
544,
50,
29572,
14,
47,
446,
26786,
13,
20362,
2,
26037,
26786,
12,
1899,
737,
198,
198,
464,
11902,
21179,
7159,
4600,
76,
4906,
47671,
4600,
541,
1670,
63,
220,
290,
4600,
26059,
1670,
63,
389,
220,
198,
7,
47,
446,
26786,
5387,
10007,
38381,
5450,
1378,
12567,
13,
785,
14,
16980,
544,
50,
29572,
14,
47,
446,
26786,
13,
20362,
2,
961,
1326,
4083,
198,
198,
37,
669,
35463,
606,
11,
530,
460,
635,
1895,
262,
4600,
47,
446,
26786,
50,
14375,
63,
304,
13,
70,
13,
588,
198,
15506,
63,
198,
3500,
350,
446,
26786,
198,
489,
84,
28,
47,
446,
26786,
41596,
3419,
198,
47,
446,
26786,
13,
2617,
62,
541,
1670,
0,
7,
489,
84,
13,
862,
11,
20,
11,
1485,
13,
15,
8,
198,
15506,
63,
198,
37811,
198,
47,
446,
26786,
41596,
7,
26,
2100,
84,
2963,
431,
3712,
6030,
28,
43879,
2414,
11,
773,
2302,
2981,
3712,
6030,
28,
5317,
2414,
11,
479,
86,
22046,
23029,
28,
47,
446,
26786,
41596,
90,
2100,
84,
2963,
431,
11,
521,
2302,
2981,
92,
7,
26,
46265,
22046,
23029,
628,
198,
29113,
29113,
14468,
7804,
4242,
2,
198,
76,
18187,
2878,
20553,
19930,
446,
26786,
41596,
90,
51,
85,
11,
16953,
92,
1279,
25,
27741,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
198,
220,
220,
220,
317,
3712,
38176,
90,
11627,
437,
540,
50,
29572,
46912,
90,
51,
85,
11,
40533,
5512,
18465,
92,
198,
220,
220,
220,
26692,
3712,
47,
446,
26786,
13,
33907,
19930,
446,
26786,
50,
14375,
198,
220,
220,
220,
872,
1077,
3712,
52,
5317,
2414,
198,
437,
198,
198,
8818,
20553,
19930,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
7,
26,
541,
1670,
28,
22366,
11,
76,
4906,
28,
22366,
8,
810,
1391,
51,
85,
11,
40533,
92,
198,
220,
220,
220,
1109,
28,
33907,
19930,
446,
26786,
41596,
90,
51,
85,
11,
40533,
92,
7,
22366,
11,
47,
446,
26786,
13,
33907,
19930,
446,
26786,
50,
14375,
22784,
15,
8,
198,
220,
220,
220,
4277,
62,
36733,
1096,
0,
7,
22584,
11,
20966,
1670,
11,
22366,
11,
76,
4906,
8,
198,
437,
628,
198,
37811,
198,
15506,
63,
198,
33907,
19930,
446,
26786,
41596,
7,
26,
2100,
84,
2963,
431,
28,
43879,
2414,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
773,
2302,
2981,
28,
5317,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20966,
1670,
3712,
38469,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
4906,
3712,
5317,
8,
198,
198,
33907,
19930,
446,
26786,
41596,
7,
6759,
8609,
26,
20966,
1670,
11,
285,
4906,
8,
198,
15506,
63,
198,
198,
41596,
5766,
1634,
1912,
319,
41746,
26786,
13,
1114,
1262,
428,
11,
345,
761,
284,
2071,
4600,
3500,
350,
446,
26786,
44646,
198,
1212,
2196,
220,
3544,
262,
1903,
4751,
338,
15563,
287,
8180,
338,
20553,
43,
5888,
13,
198,
198,
464,
11902,
21179,
7159,
4600,
76,
4906,
63,
290,
4600,
541,
1670,
63,
220,
389,
220,
220,
198,
7,
47,
446,
26786,
5387,
10007,
38381,
5450,
1378,
12567,
13,
785,
14,
16980,
544,
50,
29572,
14,
47,
446,
26786,
13,
20362,
2,
961,
1326,
4083,
198,
198,
1890,
4634,
606,
345,
460,
635,
1895,
262,
4600,
47,
446,
26786,
50,
14375,
63,
304,
13,
70,
13,
588,
198,
15506,
63,
198,
3500,
350,
446,
26786,
198,
489,
84,
28,
33907,
19930,
446,
26786,
41596,
3419,
198,
47,
446,
26786,
13,
2617,
62,
541,
1670,
0,
7,
489,
84,
13,
862,
11,
20,
11,
1485,
13,
15,
8,
198,
15506,
63,
198,
37811,
198,
33907,
19930,
446,
26786,
41596,
7,
26,
2100,
84,
2963,
431,
3712,
6030,
28,
43879,
2414,
11,
773,
2302,
2981,
3712,
6030,
28,
5317,
2414,
11,
46265,
22046,
23029,
28,
33907,
19930,
446,
26786,
41596,
90,
2100,
84,
2963,
431,
11,
521,
2302,
2981,
92,
7,
26,
46265,
22046,
23029,
628,
198,
29113,
29113,
14468,
7804,
2235,
198,
8818,
4277,
62,
36733,
1096,
0,
7,
22584,
3712,
23839,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
5512,
20966,
1670,
11,
26059,
1670,
11,
76,
4906,
8,
810,
1391,
51,
85,
11,
16953,
92,
198,
220,
220,
220,
611,
5145,
271,
22366,
7,
76,
4906,
8,
198,
220,
220,
220,
220,
220,
220,
220,
616,
62,
76,
4906,
28,
76,
4906,
198,
220,
220,
220,
2073,
361,
309,
85,
27,
25,
5377,
11141,
198,
220,
220,
220,
220,
220,
220,
220,
616,
62,
76,
4906,
28,
47,
446,
26786,
13,
41335,
55,
62,
45,
19213,
56,
44,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
616,
62,
76,
4906,
28,
47,
446,
26786,
13,
2200,
1847,
62,
45,
19213,
56,
44,
198,
220,
220,
220,
886,
198,
220,
220,
220,
220,
198,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
6759,
380,
742,
2981,
0,
7,
22584,
13,
862,
11,
47,
446,
26786,
13,
2200,
1847,
62,
45,
19213,
56,
44,
8,
628,
220,
220,
220,
611,
5145,
271,
22366,
7,
541,
1670,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
28,
16,
25,
1084,
7,
13664,
7,
541,
1670,
828,
13664,
7,
22584,
13,
862,
13,
541,
1670,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
541,
1670,
0,
7,
22584,
13,
862,
11,
72,
11,
541,
1670,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
628,
220,
220,
220,
611,
5145,
271,
22366,
7,
26059,
1670,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
28,
16,
25,
1084,
7,
13664,
7,
26059,
1670,
828,
13664,
7,
22584,
13,
862,
13,
26059,
1670,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
26059,
1670,
0,
7,
22584,
13,
862,
11,
72,
11,
26059,
1670,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
886,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1109,
198,
437,
198,
198,
8818,
4296,
0,
7,
2290,
22584,
3712,
23839,
47,
446,
26786,
41596,
90,
51,
85,
11,
40533,
30072,
810,
1391,
51,
85,
11,
16953,
92,
198,
220,
220,
220,
26692,
28,
2290,
22584,
13,
862,
198,
220,
220,
220,
24773,
0,
7,
2290,
22584,
13,
32,
8,
198,
220,
220,
220,
4013,
1416,
28,
2290,
22584,
13,
32,
13,
66,
1416,
6759,
8609,
198,
220,
220,
220,
611,
300,
3603,
13,
746,
1077,
0,
28,
2290,
22584,
13,
32,
13,
746,
1077,
220,
198,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
40715,
0,
7,
862,
11,
350,
446,
26786,
13,
2200,
22781,
62,
7036,
8,
198,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
26037,
26786,
7,
862,
11,
309,
85,
58,
4357,
4013,
1416,
11,
309,
85,
58,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
40715,
0,
7,
862,
11,
350,
446,
26786,
13,
1565,
1847,
16309,
1797,
62,
41359,
62,
37,
10659,
8,
198,
220,
220,
220,
220,
220,
220,
220,
300,
3603,
13,
746,
1077,
28,
2290,
22584,
13,
32,
13,
746,
1077,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
40715,
0,
7,
862,
11,
350,
446,
26786,
13,
41359,
62,
37,
10659,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
350,
446,
26786,
13,
13049,
62,
541,
1670,
0,
7,
862,
11,
1058,
45,
8,
198,
220,
220,
220,
350,
446,
26786,
13,
26037,
26786,
7,
862,
11,
309,
85,
58,
4357,
4013,
1416,
11,
309,
85,
58,
12962,
198,
220,
220,
220,
300,
3603,
198,
437,
198,
198,
8818,
44800,
2348,
29230,
13,
335,
452,
0,
7,
84,
3712,
23839,
19182,
90,
51,
11,
16,
92,
810,
309,
11,
300,
3603,
3712,
23839,
47,
446,
26786,
41596,
11,
410,
3712,
23839,
19182,
90,
51,
11,
16,
92,
810,
309,
8,
198,
220,
220,
220,
26692,
28,
2290,
22584,
13,
862,
198,
220,
220,
220,
4013,
1416,
28,
2290,
22584,
13,
32,
13,
66,
1416,
6759,
8609,
198,
220,
220,
220,
350,
446,
26786,
13,
2617,
62,
40715,
0,
7,
862,
11,
350,
446,
26786,
13,
50,
3535,
6089,
62,
2043,
1137,
37045,
62,
2200,
29940,
8,
198,
220,
220,
220,
350,
446,
26786,
13,
26037,
26786,
7,
862,
11,
334,
11,
4013,
1416,
11,
410,
8,
198,
220,
220,
220,
334,
198,
437,
198,
198,
14993,
451,
2348,
29230,
13,
335,
452,
0,
7,
22584,
3712,
23839,
47,
446,
26786,
41596,
11,
410,
3712,
23839,
19182,
90,
51,
11,
16,
92,
810,
309,
47505,
335,
452,
0,
7,
85,
11,
22584,
11,
30073,
7,
85,
4008,
198,
198,
31,
18206,
2221,
198,
220,
220,
220,
2488,
15883,
6738,
6759,
8609,
350,
446,
26786,
41596,
198,
220,
220,
220,
2488,
15883,
6738,
6759,
8609,
20553,
19930,
446,
26786,
41596,
198,
437,
198
] | 2.21246 | 1,878 |
"""
ExponentiatedKernel()
Exponentiated kernel.
# Definition
For inputs ``x, x' \\in \\mathbb{R}^d``, the exponentiated kernel is defined as
```math
k(x, x') = \\exp(x^\\top x').
```
"""
struct ExponentiatedKernel <: SimpleKernel end
kappa(::ExponentiatedKernel, xᵀy::Real) = exp(xᵀy)
metric(::ExponentiatedKernel) = DotProduct()
iskroncompatible(::ExponentiatedKernel) = true
Base.show(io::IO, ::ExponentiatedKernel) = print(io, "Exponentiated Kernel")
| [
37811,
198,
220,
220,
220,
5518,
3471,
12931,
42,
7948,
3419,
198,
198,
16870,
3471,
12931,
9720,
13,
198,
198,
2,
30396,
198,
198,
1890,
17311,
7559,
87,
11,
2124,
6,
26867,
259,
26867,
11018,
11848,
90,
49,
92,
61,
67,
15506,
11,
262,
28622,
12931,
9720,
318,
5447,
355,
198,
15506,
63,
11018,
198,
74,
7,
87,
11,
2124,
11537,
796,
26867,
11201,
7,
87,
61,
6852,
4852,
2124,
27691,
198,
15506,
63,
198,
37811,
198,
7249,
5518,
3471,
12931,
42,
7948,
1279,
25,
17427,
42,
7948,
886,
198,
198,
74,
20975,
7,
3712,
16870,
3471,
12931,
42,
7948,
11,
2124,
39611,
222,
88,
3712,
15633,
8,
796,
1033,
7,
87,
39611,
222,
88,
8,
198,
198,
4164,
1173,
7,
3712,
16870,
3471,
12931,
42,
7948,
8,
796,
22875,
15667,
3419,
198,
198,
1984,
1313,
38532,
7,
3712,
16870,
3471,
12931,
42,
7948,
8,
796,
2081,
198,
198,
14881,
13,
12860,
7,
952,
3712,
9399,
11,
7904,
16870,
3471,
12931,
42,
7948,
8,
796,
3601,
7,
952,
11,
366,
16870,
3471,
12931,
32169,
4943,
198
] | 2.642045 | 176 |
module FastArrayOps
import Base.LinAlg: BlasReal, BlasComplex, BlasFloat, BlasInt, BlasChar
const libblas = Base.libblas_name
export fast_scale!, unsafe_fast_scale!,
fast_add!, unsafe_fast_add!,
fast_addscal!, unsafe_fast_addscal!,
fast_copy!, unsafe_fast_copy!,
fast_fill!, unsafe_fast_fill!
export fast_check1, fast_check2, fast_check3, nmax2nel, nel2nmax, fast_args2range, fast_range2args
# WARNING: FastArrayOps.jl gets overwritten by FastArrayOps_src.jl when running make.jl
## CONSTANTS
const NLIM_SCALE = 13
const NLIM_SCALE_OOP1 = 80
const NLIM_SCALE_OOP2 = 100000
const NLIM_SCALEARR = typemax(Int)
const NLIM_SCALEARR_OOP = typemax(Int)
const NLIM_ADD = typemax(Int)
const NLIM_ADD_OOP = typemax(Int)
const NLIM_ADDARR = 13
const NLIM_ADDARR_OOP1 = 30
const NLIM_ADDARR_OOP2 = 100000
const NLIM_ADDARRSCAL = 13
const NLIM_ADDARRSCAL_OOP1 = 30
const NLIM_ADDARRSCAL_OOP2 = 100000
const NLIM_COPY1 = 80
const NLIM_COPY2 = 100000
const NLIM_FILL = 13
## UTILS
function nmax2nel(i::Int, inc::Int, nmax::Int)
@assert 0 < i
nmax < i && return 0
return div(nmax - i, abs(inc)) + 1
end
function nel2nmax(i::Int, inc::Int, nel::Int)
@assert 0 < i
nel < 0 && return i - 1
return i + (nel- 1)*abs(inc)
end
function fast_args2range(i::Int, inc::Int, n::Int)
@assert 0 < i
r = i:abs(inc):nel2nmax(i, abs(inc), n)
if inc < 0
r = reverse(r)
end
return r
end
function fast_range2args(r::Range)
inc = step(r)
if inc > 0
return (first(r), inc, length(r))
else
return (last(r), inc, length(r))
end
end
function fast_check1(x, ix, incx, n)
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
return 0
end
function fast_check2(x, ix, incx, y, iy, incy, n)
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
return 0
end
function fast_check3(x, ix, incx, y, iy, incy, z, iz, incz, n)
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
return 0
end
# utils for 0 fill
inttype(::Type{Float32}) = Int32
inttype(::Type{Float64}) = Int64
inttype(::Type{Complex64}) = Int64
inttype(::Type{Complex128}) = Int128
function fast_reinterpret1{T<:Number}(::Type{T}, a::Array)
@assert length(a) == 1
ccall(:jl_reshape_array, Array{T,1}, (Any, Any, Any), Array{T,1}, a, (1,))
end
# are float 0s zero bits?
function zerobits()
v = reinterpret(inttype(Float32), convert(Float32, 0))
v += reinterpret(inttype(Float64), convert(Float64, 0))
v += fast_reinterpret1(inttype(Complex64), [convert(Complex64, 0)])[1]
v += fast_reinterpret1(inttype(Complex128), [convert(Complex128, 0)])[1]
if v == 0
return true
else
return false
end
end
const ZEROFLOAT = zerobits()
for (fscal, fcopy, faxpy, ftbmv, fsbmv, elty) in (
(:dscal_, :dcopy_, :daxpy_, :dtbmv_, :dsbmv_, :Float64),
(:sscal_, :scopy_, :saxpy_, :stbmv_, :ssbmv_, :Float32),
(:zscal_, :zcopy_, :zaxpy_, :ztbmv_, :zsbmv_, :Complex128),
(:cscal_, :ccopy_, :caxpy_, :ctbmv_, :csbmv_, :Complex64))
## SCALE METHODS
for (f, isunsafe) in ( (:fast_scale!, false), (:unsafe_fast_scale!, true) )
@eval begin
# x = a*x
# =======
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
if n < $NLIM_SCALE*incx
# src: scalarr1_for.jl
incx = abs(incx)
@inbounds for i = ix:incx:ix-1+n*incx
x[i] = *( a, x[i] )
end
else
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set1_inc1.jl
incx = 1
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
if n < $NLIM_SCALE #*incx
# src: scalarr1_for_inc1.jl
@inbounds for i = ix:ix-1+n
x[i] = *( a, x[i] )
end
else
# src: set1_inc1.jl
incx = 1
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# x = a*y
# =======
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
mul = max(abs(incx), abs(incy))
if n < $NLIM_SCALE_OOP1*mul || n*mul > $NLIM_SCALE_OOP2
# src: scalarr1_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = *( a, y[iy+i*incy] )
end
else
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
mul = abs(incx)
if n < $NLIM_SCALE_OOP1*mul || n*mul > $NLIM_SCALE_OOP2
# src: scalarr1_foroop_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = *( a, y[d+i] )
end
else
# src: set2_inceq.jl
incy = incx
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_SCALE_OOP1 || n > $NLIM_SCALE_OOP2
# src: scalarr1_foroop_inc1.jl
d = iy - ix
@inbounds for i = ix:ix-1+n
x[i] = *( a, y[d+i] )
end
else
# src: set2_inc1.jl
incx = 1
incy = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_SCALE_OOP1 || n > $NLIM_SCALE_OOP2
# src: scalarr1_foroop_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = *( a, y[i] )
end
else
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
# src: blas_scale.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
ccall(($(string(fscal)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), px, &(incx))
end
return x
end
# x = x.*y
# ========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: arr2xy_for.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = *( x[ix+i*incx], y[iy+i*incy] )
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: arr2xy_for_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = *( x[i], y[d+i] )
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: arr2xy_for_inc1.jl
d = iy - ix
@inbounds for i = ix:ix-1+n
x[i] = *( x[i], y[d+i] )
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: arr2xy_for_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = *( x[i], y[i] )
end
return x
end
# x = y.*z
# ========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, z::Array{$elty}, iz::Int, incz::Int, n::Int)
$isunsafe || begin
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
# src: arr2yz_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
incz < 0 && (iz = iz+(n-1)*abs(incz))
@inbounds for i = 0:n-1
x[ix+i*incx] = *( y[iy+i*incy], z[iz+i*incz] )
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, n::Int)
$isunsafe || begin
# src: set3_inceq.jl
incy = incx
incz = incx
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
# src: arr2yz_foroop_inceq.jl
incx = abs(incx)
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = *( y[dy+i], z[dz+i] )
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, n::Int)
$isunsafe || begin
# src: set3_inc1.jl
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
# src: arr2yz_foroop_inc1.jl
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:ix-1+n
x[i] = *( y[dy+i], z[dz+i] )
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, z::Array{$elty}, n::Int)
$isunsafe || begin
# src: set3_inc1ieq.jl
iy = ix
iz = ix
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
# src: arr2yz_foroop_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = *( y[i], z[i] )
end
return x
end
end # eval begin
end # for
## ADD METHODS
for (f, isunsafe) in ( (:fast_add!, false), (:unsafe_fast_add!, true) )
@eval begin
# x = x + a
# =======
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
# src: scalarr1_for.jl
incx = abs(incx)
@inbounds for i = ix:incx:ix-1+n*incx
x[i] = +( a, x[i] )
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set1_inc1.jl
incx = 1
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
# src: scalarr1_for_inc1.jl
@inbounds for i = ix:ix-1+n
x[i] = +( a, x[i] )
end
return x
end
# x = y + a
# =======
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: scalarr1_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = +( a, y[iy+i*incy] )
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: scalarr1_foroop_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = +( a, y[d+i] )
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: scalarr1_foroop_inc1.jl
d = iy - ix
@inbounds for i = ix:ix-1+n
x[i] = +( a, y[d+i] )
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: scalarr1_foroop_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = +( a, y[i] )
end
return x
end
# x = x + y
# =========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARR #*mul # || n*mul > $NLIM_SCALEARR
# src: arr2xy_for.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = +( x[ix+i*incx], y[iy+i*incy] )
end
else
a = 1
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARR
# src: arr2xy_for_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = +( x[i], y[d+i] )
end
else
a = 1
# src: set2_inceq.jl
incy = incx
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARR
# src: arr2xy_for_inc1.jl
d = iy - ix
@inbounds for i = ix:ix-1+n
x[i] = +( x[i], y[d+i] )
end
else
a = 1
# src: set2_inc1.jl
incx = 1
incy = 1
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARR
# src: arr2xy_for_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = +( x[i], y[i] )
end
else
a = 1
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# x = y + z
# =========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, z::Array{$elty}, iz::Int, incz::Int, n::Int)
$isunsafe || begin
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARR_OOP1 || n > $NLIM_ADDARR_OOP2 #*mul # || n*mul > $NLIM_SCALEARR
# src: arr2yz_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
incz < 0 && (iz = iz+(n-1)*abs(incz))
@inbounds for i = 0:n-1
x[ix+i*incx] = +( y[iy+i*incy], z[iz+i*incz] )
end
else
a = 1
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, n::Int)
$isunsafe || begin
# src: set3_inceq.jl
incy = incx
incz = incx
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARR_OOP1 || n > $NLIM_ADDARR_OOP2
# src: arr2yz_foroop_inceq.jl
incx = abs(incx)
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = +( y[dy+i], z[dz+i] )
end
else
a = 1
# src: set3_inceq.jl
incy = incx
incz = incx
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, n::Int)
$isunsafe || begin
# src: set3_inc1.jl
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARR_OOP1 || n > $NLIM_ADDARR_OOP2
# src: arr2yz_foroop_inc1.jl
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:ix-1+n
x[i] = +( y[dy+i], z[dz+i] )
end
else
a = 1
# src: set3_inc1.jl
incx = 1
incy = 1
incz = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, z::Array{$elty}, n::Int)
$isunsafe || begin
# src: set3_inc1ieq.jl
iy = ix
iz = ix
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARR_OOP1 || n > $NLIM_ADDARR_OOP2
# src: arr2yz_foroop_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = +( y[i], z[i] )
end
else
a = 1
# src: set3_inc1ieq.jl
iy = ix
iz = ix
incx = 1
incy = 1
incz = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
end # eval begin
end # for
## ADDSCAL METHODS
for (f, isunsafe) in ( (:fast_addscal!, false), (:unsafe_fast_addscal!, true) )
@eval begin
# x = x + a*y
# =========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL #*mul # || n*mul > $NLIM_SCALEARR
# src: addarrscal_for.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = x[ix+i*incx] + y[iy+i*incy]*a
end
else
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL
# src: addarrscal_for_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = x[i] + y[d+i]*a
end
else
# src: set2_inceq.jl
incy = incx
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL
# src: addarrscal_for_inc1.jl
d = iy - ix
@inbounds for i = ix:ix-1+n
x[i] = x[i] + y[d+i]*a
end
else
# src: set2_inc1.jl
incx = 1
incy = 1
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, a::$elty, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL
# src: addarrscal_for_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = x[i] + y[i]*a
end
else
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# x = y + a*z
# =========
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, z::Array{$elty}, iz::Int, incz::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL_OOP1 || n > $NLIM_ADDARRSCAL_OOP2 #*mul # || n*mul > $NLIM_SCALEARR
# src: addarrscal_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
incz < 0 && (iz = iz+(n-1)*abs(incz))
@inbounds for i = 0:n-1
x[ix+i*incx] = y[iy+i*incy] + z[iz+i*incz]*a
end
else
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set3_inceq.jl
incy = incx
incz = incx
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL_OOP1 || n > $NLIM_ADDARRSCAL_OOP2
# src: addarrscal_foroop_inceq.jl
incx = abs(incx)
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = y[dy+i] + z[dz+i]*a
end
else
# src: set3_inceq.jl
incy = incx
incz = incx
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, z::Array{$elty}, iz::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set3_inc1.jl
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL_OOP1 || n > $NLIM_ADDARRSCAL_OOP2
# src: addarrscal_foroop_inc1.jl
dy = iy - ix
dz = iz - ix
@inbounds for i = ix:ix-1+n
x[i] = y[dy+i] + z[dz+i]*a
end
else
# src: set3_inc1.jl
incx = 1
incy = 1
incz = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, z::Array{$elty}, a::$elty, n::Int)
$isunsafe || begin
# src: set3_inc1ieq.jl
iy = ix
iz = ix
incx = 1
incy = 1
incz = 1
# src: fast_check3.jl
(0 != incx && 0 != incy && 0 != incz) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy && 0 < iz) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
iz+(n-1)*abs(incz) <= length(z) || throw(BoundsError())
end
if n < $NLIM_ADDARRSCAL_OOP1 || n > $NLIM_ADDARRSCAL_OOP2
# src: addarrscal_foroop_inc1ieq.jl
@inbounds for i = ix:ix-1+n
x[i] = y[i] + z[i]*a
end
else
# src: set3_inc1ieq.jl
iy = ix
iz = ix
incx = 1
incy = 1
incz = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
y, iy, incy = z, iz, incz
# src: blas_axpy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(faxpy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), &(a), py, &(incy), px, &(incx))
end
return x
end
end # eval begin
end # for
## COPY METHODS
for (f, isunsafe) in ( (:fast_copy!, false), (:unsafe_fast_copy!, true) )
@eval begin
# x = y
# =====
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, incy::Int, n::Int)
$isunsafe || begin
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
mul = max(abs(incx), abs(incy))
if n < $NLIM_COPY1*mul || n*mul > $NLIM_COPY2
# src: copy_foroop.jl
incx < 0 && (ix = ix+(n-1)*abs(incx))
incy < 0 && (iy = iy+(n-1)*abs(incy))
@inbounds for i = 0:n-1
x[ix+i*incx] = y[iy+i*incy]
end
else
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
end
return x
end
# inceq
function ($f)(x::Array{$elty}, ix::Int, incx::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inceq.jl
incy = incx
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
mul = abs(incx)
if n < $NLIM_COPY1*mul || n*mul > $NLIM_COPY2
# src: copy_foroop_inceq.jl
incx = abs(incx)
d = iy - ix
@inbounds for i = ix:incx:ix+(n-1)*incx
x[i] = y[d+i]
end
else
# src: set2_inceq.jl
incy = incx
# src: blas_copy.jl
px = convert(Ptr{$(elty)},x) + (ix-1)*sizeof($(elty))
py = convert(Ptr{$(elty)},y) + (iy-1)*sizeof($(elty))
ccall(($(string(fcopy)),libblas), Void,
(Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}, Ptr{$(elty)}, Ptr{BlasInt}),
&(n), py, &(incy), px, &(incx))
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, iy::Int, n::Int)
$isunsafe || begin
# src: set2_inc1.jl
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: set2_inc1.jl
incx = 1
incy = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
return x
end
# inc1ieq
function ($f)(x::Array{$elty}, ix::Int, y::Array{$elty}, n::Int)
$isunsafe || begin
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: fast_check2.jl
(0 != incx && 0 != incy) || throw(ArgumentError("zero increment"))
(0 < ix && 0 < iy) || throw(BoundsError())
ix+(n-1)*abs(incx) <= length(x) || throw(BoundsError())
iy+(n-1)*abs(incy) <= length(y) || throw(BoundsError())
end
# src: set2_inc1ieq.jl
iy = ix
incx = 1
incy = 1
# src: c_memcpy.jl
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
py = convert(Ptr{$(elty)},y) + (iy-1)*selty
ccall(:memcpy, Ptr{Void}, (Ptr{Void}, Ptr{Void}, Uint),
px, py, n*selty)
return x
end
end # eval begin
end # for
## FILL METHODS
for (f, isunsafe) in ( (:fast_fill!, false), (:unsafe_fast_fill!, true) )
@eval begin
# x = a
# =======
# general
function ($f)(x::Array{$elty}, ix::Int, incx::Int, a::$elty, n::Int)
$isunsafe || begin
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
# src: fill_foroop.jl
incx = abs(incx)
@inbounds for i = ix:incx:ix-1+n*incx
x[i] = a
end
return x
end
# inc1
function ($f)(x::Array{$elty}, ix::Int, a::$elty, n::Int)
$isunsafe || begin
# src: set1_inc1.jl
incx = 1
# src: fast_check1.jl
0 < incx || throw(ArgumentError("non-positive increment"))
0 < ix || throw(BoundsError())
ix+(n-1)*incx <= length(x) || throw(BoundsError())
end
if a == 0 && n > $NLIM_FILL && ZEROFLOAT
# src: set1_inc1.jl
incx = 1
# src: c_memset.jl
a::Int32 = a
selty = sizeof($(elty))
px = convert(Ptr{$(elty)},x) + (ix-1)*selty
ccall(:memset, Ptr{Void}, (Ptr{Void}, Int32, Csize_t),
px, a, n*selty)
else
# src: fill_foroop_inc1.jl
@inbounds for i = ix:ix-1+n
x[i] = a
end
end
return x
end
end # eval begin
end # for
end # for
end # module
| [
21412,
12549,
19182,
41472,
198,
11748,
7308,
13,
14993,
2348,
70,
25,
1086,
292,
15633,
11,
1086,
292,
5377,
11141,
11,
1086,
292,
43879,
11,
1086,
292,
5317,
11,
1086,
292,
12441,
198,
9979,
9195,
2436,
292,
796,
7308,
13,
8019,
2436,
292,
62,
3672,
198,
39344,
3049,
62,
9888,
28265,
220,
220,
220,
220,
21596,
62,
7217,
62,
9888,
28265,
220,
198,
220,
220,
220,
220,
220,
220,
3049,
62,
2860,
28265,
220,
220,
220,
220,
220,
220,
21596,
62,
7217,
62,
2860,
28265,
198,
220,
220,
220,
220,
220,
220,
3049,
62,
2860,
1416,
282,
28265,
220,
220,
21596,
62,
7217,
62,
2860,
1416,
282,
28265,
198,
220,
220,
220,
220,
220,
220,
3049,
62,
30073,
28265,
220,
220,
220,
220,
220,
21596,
62,
7217,
62,
30073,
28265,
198,
220,
220,
220,
220,
220,
220,
3049,
62,
20797,
28265,
220,
220,
220,
220,
220,
21596,
62,
7217,
62,
20797,
0,
198,
39344,
3049,
62,
9122,
16,
11,
3049,
62,
9122,
17,
11,
3049,
62,
9122,
18,
11,
299,
9806,
17,
4954,
11,
299,
417,
17,
77,
9806,
11,
3049,
62,
22046,
17,
9521,
11,
3049,
62,
9521,
17,
22046,
198,
198,
2,
39410,
25,
12549,
19182,
41472,
13,
20362,
3011,
6993,
9108,
416,
12549,
19182,
41472,
62,
10677,
13,
20362,
618,
2491,
787,
13,
20362,
198,
198,
2235,
7102,
2257,
1565,
4694,
198,
198,
9979,
22879,
3955,
62,
6173,
21358,
796,
1511,
198,
9979,
22879,
3955,
62,
6173,
21358,
62,
46,
3185,
16,
796,
4019,
198,
9979,
22879,
3955,
62,
6173,
21358,
62,
46,
3185,
17,
796,
1802,
830,
198,
9979,
22879,
3955,
62,
6173,
1847,
17133,
49,
796,
2170,
368,
897,
7,
5317,
8,
198,
9979,
22879,
3955,
62,
6173,
1847,
17133,
49,
62,
46,
3185,
796,
2170,
368,
897,
7,
5317,
8,
198,
9979,
22879,
3955,
62,
29266,
796,
2170,
368,
897,
7,
5317,
8,
198,
9979,
22879,
3955,
62,
29266,
62,
46,
3185,
796,
2170,
368,
897,
7,
5317,
8,
198,
9979,
22879,
3955,
62,
29266,
26465,
796,
1511,
198,
9979,
22879,
3955,
62,
29266,
26465,
62,
46,
3185,
16,
796,
1542,
198,
9979,
22879,
3955,
62,
29266,
26465,
62,
46,
3185,
17,
796,
1802,
830,
198,
9979,
22879,
3955,
62,
29266,
26465,
6173,
1847,
796,
1511,
198,
9979,
22879,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
16,
796,
1542,
198,
9979,
22879,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
17,
796,
1802,
830,
198,
9979,
22879,
3955,
62,
34,
3185,
56,
16,
796,
4019,
198,
9979,
22879,
3955,
62,
34,
3185,
56,
17,
796,
1802,
830,
198,
9979,
22879,
3955,
62,
37,
8267,
796,
1511,
628,
198,
2235,
19255,
45484,
198,
198,
8818,
299,
9806,
17,
4954,
7,
72,
3712,
5317,
11,
753,
3712,
5317,
11,
299,
9806,
3712,
5317,
8,
198,
220,
220,
220,
2488,
30493,
657,
1279,
1312,
198,
220,
220,
220,
299,
9806,
1279,
1312,
11405,
1441,
657,
198,
220,
220,
220,
1441,
2659,
7,
77,
9806,
532,
1312,
11,
2352,
7,
1939,
4008,
1343,
352,
198,
437,
198,
8818,
299,
417,
17,
77,
9806,
7,
72,
3712,
5317,
11,
753,
3712,
5317,
11,
299,
417,
3712,
5317,
8,
198,
220,
220,
220,
2488,
30493,
657,
1279,
1312,
198,
220,
220,
220,
299,
417,
1279,
657,
11405,
1441,
1312,
532,
352,
198,
220,
220,
220,
1441,
1312,
1343,
357,
4954,
12,
352,
27493,
8937,
7,
1939,
8,
198,
437,
198,
8818,
3049,
62,
22046,
17,
9521,
7,
72,
3712,
5317,
11,
753,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
2488,
30493,
657,
1279,
1312,
198,
220,
220,
220,
374,
796,
1312,
25,
8937,
7,
1939,
2599,
4954,
17,
77,
9806,
7,
72,
11,
2352,
7,
1939,
828,
299,
8,
198,
220,
220,
220,
611,
753,
1279,
657,
198,
220,
220,
220,
220,
220,
220,
220,
374,
796,
9575,
7,
81,
8,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
374,
198,
437,
198,
8818,
3049,
62,
9521,
17,
22046,
7,
81,
3712,
17257,
8,
198,
220,
220,
220,
753,
796,
2239,
7,
81,
8,
198,
220,
220,
220,
611,
753,
1875,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
11085,
7,
81,
828,
753,
11,
4129,
7,
81,
4008,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
12957,
7,
81,
828,
753,
11,
4129,
7,
81,
4008,
198,
220,
220,
220,
886,
198,
437,
198,
198,
8818,
3049,
62,
9122,
16,
7,
87,
11,
220,
844,
11,
753,
87,
11,
299,
8,
198,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
1441,
657,
198,
437,
198,
8818,
3049,
62,
9122,
17,
7,
87,
11,
220,
844,
11,
753,
87,
11,
331,
11,
1312,
88,
11,
753,
88,
11,
299,
8,
198,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
1441,
657,
198,
437,
198,
8818,
3049,
62,
9122,
18,
7,
87,
11,
220,
844,
11,
753,
87,
11,
331,
11,
1312,
88,
11,
753,
88,
11,
1976,
11,
220,
528,
11,
753,
89,
11,
299,
8,
198,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
1441,
657,
198,
437,
198,
198,
2,
3384,
4487,
329,
657,
6070,
198,
600,
4906,
7,
3712,
6030,
90,
43879,
2624,
30072,
796,
2558,
2624,
198,
600,
4906,
7,
3712,
6030,
90,
43879,
2414,
30072,
796,
2558,
2414,
198,
600,
4906,
7,
3712,
6030,
90,
5377,
11141,
2414,
30072,
796,
2558,
2414,
198,
600,
4906,
7,
3712,
6030,
90,
5377,
11141,
12762,
30072,
796,
2558,
12762,
198,
8818,
3049,
62,
260,
27381,
16,
90,
51,
27,
25,
15057,
92,
7,
3712,
6030,
90,
51,
5512,
257,
3712,
19182,
8,
198,
220,
220,
220,
2488,
30493,
4129,
7,
64,
8,
6624,
352,
198,
220,
220,
220,
269,
13345,
7,
25,
20362,
62,
3447,
1758,
62,
18747,
11,
15690,
90,
51,
11,
16,
5512,
357,
7149,
11,
4377,
11,
4377,
828,
15690,
90,
51,
11,
16,
5512,
257,
11,
357,
16,
11,
4008,
198,
437,
198,
2,
389,
12178,
657,
82,
6632,
10340,
30,
198,
8818,
1976,
263,
672,
896,
3419,
198,
220,
220,
220,
410,
796,
302,
27381,
7,
600,
4906,
7,
43879,
2624,
828,
10385,
7,
43879,
2624,
11,
657,
4008,
198,
220,
220,
220,
410,
15853,
302,
27381,
7,
600,
4906,
7,
43879,
2414,
828,
10385,
7,
43879,
2414,
11,
657,
4008,
198,
220,
220,
220,
410,
15853,
3049,
62,
260,
27381,
16,
7,
600,
4906,
7,
5377,
11141,
2414,
828,
685,
1102,
1851,
7,
5377,
11141,
2414,
11,
657,
8,
12962,
58,
16,
60,
198,
220,
220,
220,
410,
15853,
3049,
62,
260,
27381,
16,
7,
600,
4906,
7,
5377,
11141,
12762,
828,
685,
1102,
1851,
7,
5377,
11141,
12762,
11,
657,
8,
12962,
58,
16,
60,
198,
220,
220,
220,
611,
410,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2081,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3991,
198,
220,
220,
220,
886,
198,
437,
198,
9979,
1168,
34812,
3697,
46,
1404,
796,
1976,
263,
672,
896,
3419,
628,
198,
1640,
357,
69,
1416,
282,
11,
277,
30073,
11,
35168,
9078,
11,
10117,
20475,
85,
11,
277,
32310,
85,
11,
1288,
774,
8,
287,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
25,
67,
1416,
282,
62,
11,
1058,
17896,
11081,
62,
11,
1058,
67,
897,
9078,
62,
11,
1058,
28664,
20475,
85,
62,
11,
1058,
9310,
20475,
85,
62,
11,
1058,
43879,
2414,
828,
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,
357,
25,
824,
9948,
62,
11,
1058,
1416,
11081,
62,
11,
1058,
82,
897,
9078,
62,
11,
1058,
301,
20475,
85,
62,
11,
1058,
824,
20475,
85,
62,
11,
1058,
43879,
2624,
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,
357,
25,
89,
1416,
282,
62,
11,
1058,
89,
30073,
62,
11,
1058,
89,
897,
9078,
62,
11,
1058,
89,
83,
20475,
85,
62,
11,
1058,
89,
32310,
85,
62,
11,
1058,
5377,
11141,
12762,
828,
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,
357,
25,
66,
1416,
282,
62,
11,
1058,
535,
11081,
62,
11,
1058,
66,
897,
9078,
62,
11,
1058,
310,
20475,
85,
62,
11,
1058,
6359,
20475,
85,
62,
11,
1058,
5377,
11141,
2414,
4008,
198,
198,
2235,
6374,
21358,
337,
36252,
50,
198,
198,
1640,
357,
69,
11,
318,
13271,
8635,
8,
287,
357,
357,
25,
7217,
62,
9888,
28265,
3991,
828,
357,
25,
13271,
8635,
62,
7217,
62,
9888,
28265,
2081,
8,
1267,
198,
31,
18206,
2221,
198,
198,
2,
2124,
796,
257,
9,
87,
198,
2,
29335,
855,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
9,
1939,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
12,
16,
10,
77,
9,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
257,
11,
2124,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
16,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
1303,
9,
1939,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
62,
1939,
16,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
257,
11,
2124,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
16,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
257,
9,
88,
198,
2,
29335,
855,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
35971,
796,
3509,
7,
8937,
7,
1939,
87,
828,
2352,
7,
259,
948,
4008,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
16,
9,
76,
377,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1635,
7,
257,
11,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
35971,
796,
2352,
7,
1939,
87,
8,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
16,
9,
76,
377,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
257,
11,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
257,
11,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
6173,
21358,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
257,
11,
331,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
9888,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
69,
1416,
282,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
2124,
15885,
88,
198,
2,
29335,
18604,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1635,
7,
2124,
58,
844,
10,
72,
9,
1939,
87,
4357,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
2124,
58,
72,
4357,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
1939,
16,
13,
20362,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
2124,
58,
72,
4357,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
2124,
58,
72,
4357,
331,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
331,
15885,
89,
198,
2,
29335,
18604,
198,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
753,
89,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
1939,
89,
1279,
657,
11405,
357,
528,
796,
220,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1635,
7,
331,
58,
7745,
10,
72,
9,
259,
948,
4357,
1976,
58,
528,
10,
72,
9,
1939,
89,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
1939,
89,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
331,
58,
9892,
10,
72,
4357,
1976,
58,
67,
89,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
331,
58,
9892,
10,
72,
4357,
1976,
58,
67,
89,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
528,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1635,
7,
331,
58,
72,
4357,
1976,
58,
72,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
1441,
2124,
198,
437,
628,
198,
437,
1303,
5418,
2221,
198,
437,
1303,
329,
628,
198,
2235,
27841,
337,
36252,
50,
198,
198,
1640,
357,
69,
11,
318,
13271,
8635,
8,
287,
357,
357,
25,
7217,
62,
2860,
28265,
3991,
828,
357,
25,
13271,
8635,
62,
7217,
62,
2860,
28265,
2081,
8,
1267,
198,
31,
18206,
2221,
198,
198,
2,
2124,
796,
2124,
1343,
257,
198,
2,
29335,
855,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
12,
16,
10,
77,
9,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
257,
11,
2124,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
16,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
62,
1939,
16,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
257,
11,
2124,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
331,
1343,
257,
198,
2,
29335,
855,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1343,
7,
257,
11,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
257,
11,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
257,
11,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
16578,
3258,
16,
62,
1640,
11224,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
257,
11,
331,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
2124,
1343,
331,
198,
2,
796,
2559,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
1303,
9,
76,
377,
1303,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
1847,
17133,
49,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1343,
7,
2124,
58,
844,
10,
72,
9,
1939,
87,
4357,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
2124,
58,
72,
4357,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
1939,
16,
13,
20362,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
2124,
58,
72,
4357,
331,
58,
67,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
5431,
62,
1640,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
2124,
58,
72,
4357,
331,
58,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
331,
1343,
1976,
198,
2,
796,
2559,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
753,
89,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
17,
1303,
9,
76,
377,
1303,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
1847,
17133,
49,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
1939,
89,
1279,
657,
11405,
357,
528,
796,
220,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
1343,
7,
331,
58,
7745,
10,
72,
9,
259,
948,
4357,
1976,
58,
528,
10,
72,
9,
1939,
89,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
1939,
89,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
331,
58,
9892,
10,
72,
4357,
1976,
58,
67,
89,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
1939,
89,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
331,
58,
9892,
10,
72,
4357,
1976,
58,
67,
89,
10,
72,
60,
1267,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
528,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
5240,
17,
45579,
62,
1640,
11224,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
1343,
7,
331,
58,
72,
4357,
1976,
58,
72,
60,
1267,
198,
437,
220,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
528,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
437,
1303,
5418,
2221,
198,
437,
1303,
329,
628,
198,
2235,
5984,
5258,
34,
1847,
337,
36252,
50,
198,
198,
1640,
357,
69,
11,
318,
13271,
8635,
8,
287,
357,
357,
25,
7217,
62,
2860,
1416,
282,
28265,
3991,
828,
357,
25,
13271,
8635,
62,
7217,
62,
2860,
1416,
282,
28265,
2081,
8,
1267,
198,
31,
18206,
2221,
198,
198,
2,
2124,
796,
2124,
1343,
257,
9,
88,
198,
2,
796,
2559,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
1303,
9,
76,
377,
1303,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
1847,
17133,
49,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
1343,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
2124,
58,
72,
60,
1343,
331,
58,
67,
10,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
62,
1939,
16,
13,
20362,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
2124,
58,
72,
60,
1343,
331,
58,
67,
10,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
2124,
58,
72,
60,
1343,
331,
58,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
2,
2124,
796,
331,
1343,
257,
9,
89,
198,
2,
796,
2559,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
753,
89,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
17,
1303,
9,
76,
377,
1303,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
6173,
1847,
17133,
49,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
1939,
89,
1279,
657,
11405,
357,
528,
796,
220,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
1343,
1976,
58,
528,
10,
72,
9,
1939,
89,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
1939,
89,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
331,
58,
9892,
10,
72,
60,
1343,
1976,
58,
67,
89,
10,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
1939,
89,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
220,
528,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
9892,
796,
1312,
88,
532,
220,
844,
198,
67,
89,
796,
220,
528,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
331,
58,
9892,
10,
72,
60,
1343,
1976,
58,
67,
89,
10,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1976,
3712,
19182,
90,
3,
417,
774,
5512,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
528,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
18,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
11405,
657,
14512,
753,
89,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
11405,
657,
1279,
220,
528,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
528,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
89,
8,
19841,
4129,
7,
89,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
16,
8614,
299,
1875,
720,
32572,
3955,
62,
29266,
26465,
6173,
1847,
62,
46,
3185,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
751,
3258,
1416,
282,
62,
1640,
11224,
62,
1939,
16,
494,
80,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
331,
58,
72,
60,
1343,
1976,
58,
72,
60,
9,
64,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
18,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
528,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
1939,
89,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
11,
1312,
88,
11,
753,
88,
796,
1976,
11,
220,
528,
11,
753,
89,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
897,
9078,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
23560,
9078,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
1222,
7,
64,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
437,
1303,
5418,
2221,
198,
437,
1303,
329,
628,
198,
2235,
27975,
56,
337,
36252,
50,
198,
198,
1640,
357,
69,
11,
318,
13271,
8635,
8,
287,
357,
357,
25,
7217,
62,
30073,
28265,
3991,
828,
357,
25,
13271,
8635,
62,
7217,
62,
30073,
28265,
2081,
8,
1267,
198,
31,
18206,
2221,
198,
198,
2,
2124,
796,
331,
198,
2,
29335,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
753,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
35971,
796,
3509,
7,
8937,
7,
1939,
87,
828,
2352,
7,
259,
948,
4008,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
34,
3185,
56,
16,
9,
76,
377,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
34,
3185,
56,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
4866,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
1279,
657,
11405,
357,
844,
796,
220,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
4008,
198,
259,
948,
1279,
657,
11405,
357,
7745,
796,
1312,
88,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
4008,
198,
31,
259,
65,
3733,
329,
1312,
796,
657,
25,
77,
12,
16,
198,
220,
220,
220,
2124,
58,
844,
10,
72,
9,
1939,
87,
60,
796,
331,
58,
7745,
10,
72,
9,
259,
948,
60,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
287,
344,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
35971,
796,
2352,
7,
1939,
87,
8,
198,
220,
220,
220,
611,
299,
1279,
720,
32572,
3955,
62,
34,
3185,
56,
16,
9,
76,
377,
8614,
299,
9,
76,
377,
1875,
720,
32572,
3955,
62,
34,
3185,
56,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
4866,
62,
1640,
11224,
62,
924,
80,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
67,
796,
1312,
88,
532,
220,
844,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
33747,
77,
12,
16,
27493,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
331,
58,
67,
10,
72,
60,
198,
437,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
924,
80,
13,
20362,
198,
259,
948,
796,
753,
87,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
698,
292,
62,
30073,
13,
20362,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
7857,
1659,
16763,
7,
417,
774,
4008,
198,
535,
439,
7,
16763,
7,
8841,
7,
16072,
11081,
36911,
8019,
2436,
292,
828,
18331,
11,
198,
220,
220,
220,
357,
46745,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
5512,
350,
2213,
90,
3,
7,
417,
774,
8,
5512,
350,
2213,
90,
3629,
292,
5317,
92,
828,
198,
220,
220,
220,
1222,
7,
77,
828,
12972,
11,
1222,
7,
259,
948,
828,
279,
87,
11,
1222,
7,
1939,
87,
4008,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
1312,
88,
3712,
5317,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
494,
80,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
331,
3712,
19182,
90,
3,
417,
774,
5512,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
17,
13,
20362,
198,
7,
15,
14512,
753,
87,
11405,
657,
14512,
753,
88,
8,
8614,
3714,
7,
28100,
1713,
12331,
7203,
22570,
18703,
48774,
198,
7,
15,
1279,
220,
844,
11405,
657,
1279,
1312,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
8937,
7,
1939,
87,
8,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
7745,
33747,
77,
12,
16,
27493,
8937,
7,
259,
948,
8,
19841,
4129,
7,
88,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
900,
17,
62,
1939,
16,
494,
80,
13,
20362,
198,
7745,
796,
220,
844,
198,
1939,
87,
796,
352,
198,
259,
948,
796,
352,
198,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
66,
9078,
13,
20362,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
9078,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
88,
8,
1343,
357,
7745,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
66,
9078,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
350,
2213,
90,
53,
1868,
5512,
471,
600,
828,
198,
220,
220,
220,
279,
87,
11,
12972,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
1441,
2124,
198,
437,
628,
198,
437,
1303,
5418,
2221,
198,
437,
1303,
329,
628,
198,
2235,
376,
8267,
337,
36252,
50,
198,
198,
1640,
357,
69,
11,
318,
13271,
8635,
8,
287,
357,
357,
25,
7217,
62,
20797,
28265,
3991,
828,
357,
25,
13271,
8635,
62,
7217,
62,
20797,
28265,
2081,
8,
1267,
198,
31,
18206,
2221,
198,
198,
2,
2124,
796,
257,
198,
2,
29335,
855,
198,
2,
2276,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
753,
87,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1303,
12351,
25,
6070,
62,
1640,
11224,
13,
20362,
198,
1939,
87,
796,
2352,
7,
1939,
87,
8,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
1939,
87,
25,
844,
12,
16,
10,
77,
9,
1939,
87,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
257,
198,
437,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
2,
753,
16,
198,
8818,
7198,
69,
5769,
87,
3712,
19182,
90,
3,
417,
774,
5512,
220,
844,
3712,
5317,
11,
257,
3712,
3,
417,
774,
11,
299,
3712,
5317,
8,
198,
220,
220,
220,
720,
271,
13271,
8635,
8614,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
16,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
3049,
62,
9122,
16,
13,
20362,
198,
15,
1279,
753,
87,
8614,
3714,
7,
28100,
1713,
12331,
7203,
13159,
12,
24561,
18703,
48774,
198,
15,
1279,
220,
844,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
844,
33747,
77,
12,
16,
27493,
1939,
87,
19841,
4129,
7,
87,
8,
8614,
3714,
7,
33,
3733,
12331,
28955,
198,
220,
220,
220,
886,
198,
220,
220,
220,
611,
257,
6624,
657,
11405,
299,
1875,
720,
32572,
3955,
62,
37,
8267,
11405,
1168,
34812,
3697,
46,
1404,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
900,
16,
62,
1939,
16,
13,
20362,
198,
1939,
87,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
269,
62,
11883,
2617,
13,
20362,
198,
64,
3712,
5317,
2624,
796,
257,
198,
741,
774,
796,
39364,
16763,
7,
417,
774,
4008,
198,
8416,
796,
10385,
7,
46745,
90,
3,
7,
417,
774,
8,
5512,
87,
8,
1343,
357,
844,
12,
16,
27493,
741,
774,
198,
535,
439,
7,
25,
11883,
2617,
11,
350,
2213,
90,
53,
1868,
5512,
357,
46745,
90,
53,
1868,
5512,
2558,
2624,
11,
327,
7857,
62,
83,
828,
198,
220,
220,
220,
279,
87,
11,
257,
11,
299,
9,
741,
774,
8,
198,
220,
220,
220,
2073,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12351,
25,
6070,
62,
1640,
11224,
62,
1939,
16,
13,
20362,
198,
31,
259,
65,
3733,
329,
1312,
796,
220,
844,
25,
844,
12,
16,
10,
77,
198,
220,
220,
220,
2124,
58,
72,
60,
796,
257,
198,
437,
198,
220,
220,
220,
886,
198,
220,
220,
220,
1441,
2124,
198,
437,
198,
198,
437,
1303,
5418,
2221,
198,
437,
1303,
329,
198,
198,
437,
1303,
329,
628,
198,
437,
1303,
8265,
628
] | 1.969656 | 21,454 |
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/FEMCoupling.jl/blob/master/LICENSE
using FEMCoupling: get_C
using Base.Test
@testset "Plain strain kinematic Coupling" begin
# plane strain problem
# Square shaped plane strain element(8x8) + one single node(2x2)
K=zeros(10,10)
K[1:8,1:8]=
[500 225 -350 75 -250 -225 100 -75;
225 500 -75 100 -225 -250 75 -350;
-350 -75 500 -225 100 75 -250 225;
75 100 -225 500 -75 -350 225 -250;
-250 -225 100 -75 500 225 -350 75;
-225 -250 75 -350 225 500 -75 100;
100 75 -250 225 -350 -75 500 -225;
-75 -350 225 -250 75 100 -225 500]
# Removing fixed DOFs (1 and 2) from nodes 1 and 4
K=K[1:end .!=1, 1:end .!=1]
K=K[1:end .!=1, 1:end .!=1]
K=K[1:end .!=5, 1:end .!=5]
K=K[1:end .!=5, 1:end .!=5]
# Force vector
f=zeros(10,1)
f[9,1]=1200
# Removing fixed DOFs
f=f[1:end .!= 1]
f=f[1:end .!= 1]
f=f[1:end .!= 5]
f=f[1:end .!= 5]
############### Calculations by hand
# Making the C matrix by hand
A=zeros(4,10)
A[1,3]-=1; A[1,9]=1; A[2,4]=-1; A[2,10]=1;
A[3,5]-=1; A[3,9]=1; A[4,6]=-1; A[4,10]=1
# Eliminating fixed dofs (1,2) from nodes 1 and 4
A=A[1:end , 1:end .!=1 ]
A=A[1:end , 1:end .!=1 ]
A=A[1:end , 1:end .!=5 ]
A=A[1:end , 1:end .!=5 ]
# Renaming variables to match with get_C.jl
C_expected=A
g_expected=zeros(4,1)
D_expected=zeros(4,4)
# Assembly for solving
K_expected= [K C_expected';
C_expected D_expected]
f_expected= [f;
g_expected]
u_expected = K_expected\f_expected
############### Calculating C,D and g with get_C.jl
# get_C(refnode,slaves,dofs,ndofs,K_size)
K_size=size(K,1)
C,D,g= FEMCoupling.get_C(5,[2,3],[1,2],2,10)
# Removing fixed DOFs
C=C[1:end , 1:end .!=1 ]
C=C[1:end , 1:end .!=1 ]
C=C[1:end , 1:end .!=5 ]
C=C[1:end , 1:end .!=5 ]
KK=[K C';
C D]
ff=[f;
g]
u = lufact(KK) \ full(ff)
@test isapprox(C,C_expected,rtol=0.0001)
@test isapprox(D,D_expected,rtol=0.0001)
@test isapprox(g,g_expected,rtol=0.0001)
@test isapprox(ff,f_expected,rtol=0.0001)
@test isapprox(KK,K_expected,rtol=0.0001)
@test isapprox(u,u_expected,rtol=0.0001)
# If the last test passes, all other tests will pass too.
# Other tests are made to help tracing why the last test doesn't pass.
end
| [
2,
770,
2393,
318,
257,
636,
286,
22300,
37,
3620,
13,
198,
2,
13789,
318,
17168,
25,
766,
3740,
1378,
12567,
13,
785,
14,
16980,
544,
37,
3620,
14,
37,
3620,
34,
280,
11347,
13,
20362,
14,
2436,
672,
14,
9866,
14,
43,
2149,
24290,
198,
198,
3500,
376,
3620,
34,
280,
11347,
25,
651,
62,
34,
198,
3500,
7308,
13,
14402,
198,
198,
31,
9288,
2617,
366,
3646,
391,
14022,
479,
7749,
1512,
15062,
11347,
1,
2221,
198,
2,
6614,
14022,
1917,
198,
2,
9276,
14292,
6614,
14022,
5002,
7,
23,
87,
23,
8,
1343,
530,
2060,
10139,
7,
17,
87,
17,
8,
198,
42,
28,
9107,
418,
7,
940,
11,
940,
8,
198,
42,
58,
16,
25,
23,
11,
16,
25,
23,
22241,
198,
220,
685,
4059,
18500,
532,
14877,
5441,
532,
9031,
532,
18182,
1802,
532,
2425,
26,
198,
220,
220,
18500,
5323,
532,
2425,
1802,
532,
18182,
532,
9031,
5441,
532,
14877,
26,
198,
220,
532,
14877,
532,
2425,
5323,
532,
18182,
220,
1802,
5441,
532,
9031,
18500,
26,
198,
220,
220,
5441,
1802,
532,
18182,
220,
5323,
532,
2425,
532,
14877,
18500,
532,
9031,
26,
198,
220,
532,
9031,
532,
18182,
1802,
532,
2425,
220,
220,
5323,
18500,
532,
14877,
5441,
26,
198,
220,
532,
18182,
532,
9031,
5441,
220,
532,
14877,
220,
18500,
5323,
532,
2425,
1802,
26,
198,
220,
220,
1802,
5441,
532,
9031,
18500,
532,
14877,
532,
2425,
5323,
532,
18182,
26,
198,
220,
532,
2425,
532,
14877,
18500,
532,
9031,
5441,
1802,
532,
18182,
5323,
60,
198,
198,
2,
3982,
5165,
5969,
8410,
42388,
357,
16,
290,
362,
8,
422,
13760,
352,
290,
604,
198,
42,
28,
42,
58,
16,
25,
437,
764,
0,
28,
16,
11,
352,
25,
437,
764,
0,
28,
16,
60,
198,
42,
28,
42,
58,
16,
25,
437,
764,
0,
28,
16,
11,
352,
25,
437,
764,
0,
28,
16,
60,
198,
42,
28,
42,
58,
16,
25,
437,
764,
0,
28,
20,
11,
352,
25,
437,
764,
0,
28,
20,
60,
198,
42,
28,
42,
58,
16,
25,
437,
764,
0,
28,
20,
11,
352,
25,
437,
764,
0,
28,
20,
60,
198,
198,
2,
5221,
15879,
198,
69,
28,
9107,
418,
7,
940,
11,
16,
8,
198,
69,
58,
24,
11,
16,
22241,
27550,
198,
198,
2,
3982,
5165,
5969,
8410,
42388,
198,
69,
28,
69,
58,
16,
25,
437,
764,
0,
28,
352,
60,
198,
69,
28,
69,
58,
16,
25,
437,
764,
0,
28,
352,
60,
198,
69,
28,
69,
58,
16,
25,
437,
764,
0,
28,
642,
60,
198,
69,
28,
69,
58,
16,
25,
437,
764,
0,
28,
642,
60,
198,
198,
7804,
4242,
21017,
27131,
602,
416,
1021,
198,
198,
2,
16427,
262,
327,
17593,
416,
1021,
198,
32,
28,
9107,
418,
7,
19,
11,
940,
8,
198,
32,
58,
16,
11,
18,
45297,
28,
16,
26,
220,
317,
58,
16,
11,
24,
22241,
16,
26,
317,
58,
17,
11,
19,
60,
10779,
16,
26,
317,
58,
17,
11,
940,
22241,
16,
26,
198,
32,
58,
18,
11,
20,
45297,
28,
16,
26,
220,
317,
58,
18,
11,
24,
22241,
16,
26,
317,
58,
19,
11,
21,
60,
10779,
16,
26,
317,
58,
19,
11,
940,
22241,
16,
198,
198,
2,
27405,
6010,
5969,
466,
9501,
357,
16,
11,
17,
8,
422,
13760,
352,
290,
604,
198,
32,
28,
32,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
16,
2361,
198,
32,
28,
32,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
16,
2361,
198,
32,
28,
32,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
20,
2361,
198,
32,
28,
32,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
20,
2361,
198,
198,
2,
7152,
3723,
9633,
284,
2872,
351,
651,
62,
34,
13,
20362,
198,
34,
62,
40319,
28,
32,
198,
70,
62,
40319,
28,
9107,
418,
7,
19,
11,
16,
8,
198,
35,
62,
40319,
28,
9107,
418,
7,
19,
11,
19,
8,
198,
198,
2,
10006,
329,
18120,
198,
42,
62,
40319,
28,
685,
42,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
62,
40319,
17020,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
327,
62,
40319,
220,
220,
360,
62,
40319,
60,
198,
198,
69,
62,
40319,
28,
685,
69,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
62,
40319,
60,
198,
198,
84,
62,
40319,
796,
509,
62,
40319,
59,
69,
62,
40319,
198,
198,
7804,
4242,
21017,
27131,
803,
327,
11,
35,
290,
308,
351,
651,
62,
34,
13,
20362,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
62,
34,
7,
5420,
17440,
11,
6649,
3080,
11,
67,
1659,
82,
11,
358,
1659,
82,
11,
42,
62,
7857,
8,
198,
42,
62,
7857,
28,
7857,
7,
42,
11,
16,
8,
198,
34,
11,
35,
11,
70,
28,
376,
3620,
34,
280,
11347,
13,
1136,
62,
34,
7,
20,
17414,
17,
11,
18,
38430,
16,
11,
17,
4357,
17,
11,
940,
8,
198,
198,
2,
3982,
5165,
5969,
8410,
42388,
198,
34,
28,
34,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
16,
2361,
198,
34,
28,
34,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
16,
2361,
198,
34,
28,
34,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
20,
2361,
198,
34,
28,
34,
58,
16,
25,
437,
837,
352,
25,
437,
764,
0,
28,
20,
2361,
198,
198,
16601,
41888,
42,
327,
17020,
198,
220,
220,
220,
327,
360,
60,
198,
487,
41888,
69,
26,
198,
220,
220,
220,
308,
60,
198,
84,
796,
300,
3603,
7,
16601,
8,
3467,
1336,
7,
487,
8,
198,
198,
31,
9288,
318,
1324,
13907,
7,
34,
11,
34,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
31,
9288,
318,
1324,
13907,
7,
35,
11,
35,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
31,
9288,
318,
1324,
13907,
7,
70,
11,
70,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
31,
9288,
318,
1324,
13907,
7,
487,
11,
69,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
31,
9288,
318,
1324,
13907,
7,
16601,
11,
42,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
31,
9288,
318,
1324,
13907,
7,
84,
11,
84,
62,
40319,
11,
17034,
349,
28,
15,
13,
18005,
8,
198,
2,
1002,
262,
938,
1332,
8318,
11,
477,
584,
5254,
481,
1208,
1165,
13,
198,
2,
3819,
5254,
389,
925,
284,
1037,
35328,
1521,
262,
938,
1332,
1595,
470,
1208,
13,
198,
437,
198
] | 2.011515 | 1,129 |
export Diff
"""
Diff{GT, N} <: TagBlock{GT, N}
Diff(block) -> Diff
Mark a block as quantum differentiable.
"""
struct Diff{GT, N} <: TagBlock{GT, N}
content::GT
function Diff(content::AbstractBlock{N}) where {N}
@warn "Diff block has been deprecated, please use `Yao.AD.NoParams` to block non-differential parameters."
new{typeof(content), N}(content)
end
end
content(cb::Diff) = cb.content
chcontent(cb::Diff, blk::AbstractBlock) = Diff(blk)
YaoBlocks.PropertyTrait(::Diff) = YaoBlocks.PreserveAll()
apply!(reg::AbstractRegister, db::Diff) = apply!(reg, content(db))
mat(::Type{T}, df::Diff) where T = mat(T, df.content)
Base.adjoint(df::Diff) = chcontent(df, content(df)')
function YaoBlocks.print_annotation(io::IO, df::Diff)
printstyled(io, "[∂] "; bold=true, color=:yellow)
end
#### interface #####
export markdiff
"""
markdiff(mode::Symbol, block::AbstractBlock) -> AbstractBlock
markdiff(mode::Symbol) -> Function
automatically mark differentiable items in a block tree as differentiable.
"""
function markdiff end
# for QC
markdiff(block::Union{RotationGate, CPhaseGate}) = Diff(block)
# escape control blocks.
markdiff(block::ControlBlock) = block
function markdiff(blk::AbstractBlock)
blks = subblocks(blk)
isempty(blks) ? blk : chsubblocks(blk, markdiff.(blks))
end
YaoBlocks.AD.mat_back!(::Type{T}, db::Diff, adjm::AbstractMatrix, collector) where T = AD.mat_back!(T, content(db), adjm, collector)
| [
39344,
10631,
198,
37811,
198,
220,
220,
220,
10631,
90,
19555,
11,
399,
92,
1279,
25,
17467,
12235,
90,
19555,
11,
399,
92,
198,
220,
220,
220,
10631,
7,
9967,
8,
4613,
10631,
198,
198,
9704,
257,
2512,
355,
14821,
1180,
3379,
13,
198,
37811,
198,
7249,
10631,
90,
19555,
11,
399,
92,
1279,
25,
17467,
12235,
90,
19555,
11,
399,
92,
198,
220,
220,
220,
2695,
3712,
19555,
198,
220,
220,
220,
2163,
10631,
7,
11299,
3712,
23839,
12235,
90,
45,
30072,
810,
1391,
45,
92,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
40539,
366,
28813,
2512,
468,
587,
39224,
11,
3387,
779,
4600,
56,
5488,
13,
2885,
13,
2949,
10044,
4105,
63,
284,
2512,
1729,
12,
39799,
498,
10007,
526,
198,
220,
220,
220,
220,
220,
220,
220,
649,
90,
4906,
1659,
7,
11299,
828,
399,
92,
7,
11299,
8,
198,
220,
220,
220,
886,
198,
437,
198,
11299,
7,
21101,
3712,
28813,
8,
796,
269,
65,
13,
11299,
198,
354,
11299,
7,
21101,
3712,
28813,
11,
698,
74,
3712,
23839,
12235,
8,
796,
10631,
7,
2436,
74,
8,
198,
56,
5488,
45356,
13,
21746,
51,
12907,
7,
3712,
28813,
8,
796,
37826,
45356,
13,
25460,
3760,
3237,
3419,
198,
198,
39014,
0,
7,
2301,
3712,
23839,
38804,
11,
20613,
3712,
28813,
8,
796,
4174,
0,
7,
2301,
11,
2695,
7,
9945,
4008,
198,
6759,
7,
3712,
6030,
90,
51,
5512,
47764,
3712,
28813,
8,
810,
309,
796,
2603,
7,
51,
11,
47764,
13,
11299,
8,
198,
14881,
13,
41255,
1563,
7,
7568,
3712,
28813,
8,
796,
442,
11299,
7,
7568,
11,
2695,
7,
7568,
8,
11537,
198,
198,
8818,
37826,
45356,
13,
4798,
62,
1236,
14221,
7,
952,
3712,
9399,
11,
47764,
3712,
28813,
8,
198,
220,
220,
220,
3601,
34365,
992,
7,
952,
11,
12878,
24861,
224,
60,
366,
26,
10758,
28,
7942,
11,
3124,
28,
25,
36022,
8,
198,
437,
198,
198,
4242,
7071,
46424,
198,
39344,
1317,
26069,
198,
198,
37811,
198,
220,
220,
220,
1317,
26069,
7,
14171,
3712,
13940,
23650,
11,
2512,
3712,
23839,
12235,
8,
4613,
27741,
12235,
198,
220,
220,
220,
1317,
26069,
7,
14171,
3712,
13940,
23650,
8,
4613,
15553,
198,
198,
2306,
296,
4142,
1317,
1180,
3379,
3709,
287,
257,
2512,
5509,
355,
1180,
3379,
13,
198,
37811,
198,
8818,
1317,
26069,
886,
198,
198,
2,
329,
36070,
198,
4102,
26069,
7,
9967,
3712,
38176,
90,
49,
14221,
22628,
11,
327,
35645,
22628,
30072,
796,
10631,
7,
9967,
8,
198,
2,
6654,
1630,
7021,
13,
198,
4102,
26069,
7,
9967,
3712,
15988,
12235,
8,
796,
2512,
198,
198,
8818,
1317,
26069,
7,
2436,
74,
3712,
23839,
12235,
8,
198,
220,
220,
220,
698,
591,
796,
850,
27372,
7,
2436,
74,
8,
198,
220,
220,
220,
318,
28920,
7,
2436,
591,
8,
5633,
698,
74,
1058,
442,
7266,
27372,
7,
2436,
74,
11,
1317,
26069,
12195,
2436,
591,
4008,
198,
437,
198,
198,
56,
5488,
45356,
13,
2885,
13,
6759,
62,
1891,
0,
7,
3712,
6030,
90,
51,
5512,
20613,
3712,
28813,
11,
9224,
76,
3712,
23839,
46912,
11,
22967,
8,
810,
309,
796,
5984,
13,
6759,
62,
1891,
0,
7,
51,
11,
2695,
7,
9945,
828,
9224,
76,
11,
22967,
8,
198
] | 2.751866 | 536 |