content
stringlengths
5
1.03M
input_ids
sequencelengths
4
823k
ratio_char_token
float64
0.4
12.5
token_count
int64
4
823k
# Test that a hitran fixed-width file is correctly parsed @testset "read_hitran" begin println("Testing read_hitran...") #### #### These tests check that the correct values & types are extracted from the file, #### especially that molecule/isotope match and ν between ν_min and ν_max) #### CO2_test_file = "test_profiles/testCO2.data" test_ht = Absorption.read_hitran(CO2_test_file, mol=2, iso=1, ν_min=6000, ν_max=6400) @test test_ht.mol == [2, 2, 2, 2] && test_ht.mol[1] isa Int64 @test test_ht.iso == [1, 1, 1, 1] && test_ht.iso[1] isa Int64 @test test_ht.νᵢ == [6000.542970, 6286.403343, 6317.417493, 6380.824116] && test_ht.νᵢ[1] isa Float64 @test test_ht.Sᵢ == [ 1.098E-28, 9.843E-30, 5.613E-27, 1.809E-30] && test_ht.Sᵢ[1] isa Float64 @test test_ht.Aᵢ == [ 9.993e-08, 1.179e-08, 1.324e-05, 1.601e-02] && test_ht.Aᵢ[1] isa Float64 @test test_ht.γ_air == [.0880, .0687, .0682, .0671] && test_ht.γ_air[1] isa Float64 @test test_ht.γ_self == [0.118, 0.087, 0.081, 0.073] && test_ht.γ_self[1] isa Float64 @test test_ht.E″ == [7.8043, 464.1717, 639.6004, 3798.2095] && test_ht.E″[1] isa Float64 @test test_ht.n_air == [0.77, 0.76, 0.76, 0.73] && test_ht.n_air[1] isa Float64 @test test_ht.δ_air == [-.004342, -.007362, -.007443, -.007669] && test_ht.δ_air[1] isa Float64 @test test_ht.global_upper_quanta == [" 4 1 1 03", " 2 2 2 12", " 2 2 2 12", " 4 2 2 12"] && test_ht.global_upper_quanta[1] isa String @test test_ht.global_lower_quanta == [" 0 0 0 01", " 0 0 0 01", " 0 0 0 01", " 1 2 2 01"] && test_ht.global_lower_quanta[1] isa String @test test_ht.local_upper_quanta == [" ", " ", " ", " "] && test_ht.local_upper_quanta[1] isa String @test test_ht.local_lower_quanta == [" Q 4e ", " Q 34e ", " R 40e ", " R 51f "] && test_ht.local_lower_quanta[1] isa String @test test_ht.ierr == ["367774", "367764", "367764", "367774"] && test_ht.ierr[1] isa String @test test_ht.iref == ["2029 5 4 5 7", "2029 5 4 5 7", "2029 5 4 5 7", "2029 5 4 5 7"] && test_ht.iref[1] isa String @test test_ht.line_mixing_flag == [" ", " ", " ", " "] && test_ht.line_mixing_flag[1] isa String @test test_ht.g′ == [9.0, 69.0, 83.0, 105.0] && test_ht.g′[1] isa Float64 @test test_ht.g″ == [9.0, 69.0, 81.0, 103.0] && test_ht.g″[1] isa Float64 #### #### These tests check that the optional params work correctly #### # Not specifying the molecule # test_ht = Absorption.read_hitran(CO2_test_file, iso=1, ν_min=6000, ν_max=6400) @test test_ht.mol == [1, 2, 2, 2, 2] @test test_ht.iso == [1, 1, 1, 1, 1] @test test_ht.νᵢ == [6286.403343, 6000.542970, 6286.403343, 6317.417493, 6380.824116] @test test_ht.g″ == [69.0, 9.0, 69.0, 81.0, 103.0] # Not specifying the isotope # test_ht = Absorption.read_hitran(CO2_test_file, mol=2, ν_min=6000, ν_max=6400) @test test_ht.mol == [2, 2, 2, 2, 2] @test test_ht.iso == [2, 1, 1, 1, 1] @test test_ht.νᵢ == [6000.542970, 6000.542970, 6286.403343, 6317.417493, 6380.824116] @test test_ht.g″ == [9.0, 9.0, 69.0, 81.0, 103.0] # Not specifying the molecule # OR isotope # test_ht = Absorption.read_hitran(CO2_test_file, ν_min=6000, ν_max=6400) @test test_ht.mol == [1, 2, 2, 2, 2, 2] @test test_ht.iso == [1, 2, 1, 1, 1, 1] @test test_ht.νᵢ == [6286.403343, 6000.542970, 6000.542970, 6286.403343, 6317.417493, 6380.824116] @test test_ht.g″ == [69.0, 9.0, 9.0, 69.0, 81.0, 103.0] # Not specifying ν_min test_ht = Absorption.read_hitran(CO2_test_file, mol=2, iso=1, ν_max=6400) @test length(test_ht.mol) == 9 # Not specifying ν_max test_ht = Absorption.read_hitran(CO2_test_file, mol=2, iso=1, ν_min=6000) @test length(test_ht.mol) == 7 # Not specifying ν_min OR ν_max test_ht = Absorption.read_hitran(CO2_test_file, mol=2, iso=1) @test length(test_ht.mol) == 12 end # Test that absorption cross sections are calculated correctly # (Not using pre-saved interpolator) @testset "absorption_cross_section_hitran" begin println("Testing absorption_cross_section_hitran...") #### #### These tests check that for one molecule (CO2), over a temperature/ #### pressure grid and in a specific band (6000<ν<6400), our Voigt #### broadening implementation closely matches the HAPI output under #### the same conditions #### # Temperature and pressure grids. # Note that these are pre-defined for testing -- the values are defined in generateHapiTests.py # To test against a different range, you must change the grids in that # file and rerun it. Then, you can change it here. pressures = 250:250:1250 temperatures = 100:75:400 # Get the test data CO2_file = artifact("CO2") test_ht = Absorption.read_hitran(CO2_file, mol=2, iso=1, ν_min=6000, ν_max=6400) grid = 6000:0.01:6400; # Threshold -- our value must be within ϵ of the HAPI value ϵ = 3.6e-27 # Create a HitranModel model = make_hitran_model(test_ht, Voigt(), CEF=HumlicekWeidemann32SDErrorFunction()) # Loop over every temperature/pressure combo and test that the results match HAPI @showprogress 1 "Testing HAPI equivalence (On CO2 Band)..." for temp in temperatures for pres in pressures jl_cs = absorption_cross_section(model, grid, pres, temp) py_cs = array_type(default_architecture)(readdlm("test_profiles/Voigt_CO2_T" * string(temp) * "_P" * string(pres) * ".csv")) Δcs = abs.(jl_cs - py_cs) @test maximum(Δcs) < ϵ end end #### #### Now test HAPI equivalence with other molecules #### names = ["H2O", "CO2", "O3", "N2O", "CO"] molecules = [1, 2, 3, 4, 5] isotopes = [1, 1, 1, 1, 1] # Loop over every temperature/pressure combo and test that the results match HAPI # (Doing this for other molecules) @showprogress 1 "Testing HAPI equivalence (On Other Molecules)..." for name in names pres = 1000 temp = 250 # Get the test data test_ht = Absorption.read_hitran(artifact(name), iso=1, ν_min=6000, ν_max=6400) # Create a HitranModel model = make_hitran_model(test_ht, Voigt(), CEF=HumlicekWeidemann32SDErrorFunction()) jl_cs = absorption_cross_section(model, grid, pres, temp) py_cs = array_type(default_architecture)(readdlm("test_profiles/Voigt_" * name * "_T250_P1000.csv")) Δcs = abs.(jl_cs - py_cs) @test maximum(Δcs) < ϵ end end # Test that absorption cross sections if calculated using wavenumbers @testset "absorption_cross_section_wavelengths" begin println("Testing absorption_cross_section_wavelengths...") hitran_data = read_hitran(artifact("CO2"), mol=2, iso=1, ν_min=6000, ν_max=6400) model = make_hitran_model(hitran_data, Voigt(), wing_cutoff = 40, CEF=HumlicekWeidemann32SDErrorFunction(), architecture=CPU()) grid = 6000:0.01:6400 @test absorption_cross_section(model, grid, 1000.1, 296.1) ≈ reverse(absorption_cross_section(model, reverse(1e7 ./ collect(grid)), 1000.1, 296.1, wavelength_flag=true)); end # Test that absorption cross sections are calculated correctly # using a new interpolator @testset "absorption_cross_section_interpolator" begin println("Testing absorption_cross_section_interpolator...") # Get the test data test_ht = Absorption.read_hitran(artifact("CO2"), iso=1, ν_min=6000, ν_max=6400) # Pressure and temperature grids pressures = 250:250:1250 temperatures = 100:75:400 # Wavelength grid ν_grid = 6000:0.01:6400 # Create the Interpolation Model interp_model = make_interpolation_model(test_ht, Voigt(), ν_grid, pressures, temperatures, CEF=HumlicekWeidemann32SDErrorFunction()) # Threshold -- our value must be within ϵ of the HAPI value ϵ = 3.6e-27 # Loop over every temperature/pressure combo and test that the results match HAPI for temp in temperatures for pres in pressures jl_cs = absorption_cross_section(interp_model, ν_grid, pres, temp) py_cs = readdlm("test_profiles/Voigt_CO2_T" * string(temp) * "_P" * string(pres) * ".csv") Δcs = abs.(jl_cs - py_cs) @test maximum(Δcs) < ϵ end end end # Test that checks whether the cross-section auto-differentiation works @testset "absorption_cross_section_autodiff" begin println("Testing absorption_cross_section_autodiff...") # Load HITRAN data hitran_data = read_hitran(artifact("CO2"), mol=2, iso=1, ν_min=6000, ν_max=6400) # Create the model with parameters model = make_hitran_model(hitran_data, Voigt(), wing_cutoff = 40, CEF=HumlicekWeidemann32SDErrorFunction(), architecture=CPU()) # Compute the cross-section with autodifferentiation value, derivs = absorption_cross_section(model, 6000:0.01:6400, 1000.1, 296.1, autodiff=true); end
[ 2, 6208, 326, 257, 2277, 2596, 5969, 12, 10394, 2393, 318, 9380, 44267, 198, 31, 9288, 2617, 366, 961, 62, 17945, 2596, 1, 2221, 628, 220, 220, 220, 44872, 7203, 44154, 1100, 62, 17945, 2596, 9313, 8, 628, 220, 220, 220, 1303, 21017, 198, 220, 220, 220, 1303, 21017, 2312, 5254, 2198, 326, 262, 3376, 3815, 1222, 3858, 389, 21242, 422, 262, 2393, 11, 198, 220, 220, 220, 1303, 21017, 2592, 326, 27756, 14, 271, 313, 3008, 2872, 290, 7377, 121, 1022, 7377, 121, 62, 1084, 290, 7377, 121, 62, 9806, 8, 198, 220, 220, 220, 1303, 21017, 628, 220, 220, 220, 7375, 17, 62, 9288, 62, 7753, 796, 366, 9288, 62, 5577, 2915, 14, 9288, 8220, 17, 13, 7890, 1, 628, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 43132, 6624, 685, 17, 11, 362, 11, 362, 11, 362, 60, 11405, 1332, 62, 4352, 13, 43132, 58, 16, 60, 318, 64, 2558, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26786, 6624, 685, 16, 11, 352, 11, 352, 11, 352, 60, 11405, 1332, 62, 4352, 13, 26786, 58, 16, 60, 318, 64, 2558, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26180, 39611, 95, 6624, 685, 43434, 13, 4051, 1959, 2154, 11, 718, 27033, 13, 1821, 2091, 3559, 11, 8093, 1558, 13, 38547, 43134, 11, 8093, 1795, 13, 23, 1731, 18298, 60, 11405, 1332, 62, 4352, 13, 26180, 39611, 95, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 50, 39611, 95, 6624, 685, 352, 13, 2931, 23, 36, 12, 2078, 11, 860, 13, 23, 3559, 36, 12, 1270, 11, 642, 13, 47512, 36, 12, 1983, 11, 352, 13, 34583, 36, 12, 1270, 60, 11405, 1332, 62, 4352, 13, 50, 39611, 95, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 32, 39611, 95, 6624, 685, 860, 13, 44821, 68, 12, 2919, 11, 352, 13, 21738, 68, 12, 2919, 11, 352, 13, 33916, 68, 12, 2713, 11, 352, 13, 41706, 68, 12, 2999, 60, 11405, 1332, 62, 4352, 13, 32, 39611, 95, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 42063, 62, 958, 6624, 685, 13, 2919, 1795, 11, 764, 15, 39925, 11, 764, 15, 43950, 11, 764, 15, 46250, 60, 11405, 1332, 62, 4352, 13, 42063, 62, 958, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 42063, 62, 944, 6624, 685, 15, 13, 16817, 11, 657, 13, 2919, 22, 11, 657, 13, 2919, 16, 11, 657, 13, 2998, 18, 60, 11405, 1332, 62, 4352, 13, 42063, 62, 944, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 36, 12237, 6624, 685, 22, 13, 1795, 3559, 11, 604, 2414, 13, 1558, 1558, 11, 718, 2670, 13, 8054, 19, 11, 513, 43240, 13, 1238, 3865, 60, 11405, 1332, 62, 4352, 13, 36, 12237, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 77, 62, 958, 6624, 685, 15, 13, 3324, 11, 657, 13, 4304, 11, 657, 13, 4304, 11, 657, 13, 4790, 60, 11405, 1332, 62, 4352, 13, 77, 62, 958, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 138, 112, 62, 958, 6624, 25915, 13, 22914, 31575, 11, 532, 13, 25816, 35667, 11, 532, 13, 25816, 34938, 11, 532, 13, 25816, 36657, 60, 11405, 1332, 62, 4352, 13, 138, 112, 62, 958, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 20541, 62, 45828, 62, 421, 4910, 6624, 14631, 220, 220, 220, 220, 220, 220, 604, 352, 352, 7643, 1600, 366, 220, 220, 220, 220, 220, 220, 362, 362, 362, 1105, 1600, 366, 220, 220, 220, 220, 220, 220, 362, 362, 362, 1105, 1600, 366, 220, 220, 220, 220, 220, 220, 604, 362, 362, 1105, 8973, 11405, 1332, 62, 4352, 13, 20541, 62, 45828, 62, 421, 4910, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 20541, 62, 21037, 62, 421, 4910, 6624, 14631, 220, 220, 220, 220, 220, 220, 657, 657, 657, 5534, 1600, 366, 220, 220, 220, 220, 220, 220, 657, 657, 657, 5534, 1600, 366, 220, 220, 220, 220, 220, 220, 657, 657, 657, 5534, 1600, 366, 220, 220, 220, 220, 220, 220, 352, 362, 362, 5534, 8973, 11405, 1332, 62, 4352, 13, 20541, 62, 21037, 62, 421, 4910, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 12001, 62, 45828, 62, 421, 4910, 6624, 14631, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 60, 11405, 1332, 62, 4352, 13, 12001, 62, 45828, 62, 421, 4910, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 12001, 62, 21037, 62, 421, 4910, 6624, 14631, 220, 220, 220, 220, 1195, 220, 604, 68, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 1195, 4974, 68, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 371, 2319, 68, 220, 220, 220, 220, 33172, 366, 220, 220, 220, 220, 371, 6885, 69, 220, 220, 220, 220, 366, 60, 11405, 1332, 62, 4352, 13, 12001, 62, 21037, 62, 421, 4910, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 959, 81, 6624, 14631, 2623, 3324, 4524, 1600, 366, 2623, 3324, 2414, 1600, 366, 2623, 3324, 2414, 1600, 366, 2623, 3324, 4524, 8973, 11405, 1332, 62, 4352, 13, 959, 81, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 557, 69, 6624, 14631, 1238, 1959, 642, 604, 642, 767, 1600, 366, 1238, 1959, 642, 604, 642, 767, 1600, 366, 1238, 1959, 642, 604, 642, 767, 1600, 366, 1238, 1959, 642, 604, 642, 767, 8973, 11405, 1332, 62, 4352, 13, 557, 69, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 1370, 62, 19816, 278, 62, 32109, 6624, 14631, 33172, 366, 33172, 366, 33172, 366, 366, 60, 11405, 1332, 62, 4352, 13, 1370, 62, 19816, 278, 62, 32109, 58, 16, 60, 318, 64, 10903, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 70, 17478, 6624, 685, 24, 13, 15, 11, 8644, 13, 15, 11, 9698, 13, 15, 11, 13343, 13, 15, 60, 11405, 1332, 62, 4352, 13, 70, 17478, 58, 16, 60, 318, 64, 48436, 2414, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 70, 12237, 6624, 685, 24, 13, 15, 11, 8644, 13, 15, 11, 9773, 13, 15, 11, 15349, 13, 15, 60, 11405, 1332, 62, 4352, 13, 70, 12237, 58, 16, 60, 318, 64, 48436, 2414, 628, 220, 220, 220, 1303, 21017, 198, 220, 220, 220, 1303, 21017, 2312, 5254, 2198, 326, 262, 11902, 42287, 670, 9380, 198, 220, 220, 220, 1303, 21017, 628, 220, 220, 220, 1303, 1892, 31577, 262, 27756, 1303, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 43132, 6624, 685, 16, 11, 362, 11, 362, 11, 362, 11, 362, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26786, 6624, 685, 16, 11, 352, 11, 352, 11, 352, 11, 352, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26180, 39611, 95, 6624, 685, 21, 27033, 13, 1821, 2091, 3559, 11, 39064, 13, 4051, 1959, 2154, 11, 718, 27033, 13, 1821, 2091, 3559, 11, 8093, 1558, 13, 38547, 43134, 11, 8093, 1795, 13, 23, 1731, 18298, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 70, 12237, 6624, 685, 3388, 13, 15, 11, 860, 13, 15, 11, 8644, 13, 15, 11, 9773, 13, 15, 11, 15349, 13, 15, 60, 628, 220, 220, 220, 1303, 1892, 31577, 262, 31624, 3008, 1303, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 18605, 28, 17, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 43132, 6624, 685, 17, 11, 362, 11, 362, 11, 362, 11, 362, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26786, 6624, 685, 17, 11, 352, 11, 352, 11, 352, 11, 352, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26180, 39611, 95, 6624, 685, 43434, 13, 4051, 1959, 2154, 11, 39064, 13, 4051, 1959, 2154, 11, 718, 27033, 13, 1821, 2091, 3559, 11, 8093, 1558, 13, 38547, 43134, 11, 8093, 1795, 13, 23, 1731, 18298, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 70, 12237, 6624, 685, 24, 13, 15, 11, 860, 13, 15, 11, 8644, 13, 15, 11, 9773, 13, 15, 11, 15349, 13, 15, 60, 628, 220, 220, 220, 1303, 1892, 31577, 262, 27756, 1303, 6375, 31624, 3008, 1303, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 43132, 6624, 685, 16, 11, 362, 11, 362, 11, 362, 11, 362, 11, 362, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26786, 6624, 685, 16, 11, 362, 11, 352, 11, 352, 11, 352, 11, 352, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 26180, 39611, 95, 6624, 685, 21, 27033, 13, 1821, 2091, 3559, 11, 39064, 13, 4051, 1959, 2154, 11, 39064, 13, 4051, 1959, 2154, 11, 718, 27033, 13, 1821, 2091, 3559, 11, 8093, 1558, 13, 38547, 43134, 11, 8093, 1795, 13, 23, 1731, 18298, 60, 198, 220, 220, 220, 2488, 9288, 1332, 62, 4352, 13, 70, 12237, 6624, 685, 3388, 13, 15, 11, 860, 13, 15, 11, 860, 13, 15, 11, 8644, 13, 15, 11, 9773, 13, 15, 11, 15349, 13, 15, 60, 628, 220, 220, 220, 1303, 1892, 31577, 7377, 121, 62, 1084, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2488, 9288, 4129, 7, 9288, 62, 4352, 13, 43132, 8, 6624, 860, 628, 220, 220, 220, 1303, 1892, 31577, 7377, 121, 62, 9806, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 8, 198, 220, 220, 220, 2488, 9288, 4129, 7, 9288, 62, 4352, 13, 43132, 8, 6624, 767, 628, 220, 220, 220, 1303, 1892, 31577, 7377, 121, 62, 1084, 6375, 7377, 121, 62, 9806, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 9288, 62, 7753, 11, 18605, 28, 17, 11, 47279, 28, 16, 8, 198, 220, 220, 220, 2488, 9288, 4129, 7, 9288, 62, 4352, 13, 43132, 8, 6624, 1105, 198, 198, 437, 198, 198, 2, 6208, 326, 24774, 3272, 9004, 389, 10488, 9380, 220, 198, 2, 357, 3673, 1262, 662, 12, 82, 9586, 39555, 1352, 8, 198, 198, 31, 9288, 2617, 366, 46303, 1159, 62, 19692, 62, 5458, 62, 17945, 2596, 1, 2221, 628, 220, 220, 220, 44872, 7203, 44154, 24774, 62, 19692, 62, 5458, 62, 17945, 2596, 9313, 8, 628, 220, 220, 220, 1303, 21017, 198, 220, 220, 220, 1303, 21017, 2312, 5254, 2198, 326, 329, 530, 27756, 357, 8220, 17, 828, 625, 257, 5951, 14, 198, 220, 220, 220, 1303, 21017, 3833, 10706, 290, 287, 257, 2176, 4097, 357, 43434, 27, 26180, 27, 2414, 405, 828, 674, 20687, 328, 83, 220, 198, 220, 220, 220, 1303, 21017, 3154, 3101, 7822, 7173, 7466, 262, 367, 17614, 5072, 739, 198, 220, 220, 220, 1303, 21017, 262, 976, 3403, 198, 220, 220, 220, 1303, 21017, 628, 220, 220, 220, 1303, 34467, 290, 3833, 50000, 13, 220, 198, 220, 220, 220, 1303, 5740, 326, 777, 389, 662, 12, 23211, 329, 4856, 1377, 262, 3815, 389, 5447, 287, 7716, 39, 15042, 51, 3558, 13, 9078, 198, 220, 220, 220, 1303, 1675, 1332, 1028, 257, 1180, 2837, 11, 345, 1276, 1487, 262, 50000, 287, 326, 220, 198, 220, 220, 220, 1303, 2393, 290, 302, 5143, 340, 13, 3244, 11, 345, 460, 1487, 340, 994, 13, 220, 628, 220, 220, 220, 18895, 796, 8646, 25, 9031, 25, 1065, 1120, 198, 220, 220, 220, 10101, 796, 1802, 25, 2425, 25, 7029, 220, 628, 220, 220, 220, 1303, 3497, 262, 1332, 1366, 198, 220, 220, 220, 7375, 17, 62, 7753, 796, 24127, 7203, 8220, 17, 4943, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 8220, 17, 62, 7753, 11, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 628, 220, 220, 220, 10706, 796, 39064, 25, 15, 13, 486, 25, 2414, 405, 26, 628, 220, 220, 220, 1303, 536, 10126, 1377, 674, 1988, 1276, 307, 1626, 18074, 113, 286, 262, 367, 17614, 1988, 198, 220, 220, 220, 18074, 113, 796, 513, 13, 21, 68, 12, 1983, 628, 220, 220, 220, 1303, 13610, 257, 7286, 2596, 17633, 220, 198, 220, 220, 220, 2746, 796, 787, 62, 17945, 2596, 62, 19849, 7, 9288, 62, 4352, 11, 20687, 328, 83, 22784, 18671, 37, 28, 32661, 75, 501, 74, 1135, 28913, 1236, 2624, 50, 7206, 81, 1472, 22203, 28955, 628, 220, 220, 220, 1303, 26304, 625, 790, 5951, 14, 36151, 14831, 290, 1332, 326, 262, 2482, 2872, 367, 17614, 198, 220, 220, 220, 2488, 12860, 33723, 352, 366, 44154, 367, 17614, 6854, 594, 357, 2202, 7375, 17, 10243, 8, 9313, 329, 20218, 287, 10101, 198, 220, 220, 220, 220, 220, 220, 220, 329, 906, 287, 18895, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 75, 62, 6359, 796, 24774, 62, 19692, 62, 5458, 7, 19849, 11, 10706, 11, 906, 11, 20218, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 62, 6359, 796, 7177, 62, 4906, 7, 12286, 62, 998, 5712, 495, 5769, 961, 25404, 76, 7203, 9288, 62, 5577, 2915, 14, 42144, 328, 83, 62, 8220, 17, 62, 51, 1, 1635, 4731, 7, 29510, 8, 1635, 45434, 47, 1, 1635, 4731, 7, 18302, 8, 1635, 27071, 40664, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37455, 6359, 796, 2352, 12195, 20362, 62, 6359, 532, 12972, 62, 6359, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 5415, 7, 138, 242, 6359, 8, 1279, 18074, 113, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1303, 21017, 220, 198, 220, 220, 220, 1303, 21017, 2735, 1332, 367, 17614, 6854, 594, 351, 584, 17745, 198, 220, 220, 220, 1303, 21017, 628, 220, 220, 220, 3891, 796, 14631, 39, 17, 46, 1600, 366, 8220, 17, 1600, 366, 46, 18, 1600, 366, 45, 17, 46, 1600, 366, 8220, 8973, 198, 220, 220, 220, 17745, 796, 685, 16, 11, 362, 11, 513, 11, 604, 11, 642, 60, 198, 220, 220, 220, 31624, 13920, 796, 685, 16, 11, 352, 11, 352, 11, 352, 11, 352, 60, 628, 220, 220, 220, 1303, 26304, 625, 790, 5951, 14, 36151, 14831, 290, 1332, 326, 262, 2482, 2872, 367, 17614, 198, 220, 220, 220, 1303, 357, 5211, 278, 428, 329, 584, 17745, 8, 198, 220, 220, 220, 2488, 12860, 33723, 352, 366, 44154, 367, 17614, 6854, 594, 357, 2202, 3819, 25726, 13930, 8, 9313, 329, 1438, 287, 3891, 628, 220, 220, 220, 220, 220, 220, 220, 906, 796, 8576, 198, 220, 220, 220, 220, 220, 220, 220, 20218, 796, 8646, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 262, 1332, 1366, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 433, 29660, 7, 3672, 828, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 13610, 257, 7286, 2596, 17633, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 796, 787, 62, 17945, 2596, 62, 19849, 7, 9288, 62, 4352, 11, 20687, 328, 83, 22784, 18671, 37, 28, 32661, 75, 501, 74, 1135, 28913, 1236, 2624, 50, 7206, 81, 1472, 22203, 28955, 628, 220, 220, 220, 220, 220, 220, 220, 474, 75, 62, 6359, 796, 24774, 62, 19692, 62, 5458, 7, 19849, 11, 10706, 11, 906, 11, 20218, 8, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 62, 6359, 796, 7177, 62, 4906, 7, 12286, 62, 998, 5712, 495, 5769, 961, 25404, 76, 7203, 9288, 62, 5577, 2915, 14, 42144, 328, 83, 62, 1, 1635, 1438, 1635, 45434, 51, 9031, 62, 47, 12825, 13, 40664, 48774, 198, 220, 220, 220, 220, 220, 220, 220, 37455, 6359, 796, 2352, 12195, 20362, 62, 6359, 532, 12972, 62, 6359, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 5415, 7, 138, 242, 6359, 8, 1279, 18074, 113, 198, 220, 220, 220, 886, 198, 437, 198, 198, 2, 6208, 326, 24774, 3272, 9004, 611, 10488, 1262, 2082, 574, 17024, 220, 198, 198, 31, 9288, 2617, 366, 46303, 1159, 62, 19692, 62, 5458, 62, 10247, 26623, 82, 1, 2221, 628, 220, 220, 220, 44872, 7203, 44154, 24774, 62, 19692, 62, 5458, 62, 10247, 26623, 82, 9313, 8, 628, 220, 220, 220, 2277, 2596, 62, 7890, 796, 1100, 62, 17945, 2596, 7, 433, 29660, 7203, 8220, 17, 12340, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 198, 220, 220, 220, 2746, 796, 787, 62, 17945, 2596, 62, 19849, 7, 17945, 2596, 62, 7890, 11, 20687, 328, 83, 22784, 8539, 62, 8968, 2364, 796, 2319, 11, 18671, 37, 28, 32661, 75, 501, 74, 1135, 28913, 1236, 2624, 50, 7206, 81, 1472, 22203, 22784, 10959, 28, 36037, 28955, 198, 220, 220, 220, 10706, 796, 39064, 25, 15, 13, 486, 25, 2414, 405, 198, 220, 220, 220, 2488, 9288, 24774, 62, 19692, 62, 5458, 7, 19849, 11, 10706, 11, 8576, 13, 16, 11, 41922, 13, 16, 8, 15139, 230, 9575, 7, 46303, 1159, 62, 19692, 62, 5458, 7, 19849, 11, 9575, 7, 16, 68, 22, 24457, 2824, 7, 25928, 36911, 8576, 13, 16, 11, 41922, 13, 16, 11, 28400, 62, 32109, 28, 7942, 18125, 198, 437, 198, 198, 2, 6208, 326, 24774, 3272, 9004, 389, 10488, 9380, 220, 198, 2, 1262, 257, 649, 39555, 1352, 198, 198, 31, 9288, 2617, 366, 46303, 1159, 62, 19692, 62, 5458, 62, 3849, 16104, 1352, 1, 2221, 628, 220, 220, 220, 44872, 7203, 44154, 24774, 62, 19692, 62, 5458, 62, 3849, 16104, 1352, 9313, 8, 628, 220, 220, 220, 1303, 3497, 262, 1332, 1366, 198, 220, 220, 220, 1332, 62, 4352, 796, 13051, 273, 1159, 13, 961, 62, 17945, 2596, 7, 433, 29660, 7203, 8220, 17, 12340, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 628, 220, 220, 220, 1303, 30980, 290, 5951, 50000, 198, 220, 220, 220, 18895, 796, 8646, 25, 9031, 25, 1065, 1120, 198, 220, 220, 220, 10101, 796, 1802, 25, 2425, 25, 7029, 220, 628, 220, 220, 220, 1303, 15329, 26623, 10706, 198, 220, 220, 220, 7377, 121, 62, 25928, 796, 39064, 25, 15, 13, 486, 25, 2414, 405, 628, 220, 220, 220, 1303, 13610, 262, 4225, 16104, 341, 9104, 198, 220, 220, 220, 987, 79, 62, 19849, 796, 787, 62, 3849, 16104, 341, 62, 19849, 7, 9288, 62, 4352, 11, 20687, 328, 83, 22784, 7377, 121, 62, 25928, 11, 18895, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10101, 11, 18671, 37, 28, 32661, 75, 501, 74, 1135, 28913, 1236, 2624, 50, 7206, 81, 1472, 22203, 28955, 220, 628, 220, 220, 220, 1303, 536, 10126, 1377, 674, 1988, 1276, 307, 1626, 18074, 113, 286, 262, 367, 17614, 1988, 198, 220, 220, 220, 18074, 113, 796, 513, 13, 21, 68, 12, 1983, 628, 220, 220, 220, 1303, 26304, 625, 790, 5951, 14, 36151, 14831, 290, 1332, 326, 262, 2482, 2872, 367, 17614, 198, 220, 220, 220, 329, 20218, 287, 10101, 198, 220, 220, 220, 220, 220, 220, 220, 329, 906, 287, 18895, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 75, 62, 6359, 796, 24774, 62, 19692, 62, 5458, 7, 3849, 79, 62, 19849, 11, 7377, 121, 62, 25928, 11, 906, 11, 20218, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12972, 62, 6359, 796, 1100, 25404, 76, 7203, 9288, 62, 5577, 2915, 14, 42144, 328, 83, 62, 8220, 17, 62, 51, 1, 1635, 4731, 7, 29510, 8, 1635, 45434, 47, 1, 1635, 4731, 7, 18302, 8, 1635, 27071, 40664, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37455, 6359, 796, 2352, 12195, 20362, 62, 6359, 532, 12972, 62, 6359, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 5415, 7, 138, 242, 6359, 8, 1279, 18074, 113, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 198, 437, 220, 198, 198, 2, 6208, 326, 8794, 1771, 262, 3272, 12, 5458, 8295, 12, 39799, 3920, 2499, 198, 198, 31, 9288, 2617, 366, 46303, 1159, 62, 19692, 62, 5458, 62, 2306, 375, 733, 1, 2221, 628, 220, 220, 220, 44872, 7203, 44154, 24774, 62, 19692, 62, 5458, 62, 2306, 375, 733, 9313, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 8778, 46405, 49, 1565, 1366, 198, 220, 220, 220, 2277, 2596, 62, 7890, 796, 1100, 62, 17945, 2596, 7, 433, 29660, 7203, 8220, 17, 12340, 18605, 28, 17, 11, 47279, 28, 16, 11, 7377, 121, 62, 1084, 28, 43434, 11, 7377, 121, 62, 9806, 28, 2414, 405, 8, 628, 220, 220, 220, 1303, 13610, 262, 2746, 351, 10007, 198, 220, 220, 220, 2746, 796, 787, 62, 17945, 2596, 62, 19849, 7, 17945, 2596, 62, 7890, 11, 20687, 328, 83, 22784, 8539, 62, 8968, 2364, 796, 2319, 11, 18671, 37, 28, 32661, 75, 501, 74, 1135, 28913, 1236, 2624, 50, 7206, 81, 1472, 22203, 22784, 10959, 28, 36037, 28955, 628, 220, 220, 220, 1303, 3082, 1133, 262, 3272, 12, 5458, 351, 1960, 375, 17125, 3920, 198, 220, 220, 220, 1988, 11, 16124, 82, 796, 24774, 62, 19692, 62, 5458, 7, 19849, 11, 39064, 25, 15, 13, 486, 25, 2414, 405, 11, 8576, 13, 16, 11, 41922, 13, 16, 11, 1960, 375, 733, 28, 7942, 1776, 198, 198, 437 ]
2.27943
4,001
using Printf module ApolloniusProblems using Polynomials export Circle struct Point{T<:Real} x::T y::T end xcoord(p::Point) = p.x ycoord(p::Point) = p.y struct Circle{T<:Real} c::Point{T} r::T end Circle(x::T, y::T, r::T) where T<:Real = Circle(Point(x, y), r) radius(c::Circle) = c.r center(c::Circle) = c.c xcenter(c::Circle) = xcoord(center(c)) ycenter(c::Circle) = ycoord(center(c)) Base.show(io::IO, c::Circle) = @printf(io, "centered at (%0.4f, %0.4f) with radius %0.4f", xcenter(c), ycenter(c), radius(c)) function solve(ap::Vector{Circle{T}}, enc=()) where T<:Real length(ap) == 3 || error("This Apollonius problem needs 3 circles.") x = @. xcenter(ap) y = @. ycenter(ap) r = map(u -> ifelse(u ∈ enc, -1, 1), 1:3) .* radius.(ap) @views begin a = 2x[1] .- 2x[2:3] b = 2y[1] .- 2y[2:3] c = 2r[1] .- 2r[2:3] d = (x[1] ^ 2 + y[1] ^ 2 - r[1] ^ 2) .- (x[2:3] .^ 2 .+ y[2:3] .^ 2 .- r[2:3] .^ 2) end u = Poly([-det([b d]), det([b c])] ./ det([a b])) v = Poly([det([a d]), -det([a c])] ./ det([a b])) w = Poly([r[1], 1.0]) ^ 2 s = (u - x[1]) ^ 2 + (v - y[1]) ^ 2 - w r = filter(x -> iszero(imag(x)) && x > zero(x), roots(s)) length(r) < 2 || error("The solution is not unique.") length(r) == 1 || error("There is no solution.") r = r[1] return Circle(polyval(u, r), polyval(v, r), r) end end # module ApolloniusProblem
[ 3500, 12578, 69, 198, 198, 21412, 5949, 692, 261, 3754, 2964, 22143, 198, 198, 3500, 12280, 26601, 8231, 198, 39344, 16291, 198, 198, 7249, 6252, 90, 51, 27, 25, 15633, 92, 198, 220, 220, 220, 2124, 3712, 51, 198, 220, 220, 220, 331, 3712, 51, 198, 437, 198, 198, 87, 37652, 7, 79, 3712, 12727, 8, 796, 279, 13, 87, 198, 88, 37652, 7, 79, 3712, 12727, 8, 796, 279, 13, 88, 198, 198, 7249, 16291, 90, 51, 27, 25, 15633, 92, 198, 220, 220, 220, 269, 3712, 12727, 90, 51, 92, 198, 220, 220, 220, 374, 3712, 51, 198, 437, 198, 31560, 293, 7, 87, 3712, 51, 11, 331, 3712, 51, 11, 374, 3712, 51, 8, 810, 309, 27, 25, 15633, 796, 16291, 7, 12727, 7, 87, 11, 331, 828, 374, 8, 198, 198, 42172, 7, 66, 3712, 31560, 293, 8, 796, 269, 13, 81, 198, 16159, 7, 66, 3712, 31560, 293, 8, 796, 269, 13, 66, 198, 87, 16159, 7, 66, 3712, 31560, 293, 8, 796, 2124, 37652, 7, 16159, 7, 66, 4008, 198, 88, 16159, 7, 66, 3712, 31560, 293, 8, 796, 331, 37652, 7, 16159, 7, 66, 4008, 198, 198, 14881, 13, 12860, 7, 952, 3712, 9399, 11, 269, 3712, 31560, 293, 8, 796, 198, 220, 220, 220, 2488, 37435, 7, 952, 11, 366, 38050, 379, 37633, 15, 13, 19, 69, 11, 4064, 15, 13, 19, 69, 8, 351, 16874, 4064, 15, 13, 19, 69, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 16159, 7, 66, 828, 331, 16159, 7, 66, 828, 16874, 7, 66, 4008, 198, 198, 8818, 8494, 7, 499, 3712, 38469, 90, 31560, 293, 90, 51, 92, 5512, 2207, 28, 28955, 810, 309, 27, 25, 15633, 198, 220, 220, 220, 4129, 7, 499, 8, 6624, 513, 8614, 4049, 7203, 1212, 5949, 692, 261, 3754, 1917, 2476, 513, 13332, 19570, 198, 220, 220, 220, 2124, 796, 2488, 13, 2124, 16159, 7, 499, 8, 198, 220, 220, 220, 331, 796, 2488, 13, 331, 16159, 7, 499, 8, 198, 220, 220, 220, 374, 796, 3975, 7, 84, 4613, 611, 17772, 7, 84, 18872, 230, 2207, 11, 532, 16, 11, 352, 828, 352, 25, 18, 8, 764, 9, 16874, 12195, 499, 8, 198, 220, 220, 220, 2488, 33571, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 362, 87, 58, 16, 60, 764, 12, 362, 87, 58, 17, 25, 18, 60, 198, 220, 220, 220, 220, 220, 220, 220, 275, 796, 362, 88, 58, 16, 60, 764, 12, 362, 88, 58, 17, 25, 18, 60, 198, 220, 220, 220, 220, 220, 220, 220, 269, 796, 362, 81, 58, 16, 60, 764, 12, 362, 81, 58, 17, 25, 18, 60, 198, 220, 220, 220, 220, 220, 220, 220, 288, 796, 357, 87, 58, 16, 60, 10563, 362, 1343, 331, 58, 16, 60, 10563, 362, 532, 374, 58, 16, 60, 10563, 362, 8, 764, 12, 357, 87, 58, 17, 25, 18, 60, 764, 61, 362, 764, 10, 331, 58, 17, 25, 18, 60, 764, 61, 362, 764, 12, 374, 58, 17, 25, 18, 60, 764, 61, 362, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 334, 796, 12280, 26933, 12, 15255, 26933, 65, 288, 46570, 1062, 26933, 65, 269, 12962, 60, 24457, 1062, 26933, 64, 275, 60, 4008, 198, 220, 220, 220, 410, 796, 12280, 26933, 15255, 26933, 64, 288, 46570, 532, 15255, 26933, 64, 269, 12962, 60, 24457, 1062, 26933, 64, 275, 60, 4008, 198, 220, 220, 220, 266, 796, 12280, 26933, 81, 58, 16, 4357, 352, 13, 15, 12962, 10563, 362, 198, 220, 220, 220, 264, 796, 357, 84, 532, 2124, 58, 16, 12962, 10563, 362, 1343, 357, 85, 532, 331, 58, 16, 12962, 10563, 362, 532, 266, 198, 220, 220, 220, 374, 796, 8106, 7, 87, 4613, 318, 22570, 7, 48466, 7, 87, 4008, 11405, 2124, 1875, 6632, 7, 87, 828, 11135, 7, 82, 4008, 198, 220, 220, 220, 4129, 7, 81, 8, 1279, 220, 362, 8614, 4049, 7203, 464, 4610, 318, 407, 3748, 19570, 198, 220, 220, 220, 4129, 7, 81, 8, 6624, 352, 8614, 4049, 7203, 1858, 318, 645, 4610, 19570, 198, 220, 220, 220, 374, 796, 374, 58, 16, 60, 198, 220, 220, 220, 1441, 16291, 7, 35428, 2100, 7, 84, 11, 374, 828, 7514, 2100, 7, 85, 11, 374, 828, 374, 8, 198, 437, 198, 198, 437, 220, 1303, 8265, 5949, 692, 261, 3754, 40781, 198 ]
1.986301
730
using SpatialFields using Base.Test using Iterators points = SVector{3, Float64}[[1; 0; 0], [0; 1; 0], [-1; 0; 0], [0; -1; 0], [0; 0; 1], [0; 0; -1]] normals = SVector{3, Float64}[[1; -1; 0], [0; 1; 0], [-1; 0; 0], [0; -1; 0], [1; 0; 1], [0; 0; -1]] field = HermiteRadialField(points, normals) X = linspace(-2, 2) Y = linspace(-2, 2) Z = linspace(-2, 2) for (i, point) in enumerate(points) @test isapprox(field(point), 0, atol=1e-6) @test isapprox(SpatialFields.gradient(field)(point), normals[i], atol=1e-6) end
[ 3500, 1338, 34961, 15878, 82, 198, 3500, 7308, 13, 14402, 198, 3500, 40806, 2024, 198, 198, 13033, 796, 20546, 9250, 90, 18, 11, 48436, 2414, 92, 30109, 16, 26, 657, 26, 657, 4357, 685, 15, 26, 352, 26, 657, 4357, 25915, 16, 26, 657, 26, 657, 4357, 685, 15, 26, 532, 16, 26, 657, 4357, 685, 15, 26, 657, 26, 352, 4357, 685, 15, 26, 657, 26, 532, 16, 11907, 198, 27237, 874, 796, 20546, 9250, 90, 18, 11, 48436, 2414, 92, 30109, 16, 26, 532, 16, 26, 657, 4357, 685, 15, 26, 352, 26, 657, 4357, 25915, 16, 26, 657, 26, 657, 4357, 685, 15, 26, 532, 16, 26, 657, 4357, 685, 16, 26, 657, 26, 352, 4357, 685, 15, 26, 657, 26, 532, 16, 11907, 628, 198, 3245, 796, 18113, 578, 15546, 498, 15878, 7, 13033, 11, 2593, 874, 8, 198, 198, 55, 796, 300, 1040, 10223, 32590, 17, 11, 362, 8, 198, 56, 796, 300, 1040, 10223, 32590, 17, 11, 362, 8, 198, 57, 796, 300, 1040, 10223, 32590, 17, 11, 362, 8, 198, 198, 1640, 357, 72, 11, 966, 8, 287, 27056, 378, 7, 13033, 8, 198, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 3245, 7, 4122, 828, 657, 11, 379, 349, 28, 16, 68, 12, 21, 8, 198, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 4561, 34961, 15878, 82, 13, 49607, 7, 3245, 5769, 4122, 828, 2593, 874, 58, 72, 4357, 379, 349, 28, 16, 68, 12, 21, 8, 198, 437, 198 ]
2.095618
251
@testset "doc string generation" begin IterationControl.@create_docs(SquareRooter, header="header", example="example", body="body") paragraphs = split(string(@doc SquareRooter), "\n") @test paragraphs[2] == "header" @test paragraphs[end-1] == "body" end true
[ 31, 9288, 2617, 366, 15390, 4731, 5270, 1, 2221, 198, 220, 220, 220, 40806, 341, 15988, 13, 31, 17953, 62, 31628, 7, 48011, 49, 25141, 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, 13639, 2625, 25677, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1672, 2625, 20688, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1767, 2625, 2618, 4943, 628, 220, 220, 220, 23549, 796, 6626, 7, 8841, 7, 31, 15390, 9276, 49, 25141, 828, 37082, 77, 4943, 198, 220, 220, 220, 2488, 9288, 23549, 58, 17, 60, 6624, 366, 25677, 1, 198, 220, 220, 220, 2488, 9288, 23549, 58, 437, 12, 16, 60, 6624, 366, 2618, 1, 198, 437, 198, 198, 7942, 198 ]
2.005464
183
@testset "Renewable data misspecification" begin # See https://discourse.julialang.org/t/how-to-use-test-warn/15557/5 about testing for warning throwing info_message = "The data doesn't include devices of type RenewableDispatch, consider changing the device models" device_model = DeviceModel(RenewableDispatch, RenewableFullDispatch) c_sys5 = PSB.build_system(PSITestSystems, "c_sys5") model = DecisionModel(MockOperationProblem, DCPPowerModel, c_sys5) @test_logs (:info, info_message) match_mode = :any mock_construct_device!( model, device_model, ) end @testset "Renewable DCPLossLess FullDispatch" begin device_model = DeviceModel(RenewableDispatch, RenewableFullDispatch) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, DCPPowerModel, c_sys5_re) mock_construct_device!(model, device_model) moi_tests(model, false, 72, 0, 72, 0, 0, false) psi_checkobjfun_test(model, GAEVF) end @testset "Renewable ACPPower Full Dispatch" begin device_model = DeviceModel(RenewableDispatch, RenewableFullDispatch) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, ACPPowerModel, c_sys5_re;) mock_construct_device!(model, device_model) moi_tests(model, false, 144, 0, 144, 72, 0, false) psi_checkobjfun_test(model, GAEVF) end @testset "Renewable DCPLossLess Constantpower_factor" begin device_model = DeviceModel(RenewableDispatch, RenewableConstantPowerFactor) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, DCPPowerModel, c_sys5_re) mock_construct_device!(model, device_model) moi_tests(model, false, 72, 0, 72, 0, 0, false) psi_checkobjfun_test(model, GAEVF) end @testset "Renewable ACPPower Constantpower_factor" begin device_model = DeviceModel(RenewableDispatch, RenewableConstantPowerFactor) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, ACPPowerModel, c_sys5_re;) mock_construct_device!(model, device_model) moi_tests(model, false, 144, 0, 72, 0, 72, false) psi_checkobjfun_test(model, GAEVF) end @testset "Renewable DCPLossLess FixedOutput" begin device_model = DeviceModel(RenewableDispatch, FixedOutput) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, DCPPowerModel, c_sys5_re;) mock_construct_device!(model, device_model) moi_tests(model, false, 0, 0, 0, 0, 0, false) psi_checkobjfun_test(model, GAEVF) end @testset "Renewable ACPPowerModel FixedOutput" begin device_model = DeviceModel(RenewableDispatch, FixedOutput) c_sys5_re = PSB.build_system(PSITestSystems, "c_sys5_re") model = DecisionModel(MockOperationProblem, ACPPowerModel, c_sys5_re;) mock_construct_device!(model, device_model) moi_tests(model, false, 0, 0, 0, 0, 0, false) psi_checkobjfun_test(model, GAEVF) end
[ 31, 9288, 2617, 366, 26764, 413, 540, 1366, 2051, 43106, 2649, 1, 2221, 198, 220, 220, 220, 1303, 4091, 3740, 1378, 15410, 9047, 13, 73, 377, 498, 648, 13, 2398, 14, 83, 14, 4919, 12, 1462, 12, 1904, 12, 9288, 12, 40539, 14, 1314, 41948, 14, 20, 546, 4856, 329, 6509, 9644, 198, 220, 220, 220, 7508, 62, 20500, 796, 366, 464, 1366, 1595, 470, 2291, 4410, 286, 2099, 29479, 540, 49354, 11, 2074, 5609, 262, 3335, 4981, 1, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 29479, 540, 13295, 49354, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 6257, 10246, 789, 17633, 11, 269, 62, 17597, 20, 8, 198, 220, 220, 220, 2488, 9288, 62, 6404, 82, 357, 25, 10951, 11, 7508, 62, 20500, 8, 2872, 62, 14171, 796, 1058, 1092, 15290, 62, 41571, 62, 25202, 0, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2746, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3335, 62, 19849, 11, 198, 220, 220, 220, 1267, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 6257, 6489, 793, 22058, 6462, 49354, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 29479, 540, 13295, 49354, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 6257, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 7724, 11, 657, 11, 7724, 11, 657, 11, 657, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 7125, 10246, 789, 6462, 35934, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 29479, 540, 13295, 49354, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 7125, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 26, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 20224, 11, 657, 11, 20224, 11, 7724, 11, 657, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 6257, 6489, 793, 22058, 20217, 6477, 62, 31412, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 29479, 540, 3103, 18797, 13434, 41384, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 6257, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 7724, 11, 657, 11, 7724, 11, 657, 11, 657, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 7125, 10246, 789, 20217, 6477, 62, 31412, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 29479, 540, 3103, 18797, 13434, 41384, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 7125, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 26, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 20224, 11, 657, 11, 7724, 11, 657, 11, 7724, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 6257, 6489, 793, 22058, 10832, 26410, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 10832, 26410, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 6257, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 26, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 657, 11, 657, 11, 657, 11, 657, 11, 657, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 26764, 413, 540, 7125, 10246, 789, 17633, 10832, 26410, 1, 2221, 198, 220, 220, 220, 3335, 62, 19849, 796, 16232, 17633, 7, 26764, 413, 540, 49354, 11, 10832, 26410, 8, 198, 220, 220, 220, 269, 62, 17597, 20, 62, 260, 796, 6599, 33, 13, 11249, 62, 10057, 7, 3705, 2043, 395, 11964, 82, 11, 366, 66, 62, 17597, 20, 62, 260, 4943, 198, 220, 220, 220, 2746, 796, 26423, 17633, 7, 44, 735, 32180, 40781, 11, 7125, 10246, 789, 17633, 11, 269, 62, 17597, 20, 62, 260, 26, 8, 198, 220, 220, 220, 15290, 62, 41571, 62, 25202, 0, 7, 19849, 11, 3335, 62, 19849, 8, 198, 220, 220, 220, 6941, 72, 62, 41989, 7, 19849, 11, 3991, 11, 657, 11, 657, 11, 657, 11, 657, 11, 657, 11, 3991, 8, 198, 220, 220, 220, 46231, 62, 9122, 26801, 12543, 62, 9288, 7, 19849, 11, 402, 14242, 53, 37, 8, 198, 437, 198 ]
2.593857
1,172
""" commjoin(c1::CommunityProfile, comms::CommunityProfile...) Join multiple `CommunityProfile`s, creating a new `CommunityProfile`. For now, sample names cannot overlap in any of the input profiles. """ function commjoin(c1::CommunityProfile, comms::CommunityProfile...) length(intersect(samplenames(c1), samplenames.(comms)...)) == 0 || error("Duplicate sample names detected: $(intersect(samplenames(c1), samplenames.(comms)...))") all_samples = vcat(samples(c1), samples.(comms)...) sample_dict = dictionary(zip(all_samples, eachindex(all_samples))) all_features = unique(vcat(features(c1), features.(comms)...)) feature_dict = dictionary(zip(all_features, eachindex(all_features))) mat = spzeros(length(all_features), length(all_samples)) for comm in (c1, comms...) for sample in samples(comm) for feature in features(comm) mat[feature_dict[feature], sample_dict[sample]] = comm[feature, sample] end end end return CommunityProfile(mat, all_features, all_samples) end
[ 37811, 198, 220, 220, 220, 725, 22179, 7, 66, 16, 3712, 20012, 37046, 11, 725, 82, 3712, 20012, 37046, 23029, 198, 198, 18234, 3294, 4600, 20012, 37046, 63, 82, 11, 4441, 257, 649, 4600, 20012, 37046, 44646, 198, 1890, 783, 11, 6291, 3891, 2314, 21721, 287, 597, 286, 262, 5128, 16545, 13, 198, 37811, 198, 8818, 725, 22179, 7, 66, 16, 3712, 20012, 37046, 11, 725, 82, 3712, 20012, 37046, 23029, 198, 220, 220, 220, 4129, 7, 3849, 8831, 7, 37687, 489, 268, 1047, 7, 66, 16, 828, 6072, 489, 268, 1047, 12195, 785, 907, 26513, 4008, 6624, 657, 8614, 4049, 7203, 35660, 489, 5344, 6291, 3891, 12326, 25, 29568, 3849, 8831, 7, 37687, 489, 268, 1047, 7, 66, 16, 828, 6072, 489, 268, 1047, 12195, 785, 907, 26513, 4008, 4943, 628, 220, 220, 220, 477, 62, 82, 12629, 796, 410, 9246, 7, 82, 12629, 7, 66, 16, 828, 8405, 12195, 785, 907, 8, 23029, 198, 220, 220, 220, 6291, 62, 11600, 796, 22155, 7, 13344, 7, 439, 62, 82, 12629, 11, 1123, 9630, 7, 439, 62, 82, 12629, 22305, 198, 220, 220, 220, 477, 62, 40890, 796, 3748, 7, 85, 9246, 7, 40890, 7, 66, 16, 828, 3033, 12195, 785, 907, 26513, 4008, 198, 220, 220, 220, 3895, 62, 11600, 796, 22155, 7, 13344, 7, 439, 62, 40890, 11, 1123, 9630, 7, 439, 62, 40890, 22305, 628, 220, 220, 220, 2603, 796, 599, 9107, 418, 7, 13664, 7, 439, 62, 40890, 828, 4129, 7, 439, 62, 82, 12629, 4008, 198, 220, 220, 220, 329, 725, 287, 357, 66, 16, 11, 725, 82, 23029, 198, 220, 220, 220, 220, 220, 220, 220, 329, 6291, 287, 8405, 7, 9503, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 3895, 287, 3033, 7, 9503, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2603, 58, 30053, 62, 11600, 58, 30053, 4357, 6291, 62, 11600, 58, 39873, 11907, 796, 725, 58, 30053, 11, 6291, 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, 628, 220, 220, 220, 1441, 8108, 37046, 7, 6759, 11, 477, 62, 40890, 11, 477, 62, 82, 12629, 8, 198, 437, 198 ]
2.794271
384
# 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 = "blis" version = v"0.9.0" # Collection of sources required to complete build sources = [ GitSource("https://github.com/flame/blis.git", "14c86f66b20901b60ee276da355c1b62642c18d2"), DirectorySource("./bundled") ] # Bash recipe for building across all platforms script = raw""" cd $WORKSPACE/srcdir cd blis/ for i in ./config/*/*.mk; do # Building in container forbids -march options <<< Settings overriden. # sed -i "s/-march[^ ]*//g" $i # Building in container forbids unsafe optimization. sed -i "s/-ffast-math//g" $i sed -i "s/-funsafe-math-optimizations//g" $i done case ${target} in *"x86_64"*"linux"*) export BLI_CONFIG=x86_64 export BLI_THREAD=openmp ;; *"x86_64"*"w64"*) # MinGW doesn't support savexmm instructions # Build only for AMD processors. export BLI_CONFIG=amd64 export BLI_THREAD=openmp ;; *"x86_64"*"apple"*) export BLI_CONFIG=x86_64 export BLI_THREAD=openmp ;; *"x86_64"*"freebsd"*) export BLI_CONFIG=x86_64 export BLI_THREAD=openmp ;; *"aarch64"*"apple"*) # Metaconfig arm64 is not needed here. # All Mac processors should have equal or higher specs then firestorm export BLI_CONFIG=firestorm export BLI_THREAD=openmp ;; *"aarch64"*"linux"*) export BLI_CONFIG=arm64 export BLI_THREAD=openmp ;; *"arm"*"linux"*) export BLI_CONFIG=arm32 export BLI_THREAD=none ;; *) # Default (Generic) configuration without optimized kernel. export BLI_CONFIG=generic export BLI_THREAD=none ;; esac # For 64-bit builds, add _64 suffix to exported BLAS routines. # This corresponds to ILP64 handling of OpenBLAS thus Julia. if [ ${nbits} = 64 ]; then patch frame/include/bli_macro_defs.h < ${WORKSPACE}/srcdir/patches/bli_macro_defs.h.f77suffix64.patch fi # Include A64FX in Arm64 metaconfig. if [ ${BLI_CONFIG} = arm64 ]; then # Add A64FX to the registry. patch config_registry < ${WORKSPACE}/srcdir/patches/config_registry.metaconfig+a64fx.patch # Unscreen Arm SVE code for metaconfig. patch kernels/armsve/bli_kernels_armsve.h \ < ${WORKSPACE}/srcdir/patches/armsve_kernels_unscreen_arm_sve_h.patch patch kernels/armsve/1m/old/bli_dpackm_armsve512_int_12xk.c \ < ${WORKSPACE}/srcdir/patches/armsve_kernels_unscreen_arm_sve_h.patch patch kernels/armsve/1m/bli_dpackm_armsve256_int_8xk.c \ < ${WORKSPACE}/srcdir/patches/armsve_kernels_unscreen_arm_sve_h.patch # Screen out A64FX sector cache. patch config/a64fx/bli_cntx_init_a64fx.c \ < ${WORKSPACE}/srcdir/patches/a64fx_config_screen_sector_cache.patch fi # Import libblastrampoline-style nthreads setter. cp ${WORKSPACE}/srcdir/nthreads64_.c frame/compat/nthreads64_.c export BLI_F77BITS=${nbits} ./configure -p ${prefix} -t ${BLI_THREAD} -b ${BLI_F77BITS} ${BLI_CONFIG} make -j${nproc} make install # Static library is not needed. rm ${prefix}/lib/libblis.a # Rename .dll for Windows targets. if [[ "${target}" == *"x86_64"*"w64"* ]]; then mkdir -p ${libdir} mv ${prefix}/lib/libblis.4.dll ${libdir}/libblis.dll fi """ # These are the platforms we will build for by default, unless further # platforms are passed in on the command line platforms = [ Platform("x86_64", "linux"; libc="musl"), Platform("armv7l", "linux"; libc="glibc"), Platform("x86_64", "windows"), Platform("x86_64", "macos"), Platform("x86_64", "linux"; libc="glibc"), Platform("aarch64", "linux"; libc="glibc"), Platform("aarch64", "macos"), Platform("x86_64", "freebsd") ] # The products that we will ensure are always built products = [ LibraryProduct("libblis", :blis) ] # Dependencies that must be installed before this package can be built dependencies = [ # For OpenMP we use libomp from `LLVMOpenMP_jll` where we use LLVM as compiler (BSD # systems), and libgomp from `CompilerSupportLibraries_jll` everywhere else. Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae"); platforms=filter(!Sys.isbsd, platforms)), Dependency(PackageSpec(name="LLVMOpenMP_jll", uuid="1d63c593-3942-5779-bab2-d838dc0a180e"); platforms=filter(Sys.isbsd, platforms)), ] # Build the tarballs, and possibly a `build.jl` as well. build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version=v"11", lock_microarchitecture=false, julia_compat="1.6")
[ 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, 2436, 271, 1, 198, 9641, 796, 410, 1, 15, 13, 24, 13, 15, 1, 198, 198, 2, 12251, 286, 4237, 2672, 284, 1844, 1382, 198, 82, 2203, 796, 685, 198, 220, 220, 220, 15151, 7416, 7203, 5450, 1378, 12567, 13, 785, 14, 49621, 14, 2436, 271, 13, 18300, 1600, 366, 1415, 66, 4521, 69, 2791, 65, 22567, 486, 65, 1899, 1453, 27988, 6814, 28567, 66, 16, 65, 45191, 3682, 66, 1507, 67, 17, 12340, 198, 220, 220, 220, 27387, 7416, 7, 1911, 14, 65, 917, 992, 4943, 198, 60, 198, 198, 2, 15743, 8364, 329, 2615, 1973, 477, 9554, 198, 12048, 796, 8246, 37811, 198, 10210, 720, 33249, 4303, 11598, 14, 10677, 15908, 198, 10210, 698, 271, 14, 198, 198, 1640, 1312, 287, 24457, 11250, 15211, 15211, 13, 28015, 26, 466, 628, 220, 220, 220, 1303, 11819, 287, 9290, 44114, 532, 76, 998, 3689, 9959, 27, 16163, 625, 6058, 268, 13, 198, 220, 220, 220, 1303, 10081, 532, 72, 366, 82, 16327, 76, 998, 58, 61, 2361, 9, 1003, 70, 1, 720, 72, 628, 220, 220, 220, 1303, 11819, 287, 9290, 44114, 21596, 23989, 13, 198, 220, 220, 220, 10081, 532, 72, 366, 82, 16327, 487, 459, 12, 11018, 1003, 70, 1, 720, 72, 198, 220, 220, 220, 10081, 532, 72, 366, 82, 16327, 12543, 21230, 12, 11018, 12, 40085, 4582, 1003, 70, 1, 720, 72, 198, 198, 28060, 198, 198, 7442, 25597, 16793, 92, 287, 628, 220, 220, 220, 1635, 1, 87, 4521, 62, 2414, 1, 9, 1, 23289, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 87, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 87, 4521, 62, 2414, 1, 9, 1, 86, 2414, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1855, 33191, 1595, 470, 1104, 3613, 87, 3020, 7729, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 10934, 691, 329, 10324, 20399, 13, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 28745, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 87, 4521, 62, 2414, 1, 9, 1, 18040, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 87, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 87, 4521, 62, 2414, 1, 9, 1, 5787, 1443, 67, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 87, 4521, 62, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 64, 998, 2414, 1, 9, 1, 18040, 1, 28104, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3395, 7807, 5647, 3211, 2414, 318, 407, 2622, 994, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1439, 4100, 20399, 815, 423, 4961, 393, 2440, 25274, 788, 2046, 12135, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 6495, 12135, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 64, 998, 2414, 1, 9, 1, 23289, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 1670, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 9654, 3149, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 1635, 1, 1670, 1, 9, 1, 23289, 1, 28104, 220, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 1670, 2624, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 23108, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 198, 220, 220, 220, 31936, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 15161, 357, 46189, 8, 8398, 1231, 23392, 9720, 13, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 10943, 16254, 28, 41357, 198, 220, 220, 220, 220, 220, 220, 220, 10784, 9878, 40, 62, 4221, 15675, 28, 23108, 198, 220, 220, 220, 220, 220, 220, 220, 36792, 220, 198, 198, 274, 330, 198, 198, 2, 1114, 5598, 12, 2545, 12188, 11, 751, 4808, 2414, 35488, 284, 29050, 9878, 1921, 31878, 13, 198, 2, 770, 24866, 284, 14639, 47, 2414, 9041, 286, 4946, 9148, 1921, 4145, 22300, 13, 198, 361, 685, 25597, 77, 9895, 92, 796, 5598, 28013, 788, 198, 220, 220, 220, 8529, 5739, 14, 17256, 14, 2436, 72, 62, 20285, 305, 62, 4299, 82, 13, 71, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 2436, 72, 62, 20285, 305, 62, 4299, 82, 13, 71, 13, 69, 3324, 37333, 844, 2414, 13, 17147, 198, 12463, 198, 198, 2, 40348, 317, 2414, 17213, 287, 7057, 2414, 1138, 7807, 5647, 13, 198, 361, 685, 25597, 9148, 40, 62, 10943, 16254, 92, 796, 3211, 2414, 28013, 788, 198, 220, 220, 220, 1303, 3060, 317, 2414, 17213, 284, 262, 20478, 13, 198, 220, 220, 220, 8529, 4566, 62, 2301, 4592, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 11250, 62, 2301, 4592, 13, 4164, 7807, 5647, 10, 64, 2414, 21373, 13, 17147, 628, 220, 220, 220, 1303, 791, 9612, 7057, 311, 6089, 2438, 329, 1138, 7807, 5647, 13, 198, 220, 220, 220, 8529, 50207, 14, 8357, 303, 14, 2436, 72, 62, 74, 44930, 62, 8357, 303, 13, 71, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 8357, 303, 62, 74, 44930, 62, 403, 9612, 62, 1670, 62, 82, 303, 62, 71, 13, 17147, 198, 220, 220, 220, 8529, 50207, 14, 8357, 303, 14, 16, 76, 14, 727, 14, 2436, 72, 62, 67, 8002, 76, 62, 8357, 303, 25836, 62, 600, 62, 1065, 87, 74, 13, 66, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 8357, 303, 62, 74, 44930, 62, 403, 9612, 62, 1670, 62, 82, 303, 62, 71, 13, 17147, 198, 220, 220, 220, 8529, 50207, 14, 8357, 303, 14, 16, 76, 14, 2436, 72, 62, 67, 8002, 76, 62, 8357, 303, 11645, 62, 600, 62, 23, 87, 74, 13, 66, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 8357, 303, 62, 74, 44930, 62, 403, 9612, 62, 1670, 62, 82, 303, 62, 71, 13, 17147, 628, 220, 220, 220, 1303, 15216, 503, 317, 2414, 17213, 6567, 12940, 13, 198, 220, 220, 220, 8529, 4566, 14, 64, 2414, 21373, 14, 2436, 72, 62, 66, 429, 87, 62, 15003, 62, 64, 2414, 21373, 13, 66, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 8071, 2052, 14, 64, 2414, 21373, 62, 11250, 62, 9612, 62, 34914, 62, 23870, 13, 17147, 198, 12463, 198, 198, 2, 17267, 9195, 39806, 81, 696, 14453, 12, 7635, 299, 16663, 82, 900, 353, 13, 198, 13155, 25597, 33249, 4303, 11598, 92, 14, 10677, 15908, 14, 77, 16663, 82, 2414, 44807, 66, 5739, 14, 5589, 265, 14, 77, 16663, 82, 2414, 44807, 66, 198, 198, 39344, 9878, 40, 62, 37, 3324, 26094, 50, 28, 38892, 77, 9895, 92, 198, 19571, 11250, 495, 532, 79, 25597, 40290, 92, 532, 83, 25597, 9148, 40, 62, 4221, 15675, 92, 532, 65, 25597, 9148, 40, 62, 37, 3324, 26094, 50, 92, 25597, 9148, 40, 62, 10943, 16254, 92, 198, 15883, 532, 73, 38892, 77, 36942, 92, 198, 15883, 2721, 198, 198, 2, 36125, 5888, 318, 407, 2622, 13, 198, 26224, 25597, 40290, 92, 14, 8019, 14, 8019, 2436, 271, 13, 64, 198, 198, 2, 7152, 480, 764, 12736, 329, 3964, 6670, 13, 198, 361, 16410, 17971, 90, 16793, 36786, 6624, 1635, 1, 87, 4521, 62, 2414, 1, 9, 1, 86, 2414, 1, 9, 2361, 11208, 788, 198, 220, 220, 220, 33480, 15908, 532, 79, 25597, 8019, 15908, 92, 198, 220, 220, 220, 285, 85, 25597, 40290, 92, 14, 8019, 14, 8019, 2436, 271, 13, 19, 13, 12736, 25597, 8019, 15908, 92, 14, 8019, 2436, 271, 13, 12736, 198, 12463, 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, 23289, 8172, 9195, 66, 2625, 14664, 75, 12340, 198, 220, 220, 220, 19193, 7203, 1670, 85, 22, 75, 1600, 366, 23289, 8172, 9195, 66, 2625, 4743, 571, 66, 12340, 198, 220, 220, 220, 19193, 7203, 87, 4521, 62, 2414, 1600, 366, 28457, 12340, 198, 220, 220, 220, 19193, 7203, 87, 4521, 62, 2414, 1600, 366, 20285, 418, 12340, 198, 220, 220, 220, 19193, 7203, 87, 4521, 62, 2414, 1600, 366, 23289, 8172, 9195, 66, 2625, 4743, 571, 66, 12340, 198, 220, 220, 220, 19193, 7203, 64, 998, 2414, 1600, 366, 23289, 8172, 9195, 66, 2625, 4743, 571, 66, 12340, 198, 220, 220, 220, 19193, 7203, 64, 998, 2414, 1600, 366, 20285, 418, 12340, 198, 220, 220, 220, 19193, 7203, 87, 4521, 62, 2414, 1600, 366, 5787, 1443, 67, 4943, 198, 60, 628, 198, 2, 383, 3186, 326, 356, 481, 4155, 389, 1464, 3170, 198, 29498, 796, 685, 198, 220, 220, 220, 10074, 15667, 7203, 8019, 2436, 271, 1600, 1058, 2436, 271, 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, 1303, 1114, 4946, 7378, 356, 779, 9195, 3361, 422, 4600, 3069, 15996, 11505, 7378, 62, 73, 297, 63, 810, 356, 779, 27140, 15996, 355, 17050, 357, 21800, 198, 220, 220, 220, 1303, 3341, 828, 290, 9195, 70, 3361, 422, 4600, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 63, 8347, 2073, 13, 198, 220, 220, 220, 37947, 1387, 7, 27813, 22882, 7, 3672, 2625, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 1600, 334, 27112, 2625, 68, 2791, 68, 405, 3695, 12, 22, 25150, 12, 4051, 1120, 12, 5892, 69, 22, 12, 1314, 69, 17457, 24, 3553, 69, 17, 3609, 15341, 9554, 28, 24455, 7, 0, 44387, 13, 271, 1443, 67, 11, 9554, 36911, 198, 220, 220, 220, 37947, 1387, 7, 27813, 22882, 7, 3672, 2625, 3069, 15996, 11505, 7378, 62, 73, 297, 1600, 334, 27112, 2625, 16, 67, 5066, 66, 49051, 12, 2670, 3682, 12, 20, 40393, 12, 65, 397, 17, 12, 67, 23, 2548, 17896, 15, 64, 15259, 68, 15341, 9554, 28, 24455, 7, 44387, 13, 271, 1443, 67, 11, 9554, 36911, 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, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9871, 62, 70, 535, 62, 9641, 28, 85, 1, 1157, 1600, 5793, 62, 24055, 998, 5712, 495, 28, 9562, 11, 474, 43640, 62, 5589, 265, 2625, 16, 13, 21, 4943, 198 ]
2.371966
2,019
using Cbc using PowerSimulations using PowerSystems using DataStructures using InfrastructureSystems const IS = InfrastructureSystems const PSI = PowerSimulations const PSY = PowerSystems Cbc_optimizer = optimizer_with_attributes(Cbc.Optimizer) abstract type TestOpProblem <: PSI.AbstractOperationsProblem end system = build_c_sys5_re(; add_reserves = true) solver = optimizer_with_attributes(Cbc.Optimizer) devices = Dict{Symbol, DeviceModel}( :Generators => DeviceModel(ThermalStandard, ThermalDispatch), :Loads => DeviceModel(PowerLoad, StaticPowerLoad), ) branches = Dict{Symbol, DeviceModel}( :L => DeviceModel(Line, StaticLine), :T => DeviceModel(Transformer2W, StaticBranch), :TT => DeviceModel(TapTransformer, StaticBranch), ); services = Dict{Symbol, ServiceModel}(); template = PSI.OperationsProblemTemplate(CopperPlatePowerModel, devices, branches, services); operations_problem = PSI.OperationsProblem( TestOpProblem, template, system; optimizer = solver, use_parameters = true, ); set_services_template!( operations_problem, Dict( :Reserve => ServiceModel(VariableReserve{ReserveUp}, RangeReserve), :Down_Reserve => ServiceModel(VariableReserve{ReserveDown}, RangeReserve), ), ) op_results = solve!(operations_problem) re_results = PSI.run_economic_dispatch(system; optimizer = solver, use_parameters = true)
[ 3500, 327, 15630, 198, 3500, 4333, 8890, 5768, 198, 3500, 4333, 11964, 82, 198, 3500, 6060, 44909, 942, 198, 3500, 33709, 11964, 82, 198, 9979, 3180, 796, 33709, 11964, 82, 198, 9979, 6599, 40, 796, 4333, 8890, 5768, 198, 9979, 6599, 56, 796, 4333, 11964, 82, 198, 34, 15630, 62, 40085, 7509, 796, 6436, 7509, 62, 4480, 62, 1078, 7657, 7, 34, 15630, 13, 27871, 320, 7509, 8, 198, 198, 397, 8709, 2099, 6208, 18257, 40781, 1279, 25, 6599, 40, 13, 23839, 18843, 602, 40781, 886, 198, 198, 10057, 796, 1382, 62, 66, 62, 17597, 20, 62, 260, 7, 26, 751, 62, 411, 11184, 796, 2081, 8, 198, 82, 14375, 796, 6436, 7509, 62, 4480, 62, 1078, 7657, 7, 34, 15630, 13, 27871, 320, 7509, 8, 198, 198, 42034, 796, 360, 713, 90, 13940, 23650, 11, 16232, 17633, 92, 7, 198, 220, 220, 220, 1058, 8645, 2024, 5218, 16232, 17633, 7, 35048, 7617, 23615, 11, 41590, 49354, 828, 198, 220, 220, 220, 1058, 8912, 82, 5218, 16232, 17633, 7, 13434, 8912, 11, 36125, 13434, 8912, 828, 198, 8, 198, 1671, 12140, 796, 360, 713, 90, 13940, 23650, 11, 16232, 17633, 92, 7, 198, 220, 220, 220, 1058, 43, 5218, 16232, 17633, 7, 13949, 11, 36125, 13949, 828, 198, 220, 220, 220, 1058, 51, 5218, 16232, 17633, 7, 8291, 16354, 17, 54, 11, 36125, 33, 25642, 828, 198, 220, 220, 220, 1058, 15751, 5218, 16232, 17633, 7, 45081, 8291, 16354, 11, 36125, 33, 25642, 828, 198, 1776, 198, 30416, 796, 360, 713, 90, 13940, 23650, 11, 4809, 17633, 92, 9783, 198, 198, 28243, 796, 6599, 40, 13, 18843, 602, 40781, 30800, 7, 7222, 2848, 3646, 378, 13434, 17633, 11, 4410, 11, 13737, 11, 2594, 1776, 198, 198, 3575, 602, 62, 45573, 796, 6599, 40, 13, 18843, 602, 40781, 7, 198, 220, 220, 220, 6208, 18257, 40781, 11, 198, 220, 220, 220, 11055, 11, 198, 220, 220, 220, 1080, 26, 198, 220, 220, 220, 6436, 7509, 796, 1540, 332, 11, 198, 220, 220, 220, 779, 62, 17143, 7307, 796, 2081, 11, 198, 1776, 198, 198, 2617, 62, 30416, 62, 28243, 0, 7, 198, 220, 220, 220, 4560, 62, 45573, 11, 198, 220, 220, 220, 360, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 4965, 3760, 5218, 4809, 17633, 7, 43015, 4965, 3760, 90, 4965, 3760, 4933, 5512, 13667, 4965, 3760, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 8048, 62, 4965, 3760, 5218, 4809, 17633, 7, 43015, 4965, 3760, 90, 4965, 3760, 8048, 5512, 13667, 4965, 3760, 828, 198, 220, 220, 220, 10612, 198, 8, 198, 198, 404, 62, 43420, 796, 8494, 0, 7, 3575, 602, 62, 45573, 8, 198, 260, 62, 43420, 796, 6599, 40, 13, 5143, 62, 17079, 62, 6381, 17147, 7, 10057, 26, 6436, 7509, 796, 1540, 332, 11, 779, 62, 17143, 7307, 796, 2081, 8, 198 ]
2.953488
473
@testset "315.count-of-smaller-numbers-after-self.jl" begin f1 = count_smaller_method1 f2 = count_smaller_method2 @test f1([5, 2, 6, 1]) == f2([5, 2, 6, 1]) == [2, 1, 1, 0] @test f1([2, 0, 1]) == f2([2, 0, 1]) == [2, 0, 0] @test f1([-1]) == f2([-1]) == [0] @test f1([-1, -1]) == f2([-1, -1]) == [0, 0] @test f1([7, 6, 5, 4, 3, 2, 1]) == f2([7, 6, 5, 4, 3, 2, 1]) == [6, 5, 4, 3, 2, 1, 0] end
[ 31, 9288, 2617, 366, 27936, 13, 9127, 12, 1659, 12, 17470, 263, 12, 77, 17024, 12, 8499, 12, 944, 13, 20362, 1, 2221, 198, 220, 220, 220, 277, 16, 796, 954, 62, 17470, 263, 62, 24396, 16, 198, 220, 220, 220, 277, 17, 796, 954, 62, 17470, 263, 62, 24396, 17, 198, 220, 220, 220, 2488, 9288, 277, 16, 26933, 20, 11, 362, 11, 718, 11, 352, 12962, 6624, 277, 17, 26933, 20, 11, 362, 11, 718, 11, 352, 12962, 6624, 685, 17, 11, 352, 11, 352, 11, 657, 60, 198, 220, 220, 220, 2488, 9288, 277, 16, 26933, 17, 11, 657, 11, 352, 12962, 6624, 277, 17, 26933, 17, 11, 657, 11, 352, 12962, 6624, 685, 17, 11, 657, 11, 657, 60, 198, 220, 220, 220, 2488, 9288, 277, 16, 26933, 12, 16, 12962, 6624, 277, 17, 26933, 12, 16, 12962, 6624, 685, 15, 60, 198, 220, 220, 220, 2488, 9288, 277, 16, 26933, 12, 16, 11, 532, 16, 12962, 6624, 277, 17, 26933, 12, 16, 11, 532, 16, 12962, 6624, 685, 15, 11, 657, 60, 198, 220, 220, 220, 2488, 9288, 277, 16, 26933, 22, 11, 718, 11, 642, 11, 604, 11, 513, 11, 362, 11, 352, 12962, 6624, 277, 17, 26933, 22, 11, 718, 11, 642, 11, 604, 11, 513, 11, 362, 11, 352, 12962, 6624, 685, 21, 11, 642, 11, 604, 11, 513, 11, 362, 11, 352, 11, 657, 60, 198, 437, 198 ]
1.772152
237
using SpikingNetworks parseParameters""" taupre=20 taupost=20 tmax=50""" parseParameters""" N=100 groups=makeGroup([1,2],[N,N]) @group groups 1 tspike[i]=(i-1)*tmax/(N-1) @group groups 2 tspike[i]=(N-i)*tmax/(N-1) @connect groups 1 2 post==pre Apre[post,pre]=0.01 @connect groups 1 2 post==pre Apost[post,pre]=-0.01*1.05""" parseEquations""" dapre/dt=-apre/taupre dapost/dt=-apost/taupost dw/dt=0""" net=init""" N=200 apre=zeros(N,N) apost=zeros(N,N) w=zeros(N,N) Apre=Apre Apost=Apost""" spike"t≂tspike" plasticity""" apre[j,i]+=Apre[j,i] w[j,i]+=apost[j,i] apost[i,j]+=Apost[i,j] w[i,j]+=apre[i,j]""" net.dt=0.5 @time run!(net,60/net.dt) using SpikingNetwork: groups,tspike index=sub2ind(size(net.w),groups[2],groups[1]) using MatlabPlot mplot(tspike[groups[2]]-tspike[groups[1]],net.w[index])
[ 3500, 1338, 14132, 7934, 5225, 198, 198, 29572, 48944, 37811, 198, 83, 559, 3866, 28, 1238, 198, 83, 559, 7353, 28, 1238, 198, 83, 9806, 28, 1120, 37811, 198, 198, 29572, 48944, 37811, 198, 45, 28, 3064, 198, 24432, 28, 15883, 13247, 26933, 16, 11, 17, 38430, 45, 11, 45, 12962, 198, 31, 8094, 2628, 352, 23053, 522, 58, 72, 60, 16193, 72, 12, 16, 27493, 83, 9806, 29006, 45, 12, 16, 8, 198, 31, 8094, 2628, 362, 23053, 522, 58, 72, 60, 16193, 45, 12, 72, 27493, 83, 9806, 29006, 45, 12, 16, 8, 198, 31, 8443, 2628, 352, 362, 1281, 855, 3866, 317, 3866, 58, 7353, 11, 3866, 22241, 15, 13, 486, 198, 31, 8443, 2628, 352, 362, 1281, 855, 3866, 19295, 58, 7353, 11, 3866, 60, 10779, 15, 13, 486, 9, 16, 13, 2713, 37811, 198, 198, 29572, 23588, 602, 37811, 198, 67, 499, 260, 14, 28664, 10779, 499, 260, 14, 83, 559, 3866, 198, 67, 499, 455, 14, 28664, 10779, 499, 455, 14, 83, 559, 7353, 198, 67, 86, 14, 28664, 28, 15, 37811, 198, 198, 3262, 28, 15003, 37811, 198, 45, 28, 2167, 198, 499, 260, 28, 9107, 418, 7, 45, 11, 45, 8, 198, 499, 455, 28, 9107, 418, 7, 45, 11, 45, 8, 198, 86, 28, 9107, 418, 7, 45, 11, 45, 8, 198, 32, 3866, 28, 32, 3866, 198, 32, 7353, 28, 32, 7353, 37811, 198, 198, 2777, 522, 1, 83, 35705, 224, 912, 79, 522, 1, 198, 198, 489, 3477, 414, 37811, 198, 499, 260, 58, 73, 11, 72, 60, 47932, 32, 3866, 58, 73, 11, 72, 60, 198, 86, 58, 73, 11, 72, 60, 47932, 499, 455, 58, 73, 11, 72, 60, 198, 499, 455, 58, 72, 11, 73, 60, 47932, 32, 7353, 58, 72, 11, 73, 60, 198, 86, 58, 72, 11, 73, 60, 47932, 499, 260, 58, 72, 11, 73, 60, 37811, 198, 198, 3262, 13, 28664, 28, 15, 13, 20, 198, 31, 2435, 1057, 0, 7, 3262, 11, 1899, 14, 3262, 13, 28664, 8, 198, 198, 3500, 1338, 14132, 26245, 25, 2628, 11, 912, 79, 522, 198, 9630, 28, 7266, 17, 521, 7, 7857, 7, 3262, 13, 86, 828, 24432, 58, 17, 4357, 24432, 58, 16, 12962, 198, 3500, 6550, 23912, 43328, 198, 76, 29487, 7, 912, 79, 522, 58, 24432, 58, 17, 11907, 12, 912, 79, 522, 58, 24432, 58, 16, 60, 4357, 3262, 13, 86, 58, 9630, 12962, 628 ]
1.992574
404
export AffineMap """ AffineMap{N<:Real, S<:LazySet{N}, NM, MAT<:AbstractMatrix{NM}, VN<:AbstractVector{NM}} <: AbstractAffineMap{N, S} Type that represents an affine transformation ``M⋅X ⊕ v`` of a convex set ``X``. ### Fields - `M` -- matrix/linear map - `X` -- convex set - `v` -- translation vector ### Notes An affine map is the composition of a linear map and a translation. This type is parametric in the coefficients of the linear map, `NM`, which may be different from the numeric type of the wrapped set (`N`). However, the numeric type of the translation vector should be `NM`. ### Examples For the examples we create a ``3×2`` matrix, a two-dimensional unit square, and a three-dimensional vector. Then we combine them in an `AffineMap`. ```jldoctest constructors julia> A = [1 2; 1 3; 1 4]; X = BallInf([0, 0], 1); b2 = [1, 2]; b3 = [1, 2, 3]; julia> AffineMap(A, X, b3) AffineMap{Int64,BallInf{Int64,Array{Int64,1}},Int64,Array{Int64,2},Array{Int64,1}}([1 2; 1 3; 1 4], BallInf{Int64,Array{Int64,1}}([0, 0], 1), [1, 2, 3]) ``` For convenience, `A` does not need to be a matrix but we also allow to use `UniformScaling`s resp. scalars (interpreted as a scaling, i.e., a scaled identity matrix). Scaling by ``1`` is ignored and simplified to a pure `Translation`. ```jldoctest constructors julia> using LinearAlgebra julia> am = AffineMap(2I, X, b2) AffineMap{Int64,BallInf{Int64,Array{Int64,1}},Int64,Diagonal{Int64,Array{Int64,1}},Array{Int64,1}}([2 0; 0 2], BallInf{Int64,Array{Int64,1}}([0, 0], 1), [1, 2]) julia> AffineMap(2, X, b2) == am true julia> AffineMap(1, X, b2) Translation{Int64,Array{Int64,1},BallInf{Int64,Array{Int64,1}}}(BallInf{Int64,Array{Int64,1}}([0, 0], 1), [1, 2]) ``` Applying a linear map to an `AffineMap` object combines the two maps into a new `AffineMap` instance. Again we can make use of the conversion for convenience. ```jldoctest constructors julia> B = [2 0; 0 2]; am2 = B * am AffineMap{Int64,BallInf{Int64,Array{Int64,1}},Int64,Array{Int64,2},Array{Int64,1}}([4 0; 0 4], BallInf{Int64,Array{Int64,1}}([0, 0], 1), [2, 4]) julia> 2 * am == am2 true ``` The application of an `AffineMap` to a `ZeroSet` or an `EmptySet` is simplified automatically. ```jldoctest constructors julia> AffineMap(A, ZeroSet{Int}(2), b3) Singleton{Int64,Array{Int64,1}}([1, 2, 3]) julia> AffineMap(A, EmptySet{Int}(2), b3) EmptySet{Int64}(2) ``` """ struct AffineMap{N<:Real, S<:LazySet{N}, NM, MAT<:AbstractMatrix{NM}, VN<:AbstractVector{NM}} <: AbstractAffineMap{N, S} M::MAT X::S v::VN # default constructor with dimension match check function AffineMap(M::MAT, X::S, v::VN) where {N<:Real, S<:LazySet{N}, NM, MAT<:AbstractMatrix{NM}, VN<:AbstractVector{NM}} @assert dim(X) == size(M, 2) "a matrix of size $(size(M)) cannot be " * "applied to a set of dimension $(dim(X))" @assert size(M, 1) == length(v) "a map with output dimension " * "$(size(M, 1)) is incompatible with a translation vector of " * "dimension $(length(v))" return new{N, S, NM, MAT, VN}(M, X, v) end end isoperationtype(::Type{<:AffineMap}) = true isconvextype(::Type{<:AffineMap{N, S}}) where {N, S} = isconvextype(S) # convenience constructor from a UniformScaling function AffineMap(M::UniformScaling, X::LazySet, v::AbstractVector) return AffineMap(M.λ, X, v) end # convenience constructor from a scalar function AffineMap(α::N, X::LazySet, v::AbstractVector) where {N<:Real} if α == one(N) return Translation(X, v) end return AffineMap(Diagonal(fill(α, length(v))), X, v) end # simplification for a LinearMap for MAP in (:AbstractMatrix, :Real) @eval begin function LinearMap(map::$MAP, am::AffineMap) return AffineMap(map * am.M, am.X, map * am.v) end end end # ZeroSet is "almost absorbing" for the linear map (only the dimension changes) # such that only the translation vector remains function AffineMap(M::AbstractMatrix{N}, Z::ZeroSet{N}, v::AbstractVector{N} ) where {N<:Real} @assert dim(Z) == size(M, 2) "a matrix of size $(size(M)) cannot be " * "applied to a set of dimension $(dim(Z))" @assert size(M, 1) == length(v) "a map with output dimension " * "$(size(M, 1)) is incompatible with a translation vector of " * "dimension $(length(v))" return Singleton(v) end # EmptySet is absorbing for AffineMap function AffineMap(M::AbstractMatrix{N}, ∅::EmptySet{N}, v::AbstractVector{N} ) where {N<:Real} return ∅ end # --- AbstractAffineMap interface functions --- function matrix(am::AffineMap) return am.M end function vector(am::AffineMap{N}) where {N<:Real} return am.v end function set(am::AffineMap) return am.X end # --- LazySet interface functions --- function concretize(am::AffineMap) return affine_map(am.M, concretize(am.X), am.v) end
[ 39344, 6708, 500, 13912, 198, 198, 37811, 198, 220, 220, 220, 6708, 500, 13912, 90, 45, 27, 25, 15633, 11, 311, 27, 25, 43, 12582, 7248, 90, 45, 5512, 28692, 11, 36775, 27, 25, 23839, 46912, 90, 32755, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 45, 27, 25, 23839, 38469, 90, 32755, 11709, 1279, 25, 27741, 35191, 500, 13912, 90, 45, 11, 311, 92, 198, 198, 6030, 326, 6870, 281, 1527, 500, 13389, 7559, 44, 158, 233, 227, 55, 2343, 232, 243, 410, 15506, 286, 257, 24748, 87, 900, 7559, 55, 15506, 13, 198, 198, 21017, 23948, 198, 198, 12, 4600, 44, 63, 1377, 17593, 14, 29127, 3975, 198, 12, 4600, 55, 63, 1377, 24748, 87, 900, 198, 12, 4600, 85, 63, 1377, 11059, 15879, 198, 198, 21017, 11822, 198, 198, 2025, 1527, 500, 3975, 318, 262, 11742, 286, 257, 14174, 3975, 290, 257, 11059, 13, 770, 2099, 318, 198, 17143, 19482, 287, 262, 44036, 286, 262, 14174, 3975, 11, 4600, 32755, 47671, 543, 743, 307, 1180, 422, 198, 1169, 35575, 2099, 286, 262, 12908, 900, 357, 63, 45, 63, 737, 2102, 11, 262, 35575, 2099, 286, 262, 198, 41519, 15879, 815, 307, 4600, 32755, 44646, 198, 198, 21017, 21066, 198, 198, 1890, 262, 6096, 356, 2251, 257, 7559, 18, 12906, 17, 15506, 17593, 11, 257, 734, 12, 19577, 4326, 6616, 11, 290, 198, 64, 1115, 12, 19577, 15879, 13, 198, 6423, 356, 12082, 606, 287, 281, 4600, 35191, 500, 13912, 44646, 198, 198, 15506, 63, 73, 335, 38441, 395, 5678, 669, 198, 73, 43640, 29, 317, 796, 685, 16, 362, 26, 352, 513, 26, 352, 604, 11208, 1395, 796, 6932, 18943, 26933, 15, 11, 657, 4357, 352, 1776, 275, 17, 796, 685, 16, 11, 362, 11208, 275, 18, 796, 685, 16, 11, 362, 11, 513, 11208, 198, 198, 73, 43640, 29, 6708, 500, 13912, 7, 32, 11, 1395, 11, 275, 18, 8, 198, 35191, 500, 13912, 90, 5317, 2414, 11, 23410, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 92, 5512, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 17, 5512, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 16, 362, 26, 352, 513, 26, 352, 604, 4357, 6932, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 15, 11, 657, 4357, 352, 828, 685, 16, 11, 362, 11, 513, 12962, 198, 15506, 63, 198, 198, 1890, 15607, 11, 4600, 32, 63, 857, 407, 761, 284, 307, 257, 17593, 475, 356, 635, 1249, 284, 779, 198, 63, 3118, 6933, 3351, 4272, 63, 82, 1217, 13, 16578, 945, 357, 27381, 276, 355, 257, 20796, 11, 1312, 13, 68, 1539, 257, 27464, 198, 738, 414, 17593, 737, 198, 3351, 4272, 416, 7559, 16, 15506, 318, 9514, 290, 27009, 284, 257, 5899, 4600, 48313, 44646, 198, 198, 15506, 63, 73, 335, 38441, 395, 5678, 669, 198, 73, 43640, 29, 1262, 44800, 2348, 29230, 198, 198, 73, 43640, 29, 716, 796, 6708, 500, 13912, 7, 17, 40, 11, 1395, 11, 275, 17, 8, 198, 35191, 500, 13912, 90, 5317, 2414, 11, 23410, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 92, 5512, 5317, 2414, 11, 18683, 27923, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 92, 5512, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 17, 657, 26, 657, 362, 4357, 6932, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 15, 11, 657, 4357, 352, 828, 685, 16, 11, 362, 12962, 198, 198, 73, 43640, 29, 6708, 500, 13912, 7, 17, 11, 1395, 11, 275, 17, 8, 6624, 716, 198, 7942, 198, 198, 73, 43640, 29, 6708, 500, 13912, 7, 16, 11, 1395, 11, 275, 17, 8, 198, 48313, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 5512, 23410, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 42535, 7, 23410, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 15, 11, 657, 4357, 352, 828, 685, 16, 11, 362, 12962, 198, 15506, 63, 198, 198, 4677, 3157, 257, 14174, 3975, 284, 281, 4600, 35191, 500, 13912, 63, 2134, 21001, 262, 734, 8739, 656, 257, 649, 198, 63, 35191, 500, 13912, 63, 4554, 13, 198, 15316, 356, 460, 787, 779, 286, 262, 11315, 329, 15607, 13, 198, 198, 15506, 63, 73, 335, 38441, 395, 5678, 669, 198, 73, 43640, 29, 347, 796, 685, 17, 657, 26, 657, 362, 11208, 716, 17, 796, 347, 1635, 716, 198, 35191, 500, 13912, 90, 5317, 2414, 11, 23410, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 92, 5512, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 17, 5512, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 19, 657, 26, 657, 604, 4357, 6932, 18943, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 15, 11, 657, 4357, 352, 828, 685, 17, 11, 604, 12962, 198, 198, 73, 43640, 29, 362, 1635, 716, 6624, 716, 17, 198, 7942, 198, 15506, 63, 198, 198, 464, 3586, 286, 281, 4600, 35191, 500, 13912, 63, 284, 257, 4600, 28667, 7248, 63, 393, 281, 4600, 40613, 7248, 63, 318, 27009, 198, 2306, 296, 4142, 13, 198, 198, 15506, 63, 73, 335, 38441, 395, 5678, 669, 198, 73, 43640, 29, 6708, 500, 13912, 7, 32, 11, 12169, 7248, 90, 5317, 92, 7, 17, 828, 275, 18, 8, 198, 29974, 10565, 90, 5317, 2414, 11, 19182, 90, 5317, 2414, 11, 16, 11709, 26933, 16, 11, 362, 11, 513, 12962, 198, 198, 73, 43640, 29, 6708, 500, 13912, 7, 32, 11, 33523, 7248, 90, 5317, 92, 7, 17, 828, 275, 18, 8, 198, 40613, 7248, 90, 5317, 2414, 92, 7, 17, 8, 198, 15506, 63, 198, 37811, 198, 7249, 6708, 500, 13912, 90, 45, 27, 25, 15633, 11, 311, 27, 25, 43, 12582, 7248, 90, 45, 5512, 28692, 11, 36775, 27, 25, 23839, 46912, 90, 32755, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 45, 27, 25, 23839, 38469, 90, 32755, 11709, 1279, 25, 27741, 35191, 500, 13912, 90, 45, 11, 311, 92, 198, 220, 220, 220, 337, 3712, 41636, 198, 220, 220, 220, 1395, 3712, 50, 198, 220, 220, 220, 410, 3712, 53, 45, 628, 220, 220, 220, 1303, 4277, 23772, 351, 15793, 2872, 2198, 198, 220, 220, 220, 2163, 6708, 500, 13912, 7, 44, 3712, 41636, 11, 1395, 3712, 50, 11, 410, 3712, 53, 45, 8, 810, 1391, 45, 27, 25, 15633, 11, 311, 27, 25, 43, 12582, 7248, 90, 45, 5512, 28692, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36775, 27, 25, 23839, 46912, 90, 32755, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 569, 45, 27, 25, 23839, 38469, 90, 32755, 11709, 628, 220, 220, 220, 220, 220, 220, 220, 2488, 30493, 5391, 7, 55, 8, 6624, 2546, 7, 44, 11, 362, 8, 366, 64, 17593, 286, 2546, 29568, 7857, 7, 44, 4008, 2314, 307, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 1324, 18511, 284, 257, 900, 286, 15793, 29568, 27740, 7, 55, 4008, 1, 628, 220, 220, 220, 220, 220, 220, 220, 2488, 30493, 2546, 7, 44, 11, 352, 8, 6624, 4129, 7, 85, 8, 366, 64, 3975, 351, 5072, 15793, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17971, 7, 7857, 7, 44, 11, 352, 4008, 318, 27294, 351, 257, 11059, 15879, 286, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 46156, 29568, 13664, 7, 85, 4008, 1, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 649, 90, 45, 11, 311, 11, 28692, 11, 36775, 11, 569, 45, 92, 7, 44, 11, 1395, 11, 410, 8, 198, 220, 220, 220, 886, 198, 437, 198, 198, 271, 27184, 4906, 7, 3712, 6030, 90, 27, 25, 35191, 500, 13912, 30072, 796, 2081, 198, 271, 1102, 303, 742, 2981, 7, 3712, 6030, 90, 27, 25, 35191, 500, 13912, 90, 45, 11, 311, 11709, 8, 810, 1391, 45, 11, 311, 92, 796, 318, 1102, 303, 742, 2981, 7, 50, 8, 198, 198, 2, 15607, 23772, 422, 257, 35712, 3351, 4272, 198, 8818, 6708, 500, 13912, 7, 44, 3712, 3118, 6933, 3351, 4272, 11, 1395, 3712, 43, 12582, 7248, 11, 410, 3712, 23839, 38469, 8, 198, 220, 220, 220, 1441, 6708, 500, 13912, 7, 44, 13, 39377, 11, 1395, 11, 410, 8, 198, 437, 198, 198, 2, 15607, 23772, 422, 257, 16578, 283, 198, 8818, 6708, 500, 13912, 7, 17394, 3712, 45, 11, 1395, 3712, 43, 12582, 7248, 11, 410, 3712, 23839, 38469, 8, 810, 1391, 45, 27, 25, 15633, 92, 198, 220, 220, 220, 611, 26367, 6624, 530, 7, 45, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 33322, 7, 55, 11, 410, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 6708, 500, 13912, 7, 18683, 27923, 7, 20797, 7, 17394, 11, 4129, 7, 85, 4008, 828, 1395, 11, 410, 8, 198, 437, 198, 198, 2, 7106, 2649, 329, 257, 44800, 13912, 198, 1640, 34645, 287, 357, 25, 23839, 46912, 11, 1058, 15633, 8, 198, 220, 220, 220, 2488, 18206, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 2163, 44800, 13912, 7, 8899, 3712, 3, 33767, 11, 716, 3712, 35191, 500, 13912, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6708, 500, 13912, 7, 8899, 1635, 716, 13, 44, 11, 716, 13, 55, 11, 3975, 1635, 716, 13, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 198, 198, 2, 12169, 7248, 318, 366, 28177, 34418, 1, 329, 262, 14174, 3975, 357, 8807, 262, 15793, 2458, 8, 198, 2, 884, 326, 691, 262, 11059, 15879, 3793, 198, 8818, 6708, 500, 13912, 7, 44, 3712, 23839, 46912, 90, 45, 5512, 1168, 3712, 28667, 7248, 90, 45, 5512, 410, 3712, 23839, 38469, 90, 45, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 45, 27, 25, 15633, 92, 198, 220, 220, 220, 2488, 30493, 5391, 7, 57, 8, 6624, 2546, 7, 44, 11, 362, 8, 366, 64, 17593, 286, 2546, 29568, 7857, 7, 44, 4008, 2314, 307, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1324, 18511, 284, 257, 900, 286, 15793, 29568, 27740, 7, 57, 4008, 1, 628, 220, 220, 220, 2488, 30493, 2546, 7, 44, 11, 352, 8, 6624, 4129, 7, 85, 8, 366, 64, 3975, 351, 5072, 15793, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 17971, 7, 7857, 7, 44, 11, 352, 4008, 318, 27294, 351, 257, 11059, 15879, 286, 366, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 366, 46156, 29568, 13664, 7, 85, 4008, 1, 628, 220, 220, 220, 1441, 5573, 10565, 7, 85, 8, 198, 437, 198, 198, 2, 33523, 7248, 318, 34418, 329, 6708, 500, 13912, 198, 8818, 6708, 500, 13912, 7, 44, 3712, 23839, 46912, 90, 45, 5512, 18872, 227, 3712, 40613, 7248, 90, 45, 5512, 410, 3712, 23839, 38469, 90, 45, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 45, 27, 25, 15633, 92, 198, 220, 220, 220, 1441, 18872, 227, 198, 437, 628, 198, 2, 11420, 27741, 35191, 500, 13912, 7071, 5499, 11420, 628, 198, 8818, 17593, 7, 321, 3712, 35191, 500, 13912, 8, 198, 220, 220, 220, 1441, 716, 13, 44, 198, 437, 198, 198, 8818, 15879, 7, 321, 3712, 35191, 500, 13912, 90, 45, 30072, 810, 1391, 45, 27, 25, 15633, 92, 198, 220, 220, 220, 1441, 716, 13, 85, 198, 437, 198, 198, 8818, 900, 7, 321, 3712, 35191, 500, 13912, 8, 198, 220, 220, 220, 1441, 716, 13, 55, 198, 437, 628, 198, 2, 11420, 406, 12582, 7248, 7071, 5499, 11420, 628, 198, 8818, 1673, 1186, 1096, 7, 321, 3712, 35191, 500, 13912, 8, 198, 220, 220, 220, 1441, 1527, 500, 62, 8899, 7, 321, 13, 44, 11, 1673, 1186, 1096, 7, 321, 13, 55, 828, 716, 13, 85, 8, 198, 437, 198 ]
2.404931
2,109
# Code for Day 9 of Advent of Code: https://adventofcode.com/2018/day/9 # Julia Solution # # Copyright (C) 2018 Lawrence Woodman <lwoodman@vlifesystems.com> # Licensed under an MIT licence. Please see LICENCE.md for details. using Printf mutable struct Game numPlayers lastMarble current marbles Game(numPlayers, lastMarble) = new(numPlayers, lastMarble, -1, Dict()) Game() = new(0, 0, -1, Dict()) end mutable struct Marble prev next end function start(g::Game) g.marbles = Dict(0 => Marble(0,0)) g.current = 0 end function next(g::Game, value) g.marbles[value].next end function prev(g::Game, value) g.marbles[value].prev end function prev7(g::Game) v = g.current for i in 1:7 v = prev(g, v) end v end function remove(g::Game, value) prev = g.marbles[value].prev next = g.marbles[value].next g.marbles[prev].next = next g.marbles[next].prev = prev g.current = next delete!(g.marbles, value) end function insert(g::Game, beforeValue, value) before = g.marbles[beforeValue] beforePrev = before.prev g.marbles[value] = Marble(before.prev, beforeValue) g.marbles[beforeValue].prev = value g.marbles[beforePrev].next = value g.current = value end function add(g::Game, value) if value % 23 == 0 throw(ArgumentError("can't add multiple of 23")) end next1 = next(g, g.current) next2 = next(g, next1) insert(g, next2, value) end function getInput(filename) game = Game() open(filename) do file for ln in eachline(file) gameWords = split(ln) game = Game(parse(Int32, gameWords[1]), parse(Int32, gameWords[7])) break end end game end function play(g::Game) playerNum = 1 start(g) scores = Dict() for m in 1:g.lastMarble if m % 23 == 0 removeValue = prev7(g) remove(g, removeValue) playerScore = get(scores, playerNum, 0) scores[playerNum] = playerScore+m+removeValue else add(g, m) end playerNum = playerNum + 1 if playerNum >= g.numPlayers playerNum = 0 end end highestScore = 0 for (p, s) in scores if s > highestScore highestScore = s end end highestScore end function part1(game) play(game) end function part2(game) game.lastMarble = game.lastMarble*100 play(game) end game = getInput("day9.input") @printf "part1: %d\n" part1(game) @printf "part2: %d\n" part2(game)
[ 2, 6127, 329, 3596, 860, 286, 33732, 286, 6127, 25, 3740, 1378, 324, 1151, 1659, 8189, 13, 785, 14, 7908, 14, 820, 14, 24, 198, 2, 22300, 28186, 198, 2, 198, 2, 15069, 357, 34, 8, 2864, 13914, 5326, 805, 1279, 75, 3822, 805, 31, 19279, 361, 274, 6781, 82, 13, 785, 29, 198, 2, 49962, 739, 281, 17168, 17098, 13, 220, 4222, 766, 38559, 18310, 13, 9132, 329, 3307, 13, 198, 198, 3500, 12578, 69, 198, 198, 76, 18187, 2878, 3776, 198, 220, 997, 24860, 198, 220, 938, 7676, 903, 198, 220, 1459, 198, 220, 1667, 7689, 198, 220, 3776, 7, 22510, 24860, 11, 938, 7676, 903, 8, 796, 649, 7, 22510, 24860, 11, 938, 7676, 903, 11, 532, 16, 11, 360, 713, 28955, 198, 220, 3776, 3419, 796, 649, 7, 15, 11, 657, 11, 532, 16, 11, 360, 713, 28955, 198, 437, 198, 198, 76, 18187, 2878, 36891, 198, 220, 8654, 198, 220, 1306, 198, 437, 198, 198, 8818, 923, 7, 70, 3712, 8777, 8, 198, 220, 308, 13, 3876, 7689, 796, 360, 713, 7, 15, 5218, 36891, 7, 15, 11, 15, 4008, 198, 220, 308, 13, 14421, 796, 657, 198, 437, 198, 198, 8818, 1306, 7, 70, 3712, 8777, 11, 1988, 8, 198, 220, 308, 13, 3876, 7689, 58, 8367, 4083, 19545, 198, 437, 198, 198, 8818, 8654, 7, 70, 3712, 8777, 11, 1988, 8, 198, 220, 308, 13, 3876, 7689, 58, 8367, 4083, 47050, 198, 437, 198, 198, 8818, 8654, 22, 7, 70, 3712, 8777, 8, 198, 220, 410, 796, 308, 13, 14421, 198, 220, 329, 1312, 287, 352, 25, 22, 198, 220, 220, 220, 410, 796, 8654, 7, 70, 11, 410, 8, 198, 220, 886, 198, 220, 410, 198, 437, 198, 198, 8818, 4781, 7, 70, 3712, 8777, 11, 1988, 8, 198, 220, 8654, 796, 308, 13, 3876, 7689, 58, 8367, 4083, 47050, 198, 220, 1306, 796, 308, 13, 3876, 7689, 58, 8367, 4083, 19545, 198, 220, 308, 13, 3876, 7689, 58, 47050, 4083, 19545, 796, 1306, 198, 220, 308, 13, 3876, 7689, 58, 19545, 4083, 47050, 796, 8654, 198, 220, 308, 13, 14421, 796, 1306, 198, 220, 12233, 0, 7, 70, 13, 3876, 7689, 11, 1988, 8, 198, 437, 198, 198, 8818, 7550, 7, 70, 3712, 8777, 11, 878, 11395, 11, 1988, 8, 198, 220, 878, 796, 308, 13, 3876, 7689, 58, 19052, 11395, 60, 198, 220, 878, 36854, 796, 878, 13, 47050, 198, 220, 308, 13, 3876, 7689, 58, 8367, 60, 796, 36891, 7, 19052, 13, 47050, 11, 878, 11395, 8, 198, 220, 308, 13, 3876, 7689, 58, 19052, 11395, 4083, 47050, 796, 1988, 198, 220, 308, 13, 3876, 7689, 58, 19052, 36854, 4083, 19545, 796, 1988, 198, 220, 308, 13, 14421, 796, 1988, 198, 437, 198, 198, 8818, 751, 7, 70, 3712, 8777, 11, 1988, 8, 198, 220, 611, 1988, 4064, 2242, 6624, 657, 198, 220, 220, 220, 3714, 7, 28100, 1713, 12331, 7203, 5171, 470, 751, 3294, 286, 2242, 48774, 198, 220, 886, 198, 220, 1306, 16, 796, 1306, 7, 70, 11, 308, 13, 14421, 8, 198, 220, 1306, 17, 796, 1306, 7, 70, 11, 1306, 16, 8, 198, 220, 7550, 7, 70, 11, 1306, 17, 11, 1988, 8, 198, 437, 198, 198, 8818, 651, 20560, 7, 34345, 8, 198, 220, 983, 796, 3776, 3419, 198, 220, 1280, 7, 34345, 8, 466, 2393, 198, 220, 220, 220, 329, 300, 77, 287, 1123, 1370, 7, 7753, 8, 198, 220, 220, 220, 220, 220, 983, 37117, 796, 6626, 7, 18755, 8, 198, 220, 220, 220, 220, 220, 983, 796, 3776, 7, 29572, 7, 5317, 2624, 11, 983, 37117, 58, 16, 46570, 21136, 7, 5317, 2624, 11, 983, 37117, 58, 22, 60, 4008, 198, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 886, 198, 220, 886, 198, 220, 983, 198, 437, 198, 198, 8818, 711, 7, 70, 3712, 8777, 8, 198, 220, 2137, 33111, 796, 352, 198, 220, 923, 7, 70, 8, 198, 220, 8198, 796, 360, 713, 3419, 198, 220, 329, 285, 287, 352, 25, 70, 13, 12957, 7676, 903, 198, 220, 220, 220, 611, 285, 4064, 2242, 6624, 657, 198, 220, 220, 220, 220, 220, 4781, 11395, 796, 8654, 22, 7, 70, 8, 198, 220, 220, 220, 220, 220, 4781, 7, 70, 11, 4781, 11395, 8, 198, 220, 220, 220, 220, 220, 2137, 26595, 796, 651, 7, 1416, 2850, 11, 2137, 33111, 11, 657, 8, 198, 220, 220, 220, 220, 220, 8198, 58, 7829, 33111, 60, 796, 2137, 26595, 10, 76, 10, 28956, 11395, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 751, 7, 70, 11, 285, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2137, 33111, 796, 2137, 33111, 1343, 352, 198, 220, 220, 220, 611, 2137, 33111, 18189, 308, 13, 22510, 24860, 198, 220, 220, 220, 220, 220, 2137, 33111, 796, 657, 198, 220, 220, 220, 886, 198, 220, 886, 198, 220, 4511, 26595, 796, 657, 198, 220, 329, 357, 79, 11, 264, 8, 287, 8198, 198, 220, 220, 220, 611, 264, 1875, 4511, 26595, 198, 220, 220, 220, 220, 220, 4511, 26595, 796, 264, 198, 220, 220, 220, 886, 198, 220, 886, 198, 220, 4511, 26595, 198, 437, 628, 198, 8818, 636, 16, 7, 6057, 8, 198, 220, 711, 7, 6057, 8, 198, 437, 198, 198, 8818, 636, 17, 7, 6057, 8, 198, 220, 983, 13, 12957, 7676, 903, 796, 983, 13, 12957, 7676, 903, 9, 3064, 198, 220, 711, 7, 6057, 8, 198, 437, 198, 198, 6057, 796, 651, 20560, 7203, 820, 24, 13, 15414, 4943, 198, 31, 37435, 366, 3911, 16, 25, 4064, 67, 59, 77, 1, 636, 16, 7, 6057, 8, 198, 31, 37435, 366, 3911, 17, 25, 4064, 67, 59, 77, 1, 636, 17, 7, 6057, 8, 198 ]
2.510526
950
### A Pluto.jl notebook ### # v0.14.5 using Markdown using InteractiveUtils # ╔═╡ 857d0150-b0ea-11eb-2bcb-b70a5fc0a6b7 md""" # [Day 25: Let It Snow](https://adventofcode.com/2015/day/25) Merry Christmas! Santa is booting up his weather machine; looks like you might get a [white Christmas](https://adventofcode.com/2015/day/1) after all. The weather machine beeps! On the console of the machine is a copy protection message asking you to [enter a code from the instruction manual](https://en.wikipedia.org/wiki/Copy_protection#Early_video_games). Apparently, it refuses to run unless you give it that code. No problem; you'll just look up the code in the-- "Ho ho ho", Santa ponders aloud. "I can't seem to find the manual." You look up the support number for the manufacturer and give them a call. Good thing, too - that 49th star wasn't going to earn itself. "Oh, that machine is quite old!", they tell you. "That model went out of support six minutes ago, and we just finished shredding all of the manuals. I bet we can find you the code generation algorithm, though." After putting you on hold for twenty minutes (your call is very important to them, it reminded you repeatedly), they finally find an engineer that remembers how the code system works. The codes are printed on an infinite sheet of paper, starting in the top-left corner. The codes are filled in by diagonals: starting with the first row with an empty first box, the codes are filled in diagonally up and to the right. This process repeats until the [infinite paper is covered](https://en.wikipedia.org/wiki/Cantor's_diagonal_argument). So, the first few codes are filled in in this order: ``` | 1 2 3 4 5 6 ---+---+---+---+---+---+---+ 1 | 1 3 6 10 15 21 2 | 2 5 9 14 20 3 | 4 8 13 19 4 | 7 12 18 5 | 11 17 6 | 16 ``` For example, the 12th code would be written to row `4`, column `2`; the 15th code would be written to row `1`, column `5`. The voice on the other end of the phone continues with how the codes are actually generated. The first code is `20151125`. After that, each code is generated by taking the previous one, multiplying it by `252533`, and then keeping the remainder from dividing that value by `33554393`. So, to find the second code (which ends up in row `2`, column `1`), start with the previous value, `20151125`. Multiply it by `252533` to get `5088824049625`. Then, divide that by `33554393`, which leaves a remainder of `31916031`. That remainder is the second code. "Oh!", says the voice. "It looks like we missed a scrap from one of the manuals. Let me read it to you." You write down his numbers: ``` | 1 2 3 4 5 6 ---+---------+---------+---------+---------+---------+---------+ 1 | 20151125 18749137 17289845 30943339 10071777 33511524 2 | 31916031 21629792 16929656 7726640 15514188 4041754 3 | 16080970 8057251 1601130 7981243 11661866 16474243 4 | 24592653 32451966 21345942 9380097 10600672 31527494 5 | 77061 17552253 28094349 6899651 9250759 31663883 6 | 33071741 6796745 25397450 24659492 1534922 27995004 ``` "Now remember", the voice continues, "that's not even all of the first few numbers; for example, you're missing the one at 7,1 that would come before 6,2. But, it should be enough to let your-- oh, it's time for lunch! Bye!" The call disconnects. Santa looks nervous. Your puzzle input contains the message on the machine's console. **What code do you give the machine?** """ # ╔═╡ 36909b22-41bb-4b02-b2d7-a662da7ffbf3 puzzle_input = "To continue, please consult the code grid in the manual. Enter the code at row 2978, column 3083." # ╔═╡ Cell order: # ╟─857d0150-b0ea-11eb-2bcb-b70a5fc0a6b7 # ╟─36909b22-41bb-4b02-b2d7-a662da7ffbf3
[ 21017, 317, 32217, 13, 20362, 20922, 44386, 198, 2, 410, 15, 13, 1415, 13, 20, 198, 198, 3500, 2940, 2902, 198, 3500, 21365, 18274, 4487, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 3553, 67, 486, 1120, 12, 65, 15, 18213, 12, 1157, 1765, 12, 17, 15630, 65, 12, 65, 2154, 64, 20, 16072, 15, 64, 21, 65, 22, 198, 9132, 37811, 198, 2, 685, 12393, 1679, 25, 3914, 632, 7967, 16151, 5450, 1378, 324, 1151, 1659, 8189, 13, 785, 14, 4626, 14, 820, 14, 1495, 8, 198, 198, 44, 6996, 6786, 0, 8909, 318, 6297, 278, 510, 465, 6193, 4572, 26, 3073, 588, 345, 1244, 651, 257, 1849, 58, 11186, 6786, 16151, 5450, 1378, 324, 1151, 1659, 8189, 13, 785, 14, 4626, 14, 820, 14, 16, 8, 1849, 8499, 477, 13, 198, 198, 464, 6193, 4572, 307, 25386, 0, 1550, 262, 8624, 286, 262, 4572, 318, 257, 4866, 4800, 3275, 4737, 345, 284, 1849, 58, 9255, 257, 2438, 422, 262, 12064, 10107, 16151, 5450, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 29881, 62, 42846, 2, 20457, 62, 15588, 62, 19966, 737, 18626, 11, 340, 17567, 284, 1057, 4556, 345, 1577, 340, 326, 2438, 13, 1400, 1917, 26, 345, 1183, 655, 804, 510, 262, 2438, 287, 262, 438, 198, 198, 1, 28900, 8169, 8169, 1600, 8909, 16723, 364, 32227, 13, 366, 40, 460, 470, 1283, 284, 1064, 262, 10107, 526, 198, 198, 1639, 804, 510, 262, 1104, 1271, 329, 262, 11554, 290, 1577, 606, 257, 869, 13, 4599, 1517, 11, 1165, 532, 326, 5125, 400, 3491, 2492, 470, 1016, 284, 5160, 2346, 13, 198, 198, 1, 5812, 11, 326, 4572, 318, 2407, 1468, 40754, 484, 1560, 345, 13, 366, 2504, 2746, 1816, 503, 286, 1104, 2237, 2431, 2084, 11, 290, 356, 655, 5201, 21163, 12083, 477, 286, 262, 41371, 13, 314, 731, 356, 460, 1064, 345, 262, 2438, 5270, 11862, 11, 996, 526, 198, 198, 3260, 5137, 345, 319, 1745, 329, 8208, 2431, 357, 14108, 869, 318, 1849, 548, 1849, 18049, 284, 606, 11, 340, 14516, 345, 7830, 828, 484, 3443, 1064, 281, 11949, 326, 18140, 703, 262, 2438, 1080, 2499, 13, 198, 198, 464, 12416, 389, 10398, 319, 281, 1849, 10745, 9504, 9629, 286, 3348, 11, 3599, 287, 262, 1353, 12, 9464, 5228, 13, 383, 12416, 389, 5901, 287, 416, 2566, 1840, 874, 25, 3599, 351, 262, 717, 5752, 351, 281, 6565, 717, 3091, 11, 262, 12416, 389, 5901, 287, 2566, 1840, 453, 510, 290, 284, 262, 826, 13, 770, 1429, 29819, 1566, 262, 1849, 58, 10745, 9504, 3348, 318, 5017, 16151, 5450, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 34, 415, 273, 338, 62, 10989, 27923, 62, 49140, 737, 1406, 11, 262, 717, 1178, 12416, 389, 5901, 287, 287, 428, 1502, 25, 198, 198, 15506, 63, 198, 220, 220, 930, 352, 220, 220, 362, 220, 220, 513, 220, 220, 604, 220, 220, 642, 220, 220, 718, 198, 6329, 10, 6329, 10, 6329, 10, 6329, 10, 6329, 10, 6329, 10, 6329, 10, 198, 352, 930, 220, 352, 220, 220, 513, 220, 220, 718, 220, 838, 220, 1315, 220, 2310, 198, 362, 930, 220, 362, 220, 220, 642, 220, 220, 860, 220, 1478, 220, 1160, 198, 513, 930, 220, 604, 220, 220, 807, 220, 1511, 220, 678, 198, 604, 930, 220, 767, 220, 1105, 220, 1248, 198, 642, 930, 1367, 220, 1596, 198, 718, 930, 1467, 198, 198, 15506, 63, 198, 198, 1890, 1672, 11, 262, 1105, 400, 2438, 561, 307, 3194, 284, 5752, 1849, 63, 19, 47671, 5721, 1849, 63, 17, 63, 26, 262, 1315, 400, 2438, 561, 307, 3194, 284, 5752, 1849, 63, 16, 47671, 5721, 1849, 63, 20, 44646, 198, 198, 464, 3809, 319, 262, 584, 886, 286, 262, 3072, 4477, 351, 703, 262, 12416, 389, 1682, 7560, 13, 383, 717, 2438, 318, 1849, 63, 1264, 4349, 11623, 44646, 2293, 326, 11, 1123, 2438, 318, 7560, 416, 2263, 262, 2180, 530, 11, 48816, 340, 416, 1849, 63, 1495, 1495, 2091, 47671, 290, 788, 5291, 262, 17675, 422, 27241, 326, 1988, 416, 1849, 63, 2091, 44218, 26007, 44646, 198, 198, 2396, 11, 284, 1064, 262, 1218, 2438, 357, 4758, 5645, 510, 287, 5752, 1849, 63, 17, 47671, 5721, 1849, 63, 16, 63, 828, 923, 351, 262, 2180, 1988, 11, 1849, 63, 1264, 4349, 11623, 44646, 7854, 541, 306, 340, 416, 1849, 63, 1495, 1495, 2091, 63, 1849, 1462, 651, 1849, 63, 1120, 28011, 16102, 2920, 26704, 44646, 3244, 11, 14083, 326, 416, 1849, 63, 2091, 44218, 26007, 47671, 543, 5667, 257, 17675, 286, 1849, 63, 35175, 1433, 43637, 44646, 1320, 17675, 318, 262, 1218, 2438, 13, 198, 198, 1, 5812, 40754, 1139, 262, 3809, 13, 366, 1026, 3073, 588, 356, 6825, 257, 15881, 422, 530, 286, 262, 41371, 13, 3914, 502, 1100, 340, 284, 345, 526, 921, 3551, 866, 465, 3146, 25, 198, 198, 15506, 63, 198, 220, 220, 930, 220, 220, 220, 352, 220, 220, 220, 220, 220, 220, 220, 220, 362, 220, 220, 220, 220, 220, 220, 220, 220, 513, 220, 220, 220, 220, 220, 220, 220, 220, 604, 220, 220, 220, 220, 220, 220, 220, 220, 642, 220, 220, 220, 220, 220, 220, 220, 220, 718, 198, 6329, 10, 982, 19529, 982, 19529, 982, 19529, 982, 19529, 982, 19529, 982, 19529, 198, 352, 930, 1853, 16, 11623, 220, 27649, 2920, 19708, 220, 1596, 2078, 4089, 2231, 220, 1542, 5824, 2091, 2670, 220, 1802, 22, 1558, 3324, 220, 37144, 15363, 1731, 198, 362, 930, 40385, 1433, 43637, 220, 26881, 1959, 48156, 220, 27191, 1959, 37466, 220, 220, 8541, 25540, 1821, 220, 20708, 1415, 20356, 220, 220, 32320, 1558, 4051, 198, 513, 930, 13454, 34583, 2154, 220, 220, 807, 43526, 28072, 220, 220, 1467, 486, 12952, 220, 220, 767, 4089, 1065, 3559, 220, 1367, 2791, 1507, 2791, 220, 1467, 38652, 26660, 198, 604, 930, 1987, 3270, 2075, 4310, 220, 513, 22995, 44227, 220, 28658, 33459, 3682, 220, 220, 860, 2548, 405, 5607, 220, 838, 8054, 43864, 220, 32647, 1983, 39449, 198, 642, 930, 220, 220, 220, 44586, 5333, 220, 1596, 2816, 18182, 18, 220, 21355, 5824, 27371, 220, 220, 8257, 2079, 40639, 220, 220, 860, 9031, 38314, 220, 513, 23055, 2548, 5999, 198, 718, 930, 513, 22996, 1558, 3901, 220, 220, 718, 3720, 3134, 2231, 220, 1679, 2670, 4524, 1120, 220, 1987, 36445, 40256, 220, 220, 1315, 27371, 1828, 220, 2681, 2079, 4059, 19, 198, 198, 15506, 63, 198, 198, 1, 3844, 3505, 1600, 262, 3809, 4477, 11, 366, 5562, 338, 407, 772, 477, 286, 262, 717, 1178, 3146, 26, 329, 1672, 11, 345, 821, 4814, 262, 530, 379, 767, 11, 16, 326, 561, 1282, 878, 718, 11, 17, 13, 887, 11, 340, 815, 307, 1576, 284, 1309, 534, 438, 11752, 11, 340, 338, 640, 329, 9965, 0, 47843, 2474, 383, 869, 22837, 82, 13, 198, 198, 42694, 3073, 10927, 13, 3406, 15027, 5128, 4909, 262, 3275, 319, 262, 4572, 338, 8624, 13, 1849, 1174, 2061, 2438, 466, 345, 1577, 262, 4572, 30, 1174, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 45620, 2931, 65, 1828, 12, 3901, 11848, 12, 19, 65, 2999, 12, 65, 17, 67, 22, 12, 64, 39380, 6814, 22, 487, 19881, 18, 198, 79, 9625, 62, 15414, 796, 366, 2514, 2555, 11, 3387, 5725, 262, 2438, 10706, 287, 262, 10107, 13, 220, 6062, 262, 2438, 379, 5752, 2808, 3695, 11, 5721, 1542, 5999, 526, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 12440, 1502, 25, 198, 2, 2343, 243, 253, 7280, 23, 3553, 67, 486, 1120, 12, 65, 15, 18213, 12, 1157, 1765, 12, 17, 15630, 65, 12, 65, 2154, 64, 20, 16072, 15, 64, 21, 65, 22, 198, 2, 2343, 243, 253, 7280, 30803, 2931, 65, 1828, 12, 3901, 11848, 12, 19, 65, 2999, 12, 65, 17, 67, 22, 12, 64, 39380, 6814, 22, 487, 19881, 18, 198 ]
2.94213
1,296
using JuMP struct DummyOptimizer <: MOI.AbstractOptimizer end MOI.is_empty(::DummyOptimizer) = true MOI.supports_constraint(::DummyOptimizer, ::Type{<:MOI.AbstractFunction}, ::Type{<:MOI.AbstractSet}) = true function MOI.optimize!(::DummyOptimizer, model::MOI.ModelLike) return MOI.Utilities.identity_index_map(model), false end MOI.get(::DummyOptimizer, ::MOI.TerminationStatus) = MOI.OTHER_ERROR MOI.get(::DummyOptimizer, ::MOI.RawStatusString) = "Dummy status"
[ 3500, 12585, 7378, 198, 7249, 360, 13513, 27871, 320, 7509, 1279, 25, 13070, 40, 13, 23839, 27871, 320, 7509, 886, 198, 11770, 40, 13, 271, 62, 28920, 7, 3712, 35, 13513, 27871, 320, 7509, 8, 796, 2081, 198, 11770, 40, 13, 18608, 2096, 62, 1102, 2536, 2913, 7, 3712, 35, 13513, 27871, 320, 7509, 11, 7904, 6030, 90, 27, 25, 11770, 40, 13, 23839, 22203, 5512, 7904, 6030, 90, 27, 25, 11770, 40, 13, 23839, 7248, 30072, 796, 2081, 198, 8818, 13070, 40, 13, 40085, 1096, 0, 7, 3712, 35, 13513, 27871, 320, 7509, 11, 2746, 3712, 11770, 40, 13, 17633, 7594, 8, 198, 220, 220, 220, 1441, 13070, 40, 13, 18274, 2410, 13, 738, 414, 62, 9630, 62, 8899, 7, 19849, 828, 3991, 198, 437, 198, 11770, 40, 13, 1136, 7, 3712, 35, 13513, 27871, 320, 7509, 11, 7904, 11770, 40, 13, 15156, 17928, 19580, 8, 796, 13070, 40, 13, 31858, 62, 24908, 198, 11770, 40, 13, 1136, 7, 3712, 35, 13513, 27871, 320, 7509, 11, 7904, 11770, 40, 13, 27369, 19580, 10100, 8, 796, 366, 35, 13513, 3722, 1, 198 ]
2.571429
182
# Check whether the test is being run as standalone if ~@isdefined Test using Test end include("../src/setup_hierarchy.jl") @testset "hierarchy matrix" begin # Makes sure the hierarchy matrix generator is working as expected for a select set of orbital systems. # Fully nested Keplerians ϵ_nested::Matrix{Float64} = [-1 1 0 0; -1 -1 1 0; -1 -1 -1 1; -1 -1 -1 -1;] @test hierarchy([4,1,1,1]) == ϵ_nested # Double Binary ϵ_double::Matrix{Float64} = [-1 1 0 0; 0 0 -1 1; -1 -1 1 1; -1 -1 -1 -1;] @test hierarchy([4,2,1]) == ϵ_double # Double binary + top level body ϵ_asym::Matrix{Float64} = [-1 1 0 0 0; 0 0 -1 1 0; -1 -1 1 1 0; -1 -1 -1 -1 1; -1 -1 -1 -1 -1;] @test hierarchy([5,2,1,1]) == ϵ_asym # Test of specific ambiguous initialization case of a 'symmetric fully-nested' (top) and the double binary + tertiary binary (bottom) ϵ_sym_full::Matrix{Float64} = [-1 1 0 0 0 0; 0 0 0 -1 1 0; -1 -1 1 0 0 0; 0 0 0 -1 -1 1; -1 -1 -1 1 1 1; -1 -1 -1 -1 -1 -1;] ϵ_asym_multi::Matrix{Float64}=[-1 1 0 0 0 0; 0 0 -1 1 0 0; -1 -1 1 1 0 0; 0 0 0 0 -1 1; -1 -1 -1 -1 1 1; -1 -1 -1 -1 -1 -1;] h_sym_full,h_asym_multi = hierarchy.([[6,2,2,1,2],[6,2,2,1]]) @test ϵ_sym_full == h_sym_full @test ϵ_asym_multi == h_asym_multi end
[ 2, 6822, 1771, 262, 1332, 318, 852, 1057, 355, 27669, 198, 361, 5299, 31, 271, 23211, 6208, 198, 220, 220, 220, 1262, 6208, 198, 437, 198, 198, 17256, 7203, 40720, 10677, 14, 40406, 62, 71, 959, 9282, 13, 20362, 4943, 628, 198, 31, 9288, 2617, 366, 71, 959, 9282, 17593, 1, 2221, 198, 220, 220, 220, 1303, 27433, 1654, 262, 18911, 17593, 17301, 318, 1762, 355, 2938, 329, 257, 2922, 900, 286, 32362, 3341, 13, 198, 220, 220, 220, 1303, 40234, 28376, 40294, 1547, 198, 220, 220, 220, 18074, 113, 62, 77, 7287, 3712, 46912, 90, 43879, 2414, 92, 796, 25915, 16, 220, 352, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 220, 352, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 26, 60, 198, 220, 220, 220, 2488, 9288, 18911, 26933, 19, 11, 16, 11, 16, 11, 16, 12962, 6624, 18074, 113, 62, 77, 7287, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 11198, 45755, 198, 220, 220, 220, 18074, 113, 62, 23352, 3712, 46912, 90, 43879, 2414, 92, 796, 25915, 16, 220, 352, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 532, 16, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 220, 352, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 26, 60, 198, 220, 220, 220, 2488, 9288, 18911, 26933, 19, 11, 17, 11, 16, 12962, 6624, 18074, 113, 62, 23352, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 11198, 13934, 1343, 1353, 1241, 1767, 220, 198, 220, 220, 220, 18074, 113, 62, 4107, 76, 3712, 46912, 90, 43879, 2414, 92, 796, 25915, 16, 220, 352, 220, 657, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 532, 16, 220, 352, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 220, 352, 220, 352, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 532, 16, 26, 60, 198, 220, 220, 220, 2488, 9288, 18911, 26933, 20, 11, 17, 11, 16, 11, 16, 12962, 6624, 18074, 113, 62, 4107, 76, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 6208, 286, 2176, 27102, 37588, 1339, 286, 257, 705, 1837, 3020, 19482, 3938, 12, 77, 7287, 6, 357, 4852, 8, 290, 262, 4274, 13934, 1343, 48358, 8042, 13934, 357, 22487, 8, 198, 220, 220, 220, 18074, 113, 62, 37047, 62, 12853, 3712, 46912, 90, 43879, 2414, 92, 796, 25915, 16, 220, 352, 220, 657, 220, 657, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 220, 657, 532, 16, 220, 352, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 220, 352, 220, 657, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 220, 657, 532, 16, 532, 16, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 220, 352, 220, 352, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 532, 16, 532, 16, 26, 60, 198, 220, 220, 220, 220, 198, 220, 220, 220, 18074, 113, 62, 4107, 76, 62, 41684, 3712, 46912, 90, 43879, 2414, 92, 41888, 12, 16, 220, 352, 220, 657, 220, 657, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 532, 16, 220, 352, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 220, 352, 220, 352, 220, 657, 220, 657, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 220, 657, 220, 657, 220, 657, 532, 16, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 220, 352, 220, 352, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 16, 532, 16, 532, 16, 532, 16, 532, 16, 532, 16, 26, 60, 198, 220, 220, 220, 289, 62, 37047, 62, 12853, 11, 71, 62, 4107, 76, 62, 41684, 796, 18911, 12195, 30109, 21, 11, 17, 11, 17, 11, 16, 11, 17, 38430, 21, 11, 17, 11, 17, 11, 16, 11907, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2488, 9288, 18074, 113, 62, 37047, 62, 12853, 6624, 289, 62, 37047, 62, 12853, 198, 220, 220, 220, 2488, 9288, 18074, 113, 62, 4107, 76, 62, 41684, 6624, 289, 62, 4107, 76, 62, 41684, 198, 437 ]
1.519288
1,348
# polyhelper function guesses what type of poly you want export polyhelper function polyhelper(y) LGRPoly(y) end function polyhelper(x,y) if length(x) < 6 vandpoly(x,y) else LagrangePoly(x,y) # test speed of this against fitting function of Polynomials package end end #function polyhelper(x,y,b::Bound) # if length(x) < 6 # vandpoly(x,y,b) # else # LagrangePoly(x,y,b) # end #end # add automatically gen GlobalPoly of local polys
[ 2, 7514, 2978, 525, 2163, 44774, 644, 2099, 286, 7514, 345, 765, 198, 39344, 7514, 2978, 525, 628, 198, 8818, 7514, 2978, 525, 7, 88, 8, 198, 220, 220, 220, 406, 10761, 34220, 7, 88, 8, 198, 437, 628, 198, 8818, 7514, 2978, 525, 7, 87, 11, 88, 8, 198, 220, 220, 220, 611, 4129, 7, 87, 8, 1279, 718, 198, 220, 220, 220, 220, 220, 220, 220, 410, 392, 35428, 7, 87, 11, 88, 8, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 21003, 9521, 34220, 7, 87, 11, 88, 8, 1303, 1332, 2866, 286, 428, 1028, 15830, 2163, 286, 12280, 26601, 8231, 5301, 198, 220, 220, 220, 886, 198, 437, 198, 198, 2, 8818, 7514, 2978, 525, 7, 87, 11, 88, 11, 65, 3712, 49646, 8, 198, 2, 220, 220, 220, 611, 4129, 7, 87, 8, 1279, 718, 198, 2, 220, 220, 220, 220, 220, 220, 220, 410, 392, 35428, 7, 87, 11, 88, 11, 65, 8, 198, 2, 220, 220, 220, 2073, 198, 2, 220, 220, 220, 220, 220, 220, 220, 21003, 9521, 34220, 7, 87, 11, 88, 11, 65, 8, 198, 2, 220, 220, 220, 886, 198, 2, 437, 628, 198, 2, 751, 6338, 2429, 8060, 34220, 286, 1957, 7514, 82, 198 ]
2.336493
211
NAME_EQUALS(s::State) = if length(s.name) >= 2 push!(s.boolean, pop!(s.name) == pop!(s.name)) end NAME_DUP(s::State) = if !isempty(s.name) push!(s.name, peek(s.name)) end NAME_FLUSH(s::State) = empty!(s.name) NAME_POP(s::State) = !isempty(s.name) && pop!(s.name) NAME_QUOTE(s::State) = s.flag_quote_name = true NAME_RAND(s::State) = push!(s.name, random_name(s)) NAME_RAND_BOUND_NAME(s::State) = push!(s.name, random_bound_name(s)) NAME_ROT(s::State) = if length(s.name) > 2 s.name[end], s.name[end-1], s.name[end-2] = s.name[end-1], s.name[end-2], s.name[end] end NAME_SHOVE(s::State) = if !isempty(s.integer) && !isempty(s.name) shove!(s.name, pop!(s.integer)) end NAME_STACK_DEPTH(s::State) = push!(s.integer, length(s.name)) NAME_SWAP(s::State) = if length(s.name) >= 2 s.name[end], s.name[end-1] = s.name[end-1], s.name[end] end NAME_YANK(s::State) = if !isempty(s.integer) && !isempty(s.name) yank!(s.name, pop!(s.integer)) end NAME_YANKDUP(s::State) = if !isempty(s.integer) && !isempty(s.name) yankdup!(s.name, pop!(s.integer)) end NAME_ERC(s::State) = return Push.register("NAME.=", NAME_EQUALS) Push.register("NAME.DUP", NAME_DUP) Push.register("NAME.FLUSH", NAME_FLUSH) Push.register("NAME.POP", NAME_POP) Push.register("NAME.QUOTE", NAME_QUOTE) Push.register("NAME.RAND", NAME_RAND) Push.register("NAME.RANDBOUNDNAME", NAME_RAND_BOUND_NAME) Push.register("NAME.ROT", NAME_ROT) Push.register("NAME.SHOVE", NAME_SHOVE) Push.register("NAME.STACKDEPTH", NAME_STACK_DEPTH) Push.register("NAME.SWAP", NAME_SWAP) Push.register("NAME.YANK", NAME_YANK) Push.register("NAME.YANKDUP", NAME_YANKDUP) Push.register("NAME.ERC", NAME_ERC)
[ 20608, 62, 36, 10917, 23333, 7, 82, 3712, 9012, 8, 796, 611, 4129, 7, 82, 13, 3672, 8, 18189, 362, 198, 220, 4574, 0, 7, 82, 13, 2127, 21052, 11, 1461, 0, 7, 82, 13, 3672, 8, 6624, 1461, 0, 7, 82, 13, 3672, 4008, 198, 437, 198, 198, 20608, 62, 35, 8577, 7, 82, 3712, 9012, 8, 796, 611, 5145, 271, 28920, 7, 82, 13, 3672, 8, 198, 220, 4574, 0, 7, 82, 13, 3672, 11, 27185, 7, 82, 13, 3672, 4008, 198, 437, 198, 198, 20608, 62, 3697, 27143, 7, 82, 3712, 9012, 8, 796, 6565, 0, 7, 82, 13, 3672, 8, 198, 198, 20608, 62, 47, 3185, 7, 82, 3712, 9012, 8, 796, 5145, 271, 28920, 7, 82, 13, 3672, 8, 11405, 1461, 0, 7, 82, 13, 3672, 8, 198, 198, 20608, 62, 10917, 23051, 7, 82, 3712, 9012, 8, 796, 264, 13, 32109, 62, 22708, 62, 3672, 796, 2081, 198, 198, 20608, 62, 49, 6981, 7, 82, 3712, 9012, 8, 796, 4574, 0, 7, 82, 13, 3672, 11, 4738, 62, 3672, 7, 82, 4008, 198, 198, 20608, 62, 49, 6981, 62, 33, 15919, 62, 20608, 7, 82, 3712, 9012, 8, 796, 4574, 0, 7, 82, 13, 3672, 11, 4738, 62, 7784, 62, 3672, 7, 82, 4008, 198, 198, 20608, 62, 49, 2394, 7, 82, 3712, 9012, 8, 796, 611, 4129, 7, 82, 13, 3672, 8, 1875, 362, 198, 220, 264, 13, 3672, 58, 437, 4357, 264, 13, 3672, 58, 437, 12, 16, 4357, 264, 13, 3672, 58, 437, 12, 17, 60, 796, 198, 220, 220, 220, 264, 13, 3672, 58, 437, 12, 16, 4357, 264, 13, 3672, 58, 437, 12, 17, 4357, 264, 13, 3672, 58, 437, 60, 198, 437, 198, 198, 20608, 62, 9693, 46, 6089, 7, 82, 3712, 9012, 8, 796, 611, 5145, 271, 28920, 7, 82, 13, 41433, 8, 11405, 5145, 271, 28920, 7, 82, 13, 3672, 8, 198, 220, 38332, 0, 7, 82, 13, 3672, 11, 1461, 0, 7, 82, 13, 41433, 4008, 198, 437, 198, 198, 20608, 62, 2257, 8120, 62, 46162, 4221, 7, 82, 3712, 9012, 8, 796, 4574, 0, 7, 82, 13, 41433, 11, 4129, 7, 82, 13, 3672, 4008, 198, 198, 20608, 62, 17887, 2969, 7, 82, 3712, 9012, 8, 796, 611, 4129, 7, 82, 13, 3672, 8, 18189, 362, 198, 220, 264, 13, 3672, 58, 437, 4357, 264, 13, 3672, 58, 437, 12, 16, 60, 796, 264, 13, 3672, 58, 437, 12, 16, 4357, 264, 13, 3672, 58, 437, 60, 198, 437, 198, 198, 20608, 62, 56, 15154, 7, 82, 3712, 9012, 8, 796, 611, 5145, 271, 28920, 7, 82, 13, 41433, 8, 11405, 5145, 271, 28920, 7, 82, 13, 3672, 8, 198, 220, 331, 962, 0, 7, 82, 13, 3672, 11, 1461, 0, 7, 82, 13, 41433, 4008, 198, 437, 198, 198, 20608, 62, 56, 15154, 35, 8577, 7, 82, 3712, 9012, 8, 796, 611, 5145, 271, 28920, 7, 82, 13, 41433, 8, 11405, 5145, 271, 28920, 7, 82, 13, 3672, 8, 198, 220, 331, 962, 646, 79, 0, 7, 82, 13, 3672, 11, 1461, 0, 7, 82, 13, 41433, 4008, 198, 437, 198, 198, 20608, 62, 47691, 7, 82, 3712, 9012, 8, 796, 1441, 198, 198, 49222, 13, 30238, 7203, 20608, 13, 28, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 36, 10917, 23333, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 35, 8577, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 35, 8577, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 3697, 27143, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 3697, 27143, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 47, 3185, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 47, 3185, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 10917, 23051, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 10917, 23051, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 49, 6981, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 49, 6981, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 49, 6981, 33, 15919, 20608, 1600, 220, 36751, 62, 49, 6981, 62, 33, 15919, 62, 20608, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 49, 2394, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 49, 2394, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 9693, 46, 6089, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 9693, 46, 6089, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 2257, 8120, 46162, 4221, 1600, 220, 220, 220, 220, 36751, 62, 2257, 8120, 62, 46162, 4221, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 17887, 2969, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 17887, 2969, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 56, 15154, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 56, 15154, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 56, 15154, 35, 8577, 1600, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 56, 15154, 35, 8577, 8, 198, 49222, 13, 30238, 7203, 20608, 13, 47691, 1600, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36751, 62, 47691, 8, 198 ]
2.029412
884
@reexport module BlackJack export BlackJackEnv using ReinforcementLearningBase using Random const ACTIONS = [:hit, :stick] const INDS = LinearIndices(( 2, # player has ace or not 11, # player's hands sum, 12 ~ 21, plus other cases that the sum is greater than 21 10, # dealer's hands sum, 2~11 )) deal_card() = rand(1:13) is_ace(x) = x == 1 value(x) = is_ace(x) ? 11 : min(x, 10) mutable struct Hands sum::Int cards::Vector{Int} n_usable_ace::Int end Hands() = Hands(0, [], false) is_busted(h::Hands) = h.sum > 21 function Base.push!(h::Hands, x) is_busted(h) && throw(ArgumentError("cards in hand are already busted!")) push!(h.cards, x) h.sum += value(x) h.n_usable_ace += is_ace(x) if h.n_usable_ace > 0 && is_busted(h) h.sum -= 10 h.n_usable_ace -= 1 end end mutable struct BlackJackEnv <: AbstractEnv player_hands::Hands dealer_hands::Hands is_end::Bool reward::Float64 is_exploring_start::Bool init::Union{Nothing,Tuple{Hands,Hands}} end RLBase.get_observation_space(env::BlackJackEnv) = DiscreteSpace(length(INDS)) RLBase.get_action_space(env::BlackJackEnv) = DiscreteSpace(2) function BlackJackEnv(; is_exploring_start = false, init = nothing) env = BlackJackEnv( Hands(), Hands(), false, 0.0, is_exploring_start, init, ) init_hands!(env) env end function init_hands!(env::BlackJackEnv) player_hands, dealer_hands = Hands(), Hands() if env.is_exploring_start player_hands.sum = rand(12:21) player_hands.n_usable_ace = rand(Bool) dealer_hands.sum = rand(2:11) dealer_hands.n_usable_ace = dealer_hands.sum == 11 ? true : false elseif env.init === nothing while player_hands.sum <= 11 push!(player_hands, deal_card()) end push!(dealer_hands, deal_card()) else player_hands, dealer_hands = deepcopy(env.init) end env.player_hands, env.dealer_hands = player_hands, dealer_hands end function (env::BlackJackEnv)(a::Int) if ACTIONS[a] == :hit push!(env.player_hands, deal_card()) if is_busted(env.player_hands) env.is_end = true env.reward = -1.0 else env.is_end = false env.reward = 0.0 end elseif ACTIONS[a] == :stick while env.dealer_hands.sum < 17 push!(env.dealer_hands, deal_card()) end if is_busted(env.dealer_hands) env.reward = 1.0 else if env.player_hands.sum > env.dealer_hands.sum env.reward = 1.0 elseif env.player_hands.sum < env.dealer_hands.sum env.reward = -1.0 else env.reward = 0.0 end end env.is_end = true end nothing end function RLBase.reset!(env::BlackJackEnv) env.is_end = false env.reward = 0.0 init_hands!(env) nothing end encode(env) = INDS[ env.player_hands.n_usable_ace > 0 ? 1 : 2, 12 <= env.player_hands.sum <= 21 ? env.player_hands.sum - 10 : 1, 2 <= env.dealer_hands.sum <= 10 ? env.dealer_hands.sum : 1, ] RLBase.observe(env::BlackJackEnv) = (reward = env.reward, terminal = env.is_end, state = encode(env)) end
[ 31, 631, 87, 634, 8265, 2619, 14295, 198, 198, 39344, 2619, 14295, 4834, 85, 198, 198, 3500, 22299, 13442, 41730, 14881, 198, 3500, 14534, 198, 198, 9979, 23054, 796, 685, 25, 17945, 11, 1058, 13915, 60, 198, 198, 9979, 3268, 5258, 796, 44800, 5497, 1063, 19510, 198, 220, 220, 220, 362, 11, 220, 1303, 2137, 468, 31506, 393, 407, 198, 220, 220, 220, 1367, 11, 1303, 2137, 338, 2832, 2160, 11, 1105, 5299, 2310, 11, 5556, 584, 2663, 326, 262, 2160, 318, 3744, 621, 2310, 198, 220, 220, 220, 838, 11, 220, 1303, 16456, 338, 2832, 2160, 11, 362, 93, 1157, 198, 4008, 198, 198, 31769, 62, 9517, 3419, 796, 43720, 7, 16, 25, 1485, 8, 198, 271, 62, 558, 7, 87, 8, 796, 2124, 6624, 352, 198, 8367, 7, 87, 8, 796, 318, 62, 558, 7, 87, 8, 5633, 1367, 1058, 949, 7, 87, 11, 838, 8, 198, 198, 76, 18187, 2878, 22237, 198, 220, 220, 220, 2160, 3712, 5317, 198, 220, 220, 220, 4116, 3712, 38469, 90, 5317, 92, 198, 220, 220, 220, 299, 62, 31979, 62, 558, 3712, 5317, 198, 437, 198, 198, 39, 1746, 3419, 796, 22237, 7, 15, 11, 685, 4357, 3991, 8, 198, 198, 271, 62, 65, 8459, 7, 71, 3712, 39, 1746, 8, 796, 289, 13, 16345, 1875, 2310, 198, 198, 8818, 7308, 13, 14689, 0, 7, 71, 3712, 39, 1746, 11, 2124, 8, 198, 220, 220, 220, 318, 62, 65, 8459, 7, 71, 8, 11405, 3714, 7, 28100, 1713, 12331, 7203, 27761, 287, 1021, 389, 1541, 36193, 2474, 4008, 198, 220, 220, 220, 4574, 0, 7, 71, 13, 27761, 11, 2124, 8, 198, 220, 220, 220, 289, 13, 16345, 15853, 1988, 7, 87, 8, 198, 220, 220, 220, 289, 13, 77, 62, 31979, 62, 558, 15853, 318, 62, 558, 7, 87, 8, 628, 220, 220, 220, 611, 289, 13, 77, 62, 31979, 62, 558, 1875, 657, 11405, 318, 62, 65, 8459, 7, 71, 8, 198, 220, 220, 220, 220, 220, 220, 220, 289, 13, 16345, 48185, 838, 198, 220, 220, 220, 220, 220, 220, 220, 289, 13, 77, 62, 31979, 62, 558, 48185, 352, 198, 220, 220, 220, 886, 198, 437, 198, 198, 76, 18187, 2878, 2619, 14295, 4834, 85, 1279, 25, 27741, 4834, 85, 198, 220, 220, 220, 2137, 62, 43365, 3712, 39, 1746, 198, 220, 220, 220, 16456, 62, 43365, 3712, 39, 1746, 198, 220, 220, 220, 318, 62, 437, 3712, 33, 970, 198, 220, 220, 220, 6721, 3712, 43879, 2414, 198, 220, 220, 220, 318, 62, 20676, 3255, 62, 9688, 3712, 33, 970, 198, 220, 220, 220, 2315, 3712, 38176, 90, 18465, 11, 51, 29291, 90, 39, 1746, 11, 39, 1746, 11709, 198, 437, 198, 198, 7836, 14881, 13, 1136, 62, 672, 3168, 341, 62, 13200, 7, 24330, 3712, 9915, 14295, 4834, 85, 8, 796, 8444, 8374, 14106, 7, 13664, 7, 1268, 5258, 4008, 198, 7836, 14881, 13, 1136, 62, 2673, 62, 13200, 7, 24330, 3712, 9915, 14295, 4834, 85, 8, 796, 8444, 8374, 14106, 7, 17, 8, 198, 198, 8818, 2619, 14295, 4834, 85, 7, 26, 318, 62, 20676, 3255, 62, 9688, 796, 3991, 11, 2315, 796, 2147, 8, 198, 220, 220, 220, 17365, 796, 2619, 14295, 4834, 85, 7, 198, 220, 220, 220, 220, 220, 220, 220, 22237, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 22237, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 3991, 11, 198, 220, 220, 220, 220, 220, 220, 220, 657, 13, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 20676, 3255, 62, 9688, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2315, 11, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 2315, 62, 43365, 0, 7, 24330, 8, 198, 220, 220, 220, 17365, 198, 437, 198, 198, 8818, 2315, 62, 43365, 0, 7, 24330, 3712, 9915, 14295, 4834, 85, 8, 198, 220, 220, 220, 2137, 62, 43365, 11, 16456, 62, 43365, 796, 22237, 22784, 22237, 3419, 628, 220, 220, 220, 611, 17365, 13, 271, 62, 20676, 3255, 62, 9688, 198, 220, 220, 220, 220, 220, 220, 220, 2137, 62, 43365, 13, 16345, 796, 43720, 7, 1065, 25, 2481, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2137, 62, 43365, 13, 77, 62, 31979, 62, 558, 796, 43720, 7, 33, 970, 8, 198, 220, 220, 220, 220, 220, 220, 220, 16456, 62, 43365, 13, 16345, 796, 43720, 7, 17, 25, 1157, 8, 198, 220, 220, 220, 220, 220, 220, 220, 16456, 62, 43365, 13, 77, 62, 31979, 62, 558, 796, 16456, 62, 43365, 13, 16345, 6624, 1367, 5633, 2081, 1058, 3991, 198, 220, 220, 220, 2073, 361, 17365, 13, 15003, 24844, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 981, 2137, 62, 43365, 13, 16345, 19841, 1367, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7829, 62, 43365, 11, 1730, 62, 9517, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 31769, 263, 62, 43365, 11, 1730, 62, 9517, 28955, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 2137, 62, 43365, 11, 16456, 62, 43365, 796, 2769, 30073, 7, 24330, 13, 15003, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 17365, 13, 7829, 62, 43365, 11, 17365, 13, 31769, 263, 62, 43365, 796, 2137, 62, 43365, 11, 16456, 62, 43365, 198, 437, 198, 198, 8818, 357, 24330, 3712, 9915, 14295, 4834, 85, 5769, 64, 3712, 5317, 8, 198, 220, 220, 220, 611, 23054, 58, 64, 60, 6624, 1058, 17945, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 24330, 13, 7829, 62, 43365, 11, 1730, 62, 9517, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 65, 8459, 7, 24330, 13, 7829, 62, 43365, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 271, 62, 437, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 260, 904, 796, 532, 16, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 271, 62, 437, 796, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 260, 904, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 361, 23054, 58, 64, 60, 6624, 1058, 13915, 198, 220, 220, 220, 220, 220, 220, 220, 981, 17365, 13, 31769, 263, 62, 43365, 13, 16345, 1279, 1596, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 24330, 13, 31769, 263, 62, 43365, 11, 1730, 62, 9517, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 65, 8459, 7, 24330, 13, 31769, 263, 62, 43365, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 260, 904, 796, 352, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 17365, 13, 7829, 62, 43365, 13, 16345, 1875, 17365, 13, 31769, 263, 62, 43365, 13, 16345, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 260, 904, 796, 352, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 17365, 13, 7829, 62, 43365, 13, 16345, 1279, 17365, 13, 31769, 263, 62, 43365, 13, 16345, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 260, 904, 796, 532, 16, 13, 15, 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, 17365, 13, 260, 904, 796, 657, 13, 15, 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, 17365, 13, 271, 62, 437, 796, 2081, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2147, 198, 437, 198, 198, 8818, 45715, 14881, 13, 42503, 0, 7, 24330, 3712, 9915, 14295, 4834, 85, 8, 198, 220, 220, 220, 17365, 13, 271, 62, 437, 796, 3991, 198, 220, 220, 220, 17365, 13, 260, 904, 796, 657, 13, 15, 628, 220, 220, 220, 2315, 62, 43365, 0, 7, 24330, 8, 628, 220, 220, 220, 2147, 198, 437, 198, 198, 268, 8189, 7, 24330, 8, 796, 198, 220, 220, 220, 3268, 5258, 58, 198, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 7829, 62, 43365, 13, 77, 62, 31979, 62, 558, 1875, 657, 5633, 352, 1058, 362, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1105, 19841, 17365, 13, 7829, 62, 43365, 13, 16345, 19841, 2310, 5633, 17365, 13, 7829, 62, 43365, 13, 16345, 532, 838, 1058, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 362, 19841, 17365, 13, 31769, 263, 62, 43365, 13, 16345, 19841, 838, 5633, 17365, 13, 31769, 263, 62, 43365, 13, 16345, 1058, 352, 11, 198, 220, 220, 220, 2361, 198, 198, 7836, 14881, 13, 672, 2655, 303, 7, 24330, 3712, 9915, 14295, 4834, 85, 8, 796, 198, 220, 220, 220, 357, 260, 904, 796, 17365, 13, 260, 904, 11, 12094, 796, 17365, 13, 271, 62, 437, 11, 1181, 796, 37773, 7, 24330, 4008, 198, 198, 437 ]
2.105927
1,586
struct EMR_MSM_Prediction{T<:AbstractFloat, S<:MSM_Timeseries{T}} est::EMR_MSM_Estimate pred_timeseries::AbstractArray{S,1} start_ind::Array{Integer,1} end # TODO: enlarge existing prediction function EMR_MSM_Prediction( est::EMR_MSM_Estimate{T, M, S}, timesteps::Array{A,1}, num_samples::Integer = 1, start_ind::Array{I,1} = length.(est.timeseries), last_layer_residuals::Union{Nothing, Array{B,1}} = nothing; rand_last_layer_res = true, use_last_layer = true ) where {T<:AbstractFloat, M<:EMR_MSM_Model_Estimate{T}, S<:MSM_Timeseries{T}, A<:AbstractArray{T,1}, B<:AbstractArray{T,1}, I<:Integer} pred_timeseries = [MSM_Timeseries(est.pred_timeseries[ts], timesteps[ts], num_samples) for ts in 1:length(est.pred_timeseries)] EMR_MSM_Prediction(pred_timeseries, est, start_ind, last_layer_residuals; rand_last_layer_res = rand_last_layer_res, use_last_layer = use_last_layer) end function EMR_MSM_Prediction( est::EMR_MSM_Estimate{T, M, S}, num_preds::Integer, timestep::Array{T,1} = [one(T) for i in 1:length(est.timeseries)], num_samples::Integer = 1, start_ind::Array{I,1} = length.(est.timeseries), last_layer_residuals::Union{Nothing, Array{B,1}} = nothing; rand_last_layer_res = true, use_last_layer = true ) where {T<:AbstractFloat, M<:EMR_MSM_Model_Estimate{T}, B<:AbstractArray{T,1}, S<:MSM_Timeseries{T}, I<:Integer} pred_timeseries = [MSM_Timeseries(est.pred_timeseries[ts], num_preds, timestep[ts], num_samples) for ts in 1:length(est.pred_timeseries)] EMR_MSM_Prediction(pred_timeseries, est, start_ind, last_layer_residuals; rand_last_layer_res = rand_last_layer_res, use_last_layer = use_last_layer) end # TODO use est.pred_ts not est.timeseries !! function EMR_MSM_Prediction(pred_timeseries::Array{MSM_Timeseries_Point{T},1}, est::EMR_MSM_Estimate{T, EMR_MSM_Model_PointEstimate{T}, S, MSM_Timeseries_Dist{T}}, start_ind::Array{I,1} = length.(est.timeseries), last_layer_residuals::Union{Nothing, Array{B,1}} = nothing; rand_last_layer_res = true, use_last_layer = true ) where {T<:AbstractFloat, S<:MSM_Timeseries{T}, B<:AbstractArray{T,1}, I<:Integer} EMR_MSM_Prediction(pred_timeseries, EMR_MSM_Estimate(est.model,est.timeseries, [rand(ps.ts_points) for ps in est.pred_timeseries]), start_ind, last_layer_residuals; rand_last_layer_res = rand_last_layer_res, use_last_layer = use_last_layer ) end function EMR_MSM_Prediction(pred_timeseries::Array{MSM_Timeseries_Point{T},1}, est::EMR_MSM_Estimate{T, EMR_MSM_Model_PointEstimate{T}, S, MSM_Timeseries_Point{T}}, start_ind::Array{I,1} = length.(est.timeseries), last_layer_residuals::Union{Nothing, Array{B,1}} = nothing; rand_last_layer_res = true, use_last_layer = true ) where {T<:AbstractFloat, S<:MSM_Timeseries{T}, B<:AbstractArray{T,1}, I<:Integer} num_layers = layers(pred_timeseries[1]) num_params = params(pred_timeseries[1]) L_mats = est.model.RCorrs A_mat = est.model.Lin_mat B_mats = est.model.Quad_mats F = est.model.F μ = est.model.μ Σ = est.model.Σ for ts in 1:length(pred_timeseries) r = residuals(pred_timeseries[ts]) x = values(pred_timeseries[ts]) x[1,:] = values(est.timeseries[ts])[start_ind[ts], :] r[1,:,:] = residuals(est.pred_timeseries[ts])[start_ind[ts], :, :] pred_timesteps = timesteps(pred_timeseries[ts]) for i=2:length(pred_timeseries[ts]) r[i,:,num_layers] = if isnothing(last_layer_residuals) ifelse(use_last_layer,rand(MvNormal(μ, Σ)), zeros(T,num_params)) elseif rand_last_layer_res last_layer_residuals[ts][rand(1:size(rand_last_layer_res,1)),:] else last_layer_residuals[ts][i,:] end for l = (num_layers-1):-1:1 r[i,:,l] = pred_timesteps[i]*(L_mats[l]*vcat(x[i-1,:],vec(r[i-1,:,1:l]))) + r[i-1,:,l+1] + r[i-1,:,l] end x[i,:] = pred_timesteps[i]*(-A_mat*x[i-1,:] + [transpose(x[i-1,:])*B_mats[:,:,k]*x[i-1,:] for k in 1:num_params] + F) + r[i-1,:,1] + x[i-1,:] end end EMR_MSM_Prediction{T, MSM_Timeseries_Point{T}}(est, pred_timeseries, start_ind) end function EMR_MSM_Prediction(pred_timeseries::Array{MSM_Timeseries_Dist{T},1}, est::EMR_MSM_Estimate{T, EMR_MSM_Model_DistEstimate{T}, S}, start_ind::Array{I,1} = length.(est.timeseries), last_layer_residuals::Union{Nothing, Array{B,1}} = nothing; rand_last_layer_res = true, use_last_layer = true ) where {T<:AbstractFloat, S<:MSM_Timeseries{T}, B<:AbstractArray{T,1}, I<:Integer} for ts in 1:length(pred_timeseries) for which_ts in 1:samples(pred_timeseries[ts]) r_ind = rand(1:size(est.model)) EMR_MSM_Prediction( [MSM_Timeseries_Point{T}( view(pred_timeseries[ts].x,:,:,which_ts), view(pred_timeseries[ts].residuals,:,:,:,which_ts), view(pred_timeseries[ts].timesteps,:))], EMR_MSM_Estimate( est.model.estimates[r_ind], [est.timeseries[ts]], [est.pred_timeseries[ts].ts_points[r_ind]] ), [start_ind[ts]], if !isnothing(last_layer_residuals) if typeof(last_layer_residuals[ts]) <: AbstractArray{T,3} [last_layer_residuals[ts][:,:,which_ts]] elseif typeof(last_layer_residuals[ts]) <: AbstractArray{T,2} [last_layer_residuals[ts]] else nothing end else nothing end ; rand_last_layer_res = rand_last_layer_res, use_last_layer = use_last_layer) end end EMR_MSM_Prediction{T, MSM_Timeseries_Dist{T}}( est, pred_timeseries, start_ind) end function write(output::String, pred::EMR_MSM_Prediction) mkpath(output) for i in 1:length(pred.pred_timeseries) write(joinpath(output,"ts-"*string(i)), pred.pred_timeseries[i]) end end
[ 7249, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 90, 51, 27, 25, 23839, 43879, 11, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 11709, 198, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 198, 220, 220, 220, 2747, 62, 22355, 10640, 3712, 23839, 19182, 90, 50, 11, 16, 92, 198, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 46541, 11, 16, 92, 198, 437, 198, 198, 2, 16926, 46, 25, 27475, 4683, 17724, 198, 8818, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 198, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 90, 51, 11, 337, 11, 311, 5512, 198, 220, 220, 220, 4628, 395, 25386, 3712, 19182, 90, 32, 11, 16, 5512, 198, 220, 220, 220, 997, 62, 82, 12629, 3712, 46541, 796, 352, 11, 198, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 40, 11, 16, 92, 796, 4129, 12195, 395, 13, 22355, 10640, 828, 198, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 3712, 38176, 90, 18465, 11, 15690, 90, 33, 11, 16, 11709, 796, 2147, 26, 198, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 2081, 11, 198, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 2081, 198, 220, 220, 220, 1267, 810, 1391, 51, 27, 25, 23839, 43879, 11, 337, 27, 25, 3620, 49, 62, 5653, 44, 62, 17633, 62, 22362, 1920, 90, 51, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 5512, 317, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 347, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 314, 27, 25, 46541, 92, 628, 220, 220, 220, 2747, 62, 22355, 10640, 796, 685, 5653, 44, 62, 28595, 10640, 7, 395, 13, 28764, 62, 22355, 10640, 58, 912, 4357, 4628, 395, 25386, 58, 912, 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, 997, 62, 82, 12629, 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, 329, 40379, 287, 352, 25, 13664, 7, 395, 13, 28764, 62, 22355, 10640, 15437, 198, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 11, 1556, 11, 923, 62, 521, 11, 938, 62, 29289, 62, 411, 312, 723, 82, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 43720, 62, 12957, 62, 29289, 62, 411, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 779, 62, 12957, 62, 29289, 8, 198, 437, 198, 198, 8818, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 198, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 90, 51, 11, 337, 11, 311, 5512, 198, 220, 220, 220, 997, 62, 28764, 82, 3712, 46541, 11, 198, 220, 220, 220, 4628, 395, 538, 3712, 19182, 90, 51, 11, 16, 92, 796, 685, 505, 7, 51, 8, 329, 1312, 287, 352, 25, 13664, 7, 395, 13, 22355, 10640, 8, 4357, 198, 220, 220, 220, 997, 62, 82, 12629, 3712, 46541, 796, 352, 11, 198, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 40, 11, 16, 92, 796, 4129, 12195, 395, 13, 22355, 10640, 828, 198, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 3712, 38176, 90, 18465, 11, 15690, 90, 33, 11, 16, 11709, 796, 2147, 26, 198, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 2081, 11, 198, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 2081, 198, 220, 220, 220, 1267, 810, 1391, 51, 27, 25, 23839, 43879, 11, 337, 27, 25, 3620, 49, 62, 5653, 44, 62, 17633, 62, 22362, 1920, 90, 51, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 347, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 5512, 314, 27, 25, 46541, 92, 628, 220, 220, 220, 2747, 62, 22355, 10640, 796, 685, 5653, 44, 62, 28595, 10640, 7, 395, 13, 28764, 62, 22355, 10640, 58, 912, 4357, 997, 62, 28764, 82, 11, 4628, 395, 538, 58, 912, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 82, 12629, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 40379, 287, 352, 25, 13664, 7, 395, 13, 28764, 62, 22355, 10640, 15437, 628, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 11, 1556, 11, 923, 62, 521, 11, 938, 62, 29289, 62, 411, 312, 723, 82, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 43720, 62, 12957, 62, 29289, 62, 411, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 779, 62, 12957, 62, 29289, 8, 198, 437, 198, 198, 2, 16926, 46, 779, 1556, 13, 28764, 62, 912, 407, 1556, 13, 22355, 10640, 37867, 198, 198, 8818, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 3712, 19182, 90, 5653, 44, 62, 28595, 10640, 62, 12727, 90, 51, 5512, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 90, 51, 11, 412, 13599, 62, 5653, 44, 62, 17633, 62, 12727, 22362, 1920, 90, 51, 5512, 311, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44401, 62, 28595, 10640, 62, 20344, 90, 51, 92, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 40, 11, 16, 92, 796, 4129, 12195, 395, 13, 22355, 10640, 828, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 3712, 38176, 90, 18465, 11, 15690, 90, 33, 11, 16, 11709, 796, 2147, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 2081, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 51, 27, 25, 23839, 43879, 11, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 347, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 314, 27, 25, 46541, 92, 628, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 11, 198, 220, 220, 220, 220, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 22362, 1920, 7, 395, 13, 19849, 11, 395, 13, 22355, 10640, 11, 198, 220, 220, 220, 220, 220, 220, 220, 685, 25192, 7, 862, 13, 912, 62, 13033, 8, 329, 26692, 287, 1556, 13, 28764, 62, 22355, 10640, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 521, 11, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 43720, 62, 12957, 62, 29289, 62, 411, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 779, 62, 12957, 62, 29289, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 437, 198, 198, 8818, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 3712, 19182, 90, 5653, 44, 62, 28595, 10640, 62, 12727, 90, 51, 5512, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 90, 51, 11, 412, 13599, 62, 5653, 44, 62, 17633, 62, 12727, 22362, 1920, 90, 51, 5512, 311, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44401, 62, 28595, 10640, 62, 12727, 90, 51, 92, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 40, 11, 16, 92, 796, 4129, 12195, 395, 13, 22355, 10640, 828, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 3712, 38176, 90, 18465, 11, 15690, 90, 33, 11, 16, 11709, 796, 2147, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 2081, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 51, 27, 25, 23839, 43879, 11, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 347, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 314, 27, 25, 46541, 92, 628, 220, 220, 220, 997, 62, 75, 6962, 796, 11685, 7, 28764, 62, 22355, 10640, 58, 16, 12962, 198, 220, 220, 220, 997, 62, 37266, 796, 42287, 7, 28764, 62, 22355, 10640, 58, 16, 12962, 628, 220, 220, 220, 406, 62, 76, 1381, 796, 1556, 13, 19849, 13, 7397, 273, 3808, 198, 220, 220, 220, 317, 62, 6759, 796, 1556, 13, 19849, 13, 14993, 62, 6759, 198, 220, 220, 220, 347, 62, 76, 1381, 796, 1556, 13, 19849, 13, 4507, 324, 62, 76, 1381, 198, 220, 220, 220, 376, 796, 1556, 13, 19849, 13, 37, 198, 220, 220, 220, 18919, 796, 1556, 13, 19849, 13, 34703, 198, 220, 220, 220, 7377, 96, 796, 1556, 13, 19849, 13, 138, 96, 628, 220, 220, 220, 329, 40379, 287, 352, 25, 13664, 7, 28764, 62, 22355, 10640, 8, 198, 220, 220, 220, 220, 220, 220, 220, 374, 796, 29598, 82, 7, 28764, 62, 22355, 10640, 58, 912, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 3815, 7, 28764, 62, 22355, 10640, 58, 912, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 2124, 58, 16, 11, 47715, 796, 3815, 7, 395, 13, 22355, 10640, 58, 912, 12962, 58, 9688, 62, 521, 58, 912, 4357, 1058, 60, 198, 220, 220, 220, 220, 220, 220, 220, 374, 58, 16, 11, 45299, 47715, 796, 29598, 82, 7, 395, 13, 28764, 62, 22355, 10640, 58, 912, 12962, 58, 9688, 62, 521, 58, 912, 4357, 1058, 11, 1058, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2747, 62, 16514, 395, 25386, 796, 4628, 395, 25386, 7, 28764, 62, 22355, 10640, 58, 912, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 28, 17, 25, 13664, 7, 28764, 62, 22355, 10640, 58, 912, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 58, 72, 11, 45299, 22510, 62, 75, 6962, 60, 796, 611, 318, 22366, 7, 12957, 62, 29289, 62, 411, 312, 723, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 17772, 7, 1904, 62, 12957, 62, 29289, 11, 25192, 7, 44, 85, 26447, 7, 34703, 11, 7377, 96, 36911, 1976, 27498, 7, 51, 11, 22510, 62, 37266, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 43720, 62, 12957, 62, 29289, 62, 411, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 7131, 25192, 7, 16, 25, 7857, 7, 25192, 62, 12957, 62, 29289, 62, 411, 11, 16, 36911, 47715, 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, 938, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 7131, 72, 11, 47715, 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, 329, 300, 796, 357, 22510, 62, 75, 6962, 12, 16, 2599, 12, 16, 25, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 58, 72, 11, 45299, 75, 60, 796, 2747, 62, 16514, 395, 25386, 58, 72, 60, 9, 7, 43, 62, 76, 1381, 58, 75, 60, 9, 85, 9246, 7, 87, 58, 72, 12, 16, 11, 25, 4357, 35138, 7, 81, 58, 72, 12, 16, 11, 45299, 16, 25, 75, 60, 22305, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 58, 72, 12, 16, 11, 45299, 75, 10, 16, 60, 1343, 374, 58, 72, 12, 16, 11, 45299, 75, 60, 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, 2124, 58, 72, 11, 47715, 796, 2747, 62, 16514, 395, 25386, 58, 72, 60, 9, 32590, 32, 62, 6759, 9, 87, 58, 72, 12, 16, 11, 47715, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 7645, 3455, 7, 87, 58, 72, 12, 16, 11, 25, 12962, 9, 33, 62, 76, 1381, 58, 45299, 45299, 74, 60, 9, 87, 58, 72, 12, 16, 11, 47715, 329, 479, 287, 352, 25, 22510, 62, 37266, 60, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 376, 8, 1343, 374, 58, 72, 12, 16, 11, 45299, 16, 60, 1343, 2124, 58, 72, 12, 16, 11, 47715, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 886, 198, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 90, 51, 11, 44401, 62, 28595, 10640, 62, 12727, 90, 51, 11709, 7, 395, 11, 2747, 62, 22355, 10640, 11, 923, 62, 521, 8, 198, 437, 198, 198, 8818, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 28764, 62, 22355, 10640, 3712, 19182, 90, 5653, 44, 62, 28595, 10640, 62, 20344, 90, 51, 5512, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1556, 3712, 3620, 49, 62, 5653, 44, 62, 22362, 1920, 90, 51, 11, 412, 13599, 62, 5653, 44, 62, 17633, 62, 20344, 22362, 1920, 90, 51, 5512, 311, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 923, 62, 521, 3712, 19182, 90, 40, 11, 16, 92, 796, 4129, 12195, 395, 13, 22355, 10640, 828, 198, 220, 220, 220, 220, 220, 220, 220, 938, 62, 29289, 62, 411, 312, 723, 82, 3712, 38176, 90, 18465, 11, 15690, 90, 33, 11, 16, 11709, 796, 2147, 26, 198, 220, 220, 220, 220, 220, 220, 220, 43720, 62, 12957, 62, 29289, 62, 411, 796, 2081, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 51, 27, 25, 23839, 43879, 11, 311, 27, 25, 5653, 44, 62, 28595, 10640, 90, 51, 5512, 347, 27, 25, 23839, 19182, 90, 51, 11, 16, 5512, 220, 314, 27, 25, 46541, 92, 628, 220, 220, 220, 329, 40379, 287, 352, 25, 13664, 7, 28764, 62, 22355, 10640, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 543, 62, 912, 287, 352, 25, 82, 12629, 7, 28764, 62, 22355, 10640, 58, 912, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 62, 521, 796, 43720, 7, 16, 25, 7857, 7, 395, 13, 19849, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 5653, 44, 62, 28595, 10640, 62, 12727, 90, 51, 92, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1570, 7, 28764, 62, 22355, 10640, 58, 912, 4083, 87, 11, 45299, 45299, 4758, 62, 912, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1570, 7, 28764, 62, 22355, 10640, 58, 912, 4083, 411, 312, 723, 82, 11, 45299, 45299, 45299, 4758, 62, 912, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1570, 7, 28764, 62, 22355, 10640, 58, 912, 4083, 16514, 395, 25386, 11, 25, 4008, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 22362, 1920, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1556, 13, 19849, 13, 395, 26748, 58, 81, 62, 521, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 395, 13, 22355, 10640, 58, 912, 60, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 395, 13, 28764, 62, 22355, 10640, 58, 912, 4083, 912, 62, 13033, 58, 81, 62, 521, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10612, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 685, 9688, 62, 521, 58, 912, 60, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 271, 22366, 7, 12957, 62, 29289, 62, 411, 312, 723, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2099, 1659, 7, 12957, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 12962, 1279, 25, 27741, 19182, 90, 51, 11, 18, 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, 685, 12957, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 7131, 45299, 45299, 4758, 62, 912, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 2099, 1659, 7, 12957, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 12962, 1279, 25, 27741, 19182, 90, 51, 11, 17, 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, 685, 12957, 62, 29289, 62, 411, 312, 723, 82, 58, 912, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 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, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 2162, 43720, 62, 12957, 62, 29289, 62, 411, 796, 43720, 62, 12957, 62, 29289, 62, 411, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 779, 62, 12957, 62, 29289, 796, 779, 62, 12957, 62, 29289, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 412, 13599, 62, 5653, 44, 62, 39156, 2867, 90, 51, 11, 44401, 62, 28595, 10640, 62, 20344, 90, 51, 11709, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1556, 11, 2747, 62, 22355, 10640, 11, 923, 62, 521, 8, 198, 437, 198, 198, 8818, 3551, 7, 22915, 3712, 10100, 11, 2747, 3712, 3620, 49, 62, 5653, 44, 62, 39156, 2867, 8, 198, 220, 220, 220, 33480, 6978, 7, 22915, 8, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 13664, 7, 28764, 13, 28764, 62, 22355, 10640, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3551, 7, 22179, 6978, 7, 22915, 553, 912, 21215, 9, 8841, 7, 72, 36911, 2747, 13, 28764, 62, 22355, 10640, 58, 72, 12962, 198, 220, 220, 220, 886, 198, 437, 198 ]
1.918171
3,434
module MarkovChains # package code goes here include("graphs.jl") include("markov_chain.jl") include("inftime_solve.jl") include("fintime_solve.jl") include("plot.jl") struct CtmcSolution prob::Vector{Float64} cumtime::Vector{Float64} end export solve, state_prob, state_cumtime function state_prob(sol::CtmcSolution, state::Integer) return sol.prob[state] end function state_cumtime(sol::CtmcSolution, state::Integer) return sol.cumtime[state] end function solve(chain, init_prob, time) n = state_count(chain) prob = Vector{Float64}(undef, n) cumtime = Vector{Float64}(undef, n) if isinf(time) sol = inftime_solve(chain, init_prob) for i in 1:n prob[i] = state_prob(sol, i) cumtime[i] = state_cumtime(sol, i) end else sol = fintime_solve(chain, init_prob, time) for i in 1:n prob[i] = state_prob(sol, i) cumtime[i] = state_cumtime(sol, i) end end CtmcSolution(prob, cumtime) end export Graphs end # module
[ 21412, 2940, 709, 1925, 1299, 198, 198, 2, 5301, 2438, 2925, 994, 198, 17256, 7203, 34960, 82, 13, 20362, 4943, 198, 17256, 7203, 4102, 709, 62, 7983, 13, 20362, 4943, 198, 17256, 7203, 259, 31387, 62, 82, 6442, 13, 20362, 4943, 198, 17256, 7203, 69, 600, 524, 62, 82, 6442, 13, 20362, 4943, 198, 17256, 7203, 29487, 13, 20362, 4943, 198, 198, 7249, 327, 17209, 66, 46344, 198, 220, 220, 220, 1861, 3712, 38469, 90, 43879, 2414, 92, 198, 220, 220, 220, 10973, 2435, 3712, 38469, 90, 43879, 2414, 92, 198, 437, 198, 198, 39344, 8494, 11, 1181, 62, 1676, 65, 11, 1181, 62, 36340, 2435, 198, 198, 8818, 1181, 62, 1676, 65, 7, 34453, 3712, 34, 17209, 66, 46344, 11, 1181, 3712, 46541, 8, 198, 220, 220, 220, 1441, 1540, 13, 1676, 65, 58, 5219, 60, 198, 437, 198, 198, 8818, 1181, 62, 36340, 2435, 7, 34453, 3712, 34, 17209, 66, 46344, 11, 1181, 3712, 46541, 8, 198, 220, 220, 220, 1441, 1540, 13, 36340, 2435, 58, 5219, 60, 198, 437, 628, 198, 198, 8818, 8494, 7, 7983, 11, 2315, 62, 1676, 65, 11, 640, 8, 198, 220, 220, 220, 299, 796, 1181, 62, 9127, 7, 7983, 8, 198, 220, 220, 220, 1861, 796, 20650, 90, 43879, 2414, 92, 7, 917, 891, 11, 299, 8, 198, 220, 220, 220, 10973, 2435, 796, 20650, 90, 43879, 2414, 92, 7, 917, 891, 11, 299, 8, 198, 220, 220, 220, 611, 318, 10745, 7, 2435, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 287, 31387, 62, 82, 6442, 7, 7983, 11, 2315, 62, 1676, 65, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 25, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1861, 58, 72, 60, 796, 1181, 62, 1676, 65, 7, 34453, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10973, 2435, 58, 72, 60, 796, 1181, 62, 36340, 2435, 7, 34453, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 277, 600, 524, 62, 82, 6442, 7, 7983, 11, 2315, 62, 1676, 65, 11, 640, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 25, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1861, 58, 72, 60, 796, 1181, 62, 1676, 65, 7, 34453, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10973, 2435, 58, 72, 60, 796, 1181, 62, 36340, 2435, 7, 34453, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 327, 17209, 66, 46344, 7, 1676, 65, 11, 10973, 2435, 8, 198, 437, 198, 198, 39344, 29681, 82, 198, 198, 437, 1303, 8265, 198 ]
2.188406
483
using Flux using Random using MinimalRLCore Base.@kwdef struct EvaluateAgent{A, SB, Φ, P} agent::A prev_s::Φ policy::AP end function EvaluateAgent(agent::DQNAgent, eval_policy::AP) EvaluateAgent(agent, zeros(eltype(agent.state_buffer), size(agent.state_buffer)[1:end-1]..., hist_length(agent.state_buffer)), eval_policy) end function MinimalRLCore.start!(agent::EvaluateAgent{DQNAgent}, env_s_tp1, rng::AbstractRNG=Random.GLOBAL_RNG) agent.prev_s agent.state_postproc(agent.state_preproc(env_s_tp1)) end function MinimalRLCore.step!(agent::EvaluateAgent{DQNAgent}, env_s_tp1, r, terminal, rng::AbstractRNG=Random.GLOBAL_RNG) end
[ 198, 3500, 1610, 2821, 198, 3500, 14534, 198, 3500, 1855, 4402, 49, 5639, 382, 628, 198, 14881, 13, 31, 46265, 4299, 2878, 26439, 4985, 36772, 90, 32, 11, 18056, 11, 7377, 99, 11, 350, 92, 198, 220, 220, 220, 5797, 3712, 32, 198, 220, 220, 220, 8654, 62, 82, 3712, 138, 99, 198, 220, 220, 220, 2450, 3712, 2969, 198, 437, 198, 198, 8818, 26439, 4985, 36772, 7, 25781, 3712, 35, 48, 4535, 6783, 11, 5418, 62, 30586, 3712, 2969, 8, 628, 220, 220, 220, 26439, 4985, 36772, 7, 25781, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 27498, 7, 417, 4906, 7, 25781, 13, 5219, 62, 22252, 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, 2546, 7, 25781, 13, 5219, 62, 22252, 38381, 16, 25, 437, 12, 16, 60, 986, 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, 1554, 62, 13664, 7, 25781, 13, 5219, 62, 22252, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5418, 62, 30586, 8, 198, 437, 198, 198, 8818, 1855, 4402, 49, 5639, 382, 13, 9688, 0, 7, 25781, 3712, 36, 2100, 4985, 36772, 90, 35, 48, 4535, 6783, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 62, 82, 62, 34788, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 782, 3712, 23839, 49, 10503, 28, 29531, 13, 8763, 9864, 1847, 62, 49, 10503, 8, 628, 220, 220, 220, 5797, 13, 47050, 62, 82, 198, 220, 220, 220, 220, 198, 220, 220, 220, 5797, 13, 5219, 62, 7353, 36942, 7, 25781, 13, 5219, 62, 3866, 36942, 7, 24330, 62, 82, 62, 34788, 16, 4008, 198, 220, 220, 220, 220, 198, 437, 198, 198, 8818, 1855, 4402, 49, 5639, 382, 13, 9662, 0, 7, 25781, 3712, 36, 2100, 4985, 36772, 90, 35, 48, 4535, 6783, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 62, 82, 62, 34788, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 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, 12094, 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, 374, 782, 3712, 23839, 49, 10503, 28, 29531, 13, 8763, 9864, 1847, 62, 49, 10503, 8, 198, 437, 628 ]
1.719557
542
export PolarizedModel, coherencymatrix import ComradeBase: AbstractPolarizedModel, m̆, evpa, CoherencyMatrix, StokesVector """ $(TYPEDEF) Wrapped model for a polarized model. This uses the stokes representation of the image. """ struct PolarizedModel{TI,TQ,TU,TV} <: AbstractPolarizedModel I::TI Q::TQ U::TU V::TV end @inline visanalytic(::Type{PolarizedModel{I,Q,U,V}}) where {I,Q,U,V} = visanalytic(I)*visanalytic(Q)*visanalytic(U)*visanalytic(V) @inline imanalytic(::Type{PolarizedModel{I,Q,U,V}}) where {I,Q,U,V} = imanalytic(I)*imanalytic(Q)*imanalytic(U)*imanalytic(V) @inline function intensity_point(pmodel::PolarizedModel, u, v) I = intensity_point(pmodel.I, u, v) Q = intensity_point(pmodel.Q, u, v) U = intensity_point(pmodel.U, u, v) V = intensity_point(pmodel.V, u, v) return StokesVector(I,Q,U,V) end """ $(SIGNATURES) Computes the visibility in the stokes basis of the polarized model """ @inline function visibility(pimg::PolarizedModel, u, v) si = visibility(pimg.I, u, v) sq = visibility(pimg.Q, u, v) su = visibility(pimg.U, u, v) sv = visibility(pimg.V, u, v) return StokesVector(si, sq, su, sv) end """ $(SIGNATURES) Finds the polarized intensity map of the polarized model pmodel. """ function intensitymap!(pimg::IntensityMap{<:StokesVector}, pmodel::PolarizedModel) intensitymap!(stokes(pimg, :I), pmodel.I) intensitymap!(stokes(pimg, :Q), pmodel.Q) intensitymap!(stokes(pimg, :U), pmodel.U) intensitymap!(stokes(pimg, :V), pmodel.V) end function intensitymap(pmodel::PolarizedModel, fovx::Real, fovy::Real, nx::Int, ny::Int; pulse=DeltaPulse()) imgI = intensitymap(pmodel.I, fovx, fovy, nx, ny) imgQ = intensitymap(pmodel.Q, fovx, fovy, nx, ny) imgU = intensitymap(pmodel.U, fovx, fovy, nx, ny) imgV = intensitymap(pmodel.V, fovx, fovy, nx, ny) pimg = StructArray{StokesVector{eltype(imgI)}}((imgI.im, imgQ.im, imgU.im, imgV.im)) return IntensityMap(pimg, fovx, fovy, pulse) end """ $(SIGNATURES) Computes the coherency matrix of the polarized model. """ @inline function coherencymatrix(pimg::PolarizedModel, u, v) si = visibility(pimg, u, v) return convert(CoherencyMatrix, si) end """ $(SIGNATURES) electric vector position angle or EVPA of the polarized model """ @inline function evpa(pimg, u, v) sq = visibility(pimg.Q, u, v) su = visibility(pimg.U, u, v) return 1/2*angle(su/sq) end """ $(SIGNATURES) Computes the fractional linear polarization in the visibility domain ```math \\breve{m} = \\frac{Q + iU}{I} ``` """ @inline function m̆(pimg, u, v) Q = visibility(pimg.Q, u, v) U = visibility(pimg.U, u, v) I = visibility(pimg.I, u, v) return (Q+1im*U)/I end
[ 39344, 32909, 1143, 17633, 11, 763, 258, 5227, 6759, 8609, 198, 198, 11748, 955, 27585, 14881, 25, 27741, 47, 6192, 1143, 17633, 11, 285, 136, 228, 11, 819, 8957, 11, 1766, 258, 5227, 46912, 11, 520, 3369, 38469, 198, 198, 37811, 198, 220, 220, 220, 29568, 9936, 47, 1961, 25425, 8, 198, 36918, 1496, 2746, 329, 257, 46469, 2746, 13, 770, 3544, 262, 336, 3369, 10552, 286, 262, 2939, 13, 198, 37811, 198, 7249, 32909, 1143, 17633, 90, 25621, 11, 51, 48, 11, 51, 52, 11, 6849, 92, 1279, 25, 27741, 47, 6192, 1143, 17633, 198, 220, 220, 220, 314, 3712, 25621, 198, 220, 220, 220, 1195, 3712, 51, 48, 198, 220, 220, 220, 471, 3712, 51, 52, 198, 220, 220, 220, 569, 3712, 6849, 198, 437, 198, 198, 31, 45145, 1490, 38200, 13370, 7, 3712, 6030, 90, 47, 6192, 1143, 17633, 90, 40, 11, 48, 11, 52, 11, 53, 11709, 8, 810, 1391, 40, 11, 48, 11, 52, 11, 53, 92, 796, 1490, 38200, 13370, 7, 40, 27493, 4703, 38200, 13370, 7, 48, 27493, 4703, 38200, 13370, 7, 52, 27493, 4703, 38200, 13370, 7, 53, 8, 198, 31, 45145, 545, 38200, 13370, 7, 3712, 6030, 90, 47, 6192, 1143, 17633, 90, 40, 11, 48, 11, 52, 11, 53, 11709, 8, 810, 1391, 40, 11, 48, 11, 52, 11, 53, 92, 796, 545, 38200, 13370, 7, 40, 27493, 24086, 3400, 13370, 7, 48, 27493, 24086, 3400, 13370, 7, 52, 27493, 24086, 3400, 13370, 7, 53, 8, 198, 198, 31, 45145, 2163, 12245, 62, 4122, 7, 4426, 375, 417, 3712, 47, 6192, 1143, 17633, 11, 334, 11, 410, 8, 198, 220, 220, 220, 314, 796, 12245, 62, 4122, 7, 4426, 375, 417, 13, 40, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1195, 796, 12245, 62, 4122, 7, 4426, 375, 417, 13, 48, 11, 334, 11, 410, 8, 198, 220, 220, 220, 471, 796, 12245, 62, 4122, 7, 4426, 375, 417, 13, 52, 11, 334, 11, 410, 8, 198, 220, 220, 220, 569, 796, 12245, 62, 4122, 7, 4426, 375, 417, 13, 53, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1441, 520, 3369, 38469, 7, 40, 11, 48, 11, 52, 11, 53, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 29568, 46224, 47471, 8, 198, 7293, 1769, 262, 20742, 287, 262, 336, 3369, 4308, 286, 262, 46469, 2746, 198, 37811, 198, 31, 45145, 2163, 20742, 7, 79, 9600, 3712, 47, 6192, 1143, 17633, 11, 334, 11, 410, 8, 198, 220, 220, 220, 33721, 796, 20742, 7, 79, 9600, 13, 40, 11, 334, 11, 410, 8, 198, 220, 220, 220, 19862, 796, 20742, 7, 79, 9600, 13, 48, 11, 334, 11, 410, 8, 198, 220, 220, 220, 424, 796, 20742, 7, 79, 9600, 13, 52, 11, 334, 11, 410, 8, 198, 220, 220, 220, 38487, 796, 20742, 7, 79, 9600, 13, 53, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1441, 520, 3369, 38469, 7, 13396, 11, 19862, 11, 424, 11, 38487, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 29568, 46224, 47471, 8, 198, 16742, 82, 262, 46469, 12245, 3975, 286, 262, 46469, 2746, 279, 19849, 13, 198, 37811, 198, 8818, 12245, 8899, 0, 7, 79, 9600, 3712, 5317, 6377, 13912, 90, 27, 25, 1273, 3369, 38469, 5512, 279, 19849, 3712, 47, 6192, 1143, 17633, 8, 198, 220, 220, 220, 12245, 8899, 0, 7, 301, 3369, 7, 79, 9600, 11, 1058, 40, 828, 279, 19849, 13, 40, 8, 198, 220, 220, 220, 12245, 8899, 0, 7, 301, 3369, 7, 79, 9600, 11, 1058, 48, 828, 279, 19849, 13, 48, 8, 198, 220, 220, 220, 12245, 8899, 0, 7, 301, 3369, 7, 79, 9600, 11, 1058, 52, 828, 279, 19849, 13, 52, 8, 198, 220, 220, 220, 12245, 8899, 0, 7, 301, 3369, 7, 79, 9600, 11, 1058, 53, 828, 279, 19849, 13, 53, 8, 198, 437, 198, 198, 8818, 12245, 8899, 7, 4426, 375, 417, 3712, 47, 6192, 1143, 17633, 11, 277, 709, 87, 3712, 15633, 11, 277, 27796, 3712, 15633, 11, 299, 87, 3712, 5317, 11, 299, 88, 3712, 5317, 26, 19445, 28, 42430, 47, 9615, 28955, 198, 220, 220, 220, 33705, 40, 796, 12245, 8899, 7, 4426, 375, 417, 13, 40, 11, 277, 709, 87, 11, 277, 27796, 11, 299, 87, 11, 299, 88, 8, 198, 220, 220, 220, 33705, 48, 796, 12245, 8899, 7, 4426, 375, 417, 13, 48, 11, 277, 709, 87, 11, 277, 27796, 11, 299, 87, 11, 299, 88, 8, 198, 220, 220, 220, 33705, 52, 796, 12245, 8899, 7, 4426, 375, 417, 13, 52, 11, 277, 709, 87, 11, 277, 27796, 11, 299, 87, 11, 299, 88, 8, 198, 220, 220, 220, 33705, 53, 796, 12245, 8899, 7, 4426, 375, 417, 13, 53, 11, 277, 709, 87, 11, 277, 27796, 11, 299, 87, 11, 299, 88, 8, 198, 220, 220, 220, 279, 9600, 796, 32112, 19182, 90, 1273, 3369, 38469, 90, 417, 4906, 7, 9600, 40, 8, 11709, 19510, 9600, 40, 13, 320, 11, 33705, 48, 13, 320, 11, 33705, 52, 13, 320, 11, 33705, 53, 13, 320, 4008, 198, 220, 220, 220, 1441, 2558, 6377, 13912, 7, 79, 9600, 11, 277, 709, 87, 11, 277, 27796, 11, 19445, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 29568, 46224, 47471, 8, 198, 7293, 1769, 262, 763, 258, 5227, 17593, 286, 262, 46469, 2746, 13, 198, 37811, 198, 31, 45145, 2163, 763, 258, 5227, 6759, 8609, 7, 79, 9600, 3712, 47, 6192, 1143, 17633, 11, 334, 11, 410, 8, 198, 220, 220, 220, 33721, 796, 20742, 7, 79, 9600, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1441, 10385, 7, 7222, 258, 5227, 46912, 11, 33721, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 29568, 46224, 47471, 8, 198, 31067, 15879, 2292, 9848, 393, 8696, 4537, 286, 262, 46469, 2746, 198, 37811, 198, 31, 45145, 2163, 819, 8957, 7, 79, 9600, 11, 334, 11, 410, 8, 198, 220, 220, 220, 19862, 796, 20742, 7, 79, 9600, 13, 48, 11, 334, 11, 410, 8, 198, 220, 220, 220, 424, 796, 20742, 7, 79, 9600, 13, 52, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1441, 352, 14, 17, 9, 9248, 7, 2385, 14, 31166, 8, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 29568, 46224, 47471, 8, 198, 7293, 1769, 262, 13390, 282, 14174, 42704, 287, 262, 20742, 7386, 198, 15506, 63, 11018, 198, 220, 220, 220, 26867, 4679, 303, 90, 76, 92, 796, 26867, 31944, 90, 48, 1343, 1312, 52, 18477, 40, 92, 198, 15506, 63, 198, 37811, 198, 31, 45145, 2163, 285, 136, 228, 7, 79, 9600, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1195, 796, 20742, 7, 79, 9600, 13, 48, 11, 334, 11, 410, 8, 198, 220, 220, 220, 471, 796, 20742, 7, 79, 9600, 13, 52, 11, 334, 11, 410, 8, 198, 220, 220, 220, 314, 796, 20742, 7, 79, 9600, 13, 40, 11, 334, 11, 410, 8, 198, 220, 220, 220, 1441, 357, 48, 10, 16, 320, 9, 52, 20679, 40, 198, 437, 198 ]
2.358668
1,171
################################################################## ## Chapter 1: Loading the damn thing. # # File for parsing the RubiRules and dumping them into a pretty printed JSON # in your Rubin.jl/src dir. # # Here are the commands to download the artifacts: # RUN THEM! # using Pkg # Pkg.instantiate() ################################################################## using Rubin using Test using Artifacts using FileTrees using JSON3 using StructTypes using Logging using SymPy using PyCall using CSV using DelimitedFiles using DataFrames # TODO mark as constants rubi = artifact"Rubi" rubitests = artifact"RubiTests" rubidir = FileTree(rubi); abstract type AbstractRubiParser end struct RubiRules <: AbstractRubiParser end struct RubiTests <: AbstractRubiParser end ## Design goals: #1. Read Rules into a huge JSON array (with FileTrees.jl) #2. Add metadata, facts, number, filename #3. Save to a single file ## Steps: # 1. Read artifact dir into a FileTree # 2. Come up with a function to parse the files # INPUT examples: # (* ::Subsection::Closed:: *) # (* 1.1.1.1 (a+b x)^m *) # Int[1/x_, x_Symbol] := Log[x] # Int[x_^m_., x_Symbol] := x^(m + 1)/(m + 1) /; FreeQ[m, x] && NeQ[m, -1] # (Int[...]) := (...) /; (...) # ^ lhs ^rhs ^facts # # BUT we can also have # (* Int[Sqrt[a_.+b_.*x_]*(A_.+B_.*x_)/(Sqrt[c_.+d_.*x_]*Sqrt[e_.+f_.*x_ ]*Sqrt[g_.+h_.*x_]),x_Symbol] := B*Sqrt[a+b*x]*Sqrt[e+f*x]*Sqrt[g+h*x]/(f*h*Sqrt[c+d*x]) - B*(b*g-a*h)/(2*f*h)*Int[Sqrt[e+f*x]/(Sqrt[a+b*x]*Sqrt[c+d*x]*Sqrt[g+ h*x]),x] + B*(d*e-c*f)*(d*g-c*h)/(2*d*f*h)*Int[Sqrt[a+b*x]/((c+d*x)^(3/2)*Sqrt[ e+f*x]*Sqrt[g+h*x]),x] /; FreeQ[{a,b,c,d,e,f,g,h,A,B},x] && EqQ[2*A*d*f-B*(d*e+c*f),0] *) # (* Int[...] := (...) ;/ (...) *) # ^comment syntax around lhs := rhs ;/ facts *) closing comment syntax # Which means we have 2 grammars: # Case 1: # (^Int.?) := (.+) /; (.+) # Case 2: # (* (Int.?) := (.+)(|\/; (.+)) # ## SOLUTION: # With the help of Regex101.com: # (Int.+) := (.+)(?: \/; \*\)) # ^glob lhs, # ^glob rhs # ^glob facts, if any exist, ignore if it doesn't # Let's now write some tests for the regex. regextest = [ """(* ::Subsection::Closed:: *)""", """(* 1.1.1.1 (a+b x)^m *)""", """Int[1/x_, x_Symbol] := Log[x]""", """(* Int[Sqrt[a_.+b_.*x_]*(A_.+B_.*x_)/(Sqrt[c_.+d_.*x_]*Sqrt[e_.+f_.*x_ ]*Sqrt[g_.+h_.*x_]),x_Symbol] := B*Sqrt[a+b*x]*Sqrt[e+f*x]*Sqrt[g+h*x]/(f*h*Sqrt[c+d*x]) - B*(b*g-a*h)/(3*f*h)*Int[Sqrt[e+f*x]/(Sqrt[a+b*x]*Sqrt[c+d*x]*Sqrt[g+ h*x]),x] + B*(d*e-c*f)*(d*g-c*h)/(2*d*f*h)*Int[Sqrt[a+b*x]/((c+d*x)^(3/2)*Sqrt[ e+f*x]*Sqrt[g+h*x]),x] /; FreeQ[{a,b,c,d,e,f,g,h,A,B},x] && EqQ[2*A*d*f-B*(d*e+c*f),0] *)""", """(* Int[Sqrt[a_.+b_.*x_]*(A_.+B_.*x_)/(Sqrt[c_.+d_.*x_]*Sqrt[e_.+f_.*x_ ]*Sqrt[g_.+h_.*x_]),x_Symbol] := B*Sqrt[a+b*x]*Sqrt[e+f*x]*Sqrt[g+h*x]/(f*h*Sqrt[c+d*x]) - B*(b*g-a*h)/(2*f*h)*Int[Sqrt[e+f*x]/(Sqrt[a+b*x]*Sqrt[c+d*x]*Sqrt[g+ h*x]),x] + B*(d*e-c*f)*(d*g-c*h)/(2*d*f*h)*Int[Sqrt[a+b*x]/((c+d*x)^(3/2)*Sqrt[ e+f*x]*Sqrt[g+h*x]),x] /; FreeQ[{a,b,c,d,e,f,g,h,A,B},x] && EqQ[2*A*d*f-B*(d*e+c*f),0] *)""", """(* Int[1/(a_+b_.*x_^5),x_Symbol] := With[{r=Numerator[Rt[a/b,5]], s=Denominator[Rt[a/b,5]]}, r/(5*a)*Int[1/(r+s*x),x] + 2*r/(5*a)*Int[(r-1/4*(1-Sqrt[5])*s*x)/(r^2-1/2*(1-Sqrt[5])*r*s*x+s^ 2*x^2),x] + 2*r/(5*a)*Int[(r-1/4*(1+Sqrt[5])*s*x)/(r^2-1/2*(1+Sqrt[5])*r*s*x+s^ 2*x^2),x]] /; FreeQ[{a,b},x] && PosQ[a/b] *)""", """(* Int[1/Sqrt[a_+b_.*x_^3],x_Symbol] := With[{q=Rt[b/a,3]}, -Sqrt[2]*(1+Sqrt[3])*(1+Sqrt[3]+q*x)^2*Sqrt[(1+q^3*x^3)/(1+Sqrt[3]+ q*x)^4]/(3^(1/4)*q*Sqrt[a+b*x^3])* EllipticF[ArcSin[(-1+Sqrt[3]-q*x)/(1+Sqrt[3]+q*x)],-7-4*Sqrt[3]]] /; FreeQ[{a,b},x] && PosQ[a] *)""", """(* Int[Sqrt[c_+d_.*x_^2]/((a_+b_.*x_^2)*Sqrt[e_+f_.*x_^2]),x_Symbol] := Sqrt[c+d*x^2]*Sqrt[c*(e+f*x^2)/(e*(c+d*x^2))]/(a*Rt[d/c,2]*Sqrt[e+f* x^2])* EllipticPi[1-b*c/(a*d),ArcTan[Rt[d/c,2]*x],1-c*f/(d*e)] /; FreeQ[{a,b,c,d,e,f},x] && PosQ[d/c] *)"""]; ## Where the 🌠 magic happens 🌠 intrulesregexfacts = r"(Int.+) := (.+) \/; (.+)(?: \*\))"; intrulesregexsimple = r"^(Int.+) := (.+)"; commenttest = """(* Int[Sqrt[a_.+b_.*x_]*(A_.+B_.*x_)/(Sqrt[c_.+d_.*x_]*Sqrt[e_.+f_.*x_ ]*Sqrt[g_.+h_.*x_]),x_Symbol] := B*Sqrt[a+b*x]*Sqrt[e+f*x]*Sqrt[g+h*x]/(f*h*Sqrt[c+d*x]) - B*(b*g-a*h)/(2*f*h)*Int[Sqrt[e+f*x]/(Sqrt[a+b*x]*Sqrt[c+d*x]*Sqrt[g+ h*x]),x] + B*(d*e-c*f)*(d*g-c*h)/(2*d*f*h)*Int[Sqrt[a+b*x]/((c+d*x)^(3/2)*Sqrt[ e+f*x]*Sqrt[g+h*x]),x] /; FreeQ[{a,b,c,d,e,f,g,h,A,B},x] && EqQ[2*A*d*f-B*(d*e+c*f),0] *)"""; ## Regex tests # Gotta make sure we are slurping up the things we care about, without too much cruft. vregex = match.(intrulesregexsimple, regextest); rulesregex = match.(intrulesregexfacts, regextest); @test isnothing(vregex[1]) @test isnothing(vregex[2]) @test vregex[3].captures[1] == "Int[1/x_, x_Symbol]" @test vregex[3].captures[2] == "Log[x]" @test rulesregex[end].captures[3] == " FreeQ[{a,b,c,d,e,f},x] && PosQ[d/c]" """ # Structs for parsing - Useful in conjunction with StructTypes.jl and dumping everything into a JSON - Fields: pathname: String filename: String rulenumber: Int commented: Bool lhs: String rhs: String givens: String (not atomize) """ Base.@kwdef struct IntRuleCapture pathname::String = "" filename::String = "" rulenumber::Int = "" comment::Bool = true rhs::String = "" lhs::String = "" givens::String = "" end ## Auxiliary functions for later lhs(cap::RegexMatch) = cap.captures[1] rhs(cap::RegexMatch) = cap.captures[2] givens(cap::RegexMatch) = cap.captures[3] iscommented(cap::RegexMatch) = startswith(cap.captures[1], '(') # Input: A file # Output: An array of structs like IntRuleCapture # TODO: Figure out rule numbers function Base.parse(file, ::Type{RubiRules}) regex = r"(Int.+) := (.+) \/; (.+)( \*\))?" # Capture the lines that fit the regex, skip the empty ones, put it all into # a big array. Gotta love Julia! caps = [i for i in match.(regex, readlines(file)) if !isnothing(i)] vlhs = lhs.(caps) vrhs = rhs.(caps) vgivens = givens.(caps) vcomments = iscommented.(caps) rubi = artifact"Rubi" path = relpath(file, rubi) # Fix this global? filename = splitpath(file)[end] # Assemble and return 📦 ➡ [IntRuleCapture(pathname = path, filename = filename, rulenumber = 0, lhs = vlhs[i], rhs = vrhs[i], givens = vgivens[i], comment = vcomments[i]) for i in 1:length(caps)] end ## Testing nothing's borked with finding the files and making a TreeFile of them intfiles = rubidir["Rubi-4.16.1.0/Rubi/IntegrationRules"]; parsedstructs = FileTrees.load(intfiles) do file parse(string(path(file)), RubiRules) end; vstructs = reducevalues(vcat, parsedstructs); @test 7032 == length(vstructs) """ Loads the RubiRules into a vector. See `IntRuleCapture` for the fields. We use FileTrees.jl, so starting Julia with multiple threads should speed this up, but it feels like it could be faster ... ? """ function load(::Type{RubiRules}) rubi = artifact"Rubi" intfiles = joinpath(rubi, "Rubi-4.16.1.0", "Rubi", "IntegrationRules") files = FileTree(intfiles) parsedstructs = FileTrees.load(files) do file parse(string(path(file)), RubiRules) end vstructs = reducevalues(vcat, parsedstructs) 7032 == length(vstructs) || error("Please alert @miguelraz, something has 💥") vstructs end ## Writing to JSON! At last! # Defining this straight from the JSON3 documentation StructTypes.StructType(::Type{IntRuleCapture}) = StructTypes.Struct(); # For debugging #json = JSON3.write(vstructs); """ Write `vstructs` into a `intrules.json` file in Rubin.jl/src, where `vstructs` is defined as ```julia vstructs = load(RubiRules) ``` """ function write(vstructs::Vector{IntRuleCapture}, ::Type{RubiRules}) # hat tip to Jacob Quinn and the #data gang # Find the Rubin root dir in an OS independent way targetpath = joinpath(pkgdir(Rubin), "src", "rubirules.json") # JSON3 way to write to a file with 💃 pretty printing 💃 open(targetpath, "w") do f JSON3.pretty(f, JSON3.write(vstructs)) println(f) end end ################################################################## ## Chapter 2: # The friggin' tests # # GOALS: ⚽ #1. Read MathematicaSyntaxTestSuite into a huge JSON Array #2. Add metadata, facts, number, filename, test number #3. Save to a single file. # ## Note: They claim 72944 tests total in the website, # but we must care about the ones that are commented # # 💪 Currently at 72961 💪, # with 1?? missing # Wermer book missing ################################################################## ## Regex tests # Tricky, gotta make sure we don't miss any of them! inttests = ["{Sqrt[2*x + 1], x, 1, (1/3)*(1 + 2*x)^(3/2)}", "(* {Sqrt[2*x + 1], x, 1, (1/3)*(1 + 2*x)^(3/2)} *)"]; inttestregex = r"{(.+),(.+),(.+),(.+)}"; res = match.(inttestregex, inttests); @test res[1].captures[1] == "Sqrt[2*x + 1]" @test res[1].captures[2] == " x" @test res[1].captures[3] == " 1" @test res[1].captures[4] == " (1/3)*(1 + 2*x)^(3/2)" @test res[2].captures[1] == "Sqrt[2*x + 1]" @test res[2].captures[2] == " x" @test res[2].captures[3] == " 1" @test res[2].captures[4] == " (1/3)*(1 + 2*x)^(3/2)" ## Header regex # We'll likely need some metadata to alleviate pain when updating the codebase. # This should help mitigate some of those aches. headerregex = r"\(\*(.+)\*\)"; @test match(headerregex, "(*Integrands of the form x^m PolyLog[n, a x^q]*)").captures[1] == "Integrands of the form x^m PolyLog[n, a x^q]" """ Sample input: {Sqrt[2*x + 1], x, 1, (1/3)*(1 + 2*x)^(3/2)} ^query ^var ^steps ^optimal answer # NOTE: grep '(* {' | wc detects 284 commented cases at time of writing # Fields: - filename - path - header - integrand - variable - steps - optimal - iscomment """ Base.@kwdef struct IntRuleTest filename::String ="" path::String = "" integrand::String = "" variable::String = "" steps::String = "" # Yeah sure, this could be an Int but I'm 🏈 punting. optimal::String = "" iscomment::Bool = false end # header: string - to print testset and @async regions # tests: Vec{IntRuleTest} - to write all the tests Base.@kwdef struct IntRuleTestSection filename::String = "" path::String = "" header::String = "" tests::Vector{IntRuleTest} = IntRuleTest[] end """ 1. Find first line that is not `skipme`, parse and push into the header 2. Slurp the subsequent integrals, capture them into a vector of `IntRuleTest`s 3. When you encounter a header that is different from the previous, put all the previous IntRuleTests into a `IntTestSectionCapture` array Headers: There is much metadata like `(* n > 0 *)` and `(*Integrands ... )` We don't wanna throw that away if possible # TODO: finer metadata with the headers in the file So that testset nesting can happen """ function Base.parse(file, ::Type{RubiTests}) # TODO add nesting to subsubsections # This regex globs up everything (*InsideTheirCommentSyntax*) headerregex = r"\(\*(.+)\*\)" # This regex globs up the 4 entries in {a,format,like,this} # TODO Fix those 5 missing cases in issue # inttestregex = r"{(.+),(.+),(.+),(.+)?}" inttestregex = r" {(.+), # captures integrand \s?([a-z])\s?, # captures variable (single letter) \s?((?:-?[0-9\s]+)|(?:If\[\$VersionNumber[>=<]{1,3}[-,\s\d]*\])) # captures steps (number or VersionNumber check) (?:,(.+))?} # capturens optimal result if it exists "x rubi = artifact"RubiTests" path = relpath(file) header = "" tests = IntRuleTest[] for line in readlines(file) # Skip the `(* ::Subsection...` and `(* ::Subsubsection...` lines isempty(line) && continue startswith(line, "(* ::") && continue # If it's a test, push it if occursin(r"{", line) && occursin(r"}", line) # TODO Handle this better? We're losing information here # Perhaps adding a hierarchy to the section or subsection is good try m = match(inttestregex, line).captures catch @warn "inttestregex did not capture int test line" @warn line @warn file continue end m = match(inttestregex, line).captures # We need to know 7 things: # 1. integrand # 2. variable to integrate # 3. steps taken by rubi # 4. optimal answer # 5. if it's commented # 6. path # 7. filename integrand, variable, steps, optimal = (m...,) iscomment = startswith(line, "(* {") path = relpath(file, rubi) # Fix this global? filename = splitpath(file)[end] #@info "pushed to test" push!(tests, IntRuleTest(integrand = integrand, variable = variable, path = path, filename = filename, steps = steps, optimal = string(optimal), iscomment = iscomment)) elseif startswith("(*", line) && endswith("*)", line) # 🆙 Update the header header = match(headerregex, line).captures[1] else continue end end # Remember! Push the last section! tests end ## Test the test parsing function # Because that is one chonky boii #testfile = "/home/mrg/.julia/artifacts/1148cba18dae2f8939af8bc542233a48cc42cf19/MathematicaSyntaxTestSuite-4.16.0/5 Inverse trig functions/5.5 Inverse secant/5.5.2 Inverse secant functions.m"; testfile = "parsetest.m" vtests = parse(testfile, RubiTests) @test length(vtests) == 11 @test vtests[3].iscomment @test vtests[9].iscomment # TODO swap out the loads function findtreefolder(::Type{RubiRules}) rubi = artifact"Rubi" intfiles = joinpath(rubi, "Rubi-4.16.1.0", "Rubi", "IntegrationRules") files = FileTree(intfiles) end function findtreefolder(::Type{RubiTests}) rubitests = artifact"RubiTests" intfiles = joinpath(rubitests, "MathematicaSyntaxTestSuite-4.16.0") files = FileTree(intfiles) end """ Loads the RubiRules into a vector. See `IntTestSections` for the fields. """ function load(::Type{RubiTests}) rubitests = artifact"RubiTests" intfiles = joinpath(rubitests, "MathematicaSyntaxTestSuite-4.16.0") fs = FileTree(intfiles) # Wester problems has an irregular format, see issue # 3 rm(fs, r"LICENSE|README.md|Wester Problems.m") @info fs parsedstructs = FileTrees.load(fs) do file parse(string(path(file)), RubiTests) end vtests = reducevalues(vcat, parsedstructs) 72961 == length(vtests) || error("Please alert @miguelraz, something has 💥") vtests end vtests = load(RubiTests); @test length(vtests) == 72961 # For JSON3 writing StructTypes.StructType(::Type{IntRuleTest}) = StructTypes.Struct(); """ Write `vtests` into a `inttests.json` file in Rubin.jl/src, where `vtests` is defined as ```julia vtests = load(RubiRules) ``` """ function write(vtests::Vector{IntRuleTest}, ::Type{RubiTests}) # Hat tip to Jacob Quinn 🎩 and the #data gang # Find the Rubin root dir in an OS independent way targetpath = joinpath(pkgdir(Rubin), "src", "rubitests.json") # JSON3 way to write to a file with 💃 pretty printing 💃 open(targetpath, "w") do f JSON3.pretty(f, JSON3.write(vtests)) println(f) end end ################################################################## ## Chapter 3: # Woflram -> Julia # # GOALS: ⚽ # 1. OUTPUT: tests/rubitests.jl with all the test files written in plain Julia # - Format shown below # 2. OUTPUT: src/rubirules.jl with all the rules written in plain Julia # - Format: show below # # Approaches: # 1. Make a small dict with Mathematica => Julia translations, # THEN search and replace every string on both sides # 2. use a while loop with the replacings, if it doesn't change go on. # OOOPS # - All fun and games until E^x and E^(x+2) showed up - unclear how to deal # with parens 💩 # 3. Use a library like RBNF.jl # 4. DERP! See if someone else has solved it first! # Sympy has a Mathematica parser - from there it should be much simple. # - # Options: # # 1. Symbolics.jl vs Metatheory.jl .... vs Rust egraphs? # # Consider how to propagate assumptions # https://julialang.zulipchat.com/#narrow/stream/236639-symbolic-programming/topic/Integration/near/232350734 ################################################################## ### Notes: # Once I have a symbolic sympy expression, I can just turn it into a Julia # Julia string with `str(y)`: # sympy = pyimport("sympy") # str = py"'Sin[x]^2'"; # mathparser = sympy.parsing.mathematica.mathematica # y = maths(str) # res = string(y) # 🚀 # @test "sin(x)^2" == res ## Parser hijinks: # Ugh - the sympy.mathematica parser does not accept Int[ ... :( # No worries 😅, we can pass in a PyDict with our prefs and have it work! # function parsetosympy(s,d) # s = pystring(PyObject(s)) # f = sympy.parsing.mathematica.mathematica # f(s,d) # end ## Parser hijinks: Sympy doesn't translate all functions :/ # Need to grep for the function names in rubirules.json and add them to the below dict #mathfuncs = readlines("mathematicafunctions2.txt") # mathfuncsdictionary = Dict(i * "*x]" => lowercase(i[1:end-1]) * "(*x)" for i in readlines("mathematicafunctions2.txt")) # function mathfuncsdict() # mathfuncs = readlines("mathematicafunctions2.txt") # # ps = # end # note the *x to slurp all args sympydictfixes = PyDict(Dict("Int[*x]" => "integrate(*x)", "ProductLog[*x]" => "productlog(*x)", "Gamma[*x]" => "gamma(*x)", # Following convention from SpecialFunctions.jl "EllipticF[*x]" => "ellipf(*x)", # TODO add Fresnel, FresnelS, FresnelC #"E^x" => "exp(x)", #"E^(*x)" => "exp(*x)", "Abs[*x]" => "abs(*x)", "AppellF1[*x]" => "appelf1(*x)", "CannotIntegrate[*x]" => "cannotintegrate(*x)", "CoshIntegral[*x]" => "coshintegral(*x)", "CosIntegral[*x]" => "cosintegral(*x)", "Defer[*x]" => "defer(*x)", "Derivative[*x]" => "derivative(*x)", "EllipticE[*x]" => "ellipe(*x)", "EllipticF[*x]" => "ellipf(*x)", "EllipticK[*x]" => "ellipk(*x)", "EllipticPi[*x]" => "ellippi(*x)", "Erf[*x]" => "erf(*x)", "Erfc[*x]" => "erfc(*x)", "Erfi[*x]" => "erfi(*x)", "Expand[*x]" => "expand(*x)", "ExpIntegralE[*x]" => "expintegrale(*x)", "ExpIntegralEi[*x]" => "expintegralei(*x)", #"f[*x]" => f(*x)", #"F[*x]" => f(*x)", "F0[*x]" => "f0(*x)", "FresnelC[*x]" => "fresnelc(*x)", "FresnelS[*x]" => "fresnels(*x)", #"g[*x]" => , #"Gamma[*x]" => , "Hypergeometric2F1[*x]" => "hypergeometric2f1(*x)", "HypergeometricPFQ[*x]" => "hypergeometricpfq(*x)", #"If[*x]" => if, #"Log[*x]" => "log, "LogGamma[*x]" => "loggamma(*x)", "LogIntegral[*x]" => "logintegral(*x)", "PolyGamma[*x]" => "polygamma(*x)", "PolyLog[*x]" => "polylog(*x)", "ProductLog[*x]" => "productlog(*x)", #"sdx[*x]" => , "SinhIntegral[*x]" => "sinhintegral(*x)", "SinIntegral[*x]" => "sinintegral(*x)", "Unintegrable[*x]" => "unintegrable(*x)", "Zeta[*x]" => "zeta(*x)", )); funcdicts = Dict( "Abs[*x]" => "abs(*x)", "ActivateTrig[*x]" => "activatetrig(*x)", "AlgebraicFunctionQ[*x]" => "algebraicfunctionq(*x)", "Apart[*x]" => "apart(*x)", "AppellF1[*x]" => "appellf1(*x)", "ArcCos[*x]" => "arccos(*x)", "ArcCosh[*x]" => "arccosh(*x)", "ArcCot[*x]" => "arccot(*x)", "ArcCoth[*x]" => "arccoth(*x)", "ArcCsc[*x]" => "arccsc(*x)", "ArcCsch[*x]" => "arccsch(*x)", "ArcSec[*x]" => "arcsec(*x)", "ArcSech[*x]" => "arcsech(*x)", "ArcSin[*x]" => "arcsin(*x)", "ArcSinh[*x]" => "arcsinh(*x)", "ArcTan[*x]" => "arctan(*x)", "ArcTanh[*x]" => "arctanh(*x)", "AtomQ[*x]" => "atomq(*x)", "BesselJ[*x]" => "besselj(*x)", "BinomialDegree[*x]" => "binomialdegree(*x)", "BinomialMatchQ[*x]" => "binomialmatchq(*x)", "BinomialParts[*x]" => "binomialparts(*x)", "BinomialQ[*x]" => "binomialq(*x)", "Block[*x]" => "block(*x)", "CalculusFreeQ[*x]" => "calculusfreeq(*x)", "Cancel[*x]" => "cancel(*x)", "CannotIntegrate[*x]" => "cannotintegrate(*x)", "Coeff[*x]" => "coeff(*x)", "Coefficient[*x]" => "coefficient(*x)", "ComplexFreeQ[*x]" => "complexfreeq(*x)", "Complex[*x]" => "complex(*x)", "CosIntegral[*x]" => "cosintegral(*x)", "Cos[*x]" => "cos(*x)", "CoshIntegral[*x]" => "coshintegral(*x)", "Cosh[*x]" => "cosh(*x)", "Cot[*x]" => "cot(*x)", "Coth[*x]" => "coth(*x)", "Csc[*x]" => "csc(*x)", "Csch[*x]" => "csch(*x)", "D[*x]" => "d(*x)", "DeactivateTrig[*x]" => "deactivatetrig(*x)", "Denom[*x]" => "denom(*x)", "Denominator[*x]" => "denominator(*x)", "DerivativeDivides[*x]" => "derivativedivides(*x)", "Derivative[*x]" => "derivative(*x)", "Discriminant[*x]" => "discriminant(*x)", "Dist[*x]" => "dist(*x)", "Distrib[*x]" => "distrib(*x)", "DistributeDegree[*x]" => "distributedegree(*x)", "Divides[*x]" => "divides(*x)", "EllipticE[*x]" => "elliptice(*x)", "EllipticF[*x]" => "ellipticf(*x)", "EllipticPi[*x]" => "ellipticpi(*x)", "EqQ[*x]" => "eqq(*x)", "Erf[*x]" => "erf(*x)", "Erfc[*x]" => "erfc(*x)", "Erfi[*x]" => "erfi(*x)", "EulerIntegrandQ[*x]" => "eulerintegrandq(*x)", "EveryQ[*x]" => "everyq(*x)", "ExpIntegralE[*x]" => "expintegrale(*x)", "ExpIntegralEi[*x]" => "expintegralei(*x)", "Exp[*x]" => "exp(*x)", "ExpandExpression[*x]" => "expandexpression(*x)", "ExpandIntegrand[*x]" => "expandintegrand(*x)", "ExpandLinearProduct[*x]" => "expandlinearproduct(*x)", "ExpandToSum[*x]" => "expandtosum(*x)", "ExpandTrigExpand[*x]" => "expandtrigexpand(*x)", "ExpandTrigReduce[*x]" => "expandtrigreduce(*x)", "ExpandTrigToExp[*x]" => "expandtrigtoexp(*x)", "ExpandTrig[*x]" => "expandtrig(*x)", "Expand[*x]" => "expand(*x)", "Expon[*x]" => "expon(*x)", "Exponent[*x]" => "exponent(*x)", "F[*x]" => "f(*x)", "F_[*x]" => "f_(*x)", "Factor[*x]" => "factor(*x)", "FalseQ[*x]" => "falseq(*x)", "Floor[*x]" => "floor(*x)", "FracPart[*x]" => "fracpart(*x)", "FractionQ[*x]" => "fractionq(*x)", "FractionalPart[*x]" => "fractionalpart(*x)", "FreeFactors[*x]" => "freefactors(*x)", "FreeQ[*x]" => "freeq(*x)", "FresnelC[*x]" => "fresnelc(*x)", "FresnelS[*x]" => "fresnels(*x)", "FullSimplify[*x]" => "fullsimplify(*x)", "FunctionOfExponentialFunction[*x]" => "functionofexponentialfunction(*x)", "FunctionOfExponentialQ[*x]" => "functionofexponentialq(*x)", "FunctionOfExponential[*x]" => "functionofexponential(*x)", "FunctionOfLinear[*x]" => "functionoflinear(*x)", "FunctionOfLog[*x]" => "functionoflog(*x)", "FunctionOfQ[*x]" => "functionofq(*x)", "FunctionOfSquareRootOfQuadratic[*x]" => "functionofsquarerootofquadratic(*x)", "FunctionOfTrigOfLinearQ[*x]" => "functionoftrigoflinearq(*x)", "FunctionOfTrig[*x]" => "functionoftrig(*x)", "Function[*x]" => "function(*x)", "GCD[*x]" => "gcd(*x)", "G[*x]" => "g(*x)", "G_[*x]" => "g_(*x)", "Gamma[*x]" => "gamma(*x)", "GeQ[*x]" => "geq(*x)", "GeneralizedBinomialMatchQ[*x]" => "generalizedbinomialmatchq(*x)", "GeneralizedBinomialQ[*x]" => "generalizedbinomialq(*x)", "GeneralizedTrinomialDegree[*x]" => "generalizedtrinomialdegree(*x)", "GeneralizedTrinomialMatchQ[*x]" => "generalizedtrinomialmatchq(*x)", "GeneralizedTrinomialQ[*x]" => "generalizedtrinomialq(*x)", "GtQ[*x]" => "gtq(*x)", "H[*x]" => "h(*x)", "H_[*x]" => "h_(*x)", "HalfIntegerQ[*x]" => "halfintegerq(*x)", "Head[*x]" => "head(*x)", "Hold[*x]" => "hold(*x)", "HyperbolicQ[*x]" => "hyperbolicq(*x)", "Hypergeometric2F1[*x]" => "hypergeometric2f1(*x)", "HypergeometricPFQ[*x]" => "hypergeometricpfq(*x)", "IGeQ[*x]" => "igeq(*x)", "IGtQ[*x]" => "igtq(*x)", "ILeQ[*x]" => "ileq(*x)", "ILtQ[*x]" => "iltq(*x)", "Identity[*x]" => "identity(*x)", "If[*x]" => "if(*x)", "IndependentQ[*x]" => "independentq(*x)", "InertTrigFreeQ[*x]" => "inerttrigfreeq(*x)", "InertTrigQ[*x]" => "inerttrigq(*x)", "IntBinomialQ[*x]" => "intbinomialq(*x)", "IntHide[*x]" => "inthide(*x)", "IntLinearQ[*x]" => "intlinearq(*x)", "IntPart[*x]" => "intpart(*x)", "IntQuadraticQ[*x]" => "intquadraticq(*x)", "IntSum[*x]" => "intsum(*x)", "Int[*x]" => "int(*x)", "IntegerPart[*x]" => "integerpart(*x)", "IntegerQ[*x]" => "integerq(*x)", "IntegersQ[*x]" => "integersq(*x)", "IntegralFreeQ[*x]" => "integralfreeq(*x)", "Integral[*x]" => "integral(*x)", "Integrate[*x]" => "integrate(*x)", "InverseFunctionFreeQ[*x]" => "inversefunctionfreeq(*x)", "InverseFunctionOfLinear[*x]" => "inversefunctionoflinear(*x)", "InverseFunctionQ[*x]" => "inversefunctionq(*x)", "KnownCotangentIntegrandQ[*x]" => "knowncotangentintegrandq(*x)", "KnownSecantIntegrandQ[*x]" => "knownsecantintegrandq(*x)", "KnownSineIntegrandQ[*x]" => "knownsineintegrandq(*x)", "KnownTangentIntegrandQ[*x]" => "knowntangentintegrandq(*x)", "LeQ[*x]" => "leq(*x)", "LeafCount[*x]" => "leafcount(*x)", "LinearMatchQ[*x]" => "linearmatchq(*x)", "LinearPairQ[*x]" => "linearpairq(*x)", "LinearQ[*x]" => "linearq(*x)", "LogGamma[*x]" => "loggamma(*x)", "LogIntegral[*x]" => "logintegral(*x)", "Log[*x]" => "log(*x)", "LtQ[*x]" => "ltq(*x)", "MatchQ[*x]" => "matchq(*x)", "MemberQ[*x]" => "memberq(*x)", "MinimumMonomialExponent[*x]" => "minimummonomialexponent(*x)", "Mod[*x]" => "mod(*x)", "Module[*x]" => "module(*x)", "NeQ[*x]" => "neq(*x)", "NegQ[*x]" => "negq(*x)", "NiceSqrtQ[*x]" => "nicesqrtq(*x)", "NonfreeFactors[*x]" => "nonfreefactors(*x)", "NonsumQ[*x]" => "nonsumq(*x)", "NormalizeIntegrand[*x]" => "normalizeintegrand(*x)", "NormalizePowerOfLinear[*x]" => "normalizepoweroflinear(*x)", "NormalizePseudoBinomial[*x]" => "normalizepseudobinomial(*x)", "Not[*x]" => "not(*x)", "Numer[*x]" => "numer(*x)", "Numerator[*x]" => "numerator(*x)", "OddQ[*x]" => "oddq(*x)", "PerfectSquareQ[*x]" => "perfectsquareq(*x)", "PiecewiseLinearQ[*x]" => "piecewiselinearq(*x)", "PolyGCD[*x]" => "polygcd(*x)", "PolyGamma[*x]" => "polygamma(*x)", "PolyLog[*x]" => "polylog(*x)", "PolyQ[*x]" => "polyq(*x)", "PolynomialDivide[*x]" => "polynomialdivide(*x)", "PolynomialInQ[*x]" => "polynomialinq(*x)", "PolynomialInSubst[*x]" => "polynomialinsubst(*x)", "PolynomialQ[*x]" => "polynomialq(*x)", "PolynomialQuotient[*x]" => "polynomialquotient(*x)", "PolynomialRemainder[*x]" => "polynomialremainder(*x)", "PosQ[*x]" => "posq(*x)", "PowerOfLinearMatchQ[*x]" => "poweroflinearmatchq(*x)", "PowerOfLinearQ[*x]" => "poweroflinearq(*x)", "PowerQ[*x]" => "powerq(*x)", "PowerVariableExpn[*x]" => "powervariableexpn(*x)", "ProductLog[*x]" => "productlog(*x)", "ProductQ[*x]" => "productq(*x)", "PseudoBinomialPairQ[*x]" => "pseudobinomialpairq(*x)", "QuadraticMatchQ[*x]" => "quadraticmatchq(*x)", "QuadraticProductQ[*x]" => "quadraticproductq(*x)", "QuadraticQ[*x]" => "quadraticq(*x)", "QuotientOfLinearsParts[*x]" => "quotientoflinearsparts(*x)", "QuotientOfLinearsQ[*x]" => "quotientoflinearsq(*x)", "Quotient[*x]" => "quotient(*x)", "RationalFunctionExpand[*x]" => "rationalfunctionexpand(*x)", "RationalFunctionExponents[*x]" => "rationalfunctionexponents(*x)", "RationalFunctionQ[*x]" => "rationalfunctionq(*x)", "RationalQ[*x]" => "rationalq(*x)", "RemoveContent[*x]" => "removecontent(*x)", "ReplaceAll[*x]" => "replaceall(*x)", "Rt[*x]" => "rt(*x)", "Sec[*x]" => "sec(*x)", "Sech[*x]" => "sech(*x)", "ShowStep[*x]" => "showstep(*x)", "Sign[*x]" => "sign(*x)", "Simp[*x]" => "simp(*x)", "SimplerIntegrandQ[*x]" => "simplerintegrandq(*x)", "SimplerQ[*x]" => "simplerq(*x)", "SimplerSqrtQ[*x]" => "simplersqrtq(*x)", "SimplifyIntegrand[*x]" => "simplifyintegrand(*x)", "Simplify[*x]" => "simplify(*x)", "SinIntegral[*x]" => "sinintegral(*x)", "Sin[*x]" => "sin(*x)", "SinhIntegral[*x]" => "sinhintegral(*x)", "Sinh[*x]" => "sinh(*x)", "SplitProduct[*x]" => "splitproduct(*x)", "Sqrt[*x]" => "sqrt(*x)", "SubstForFractionalPowerOfLinear[*x]" => "substforfractionalpoweroflinear(*x)", "SubstForFractionalPowerOfQuotientOfLinears[*x]" => "substforfractionalpowerofquotientoflinears(*x)", "SubstForFractionalPowerQ[*x]" => "substforfractionalpowerq(*x)", "SubstForInverseFunction[*x]" => "substforinversefunction(*x)", "SubstFor[*x]" => "substfor(*x)", "Subst[*x]" => "subst(*x)", "SumQ[*x]" => "sumq(*x)", "SumSimplerQ[*x]" => "sumsimplerq(*x)", "Sum[*x]" => "sum(*x)", "Tan[*x]" => "tan(*x)", "Tanh[*x]" => "tanh(*x)", "Together[*x]" => "together(*x)", "TrigQ[*x]" => "trigq(*x)", "TrigSimplifyQ[*x]" => "trigsimplifyq(*x)", "TrigSimplify[*x]" => "trigsimplify(*x)", "TrinomialMatchQ[*x]" => "trinomialmatchq(*x)", "TrinomialQ[*x]" => "trinomialq(*x)", "TryPureTanSubst[*x]" => "trypuretansubst(*x)", "Unintegrable[*x]" => "unintegrable(*x)", "With[*x]" => "with(*x)", "Zeta[*x]" => "zeta(*x)", "cos[*x]" => "cos(*x)", "cot[*x]" => "cot(*x)", "csc[*x]" => "csc(*x)", "f[*x]" => "f(*x)", "f_[*x]" => "f_(*x)", "g[*x]" => "g(*x)", "g_[*x]" => "g_(*x)", "lst[*x]" => "lst(*x)", "sec[*x]" => "sec(*x)", "sin[*x]" => "sin(*x)", "tan[*x]" => "tan(*x)", "tmp[*x]" => "tmp(*x)", "trig_[*x]" => "trig_(*x)", "uu[*x]" => "uu(*x)", ); # @test "integrate(x,x)" == parsetosympy("Int[x,x]",sympydictfixes) # "integrate(x,x)" ## Parser hijinks: # 1. Need to strip underscores and `x_Symbol` ### OOPS: # It is clear that many of the "steps" field are being mangled horribly # steps = [length(v.steps) != 2 for v in vtests] # @test count(steps) == length(vtests) ## New parsing method ============================================================ # https://discourse.julialang.org/t/best-practices-for-converting-a-mathematica-expression-to-julia/18335 const sympy_parsing_mathematica = SymPy.PyCall.pyimport("sympy.parsing.mathematica") mathematica2julia(s::AbstractString, substitutions::Pair{<:AbstractString,<:AbstractString}...) = SymPy.walk_expression(sympy_parsing_mathematica."mathematica"(s, Dict(substitutions...))) mathematica2julia(s::AbstractString) = mathematica2julia(s, m2j_subs...) # Pull data from func_subs file to create substitution pairs #= #TODO: functions to add - Derivative - Hypergeometric2F1 - f'[x] - Double check functions that might come from SpecialFunctions.jl, etc. =# m2j_subs = [r[1] => r[2] for r in eachrow(readdlm("func_subs.csv", ';', String))] function m2j(s::AbstractString; verbose=true) try return mathematica2julia(s) catch e verbose && @warn "Couldn't parse:\n$(s)\n" # @error e return "Parse Error" end end @show m2j("Csc[x + Sin[x]]") @show m2j("Sin[2*x]") @show m2j("EllipticF[1, 0.5]") @show m2j("Csc[x + Sin[x]]") @show m2j("(2*I*Sqrt[2]*EllipticE[Pi/4 - (I*x)/2, 2] * Sqrt[Sinh[x]])/Sqrt[I*Sinh[x]]") @show m2j("((-Gamma[-n, -Log[t]])*(-Log[t])^n)/Log[t]^n") @show m2j("(c + d*x)^0*PolyGamma[n, a + b*x]") @show m2j("(c + d*x)^1*ExpIntegralE[n, a + b*x]") @show m2j("Hypergeometric2F1[1/2, 1/2, 3/2, 1/2)") @show m2j("Derivative[n][f][x]") @show m2j("f'[x]") ## Saving work as I go in a dataframe to make incremental changes # Getting rid of any tests that don't work right now. fname = "test/conversion_data.csv" # df = DataFrame(vtests) # Initial creation df = DataFrame(CSV.File(fname)) @show names(df) @show size(df) # filter!(x -> !x.iscomment, df); # failstrgs = ["CannotIntegrate", "Unintegrable"] # filter!(x -> !any(occursin.(failstrgs, x.optimal)), df); # transform!(df, :integrand => ByRow(m2j) => :juliaintegrand) # slooooow # @show size(df) # CSV.write(fname, df) # Save Point -------------------------------------------- # @show size(df) # filter!(x -> x.juliaintegrand != "Parse Error", df); # @show size(df) # CSV.write(fname, df) # Save Point -------------------------------------------- # filter!(x -> !occursin("Hypergeometric2F1", x.optimal), df); # Removes about 4000 # filter!(x -> !occursin("VersionNumber", x.optimal), df); # Removes about 200 # transform!(df, :optimal => ByRow(x -> m2j(x, verbose=false)) => :juliaoptimal) # slooooow # filter!(x -> x.juliaoptimal != "Parse Error", df); # Removes about 3500 # filter!(x -> x.juliaoptimal != "0", df); # @show size(df) # CSV.write(fname, df) # Save Point -------------------------------------------- create_local_path(s) = joinpath("test", split(s, "\\")[2:end-1]...) create_fname(s) = replace(split(s, "\\")[end], ".m"=>".jl") transform!(df, :path => ByRow(create_local_path) => :outputpath) transform!(df, :path => ByRow(create_fname) => :outputfname) # Makes all the directories, only need to run once if the folders are deleted # unique(df.outputpath) .|> mkpath ## Write a test files ======================================================= preamble = """ using Rubin using Tests using Elliptic using HypergeometricFunctions using Polylogarithms using SpecialFunctions\n """ gdf = groupby(df, :outputfname); function fix_syntax(s) s = replace(s, " "=> "") # Remove spaces s = replace(s, "__" => ".") end for ((fn,), group) in pairs(gdf) N,M = size(group) @info "$N\ttests\tCreating File: $fn" outpath = joinpath(first(group.outputpath), fn) open(outpath, "w") do io write(io, preamble) for t in eachrow(group) i = fix_syntax(t[:juliaintegrand]) v = t[:variable] o = fix_syntax(t[:juliaoptimal]) write(io, "@test integrate($i, $v) == :($o)\n") end end end ## TODO make a smaller test Suite in a single file # TODO: create a smarter way to created abbreviated tests than just first outpath = joinpath("test", "abbreviated_tests.jl") @info "Creating File: $outpath" N = 10 open(outpath, "w") do io write(io, preamble) for ((fn,), group) in pairs(gdf) setname = first(group.outputfname) @info "Creating test set: $setname" # Begin test set write(io, "@testset \"$setname\" begin\n") for t in eachrow(first(group,N)) i = fix_syntax(t[:juliaintegrand]) v = t[:variable] o = fix_syntax(t[:juliaoptimal]) write(io, "\t@test integrate($i, $v) == :($o)\n") end # End of test set write(io, "end\n\n") end end ################################################################## ## Chapter 4: Parsing Utility Functions # # Mathematica pattern strings: # ⋅ _ any single expression # ⋅ x_ any single expression, to be named x # ⋅ __ any sequence of one or more expressions # ⋅ x__ sequence named x # ⋅ x__h sequence of expressions, all of whose heads are h # ⋅ ___ any sequence of zero or more expressions # ⋅ x___ sequence of zero or more expressions named x # ⋅ x___h sequence of zero or more expressions, all of whose heads are h # # Mathematica heads: # ⋅ x_h an expression with head h # ⋅ x_Integer an integer # ⋅ x_Real an approximate real number # ⋅ x_Complex a complex number # ⋅ x_List a list # ⋅ x_Symbol a symbol # # Conditions: # ⋅ patt/;test is a pattern which matches only if the evaluation of test yields True. # ⋅ lhs:>rhs/;test represents a rule which applies only if the evaluation of test yields True. # ⋅ lhs:=rhs/;test is a definition to be used only if test yields True. ################################################################## struct RubiUtility <: AbstractRubiParser end """ Sample input: IntHide[u_,x_Symbol] := Block[{\$ShowSteps=False,\$StepCounter=Null}, Int[u,x]] # Fields: - name - args - eqtype - defintion """ Base.@kwdef struct UtilFuncMethod name::String = "" args::String = "" eqtype::String = "" defintion::String = "" end # Create util function type from regex matches automatically UtilFuncMethod(re::RegexMatch) = UtilFuncMethod(re.captures...) Base.show(io::IO, m::UtilFuncMethod) = print(io, "$(m.name)$(m.args)$(m.eqtype)$(m.defintion)") # Needs for JSON3 to write a file StructTypes.StructType(::Type{UtilFuncMethod}) = StructTypes.StringType() """ Sample input: (* ::Subsection::Closed:: *) (*TrigQ[u]*) TrigQ::usage = "If u is an expression of the form F[v] where F is a circular trig function, TrigQ[u] returns True; else it returns False."; \$TrigFunctions = {Sin, Cos, Tan, Cot, Sec, Csc}; TrigQ[u_] := MemberQ[\$TrigFunctions, If[AtomQ[u],u,Head[u]]] # Fields: - funcname - funlist - usage - methods """ Base.@kwdef struct IntUtilityFunc funcname::String = "" funlist::String = "" usage::String = "" methods::Vector{UtilFuncMethod} = [] section::String = "" end # Pretty printing of functions with methods function Base.show(io::IO, f::IntUtilityFunc) println(io, "$(f.funcname)") length(f.usage) > 0 && println("\tUsage:\t$(f.usage)") # f.methods |> enumerate .|> t -> println(" Method $(t[1]): $(t[2])") end StructTypes.StructType(::Type{IntUtilityFunc}) = StructTypes.Struct() function write(utilfuncs::Vector{IntUtilityFunc}, ::Type{RubiUtility}) targetpath = joinpath(pkgdir(Rubin), "src", "rubiutils.json") open(targetpath, "w") do f JSON3.pretty(f, JSON3.write(utilfuncs)) println(f) end end ## # TODO: parse by section and subsection??? # Requires splitting methods that doesn't eat the secregex # Handeling Item sections? # # TODO: Only 4 functions fail to match # ⋅ IntegerPowerQ[u] - no brackets # ⋅ FractionalPowerQ[u] - no brackets # ⋅ ExpandBinomial[u,x] - broken up into sections??? # ⋅ DeactivateInverseHyperbolic[u,x] - commented out # function Base.parse(file, ::Type{RubiUtility}) secregex = r"\(\* ::[S].*\*\)" # match get eaten during the split operation usageregex = r"""\S+::usage[\s="]+(.*)";""" # Matches the usage lines and ... ^ captures usage string funcheaderregex = r"\(\*(\w*\[.*\])\*\)\s?" # Matches function header & ^ captures function name # funlistregex = r"(^\$\w+)(\s?=\s?)(\{.*\};)" funlistregex = r"\$\w+\s?=\s?\{(.*)\};" # w/o captures # Matches lists of functions # sec1nameregex = r"\(\* ::Section.*\n\(\*([\w\s]+)\*\)" # sec2nameregex = r"\(\* ::Subsection.*\n\(\*([\w\s]+)\*\)" secnameregex = r"\(\*([\w\s]{2,})\*\)" # funclineregex = r"\n([A-Za-z0-9]+)(\[[:A-Za-z0-9_,\^\*\+\[\]]*\])(\s*[:=]+\s*)((?:.+\n)+)" # oneliner funclineregex = r" \n([A-Za-z0-9]+) # captures method name staring on new line (\[[:A-Za-z0-9_,\^\*\+\[\]]*\]) # captures methods arguments (\s*[:=]+\s*) # captures equality operator (:= or =) ((?:.+\n)+) # captures multile lines of definition "x utilcontents = read(file, String); sections = split(utilcontents, secregex, keepempty=false) secname = "" utilfuncs = IntUtilityFunc[] for sec in sections[2:end] snm = match(secnameregex, sec) # Update section name if !isnothing(snm) secname = snm.captures[1] end fhm = match(funcheaderregex, sec) # Function header with name isnothing(fhm) && continue funcname = fhm.captures[1] flm = match(funlistregex, sec) # Function list funlist = isnothing(flm) ? "" : string(flm.match) usm = match(usageregex, sec) # Usage string usage = usm isa Nothing ? "" : usm.captures[1] # Get function methods !occursin(funclineregex, sec) && (@warn "No methods detected for: $funcname"; continue) # create a list of methods using dispatch on Regex methods = UtilFuncMethod.(eachmatch(funclineregex, sec)) # Push the utility function to the list push!( utilfuncs, IntUtilityFunc( funcname, funlist, usage, methods, secname ) ) end utilfuncs end function load(::Type{RubiUtility}) rubi = artifact"Rubi" utilityfile = joinpath(rubi, "Rubi-4.16.1.0", "Rubi", "IntegrationUtilityFunctions.m") parse(utilityfile, RubiUtility) end utilfuncs = load(RubiUtility); @test length(utilfuncs) >= 92 # Writing the JSON file # json = write(utilfuncs, RubiUtility);
[ 29113, 29113, 2235, 198, 2235, 220, 7006, 352, 25, 12320, 262, 12270, 1517, 13, 198, 2, 198, 2, 9220, 329, 32096, 262, 6256, 72, 37766, 290, 30231, 606, 656, 257, 2495, 10398, 19449, 198, 2, 287, 534, 34599, 13, 20362, 14, 10677, 26672, 13, 198, 2, 198, 2, 3423, 389, 262, 9729, 284, 4321, 262, 20316, 25, 198, 2, 32494, 44788, 0, 198, 2, 1262, 350, 10025, 198, 2, 350, 10025, 13, 8625, 415, 9386, 3419, 198, 29113, 29113, 2235, 198, 198, 3500, 34599, 198, 3500, 6208, 198, 3500, 3683, 37199, 198, 3500, 9220, 51, 6037, 198, 3500, 19449, 18, 198, 3500, 32112, 31431, 198, 3500, 5972, 2667, 198, 3500, 15845, 20519, 198, 3500, 9485, 14134, 198, 3500, 44189, 198, 3500, 4216, 320, 863, 25876, 198, 3500, 6060, 35439, 198, 198, 2, 16926, 46, 1317, 355, 38491, 198, 25089, 72, 796, 24127, 1, 21312, 72, 1, 198, 25089, 270, 3558, 796, 24127, 1, 21312, 72, 51, 3558, 1, 198, 25089, 312, 343, 796, 9220, 27660, 7, 25089, 72, 1776, 198, 397, 8709, 2099, 27741, 21312, 72, 46677, 886, 198, 7249, 6256, 72, 37766, 1279, 25, 27741, 21312, 72, 46677, 886, 198, 7249, 6256, 72, 51, 3558, 1279, 25, 27741, 21312, 72, 46677, 886, 198, 198, 2235, 8495, 4661, 25, 198, 2, 16, 13, 4149, 14252, 656, 257, 3236, 19449, 7177, 357, 4480, 9220, 51, 6037, 13, 20362, 8, 198, 2, 17, 13, 3060, 20150, 11, 6419, 11, 1271, 11, 29472, 198, 2, 18, 13, 12793, 284, 257, 2060, 2393, 198, 198, 2235, 32144, 25, 198, 2, 352, 13, 4149, 24127, 26672, 656, 257, 9220, 27660, 198, 2, 362, 13, 7911, 510, 351, 257, 2163, 284, 21136, 262, 3696, 198, 2, 3268, 30076, 6096, 25, 198, 2, 20789, 7904, 7004, 5458, 3712, 2601, 1335, 3712, 31936, 198, 2, 20789, 352, 13, 16, 13, 16, 13, 16, 357, 64, 10, 65, 2124, 8, 61, 76, 31936, 198, 2, 2558, 58, 16, 14, 87, 62, 11, 2124, 62, 13940, 23650, 60, 19039, 5972, 58, 87, 60, 198, 2, 2558, 58, 87, 62, 61, 76, 62, 1539, 2124, 62, 13940, 23650, 60, 19039, 2124, 61, 7, 76, 1343, 352, 20679, 7, 76, 1343, 352, 8, 1220, 26, 3232, 48, 58, 76, 11, 2124, 60, 11405, 3169, 48, 58, 76, 11, 532, 16, 60, 198, 2, 357, 5317, 58, 986, 12962, 19039, 357, 23029, 1220, 26, 357, 23029, 198, 2, 10563, 300, 11994, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10563, 81, 11994, 220, 220, 220, 220, 10563, 37473, 198, 2, 198, 2, 21728, 356, 460, 635, 423, 198, 2, 20789, 2558, 58, 50, 80, 17034, 58, 64, 44807, 10, 65, 62, 15885, 87, 62, 60, 9, 7, 32, 44807, 10, 33, 62, 15885, 87, 62, 20679, 7, 50, 80, 17034, 58, 66, 44807, 10, 67, 62, 15885, 87, 62, 60, 9, 50, 80, 17034, 58, 68, 44807, 10, 69, 62, 15885, 87, 62, 2361, 9, 50, 80, 17034, 58, 70, 44807, 10, 71, 62, 15885, 87, 62, 46570, 87, 62, 13940, 23650, 60, 19039, 220, 347, 9, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 60, 29006, 69, 9, 71, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 12962, 532, 347, 9, 7, 65, 9, 70, 12, 64, 9, 71, 20679, 7, 17, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 29006, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 289, 9, 87, 46570, 87, 60, 1343, 347, 9, 7, 67, 9, 68, 12, 66, 9, 69, 27493, 7, 67, 9, 70, 12, 66, 9, 71, 20679, 7, 17, 9, 67, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 14, 19510, 66, 10, 67, 9, 87, 8, 61, 7, 18, 14, 17, 27493, 50, 80, 17034, 58, 304, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 46570, 87, 60, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 11, 70, 11, 71, 11, 32, 11, 33, 5512, 87, 60, 11405, 220, 412, 80, 48, 58, 17, 9, 32, 9, 67, 9, 69, 12, 33, 9, 7, 67, 9, 68, 10, 66, 9, 69, 828, 15, 60, 31936, 198, 2, 20789, 2558, 58, 22345, 19039, 357, 23029, 2162, 14, 357, 23029, 31936, 198, 2, 10563, 23893, 15582, 1088, 300, 11994, 19039, 9529, 82, 2162, 14, 6419, 31936, 9605, 2912, 15582, 198, 2, 9022, 1724, 356, 423, 362, 14599, 76, 945, 25, 198, 2, 8913, 352, 25, 198, 2, 357, 61, 5317, 13, 10091, 19039, 20262, 28988, 1220, 26, 20262, 28988, 198, 2, 8913, 362, 25, 198, 2, 20789, 357, 5317, 13, 10091, 19039, 20262, 10, 5769, 91, 11139, 26, 20262, 10, 4008, 220, 198, 2, 198, 2235, 36817, 35354, 25, 198, 2, 2080, 262, 1037, 286, 797, 25636, 8784, 13, 785, 25, 198, 2, 357, 5317, 13, 28988, 19039, 20262, 10, 5769, 27514, 3467, 14, 26, 3467, 9, 59, 4008, 198, 2, 10563, 4743, 672, 300, 11994, 11, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10563, 4743, 672, 9529, 82, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10563, 4743, 672, 6419, 11, 611, 597, 2152, 11, 8856, 611, 340, 1595, 470, 198, 2, 3914, 338, 783, 3551, 617, 5254, 329, 262, 40364, 13, 198, 260, 469, 742, 395, 796, 685, 198, 15931, 18109, 9, 7904, 7004, 5458, 3712, 2601, 1335, 3712, 31936, 15931, 1600, 198, 15931, 18109, 9, 352, 13, 16, 13, 16, 13, 16, 357, 64, 10, 65, 2124, 8, 61, 76, 31936, 15931, 1600, 198, 37811, 5317, 58, 16, 14, 87, 62, 11, 2124, 62, 13940, 23650, 60, 19039, 5972, 58, 87, 60, 15931, 1600, 198, 15931, 18109, 9, 2558, 58, 50, 80, 17034, 58, 64, 44807, 10, 65, 62, 15885, 87, 62, 60, 9, 7, 32, 44807, 10, 33, 62, 15885, 87, 62, 20679, 7, 50, 80, 17034, 58, 66, 44807, 10, 67, 62, 15885, 87, 62, 60, 9, 50, 80, 17034, 58, 68, 44807, 10, 69, 62, 15885, 87, 62, 2361, 9, 50, 80, 17034, 58, 70, 44807, 10, 71, 62, 15885, 87, 62, 46570, 87, 62, 13940, 23650, 60, 19039, 220, 347, 9, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 60, 29006, 69, 9, 71, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 12962, 532, 347, 9, 7, 65, 9, 70, 12, 64, 9, 71, 20679, 7, 18, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 29006, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 289, 9, 87, 46570, 87, 60, 1343, 347, 9, 7, 67, 9, 68, 12, 66, 9, 69, 27493, 7, 67, 9, 70, 12, 66, 9, 71, 20679, 7, 17, 9, 67, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 14, 19510, 66, 10, 67, 9, 87, 8, 61, 7, 18, 14, 17, 27493, 50, 80, 17034, 58, 304, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 46570, 87, 60, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 11, 70, 11, 71, 11, 32, 11, 33, 5512, 87, 60, 11405, 220, 412, 80, 48, 58, 17, 9, 32, 9, 67, 9, 69, 12, 33, 9, 7, 67, 9, 68, 10, 66, 9, 69, 828, 15, 60, 31936, 15931, 1600, 198, 15931, 18109, 9, 2558, 58, 50, 80, 17034, 58, 64, 44807, 10, 65, 62, 15885, 87, 62, 60, 9, 7, 32, 44807, 10, 33, 62, 15885, 87, 62, 20679, 7, 50, 80, 17034, 58, 66, 44807, 10, 67, 62, 15885, 87, 62, 60, 9, 50, 80, 17034, 58, 68, 44807, 10, 69, 62, 15885, 87, 62, 2361, 9, 50, 80, 17034, 58, 70, 44807, 10, 71, 62, 15885, 87, 62, 46570, 87, 62, 13940, 23650, 60, 19039, 220, 347, 9, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 60, 29006, 69, 9, 71, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 12962, 532, 347, 9, 7, 65, 9, 70, 12, 64, 9, 71, 20679, 7, 17, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 29006, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 289, 9, 87, 46570, 87, 60, 1343, 347, 9, 7, 67, 9, 68, 12, 66, 9, 69, 27493, 7, 67, 9, 70, 12, 66, 9, 71, 20679, 7, 17, 9, 67, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 14, 19510, 66, 10, 67, 9, 87, 8, 61, 7, 18, 14, 17, 27493, 50, 80, 17034, 58, 304, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 46570, 87, 60, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 11, 70, 11, 71, 11, 32, 11, 33, 5512, 87, 60, 11405, 220, 412, 80, 48, 58, 17, 9, 32, 9, 67, 9, 69, 12, 33, 9, 7, 67, 9, 68, 10, 66, 9, 69, 828, 15, 60, 31936, 15931, 1600, 198, 15931, 18109, 9, 2558, 58, 16, 29006, 64, 62, 10, 65, 62, 15885, 87, 62, 61, 20, 828, 87, 62, 13940, 23650, 60, 19039, 2080, 58, 90, 81, 28, 45, 6975, 1352, 58, 49, 83, 58, 64, 14, 65, 11, 20, 60, 4357, 220, 264, 28, 21306, 6351, 1352, 58, 49, 83, 58, 64, 14, 65, 11, 20, 11907, 5512, 374, 29006, 20, 9, 64, 27493, 5317, 58, 16, 29006, 81, 10, 82, 9, 87, 828, 87, 60, 1343, 362, 9, 81, 29006, 20, 9, 64, 27493, 5317, 58, 7, 81, 12, 16, 14, 19, 9, 7, 16, 12, 50, 80, 17034, 58, 20, 12962, 9, 82, 9, 87, 20679, 7, 81, 61, 17, 12, 16, 14, 17, 9, 7, 16, 12, 50, 80, 17034, 58, 20, 12962, 9, 81, 9, 82, 9, 87, 10, 82, 61, 362, 9, 87, 61, 17, 828, 87, 60, 1343, 362, 9, 81, 29006, 20, 9, 64, 27493, 5317, 58, 7, 81, 12, 16, 14, 19, 9, 7, 16, 10, 50, 80, 17034, 58, 20, 12962, 9, 82, 9, 87, 20679, 7, 81, 61, 17, 12, 16, 14, 17, 9, 7, 16, 10, 50, 80, 17034, 58, 20, 12962, 9, 81, 9, 82, 9, 87, 10, 82, 61, 362, 9, 87, 61, 17, 828, 87, 11907, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 5512, 87, 60, 11405, 18574, 48, 58, 64, 14, 65, 60, 31936, 15931, 1600, 198, 15931, 18109, 9, 2558, 58, 16, 14, 50, 80, 17034, 58, 64, 62, 10, 65, 62, 15885, 87, 62, 61, 18, 4357, 87, 62, 13940, 23650, 60, 19039, 2080, 58, 90, 80, 28, 49, 83, 58, 65, 14, 64, 11, 18, 60, 5512, 532, 50, 80, 17034, 58, 17, 60, 9, 7, 16, 10, 50, 80, 17034, 58, 18, 12962, 9, 7, 16, 10, 50, 80, 17034, 58, 18, 48688, 80, 9, 87, 8, 61, 17, 9, 50, 80, 17034, 58, 7, 16, 10, 80, 61, 18, 9, 87, 61, 18, 20679, 7, 16, 10, 50, 80, 17034, 58, 18, 48688, 10662, 9, 87, 8, 61, 19, 60, 29006, 18, 61, 7, 16, 14, 19, 27493, 80, 9, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 61, 18, 12962, 9, 7122, 10257, 291, 37, 58, 24021, 46200, 58, 32590, 16, 10, 50, 80, 17034, 58, 18, 45297, 80, 9, 87, 20679, 7, 16, 10, 50, 80, 17034, 58, 18, 48688, 80, 9, 87, 8, 4357, 12, 22, 12, 19, 9, 50, 80, 17034, 58, 18, 11907, 60, 220, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 5512, 87, 60, 11405, 18574, 48, 58, 64, 60, 31936, 15931, 1600, 198, 15931, 18109, 9, 2558, 58, 50, 80, 17034, 58, 66, 62, 10, 67, 62, 15885, 87, 62, 61, 17, 60, 14, 19510, 64, 62, 10, 65, 62, 15885, 87, 62, 61, 17, 27493, 50, 80, 17034, 58, 68, 62, 10, 69, 62, 15885, 87, 62, 61, 17, 46570, 87, 62, 13940, 23650, 60, 19039, 220, 220, 311, 80, 17034, 58, 66, 10, 67, 9, 87, 61, 17, 60, 9, 50, 80, 17034, 58, 66, 9, 7, 68, 10, 69, 9, 87, 61, 17, 20679, 7, 68, 9, 7, 66, 10, 67, 9, 87, 61, 17, 4008, 60, 29006, 64, 9, 49, 83, 58, 67, 14, 66, 11, 17, 60, 9, 50, 80, 17034, 58, 68, 10, 69, 9, 2124, 61, 17, 12962, 9, 7122, 10257, 291, 38729, 58, 16, 12, 65, 9, 66, 29006, 64, 9, 67, 828, 24021, 45557, 58, 49, 83, 58, 67, 14, 66, 11, 17, 60, 9, 87, 4357, 16, 12, 66, 9, 69, 29006, 67, 9, 68, 15437, 1220, 26, 220, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 5512, 87, 60, 11405, 18574, 48, 58, 67, 14, 66, 60, 31936, 15931, 8973, 26, 198, 198, 2235, 6350, 262, 12520, 234, 254, 5536, 4325, 12520, 234, 254, 198, 600, 38785, 260, 25636, 37473, 796, 374, 18109, 5317, 13, 28988, 19039, 20262, 28988, 3467, 14, 26, 20262, 10, 5769, 27514, 3467, 9, 59, 4008, 8172, 198, 600, 38785, 260, 25636, 36439, 796, 374, 1, 61, 7, 5317, 13, 28988, 19039, 20262, 28988, 8172, 198, 23893, 9288, 796, 13538, 18109, 9, 2558, 58, 50, 80, 17034, 58, 64, 44807, 10, 65, 62, 15885, 87, 62, 60, 9, 7, 32, 44807, 10, 33, 62, 15885, 87, 62, 20679, 7, 50, 80, 17034, 58, 66, 44807, 10, 67, 62, 15885, 87, 62, 60, 9, 50, 80, 17034, 58, 68, 44807, 10, 69, 62, 15885, 87, 62, 2361, 9, 50, 80, 17034, 58, 70, 44807, 10, 71, 62, 15885, 87, 62, 46570, 87, 62, 13940, 23650, 60, 19039, 220, 347, 9, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 60, 29006, 69, 9, 71, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 12962, 532, 347, 9, 7, 65, 9, 70, 12, 64, 9, 71, 20679, 7, 17, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 68, 10, 69, 9, 87, 60, 29006, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 9, 50, 80, 17034, 58, 66, 10, 67, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 289, 9, 87, 46570, 87, 60, 1343, 347, 9, 7, 67, 9, 68, 12, 66, 9, 69, 27493, 7, 67, 9, 70, 12, 66, 9, 71, 20679, 7, 17, 9, 67, 9, 69, 9, 71, 27493, 5317, 58, 50, 80, 17034, 58, 64, 10, 65, 9, 87, 60, 14, 19510, 66, 10, 67, 9, 87, 8, 61, 7, 18, 14, 17, 27493, 50, 80, 17034, 58, 304, 10, 69, 9, 87, 60, 9, 50, 80, 17034, 58, 70, 10, 71, 9, 87, 46570, 87, 60, 1220, 26, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 11, 70, 11, 71, 11, 32, 11, 33, 5512, 87, 60, 11405, 220, 412, 80, 48, 58, 17, 9, 32, 9, 67, 9, 69, 12, 33, 9, 7, 67, 9, 68, 10, 66, 9, 69, 828, 15, 60, 31936, 15931, 8172, 198, 198, 2235, 797, 25636, 5254, 198, 2, 402, 12375, 787, 1654, 356, 389, 40066, 13886, 510, 262, 1243, 356, 1337, 546, 11, 1231, 1165, 881, 4630, 701, 13, 198, 43933, 25636, 796, 2872, 12195, 600, 38785, 260, 25636, 36439, 11, 302, 469, 742, 395, 1776, 198, 38785, 260, 25636, 796, 2872, 12195, 600, 38785, 260, 25636, 37473, 11, 302, 469, 742, 395, 1776, 198, 31, 9288, 318, 22366, 7, 43933, 25636, 58, 16, 12962, 198, 31, 9288, 318, 22366, 7, 43933, 25636, 58, 17, 12962, 198, 31, 9288, 410, 260, 25636, 58, 18, 4083, 27144, 942, 58, 16, 60, 6624, 366, 5317, 58, 16, 14, 87, 62, 11, 2124, 62, 13940, 23650, 30866, 198, 31, 9288, 410, 260, 25636, 58, 18, 4083, 27144, 942, 58, 17, 60, 6624, 366, 11187, 58, 87, 30866, 198, 31, 9288, 3173, 260, 25636, 58, 437, 4083, 27144, 942, 58, 18, 60, 6624, 366, 3232, 48, 58, 90, 64, 11, 65, 11, 66, 11, 67, 11, 68, 11, 69, 5512, 87, 60, 11405, 18574, 48, 58, 67, 14, 66, 30866, 198, 198, 37811, 198, 2, 32112, 82, 329, 32096, 198, 12, 49511, 287, 17856, 351, 32112, 31431, 13, 20362, 290, 30231, 2279, 656, 257, 19449, 198, 12, 23948, 25, 198, 197, 6978, 3672, 25, 10903, 198, 197, 34345, 25, 10903, 198, 197, 81, 377, 268, 4494, 25, 2558, 198, 197, 785, 12061, 25, 347, 970, 198, 197, 75, 11994, 25, 10903, 198, 197, 81, 11994, 25, 10903, 198, 197, 70, 452, 641, 25, 10903, 357, 1662, 22037, 1096, 8, 198, 37811, 198, 14881, 13, 31, 46265, 4299, 2878, 2558, 31929, 49630, 198, 197, 6978, 3672, 3712, 10100, 796, 13538, 198, 197, 34345, 3712, 10100, 796, 13538, 198, 197, 81, 377, 268, 4494, 3712, 5317, 796, 13538, 198, 197, 23893, 3712, 33, 970, 796, 2081, 198, 197, 81, 11994, 3712, 10100, 796, 13538, 198, 197, 75, 11994, 3712, 10100, 796, 13538, 198, 197, 70, 452, 641, 3712, 10100, 197, 796, 13538, 198, 437, 198, 198, 2235, 47105, 28129, 5499, 329, 1568, 198, 75, 11994, 7, 11128, 3712, 3041, 25636, 23850, 8, 796, 1451, 13, 27144, 942, 58, 16, 60, 198, 81, 11994, 7, 11128, 3712, 3041, 25636, 23850, 8, 796, 1451, 13, 27144, 942, 58, 17, 60, 198, 70, 452, 641, 7, 11128, 3712, 3041, 25636, 23850, 8, 796, 1451, 13, 27144, 942, 58, 18, 60, 198, 271, 785, 12061, 7, 11128, 3712, 3041, 25636, 23850, 8, 796, 923, 2032, 342, 7, 11128, 13, 27144, 942, 58, 16, 4357, 705, 10786, 8, 198, 198, 2, 23412, 25, 317, 2393, 198, 2, 25235, 25, 1052, 7177, 286, 2878, 82, 588, 2558, 31929, 49630, 198, 2, 16926, 46, 25, 11291, 503, 3896, 3146, 198, 8818, 7308, 13, 29572, 7, 7753, 11, 7904, 6030, 90, 21312, 72, 37766, 30072, 198, 197, 260, 25636, 796, 374, 18109, 5317, 13, 28988, 19039, 20262, 28988, 3467, 14, 26, 20262, 10, 5769, 3467, 9, 59, 4008, 1701, 198, 197, 2, 31793, 262, 3951, 326, 4197, 262, 40364, 11, 14267, 262, 6565, 3392, 11, 1234, 340, 477, 656, 220, 198, 197, 2, 257, 1263, 7177, 13, 402, 12375, 1842, 22300, 0, 198, 197, 27979, 796, 685, 72, 329, 1312, 287, 2872, 12195, 260, 25636, 11, 1100, 6615, 7, 7753, 4008, 611, 5145, 271, 22366, 7, 72, 15437, 198, 197, 19279, 11994, 796, 300, 11994, 12195, 27979, 8, 198, 197, 37020, 11994, 796, 9529, 82, 12195, 27979, 8, 198, 197, 45119, 452, 641, 796, 308, 452, 641, 12195, 27979, 8, 198, 197, 85, 15944, 796, 318, 785, 12061, 12195, 27979, 8, 198, 197, 25089, 72, 796, 24127, 1, 21312, 72, 1, 198, 197, 6978, 796, 823, 6978, 7, 7753, 11, 6437, 72, 8, 1303, 13268, 428, 3298, 30, 198, 197, 34345, 796, 6626, 6978, 7, 7753, 38381, 437, 60, 198, 197, 2, 1081, 15140, 290, 1441, 12520, 241, 99, 2343, 252, 94, 198, 197, 58, 5317, 31929, 49630, 7, 6978, 3672, 796, 3108, 11, 220, 198, 197, 197, 197, 197, 197, 34345, 796, 29472, 11, 198, 197, 197, 197, 197, 197, 81, 377, 268, 4494, 796, 657, 11, 220, 198, 197, 197, 197, 197, 197, 75, 11994, 796, 410, 75, 11994, 58, 72, 4357, 220, 198, 197, 197, 197, 197, 197, 81, 11994, 796, 410, 81, 11994, 58, 72, 4357, 198, 197, 197, 197, 197, 197, 70, 452, 641, 796, 410, 70, 452, 641, 58, 72, 4357, 198, 197, 197, 197, 197, 197, 23893, 796, 410, 15944, 58, 72, 12962, 329, 1312, 287, 352, 25, 13664, 7, 27979, 15437, 198, 437, 198, 198, 2235, 23983, 2147, 338, 275, 967, 276, 351, 4917, 262, 3696, 290, 1642, 257, 12200, 8979, 286, 606, 198, 600, 16624, 796, 6437, 312, 343, 14692, 21312, 72, 12, 19, 13, 1433, 13, 16, 13, 15, 14, 21312, 72, 14, 34500, 1358, 37766, 8973, 26, 198, 79, 945, 276, 7249, 82, 796, 9220, 51, 6037, 13, 2220, 7, 600, 16624, 8, 466, 2393, 198, 197, 29572, 7, 8841, 7, 6978, 7, 7753, 36911, 6256, 72, 37766, 8, 198, 437, 26, 198, 85, 7249, 82, 796, 4646, 27160, 7, 85, 9246, 11, 44267, 7249, 82, 1776, 198, 31, 9288, 4317, 2624, 6624, 4129, 7, 85, 7249, 82, 8, 198, 198, 37811, 198, 8912, 82, 262, 6256, 72, 37766, 656, 257, 15879, 13, 198, 6214, 4600, 5317, 31929, 49630, 63, 329, 262, 7032, 13, 198, 1135, 779, 9220, 51, 6037, 13, 20362, 11, 523, 3599, 22300, 351, 3294, 14390, 815, 2866, 428, 510, 11, 198, 4360, 340, 5300, 588, 340, 714, 307, 5443, 2644, 5633, 198, 37811, 198, 8818, 3440, 7, 3712, 6030, 90, 21312, 72, 37766, 30072, 198, 197, 25089, 72, 796, 24127, 1, 21312, 72, 1, 198, 197, 600, 16624, 796, 4654, 6978, 7, 25089, 72, 11, 366, 21312, 72, 12, 19, 13, 1433, 13, 16, 13, 15, 1600, 366, 21312, 72, 1600, 366, 34500, 1358, 37766, 4943, 198, 197, 16624, 796, 9220, 27660, 7, 600, 16624, 8, 198, 197, 79, 945, 276, 7249, 82, 796, 9220, 51, 6037, 13, 2220, 7, 16624, 8, 466, 2393, 198, 197, 197, 29572, 7, 8841, 7, 6978, 7, 7753, 36911, 6256, 72, 37766, 8, 198, 197, 437, 198, 197, 85, 7249, 82, 796, 4646, 27160, 7, 85, 9246, 11, 44267, 7249, 82, 8, 198, 197, 2154, 2624, 6624, 4129, 7, 85, 7249, 82, 8, 8614, 4049, 7203, 5492, 7995, 2488, 76, 328, 2731, 3247, 11, 1223, 468, 12520, 240, 98, 4943, 198, 197, 85, 7249, 82, 198, 437, 198, 198, 2235, 22183, 284, 19449, 0, 1629, 938, 0, 198, 2, 2896, 3191, 428, 3892, 422, 262, 19449, 18, 10314, 198, 44909, 31431, 13, 44909, 6030, 7, 3712, 6030, 90, 5317, 31929, 49630, 30072, 796, 32112, 31431, 13, 44909, 9783, 198, 2, 1114, 28769, 198, 2, 17752, 796, 19449, 18, 13, 13564, 7, 85, 7249, 82, 1776, 198, 37811, 198, 16594, 4600, 85, 7249, 82, 63, 656, 257, 4600, 600, 38785, 13, 17752, 63, 2393, 287, 34599, 13, 20362, 14, 10677, 11, 810, 4600, 85, 7249, 82, 63, 198, 271, 5447, 355, 198, 15506, 63, 73, 43640, 198, 85, 7249, 82, 796, 3440, 7, 21312, 72, 37766, 8, 198, 15506, 63, 198, 37811, 198, 8818, 3551, 7, 85, 7249, 82, 3712, 38469, 90, 5317, 31929, 49630, 5512, 7904, 6030, 90, 21312, 72, 37766, 30072, 198, 197, 2, 6877, 8171, 284, 12806, 16109, 290, 262, 1303, 7890, 7706, 198, 197, 2, 9938, 262, 34599, 6808, 26672, 287, 281, 7294, 4795, 835, 198, 197, 16793, 6978, 796, 4654, 6978, 7, 35339, 15908, 7, 21312, 259, 828, 366, 10677, 1600, 366, 25089, 343, 5028, 13, 17752, 4943, 198, 197, 2, 19449, 18, 835, 284, 3551, 284, 257, 2393, 351, 12520, 240, 225, 2495, 13570, 12520, 240, 225, 198, 197, 9654, 7, 16793, 6978, 11, 366, 86, 4943, 466, 277, 198, 197, 197, 40386, 18, 13, 37784, 7, 69, 11, 19449, 18, 13, 13564, 7, 85, 7249, 82, 4008, 198, 197, 197, 35235, 7, 69, 8, 198, 197, 437, 198, 437, 198, 198, 29113, 29113, 2235, 198, 2235, 7006, 362, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 383, 36780, 1655, 6, 5254, 198, 2, 198, 2, 10351, 23333, 25, 2343, 248, 121, 198, 2, 16, 13, 4149, 6550, 23380, 64, 13940, 41641, 14402, 5606, 578, 656, 257, 3236, 19449, 15690, 198, 2, 17, 13, 3060, 20150, 11, 6419, 11, 1271, 11, 29472, 11, 1332, 1271, 198, 2, 18, 13, 12793, 284, 257, 2060, 2393, 13, 198, 2, 198, 2235, 5740, 25, 1119, 1624, 767, 1959, 2598, 5254, 2472, 287, 262, 3052, 11, 220, 198, 2, 475, 356, 1276, 1337, 546, 262, 3392, 326, 389, 16476, 198, 2, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12520, 240, 103, 16888, 379, 767, 1959, 5333, 12520, 240, 103, 11, 220, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 351, 352, 3548, 220, 220, 220, 220, 220, 220, 220, 4814, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27648, 647, 1492, 4814, 198, 29113, 29113, 2235, 198, 198, 2235, 797, 25636, 5254, 198, 2, 833, 17479, 11, 17753, 787, 1654, 356, 836, 470, 2051, 597, 286, 606, 0, 198, 600, 41989, 796, 220, 198, 14692, 90, 50, 80, 17034, 58, 17, 9, 87, 1343, 352, 4357, 2124, 11, 352, 11, 357, 16, 14, 18, 27493, 7, 16, 1343, 362, 9, 87, 8, 61, 7, 18, 14, 17, 38165, 1600, 198, 18109, 9, 1391, 50, 80, 17034, 58, 17, 9, 87, 1343, 352, 4357, 2124, 11, 352, 11, 357, 16, 14, 18, 27493, 7, 16, 1343, 362, 9, 87, 8, 61, 7, 18, 14, 17, 38165, 31936, 8973, 26, 198, 600, 9288, 260, 25636, 796, 374, 1, 90, 7, 13, 10, 828, 7, 13, 10, 828, 7, 13, 10, 828, 7, 13, 28988, 92, 8172, 198, 411, 796, 2872, 12195, 600, 9288, 260, 25636, 11, 493, 41989, 1776, 198, 31, 9288, 581, 58, 16, 4083, 27144, 942, 58, 16, 60, 6624, 366, 50, 80, 17034, 58, 17, 9, 87, 1343, 352, 30866, 198, 31, 9288, 581, 58, 16, 4083, 27144, 942, 58, 17, 60, 6624, 366, 2124, 1, 198, 31, 9288, 581, 58, 16, 4083, 27144, 942, 58, 18, 60, 6624, 366, 352, 1, 198, 31, 9288, 581, 58, 16, 4083, 27144, 942, 58, 19, 60, 6624, 366, 357, 16, 14, 18, 27493, 7, 16, 1343, 362, 9, 87, 8, 61, 7, 18, 14, 17, 16725, 198, 31, 9288, 581, 58, 17, 4083, 27144, 942, 58, 16, 60, 6624, 366, 50, 80, 17034, 58, 17, 9, 87, 1343, 352, 30866, 198, 31, 9288, 581, 58, 17, 4083, 27144, 942, 58, 17, 60, 6624, 366, 2124, 1, 198, 31, 9288, 581, 58, 17, 4083, 27144, 942, 58, 18, 60, 6624, 366, 352, 1, 198, 31, 9288, 581, 58, 17, 4083, 27144, 942, 58, 19, 60, 6624, 366, 357, 16, 14, 18, 27493, 7, 16, 1343, 362, 9, 87, 8, 61, 7, 18, 14, 17, 16725, 198, 198, 2235, 48900, 40364, 198, 2, 775, 1183, 1884, 761, 617, 20150, 284, 30885, 2356, 618, 19698, 262, 2438, 8692, 13, 198, 2, 770, 815, 1037, 24237, 617, 286, 883, 936, 956, 13, 198, 25677, 260, 25636, 796, 374, 1, 59, 38016, 9, 7, 13, 10, 19415, 9, 22725, 8172, 198, 31, 9288, 2872, 7, 25677, 260, 25636, 11, 30629, 9, 34500, 81, 1746, 286, 262, 1296, 2124, 61, 76, 12280, 11187, 58, 77, 11, 257, 2124, 61, 80, 60, 28104, 11074, 27144, 942, 58, 16, 60, 6624, 366, 34500, 81, 1746, 286, 262, 1296, 2124, 61, 76, 12280, 11187, 58, 77, 11, 257, 2124, 61, 80, 30866, 198, 198, 37811, 198, 27565, 5128, 25, 1391, 50, 80, 17034, 58, 17, 9, 87, 1343, 352, 4357, 2124, 11, 220, 220, 352, 11, 357, 16, 14, 18, 27493, 7, 16, 1343, 362, 9, 87, 8, 61, 7, 18, 14, 17, 38165, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10563, 22766, 197, 197, 220, 220, 220, 10563, 7785, 10563, 20214, 220, 220, 220, 220, 220, 10563, 8738, 4402, 3280, 198, 2, 24550, 25, 220, 198, 70, 7856, 29513, 9, 1391, 6, 930, 266, 66, 39382, 40654, 16476, 2663, 379, 640, 286, 3597, 198, 198, 2, 23948, 25, 198, 197, 12, 29472, 198, 197, 12, 3108, 198, 197, 12, 13639, 198, 197, 12, 4132, 25192, 198, 197, 12, 7885, 198, 197, 12, 4831, 198, 197, 12, 16586, 198, 197, 12, 318, 23893, 198, 37811, 198, 14881, 13, 31, 46265, 4299, 2878, 2558, 31929, 14402, 198, 197, 34345, 3712, 10100, 796, 15931, 198, 197, 6978, 3712, 10100, 796, 13538, 198, 197, 18908, 25192, 3712, 10100, 796, 13538, 198, 197, 45286, 3712, 10100, 796, 13538, 198, 197, 20214, 3712, 10100, 796, 13538, 1303, 9425, 1654, 11, 428, 714, 307, 281, 2558, 475, 314, 1101, 12520, 237, 230, 4000, 889, 13, 198, 197, 8738, 4402, 3712, 10100, 796, 13538, 198, 197, 271, 23893, 3712, 33, 970, 796, 3991, 198, 437, 198, 198, 2, 13639, 25, 4731, 532, 284, 3601, 1332, 2617, 290, 2488, 292, 13361, 7652, 198, 2, 5254, 25, 38692, 90, 5317, 31929, 14402, 92, 532, 284, 3551, 477, 262, 5254, 198, 14881, 13, 31, 46265, 4299, 2878, 2558, 31929, 14402, 16375, 198, 197, 34345, 3712, 10100, 796, 13538, 198, 197, 6978, 3712, 10100, 796, 13538, 198, 197, 25677, 3712, 10100, 796, 13538, 198, 197, 41989, 3712, 38469, 90, 5317, 31929, 14402, 92, 796, 2558, 31929, 14402, 21737, 198, 437, 198, 198, 37811, 198, 352, 13, 9938, 717, 1627, 326, 318, 407, 4600, 48267, 1326, 47671, 21136, 290, 4574, 656, 262, 13639, 198, 362, 13, 3454, 333, 79, 262, 8840, 4132, 30691, 11, 8006, 606, 656, 257, 15879, 286, 4600, 5317, 31929, 14402, 63, 82, 198, 513, 13, 1649, 345, 8791, 257, 13639, 326, 318, 1180, 422, 262, 2180, 11, 1234, 220, 198, 197, 197, 439, 262, 2180, 2558, 31929, 51, 3558, 656, 257, 4600, 5317, 14402, 16375, 49630, 63, 7177, 198, 197, 13847, 364, 25, 1318, 318, 881, 20150, 588, 4600, 46491, 299, 1875, 657, 31936, 63, 290, 4600, 46491, 34500, 81, 1746, 2644, 1267, 63, 198, 197, 1135, 836, 470, 18869, 3714, 326, 1497, 611, 1744, 198, 2, 16926, 46, 25, 38575, 20150, 351, 262, 24697, 287, 262, 2393, 198, 2396, 326, 1332, 2617, 46282, 460, 1645, 198, 37811, 198, 8818, 7308, 13, 29572, 7, 7753, 11, 7904, 6030, 90, 21312, 72, 51, 3558, 30072, 198, 197, 2, 16926, 46, 751, 46282, 284, 6352, 549, 23946, 198, 197, 2, 770, 40364, 1278, 8158, 510, 2279, 20789, 24441, 14574, 21357, 13940, 41641, 28104, 198, 197, 25677, 260, 25636, 796, 374, 1, 59, 38016, 9, 7, 13, 10, 19415, 9, 59, 16725, 198, 197, 2, 770, 40364, 1278, 8158, 510, 262, 604, 12784, 287, 1391, 64, 11, 18982, 11, 2339, 11, 5661, 92, 198, 197, 2, 16926, 46, 13268, 883, 642, 4814, 2663, 287, 2071, 198, 197, 2, 493, 9288, 260, 25636, 796, 374, 1, 90, 7, 13, 10, 828, 7, 13, 10, 828, 7, 13, 10, 828, 7, 13, 10, 19427, 36786, 198, 197, 600, 9288, 260, 25636, 796, 374, 1, 198, 220, 220, 220, 1391, 7, 13, 10, 828, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23007, 4132, 25192, 198, 220, 220, 220, 3467, 82, 30, 26933, 64, 12, 89, 12962, 59, 82, 21747, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23007, 7885, 357, 29762, 3850, 8, 198, 220, 220, 220, 3467, 82, 30, 19510, 30, 21912, 30, 58, 15, 12, 24, 59, 82, 48688, 14726, 7, 27514, 1532, 59, 58, 59, 3, 14815, 15057, 58, 29, 28, 27, 60, 90, 16, 11, 18, 92, 58, 20995, 59, 82, 59, 67, 60, 9, 59, 60, 4008, 1303, 23007, 4831, 357, 17618, 393, 10628, 15057, 2198, 8, 220, 198, 220, 220, 220, 357, 27514, 11, 7, 13, 10, 4008, 30, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 8006, 5907, 16586, 1255, 611, 340, 7160, 198, 220, 220, 220, 366, 87, 198, 197, 25089, 72, 796, 24127, 1, 21312, 72, 51, 3558, 1, 198, 197, 6978, 796, 823, 6978, 7, 7753, 8, 628, 197, 25677, 796, 13538, 198, 197, 41989, 796, 2558, 31929, 14402, 21737, 198, 197, 1640, 1627, 287, 1100, 6615, 7, 7753, 8, 198, 197, 197, 2, 32214, 262, 4600, 46491, 7904, 7004, 5458, 986, 63, 290, 4600, 46491, 7904, 7004, 7266, 5458, 986, 63, 3951, 198, 197, 197, 271, 28920, 7, 1370, 8, 11405, 2555, 197, 198, 197, 197, 9688, 2032, 342, 7, 1370, 11, 30629, 9, 7904, 4943, 11405, 2555, 198, 197, 197, 2, 1002, 340, 338, 257, 1332, 11, 4574, 340, 198, 197, 197, 361, 8833, 259, 7, 81, 1, 90, 1600, 1627, 8, 11405, 8833, 259, 7, 81, 20662, 1600, 1627, 8, 198, 197, 197, 197, 197, 2, 16926, 46, 33141, 428, 1365, 30, 775, 821, 6078, 1321, 994, 198, 197, 197, 197, 197, 2, 8673, 4375, 257, 18911, 284, 262, 2665, 393, 8371, 318, 922, 198, 197, 197, 197, 28311, 198, 197, 197, 197, 197, 76, 796, 2872, 7, 600, 9288, 260, 25636, 11, 1627, 737, 27144, 942, 198, 197, 197, 197, 40198, 198, 197, 197, 197, 197, 31, 40539, 366, 600, 9288, 260, 25636, 750, 407, 8006, 493, 1332, 1627, 1, 198, 197, 197, 197, 197, 31, 40539, 1627, 198, 197, 197, 197, 197, 31, 40539, 2393, 198, 197, 197, 197, 197, 43043, 198, 197, 197, 197, 437, 198, 197, 197, 197, 76, 796, 2872, 7, 600, 9288, 260, 25636, 11, 1627, 737, 27144, 942, 628, 197, 197, 197, 2, 775, 761, 284, 760, 767, 1243, 25, 198, 197, 197, 197, 2, 352, 13, 4132, 25192, 198, 197, 197, 197, 2, 362, 13, 7885, 284, 19386, 198, 197, 197, 197, 2, 513, 13, 4831, 2077, 416, 6437, 72, 198, 197, 197, 197, 2, 604, 13, 16586, 3280, 198, 197, 197, 197, 2, 642, 13, 611, 340, 338, 16476, 198, 197, 197, 197, 2, 718, 13, 3108, 198, 197, 197, 197, 2, 767, 13, 29472, 198, 197, 197, 197, 18908, 25192, 11, 7885, 11, 4831, 11, 16586, 796, 357, 76, 986, 35751, 198, 197, 197, 197, 271, 23893, 796, 923, 2032, 342, 7, 1370, 11, 30629, 9, 1391, 4943, 198, 197, 197, 197, 6978, 796, 823, 6978, 7, 7753, 11, 6437, 72, 8, 1303, 13268, 428, 3298, 30, 198, 197, 197, 197, 34345, 796, 6626, 6978, 7, 7753, 38381, 437, 60, 198, 197, 197, 197, 2, 31, 10951, 366, 79, 7474, 284, 1332, 1, 198, 197, 197, 197, 14689, 0, 7, 41989, 11, 2558, 31929, 14402, 7, 18908, 25192, 796, 4132, 25192, 11, 7885, 796, 7885, 11, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 3108, 796, 3108, 11, 29472, 796, 220, 29472, 11, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 4831, 796, 4831, 11, 16586, 796, 4731, 7, 8738, 4402, 828, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 318, 23893, 796, 318, 23893, 4008, 198, 197, 197, 17772, 361, 923, 2032, 342, 7203, 46491, 1600, 1627, 8, 11405, 886, 2032, 342, 7203, 28104, 1600, 1627, 8, 198, 197, 197, 2, 12520, 228, 247, 10133, 262, 13639, 198, 197, 197, 197, 25677, 796, 2872, 7, 25677, 260, 25636, 11, 1627, 737, 27144, 942, 58, 16, 60, 198, 197, 197, 17772, 220, 198, 197, 197, 197, 43043, 198, 197, 197, 437, 198, 197, 437, 198, 197, 2, 11436, 0, 23691, 262, 938, 2665, 0, 198, 197, 41989, 198, 437, 198, 198, 2235, 6208, 262, 1332, 32096, 2163, 198, 2, 4362, 326, 318, 530, 442, 261, 2584, 1489, 4178, 198, 2, 9288, 7753, 796, 12813, 11195, 14, 76, 41345, 11757, 73, 43640, 14, 50179, 14, 1157, 2780, 66, 7012, 1507, 67, 3609, 17, 69, 4531, 2670, 1878, 23, 15630, 4051, 1828, 2091, 64, 2780, 535, 3682, 12993, 1129, 14, 19044, 23380, 64, 13940, 41641, 14402, 5606, 578, 12, 19, 13, 1433, 13, 15, 14, 20, 554, 4399, 5192, 5499, 14, 20, 13, 20, 554, 4399, 792, 415, 14, 20, 13, 20, 13, 17, 554, 4399, 792, 415, 5499, 13, 76, 8172, 198, 9288, 7753, 796, 366, 79, 945, 316, 395, 13, 76, 1, 198, 36540, 3558, 796, 21136, 7, 9288, 7753, 11, 6256, 72, 51, 3558, 8, 198, 31, 9288, 4129, 7, 36540, 3558, 8, 6624, 1367, 198, 31, 9288, 410, 41989, 58, 18, 4083, 271, 23893, 198, 31, 9288, 410, 41989, 58, 24, 4083, 271, 23893, 628, 198, 2, 16926, 46, 16075, 503, 262, 15989, 198, 8818, 1064, 21048, 43551, 7, 3712, 6030, 90, 21312, 72, 37766, 30072, 198, 197, 25089, 72, 796, 24127, 1, 21312, 72, 1, 198, 197, 600, 16624, 796, 4654, 6978, 7, 25089, 72, 11, 366, 21312, 72, 12, 19, 13, 1433, 13, 16, 13, 15, 1600, 366, 21312, 72, 1600, 366, 34500, 1358, 37766, 4943, 198, 197, 16624, 796, 9220, 27660, 7, 600, 16624, 8, 198, 437, 198, 8818, 1064, 21048, 43551, 7, 3712, 6030, 90, 21312, 72, 51, 3558, 30072, 198, 197, 25089, 270, 3558, 796, 24127, 1, 21312, 72, 51, 3558, 1, 198, 197, 600, 16624, 796, 4654, 6978, 7, 25089, 270, 3558, 11, 366, 19044, 23380, 64, 13940, 41641, 14402, 5606, 578, 12, 19, 13, 1433, 13, 15, 4943, 198, 197, 16624, 796, 9220, 27660, 7, 600, 16624, 8, 198, 437, 198, 37811, 198, 197, 8912, 82, 262, 6256, 72, 37766, 656, 257, 15879, 13, 198, 6214, 4600, 5317, 14402, 50, 478, 507, 63, 329, 262, 7032, 13, 198, 37811, 198, 8818, 3440, 7, 3712, 6030, 90, 21312, 72, 51, 3558, 30072, 198, 197, 25089, 270, 3558, 796, 24127, 1, 21312, 72, 51, 3558, 1, 198, 197, 600, 16624, 796, 4654, 6978, 7, 25089, 270, 3558, 11, 366, 19044, 23380, 64, 13940, 41641, 14402, 5606, 578, 12, 19, 13, 1433, 13, 15, 4943, 198, 197, 9501, 796, 9220, 27660, 7, 600, 16624, 8, 198, 197, 2, 32104, 2761, 468, 281, 21388, 5794, 11, 766, 2071, 1303, 513, 198, 197, 26224, 7, 9501, 11, 374, 1, 43, 2149, 24290, 91, 15675, 11682, 13, 9132, 91, 54, 7834, 32093, 13, 76, 4943, 198, 197, 31, 10951, 43458, 198, 197, 79, 945, 276, 7249, 82, 796, 9220, 51, 6037, 13, 2220, 7, 9501, 8, 466, 2393, 198, 197, 197, 29572, 7, 8841, 7, 6978, 7, 7753, 36911, 6256, 72, 51, 3558, 8, 198, 197, 437, 198, 197, 36540, 3558, 796, 4646, 27160, 7, 85, 9246, 11, 44267, 7249, 82, 8, 198, 197, 48555, 5333, 6624, 4129, 7, 36540, 3558, 8, 8614, 4049, 7203, 5492, 7995, 2488, 76, 328, 2731, 3247, 11, 1223, 468, 12520, 240, 98, 4943, 198, 197, 36540, 3558, 198, 437, 198, 198, 36540, 3558, 796, 3440, 7, 21312, 72, 51, 3558, 1776, 198, 31, 9288, 4129, 7, 36540, 3558, 8, 6624, 767, 1959, 5333, 198, 198, 2, 1114, 19449, 18, 3597, 198, 44909, 31431, 13, 44909, 6030, 7, 3712, 6030, 90, 5317, 31929, 14402, 30072, 796, 32112, 31431, 13, 44909, 9783, 198, 198, 37811, 198, 16594, 4600, 36540, 3558, 63, 656, 257, 4600, 600, 41989, 13, 17752, 63, 2393, 287, 34599, 13, 20362, 14, 10677, 11, 810, 4600, 36540, 3558, 63, 198, 271, 5447, 355, 198, 15506, 63, 73, 43640, 198, 36540, 3558, 796, 3440, 7, 21312, 72, 37766, 8, 198, 15506, 63, 198, 37811, 198, 8818, 3551, 7, 36540, 3558, 3712, 38469, 90, 5317, 31929, 14402, 5512, 7904, 6030, 90, 21312, 72, 51, 3558, 30072, 198, 197, 2, 10983, 8171, 284, 12806, 16109, 12520, 236, 102, 290, 262, 1303, 7890, 7706, 198, 197, 2, 9938, 262, 34599, 6808, 26672, 287, 281, 7294, 4795, 835, 198, 197, 16793, 6978, 796, 4654, 6978, 7, 35339, 15908, 7, 21312, 259, 828, 366, 10677, 1600, 366, 25089, 270, 3558, 13, 17752, 4943, 198, 197, 2, 19449, 18, 835, 284, 3551, 284, 257, 2393, 351, 12520, 240, 225, 2495, 13570, 12520, 240, 225, 198, 197, 9654, 7, 16793, 6978, 11, 366, 86, 4943, 466, 277, 198, 197, 197, 40386, 18, 13, 37784, 7, 69, 11, 19449, 18, 13, 13564, 7, 36540, 3558, 4008, 198, 197, 197, 35235, 7, 69, 8, 198, 197, 437, 198, 437, 628, 198, 29113, 29113, 2235, 198, 2235, 7006, 513, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 370, 1659, 75, 859, 4613, 22300, 198, 2, 198, 2, 10351, 23333, 25, 2343, 248, 121, 220, 220, 220, 220, 198, 2, 352, 13, 16289, 30076, 25, 5254, 14, 25089, 270, 3558, 13, 20362, 351, 477, 262, 1332, 3696, 3194, 287, 8631, 22300, 198, 2, 197, 12, 18980, 3402, 2174, 198, 2, 362, 13, 16289, 30076, 25, 12351, 14, 25089, 343, 5028, 13, 20362, 351, 477, 262, 3173, 3194, 287, 8631, 22300, 198, 2, 220, 220, 532, 18980, 25, 905, 2174, 198, 2, 198, 2, 20010, 3694, 25, 198, 2, 352, 13, 6889, 257, 1402, 8633, 351, 6550, 23380, 64, 5218, 22300, 25231, 11, 220, 198, 2, 197, 4221, 1677, 2989, 290, 6330, 790, 4731, 319, 1111, 5389, 198, 2, 362, 13, 779, 257, 981, 9052, 351, 262, 2186, 330, 654, 11, 611, 340, 1595, 470, 1487, 467, 319, 13, 198, 2, 440, 46, 30737, 198, 2, 220, 532, 1439, 1257, 290, 1830, 1566, 412, 61, 87, 290, 412, 61, 7, 87, 10, 17, 8, 3751, 510, 532, 10061, 703, 284, 1730, 220, 198, 2, 220, 220, 220, 351, 279, 5757, 82, 12520, 240, 102, 198, 2, 513, 13, 5765, 257, 5888, 588, 371, 15766, 37, 13, 20362, 198, 2, 604, 13, 360, 1137, 47, 0, 4091, 611, 2130, 2073, 468, 16019, 340, 717, 0, 198, 2, 1632, 3149, 88, 468, 257, 6550, 23380, 64, 30751, 532, 422, 612, 340, 815, 307, 881, 2829, 13, 198, 2, 220, 532, 220, 198, 2, 18634, 25, 198, 2, 198, 2, 352, 13, 41327, 19615, 13, 20362, 3691, 3395, 26221, 652, 13, 20362, 19424, 3691, 17103, 29206, 1470, 82, 30, 198, 2, 1303, 12642, 703, 284, 47933, 14895, 198, 2, 3740, 1378, 73, 377, 498, 648, 13, 89, 377, 541, 17006, 13, 785, 31113, 77, 6018, 14, 5532, 14, 1954, 2791, 2670, 12, 1837, 2022, 4160, 12, 23065, 2229, 14, 26652, 14, 34500, 1358, 14, 40093, 14, 1954, 1954, 35378, 2682, 198, 29113, 29113, 2235, 198, 198, 21017, 11822, 25, 198, 2, 4874, 314, 423, 257, 18975, 10558, 88, 5408, 11, 314, 460, 655, 1210, 340, 656, 257, 22300, 198, 2, 22300, 4731, 351, 4600, 2536, 7, 88, 8, 63, 25, 198, 2, 10558, 88, 796, 12972, 11748, 7203, 1837, 3149, 88, 4943, 198, 2, 965, 796, 12972, 30543, 46200, 58, 87, 60, 61, 17, 6, 8172, 198, 2, 10688, 48610, 796, 10558, 88, 13, 79, 945, 278, 13, 6759, 23380, 64, 13, 6759, 23380, 64, 198, 2, 331, 796, 47761, 7, 2536, 8, 198, 2, 581, 796, 4731, 7, 88, 8, 1303, 12520, 248, 222, 198, 2, 2488, 9288, 366, 31369, 7, 87, 8, 61, 17, 1, 6624, 581, 198, 198, 2235, 23042, 263, 16836, 2973, 25, 198, 2, 471, 456, 532, 262, 10558, 88, 13, 6759, 23380, 64, 30751, 857, 407, 2453, 2558, 58, 2644, 36147, 198, 2, 1400, 18572, 12520, 11805, 11, 356, 460, 1208, 287, 257, 9485, 35, 713, 351, 674, 7694, 82, 290, 423, 340, 670, 0, 198, 2, 2163, 13544, 316, 418, 88, 3149, 88, 7, 82, 11, 67, 8, 198, 2, 220, 197, 82, 796, 12972, 8841, 7, 20519, 10267, 7, 82, 4008, 198, 2, 220, 220, 220, 220, 277, 796, 10558, 88, 13, 79, 945, 278, 13, 6759, 23380, 64, 13, 6759, 23380, 64, 198, 2, 220, 220, 220, 220, 277, 7, 82, 11, 67, 8, 198, 2, 886, 198, 198, 2235, 23042, 263, 16836, 2973, 25, 1632, 3149, 88, 1595, 470, 15772, 477, 5499, 1058, 14, 198, 2, 10664, 284, 42717, 329, 262, 2163, 3891, 287, 6437, 343, 5028, 13, 17752, 290, 751, 606, 284, 262, 2174, 8633, 198, 2, 11018, 12543, 6359, 796, 1100, 6615, 7203, 6759, 23380, 1878, 46797, 17, 13, 14116, 4943, 198, 2, 10688, 12543, 6359, 67, 14188, 796, 360, 713, 7, 72, 1635, 366, 9, 87, 30866, 5218, 2793, 7442, 7, 72, 58, 16, 25, 437, 12, 16, 12962, 1635, 30629, 9, 87, 16725, 329, 1312, 287, 1100, 6615, 7203, 6759, 23380, 1878, 46797, 17, 13, 14116, 48774, 198, 198, 2, 2163, 10688, 12543, 6359, 11600, 3419, 198, 2, 220, 197, 11018, 12543, 6359, 796, 1100, 6615, 7203, 6759, 23380, 1878, 46797, 17, 13, 14116, 4943, 198, 2, 1303, 197, 862, 796, 220, 198, 2, 886, 198, 198, 2, 3465, 262, 1635, 87, 284, 40066, 79, 477, 26498, 198, 1837, 3149, 5173, 713, 42624, 796, 9485, 35, 713, 7, 35, 713, 7203, 5317, 58, 9, 87, 30866, 5218, 366, 18908, 4873, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 15667, 11187, 58, 9, 87, 30866, 5218, 366, 11167, 6404, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 28483, 2611, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 14207, 9831, 422, 6093, 24629, 2733, 13, 20362, 198, 197, 197, 197, 197, 197, 197, 197, 366, 30639, 10257, 291, 37, 58, 9, 87, 30866, 5218, 366, 695, 541, 69, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 16926, 46, 751, 32732, 4954, 11, 32732, 4954, 50, 11, 32732, 4954, 34, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 36, 61, 87, 1, 5218, 366, 11201, 7, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 36, 61, 46491, 87, 16725, 5218, 366, 11201, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 24849, 58, 9, 87, 30866, 5218, 366, 8937, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 4677, 695, 37, 16, 58, 9, 87, 30866, 5218, 366, 1324, 7046, 16, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 34, 34574, 34500, 4873, 58, 9, 87, 30866, 5218, 366, 66, 34574, 18908, 4873, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 34, 3768, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 66, 3768, 18908, 1373, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 36734, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 6966, 18908, 1373, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 7469, 263, 58, 9, 87, 30866, 5218, 366, 4299, 263, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 28532, 452, 876, 58, 9, 87, 30866, 5218, 366, 1082, 452, 876, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 30639, 10257, 291, 36, 58, 9, 87, 30866, 5218, 366, 695, 3757, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 30639, 10257, 291, 37, 58, 9, 87, 30866, 5218, 366, 695, 541, 69, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 30639, 10257, 291, 42, 58, 9, 87, 30866, 5218, 366, 695, 541, 74, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 30639, 10257, 291, 38729, 58, 9, 87, 30866, 5218, 366, 695, 12715, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 9139, 69, 58, 9, 87, 30866, 5218, 366, 263, 69, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 9139, 16072, 58, 9, 87, 30866, 5218, 366, 263, 16072, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 9139, 12463, 58, 9, 87, 30866, 5218, 366, 263, 12463, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 16870, 392, 58, 9, 87, 30866, 5218, 366, 11201, 392, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 16870, 34500, 1373, 36, 58, 9, 87, 30866, 5218, 366, 11201, 18908, 81, 1000, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 16870, 34500, 1373, 36, 72, 58, 9, 87, 30866, 5218, 366, 11201, 18908, 81, 1000, 72, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 69, 58, 9, 87, 30866, 5218, 277, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 37, 58, 9, 87, 30866, 5218, 277, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 37, 15, 58, 9, 87, 30866, 5218, 366, 69, 15, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 37, 411, 4954, 34, 58, 9, 87, 30866, 5218, 366, 69, 411, 4954, 66, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 37, 411, 4954, 50, 58, 9, 87, 30866, 5218, 366, 69, 411, 19423, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 70, 58, 9, 87, 30866, 5218, 837, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 34777, 2611, 58, 9, 87, 30866, 5218, 837, 198, 197, 197, 197, 197, 197, 197, 197, 366, 38197, 469, 16996, 17, 37, 16, 58, 9, 87, 30866, 5218, 366, 49229, 469, 16996, 17, 69, 16, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 38197, 469, 16996, 42668, 48, 58, 9, 87, 30866, 5218, 366, 49229, 469, 16996, 79, 69, 80, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 1532, 58, 9, 87, 30866, 5218, 611, 11, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 11187, 58, 9, 87, 30866, 5218, 366, 6404, 11, 198, 197, 197, 197, 197, 197, 197, 197, 366, 11187, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 6404, 28483, 2611, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 11187, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 6404, 18908, 1373, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 34220, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 35428, 28483, 2611, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 34220, 11187, 58, 9, 87, 30866, 5218, 366, 35428, 6404, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 15667, 11187, 58, 9, 87, 30866, 5218, 366, 11167, 6404, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 1303, 1, 21282, 87, 58, 9, 87, 30866, 5218, 837, 198, 197, 197, 197, 197, 197, 197, 197, 366, 46200, 71, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 31369, 71, 18908, 1373, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 46200, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 31369, 18908, 1373, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 3118, 18908, 81, 540, 58, 9, 87, 30866, 5218, 366, 403, 18908, 81, 540, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 366, 57, 17167, 58, 9, 87, 30866, 5218, 366, 89, 17167, 46491, 87, 42501, 198, 197, 197, 197, 197, 197, 197, 197, 29226, 198, 198, 12543, 10210, 14137, 796, 360, 713, 7, 198, 197, 1, 24849, 58, 9, 87, 30866, 5218, 366, 8937, 46491, 87, 42501, 198, 197, 1, 25526, 378, 2898, 328, 58, 9, 87, 30866, 5218, 366, 15791, 265, 316, 4359, 46491, 87, 42501, 198, 197, 1, 2348, 29230, 291, 22203, 48, 58, 9, 87, 30866, 5218, 366, 282, 29230, 291, 8818, 80, 46491, 87, 42501, 198, 197, 1, 39182, 58, 9, 87, 30866, 5218, 366, 499, 433, 46491, 87, 42501, 198, 197, 1, 4677, 695, 37, 16, 58, 9, 87, 30866, 5218, 366, 1324, 695, 69, 16, 46491, 87, 42501, 198, 197, 1, 24021, 36734, 58, 9, 87, 30866, 5218, 366, 283, 535, 418, 46491, 87, 42501, 198, 197, 1, 24021, 34, 3768, 58, 9, 87, 30866, 5218, 366, 283, 535, 3768, 46491, 87, 42501, 198, 197, 1, 24021, 34, 313, 58, 9, 87, 30866, 5218, 366, 283, 535, 313, 46491, 87, 42501, 198, 197, 1, 24021, 34, 849, 58, 9, 87, 30866, 5218, 366, 283, 535, 849, 46491, 87, 42501, 198, 197, 1, 24021, 34, 1416, 58, 9, 87, 30866, 5218, 366, 283, 535, 1416, 46491, 87, 42501, 198, 197, 1, 24021, 34, 20601, 58, 9, 87, 30866, 5218, 366, 283, 535, 20601, 46491, 87, 42501, 198, 197, 1, 24021, 6558, 58, 9, 87, 30866, 5218, 366, 5605, 2363, 46491, 87, 42501, 198, 197, 1, 24021, 50, 3055, 58, 9, 87, 30866, 5218, 366, 5605, 325, 354, 46491, 87, 42501, 198, 197, 1, 24021, 46200, 58, 9, 87, 30866, 5218, 366, 5605, 31369, 46491, 87, 42501, 198, 197, 1, 24021, 46200, 71, 58, 9, 87, 30866, 5218, 366, 5605, 31369, 71, 46491, 87, 42501, 198, 197, 1, 24021, 45557, 58, 9, 87, 30866, 5218, 366, 283, 310, 272, 46491, 87, 42501, 198, 197, 1, 24021, 45557, 71, 58, 9, 87, 30866, 5218, 366, 283, 310, 272, 71, 46491, 87, 42501, 198, 197, 1, 2953, 296, 48, 58, 9, 87, 30866, 5218, 366, 37696, 80, 46491, 87, 42501, 198, 197, 1, 33, 7878, 41, 58, 9, 87, 30866, 5218, 366, 65, 7878, 73, 46491, 87, 42501, 198, 197, 1, 33, 259, 49070, 35, 1533, 631, 58, 9, 87, 30866, 5218, 366, 8800, 49070, 16863, 46491, 87, 42501, 198, 197, 1, 33, 259, 49070, 23850, 48, 58, 9, 87, 30866, 5218, 366, 8800, 49070, 15699, 80, 46491, 87, 42501, 198, 197, 1, 33, 259, 49070, 42670, 58, 9, 87, 30866, 5218, 366, 8800, 49070, 42632, 46491, 87, 42501, 198, 197, 1, 33, 259, 49070, 48, 58, 9, 87, 30866, 5218, 366, 8800, 49070, 80, 46491, 87, 42501, 198, 197, 1, 12235, 58, 9, 87, 30866, 5218, 366, 9967, 46491, 87, 42501, 198, 197, 1, 9771, 17576, 11146, 48, 58, 9, 87, 30866, 5218, 366, 9948, 17576, 5787, 80, 46491, 87, 42501, 198, 197, 1, 34, 21130, 58, 9, 87, 30866, 5218, 366, 66, 21130, 46491, 87, 42501, 198, 197, 1, 34, 34574, 34500, 4873, 58, 9, 87, 30866, 5218, 366, 66, 34574, 18908, 4873, 46491, 87, 42501, 198, 197, 1, 34, 2577, 487, 58, 9, 87, 30866, 5218, 366, 1073, 14822, 46491, 87, 42501, 198, 197, 1, 34, 2577, 5632, 58, 9, 87, 30866, 5218, 366, 1073, 16814, 46491, 87, 42501, 198, 197, 1, 5377, 11141, 11146, 48, 58, 9, 87, 30866, 5218, 366, 41887, 5787, 80, 46491, 87, 42501, 198, 197, 1, 5377, 11141, 58, 9, 87, 30866, 5218, 366, 41887, 46491, 87, 42501, 198, 197, 1, 36734, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 6966, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 36734, 58, 9, 87, 30866, 5218, 366, 6966, 46491, 87, 42501, 198, 197, 1, 34, 3768, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 66, 3768, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 34, 3768, 58, 9, 87, 30866, 5218, 366, 66, 3768, 46491, 87, 42501, 198, 197, 1, 34, 313, 58, 9, 87, 30866, 5218, 366, 25557, 46491, 87, 42501, 198, 197, 1, 34, 849, 58, 9, 87, 30866, 5218, 366, 66, 849, 46491, 87, 42501, 198, 197, 1, 34, 1416, 58, 9, 87, 30866, 5218, 366, 66, 1416, 46491, 87, 42501, 198, 197, 1, 34, 20601, 58, 9, 87, 30866, 5218, 366, 6359, 354, 46491, 87, 42501, 198, 197, 1, 35, 58, 9, 87, 30866, 5218, 366, 67, 46491, 87, 42501, 198, 197, 1, 5005, 39022, 2898, 328, 58, 9, 87, 30866, 5218, 366, 2934, 15791, 265, 316, 4359, 46491, 87, 42501, 198, 197, 1, 21306, 296, 58, 9, 87, 30866, 5218, 366, 6559, 296, 46491, 87, 42501, 198, 197, 1, 21306, 6351, 1352, 58, 9, 87, 30866, 5218, 366, 6559, 6351, 1352, 46491, 87, 42501, 198, 197, 1, 28532, 452, 876, 24095, 1460, 58, 9, 87, 30866, 5218, 366, 1082, 452, 265, 1572, 452, 1460, 46491, 87, 42501, 198, 197, 1, 28532, 452, 876, 58, 9, 87, 30866, 5218, 366, 1082, 452, 876, 46491, 87, 42501, 198, 197, 1, 15642, 3036, 42483, 58, 9, 87, 30866, 5218, 366, 15410, 3036, 42483, 46491, 87, 42501, 198, 197, 1, 20344, 58, 9, 87, 30866, 5218, 366, 17080, 46491, 87, 42501, 198, 197, 1, 20344, 822, 58, 9, 87, 30866, 5218, 366, 17080, 822, 46491, 87, 42501, 198, 197, 1, 20344, 4163, 35, 1533, 631, 58, 9, 87, 30866, 5218, 366, 17080, 6169, 1533, 631, 46491, 87, 42501, 198, 197, 1, 24095, 1460, 58, 9, 87, 30866, 5218, 366, 7146, 1460, 46491, 87, 42501, 198, 197, 1, 30639, 10257, 291, 36, 58, 9, 87, 30866, 5218, 366, 695, 10257, 501, 46491, 87, 42501, 198, 197, 1, 30639, 10257, 291, 37, 58, 9, 87, 30866, 5218, 366, 695, 10257, 291, 69, 46491, 87, 42501, 198, 197, 1, 30639, 10257, 291, 38729, 58, 9, 87, 30866, 5218, 366, 695, 10257, 291, 14415, 46491, 87, 42501, 198, 197, 1, 36, 80, 48, 58, 9, 87, 30866, 5218, 366, 27363, 80, 46491, 87, 42501, 198, 197, 1, 9139, 69, 58, 9, 87, 30866, 5218, 366, 263, 69, 46491, 87, 42501, 198, 197, 1, 9139, 16072, 58, 9, 87, 30866, 5218, 366, 263, 16072, 46491, 87, 42501, 198, 197, 1, 9139, 12463, 58, 9, 87, 30866, 5218, 366, 263, 12463, 46491, 87, 42501, 198, 197, 1, 36, 18173, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 68, 18173, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 6109, 48, 58, 9, 87, 30866, 5218, 366, 16833, 80, 46491, 87, 42501, 198, 197, 1, 16870, 34500, 1373, 36, 58, 9, 87, 30866, 5218, 366, 11201, 18908, 81, 1000, 46491, 87, 42501, 198, 197, 1, 16870, 34500, 1373, 36, 72, 58, 9, 87, 30866, 5218, 366, 11201, 18908, 81, 1000, 72, 46491, 87, 42501, 198, 197, 1, 16870, 58, 9, 87, 30866, 5218, 366, 11201, 46491, 87, 42501, 198, 197, 1, 16870, 392, 16870, 2234, 58, 9, 87, 30866, 5218, 366, 11201, 392, 38011, 46491, 87, 42501, 198, 197, 1, 16870, 392, 34500, 25192, 58, 9, 87, 30866, 5218, 366, 11201, 392, 18908, 25192, 46491, 87, 42501, 198, 197, 1, 16870, 392, 14993, 451, 15667, 58, 9, 87, 30866, 5218, 366, 11201, 392, 29127, 11167, 46491, 87, 42501, 198, 197, 1, 16870, 392, 2514, 13065, 58, 9, 87, 30866, 5218, 366, 11201, 392, 83, 418, 388, 46491, 87, 42501, 198, 197, 1, 16870, 392, 2898, 328, 16870, 392, 58, 9, 87, 30866, 5218, 366, 11201, 392, 2213, 328, 11201, 392, 46491, 87, 42501, 198, 197, 1, 16870, 392, 2898, 328, 7738, 7234, 58, 9, 87, 30866, 5218, 366, 11201, 392, 2213, 328, 445, 7234, 46491, 87, 42501, 198, 197, 1, 16870, 392, 2898, 328, 2514, 16870, 58, 9, 87, 30866, 5218, 366, 11201, 392, 2213, 328, 1462, 11201, 46491, 87, 42501, 198, 197, 1, 16870, 392, 2898, 328, 58, 9, 87, 30866, 5218, 366, 11201, 392, 2213, 328, 46491, 87, 42501, 198, 197, 1, 16870, 392, 58, 9, 87, 30866, 5218, 366, 11201, 392, 46491, 87, 42501, 198, 197, 1, 16870, 261, 58, 9, 87, 30866, 5218, 366, 11201, 261, 46491, 87, 42501, 198, 197, 1, 16870, 3471, 58, 9, 87, 30866, 5218, 366, 11201, 3471, 46491, 87, 42501, 198, 197, 1, 37, 58, 9, 87, 30866, 5218, 366, 69, 46491, 87, 42501, 198, 197, 1, 37, 62, 58, 9, 87, 30866, 5218, 366, 69, 41052, 9, 87, 42501, 198, 197, 1, 41384, 58, 9, 87, 30866, 5218, 366, 31412, 46491, 87, 42501, 198, 197, 1, 25101, 48, 58, 9, 87, 30866, 5218, 366, 9562, 80, 46491, 87, 42501, 198, 197, 1, 7414, 2675, 58, 9, 87, 30866, 5218, 366, 28300, 46491, 87, 42501, 198, 197, 1, 6732, 330, 7841, 58, 9, 87, 30866, 5218, 366, 31944, 3911, 46491, 87, 42501, 198, 197, 1, 37, 7861, 48, 58, 9, 87, 30866, 5218, 366, 69, 7861, 80, 46491, 87, 42501, 198, 197, 1, 37, 7861, 282, 7841, 58, 9, 87, 30866, 5218, 366, 69, 7861, 282, 3911, 46491, 87, 42501, 198, 197, 1, 11146, 29054, 669, 58, 9, 87, 30866, 5218, 366, 5787, 22584, 669, 46491, 87, 42501, 198, 197, 1, 11146, 48, 58, 9, 87, 30866, 5218, 366, 5787, 80, 46491, 87, 42501, 198, 197, 1, 37, 411, 4954, 34, 58, 9, 87, 30866, 5218, 366, 69, 411, 4954, 66, 46491, 87, 42501, 198, 197, 1, 37, 411, 4954, 50, 58, 9, 87, 30866, 5218, 366, 69, 411, 19423, 46491, 87, 42501, 198, 197, 1, 13295, 8890, 489, 1958, 58, 9, 87, 30866, 5218, 366, 12853, 14323, 489, 1958, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 16870, 35470, 22203, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 11201, 35470, 8818, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 16870, 35470, 48, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 11201, 35470, 80, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 16870, 35470, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 11201, 35470, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 14993, 451, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 29127, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 11187, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 6404, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 48, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 80, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 48011, 30016, 5189, 4507, 41909, 1512, 58, 9, 87, 30866, 5218, 366, 8818, 1659, 23415, 15763, 1659, 421, 41909, 1512, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 2898, 328, 5189, 14993, 451, 48, 58, 9, 87, 30866, 5218, 366, 8818, 11205, 4359, 1659, 29127, 80, 46491, 87, 42501, 198, 197, 1, 22203, 5189, 2898, 328, 58, 9, 87, 30866, 5218, 366, 8818, 11205, 4359, 46491, 87, 42501, 198, 197, 1, 22203, 58, 9, 87, 30866, 5218, 366, 8818, 46491, 87, 42501, 198, 197, 1, 38, 8610, 58, 9, 87, 30866, 5218, 366, 70, 10210, 46491, 87, 42501, 198, 197, 1, 38, 58, 9, 87, 30866, 5218, 366, 70, 46491, 87, 42501, 198, 197, 1, 38, 62, 58, 9, 87, 30866, 5218, 366, 70, 41052, 9, 87, 42501, 198, 197, 1, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 28483, 2611, 46491, 87, 42501, 198, 197, 1, 10082, 48, 58, 9, 87, 30866, 5218, 366, 469, 80, 46491, 87, 42501, 198, 197, 1, 12218, 1143, 33, 259, 49070, 23850, 48, 58, 9, 87, 30866, 5218, 366, 24622, 1143, 8800, 49070, 15699, 80, 46491, 87, 42501, 198, 197, 1, 12218, 1143, 33, 259, 49070, 48, 58, 9, 87, 30866, 5218, 366, 24622, 1143, 8800, 49070, 80, 46491, 87, 42501, 198, 197, 1, 12218, 1143, 2898, 259, 49070, 35, 1533, 631, 58, 9, 87, 30866, 5218, 366, 24622, 1143, 2213, 259, 49070, 16863, 46491, 87, 42501, 198, 197, 1, 12218, 1143, 2898, 259, 49070, 23850, 48, 58, 9, 87, 30866, 5218, 366, 24622, 1143, 2213, 259, 49070, 15699, 80, 46491, 87, 42501, 198, 197, 1, 12218, 1143, 2898, 259, 49070, 48, 58, 9, 87, 30866, 5218, 366, 24622, 1143, 2213, 259, 49070, 80, 46491, 87, 42501, 198, 197, 1, 38, 83, 48, 58, 9, 87, 30866, 5218, 366, 13655, 80, 46491, 87, 42501, 198, 197, 1, 39, 58, 9, 87, 30866, 5218, 366, 71, 46491, 87, 42501, 198, 197, 1, 39, 62, 58, 9, 87, 30866, 5218, 366, 71, 41052, 9, 87, 42501, 198, 197, 1, 31305, 46541, 48, 58, 9, 87, 30866, 5218, 366, 13959, 41433, 80, 46491, 87, 42501, 198, 197, 1, 13847, 58, 9, 87, 30866, 5218, 366, 2256, 46491, 87, 42501, 198, 197, 1, 26807, 58, 9, 87, 30866, 5218, 366, 2946, 46491, 87, 42501, 198, 197, 1, 38197, 65, 4160, 48, 58, 9, 87, 30866, 5218, 366, 49229, 65, 4160, 80, 46491, 87, 42501, 198, 197, 1, 38197, 469, 16996, 17, 37, 16, 58, 9, 87, 30866, 5218, 366, 49229, 469, 16996, 17, 69, 16, 46491, 87, 42501, 198, 197, 1, 38197, 469, 16996, 42668, 48, 58, 9, 87, 30866, 5218, 366, 49229, 469, 16996, 79, 69, 80, 46491, 87, 42501, 198, 197, 1, 3528, 68, 48, 58, 9, 87, 30866, 5218, 366, 10045, 80, 46491, 87, 42501, 198, 197, 1, 3528, 83, 48, 58, 9, 87, 30866, 5218, 366, 328, 83, 80, 46491, 87, 42501, 198, 197, 1, 40, 3123, 48, 58, 9, 87, 30866, 5218, 366, 576, 80, 46491, 87, 42501, 198, 197, 1, 4146, 83, 48, 58, 9, 87, 30866, 5218, 366, 2326, 80, 46491, 87, 42501, 198, 197, 1, 7390, 26858, 58, 9, 87, 30866, 5218, 366, 738, 414, 46491, 87, 42501, 198, 197, 1, 1532, 58, 9, 87, 30866, 5218, 366, 361, 46491, 87, 42501, 198, 197, 1, 40566, 48, 58, 9, 87, 30866, 5218, 366, 34750, 80, 46491, 87, 42501, 198, 197, 1, 818, 861, 2898, 328, 11146, 48, 58, 9, 87, 30866, 5218, 366, 259, 861, 2213, 328, 5787, 80, 46491, 87, 42501, 198, 197, 1, 818, 861, 2898, 328, 48, 58, 9, 87, 30866, 5218, 366, 259, 861, 2213, 328, 80, 46491, 87, 42501, 198, 197, 1, 5317, 33, 259, 49070, 48, 58, 9, 87, 30866, 5218, 366, 600, 8800, 49070, 80, 46491, 87, 42501, 198, 197, 1, 5317, 38518, 58, 9, 87, 30866, 5218, 366, 9304, 485, 46491, 87, 42501, 198, 197, 1, 5317, 14993, 451, 48, 58, 9, 87, 30866, 5218, 366, 600, 29127, 80, 46491, 87, 42501, 198, 197, 1, 5317, 7841, 58, 9, 87, 30866, 5218, 366, 600, 3911, 46491, 87, 42501, 198, 197, 1, 5317, 4507, 41909, 1512, 48, 58, 9, 87, 30866, 5218, 366, 600, 421, 41909, 1512, 80, 46491, 87, 42501, 198, 197, 1, 5317, 13065, 58, 9, 87, 30866, 5218, 366, 600, 16345, 46491, 87, 42501, 198, 197, 1, 5317, 58, 9, 87, 30866, 5218, 366, 600, 46491, 87, 42501, 198, 197, 1, 46541, 7841, 58, 9, 87, 30866, 5218, 366, 41433, 3911, 46491, 87, 42501, 198, 197, 1, 46541, 48, 58, 9, 87, 30866, 5218, 366, 41433, 80, 46491, 87, 42501, 198, 197, 1, 34500, 364, 48, 58, 9, 87, 30866, 5218, 366, 18908, 364, 80, 46491, 87, 42501, 198, 197, 1, 34500, 1373, 11146, 48, 58, 9, 87, 30866, 5218, 366, 18908, 1373, 5787, 80, 46491, 87, 42501, 198, 197, 1, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 34500, 4873, 58, 9, 87, 30866, 5218, 366, 18908, 4873, 46491, 87, 42501, 198, 197, 1, 818, 4399, 22203, 11146, 48, 58, 9, 87, 30866, 5218, 366, 259, 4399, 8818, 5787, 80, 46491, 87, 42501, 198, 197, 1, 818, 4399, 22203, 5189, 14993, 451, 58, 9, 87, 30866, 5218, 366, 259, 4399, 8818, 1659, 29127, 46491, 87, 42501, 198, 197, 1, 818, 4399, 22203, 48, 58, 9, 87, 30866, 5218, 366, 259, 4399, 8818, 80, 46491, 87, 42501, 198, 197, 1, 29870, 34, 313, 648, 298, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 4002, 25557, 648, 298, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 29870, 6558, 415, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 4002, 2363, 415, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 29870, 50, 500, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 4002, 82, 500, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 29870, 43909, 298, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 16275, 429, 648, 298, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 3123, 48, 58, 9, 87, 30866, 5218, 366, 293, 80, 46491, 87, 42501, 198, 197, 1, 3123, 1878, 12332, 58, 9, 87, 30866, 5218, 366, 33201, 9127, 46491, 87, 42501, 198, 197, 1, 14993, 451, 23850, 48, 58, 9, 87, 30866, 5218, 366, 29127, 15699, 80, 46491, 87, 42501, 198, 197, 1, 14993, 451, 47, 958, 48, 58, 9, 87, 30866, 5218, 366, 29127, 24874, 80, 46491, 87, 42501, 198, 197, 1, 14993, 451, 48, 58, 9, 87, 30866, 5218, 366, 29127, 80, 46491, 87, 42501, 198, 197, 1, 11187, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 6404, 28483, 2611, 46491, 87, 42501, 198, 197, 1, 11187, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 6404, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 11187, 58, 9, 87, 30866, 5218, 366, 6404, 46491, 87, 42501, 198, 197, 1, 49578, 48, 58, 9, 87, 30866, 5218, 366, 2528, 80, 46491, 87, 42501, 198, 197, 1, 23850, 48, 58, 9, 87, 30866, 5218, 366, 15699, 80, 46491, 87, 42501, 198, 197, 1, 27608, 48, 58, 9, 87, 30866, 5218, 366, 19522, 80, 46491, 87, 42501, 198, 197, 1, 44046, 44, 6326, 498, 16870, 3471, 58, 9, 87, 30866, 5218, 366, 39504, 2144, 49070, 11201, 3471, 46491, 87, 42501, 198, 197, 1, 5841, 58, 9, 87, 30866, 5218, 366, 4666, 46491, 87, 42501, 198, 197, 1, 26796, 58, 9, 87, 30866, 5218, 366, 21412, 46491, 87, 42501, 198, 197, 1, 8199, 48, 58, 9, 87, 30866, 5218, 366, 710, 80, 46491, 87, 42501, 198, 197, 1, 32863, 48, 58, 9, 87, 30866, 5218, 366, 12480, 80, 46491, 87, 42501, 198, 197, 1, 35284, 50, 80, 17034, 48, 58, 9, 87, 30866, 5218, 366, 77, 1063, 80, 17034, 80, 46491, 87, 42501, 198, 197, 1, 15419, 5787, 29054, 669, 58, 9, 87, 30866, 5218, 366, 13159, 5787, 22584, 669, 46491, 87, 42501, 198, 197, 1, 45, 684, 388, 48, 58, 9, 87, 30866, 5218, 366, 77, 684, 388, 80, 46491, 87, 42501, 198, 197, 1, 26447, 1096, 34500, 25192, 58, 9, 87, 30866, 5218, 366, 11265, 1096, 18908, 25192, 46491, 87, 42501, 198, 197, 1, 26447, 1096, 13434, 5189, 14993, 451, 58, 9, 87, 30866, 5218, 366, 11265, 528, 538, 789, 1659, 29127, 46491, 87, 42501, 198, 197, 1, 26447, 1096, 47, 325, 12003, 33, 259, 49070, 58, 9, 87, 30866, 5218, 366, 11265, 528, 538, 325, 463, 38954, 49070, 46491, 87, 42501, 198, 197, 1, 3673, 58, 9, 87, 30866, 5218, 366, 1662, 46491, 87, 42501, 198, 197, 1, 45, 6975, 58, 9, 87, 30866, 5218, 366, 77, 6975, 46491, 87, 42501, 198, 197, 1, 45, 6975, 1352, 58, 9, 87, 30866, 5218, 366, 77, 6975, 1352, 46491, 87, 42501, 198, 197, 1, 46, 1860, 48, 58, 9, 87, 30866, 5218, 366, 5088, 80, 46491, 87, 42501, 198, 197, 1, 36635, 48011, 48, 58, 9, 87, 30866, 5218, 366, 25833, 23415, 80, 46491, 87, 42501, 198, 197, 1, 47, 8535, 3083, 14993, 451, 48, 58, 9, 87, 30866, 5218, 366, 12239, 86, 271, 27176, 451, 80, 46491, 87, 42501, 198, 197, 1, 34220, 38, 8610, 58, 9, 87, 30866, 5218, 366, 35428, 70, 10210, 46491, 87, 42501, 198, 197, 1, 34220, 34777, 2611, 58, 9, 87, 30866, 5218, 366, 35428, 28483, 2611, 46491, 87, 42501, 198, 197, 1, 34220, 11187, 58, 9, 87, 30866, 5218, 366, 35428, 6404, 46491, 87, 42501, 198, 197, 1, 34220, 48, 58, 9, 87, 30866, 5218, 366, 35428, 80, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 24095, 485, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 7146, 485, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 818, 48, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 259, 80, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 818, 7004, 301, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 1040, 549, 301, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 48, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 80, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 4507, 313, 1153, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 421, 313, 1153, 46491, 87, 42501, 198, 197, 1, 34220, 26601, 498, 8413, 391, 1082, 58, 9, 87, 30866, 5218, 366, 35428, 26601, 498, 2787, 391, 1082, 46491, 87, 42501, 198, 197, 1, 21604, 48, 58, 9, 87, 30866, 5218, 366, 1930, 80, 46491, 87, 42501, 198, 197, 1, 13434, 5189, 14993, 451, 23850, 48, 58, 9, 87, 30866, 5218, 366, 6477, 1659, 29127, 15699, 80, 46491, 87, 42501, 198, 197, 1, 13434, 5189, 14993, 451, 48, 58, 9, 87, 30866, 5218, 366, 6477, 1659, 29127, 80, 46491, 87, 42501, 198, 197, 1, 13434, 48, 58, 9, 87, 30866, 5218, 366, 6477, 80, 46491, 87, 42501, 198, 197, 1, 13434, 43015, 16870, 77, 58, 9, 87, 30866, 5218, 366, 79, 322, 712, 2743, 540, 11201, 77, 46491, 87, 42501, 198, 197, 1, 15667, 11187, 58, 9, 87, 30866, 5218, 366, 11167, 6404, 46491, 87, 42501, 198, 197, 1, 15667, 48, 58, 9, 87, 30866, 5218, 366, 11167, 80, 46491, 87, 42501, 198, 197, 1, 47, 325, 12003, 33, 259, 49070, 47, 958, 48, 58, 9, 87, 30866, 5218, 366, 7752, 463, 38954, 49070, 24874, 80, 46491, 87, 42501, 198, 197, 1, 4507, 41909, 1512, 23850, 48, 58, 9, 87, 30866, 5218, 366, 421, 41909, 1512, 15699, 80, 46491, 87, 42501, 198, 197, 1, 4507, 41909, 1512, 15667, 48, 58, 9, 87, 30866, 5218, 366, 421, 41909, 1512, 11167, 80, 46491, 87, 42501, 198, 197, 1, 4507, 41909, 1512, 48, 58, 9, 87, 30866, 5218, 366, 421, 41909, 1512, 80, 46491, 87, 42501, 198, 197, 1, 4507, 313, 1153, 5189, 14993, 4127, 42670, 58, 9, 87, 30866, 5218, 366, 421, 313, 1153, 1659, 29127, 2777, 5889, 46491, 87, 42501, 198, 197, 1, 4507, 313, 1153, 5189, 14993, 4127, 48, 58, 9, 87, 30866, 5218, 366, 421, 313, 1153, 1659, 2815, 4127, 80, 46491, 87, 42501, 198, 197, 1, 4507, 313, 1153, 58, 9, 87, 30866, 5218, 366, 421, 313, 1153, 46491, 87, 42501, 198, 197, 1, 49, 864, 22203, 16870, 392, 58, 9, 87, 30866, 5218, 366, 20310, 8818, 11201, 392, 46491, 87, 42501, 198, 197, 1, 49, 864, 22203, 16870, 3906, 58, 9, 87, 30866, 5218, 366, 20310, 8818, 11201, 3906, 46491, 87, 42501, 198, 197, 1, 49, 864, 22203, 48, 58, 9, 87, 30866, 5218, 366, 20310, 8818, 80, 46491, 87, 42501, 198, 197, 1, 49, 864, 48, 58, 9, 87, 30866, 5218, 366, 20310, 80, 46491, 87, 42501, 198, 197, 1, 27914, 19746, 58, 9, 87, 30866, 5218, 366, 28956, 11299, 46491, 87, 42501, 198, 197, 1, 3041, 5372, 3237, 58, 9, 87, 30866, 5218, 366, 33491, 439, 46491, 87, 42501, 198, 197, 1, 49, 83, 58, 9, 87, 30866, 5218, 366, 17034, 46491, 87, 42501, 198, 197, 1, 6558, 58, 9, 87, 30866, 5218, 366, 2363, 46491, 87, 42501, 198, 197, 1, 50, 3055, 58, 9, 87, 30866, 5218, 366, 325, 354, 46491, 87, 42501, 198, 197, 1, 15307, 8600, 58, 9, 87, 30866, 5218, 366, 12860, 9662, 46491, 87, 42501, 198, 197, 1, 11712, 58, 9, 87, 30866, 5218, 366, 12683, 46491, 87, 42501, 198, 197, 1, 8890, 79, 58, 9, 87, 30866, 5218, 366, 82, 11011, 46491, 87, 42501, 198, 197, 1, 8890, 20053, 34500, 25192, 48, 58, 9, 87, 30866, 5218, 366, 14323, 20053, 18908, 25192, 80, 46491, 87, 42501, 198, 197, 1, 8890, 20053, 48, 58, 9, 87, 30866, 5218, 366, 14323, 20053, 80, 46491, 87, 42501, 198, 197, 1, 8890, 20053, 50, 80, 17034, 48, 58, 9, 87, 30866, 5218, 366, 14323, 489, 364, 80, 17034, 80, 46491, 87, 42501, 198, 197, 1, 8890, 489, 1958, 34500, 25192, 58, 9, 87, 30866, 5218, 366, 14323, 489, 1958, 18908, 25192, 46491, 87, 42501, 198, 197, 1, 8890, 489, 1958, 58, 9, 87, 30866, 5218, 366, 14323, 489, 1958, 46491, 87, 42501, 198, 197, 1, 46200, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 31369, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 46200, 58, 9, 87, 30866, 5218, 366, 31369, 46491, 87, 42501, 198, 197, 1, 46200, 71, 34500, 1373, 58, 9, 87, 30866, 5218, 366, 31369, 71, 18908, 1373, 46491, 87, 42501, 198, 197, 1, 46200, 71, 58, 9, 87, 30866, 5218, 366, 31369, 71, 46491, 87, 42501, 198, 197, 1, 41205, 15667, 58, 9, 87, 30866, 5218, 366, 35312, 11167, 46491, 87, 42501, 198, 197, 1, 50, 80, 17034, 58, 9, 87, 30866, 5218, 366, 31166, 17034, 46491, 87, 42501, 198, 197, 1, 7004, 301, 1890, 37, 7861, 282, 13434, 5189, 14993, 451, 58, 9, 87, 30866, 5218, 366, 7266, 301, 1640, 69, 7861, 282, 6477, 1659, 29127, 46491, 87, 42501, 198, 197, 1, 7004, 301, 1890, 37, 7861, 282, 13434, 5189, 4507, 313, 1153, 5189, 14993, 4127, 58, 9, 87, 30866, 5218, 366, 7266, 301, 1640, 69, 7861, 282, 6477, 1659, 421, 313, 1153, 1659, 2815, 4127, 46491, 87, 42501, 198, 197, 1, 7004, 301, 1890, 37, 7861, 282, 13434, 48, 58, 9, 87, 30866, 5218, 366, 7266, 301, 1640, 69, 7861, 282, 6477, 80, 46491, 87, 42501, 198, 197, 1, 7004, 301, 1890, 818, 4399, 22203, 58, 9, 87, 30866, 5218, 366, 7266, 301, 1640, 259, 4399, 8818, 46491, 87, 42501, 198, 197, 1, 7004, 301, 1890, 58, 9, 87, 30866, 5218, 366, 7266, 301, 1640, 46491, 87, 42501, 198, 197, 1, 7004, 301, 58, 9, 87, 30866, 5218, 366, 7266, 301, 46491, 87, 42501, 198, 197, 1, 13065, 48, 58, 9, 87, 30866, 5218, 366, 16345, 80, 46491, 87, 42501, 198, 197, 1, 13065, 8890, 20053, 48, 58, 9, 87, 30866, 5218, 366, 82, 5700, 320, 20053, 80, 46491, 87, 42501, 198, 197, 1, 13065, 58, 9, 87, 30866, 5218, 366, 16345, 46491, 87, 42501, 198, 197, 1, 45557, 58, 9, 87, 30866, 5218, 366, 38006, 46491, 87, 42501, 198, 197, 1, 45557, 71, 58, 9, 87, 30866, 5218, 366, 38006, 71, 46491, 87, 42501, 198, 197, 1, 41631, 58, 9, 87, 30866, 5218, 366, 45525, 46491, 87, 42501, 198, 197, 1, 2898, 328, 48, 58, 9, 87, 30866, 5218, 366, 2213, 328, 80, 46491, 87, 42501, 198, 197, 1, 2898, 328, 8890, 489, 1958, 48, 58, 9, 87, 30866, 5218, 366, 2213, 9235, 23928, 1958, 80, 46491, 87, 42501, 198, 197, 1, 2898, 328, 8890, 489, 1958, 58, 9, 87, 30866, 5218, 366, 2213, 9235, 23928, 1958, 46491, 87, 42501, 198, 197, 1, 2898, 259, 49070, 23850, 48, 58, 9, 87, 30866, 5218, 366, 2213, 259, 49070, 15699, 80, 46491, 87, 42501, 198, 197, 1, 2898, 259, 49070, 48, 58, 9, 87, 30866, 5218, 366, 2213, 259, 49070, 80, 46491, 87, 42501, 198, 197, 1, 23433, 49548, 45557, 7004, 301, 58, 9, 87, 30866, 5218, 366, 28311, 37424, 83, 504, 549, 301, 46491, 87, 42501, 198, 197, 1, 3118, 18908, 81, 540, 58, 9, 87, 30866, 5218, 366, 403, 18908, 81, 540, 46491, 87, 42501, 198, 197, 1, 3152, 58, 9, 87, 30866, 5218, 366, 4480, 46491, 87, 42501, 198, 197, 1, 57, 17167, 58, 9, 87, 30866, 5218, 366, 89, 17167, 46491, 87, 42501, 198, 197, 1, 6966, 58, 9, 87, 30866, 5218, 366, 6966, 46491, 87, 42501, 198, 197, 1, 25557, 58, 9, 87, 30866, 5218, 366, 25557, 46491, 87, 42501, 198, 197, 1, 66, 1416, 58, 9, 87, 30866, 5218, 366, 66, 1416, 46491, 87, 42501, 198, 197, 1, 69, 58, 9, 87, 30866, 5218, 366, 69, 46491, 87, 42501, 198, 197, 1, 69, 62, 58, 9, 87, 30866, 5218, 366, 69, 41052, 9, 87, 42501, 198, 197, 1, 70, 58, 9, 87, 30866, 5218, 366, 70, 46491, 87, 42501, 198, 197, 1, 70, 62, 58, 9, 87, 30866, 5218, 366, 70, 41052, 9, 87, 42501, 198, 197, 1, 75, 301, 58, 9, 87, 30866, 5218, 366, 75, 301, 46491, 87, 42501, 198, 197, 1, 2363, 58, 9, 87, 30866, 5218, 366, 2363, 46491, 87, 42501, 198, 197, 1, 31369, 58, 9, 87, 30866, 5218, 366, 31369, 46491, 87, 42501, 220, 198, 197, 1, 38006, 58, 9, 87, 30866, 5218, 366, 38006, 46491, 87, 42501, 220, 198, 197, 1, 22065, 58, 9, 87, 30866, 5218, 366, 22065, 46491, 87, 42501, 220, 198, 197, 1, 2213, 328, 62, 58, 9, 87, 30866, 5218, 366, 2213, 328, 41052, 9, 87, 42501, 220, 198, 197, 1, 12303, 58, 9, 87, 30866, 5218, 366, 12303, 46491, 87, 42501, 198, 1776, 198, 198, 2, 2488, 9288, 366, 18908, 4873, 7, 87, 11, 87, 16725, 6624, 13544, 316, 418, 88, 3149, 88, 7203, 5317, 58, 87, 11, 87, 60, 1600, 1837, 3149, 5173, 713, 42624, 8, 198, 2, 366, 18908, 4873, 7, 87, 11, 87, 16725, 198, 198, 2235, 23042, 263, 16836, 2973, 25, 198, 2, 352, 13, 10664, 284, 10283, 41731, 290, 4600, 87, 62, 13940, 23650, 63, 220, 198, 198, 21017, 440, 30737, 25, 198, 2, 632, 318, 1598, 326, 867, 286, 262, 366, 20214, 1, 2214, 389, 852, 45663, 992, 33437, 198, 2, 4831, 796, 685, 13664, 7, 85, 13, 20214, 8, 14512, 362, 329, 410, 287, 410, 41989, 60, 198, 2, 2488, 9288, 954, 7, 20214, 8, 6624, 4129, 7, 36540, 3558, 8, 198, 198, 2235, 968, 32096, 2446, 46111, 4770, 2559, 18604, 198, 2, 3740, 1378, 15410, 9047, 13, 73, 377, 498, 648, 13, 2398, 14, 83, 14, 13466, 12, 29152, 1063, 12, 1640, 12, 1102, 48820, 12, 64, 12, 6759, 23380, 64, 12, 38011, 12, 1462, 12, 73, 43640, 14, 1507, 27326, 198, 9979, 10558, 88, 62, 79, 945, 278, 62, 6759, 23380, 64, 796, 15845, 20519, 13, 20519, 14134, 13, 9078, 11748, 7203, 1837, 3149, 88, 13, 79, 945, 278, 13, 6759, 23380, 64, 4943, 198, 6759, 23380, 64, 17, 73, 43640, 7, 82, 3712, 23839, 10100, 11, 21436, 3508, 3712, 47, 958, 90, 27, 25, 23839, 10100, 11, 27, 25, 23839, 10100, 92, 23029, 796, 198, 43094, 20519, 13, 11152, 62, 38011, 7, 1837, 3149, 88, 62, 79, 945, 278, 62, 6759, 23380, 64, 526, 6759, 23380, 64, 18109, 82, 11, 360, 713, 7, 7266, 301, 270, 3508, 986, 22305, 198, 198, 6759, 23380, 64, 17, 73, 43640, 7, 82, 3712, 23839, 10100, 8, 796, 33161, 64, 17, 73, 43640, 7, 82, 11, 285, 17, 73, 62, 7266, 82, 23029, 198, 198, 2, 21429, 1366, 422, 25439, 62, 7266, 82, 2393, 284, 2251, 32097, 14729, 198, 2, 28, 1303, 51, 3727, 46, 25, 5499, 284, 751, 198, 197, 12, 9626, 452, 876, 198, 197, 12, 15079, 469, 16996, 17, 37, 16, 198, 197, 12, 277, 6, 58, 87, 60, 198, 197, 12, 11198, 2198, 5499, 326, 1244, 1282, 422, 6093, 24629, 2733, 13, 20362, 11, 3503, 13, 198, 46249, 198, 76, 17, 73, 62, 7266, 82, 796, 685, 81, 58, 16, 60, 5218, 374, 58, 17, 60, 329, 374, 287, 220, 1123, 808, 7, 961, 25404, 76, 7203, 20786, 62, 7266, 82, 13, 40664, 1600, 705, 26, 3256, 10903, 4008, 60, 198, 198, 8818, 285, 17, 73, 7, 82, 3712, 23839, 10100, 26, 15942, 577, 28, 7942, 8, 198, 197, 28311, 198, 197, 197, 7783, 33161, 64, 17, 73, 43640, 7, 82, 8, 198, 197, 40198, 304, 198, 197, 197, 19011, 577, 11405, 2488, 40539, 366, 23722, 77, 470, 21136, 7479, 77, 3, 7, 82, 19415, 77, 1, 198, 197, 197, 2, 2488, 18224, 304, 198, 197, 197, 7783, 366, 10044, 325, 13047, 1, 198, 197, 437, 197, 198, 437, 198, 198, 31, 12860, 285, 17, 73, 7203, 34, 1416, 58, 87, 1343, 10884, 58, 87, 11907, 4943, 198, 31, 12860, 285, 17, 73, 7203, 46200, 58, 17, 9, 87, 60, 4943, 198, 31, 12860, 285, 17, 73, 7203, 30639, 10257, 291, 37, 58, 16, 11, 657, 13, 20, 60, 4943, 198, 31, 12860, 285, 17, 73, 7203, 34, 1416, 58, 87, 1343, 10884, 58, 87, 11907, 4943, 198, 31, 12860, 285, 17, 73, 7203, 7, 17, 9, 40, 9, 50, 80, 17034, 58, 17, 60, 9, 30639, 10257, 291, 36, 58, 38729, 14, 19, 532, 357, 40, 9, 87, 20679, 17, 11, 362, 60, 1635, 311, 80, 17034, 58, 46200, 71, 58, 87, 11907, 20679, 50, 80, 17034, 58, 40, 9, 46200, 71, 58, 87, 11907, 4943, 198, 31, 12860, 285, 17, 73, 7203, 19510, 12, 34777, 2611, 58, 12, 77, 11, 532, 11187, 58, 83, 11907, 27493, 32590, 11187, 58, 83, 12962, 61, 77, 20679, 11187, 58, 83, 60, 61, 77, 4943, 198, 31, 12860, 285, 17, 73, 7203, 7, 66, 1343, 288, 9, 87, 8, 61, 15, 9, 34220, 34777, 2611, 58, 77, 11, 257, 1343, 275, 9, 87, 60, 4943, 198, 31, 12860, 285, 17, 73, 7203, 7, 66, 1343, 288, 9, 87, 8, 61, 16, 9, 16870, 34500, 1373, 36, 58, 77, 11, 257, 1343, 275, 9, 87, 60, 4943, 198, 31, 12860, 285, 17, 73, 7203, 38197, 469, 16996, 17, 37, 16, 58, 16, 14, 17, 11, 352, 14, 17, 11, 513, 14, 17, 11, 352, 14, 17, 8, 4943, 198, 31, 12860, 285, 17, 73, 7203, 28532, 452, 876, 58, 77, 7131, 69, 7131, 87, 60, 4943, 198, 31, 12860, 285, 17, 73, 7203, 69, 6, 58, 87, 60, 4943, 628, 198, 2235, 34689, 670, 355, 314, 467, 287, 257, 1366, 14535, 284, 787, 29497, 2458, 198, 2, 18067, 5755, 286, 597, 5254, 326, 836, 470, 670, 826, 783, 13, 198, 69, 3672, 796, 366, 9288, 14, 1102, 9641, 62, 7890, 13, 40664, 1, 198, 2, 47764, 796, 6060, 19778, 7, 36540, 3558, 8, 1303, 20768, 6282, 198, 7568, 796, 6060, 19778, 7, 7902, 53, 13, 8979, 7, 69, 3672, 4008, 198, 31, 12860, 3891, 7, 7568, 8, 198, 31, 12860, 2546, 7, 7568, 8, 198, 198, 2, 8106, 0, 7, 87, 4613, 5145, 87, 13, 271, 23893, 11, 47764, 1776, 198, 2, 2038, 2536, 14542, 796, 14631, 34, 34574, 34500, 4873, 1600, 366, 3118, 18908, 81, 540, 8973, 198, 2, 8106, 0, 7, 87, 4613, 5145, 1092, 7, 13966, 1834, 259, 12195, 32165, 2536, 14542, 11, 2124, 13, 8738, 4402, 36911, 47764, 1776, 198, 2, 6121, 0, 7, 7568, 11, 1058, 18908, 25192, 5218, 2750, 25166, 7, 76, 17, 73, 8, 5218, 1058, 73, 32176, 391, 660, 23936, 8, 1303, 1017, 13321, 322, 198, 2, 2488, 12860, 2546, 7, 7568, 8, 198, 2, 44189, 13, 13564, 7, 69, 3672, 11, 47764, 8, 198, 2, 12793, 6252, 20368, 10541, 198, 198, 2, 2488, 12860, 2546, 7, 7568, 8, 198, 2, 8106, 0, 7, 87, 4613, 2124, 13, 73, 32176, 391, 660, 23936, 14512, 366, 10044, 325, 13047, 1600, 47764, 1776, 198, 2, 2488, 12860, 2546, 7, 7568, 8, 198, 2, 44189, 13, 13564, 7, 69, 3672, 11, 47764, 8, 198, 2, 12793, 6252, 20368, 10541, 198, 198, 2, 8106, 0, 7, 87, 4613, 5145, 13966, 1834, 259, 7203, 38197, 469, 16996, 17, 37, 16, 1600, 2124, 13, 8738, 4402, 828, 47764, 1776, 220, 197, 2, 3982, 5241, 546, 30123, 198, 2, 8106, 0, 7, 87, 4613, 5145, 13966, 1834, 259, 7203, 14815, 15057, 1600, 2124, 13, 8738, 4402, 828, 47764, 1776, 220, 197, 197, 2, 3982, 5241, 546, 939, 198, 2, 6121, 0, 7, 7568, 11, 1058, 8738, 4402, 5218, 2750, 25166, 7, 87, 4613, 285, 17, 73, 7, 87, 11, 15942, 577, 28, 9562, 4008, 5218, 1058, 73, 43640, 8738, 4402, 8, 1303, 1017, 13321, 322, 198, 2, 8106, 0, 7, 87, 4613, 2124, 13, 73, 43640, 8738, 4402, 14512, 366, 10044, 325, 13047, 1600, 47764, 1776, 197, 197, 197, 197, 2, 3982, 5241, 546, 3439, 405, 198, 2, 8106, 0, 7, 87, 4613, 2124, 13, 73, 43640, 8738, 4402, 14512, 366, 15, 1600, 47764, 1776, 198, 2, 2488, 12860, 2546, 7, 7568, 8, 198, 2, 44189, 13, 13564, 7, 69, 3672, 11, 47764, 8, 198, 2, 12793, 6252, 20368, 10541, 198, 198, 17953, 62, 12001, 62, 6978, 7, 82, 8, 796, 4654, 6978, 7203, 9288, 1600, 6626, 7, 82, 11, 366, 6852, 4943, 58, 17, 25, 437, 12, 16, 60, 23029, 198, 17953, 62, 69, 3672, 7, 82, 8, 796, 6330, 7, 35312, 7, 82, 11, 366, 6852, 4943, 58, 437, 4357, 27071, 76, 1, 14804, 1911, 20362, 4943, 198, 35636, 0, 7, 7568, 11, 1058, 6978, 5218, 2750, 25166, 7, 17953, 62, 12001, 62, 6978, 8, 5218, 1058, 22915, 6978, 8, 198, 35636, 0, 7, 7568, 11, 1058, 6978, 5218, 2750, 25166, 7, 17953, 62, 69, 3672, 8, 5218, 1058, 22915, 69, 3672, 8, 198, 198, 2, 27433, 477, 262, 29196, 11, 691, 761, 284, 1057, 1752, 611, 262, 24512, 389, 13140, 198, 2, 3748, 7, 7568, 13, 22915, 6978, 8, 764, 91, 29, 33480, 6978, 220, 628, 198, 2235, 19430, 257, 1332, 3696, 46111, 4770, 50155, 198, 198, 79, 1476, 903, 796, 37227, 198, 3500, 34599, 198, 3500, 30307, 198, 3500, 7122, 10257, 291, 198, 3500, 15079, 469, 16996, 24629, 2733, 198, 3500, 12280, 6404, 283, 342, 907, 198, 3500, 6093, 24629, 2733, 59, 77, 198, 37811, 198, 198, 70, 7568, 796, 1448, 1525, 7, 7568, 11, 1058, 22915, 69, 3672, 1776, 198, 198, 8818, 4259, 62, 1837, 41641, 7, 82, 8, 198, 197, 82, 796, 6330, 7, 82, 11, 366, 366, 14804, 366, 4943, 1303, 17220, 9029, 198, 197, 82, 796, 6330, 7, 82, 11, 366, 834, 1, 5218, 366, 19570, 198, 437, 198, 198, 1640, 14808, 22184, 11, 828, 1448, 8, 287, 14729, 7, 70, 7568, 8, 198, 197, 45, 11, 44, 796, 2546, 7, 8094, 8, 198, 220, 220, 220, 2488, 10951, 17971, 45, 59, 926, 3558, 59, 83, 32071, 9220, 25, 720, 22184, 1, 628, 197, 448, 6978, 796, 4654, 6978, 7, 11085, 7, 8094, 13, 22915, 6978, 828, 24714, 8, 628, 197, 9654, 7, 448, 6978, 11, 366, 86, 4943, 466, 33245, 198, 197, 197, 13564, 7, 952, 11, 662, 321, 903, 8, 198, 197, 197, 1640, 256, 287, 1123, 808, 7, 8094, 8, 198, 197, 197, 197, 72, 796, 4259, 62, 1837, 41641, 7, 83, 58, 25, 73, 32176, 391, 660, 23936, 12962, 198, 197, 197, 197, 85, 796, 256, 58, 25, 45286, 60, 198, 197, 197, 197, 78, 796, 4259, 62, 1837, 41641, 7, 83, 58, 25, 73, 43640, 8738, 4402, 12962, 198, 197, 197, 197, 13564, 7, 952, 11, 44212, 9288, 19386, 16763, 72, 11, 720, 85, 8, 6624, 1058, 16763, 78, 19415, 77, 4943, 198, 197, 197, 437, 198, 197, 437, 198, 198, 437, 198, 198, 2235, 16926, 46, 787, 257, 4833, 1332, 26264, 287, 257, 2060, 2393, 198, 2, 16926, 46, 25, 2251, 257, 23714, 835, 284, 2727, 37640, 515, 5254, 621, 655, 717, 198, 448, 6978, 796, 4654, 6978, 7203, 9288, 1600, 366, 397, 4679, 8903, 515, 62, 41989, 13, 20362, 4943, 198, 31, 10951, 366, 32071, 9220, 25, 720, 448, 6978, 1, 198, 198, 45, 796, 838, 198, 9654, 7, 448, 6978, 11, 366, 86, 4943, 466, 33245, 198, 197, 13564, 7, 952, 11, 662, 321, 903, 8, 198, 197, 1640, 14808, 22184, 11, 828, 1448, 8, 287, 14729, 7, 70, 7568, 8, 198, 197, 197, 2617, 3672, 796, 717, 7, 8094, 13, 22915, 69, 3672, 8, 198, 197, 197, 31, 10951, 366, 32071, 1332, 900, 25, 720, 2617, 3672, 1, 198, 197, 197, 2, 16623, 1332, 900, 198, 197, 197, 13564, 7, 952, 11, 44212, 9288, 2617, 19990, 3, 2617, 3672, 7879, 2221, 59, 77, 4943, 220, 198, 197, 197, 198, 197, 197, 1640, 256, 287, 1123, 808, 7, 11085, 7, 8094, 11, 45, 4008, 198, 197, 197, 197, 72, 796, 4259, 62, 1837, 41641, 7, 83, 58, 25, 73, 32176, 391, 660, 23936, 12962, 198, 197, 197, 197, 85, 796, 256, 58, 25, 45286, 60, 198, 197, 197, 197, 78, 796, 4259, 62, 1837, 41641, 7, 83, 58, 25, 73, 43640, 8738, 4402, 12962, 198, 197, 197, 197, 13564, 7, 952, 11, 37082, 83, 31, 9288, 19386, 16763, 72, 11, 720, 85, 8, 6624, 1058, 16763, 78, 19415, 77, 4943, 198, 197, 197, 437, 628, 197, 197, 2, 5268, 286, 1332, 900, 198, 197, 197, 13564, 7, 952, 11, 366, 437, 59, 77, 59, 77, 4943, 220, 198, 197, 437, 198, 437, 198, 198, 29113, 29113, 2235, 198, 2235, 7006, 604, 25, 23042, 278, 34030, 40480, 198, 2, 198, 2, 6550, 23380, 64, 3912, 13042, 25, 198, 2, 220, 197, 158, 233, 227, 4808, 197, 197, 197, 1092, 2060, 5408, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 197, 197, 1092, 2060, 5408, 11, 284, 307, 3706, 2124, 198, 2, 220, 197, 158, 233, 227, 11593, 197, 197, 1092, 8379, 286, 530, 393, 517, 14700, 198, 2, 220, 197, 158, 233, 227, 2124, 834, 197, 197, 43167, 3706, 2124, 198, 2, 220, 197, 158, 233, 227, 2124, 834, 71, 197, 197, 43167, 286, 14700, 11, 477, 286, 3025, 6665, 389, 289, 198, 2, 220, 197, 158, 233, 227, 46444, 197, 197, 1092, 8379, 286, 6632, 393, 517, 14700, 198, 2, 220, 197, 158, 233, 227, 2124, 17569, 197, 197, 43167, 286, 6632, 393, 517, 14700, 3706, 2124, 198, 2, 220, 197, 158, 233, 227, 2124, 17569, 71, 197, 197, 43167, 286, 6632, 393, 517, 14700, 11, 477, 286, 3025, 6665, 389, 289, 220, 198, 2, 198, 2, 6550, 23380, 64, 6665, 25, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 71, 197, 197, 272, 5408, 351, 1182, 289, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 46541, 197, 272, 18253, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 15633, 197, 272, 27665, 1103, 1271, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 5377, 11141, 197, 64, 3716, 1271, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 8053, 197, 64, 1351, 198, 2, 220, 197, 158, 233, 227, 2124, 62, 13940, 23650, 197, 64, 6194, 198, 2, 198, 2, 27617, 25, 198, 2, 220, 197, 158, 233, 227, 279, 1078, 14, 26, 9288, 197, 197, 271, 257, 3912, 543, 7466, 691, 611, 262, 12660, 286, 1332, 19299, 6407, 13, 198, 2, 220, 197, 158, 233, 227, 300, 11994, 25, 29, 81, 11994, 14, 26, 9288, 197, 7856, 6629, 257, 3896, 543, 8991, 691, 611, 262, 12660, 286, 1332, 19299, 6407, 13, 198, 2, 220, 197, 158, 233, 227, 300, 11994, 25, 28, 81, 11994, 14, 26, 9288, 197, 271, 257, 6770, 284, 307, 973, 691, 611, 1332, 19299, 6407, 13, 198, 29113, 29113, 2235, 198, 7249, 6256, 72, 18274, 879, 1279, 25, 27741, 21312, 72, 46677, 886, 198, 198, 37811, 198, 27565, 5128, 25, 2558, 38518, 58, 84, 62, 11, 87, 62, 13940, 23650, 60, 19039, 9726, 58, 31478, 3, 15307, 8600, 82, 28, 25101, 11, 59, 3, 8600, 31694, 28, 35067, 5512, 2558, 58, 84, 11, 87, 11907, 198, 198, 2, 23948, 25, 198, 197, 12, 1438, 198, 197, 12, 26498, 198, 197, 12, 37430, 4906, 198, 197, 12, 825, 600, 295, 198, 37811, 198, 14881, 13, 31, 46265, 4299, 2878, 7273, 346, 37, 19524, 17410, 198, 197, 3672, 3712, 10100, 796, 13538, 198, 197, 22046, 3712, 10100, 796, 13538, 198, 197, 27363, 4906, 3712, 10100, 796, 13538, 198, 197, 4299, 600, 295, 3712, 10100, 796, 13538, 198, 437, 198, 198, 2, 13610, 7736, 2163, 2099, 422, 40364, 7466, 6338, 198, 18274, 346, 37, 19524, 17410, 7, 260, 3712, 3041, 25636, 23850, 8, 796, 7273, 346, 37, 19524, 17410, 7, 260, 13, 27144, 942, 23029, 198, 14881, 13, 12860, 7, 952, 3712, 9399, 11, 285, 3712, 18274, 346, 37, 19524, 17410, 8, 796, 3601, 7, 952, 11, 17971, 7, 76, 13, 3672, 8, 3, 7, 76, 13, 22046, 8, 3, 7, 76, 13, 27363, 4906, 8, 3, 7, 76, 13, 4299, 600, 295, 8, 4943, 198, 198, 2, 36557, 329, 19449, 18, 284, 3551, 257, 2393, 198, 44909, 31431, 13, 44909, 6030, 7, 3712, 6030, 90, 18274, 346, 37, 19524, 17410, 30072, 796, 32112, 31431, 13, 10100, 6030, 3419, 198, 198, 37811, 198, 36674, 5128, 25, 220, 198, 197, 46491, 7904, 7004, 5458, 3712, 2601, 1335, 3712, 31936, 198, 197, 46491, 2898, 328, 48, 58, 84, 60, 28104, 628, 198, 197, 2898, 328, 48, 3712, 26060, 796, 366, 1532, 334, 318, 281, 5408, 286, 262, 1296, 376, 58, 85, 60, 810, 376, 318, 257, 18620, 5192, 2163, 11, 833, 328, 48, 58, 84, 60, 5860, 6407, 26, 2073, 340, 5860, 10352, 526, 26, 198, 197, 59, 3, 2898, 328, 24629, 2733, 796, 1391, 46200, 11, 10437, 11, 11818, 11, 42266, 11, 1882, 11, 327, 1416, 19629, 198, 197, 2898, 328, 48, 58, 84, 62, 60, 19039, 10239, 48, 58, 59, 3, 2898, 328, 24629, 2733, 11, 1002, 58, 2953, 296, 48, 58, 84, 4357, 84, 11, 13847, 58, 84, 11907, 60, 198, 198, 2, 23948, 25, 198, 197, 12, 25439, 3672, 198, 197, 12, 1257, 4868, 198, 197, 12, 8748, 198, 197, 12, 5050, 198, 37811, 198, 14881, 13, 31, 46265, 4299, 2878, 2558, 18274, 879, 37, 19524, 198, 197, 20786, 3672, 3712, 10100, 796, 13538, 198, 197, 12543, 4868, 3712, 10100, 796, 13538, 198, 197, 26060, 3712, 10100, 796, 13538, 198, 197, 24396, 82, 3712, 38469, 90, 18274, 346, 37, 19524, 17410, 92, 796, 17635, 198, 197, 5458, 3712, 10100, 796, 13538, 198, 437, 198, 198, 2, 20090, 13570, 286, 5499, 351, 5050, 198, 8818, 7308, 13, 12860, 7, 952, 3712, 9399, 11, 277, 3712, 5317, 18274, 879, 37, 19524, 8, 220, 198, 197, 35235, 7, 952, 11, 17971, 7, 69, 13, 20786, 3672, 8, 4943, 198, 197, 13664, 7, 69, 13, 26060, 8, 1875, 657, 11405, 44872, 7203, 59, 83, 28350, 7479, 83, 3, 7, 69, 13, 26060, 8, 4943, 198, 197, 2, 277, 13, 24396, 82, 930, 29, 27056, 378, 764, 91, 29, 256, 4613, 44872, 7203, 220, 11789, 29568, 83, 58, 16, 60, 2599, 220, 29568, 83, 58, 17, 12962, 4943, 198, 437, 198, 198, 44909, 31431, 13, 44909, 6030, 7, 3712, 6030, 90, 5317, 18274, 879, 37, 19524, 30072, 796, 32112, 31431, 13, 44909, 3419, 198, 198, 8818, 3551, 7, 22602, 12543, 6359, 3712, 38469, 90, 5317, 18274, 879, 37, 19524, 5512, 7904, 6030, 90, 21312, 72, 18274, 879, 30072, 198, 197, 16793, 6978, 796, 4654, 6978, 7, 35339, 15908, 7, 21312, 259, 828, 366, 10677, 1600, 366, 25089, 72, 26791, 13, 17752, 4943, 198, 197, 9654, 7, 16793, 6978, 11, 366, 86, 4943, 466, 277, 198, 197, 197, 40386, 18, 13, 37784, 7, 69, 11, 19449, 18, 13, 13564, 7, 22602, 12543, 6359, 4008, 198, 197, 197, 35235, 7, 69, 8, 198, 197, 437, 198, 437, 198, 198, 2235, 198, 2, 16926, 46, 25, 21136, 416, 2665, 290, 8371, 28358, 198, 2, 220, 197, 39618, 26021, 5050, 326, 1595, 470, 4483, 262, 792, 260, 25636, 198, 2, 220, 197, 12885, 10809, 9097, 9004, 30, 198, 2, 198, 2, 16926, 46, 25, 5514, 604, 5499, 2038, 284, 2872, 198, 2, 220, 197, 158, 233, 227, 34142, 13434, 48, 58, 84, 60, 197, 197, 197, 197, 197, 12, 645, 28103, 198, 2, 220, 197, 158, 233, 227, 376, 7861, 282, 13434, 48, 58, 84, 60, 197, 197, 197, 197, 12, 645, 28103, 198, 2, 220, 197, 158, 233, 227, 49368, 33, 259, 49070, 58, 84, 11, 87, 60, 197, 197, 197, 197, 12, 5445, 510, 656, 9004, 28358, 198, 2, 220, 197, 158, 233, 227, 1024, 39022, 818, 4399, 38197, 65, 4160, 58, 84, 11, 87, 60, 220, 197, 12, 16476, 503, 198, 2, 198, 8818, 7308, 13, 29572, 7, 7753, 11, 7904, 6030, 90, 21312, 72, 18274, 879, 30072, 198, 197, 2363, 260, 25636, 796, 374, 1, 59, 38016, 9, 7904, 58, 50, 4083, 9, 59, 9, 59, 16725, 1303, 2872, 651, 17065, 1141, 262, 6626, 4905, 198, 197, 198, 197, 26060, 260, 25636, 796, 374, 37811, 59, 50, 10, 3712, 26060, 58, 59, 82, 2625, 60, 33747, 15885, 8, 8172, 37811, 198, 197, 2, 6550, 2052, 262, 8748, 3951, 290, 2644, 220, 220, 10563, 23007, 8748, 4731, 198, 197, 198, 197, 20786, 25677, 260, 25636, 796, 374, 1, 59, 38016, 9, 38016, 86, 9, 59, 58, 15885, 59, 12962, 59, 9, 59, 19415, 82, 1701, 198, 197, 2, 6550, 2052, 2163, 13639, 1222, 10563, 23007, 2163, 1438, 198, 197, 198, 197, 2, 1257, 4868, 260, 25636, 796, 374, 18109, 61, 59, 3, 59, 86, 10, 5769, 59, 82, 30, 28, 59, 82, 30, 5769, 59, 90, 15885, 59, 19629, 16725, 198, 197, 12543, 4868, 260, 25636, 796, 374, 1, 59, 3, 59, 86, 10, 59, 82, 30, 28, 59, 82, 30, 59, 90, 7, 15885, 19415, 19629, 1, 1303, 266, 14, 78, 23007, 198, 197, 2, 6550, 2052, 8341, 286, 5499, 628, 197, 2, 792, 16, 3672, 260, 25636, 796, 374, 1, 59, 38016, 9, 7904, 16375, 15885, 59, 77, 59, 38016, 9, 26933, 59, 86, 59, 82, 48688, 19415, 9, 59, 16725, 198, 197, 2, 792, 17, 3672, 260, 25636, 796, 374, 1, 59, 38016, 9, 7904, 7004, 5458, 15885, 59, 77, 59, 38016, 9, 26933, 59, 86, 59, 82, 48688, 19415, 9, 59, 16725, 198, 197, 2363, 3672, 260, 25636, 796, 374, 1, 59, 38016, 9, 26933, 59, 86, 59, 82, 60, 90, 17, 11, 92, 19415, 9, 59, 16725, 198, 197, 198, 197, 2, 1257, 565, 500, 260, 25636, 796, 374, 1, 59, 77, 26933, 32, 12, 57, 64, 12, 89, 15, 12, 24, 48688, 5769, 59, 30109, 25, 32, 12, 57, 64, 12, 89, 15, 12, 24, 62, 11, 59, 61, 59, 9, 59, 10, 59, 58, 59, 11907, 9, 59, 60, 5769, 59, 82, 9, 58, 25, 28, 48688, 59, 82, 9, 5769, 7, 27514, 13, 10, 59, 77, 47762, 16725, 1303, 319, 417, 7274, 198, 197, 12543, 565, 500, 260, 25636, 796, 374, 1, 198, 197, 59, 77, 26933, 32, 12, 57, 64, 12, 89, 15, 12, 24, 60, 28988, 197, 197, 197, 197, 197, 2, 23007, 2446, 1438, 16143, 319, 649, 1627, 198, 197, 38016, 30109, 25, 32, 12, 57, 64, 12, 89, 15, 12, 24, 62, 11, 59, 61, 59, 9, 59, 10, 59, 58, 59, 11907, 9, 59, 12962, 197, 197, 2, 23007, 5050, 7159, 198, 197, 38016, 82, 9, 58, 25, 28, 48688, 59, 82, 28104, 197, 197, 197, 197, 197, 197, 2, 23007, 10537, 10088, 357, 25, 28, 393, 796, 8, 198, 197, 19510, 27514, 13, 10, 59, 77, 8, 28988, 197, 197, 197, 197, 197, 197, 197, 2, 23007, 1963, 576, 3951, 286, 6770, 198, 197, 1, 87, 198, 197, 198, 197, 22602, 3642, 658, 796, 1100, 7, 7753, 11, 10903, 1776, 198, 197, 23946, 796, 6626, 7, 22602, 3642, 658, 11, 792, 260, 25636, 11, 1394, 28920, 28, 9562, 8, 198, 197, 198, 197, 2363, 3672, 796, 13538, 198, 197, 22602, 12543, 6359, 796, 2558, 18274, 879, 37, 19524, 21737, 198, 197, 1640, 792, 287, 9004, 58, 17, 25, 437, 60, 198, 197, 197, 16184, 76, 796, 2872, 7, 2363, 3672, 260, 25636, 11, 792, 8, 220, 197, 197, 2, 10133, 2665, 1438, 198, 197, 197, 361, 5145, 271, 22366, 7, 16184, 76, 8, 198, 197, 197, 197, 2363, 3672, 796, 3013, 76, 13, 27144, 942, 58, 16, 60, 198, 197, 197, 437, 628, 197, 197, 69, 23940, 796, 2872, 7, 20786, 25677, 260, 25636, 11, 792, 8, 197, 2, 15553, 13639, 351, 1438, 198, 197, 197, 271, 22366, 7, 69, 23940, 8, 11405, 2555, 198, 197, 197, 20786, 3672, 796, 277, 23940, 13, 27144, 942, 58, 16, 60, 198, 197, 197, 198, 197, 197, 2704, 76, 796, 2872, 7, 12543, 4868, 260, 25636, 11, 792, 8, 197, 197, 2, 15553, 1351, 220, 198, 197, 197, 12543, 4868, 796, 318, 22366, 7, 2704, 76, 8, 5633, 13538, 1058, 4731, 7, 2704, 76, 13, 15699, 8, 628, 197, 197, 385, 76, 796, 2872, 7, 26060, 260, 25636, 11, 792, 8, 197, 197, 2, 29566, 4731, 198, 197, 197, 26060, 796, 514, 76, 318, 64, 10528, 5633, 13538, 1058, 514, 76, 13, 27144, 942, 58, 16, 60, 198, 197, 197, 198, 197, 197, 2, 3497, 2163, 5050, 198, 197, 197, 0, 13966, 1834, 259, 7, 12543, 565, 500, 260, 25636, 11, 792, 8, 11405, 4275, 40539, 366, 2949, 5050, 12326, 329, 25, 720, 20786, 3672, 8172, 2555, 8, 198, 197, 197, 2, 2251, 257, 1351, 286, 5050, 1262, 27965, 319, 797, 25636, 220, 198, 197, 197, 24396, 82, 796, 7273, 346, 37, 19524, 17410, 12195, 27379, 15699, 7, 12543, 565, 500, 260, 25636, 11, 792, 4008, 628, 197, 197, 2, 23691, 262, 10361, 2163, 284, 262, 1351, 198, 197, 197, 14689, 0, 7, 7736, 12543, 6359, 11, 2558, 18274, 879, 37, 19524, 7, 198, 197, 197, 197, 197, 20786, 3672, 11, 220, 198, 197, 197, 197, 197, 12543, 4868, 11, 220, 198, 197, 197, 197, 197, 26060, 11, 220, 198, 197, 197, 197, 197, 24396, 82, 11, 220, 198, 197, 197, 197, 197, 2363, 3672, 198, 197, 197, 197, 8, 198, 197, 197, 8, 198, 197, 437, 198, 197, 22602, 12543, 6359, 198, 437, 198, 198, 8818, 3440, 7, 3712, 6030, 90, 21312, 72, 18274, 879, 30072, 198, 197, 25089, 72, 796, 24127, 1, 21312, 72, 1, 198, 197, 315, 879, 7753, 796, 4654, 6978, 7, 25089, 72, 11, 366, 21312, 72, 12, 19, 13, 1433, 13, 16, 13, 15, 1600, 366, 21312, 72, 1600, 366, 34500, 1358, 18274, 879, 24629, 2733, 13, 76, 4943, 198, 197, 29572, 7, 315, 879, 7753, 11, 6256, 72, 18274, 879, 8, 198, 437, 198, 198, 22602, 12543, 6359, 796, 3440, 7, 21312, 72, 18274, 879, 1776, 198, 31, 9288, 4129, 7, 22602, 12543, 6359, 8, 18189, 10190, 198, 198, 2, 22183, 262, 19449, 2393, 198, 2, 33918, 796, 3551, 7, 22602, 12543, 6359, 11, 6256, 72, 18274, 879, 1776, 198 ]
2.252299
17,396
# using Flux using Pkg Pkg.activate(".") using JuliaRL using Random using ProgressMeter function test_run(α=0.5/32, ϵ=0.01, γ=1.0, tilings=32, tiles=2; n_episodes=1000, seed=1002349) # ϵ = 0.1 # α = 0.5/tilings size_env_state = 2 num_actions = 3 lu = Learning.LinearRL.WatkinsQ(α) policy = EpsilonGreedyQPolicy(ϵ, 1:3) agent = LinearAgents.TileCoderAgent(lu, size_env_state, num_actions, tilings, tiles, γ, policy) rng = Random.MersenneTwister(seed) env = MountainCar(rng) cumulative_reward_array = zeros(Int64, n_episodes) # println("Here") @showprogress 0.1 "Episode: " for episode = 1:n_episodes # for episode = 1:n_episodes terminal = false num_steps = 0 cumulative_reward = 0 _, state = start!(env; rng=rng) action = start!(agent, state; rng=rng) while !terminal # print(num_steps, "\r") _, state_prime, reward, terminal = step!(env, action; rng=rng) action = step!(agent, state_prime, reward, terminal; rng=rng) # println(action) # println(reward) num_steps += 1 cumulative_reward += reward end cumulative_reward_array[episode] = cumulative_reward end return cumulative_reward_array end
[ 2, 1262, 1610, 2821, 198, 3500, 350, 10025, 198, 198, 47, 10025, 13, 39022, 7203, 19570, 628, 198, 3500, 22300, 7836, 198, 198, 3500, 14534, 198, 3500, 18387, 44, 2357, 198, 198, 8818, 1332, 62, 5143, 7, 17394, 28, 15, 13, 20, 14, 2624, 11, 18074, 113, 28, 15, 13, 486, 11, 7377, 111, 28, 16, 13, 15, 11, 21502, 654, 28, 2624, 11, 19867, 28, 17, 26, 299, 62, 538, 8052, 28, 12825, 11, 9403, 28, 3064, 1954, 2920, 8, 628, 220, 220, 220, 1303, 18074, 113, 796, 657, 13, 16, 198, 220, 220, 220, 1303, 26367, 796, 657, 13, 20, 14, 83, 43271, 198, 220, 220, 220, 2546, 62, 24330, 62, 5219, 796, 362, 198, 220, 220, 220, 997, 62, 4658, 796, 513, 628, 220, 220, 220, 300, 84, 796, 18252, 13, 14993, 451, 7836, 13, 54, 265, 5331, 48, 7, 17394, 8, 198, 220, 220, 220, 2450, 796, 43427, 33576, 43887, 4716, 48, 36727, 7, 139, 113, 11, 352, 25, 18, 8, 198, 220, 220, 220, 5797, 796, 44800, 10262, 658, 13, 35103, 34, 12342, 36772, 7, 2290, 11, 2546, 62, 24330, 62, 5219, 11, 997, 62, 4658, 11, 21502, 654, 11, 19867, 11, 7377, 111, 11, 2450, 8, 628, 220, 220, 220, 374, 782, 796, 14534, 13, 44, 364, 29727, 5080, 1694, 7, 28826, 8, 198, 220, 220, 220, 17365, 796, 9638, 9914, 7, 81, 782, 8, 198, 220, 220, 220, 23818, 62, 260, 904, 62, 18747, 796, 1976, 27498, 7, 5317, 2414, 11, 299, 62, 538, 8052, 8, 198, 220, 220, 220, 1303, 44872, 7203, 4342, 4943, 198, 220, 220, 220, 2488, 12860, 33723, 657, 13, 16, 366, 23758, 25, 366, 329, 4471, 796, 352, 25, 77, 62, 538, 8052, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 329, 4471, 796, 352, 25, 77, 62, 538, 8052, 198, 220, 220, 220, 220, 220, 220, 220, 12094, 796, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 20214, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 23818, 62, 260, 904, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 11, 1181, 796, 923, 0, 7, 24330, 26, 374, 782, 28, 81, 782, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2223, 796, 923, 0, 7, 25781, 11, 1181, 26, 374, 782, 28, 81, 782, 8, 198, 220, 220, 220, 220, 220, 220, 220, 981, 5145, 23705, 282, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3601, 7, 22510, 62, 20214, 11, 37082, 81, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 11, 1181, 62, 35505, 11, 6721, 11, 12094, 796, 2239, 0, 7, 24330, 11, 2223, 26, 374, 782, 28, 81, 782, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2223, 796, 2239, 0, 7, 25781, 11, 1181, 62, 35505, 11, 6721, 11, 12094, 26, 374, 782, 28, 81, 782, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 2673, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 260, 904, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 20214, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23818, 62, 260, 904, 15853, 6721, 628, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 23818, 62, 260, 904, 62, 18747, 58, 38668, 60, 796, 23818, 62, 260, 904, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 23818, 62, 260, 904, 62, 18747, 198, 437, 198 ]
2.16092
609
""" CosineKernel The cosine kernel is a stationary kernel for a sinusoidal given by ``` κ(x,y) = cos( π * (x-y) ) ``` """ struct CosineKernel <: BaseKernel end kappa(κ::CosineKernel, d::Real) = cospi(d) metric(::CosineKernel) = Euclidean()
[ 37811, 198, 220, 220, 220, 10437, 500, 42, 7948, 198, 198, 464, 8615, 500, 9720, 318, 257, 31607, 9720, 329, 257, 7813, 385, 47502, 1813, 416, 198, 15506, 63, 198, 220, 220, 220, 7377, 118, 7, 87, 11, 88, 8, 796, 8615, 7, 18074, 222, 1635, 357, 87, 12, 88, 8, 1267, 198, 15506, 63, 198, 198, 37811, 198, 7249, 10437, 500, 42, 7948, 1279, 25, 7308, 42, 7948, 886, 198, 198, 74, 20975, 7, 43000, 3712, 36734, 500, 42, 7948, 11, 288, 3712, 15633, 8, 796, 269, 2117, 72, 7, 67, 8, 198, 198, 4164, 1173, 7, 3712, 36734, 500, 42, 7948, 8, 796, 48862, 485, 272, 3419, 198 ]
2.290909
110
function probLineSearch(func::AbstractPLSFunction, x₀::Vector{T}, α₀::T; search_direction::Union{Nothing, Vector{T}}=nothing, σ²_f::Union{Nothing, T}=nothing, σ²_J::Union{Nothing, T, Array{T}}=nothing, pars::PLSConstantParams{T}=PLSConstantParams(T), history::PLSHistory=PLSHistory(α₀)) where T <: AbstractFloat # Setup general x0 (no projection onto line yet) x0 = evaluate(func, x₀; history=history) # Get line search direction (if not specified) (search_direction === nothing) && (search_direction = -x0.J) # Project onto line project_1d!(x0, search_direction) # project gradient from Jacobian, and gradient variance. # User specified variances !(σ²_f === nothing) && (x0.σ²_f = σ²_f) !(σ²_J === nothing) && (x0.σ²_J = σ²_J) # Set-up line search parameters search = PLSSearchDefn(T, x₀, x0.y, α₀, search_direction, x0.σ²_f, x0.σ²_J) # Run line search x, gp = probLineSearch(func, x0, search, pars=pars, history=history) return x, gp, search, history end function probLineSearch(func::AbstractPLSFunction, x0::PLSEvaluation{T}, search::PLSSearchDefn{T}; pars::PLSConstantParams{T}=PLSConstantParams(T), history::PLSHistory{T}=PLSHistory(T)) where T <: AbstractFloat @unpack α₀, search_direction, denom = search @unpack niter, c1, c2, wolfeThresh, verbosity = pars # project current evaluation onto the search direction specified. project_1d!(x0, search.search_direction) x0.t = 0 # Need to learn normalisation factor from x0, then store for rest of proc. norm∇_0 = abs(x0.∇y) if !isapprox(norm∇_0, 1.0) search.denom = norm∇_0 # magnitude for rescaling: |y′(0)| search.x₀ = x0.x search.f₀ = x0.y # offset for rescaling: y(0) normalise_for_linesearch!(x0, search) else !isapprox(search.denom, 1.0) && (@warn "Perhaps x0 has been pre-normalised; and norm factor in searchpars≈1.0. This may cause problems.") end σ²_f, σ²_∇ = normalised_fun_var(search) # @show sqrt(σ²_f) # @show sqrt(σ²_∇) gp = PLSPosterior(zeros(T, 1), zeros(T, 1), [x0.∇y], σ²_f, σ²_∇) # T, Y, ∇Y, ΣY, Σ∇ iterates = [x0] tt = T(1.0) # initial step size (rescaled) for i = 1:niter #====================================================================== Evaluate chosen point. =====================================================================# x = evaluate(func, tt, search; history=history) # @show x.x push!(iterates, x) gp = update(gp, x) # @show gp.Ts # @show gp.Y # @show gp.∇Y probWolfe(gp, tt, c1, c2) # -- check last evaluated point for acceptance ------------------------ if probWolfe(gp, tt, c1, c2) > wolfeThresh # are we done? # display("bark1") push!(history.msg, "found acceptable point. (1).") finalise(x, gp, search, pars, history); return x, gp # done => x.x, x.y, x.J, x.∇_J, search.α₀, history.ewma_α end #====================================================================== Has updating the GP led to an existing point qualifying? =====================================================================# # ----------------- find minimum of posterior mean -------------------- minM, minT, minj = min_mean(gp) # of existing points min∇ = d1m(gp, gp.Ts[minj]) # -------------- ∇ ≈ 0 with high probability? ------------------------- if abs(min∇) < 1e-5 && Vd(gp, minT) < 1e-4 # nearly deterministic # display("bark2") push!(history.msg, "found a point with almost zero gradient. Stopping, although Wolfe conditions not guaranteed.") x = iterates[minj] finalise(x, gp, search, pars, history) return x, gp end # -------------- Wolfe Conditions satisfied? -------------------------- Tsort = sort(gp.Ts); # ignore first point wolfes_ix = 1 .+ findall(probWolfe.(gp, Tsort[2:end], c1, c2) .> wolfeThresh) if !isempty(wolfes_ix) # display("bark3") push!(history.msg, "found acceptable point. (2).") smallest_wolfe = argmin(m.(gp, Tsort[wolfes_ix])) tt = Tsort[wolfes_ix[smallest_wolfe]] # choose point with smallest post. mean. minj = findfirst(gp.Ts .== tt) x = iterates[minj] finalise(x, gp, search, pars, history) return x, gp; end #====================================================================== Choose next evaluation using EI/ProbWolfe via candidates =====================================================================# # -- CANDIDATES 1: minimal means between all evaluations.-------------- # iterate through all `cells' (O[N]), check minimum mean locations. Tcand = zeros(T, 0); # positions of candidate points for cell = 1:length(gp)-1 # loop over cells _cellT_ϵ = Tsort[cell] + T(1e-6) * (Tsort[cell+1] - Tsort[cell]); cell_minT = cubicMinimum(gp, _cellT_ϵ); # add point to candidate list if minimum lies in between T(cel) and T(cel+1) if Tsort[cell] < cell_minT < Tsort[cell+1]; push!(Tcand, cell_minT); # ~~PATHOLOGY~~ #= If unable to find minimum in first cell *AND* the estimated ∇ > 0 it is possible that (assuming the search direction is ok) the scale is wrong, so return a point v. close to original, and reduce α₀.=# elseif cell==1 && d1m(gp, 0) > 0 display("bark4") push!(history.msg, "function seems very steep, reevaluating close to start.") tt = T(0.01) * (Tsort[cell] + Tsort[cell+1]); # => Can lead to oscillation if T[1] is too far away. # x = iterates[1] # tt = T(0) x = evaluate(func, tt, search; history=history) # @show x.x finalise(x, gp, search, pars, history) #; force_α= search.α₀ / 2) # search.α₀ /= 10 # history.ewma_α /= 5 return x, gp # done end end # -- CANDIDATES 2: one extrapolation step ----------------------------- push!(Tcand, maximum(gp.Ts) + search.extrap_amt); # display(Tcand) # display("before") # -- DISCRIMINATION: EI and ProbWolfe --------------------------------- # Calculate some statistics for EI. μs = m(gp, Tcand) # means of candidate points σs = __sqrt.(V(gp, Tcand)) # s.d. of candidate points # display(μs) # display(σs) # display(minM) # display(minT) # display(minj) EIcand = EI.(μs, σs, minM); # minM = η: best (lowest) GP mean of existing points PPcand = probWolfe.(gp, Tcand, c1, c2) idx_best = argmax(EIcand .* PPcand) # If best point is found using extrapolation, extend extrapolation for next iter. (idx_best == length(Tcand)) && (search.extrap_amt *= 2) # display(EIcand) # display(PPcand) # display("Chosen value: $idx_best") # Next point chosen for evaluation (next iter!): tt = Tcand[idx_best]; # makePlot(); end #====================================================================== !!! Not found an acceptable candidate in the niter limit. =====================================================================# x = evaluate(func, tt, search, history=history) # @show x.x push!(iterates, x) gp = update(gp, x) # -- check last evaluated point for acceptance ------------------------ if probWolfe(gp, tt, c1, c2) > wolfeThresh # are we done? # display("bark5") push!(history.msg, "found acceptable point. (3).") finalise(x, gp, search, pars, history); return x, gp # done => x.x, x.y, x.J, x.∇_J, search.α₀, history.ewma_α end # -- return point with lowest mean ---------------------------------------- # Code of Mahsereci and Hennig exclude t=0 from this, but I'm not sure I buy this. minM, minT, minj = min_mean(gp) # display("bark6") (verbosity > 0) && @warn "reached evaluation limit. Returning 'best' known point." push!(history.msg, "reached evaluation limit. Returning 'best' known point.") x = iterates[minj] finalise(x, gp, search, pars, history); return x, gp # tt = Tsort[argmin(m.(gp, Tsort[wolfes_ix]))] # choose point with smallest post. mean. # minj = findfirst(gp.Ts .== tt) # x = iterates[minj] # finalise(x, gp, search, pars, history) # makePlot(); end function finalise(x::PLSEvaluation{T}, post::PLSPosterior{T}, searchpars::PLSSearchDefn{T}, pars::PLSConstantParams, history::PLSHistory{T}; force_α::Union{T,Nothing}=nothing) where T <: AbstractFloat @unpack x₀ ,α₀, f₀, denom = searchpars @unpack αGrowth, verbosity, c1, c2 = pars # Transform `x` back to original frame of reference / undo [0,1] normalisation. invert_normalise_for_linesearch!(x, searchpars) # save step size α = x.t*α₀ push!(history.αs, α) # next initial step size is αGrowth (def=1.3x) larger than last accepted step size searchpars.α₀ = something(force_α, α * αGrowth) check_α = (force_α === nothing) # if new alpha not forced by input arg # running average for reset in case the step size becomes very small # this is a safeguard gamma = 0.95; history.ewma_α = gamma*history.ewma_α + (1-gamma)*something(force_α, α); # reset NEXT initial step size to average step size if accepted step # size is 100 times smaller or larger than average step size if check_α && !(1e-2 * history.ewma_α < α < 1e2 * history.ewma_α) push!(history.msg, "v large/small value of α, resetting alpha0.") (verbosity > 0) && @warn "v large/small value of α, resetting alpha0. To avoid cycling, ensure passing PLSHistory object through." searchpars.α₀ = history.ewma_α # reset step size end # reset search parameters for next iteration # --- any extrapolation should be baked into α₀ searchpars.extrap_amt = 1 # --- update noise according to x searchpars.σ²_f = x.σ²_f searchpars.σ²_J = x.σ²_J # Calculate acceptance statistics minM, _minT, _minj = min_mean(post) # of existing points push!(history.EI, EI(m(post, x.t), __sqrt(V(post, x.t)), minM)) push!(history.Wolfe, probWolfe(post, x.t, c1, c2)) history.recording = false end
[ 198, 8818, 1861, 13949, 18243, 7, 20786, 3712, 23839, 6489, 20802, 4575, 11, 2124, 158, 224, 222, 3712, 38469, 90, 51, 5512, 26367, 158, 224, 222, 3712, 51, 26, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 62, 37295, 3712, 38176, 90, 18465, 11, 20650, 90, 51, 11709, 28, 22366, 11, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 225, 31185, 62, 69, 3712, 38176, 90, 18465, 11, 309, 92, 28, 22366, 11, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 225, 31185, 62, 41, 3712, 38176, 90, 18465, 11, 309, 11, 15690, 90, 51, 11709, 28, 22366, 11, 198, 220, 220, 220, 220, 220, 220, 220, 13544, 3712, 6489, 50, 3103, 18797, 10044, 4105, 90, 51, 92, 28, 6489, 50, 3103, 18797, 10044, 4105, 7, 51, 828, 198, 220, 220, 220, 220, 220, 220, 220, 2106, 3712, 6489, 9693, 396, 652, 28, 6489, 9693, 396, 652, 7, 17394, 158, 224, 222, 4008, 810, 309, 1279, 25, 27741, 43879, 628, 220, 220, 220, 1303, 31122, 2276, 2124, 15, 357, 3919, 20128, 4291, 1627, 1865, 8, 198, 220, 220, 220, 2124, 15, 796, 13446, 7, 20786, 11, 2124, 158, 224, 222, 26, 2106, 28, 23569, 8, 628, 220, 220, 220, 1303, 3497, 1627, 2989, 4571, 357, 361, 407, 7368, 8, 198, 220, 220, 220, 357, 12947, 62, 37295, 24844, 2147, 8, 11405, 357, 12947, 62, 37295, 796, 532, 87, 15, 13, 41, 8, 628, 220, 220, 220, 1303, 4935, 4291, 1627, 198, 220, 220, 220, 1628, 62, 16, 67, 0, 7, 87, 15, 11, 2989, 62, 37295, 8, 220, 1303, 1628, 31312, 422, 12806, 666, 11, 290, 31312, 24198, 13, 628, 220, 220, 220, 1303, 11787, 7368, 1401, 16097, 198, 220, 220, 220, 5145, 7, 38392, 31185, 62, 69, 24844, 2147, 8, 11405, 357, 87, 15, 13, 38392, 31185, 62, 69, 796, 18074, 225, 31185, 62, 69, 8, 198, 220, 220, 220, 5145, 7, 38392, 31185, 62, 41, 24844, 2147, 8, 11405, 357, 87, 15, 13, 38392, 31185, 62, 41, 796, 18074, 225, 31185, 62, 41, 8, 628, 220, 220, 220, 1303, 5345, 12, 929, 1627, 2989, 10007, 198, 220, 220, 220, 2989, 796, 9297, 5432, 3679, 7469, 77, 7, 51, 11, 2124, 158, 224, 222, 11, 2124, 15, 13, 88, 11, 26367, 158, 224, 222, 11, 2989, 62, 37295, 11, 2124, 15, 13, 38392, 31185, 62, 69, 11, 2124, 15, 13, 38392, 31185, 62, 41, 8, 628, 220, 220, 220, 1303, 5660, 1627, 2989, 198, 220, 220, 220, 2124, 11, 27809, 796, 1861, 13949, 18243, 7, 20786, 11, 2124, 15, 11, 2989, 11, 13544, 28, 79, 945, 11, 2106, 28, 23569, 8, 198, 220, 220, 220, 1441, 2124, 11, 27809, 11, 2989, 11, 2106, 198, 437, 628, 198, 8818, 1861, 13949, 18243, 7, 20786, 3712, 23839, 6489, 20802, 4575, 11, 2124, 15, 3712, 6489, 5188, 2100, 2288, 90, 51, 5512, 2989, 3712, 6489, 5432, 3679, 7469, 77, 90, 51, 19629, 198, 220, 220, 220, 220, 220, 220, 220, 13544, 3712, 6489, 50, 3103, 18797, 10044, 4105, 90, 51, 92, 28, 6489, 50, 3103, 18797, 10044, 4105, 7, 51, 828, 2106, 3712, 6489, 9693, 396, 652, 90, 51, 92, 28, 6489, 9693, 396, 652, 7, 51, 4008, 810, 309, 1279, 25, 27741, 43879, 628, 220, 220, 220, 2488, 403, 8002, 26367, 158, 224, 222, 11, 2989, 62, 37295, 11, 2853, 296, 796, 2989, 198, 220, 220, 220, 2488, 403, 8002, 299, 2676, 11, 269, 16, 11, 269, 17, 11, 17481, 68, 817, 3447, 11, 15942, 16579, 796, 13544, 628, 220, 220, 220, 1303, 1628, 1459, 12660, 4291, 262, 2989, 4571, 7368, 13, 198, 220, 220, 220, 1628, 62, 16, 67, 0, 7, 87, 15, 11, 2989, 13, 12947, 62, 37295, 8, 198, 220, 220, 220, 2124, 15, 13, 83, 796, 657, 628, 220, 220, 220, 1303, 10664, 284, 2193, 3487, 5612, 5766, 422, 2124, 15, 11, 788, 3650, 329, 1334, 286, 13834, 13, 198, 220, 220, 220, 2593, 24861, 229, 62, 15, 220, 220, 220, 796, 2352, 7, 87, 15, 13, 24861, 229, 88, 8, 198, 220, 220, 220, 611, 5145, 271, 1324, 13907, 7, 27237, 24861, 229, 62, 15, 11, 352, 13, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 13, 6559, 296, 796, 2593, 24861, 229, 62, 15, 220, 220, 1303, 14735, 329, 6811, 4272, 25, 930, 88, 17478, 7, 15, 14726, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 13, 87, 158, 224, 222, 796, 2124, 15, 13, 87, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 13, 69, 158, 224, 222, 796, 2124, 15, 13, 88, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 11677, 329, 6811, 4272, 25, 331, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3487, 786, 62, 1640, 62, 6615, 3679, 0, 7, 87, 15, 11, 2989, 8, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 1324, 13907, 7, 12947, 13, 6559, 296, 11, 352, 13, 15, 8, 11405, 4275, 40539, 366, 13710, 2124, 15, 468, 587, 662, 12, 11265, 1417, 26, 290, 2593, 5766, 287, 2989, 79, 945, 35705, 230, 16, 13, 15, 13, 770, 743, 2728, 2761, 19570, 198, 220, 220, 220, 886, 628, 220, 220, 220, 18074, 225, 31185, 62, 69, 11, 18074, 225, 31185, 62, 24861, 229, 796, 3487, 1417, 62, 12543, 62, 7785, 7, 12947, 8, 198, 220, 220, 220, 1303, 2488, 12860, 19862, 17034, 7, 38392, 31185, 62, 69, 8, 198, 220, 220, 220, 1303, 2488, 12860, 19862, 17034, 7, 38392, 31185, 62, 24861, 229, 8, 198, 220, 220, 220, 27809, 796, 9297, 4303, 6197, 1504, 7, 9107, 418, 7, 51, 11, 352, 828, 1976, 27498, 7, 51, 11, 352, 828, 685, 87, 15, 13, 24861, 229, 88, 4357, 18074, 225, 31185, 62, 69, 11, 18074, 225, 31185, 62, 24861, 229, 8, 1303, 309, 11, 575, 11, 18872, 229, 56, 11, 7377, 96, 56, 11, 7377, 96, 24861, 229, 628, 220, 220, 220, 11629, 689, 796, 685, 87, 15, 60, 628, 220, 220, 220, 256, 83, 796, 309, 7, 16, 13, 15, 8, 220, 220, 1303, 4238, 2239, 2546, 357, 411, 66, 3021, 8, 628, 220, 220, 220, 329, 1312, 796, 352, 25, 77, 2676, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 23926, 50155, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26439, 4985, 7147, 966, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 38093, 1421, 2, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 13446, 7, 20786, 11, 256, 83, 11, 2989, 26, 2106, 28, 23569, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 2124, 13, 87, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 2676, 689, 11, 2124, 8, 628, 220, 220, 220, 220, 220, 220, 220, 27809, 796, 4296, 7, 31197, 11, 2124, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 27809, 13, 33758, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 27809, 13, 56, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 27809, 13, 24861, 229, 56, 198, 220, 220, 220, 220, 220, 220, 220, 1861, 32069, 68, 7, 31197, 11, 256, 83, 11, 269, 16, 11, 269, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1377, 2198, 938, 16726, 966, 329, 13427, 220, 22369, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1861, 32069, 68, 7, 31197, 11, 256, 83, 11, 269, 16, 11, 269, 17, 8, 1875, 17481, 68, 817, 3447, 220, 220, 1303, 389, 356, 1760, 30, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 65, 668, 16, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 9275, 10909, 966, 13, 357, 16, 8, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2124, 11, 27809, 1303, 1760, 220, 5218, 2124, 13, 87, 11, 2124, 13, 88, 11, 2124, 13, 41, 11, 2124, 13, 24861, 229, 62, 41, 11, 2989, 13, 17394, 158, 224, 222, 11, 2106, 13, 413, 2611, 62, 17394, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 23926, 50155, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7875, 19698, 262, 14714, 2957, 284, 281, 4683, 966, 18677, 30, 198, 220, 220, 220, 220, 220, 220, 220, 220, 38093, 1421, 2, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 34400, 12, 1064, 5288, 286, 34319, 1612, 41436, 198, 220, 220, 220, 220, 220, 220, 220, 949, 44, 11, 949, 51, 11, 949, 73, 220, 796, 949, 62, 32604, 7, 31197, 8, 220, 220, 1303, 286, 4683, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 949, 24861, 229, 796, 288, 16, 76, 7, 31197, 11, 27809, 13, 33758, 58, 1084, 73, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 26171, 18872, 229, 15139, 230, 657, 351, 1029, 12867, 30, 220, 22369, 12, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2352, 7, 1084, 24861, 229, 8, 1279, 352, 68, 12, 20, 11405, 569, 67, 7, 31197, 11, 949, 51, 8, 1279, 352, 68, 12, 19, 1303, 3016, 2206, 49228, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 65, 668, 17, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 9275, 257, 966, 351, 2048, 6632, 31312, 13, 22025, 2105, 11, 3584, 37013, 3403, 407, 11462, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 11629, 689, 58, 1084, 73, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2124, 11, 27809, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 26171, 37013, 27617, 11378, 30, 220, 22369, 438, 198, 220, 220, 220, 220, 220, 220, 220, 13146, 419, 220, 796, 3297, 7, 31197, 13, 33758, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8856, 717, 966, 198, 220, 220, 220, 220, 220, 220, 220, 17481, 274, 62, 844, 796, 352, 764, 10, 1064, 439, 7, 1676, 65, 32069, 68, 12195, 31197, 11, 13146, 419, 58, 17, 25, 437, 4357, 269, 16, 11, 269, 17, 8, 764, 29, 17481, 68, 817, 3447, 8, 628, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 271, 28920, 7, 18829, 274, 62, 844, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 65, 668, 18, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 9275, 10909, 966, 13, 357, 17, 8, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18197, 62, 18829, 68, 796, 1822, 1084, 7, 76, 12195, 31197, 11, 13146, 419, 58, 18829, 274, 62, 844, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 796, 13146, 419, 58, 18829, 274, 62, 844, 58, 17470, 395, 62, 18829, 68, 11907, 220, 1303, 3853, 966, 351, 18197, 1281, 13, 1612, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 949, 73, 796, 1064, 11085, 7, 31197, 13, 33758, 764, 855, 256, 83, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 11629, 689, 58, 1084, 73, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2124, 11, 27809, 26, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 23926, 50155, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17489, 1306, 12660, 1262, 412, 40, 14, 2964, 65, 32069, 68, 2884, 5871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 38093, 1421, 2, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1377, 327, 6981, 2389, 29462, 352, 25, 10926, 1724, 1022, 477, 34109, 13, 26171, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 11629, 378, 832, 477, 4600, 46342, 6, 357, 46, 58, 45, 46570, 2198, 5288, 1612, 7064, 13, 198, 220, 220, 220, 220, 220, 220, 220, 309, 46188, 796, 1976, 27498, 7, 51, 11, 657, 1776, 1303, 6116, 286, 4540, 2173, 628, 220, 220, 220, 220, 220, 220, 220, 329, 2685, 796, 352, 25, 13664, 7, 31197, 13219, 16, 1303, 9052, 625, 4778, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 3846, 51, 62, 139, 113, 220, 220, 796, 13146, 419, 58, 3846, 60, 1343, 309, 7, 16, 68, 12, 21, 8, 1635, 357, 51, 30619, 58, 3846, 10, 16, 60, 532, 13146, 419, 58, 3846, 36563, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2685, 62, 1084, 51, 220, 796, 27216, 44046, 7, 31197, 11, 4808, 3846, 51, 62, 139, 113, 1776, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 751, 966, 284, 4540, 1351, 611, 5288, 7363, 287, 1022, 309, 7, 5276, 8, 290, 309, 7, 5276, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 13146, 419, 58, 3846, 60, 1279, 2685, 62, 1084, 51, 1279, 13146, 419, 58, 3846, 10, 16, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 51, 46188, 11, 2685, 62, 1084, 51, 1776, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 4907, 34219, 43781, 4907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 28, 1002, 5906, 284, 1064, 5288, 287, 717, 2685, 1635, 6981, 9, 262, 6108, 18872, 229, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 340, 318, 1744, 326, 357, 32935, 262, 2989, 4571, 318, 12876, 8, 262, 5046, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 2642, 11, 523, 1441, 257, 966, 410, 13, 1969, 284, 2656, 11, 290, 4646, 26367, 158, 224, 222, 13, 46249, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 2685, 855, 16, 11405, 288, 16, 76, 7, 31197, 11, 657, 8, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3359, 7203, 65, 668, 19, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 8818, 2331, 845, 14559, 11, 302, 18206, 11927, 1969, 284, 923, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 796, 309, 7, 15, 13, 486, 8, 1635, 357, 51, 30619, 58, 3846, 60, 1343, 13146, 419, 58, 3846, 10, 16, 36563, 220, 1303, 5218, 1680, 1085, 284, 24969, 341, 611, 309, 58, 16, 60, 318, 1165, 1290, 1497, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2124, 796, 11629, 689, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 256, 83, 796, 309, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 13446, 7, 20786, 11, 256, 83, 11, 2989, 26, 2106, 28, 23569, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 2124, 13, 87, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 8, 1303, 26, 2700, 62, 17394, 28, 2989, 13, 17394, 158, 224, 222, 1220, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2989, 13, 17394, 158, 224, 222, 1220, 28, 838, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2106, 13, 413, 2611, 62, 17394, 1220, 28, 642, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2124, 11, 27809, 220, 1303, 1760, 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, 1377, 327, 6981, 2389, 29462, 362, 25, 530, 36804, 21417, 2239, 34400, 32501, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 51, 46188, 11, 5415, 7, 31197, 13, 33758, 8, 1343, 2989, 13, 2302, 2416, 62, 321, 83, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 51, 46188, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 19052, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1377, 13954, 9419, 3955, 1268, 6234, 25, 412, 40, 290, 30873, 32069, 68, 20368, 12, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 27131, 378, 617, 7869, 329, 412, 40, 13, 198, 220, 220, 220, 220, 220, 220, 220, 18919, 82, 796, 285, 7, 31197, 11, 309, 46188, 8, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1724, 286, 4540, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 225, 82, 796, 11593, 31166, 17034, 12195, 53, 7, 31197, 11, 309, 46188, 4008, 220, 220, 1303, 264, 13, 67, 13, 286, 4540, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 34703, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 38392, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 1084, 44, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 1084, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 1084, 73, 8, 198, 220, 220, 220, 220, 220, 220, 220, 412, 40, 46188, 796, 412, 40, 12195, 34703, 82, 11, 18074, 225, 82, 11, 949, 44, 1776, 1303, 949, 44, 796, 7377, 115, 25, 1266, 357, 9319, 395, 8, 14714, 1612, 286, 4683, 2173, 628, 220, 220, 220, 220, 220, 220, 220, 21082, 46188, 796, 1861, 32069, 68, 12195, 31197, 11, 309, 46188, 11, 269, 16, 11, 269, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 87, 62, 13466, 796, 1822, 9806, 7, 36, 40, 46188, 764, 9, 21082, 46188, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 1266, 966, 318, 1043, 1262, 36804, 21417, 11, 9117, 36804, 21417, 329, 1306, 11629, 13, 198, 220, 220, 220, 220, 220, 220, 220, 357, 312, 87, 62, 13466, 6624, 4129, 7, 51, 46188, 4008, 11405, 357, 12947, 13, 2302, 2416, 62, 321, 83, 1635, 28, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 36, 40, 46188, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7, 10246, 46188, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 1925, 5233, 1988, 25, 720, 312, 87, 62, 13466, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 7406, 966, 7147, 329, 12660, 357, 19545, 11629, 0, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 256, 83, 796, 309, 46188, 58, 312, 87, 62, 13466, 11208, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 787, 43328, 9783, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1303, 23926, 50155, 198, 220, 220, 220, 220, 220, 220, 220, 220, 10185, 1892, 1043, 281, 10909, 4540, 287, 262, 299, 2676, 4179, 13, 198, 220, 220, 220, 220, 38093, 1421, 2, 198, 220, 220, 220, 2124, 796, 13446, 7, 20786, 11, 256, 83, 11, 2989, 11, 2106, 28, 23569, 8, 198, 220, 220, 220, 1303, 2488, 12860, 2124, 13, 87, 198, 220, 220, 220, 4574, 0, 7, 2676, 689, 11, 2124, 8, 198, 220, 220, 220, 27809, 796, 4296, 7, 31197, 11, 2124, 8, 628, 220, 220, 220, 1303, 1377, 2198, 938, 16726, 966, 329, 13427, 220, 22369, 198, 220, 220, 220, 611, 1861, 32069, 68, 7, 31197, 11, 256, 83, 11, 269, 16, 11, 269, 17, 8, 1875, 17481, 68, 817, 3447, 220, 220, 1303, 389, 356, 1760, 30, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3359, 7203, 65, 668, 20, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 9275, 10909, 966, 13, 357, 18, 8, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2124, 11, 27809, 1303, 1760, 220, 5218, 2124, 13, 87, 11, 2124, 13, 88, 11, 2124, 13, 41, 11, 2124, 13, 24861, 229, 62, 41, 11, 2989, 13, 17394, 158, 224, 222, 11, 2106, 13, 413, 2611, 62, 17394, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1303, 1377, 1441, 966, 351, 9016, 1612, 20368, 982, 198, 220, 220, 220, 1303, 6127, 286, 8882, 325, 29102, 290, 367, 1697, 328, 19607, 256, 28, 15, 422, 428, 11, 475, 314, 1101, 407, 1654, 314, 2822, 428, 13, 198, 220, 220, 220, 949, 44, 11, 949, 51, 11, 949, 73, 220, 796, 949, 62, 32604, 7, 31197, 8, 198, 220, 220, 220, 1303, 3359, 7203, 65, 668, 21, 4943, 198, 220, 220, 220, 357, 19011, 16579, 1875, 657, 8, 11405, 2488, 40539, 366, 260, 2317, 12660, 4179, 13, 42882, 705, 13466, 6, 1900, 966, 526, 198, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 260, 2317, 12660, 4179, 13, 42882, 705, 13466, 6, 1900, 966, 19570, 198, 220, 220, 220, 2124, 796, 11629, 689, 58, 1084, 73, 60, 198, 220, 220, 220, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 1776, 198, 220, 220, 220, 1441, 2124, 11, 27809, 628, 198, 220, 220, 220, 1303, 256, 83, 796, 13146, 419, 58, 853, 1084, 7, 76, 12195, 31197, 11, 13146, 419, 58, 18829, 274, 62, 844, 60, 4008, 60, 220, 1303, 3853, 966, 351, 18197, 1281, 13, 1612, 13, 198, 220, 220, 220, 1303, 949, 73, 796, 1064, 11085, 7, 31197, 13, 33758, 764, 855, 256, 83, 8, 198, 220, 220, 220, 1303, 2124, 796, 11629, 689, 58, 1084, 73, 60, 198, 220, 220, 220, 1303, 2457, 786, 7, 87, 11, 27809, 11, 2989, 11, 13544, 11, 2106, 8, 198, 220, 220, 220, 1303, 787, 43328, 9783, 198, 437, 628, 628, 628, 198, 8818, 2457, 786, 7, 87, 3712, 6489, 5188, 2100, 2288, 90, 51, 5512, 1281, 3712, 6489, 4303, 6197, 1504, 90, 51, 5512, 2989, 79, 945, 3712, 6489, 5432, 3679, 7469, 77, 90, 51, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 13544, 3712, 6489, 50, 3103, 18797, 10044, 4105, 11, 2106, 3712, 6489, 9693, 396, 652, 90, 51, 19629, 2700, 62, 17394, 3712, 38176, 90, 51, 11, 18465, 92, 28, 22366, 8, 810, 309, 1279, 25, 27741, 43879, 198, 220, 220, 220, 2488, 403, 8002, 2124, 158, 224, 222, 837, 17394, 158, 224, 222, 11, 277, 158, 224, 222, 11, 2853, 296, 796, 2989, 79, 945, 198, 220, 220, 220, 2488, 403, 8002, 26367, 38, 13046, 11, 15942, 16579, 11, 269, 16, 11, 269, 17, 796, 13544, 628, 220, 220, 220, 1303, 26981, 4600, 87, 63, 736, 284, 2656, 5739, 286, 4941, 1220, 23981, 685, 15, 11, 16, 60, 3487, 5612, 13, 198, 220, 220, 220, 287, 1851, 62, 11265, 786, 62, 1640, 62, 6615, 3679, 0, 7, 87, 11, 2989, 79, 945, 8, 628, 220, 220, 220, 1303, 3613, 2239, 2546, 198, 220, 220, 220, 26367, 796, 2124, 13, 83, 9, 17394, 158, 224, 222, 198, 220, 220, 220, 4574, 0, 7, 23569, 13, 17394, 82, 11, 26367, 8, 628, 220, 220, 220, 1303, 1306, 4238, 2239, 2546, 318, 26367, 38, 13046, 357, 4299, 28, 16, 13, 18, 87, 8, 4025, 621, 938, 6292, 2239, 2546, 198, 220, 220, 220, 2989, 79, 945, 13, 17394, 158, 224, 222, 796, 1223, 7, 3174, 62, 17394, 11, 26367, 1635, 26367, 38, 13046, 8, 198, 220, 220, 220, 2198, 62, 17394, 796, 357, 3174, 62, 17394, 24844, 2147, 8, 220, 1303, 611, 649, 17130, 407, 4137, 416, 5128, 1822, 628, 220, 220, 220, 1303, 2491, 2811, 329, 13259, 287, 1339, 262, 2239, 2546, 4329, 845, 1402, 198, 220, 220, 220, 1303, 428, 318, 257, 30925, 198, 220, 220, 220, 34236, 796, 657, 13, 3865, 26, 198, 220, 220, 220, 2106, 13, 413, 2611, 62, 17394, 796, 34236, 9, 23569, 13, 413, 2611, 62, 17394, 1343, 357, 16, 12, 28483, 2611, 27493, 18927, 7, 3174, 62, 17394, 11, 26367, 1776, 628, 220, 220, 220, 1303, 13259, 39726, 4238, 2239, 2546, 284, 2811, 2239, 2546, 611, 6292, 2239, 198, 220, 220, 220, 1303, 2546, 318, 1802, 1661, 4833, 393, 4025, 621, 2811, 2239, 2546, 198, 220, 220, 220, 611, 2198, 62, 17394, 11405, 5145, 7, 16, 68, 12, 17, 1635, 2106, 13, 413, 2611, 62, 17394, 1279, 26367, 1279, 352, 68, 17, 1635, 2106, 13, 413, 2611, 62, 17394, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 23569, 13, 19662, 11, 366, 85, 1588, 14, 17470, 1988, 286, 26367, 11, 13259, 889, 17130, 15, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 357, 19011, 16579, 1875, 657, 8, 11405, 2488, 40539, 366, 85, 1588, 14, 17470, 1988, 286, 26367, 11, 13259, 889, 17130, 15, 13, 1675, 3368, 16259, 11, 4155, 6427, 350, 6561, 18122, 2134, 832, 526, 198, 220, 220, 220, 220, 220, 220, 220, 2989, 79, 945, 13, 17394, 158, 224, 222, 796, 2106, 13, 413, 2611, 62, 17394, 1303, 13259, 2239, 2546, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1303, 13259, 2989, 10007, 329, 1306, 24415, 198, 220, 220, 220, 1303, 11420, 597, 36804, 21417, 815, 307, 22979, 656, 26367, 158, 224, 222, 198, 220, 220, 220, 2989, 79, 945, 13, 2302, 2416, 62, 321, 83, 796, 352, 628, 220, 220, 220, 1303, 11420, 4296, 7838, 1864, 284, 2124, 198, 220, 220, 220, 2989, 79, 945, 13, 38392, 31185, 62, 69, 796, 2124, 13, 38392, 31185, 62, 69, 198, 220, 220, 220, 2989, 79, 945, 13, 38392, 31185, 62, 41, 796, 2124, 13, 38392, 31185, 62, 41, 628, 628, 220, 220, 220, 1303, 27131, 378, 13427, 7869, 198, 220, 220, 220, 949, 44, 11, 4808, 1084, 51, 11, 4808, 1084, 73, 220, 796, 949, 62, 32604, 7, 7353, 8, 220, 220, 1303, 286, 4683, 2173, 198, 220, 220, 220, 4574, 0, 7, 23569, 13, 36, 40, 11, 412, 40, 7, 76, 7, 7353, 11, 2124, 13, 83, 828, 11593, 31166, 17034, 7, 53, 7, 7353, 11, 2124, 13, 83, 36911, 949, 44, 4008, 198, 220, 220, 220, 4574, 0, 7, 23569, 13, 32069, 68, 11, 1861, 32069, 68, 7, 7353, 11, 2124, 13, 83, 11, 269, 16, 11, 269, 17, 4008, 198, 220, 220, 220, 2106, 13, 8344, 1284, 796, 3991, 198, 437, 198 ]
2.341215
4,610
# 1 -> 2 # | # | # v # 3 station1 = EuclideanStation(1, EuclideanCoordinate(1, 4), "test", false) station2 = EuclideanStation(2, EuclideanCoordinate(2, 4), "test", false) station3 = EuclideanStation(4, EuclideanCoordinate(2, 2), "test", false) line1 = Line("S1") edge = ProcessedEdge(station1, station2, line1, 0, 1, false) edge2 = ProcessedEdge(station2, station3, line1, 6, 1, false) transit_map = InputGraph([station1, station2, station3], [edge, edge2], [line1]) result = optimize(GLPKSolverMIP(msg_lev = 3), transit_map, false) @test result.stations[1].coordinate.y > result.stations[2].coordinate.y @test result.stations[1].coordinate.x < result.stations[2].coordinate.x @test result.stations[2].coordinate.x < result.stations[3].coordinate.x @test result.stations[2].coordinate.y > result.stations[3].coordinate.y
[ 2, 352, 4613, 362, 198, 2, 220, 220, 220, 220, 220, 930, 198, 2, 220, 220, 220, 220, 220, 930, 198, 2, 220, 220, 220, 220, 220, 410, 198, 2, 220, 220, 220, 220, 220, 513, 198, 17529, 16, 796, 48862, 485, 272, 12367, 7, 16, 11, 48862, 485, 272, 7222, 45480, 7, 16, 11, 604, 828, 366, 9288, 1600, 3991, 8, 198, 17529, 17, 796, 48862, 485, 272, 12367, 7, 17, 11, 48862, 485, 272, 7222, 45480, 7, 17, 11, 604, 828, 366, 9288, 1600, 3991, 8, 198, 17529, 18, 796, 48862, 485, 272, 12367, 7, 19, 11, 48862, 485, 272, 7222, 45480, 7, 17, 11, 362, 828, 366, 9288, 1600, 3991, 8, 198, 1370, 16, 796, 6910, 7203, 50, 16, 4943, 198, 14907, 796, 10854, 276, 37021, 7, 17529, 16, 11, 4429, 17, 11, 1627, 16, 11, 657, 11, 352, 11, 3991, 8, 198, 14907, 17, 796, 10854, 276, 37021, 7, 17529, 17, 11, 4429, 18, 11, 1627, 16, 11, 718, 11, 352, 11, 3991, 8, 198, 7645, 270, 62, 8899, 796, 23412, 37065, 26933, 17529, 16, 11, 4429, 17, 11, 4429, 18, 4357, 198, 220, 220, 220, 685, 14907, 11, 5743, 17, 4357, 198, 220, 220, 220, 685, 1370, 16, 12962, 628, 198, 20274, 796, 27183, 7, 8763, 47, 27015, 14375, 44, 4061, 7, 19662, 62, 2768, 796, 513, 828, 11168, 62, 8899, 11, 3991, 8, 628, 198, 31, 9288, 1255, 13, 301, 602, 58, 16, 4083, 37652, 4559, 13, 88, 1875, 1255, 13, 301, 602, 58, 17, 4083, 37652, 4559, 13, 88, 198, 31, 9288, 1255, 13, 301, 602, 58, 16, 4083, 37652, 4559, 13, 87, 1279, 1255, 13, 301, 602, 58, 17, 4083, 37652, 4559, 13, 87, 198, 31, 9288, 1255, 13, 301, 602, 58, 17, 4083, 37652, 4559, 13, 87, 1279, 1255, 13, 301, 602, 58, 18, 4083, 37652, 4559, 13, 87, 198, 31, 9288, 1255, 13, 301, 602, 58, 17, 4083, 37652, 4559, 13, 88, 1875, 1255, 13, 301, 602, 58, 18, 4083, 37652, 4559, 13, 88, 198 ]
2.546269
335
@testset "rules" begin @testset "einsum" begin _esum = @fn∇ 1 function (b, c, d) @tensor a[B, A] := conj(b[A, C]) * c[C, D] * d[B, D] end for T in (ComplexF64, Float64) b = randn(T, 3, 5) c = randn(T, 5, 4) d = randn(T, 4, 4) test_rrule(_esum, b, c, d) test_frule(_esum, b, c, d) end end @testset "tensoropt" begin _opt1 = @fn∇ 1 function (b, c, d) @tensoropt (A => 1, C => χ) a[B, A] := b[A, C] * c[C, D] * d[B, D] end _opt2 = @fn∇ 1 function (b, c, d) @tensoropt !(A, C) a[B, A] := b[A, C] * c[C, D] * d[B, D] end _opt3 = @fn∇ 1 function (b, c, d) @tensoropt (A, C) a[B, A] := b[A, C] * c[C, D] * d[B, D] end for T in (ComplexF64, Float64) b = randn(T, 3, 5) c = randn(T, 5, 4) d = randn(T, 4, 4) test_rrule(_opt1, b, c, d) test_rrule(_opt2, b, c, d) test_rrule(_opt3, b, c, d) test_frule(_opt1, b, c, d) test_frule(_opt2, b, c, d) test_frule(_opt3, b, c, d) end end @testset "scalar in rhs" begin _scar = @fn∇ 1 function (α, b, c) @tensor a[B, A] := α * conj(b[A, C]) * c[C, B] end for T in (ComplexF64, Float64) b = randn(T, 3, 5) c = randn(T, 5, 4) α = randn(T) test_rrule(_scar, α, b, c) test_frule(_scar, α, b, c) end end @testset "add" begin _add = @fn∇ 1 function (α, b, c, β, d, e, f) @tensor a[B, A] := -α * conj(b[A, C]) * c[C, B] + conj(β) * d[A, C] * (-e[C, B] + 2 * f[C, B]) end for T in (ComplexF64, Float64) α = randn(T) b = randn(T, 3, 5) c = randn(T, 5, 4) β = randn(T) d = randn(T, 3, 5) e = randn(T, 5, 4) f = randn(T, 5, 4) test_rrule(_add, α, b, c, β, d, e, f) test_frule(_add, α, b, c, β, d, e, f) end end @testset "trace" begin _tr1 = @fn∇ 1 function (b, c) @tensor a[C] := b[A, B, B', B', B] * c[A, A', A', C] end _tr2 = @fn∇ 1 function (b, c) @tensor a[c] := b[a, b, bb, bb, b] * c[a, aa, aa, c] end for T in (ComplexF64, Float64) b = randn(T, 3, 2, 3, 3, 2) c = randn(T, 3, 3, 3, 2) test_rrule(_tr1, b, c) test_rrule(_tr2, b, c) test_frule(_tr1, b, c) test_frule(_tr2, b, c) end end @testset "lhs is scalar" begin _scal = @fn∇ 1 function (b, c, d) @tensor a[] := b[A, B] * c[B, C] * d[C, A] end for T in (ComplexF64, Float64) b = randn(T, 3, 2) c = randn(T, 2, 4) d = randn(T, 4, 3) test_rrule(_scal, b, c, d) test_frule(_scal, b, c, d) end end @testset "conj" begin _co1 = @fn∇ 1 function (b, c, d) @tensor a[B, A] := conj(b[A, C]) * conj(c[C, D] * d[B, D]) end _co2 = @fn∇ 1 function (b, c, d) @tensor a[B, A] := conj(b[A, C] * c[C, D] * d[B, D]) end _co3 = @fn∇ 1 function (b, c, d) @tensor a[B, A] := conj( 1.23 * conj(conj(conj(b[A, C]))) * conj(c[C, D] * d[B, D]) ) end for T in (ComplexF64, Float64) b = randn(T, 3, 5) c = randn(T, 5, 4) d = randn(T, 4, 4) α = randn(T) β = randn(T) test_rrule(_co1, b, c, d) test_rrule(_co2, b, c, d) test_rrule(_co3, b, c, d) test_frule(_co1, b, c, d) test_frule(_co2, b, c, d) test_frule(_co3, b, c, d) end _co4 = @fn∇ 1 function (α, b, c, β, d, e, f) @tensor a[B, A] := -α * conj(conj(b[A, C]) * c[C, B] + conj(β) * d[A, C] * (-e[C, B] + 2 * f[C, B])) end for T in (ComplexF64, Float64) α = randn(T) b = randn(T, 3, 5) c = randn(T, 5, 4) β = randn(T) d = randn(T, 3, 5) e = randn(T, 5, 4) f = randn(T, 5, 4) test_rrule(_co4, α, b, c, β, d, e, f) test_frule(_co4, α, b, c, β, d, e, f) end end @testset "more" begin T = ComplexF64 _tn1 = @fn∇ 1 function (x, ar, H) return @tensoropt !(p, p1, p2) l[l, p, r] := x[l, p1, X] * ar[X, p2, Y] * conj(ar[r, p2', Y]) * H[p, p2', p1, p2] end _tn2 = @fn∇ 1 function (x, al, H) return @tensoropt !(p, p1, p2) r[l, p, r] := conj(al[X, p1', l]) * al[X, p1, Y] * x[Y, p2, r] * H[p1', p, p1, p2] end a1 = randn(T, 3, 2, 3) a2 = randn(T, 3, 2, 3) x = randn(T, 3, 2, 3) H = randn(T, 2, 2, 2, 2) r = randn(T, 3, 2, 3) test_rrule(_tn1, x, a1, a2, H) test_rrule(_tn2, a1, a2, x, H) test_frule(_tn1, x, a1, a2, H) test_frule(_tn2, a1, a2, x, H) _tn3 = @fn∇ 1 function (λ, o, a, b=a) return @tensoropt !(p1, p2) _[l, r] := λ * conj(b[1][X, p1', Y']) * conj(b[2][Y', p2', l]) * a[1][X, p1, Y] * a[2][Y, p2, r] * o[p1', p2', p1, p2] end _tn4 = @fn∇ 1 function (x, o, a, b=a) return @tensoropt !(p1, p2) _[l, r] := a[1][l, p1, X] * a[2][X, p2, Y] * x[Y, Y'] * conj(b[1][r, p1', X']) * conj(b[2][X', p2', Y']) * o[p1', p2', p1, p2] end a1 = randn(T, 3, 2, 3) a2 = randn(T, 3, 2, 3) b1 = randn(T, 3, 2, 3) b2 = randn(T, 3, 2, 3) x = randn(T, 3, 3) λ = randn(T) H = randn(T, 2, 2, 2, 2) r = randn(T, 3, 3) test_rrule(_tn3, λ, b1, b2, a1, a2, H) test_rrule(_tn4, a1, a2, x, b1, b2, H) test_frule(_tn3, λ, b1, b2, a1, a2, H) test_frule(_tn4, a1, a2, x, b1, b2, H) end end
[ 31, 9288, 2617, 366, 38785, 1, 2221, 198, 220, 220, 220, 2488, 9288, 2617, 366, 68, 1040, 388, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 274, 388, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 11644, 7, 65, 58, 32, 11, 327, 12962, 1635, 269, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 604, 11, 604, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 274, 388, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 274, 388, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 83, 22854, 8738, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 8738, 16, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 8738, 357, 32, 5218, 352, 11, 327, 5218, 18074, 229, 8, 257, 58, 33, 11, 317, 60, 19039, 275, 58, 32, 11, 327, 60, 1635, 269, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 8738, 17, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 8738, 5145, 7, 32, 11, 327, 8, 257, 58, 33, 11, 317, 60, 19039, 275, 58, 32, 11, 327, 60, 1635, 269, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 8738, 18, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 8738, 357, 32, 11, 327, 8, 257, 58, 33, 11, 317, 60, 19039, 275, 58, 32, 11, 327, 60, 1635, 269, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 604, 11, 604, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 8738, 16, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 8738, 17, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 8738, 18, 11, 275, 11, 269, 11, 288, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 8738, 16, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 8738, 17, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 8738, 18, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 1416, 282, 283, 287, 9529, 82, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 13034, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 17394, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 26367, 1635, 11644, 7, 65, 58, 32, 11, 327, 12962, 1635, 269, 58, 34, 11, 347, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26367, 796, 43720, 77, 7, 51, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 13034, 11, 26367, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 13034, 11, 26367, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 2860, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 2860, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 17394, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 17394, 1635, 11644, 7, 65, 58, 32, 11, 327, 12962, 1635, 269, 58, 34, 11, 347, 60, 1343, 11644, 7, 26638, 8, 1635, 288, 58, 32, 11, 327, 60, 1635, 13841, 68, 58, 34, 11, 347, 60, 1343, 362, 1635, 277, 58, 34, 11, 347, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26367, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27169, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 2860, 11, 26367, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 2860, 11, 26367, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 40546, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 2213, 16, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 34, 60, 19039, 275, 58, 32, 11, 347, 11, 347, 3256, 347, 3256, 347, 60, 1635, 269, 58, 32, 11, 317, 3256, 317, 3256, 327, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 2213, 17, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 66, 60, 19039, 275, 58, 64, 11, 275, 11, 275, 65, 11, 275, 65, 11, 275, 60, 1635, 269, 58, 64, 11, 257, 64, 11, 257, 64, 11, 269, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 11, 513, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 513, 11, 513, 11, 513, 11, 362, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 2213, 16, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 2213, 17, 11, 275, 11, 269, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 2213, 16, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 2213, 17, 11, 275, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 75, 11994, 318, 16578, 283, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 1416, 282, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 21737, 19039, 275, 58, 32, 11, 347, 60, 1635, 269, 58, 33, 11, 327, 60, 1635, 288, 58, 34, 11, 317, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 362, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 604, 11, 513, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 1416, 282, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 1416, 282, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 1102, 73, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 1073, 16, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 11644, 7, 65, 58, 32, 11, 327, 12962, 1635, 11644, 7, 66, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 1073, 17, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 11644, 7, 65, 58, 32, 11, 327, 60, 1635, 269, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 1073, 18, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 65, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 11644, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 13, 1954, 1635, 11644, 7, 1102, 73, 7, 1102, 73, 7, 65, 58, 32, 11, 327, 60, 22305, 1635, 11644, 7, 66, 58, 34, 11, 360, 60, 1635, 288, 58, 33, 11, 360, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 604, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26367, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27169, 796, 43720, 77, 7, 51, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 1073, 16, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 1073, 17, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 1073, 18, 11, 275, 11, 269, 11, 288, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 1073, 16, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 1073, 17, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 1073, 18, 11, 275, 11, 269, 11, 288, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 4808, 1073, 19, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 17394, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 83, 22854, 257, 58, 33, 11, 317, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 17394, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 1102, 73, 7, 65, 58, 32, 11, 327, 12962, 1635, 269, 58, 34, 11, 347, 60, 1343, 11644, 7, 26638, 8, 1635, 288, 58, 32, 11, 327, 60, 1635, 13841, 68, 58, 34, 11, 347, 60, 1343, 362, 1635, 277, 58, 34, 11, 347, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 329, 309, 287, 357, 5377, 11141, 37, 2414, 11, 48436, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26367, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27169, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 43720, 77, 7, 51, 11, 513, 11, 642, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 796, 43720, 77, 7, 51, 11, 642, 11, 604, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 1073, 19, 11, 26367, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 1073, 19, 11, 26367, 11, 275, 11, 269, 11, 27169, 11, 288, 11, 304, 11, 277, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 3549, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 309, 796, 19157, 37, 2414, 628, 220, 220, 220, 220, 220, 220, 220, 4808, 34106, 16, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 87, 11, 610, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2488, 83, 22854, 8738, 5145, 7, 79, 11, 279, 16, 11, 279, 17, 8, 300, 58, 75, 11, 279, 11, 374, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 58, 75, 11, 279, 16, 11, 1395, 60, 1635, 610, 58, 55, 11, 279, 17, 11, 575, 60, 1635, 11644, 7, 283, 58, 81, 11, 279, 17, 3256, 575, 12962, 1635, 367, 58, 79, 11, 279, 17, 3256, 279, 16, 11, 279, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 34106, 17, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 87, 11, 435, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2488, 83, 22854, 8738, 5145, 7, 79, 11, 279, 16, 11, 279, 17, 8, 374, 58, 75, 11, 279, 11, 374, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 282, 58, 55, 11, 279, 16, 3256, 300, 12962, 1635, 435, 58, 55, 11, 279, 16, 11, 575, 60, 1635, 2124, 58, 56, 11, 279, 17, 11, 374, 60, 1635, 367, 58, 79, 16, 3256, 279, 11, 279, 16, 11, 279, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 257, 16, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 257, 17, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 367, 796, 43720, 77, 7, 51, 11, 362, 11, 362, 11, 362, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 374, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 34106, 16, 11, 2124, 11, 257, 16, 11, 257, 17, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 34106, 17, 11, 257, 16, 11, 257, 17, 11, 2124, 11, 367, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 34106, 16, 11, 2124, 11, 257, 16, 11, 257, 17, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 34106, 17, 11, 257, 16, 11, 257, 17, 11, 2124, 11, 367, 8, 628, 220, 220, 220, 220, 220, 220, 220, 4808, 34106, 18, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 39377, 11, 267, 11, 257, 11, 275, 28, 64, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2488, 83, 22854, 8738, 5145, 7, 79, 16, 11, 279, 17, 8, 4808, 58, 75, 11, 374, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7377, 119, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 65, 58, 16, 7131, 55, 11, 279, 16, 3256, 575, 6, 12962, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 65, 58, 17, 7131, 56, 3256, 279, 17, 3256, 300, 12962, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 16, 7131, 55, 11, 279, 16, 11, 575, 60, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 17, 7131, 56, 11, 279, 17, 11, 374, 60, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 58, 79, 16, 3256, 279, 17, 3256, 279, 16, 11, 279, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 34106, 19, 796, 2488, 22184, 24861, 229, 352, 2163, 357, 87, 11, 267, 11, 257, 11, 275, 28, 64, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2488, 83, 22854, 8738, 5145, 7, 79, 16, 11, 279, 17, 8, 4808, 58, 75, 11, 374, 60, 19039, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 16, 7131, 75, 11, 279, 16, 11, 1395, 60, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 58, 17, 7131, 55, 11, 279, 17, 11, 575, 60, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 58, 56, 11, 575, 20520, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 65, 58, 16, 7131, 81, 11, 279, 16, 3256, 1395, 6, 12962, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11644, 7, 65, 58, 17, 7131, 55, 3256, 279, 17, 3256, 575, 6, 12962, 1635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 58, 79, 16, 3256, 279, 17, 3256, 279, 16, 11, 279, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 257, 16, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 257, 17, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 275, 16, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 275, 17, 796, 43720, 77, 7, 51, 11, 513, 11, 362, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 43720, 77, 7, 51, 11, 513, 11, 513, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7377, 119, 796, 43720, 77, 7, 51, 8, 198, 220, 220, 220, 220, 220, 220, 220, 367, 796, 43720, 77, 7, 51, 11, 362, 11, 362, 11, 362, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 374, 796, 43720, 77, 7, 51, 11, 513, 11, 513, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 34106, 18, 11, 7377, 119, 11, 275, 16, 11, 275, 17, 11, 257, 16, 11, 257, 17, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 81, 25135, 28264, 34106, 19, 11, 257, 16, 11, 257, 17, 11, 2124, 11, 275, 16, 11, 275, 17, 11, 367, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 34106, 18, 11, 7377, 119, 11, 275, 16, 11, 275, 17, 11, 257, 16, 11, 257, 17, 11, 367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1332, 62, 69, 25135, 28264, 34106, 19, 11, 257, 16, 11, 257, 17, 11, 2124, 11, 275, 16, 11, 275, 17, 11, 367, 8, 198, 220, 220, 220, 886, 198, 437, 198 ]
1.489676
4,262
export FinVolMesh, add_point!, add_face!, add_volume!, process_geometry!, mesh_smoothing! using LinearAlgebra """ Mutable struct to define a mesh * `ndim_space`, `ndim_mesh`: numbers of dimensions for the space in which the mesh is inserted and for the mesh itself, respectively. A 2D, surface mesh defined as the surface of a sphere, for example, would yield `ndim_mesh=2, ndim_space=3` * `points`: array of arrays of floats for corner points * `point_connectivity`: array of arrays of ints, indicating points with which each point shares a face. Used for mesh smoothing * `point_fixed`: array of bools. Indicates whether or not each point in the mesh should be fixed when performing mesh smoothing * `point_weight`: weights for each point when performing elliptic mesh smoothing. Array of floats * `faces`: array of arrays of ints for faces (point indices) * `face_centers`: array of arrays of floats for face centers * `face_normals`: array of arrays of floats indicating face normals (with norm equal to the face's area) * `face_normal_unit`: the same as `face_normals`, but with unit norm * `face_connectivity`: array of arrays of ints indicating, respectively, the volume behind the face and the volume ahead of it (or more specifically their indices) * `face_dists`: distances between the face and its adjacent volumes, in the same format as `face_connectivity` * `volumes`: array of arrays of ints for faces (face indices) * `volume_centers`: array of arrays of floats with positions for volume centers * `volume_volumes`: volume of each finite volume (array of floats) """ mutable struct FinVolMesh{N} ndim_space::Int64 ndim_mesh::Int64 points::Vector{Vector{Float64}} point_connectivity::Vector{Vector{Int64}} point_fixed::Vector{Bool} point_weight::Vector{Float64} faces::Vector{Vector{Int64}} face_centers::Vector{Vector{Float64}} face_normals::Vector{Vector{Float64}} face_normal_unit::Vector{Vector{Float64}} face_connectivity::Vector{Vector{Int64}} face_dists::Vector{Vector{Float64}} volumes::Vector{Vector{Int64}} volume_centers::Vector{Vector{Float64}} volume_volumes::Vector{Float64} # duh end """ Jacobian space volume """ function Jac_volume(Jac::Matrix{Float64}) v=1.0 a=1.0 d=1.0 for i=1:size(Jac, 2) for j=1:(i-1) Jac[:, i].-=dot(Jac[:, i], Jac[:, j]).*Jac[:, j] end locn=norm(Jac[:, i]) Jac[:, i]./=(locn+1e-18) if i==size(Jac, 2) a=v d=locn end v*=locn/i end Jac[:, end]*a, v, d end """ Function to process the geometry of a finite volume mesh and obtain pertinent geometrical properties * `msh`: the mesh at hand """ function process_geometry!(msh::FinVolMesh{N}) where N for i=1:length(msh.points) msh.point_connectivity[i]=[] end for i=1:length(msh.faces) msh.face_centers[i].=0.0 msh.face_normals[i].=0.0 msh.face_normal_unit[i].=0.0 msh.face_dists[i].=0.0 msh.face_connectivity[i].=0 end msh.volume_volumes.=0.0 for i=1:length(msh.faces) for ptind in msh.faces[i] msh.face_centers[i].+=msh.points[ptind] end msh.face_centers[i]./=length(msh.faces[i]) for j=1:length(msh.faces[i]) p1=msh.faces[i][j] p2=msh.faces[i][j%length(msh.faces[i])+1] if !(p1 in msh.point_connectivity[p2]) push!(msh.point_connectivity[p2], p1) end if !(p2 in msh.point_connectivity[p1]) push!(msh.point_connectivity[p1], p2) end end end for i=1:length(msh.volumes) for fcind in msh.volumes[i] msh.volume_centers[i].+=msh.face_centers[fcind] end msh.volume_centers[i]./=length(msh.volumes[i]) end Jac=Matrix{Float64}(undef, N, msh.ndim_mesh) for i=1:length(msh.volumes) for fc in msh.volumes[i] fcpts=msh.faces[fc] nfc=length(fcpts) freeside=1 if msh.face_connectivity[fc][freeside]!=0 freeside=2 end if msh.face_connectivity[fc][freeside]!=0 throw( error( "process_geometry!:ERROR:face $(fc) connected to more than two volumes" ) ) end for j=1:(nfc-msh.ndim_mesh+1) for k=1:(msh.ndim_mesh-1) kind=k+j Jac[:, k].=msh.points[fcpts[kind]].-msh.points[fcpts[1]] end if freeside==1 Jac[:, msh.ndim_mesh].=msh.face_centers[fc].-msh.volume_centers[i] else Jac[:, msh.ndim_mesh].=msh.volume_centers[i].-msh.face_centers[fc] end shat, v, d=Jac_volume(Jac) msh.face_normals[fc].+=shat msh.face_dists[fc][freeside]=d msh.face_connectivity[fc][freeside]=i msh.volume_volumes[i]+=v end if freeside==2 msh.face_normals[fc]./=2 end end end for fc=1:length(msh.faces) msh.face_normal_unit[fc].=msh.face_normals[fc]/norm(msh.face_normals[fc]) end end """ Constructor for an empty mesh * `ndim_mesh`: number of dimensions for the mesh, if differnet from space dimensionality. A 2D, surface mesh defined as the surface of a sphere, for example, would yield `ndim_mesh=2, ndim_space=3` """ function FinVolMesh{N}(; ndim_mesh::Union{Int64, Nothing}=nothing) where N FinVolMesh{N}( N, something(ndim_mesh, N), [], [], [], [], [], [], [], [], [], [], [], [], [] ) end """ Add a point to a mesh * `msh`: the mesh * `pt`: a vector with the point at hand * `fixed`: a boolean identifying whether the point should be fixed during mesh smoothing * `weight`: a weight for mesh smoothing * `geps`: if set to a non-zero value, is set as a minimum threshold for merging with other pre-existing points * return: the new point's index """ function add_point!(msh::FinVolMesh{N}, pt::Vector{Float64}; fixed::Bool=false, weight::Float64=1.0, geps::Float64=0.0) where N @assert N==length(pt) if geps>0.0 for (i, ept) in enumerate(msh.points) if norm(ept.-pt)<geps return i end end end push!(msh.points, pt) push!(msh.point_fixed, fixed) push!(msh.point_weight, weight) push!(msh.point_connectivity, []) length(msh.points) end function _is_face_eq(f1, f2) if length(f1)!=length(f2) return false end for p1 in f1 if !(p1 in f2) return false end end true end """ Add a face to a mesh * `msh`: the mesh at hand * `pts`: a vector of point indices * `univocal`: if true (default), allows for merging with equal, previously set faces * return: the new face's index """ function add_face!(msh::FinVolMesh{N}, pts::Vector{Int64}; univocal::Bool=true) where N for (i, fc) in enumerate(msh.faces) if _is_face_eq(fc, pts) return i end end push!(msh.faces, pts) push!(msh.face_centers, zeros(Float64, N)) push!(msh.face_normals, zeros(Float64, N)) push!(msh.face_normal_unit, zeros(Float64, N)) push!(msh.face_connectivity, zeros(Int64, 2)) push!(msh.face_dists, zeros(Float64, 2)) length(msh.faces) end """ Add volume to a mesh * `msh`: the mesh * `fcs`: vector of face indices * return: an index for the volume """ function add_volume!(msh::FinVolMesh{N}, fcs::Vector{Int64}) where N push!(msh.volumes, fcs) push!(msh.volume_centers, zeros(Float64, N)) push!(msh.volume_volumes, 0.0) length(msh.volumes) end """ Function to apply elliptic equation mesh smoothing. Must be used after `process_geometry!`, which is also automatically re-ran after changes are made * `msh`: the mesh at hand * `niter`: number of iterations (defaults to 100) * `relaxation_parameter`: relaxation parameter for iteration """ function mesh_smoothing!(msh::FinVolMesh{N}; niter::Int64=100, relaxation_parameter::Float64=1.0) where N pos=zeros(Float64, N) w=0.0 for nit=1:niter for (i, (pt, cons)) in enumerate(zip(msh.points, msh.point_connectivity)) if !msh.point_fixed[i] w=msh.point_weight[i] pos.=pt.*w for c in cons pos.+=msh.points[c].*msh.point_weight[c] w+=msh.point_weight[c] end pos./=w msh.points[i].=relaxation_parameter.*pos.+(1.0-relaxation_parameter).*msh.points[i] w/=(length(cons)+1) msh.point_weight[i]=(1.0-relaxation_parameter)*msh.point_weight[i]+relaxation_parameter*w end end end process_geometry!(msh) end
[ 39344, 4463, 16598, 37031, 11, 751, 62, 4122, 28265, 751, 62, 2550, 28265, 751, 62, 29048, 28265, 1429, 62, 469, 15748, 28265, 19609, 62, 5796, 1025, 722, 0, 198, 198, 3500, 44800, 2348, 29230, 198, 198, 37811, 198, 44, 18187, 2878, 284, 8160, 257, 19609, 198, 198, 9, 4600, 358, 320, 62, 13200, 47671, 4600, 358, 320, 62, 76, 5069, 63, 25, 3146, 286, 15225, 329, 262, 2272, 287, 543, 262, 19609, 318, 18846, 290, 329, 262, 19609, 198, 220, 220, 220, 2346, 11, 8148, 13, 317, 362, 35, 11, 4417, 19609, 5447, 355, 262, 4417, 286, 257, 16558, 11, 329, 1672, 11, 561, 7800, 4600, 358, 320, 62, 76, 5069, 28, 17, 11, 299, 27740, 62, 13200, 28, 18, 63, 198, 9, 4600, 13033, 63, 25, 7177, 286, 26515, 286, 36016, 329, 5228, 2173, 198, 9, 4600, 4122, 62, 8443, 3458, 63, 25, 7177, 286, 26515, 286, 493, 82, 11, 12739, 2173, 351, 543, 1123, 966, 7303, 198, 220, 220, 220, 257, 1986, 13, 16718, 329, 19609, 32746, 722, 198, 9, 4600, 4122, 62, 34021, 63, 25, 7177, 286, 275, 10141, 13, 1423, 16856, 1771, 393, 407, 1123, 966, 287, 262, 19609, 815, 307, 5969, 618, 198, 220, 220, 220, 9489, 19609, 32746, 722, 198, 9, 4600, 4122, 62, 6551, 63, 25, 19590, 329, 1123, 966, 618, 9489, 48804, 291, 19609, 32746, 722, 13, 15690, 286, 36016, 198, 9, 4600, 32186, 63, 25, 7177, 286, 26515, 286, 493, 82, 329, 6698, 357, 4122, 36525, 8, 198, 9, 4600, 2550, 62, 1087, 364, 63, 25, 7177, 286, 26515, 286, 36016, 329, 1986, 10399, 198, 9, 4600, 2550, 62, 27237, 874, 63, 25, 7177, 286, 26515, 286, 36016, 12739, 1986, 2593, 874, 357, 4480, 2593, 4961, 284, 262, 1986, 338, 1989, 8, 198, 9, 4600, 2550, 62, 11265, 62, 20850, 63, 25, 262, 976, 355, 4600, 2550, 62, 27237, 874, 47671, 475, 351, 4326, 2593, 198, 9, 4600, 2550, 62, 8443, 3458, 63, 25, 7177, 286, 26515, 286, 493, 82, 12739, 11, 8148, 11, 262, 6115, 2157, 262, 1986, 290, 262, 6115, 4058, 286, 340, 198, 220, 220, 220, 357, 273, 517, 5734, 511, 36525, 8, 198, 9, 4600, 2550, 62, 67, 1023, 63, 25, 18868, 1022, 262, 1986, 290, 663, 15909, 15343, 11, 287, 262, 976, 5794, 355, 4600, 2550, 62, 8443, 3458, 63, 198, 9, 4600, 10396, 8139, 63, 25, 7177, 286, 26515, 286, 493, 82, 329, 6698, 357, 2550, 36525, 8, 198, 9, 4600, 29048, 62, 1087, 364, 63, 25, 7177, 286, 26515, 286, 36016, 351, 6116, 329, 6115, 10399, 198, 9, 4600, 29048, 62, 10396, 8139, 63, 25, 6115, 286, 1123, 27454, 6115, 357, 18747, 286, 36016, 8, 198, 37811, 198, 76, 18187, 2878, 4463, 16598, 37031, 90, 45, 92, 198, 220, 220, 220, 299, 27740, 62, 13200, 3712, 5317, 2414, 198, 220, 220, 220, 299, 27740, 62, 76, 5069, 3712, 5317, 2414, 198, 220, 220, 220, 2173, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 966, 62, 8443, 3458, 3712, 38469, 90, 38469, 90, 5317, 2414, 11709, 198, 220, 220, 220, 966, 62, 34021, 3712, 38469, 90, 33, 970, 92, 198, 220, 220, 220, 966, 62, 6551, 3712, 38469, 90, 43879, 2414, 92, 198, 220, 220, 220, 6698, 3712, 38469, 90, 38469, 90, 5317, 2414, 11709, 198, 220, 220, 220, 1986, 62, 1087, 364, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 1986, 62, 27237, 874, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 1986, 62, 11265, 62, 20850, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 1986, 62, 8443, 3458, 3712, 38469, 90, 38469, 90, 5317, 2414, 11709, 198, 220, 220, 220, 1986, 62, 67, 1023, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 15343, 3712, 38469, 90, 38469, 90, 5317, 2414, 11709, 198, 220, 220, 220, 6115, 62, 1087, 364, 3712, 38469, 90, 38469, 90, 43879, 2414, 11709, 198, 220, 220, 220, 6115, 62, 10396, 8139, 3712, 38469, 90, 43879, 2414, 92, 1303, 7043, 71, 198, 437, 198, 198, 37811, 198, 46751, 666, 2272, 6115, 198, 37811, 198, 8818, 8445, 62, 29048, 7, 28821, 3712, 46912, 90, 43879, 2414, 30072, 198, 220, 220, 220, 410, 28, 16, 13, 15, 198, 220, 220, 220, 257, 28, 16, 13, 15, 198, 220, 220, 220, 288, 28, 16, 13, 15, 198, 220, 220, 220, 220, 198, 220, 220, 220, 329, 1312, 28, 16, 25, 7857, 7, 28821, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 28, 16, 37498, 72, 12, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8445, 58, 45299, 1312, 4083, 12, 28, 26518, 7, 28821, 58, 45299, 1312, 4357, 8445, 58, 45299, 474, 35944, 9, 28821, 58, 45299, 474, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 1179, 77, 28, 27237, 7, 28821, 58, 45299, 1312, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 8445, 58, 45299, 1312, 4083, 14, 16193, 17946, 77, 10, 16, 68, 12, 1507, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 855, 7857, 7, 28821, 11, 362, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 28, 85, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 28, 17946, 77, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 410, 9, 28, 17946, 77, 14, 72, 198, 220, 220, 220, 886, 628, 220, 220, 220, 8445, 58, 45299, 886, 60, 9, 64, 11, 410, 11, 288, 220, 198, 437, 198, 198, 37811, 198, 22203, 284, 1429, 262, 22939, 286, 257, 27454, 6115, 19609, 290, 7330, 35268, 4903, 908, 8143, 6608, 220, 198, 198, 9, 4600, 907, 71, 63, 25, 262, 19609, 379, 1021, 198, 37811, 198, 8818, 1429, 62, 469, 15748, 0, 7, 907, 71, 3712, 18467, 16598, 37031, 90, 45, 30072, 810, 399, 198, 220, 220, 220, 329, 1312, 28, 16, 25, 13664, 7, 907, 71, 13, 13033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 4122, 62, 8443, 3458, 58, 72, 22241, 21737, 198, 220, 220, 220, 886, 628, 220, 220, 220, 329, 1312, 28, 16, 25, 13664, 7, 907, 71, 13, 32186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 1087, 364, 58, 72, 4083, 28, 15, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 27237, 874, 58, 72, 4083, 28, 15, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 11265, 62, 20850, 58, 72, 4083, 28, 15, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 67, 1023, 58, 72, 4083, 28, 15, 13, 15, 628, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 8443, 3458, 58, 72, 4083, 28, 15, 198, 220, 220, 220, 886, 628, 220, 220, 220, 285, 1477, 13, 29048, 62, 10396, 8139, 13, 28, 15, 13, 15, 628, 220, 220, 220, 329, 1312, 28, 16, 25, 13664, 7, 907, 71, 13, 32186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 42975, 521, 287, 285, 1477, 13, 32186, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 1087, 364, 58, 72, 4083, 47932, 907, 71, 13, 13033, 58, 457, 521, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 1087, 364, 58, 72, 4083, 14, 28, 13664, 7, 907, 71, 13, 32186, 58, 72, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 329, 474, 28, 16, 25, 13664, 7, 907, 71, 13, 32186, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 16, 28, 907, 71, 13, 32186, 58, 72, 7131, 73, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 17, 28, 907, 71, 13, 32186, 58, 72, 7131, 73, 4, 13664, 7, 907, 71, 13, 32186, 58, 72, 12962, 10, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 7, 79, 16, 287, 285, 1477, 13, 4122, 62, 8443, 3458, 58, 79, 17, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 4122, 62, 8443, 3458, 58, 79, 17, 4357, 279, 16, 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, 611, 5145, 7, 79, 17, 287, 285, 1477, 13, 4122, 62, 8443, 3458, 58, 79, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 4122, 62, 8443, 3458, 58, 79, 16, 4357, 279, 17, 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, 329, 1312, 28, 16, 25, 13664, 7, 907, 71, 13, 10396, 8139, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 277, 66, 521, 287, 285, 1477, 13, 10396, 8139, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 29048, 62, 1087, 364, 58, 72, 4083, 47932, 907, 71, 13, 2550, 62, 1087, 364, 58, 16072, 521, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 29048, 62, 1087, 364, 58, 72, 4083, 14, 28, 13664, 7, 907, 71, 13, 10396, 8139, 58, 72, 12962, 198, 220, 220, 220, 886, 628, 220, 220, 220, 8445, 28, 46912, 90, 43879, 2414, 92, 7, 917, 891, 11, 399, 11, 285, 1477, 13, 358, 320, 62, 76, 5069, 8, 628, 220, 220, 220, 329, 1312, 28, 16, 25, 13664, 7, 907, 71, 13, 10396, 8139, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 277, 66, 287, 285, 1477, 13, 10396, 8139, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 66, 457, 82, 28, 907, 71, 13, 32186, 58, 16072, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 16072, 28, 13664, 7, 16072, 457, 82, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2030, 274, 485, 28, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 285, 1477, 13, 2550, 62, 8443, 3458, 58, 16072, 7131, 69, 6037, 485, 60, 0, 28, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2030, 274, 485, 28, 17, 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, 611, 285, 1477, 13, 2550, 62, 8443, 3458, 58, 16072, 7131, 69, 6037, 485, 60, 0, 28, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 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, 366, 14681, 62, 469, 15748, 48725, 24908, 25, 2550, 29568, 16072, 8, 5884, 284, 517, 621, 734, 15343, 1, 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, 329, 474, 28, 16, 37498, 77, 16072, 12, 907, 71, 13, 358, 320, 62, 76, 5069, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 479, 28, 16, 37498, 907, 71, 13, 358, 320, 62, 76, 5069, 12, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1611, 28, 74, 10, 73, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8445, 58, 45299, 479, 4083, 28, 907, 71, 13, 13033, 58, 16072, 457, 82, 58, 11031, 60, 4083, 12, 907, 71, 13, 13033, 58, 16072, 457, 82, 58, 16, 11907, 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, 611, 2030, 274, 485, 855, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8445, 58, 45299, 285, 1477, 13, 358, 320, 62, 76, 5069, 4083, 28, 907, 71, 13, 2550, 62, 1087, 364, 58, 16072, 4083, 12, 907, 71, 13, 29048, 62, 1087, 364, 58, 72, 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, 8445, 58, 45299, 285, 1477, 13, 358, 320, 62, 76, 5069, 4083, 28, 907, 71, 13, 29048, 62, 1087, 364, 58, 72, 4083, 12, 907, 71, 13, 2550, 62, 1087, 364, 58, 16072, 60, 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, 427, 265, 11, 410, 11, 288, 28, 28821, 62, 29048, 7, 28821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 27237, 874, 58, 16072, 4083, 47932, 1477, 265, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 67, 1023, 58, 16072, 7131, 69, 6037, 485, 22241, 67, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 8443, 3458, 58, 16072, 7131, 69, 6037, 485, 22241, 72, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 29048, 62, 10396, 8139, 58, 72, 60, 47932, 85, 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, 611, 2030, 274, 485, 855, 17, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 27237, 874, 58, 16072, 4083, 14, 28, 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, 886, 628, 220, 220, 220, 329, 277, 66, 28, 16, 25, 13664, 7, 907, 71, 13, 32186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 2550, 62, 11265, 62, 20850, 58, 16072, 4083, 28, 907, 71, 13, 2550, 62, 27237, 874, 58, 16072, 60, 14, 27237, 7, 907, 71, 13, 2550, 62, 27237, 874, 58, 16072, 12962, 198, 220, 220, 220, 886, 198, 437, 198, 198, 37811, 198, 42316, 273, 329, 281, 6565, 19609, 198, 198, 9, 4600, 358, 320, 62, 76, 5069, 63, 25, 1271, 286, 15225, 329, 262, 19609, 11, 611, 814, 1142, 316, 422, 2272, 15793, 1483, 13, 198, 220, 220, 317, 362, 35, 11, 4417, 19609, 5447, 355, 262, 4417, 286, 257, 16558, 11, 329, 1672, 11, 561, 7800, 4600, 358, 320, 62, 76, 5069, 28, 17, 11, 299, 27740, 62, 13200, 28, 18, 63, 198, 37811, 198, 8818, 4463, 16598, 37031, 90, 45, 92, 7, 26, 299, 27740, 62, 76, 5069, 3712, 38176, 90, 5317, 2414, 11, 10528, 92, 28, 22366, 8, 810, 399, 198, 220, 220, 220, 4463, 16598, 37031, 90, 45, 92, 7, 198, 220, 220, 220, 220, 220, 220, 220, 399, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1223, 7, 358, 320, 62, 76, 5069, 11, 399, 828, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 685, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 17635, 198, 220, 220, 220, 1267, 198, 437, 198, 198, 37811, 198, 4550, 257, 966, 284, 257, 19609, 198, 198, 9, 4600, 907, 71, 63, 25, 262, 19609, 198, 9, 4600, 457, 63, 25, 257, 15879, 351, 262, 966, 379, 1021, 198, 9, 4600, 34021, 63, 25, 257, 25131, 13720, 1771, 262, 966, 815, 307, 5969, 1141, 19609, 32746, 722, 198, 9, 4600, 6551, 63, 25, 257, 3463, 329, 19609, 32746, 722, 198, 9, 4600, 469, 862, 63, 25, 611, 900, 284, 257, 1729, 12, 22570, 1988, 11, 318, 900, 355, 257, 5288, 11387, 329, 35981, 351, 584, 662, 12, 25687, 2173, 198, 198, 9, 1441, 25, 262, 649, 966, 338, 6376, 198, 37811, 198, 8818, 751, 62, 4122, 0, 7, 907, 71, 3712, 18467, 16598, 37031, 90, 45, 5512, 42975, 3712, 38469, 90, 43879, 2414, 19629, 5969, 3712, 33, 970, 28, 9562, 11, 3463, 3712, 43879, 2414, 28, 16, 13, 15, 11, 308, 25386, 3712, 43879, 2414, 28, 15, 13, 15, 8, 810, 399, 198, 220, 220, 220, 2488, 30493, 399, 855, 13664, 7, 457, 8, 628, 220, 220, 220, 611, 308, 25386, 29, 15, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 329, 357, 72, 11, 304, 457, 8, 287, 27056, 378, 7, 907, 71, 13, 13033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2593, 7, 19598, 7874, 457, 8, 27, 469, 862, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1312, 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, 4574, 0, 7, 907, 71, 13, 13033, 11, 42975, 8, 628, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 4122, 62, 34021, 11, 5969, 8, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 4122, 62, 6551, 11, 3463, 8, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 4122, 62, 8443, 3458, 11, 685, 12962, 628, 220, 220, 220, 4129, 7, 907, 71, 13, 13033, 8, 198, 437, 198, 198, 8818, 4808, 271, 62, 2550, 62, 27363, 7, 69, 16, 11, 277, 17, 8, 198, 220, 220, 220, 611, 4129, 7, 69, 16, 31520, 28, 13664, 7, 69, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3991, 198, 220, 220, 220, 886, 628, 220, 220, 220, 329, 279, 16, 287, 277, 16, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 7, 79, 16, 287, 277, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2081, 198, 437, 198, 198, 37811, 198, 4550, 257, 1986, 284, 257, 19609, 198, 198, 9, 4600, 907, 71, 63, 25, 262, 19609, 379, 1021, 198, 9, 4600, 457, 82, 63, 25, 257, 15879, 286, 966, 36525, 198, 9, 4600, 403, 452, 4374, 63, 25, 611, 2081, 357, 12286, 828, 3578, 329, 35981, 351, 4961, 11, 4271, 900, 6698, 198, 198, 9, 1441, 25, 262, 649, 1986, 338, 6376, 198, 37811, 198, 8818, 751, 62, 2550, 0, 7, 907, 71, 3712, 18467, 16598, 37031, 90, 45, 5512, 43344, 3712, 38469, 90, 5317, 2414, 19629, 555, 452, 4374, 3712, 33, 970, 28, 7942, 8, 810, 399, 198, 220, 220, 220, 329, 357, 72, 11, 277, 66, 8, 287, 27056, 378, 7, 907, 71, 13, 32186, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4808, 271, 62, 2550, 62, 27363, 7, 16072, 11, 43344, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 32186, 11, 43344, 8, 628, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 2550, 62, 1087, 364, 11, 1976, 27498, 7, 43879, 2414, 11, 399, 4008, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 2550, 62, 27237, 874, 11, 1976, 27498, 7, 43879, 2414, 11, 399, 4008, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 2550, 62, 11265, 62, 20850, 11, 1976, 27498, 7, 43879, 2414, 11, 399, 4008, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 2550, 62, 8443, 3458, 11, 1976, 27498, 7, 5317, 2414, 11, 362, 4008, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 2550, 62, 67, 1023, 11, 1976, 27498, 7, 43879, 2414, 11, 362, 4008, 628, 220, 220, 220, 4129, 7, 907, 71, 13, 32186, 8, 198, 437, 198, 198, 37811, 198, 4550, 6115, 284, 257, 19609, 198, 198, 9, 4600, 907, 71, 63, 25, 262, 19609, 198, 9, 4600, 69, 6359, 63, 25, 15879, 286, 1986, 36525, 198, 198, 9, 1441, 25, 281, 6376, 329, 262, 6115, 198, 37811, 198, 8818, 751, 62, 29048, 0, 7, 907, 71, 3712, 18467, 16598, 37031, 90, 45, 5512, 277, 6359, 3712, 38469, 90, 5317, 2414, 30072, 810, 399, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 10396, 8139, 11, 277, 6359, 8, 628, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 29048, 62, 1087, 364, 11, 1976, 27498, 7, 43879, 2414, 11, 399, 4008, 198, 220, 220, 220, 4574, 0, 7, 907, 71, 13, 29048, 62, 10396, 8139, 11, 657, 13, 15, 8, 628, 220, 220, 220, 4129, 7, 907, 71, 13, 10396, 8139, 8, 198, 437, 198, 198, 37811, 198, 22203, 284, 4174, 48804, 291, 16022, 19609, 32746, 722, 13, 12039, 307, 973, 706, 4600, 14681, 62, 469, 15748, 0, 47671, 543, 318, 198, 14508, 6338, 302, 12, 2596, 706, 2458, 389, 925, 198, 198, 9, 4600, 907, 71, 63, 25, 262, 19609, 379, 1021, 198, 9, 4600, 77, 2676, 63, 25, 1271, 286, 34820, 357, 12286, 82, 284, 1802, 8, 198, 9, 4600, 2411, 897, 341, 62, 17143, 2357, 63, 25, 34205, 11507, 329, 24415, 198, 37811, 198, 8818, 19609, 62, 5796, 1025, 722, 0, 7, 907, 71, 3712, 18467, 16598, 37031, 90, 45, 19629, 299, 2676, 3712, 5317, 2414, 28, 3064, 11, 34205, 62, 17143, 2357, 3712, 43879, 2414, 28, 16, 13, 15, 8, 810, 399, 198, 220, 220, 220, 1426, 28, 9107, 418, 7, 43879, 2414, 11, 399, 8, 198, 220, 220, 220, 266, 28, 15, 13, 15, 628, 220, 220, 220, 329, 13759, 28, 16, 25, 77, 2676, 198, 220, 220, 220, 220, 220, 220, 220, 329, 357, 72, 11, 357, 457, 11, 762, 4008, 287, 27056, 378, 7, 13344, 7, 907, 71, 13, 13033, 11, 285, 1477, 13, 4122, 62, 8443, 3458, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 907, 71, 13, 4122, 62, 34021, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 266, 28, 907, 71, 13, 4122, 62, 6551, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1426, 13, 28, 457, 15885, 86, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 269, 287, 762, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1426, 13, 47932, 907, 71, 13, 13033, 58, 66, 4083, 9, 907, 71, 13, 4122, 62, 6551, 58, 66, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 266, 47932, 907, 71, 13, 4122, 62, 6551, 58, 66, 60, 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, 1426, 19571, 28, 86, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 13033, 58, 72, 4083, 28, 2411, 897, 341, 62, 17143, 2357, 15885, 1930, 13, 33747, 16, 13, 15, 12, 2411, 897, 341, 62, 17143, 2357, 737, 9, 907, 71, 13, 13033, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 266, 14, 16193, 13664, 7, 5936, 47762, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 1477, 13, 4122, 62, 6551, 58, 72, 60, 16193, 16, 13, 15, 12, 2411, 897, 341, 62, 17143, 2357, 27493, 907, 71, 13, 4122, 62, 6551, 58, 72, 48688, 2411, 897, 341, 62, 17143, 2357, 9, 86, 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, 1429, 62, 469, 15748, 0, 7, 907, 71, 8, 198, 437, 198 ]
2.080073
4,396
export RESP_wont_read function resp_unit_split(buf::Array{UInt8,1}, L::Int64) i = 1 while i+2 < L if buf[i] == 0x20 && buf[i+1] == 0x2d && buf[i+2] == 0x20 return String(buf[1:i-1]) end i = i+1 end return String(buf[1:L]) end # *** FIX ME ==> version in dataless.jl is better function parse_resp_date!(buf::Array{UInt8,1}, L::Int64, T::Array{Int16,1}) is_u8_digit(buf[1]) || return typemax(Int64) fill!(T, zero(Int16)) i = 0 j = 1 # counter to start position in buf k = 1 # counter to y,j,h,m,s while i ≤ L i += 1 if i > L T[k] = buf_to_int(buf, i-1, j) T[k] = parse(Int16, String(buf[j:i-1])) break elseif buf[i] in (0x2c, 0x2e, 0x3a) T[k] = buf_to_int(buf, i-1, j) k += 1 k > 6 && break j = i+1 end end return mktime(T) end function close_resp_channel!(S::SeisData, C::SeisChannel, ts::Int64, te::Int64, fname::String, ns::Int64) L = length(C.resp.fs) for f in fieldnames(MultiStageResp) deleteat!(getfield(C.resp, f), (ns+1):L) end i = findid(S, C.id) if i != 0 t0 = isempty(S.t[i]) ? ts : S.t[i][1,2] if ts ≤ t0 < te S.resp[i] = C.resp S.gain[i] = C.gain note!(S, i, string("seed_resp, ", fname, ", overwrote :gain, :resp")) end else # ObsPy does this but I don't think it's safe; stage fs is not stored uniformly. if length(C.resp.fs) > 0 fac = C.resp.fac[end] C.fs = C.resp.fs[end] * (fac > 0 ? 1/fac : 1.0) end push!(S, C) end # fill!(delay, zero(Float64)) # fill!(fg, zero(Float64)) # fill!(fs_in, zero(Float64)) # fill!(gain, zero(Float64)) # fill!(corr, zero(Float64)) # fill!(fac, zero(Int64)) # fill!(os, zero(Int64)) return nothing end function add_stage!(C::SeisChannel, n::Int64, tfc::UInt8) if C.resp.stage[n] == nothing C.resp.stage[n] = if tfc == 0x41 PZResp64() elseif tfc == 0x44 CoeffResp() else GenResp() end return nothing end end function read_seed_resp!(S::GphysData, fpat::String; units::Bool=false) buf = BUF.buf C = SeisChannel(resp = MultiStageResp(12)) R = C.resp blk = zero(UInt64) # Containers for parts of the response # nstg = 12 # delay = zeros(Float64, nstg) # Estimated delay (seconds) (047F08, 057F07) # corr = zeros(Float64, nstg) # Correction applied (seconds) (047F09, 057F08) # fg = zeros(Float64, nstg) # Frequency of gain (058F05) # fs_in = zeros(Float64, nstg) # Input sample rate (047F05, 057F04) # gain = zeros(Float64, nstg) # Gain (058F04) # fac = zeros(Int64, nstg) # Decimation factor (047F06, 057F05) # os = zeros(Int64, nstg) # Decimation offset (047F07, 057F06) seq_n = zero(Int64) # Stage sequence number (053F04, 054F04, 057F03, 058F03, 060F04, 061F03, 062F04) seq_n_old = zero(Int64) # Last sequence number d_arr = zeros(Int16, 6) # Date nmax = zero(Int64) # Array containers X = Float64[] D = Float64[] Z = ComplexF64[] P = ComplexF64[] # Unit strings containers units_out = "" # Response out units lookup (041F07, 043F07, 044F07, 053F06, 054F06, 061F07, 062F06) if safe_isfile(fpat) files = [fpat] else files = ls(fpat) end for (nf, file) in enumerate(files) # Counters, etc. c = 0x00 i = 1 read_state = 0x00 tfc = 0x00 ts = zero(Int64) # Start date (052F22) te = zero(Int64) # End date (052F23) ND = zero(Int64) # Number of denominators (044F11, 054F10) NN = zero(Int64) # Number of coefficients (041F08, 044F08, 054F07, 061F08, 062F14) NZ = zero(Int64) # Number of zeroes (043F10, 053F09) NP = zero(Int64) # Number of poles (043F15, 053F14) a0 = one(Float64) # A0 normalization factor (043F08, 048F05, 053F07) f0 = one(Float64) # Normalization frequency (043F09, 048F06, 053F08) id = UInt8[] units_in = "" # Response in units lookup (041F06, 043F06, 044F06, 053F05, 054F05, 061F06, 062F05) io = open(file, "r") chip = false while !eof(io) c = read(io, UInt8) # comment line ------------------------------ if c == 0x23 while c != 0x0a c = read(io, UInt8) end end # start of blockette line ------------------- if c == 0x42 #= format: %c%3i%c%2i, 'B', blockette_#, 'F', field_# Here, I map the blockette and field numbers (along with 'F') to a UInt64. This mapping should be unique; for any blockette blk, I expect that String(reinterpret(UInt8, [blk]))[1:6] = bbbFff, where bbb is blockette # and ff is field # =# blk = UInt64(read(io, UInt8)) blk |= UInt64(read(io, UInt8)) << 8 blk |= UInt64(read(io, UInt8)) << 16 blk |= UInt64(read(io, UInt8)) << 24 blk |= UInt64(read(io, UInt8)) << 32 blk |= UInt64(read(io, UInt8)) << 40 read_state = 0x01 # Coefficient parsing ================================================== if blk in (0x0000393046313630, 0x0000393046313430) # Numerator coefficients (061F09, 041F09) X = Array{Float64,1}(undef, NN) for n = 1:NN # To first non-whitespace if n > 1 skip(io, 7) end c = read(io, UInt8) while c == 0x20 c = read(io, UInt8) end j = get_coeff_n(io, c, buf) c = skip_whitespace(io, c) # To next newline k = 1 while c != 0x0a buf[k] = c k += 1 c = read(io, UInt8) end store_dbl!(X, buf, k, j) end elseif blk in (0x0000313146333430, 0x0000303146333530, 0x0000363146333430, 0x0000353146333530) # Complex zeros (043F11, 053F10) / Complex poles (043F16, 053F15) if blk in (0x0000313146333430, 0x0000303146333530) N = NZ Z = Array{ComplexF64,1}(undef, N) is_p = false else N = NP P = Array{ComplexF64,1}(undef, N) is_p = true end for n = 1:N # coefficient number if n > 1 skip(io, 10) else skip(io, 3) end c = skip_whitespace(io, c) j = get_coeff_n(io, c, buf) # real part c = skip_whitespace(io, c) k = 1 while c != 0x20 buf[k] = c k += 1 c = read(io, UInt8) end xr = buf_to_double(buf, k) # imaginary part c = skip_whitespace(io, c) k = 1 while c != 0x20 buf[k] = c k += 1 c = read(io, UInt8) end xi = buf_to_double(buf, k) # store if is_p P[j] = complex(xr, xi) else Z[j] = complex(xr, xi) end # rest irrelevant c = to_newline(io, c) end elseif blk in (0x0000383046343530, 0x0000313146343530, 0x0000353146323630) # Numerator coefficients (054F08) / Denominator coefficients (054F11) / Polynomial coefficients (B062F15) if blk == 0x0000383046343530 N = NN X = Array{Float64,1}(undef, N) is_n = true else N = ND D = Array{Float64,1}(undef, N) is_n = false end for n = 1:N # To first non-whitespace if n > 1 skip(io, 10) else skip(io, 3) end c = skip_whitespace(io, c) j = get_coeff_n(io, c, buf) c = skip_whitespace(io, c) # To next whitesoace k = 1 while c != 0x20 buf[k] = c k += 1 c = read(io, UInt8) end # Store if is_n store_dbl!(X, buf, k, j) else store_dbl!(D, buf, k, j) end c = to_newline(io, c) end else # To separator while c != 0x3a c = read(io, UInt8) end # To first non-whitespace c = skip_whitespace(io, c) end end # header info -------------------------------- if read_state == 0x01 i = 1 while c != 0x0a buf[i] = c i += 1 eof(io) && break c = read(io, UInt8) end i -= 1 # header parsing ======================================================= if blk in (0x0000383046333430, 0x0000373046333530) # A0 normalization factor (043F08, 053F07) a0 = buf_to_double(buf, i) elseif blk == 0x0000343046323530 # Channel (052F04) ni = min(i,3) L = length(id) append!(id, zeros(UInt8, ni+1)) id[L+1] = 0x2e unsafe_copyto!(id, L+2, buf, 1, ni) setfield!(C, :id, String(id)) # println("Starting channel ", C.id) chip = true elseif blk in (0x0000383046373530, 0x0000393046373430) # Correction applied (seconds) (057F08) / Response correction (047F09) store_dbl!(R.corr, buf, i, seq_n) elseif blk in (0x0000353046373530, 0x0000363046373430) # Decimation factor (057F05) / Response decimation factor (047F06) store_int!(R.fac, buf, i, seq_n) elseif blk in (0x0000363046373530, 0x0000373046373430) # Decimation offset (057F06) / Response decimation offset (047F07) store_int!(R.os, buf, i, seq_n) elseif blk == 0x0000333246323530 # End date (052F23) te = parse_resp_date!(buf, i, d_arr) elseif blk in (0x0000373046373530, 0x0000383046373430) # Estimated delay (seconds) (057F07) / Response delay (047F08) store_dbl!(R.delay, buf, i, seq_n) elseif blk in (0x0000353046383530, 0x0000363046383430) # Frequency of gain (058F05) / Frequency of sensitivity (048F06) # println("blk = ", String(reinterpret(UInt8, [blk])), ", buf = ", String(buf[1:i])) store_dbl!(R.fg, buf, i, seq_n) elseif blk in (0x0000343046383530, 0x0000353046383430) # Gain (058F04) / Sensitivity (048F05) if seq_n > 0 store_dbl!(R.gain, buf, i, seq_n) else C.gain = buf_to_double(buf, i) end elseif blk in (0x0000343046373530, 0x0000353046373430) # Input sample rate (057F04) / Response input sample rate (047F05) store_dbl!(R.fs, buf, i, seq_n) elseif blk == 0x0000333046323530 # Location (052F03) push!(id, 0x2e) for j = 1:min(i,2) if buf[j] != 0x3f push!(id, buf[j]) end end elseif blk == 0x0000363146303530 # Network (050F16) ni = min(i,2) prepend!(id, zeros(UInt8, ni)) copyto!(id, 1, buf, 1, ni) elseif blk in (0x0000393046333430, 0x0000383046333530) # Normalization frequency (043F09, 053F08) f0 = buf_to_double(buf, i) elseif blk in (0x0000313146343430, 0x0000303146343530) # Number of denominators (044F11, 054F10) ND = buf_to_int(buf, i) elseif blk in (0x0000383046313430, 0x0000383046343430, 0x0000373046343530, 0x0000383046313630, 0x0000343146323630) # Number of numerators (041F08, 044F08, 054F07, 061F08) / Number of coefficients (062F14) NN = buf_to_int(buf, i) elseif blk in (0x0000353146333430, 0x0000343146333530) # Number of poles (043F15, 053F14) NP = buf_to_int(buf, i) elseif blk in (0x0000303146333430, 0x0000393046333530) # Number of zeroes (043F10, 053F09) NZ = buf_to_int(buf, i) elseif blk in (0x0000363046313430, 0x0000363046333430, 0x0000363046343430, 0x0000353046333530, 0x0000353046343530, 0x0000363046313630, 0x0000353046323630) # Response in units lookup (041F06, 043F06, 044F06, 053F05, 054F05, 061F06, 062F05) if units || isempty(C.units) units_in = fix_units(resp_unit_split(buf, i)) if seq_n > 0 && units == true C.resp.i[seq_n] = units_in end end elseif blk in (0x0000373046313430, 0x0000373046333430, 0x0000373046343430, 0x0000363046333530, 0x0000363046343530, 0x0000373046313630, 0x0000363046323630) # Response out units lookup (041F07, 043F07, 044F07, 053F06, 054F06, 061F07, 062F06) if units units_out = fix_units(resp_unit_split(buf, i)) if seq_n > 0 C.resp.o[seq_n] = units_out end end elseif blk in (0x0000343046333530, 0x0000343046343530, 0x0000333046373530, 0x0000333046383530, 0x0000343046303630, 0x0000333046313630, 0x0000343046323630) # Stage sequence number (053F04, 054F04, 057F03, 058F03, 060F04, 061F03, 062F04) seq_n = buf_to_int(buf, i) nmax = max(nmax, seq_n) #= Here is where we dump everything to seq_n_old. Fortunately RESP files list stage 0 last, which makes stupid tricks like this viable. =# if seq_n_old != seq_n # initialize stage seq_n if seq_n > 0 if length(C.resp.stage) < seq_n append!(C.resp, MultiStageResp(6)) end end # dump to seq_n_old if seq_n_old > 0 if isa(C.resp.stage[seq_n_old], CoeffResp) C.resp.stage[seq_n_old].b = X C.resp.stage[seq_n_old].a = D X = Float64[] D = Float64[] elseif isa(C.resp.stage[seq_n_old], PZResp64) C.resp.stage[seq_n_old].a0 = a0 C.resp.stage[seq_n_old].f0 = f0 C.resp.stage[seq_n_old].z = Z C.resp.stage[seq_n_old].p = P Z = ComplexF64[] P = ComplexF64[] a0 = one(Float64) f0 = one(Float64) end end seq_n_old = seq_n end # trigger new channel on seq_n if blk in (0x0000343046333530, 0x0000343046343530, 0x0000343046323630) if seq_n > 0 && tfc != 0x00 add_stage!(C, seq_n, tfc) tfc = 0x00 end end elseif blk == 0x0000323246323530 # Start date (052F22) ts = parse_resp_date!(buf, i, d_arr) elseif blk == 0x0000333046303530 # Station (050F03) if chip # close_resp_channel!(S, C, ts, te, file, corr, delay, fg, fs_in, gain, fac, os, length(C.resp.stage)) close_resp_channel!(S, C, ts, te, file, nmax) C = SeisChannel(resp = MultiStageResp(12)) R = C.resp chip = false seq_n = zero(Int64) seq_n_old = zero(Int64) tfc = 0x00 units_in = "" nmax = zero(Int64) end ni = min(i,5) id = zeros(UInt8, ni+1) unsafe_copyto!(id, 2, buf, 1, ni) id[1] = 0x2e elseif blk in (0x0000353046333430, 0x0000353046343430, 0x0000333046333530, 0x0000333046343530, 0x0000333046323630) # Response type (043F05, 044F05) / Transfer function type (053F03, 054F03, 062F03) tfc = buf[1] # trigger on response type if blk in (0x0000353046333430, 0x0000353046343430) if seq_n > 0 add_stage!(C, seq_n, tfc) tfc = 0x00 end end elseif blk in (0x0000353046313430, 0x0000353046313630) # Symmetry type (041F05, 061F05) tells us we have a digital filter tfc = 0x44 if seq_n > 0 add_stage!(C, seq_n, tfc) tfc = 0x00 end end if seq_n == 1 && isempty(C.units) && !isempty(units_in) C.units = units_in units_in = "" end read_state = 0x00 end end close(io) close_resp_channel!(S, C, ts, te, file, nmax) if nf != lastindex(files) C = SeisChannel(resp = MultiStageResp(12)) R = C.resp chip = false seq_n = zero(Int64) seq_n_old = zero(Int64) tfc = 0x00 units_in = "" nmax = zero(Int64) end end return S end function read_seed_resp(fpat::String; units::Bool=false) S = SeisData() read_seed_resp!(S, fpat, units=units) return S end """ RESP_wont_read() The following is a list of breaking SEED RESP issues that we've encountered in real data. Files with these issues don't read correctly into any known program (e.g., ObsPy, SAC, SeisIO). | Network | Station(s) | Problem(s) | :---- | :---- | :---- | CN | (broadbands) | B058F05-06 contain units; should be B053F05-06 """ function RESP_wont_read() return nothing end
[ 39344, 47203, 62, 86, 756, 62, 961, 198, 198, 8818, 1217, 62, 20850, 62, 35312, 7, 29325, 3712, 19182, 90, 52, 5317, 23, 11, 16, 5512, 406, 3712, 5317, 2414, 8, 198, 220, 1312, 796, 352, 198, 220, 981, 1312, 10, 17, 1279, 406, 198, 220, 220, 220, 611, 42684, 58, 72, 60, 6624, 657, 87, 1238, 11405, 42684, 58, 72, 10, 16, 60, 6624, 657, 87, 17, 67, 11405, 42684, 58, 72, 10, 17, 60, 6624, 657, 87, 1238, 198, 220, 220, 220, 220, 220, 1441, 10903, 7, 29325, 58, 16, 25, 72, 12, 16, 12962, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1312, 796, 1312, 10, 16, 198, 220, 886, 198, 220, 1441, 10903, 7, 29325, 58, 16, 25, 43, 12962, 198, 437, 198, 198, 2, 17202, 44855, 11948, 6624, 29, 2196, 287, 4818, 282, 408, 13, 20362, 318, 1365, 198, 8818, 21136, 62, 4363, 62, 4475, 0, 7, 29325, 3712, 19182, 90, 52, 5317, 23, 11, 16, 5512, 406, 3712, 5317, 2414, 11, 309, 3712, 19182, 90, 5317, 1433, 11, 16, 30072, 198, 220, 318, 62, 84, 23, 62, 27003, 7, 29325, 58, 16, 12962, 8614, 1441, 2170, 368, 897, 7, 5317, 2414, 8, 198, 220, 6070, 0, 7, 51, 11, 6632, 7, 5317, 1433, 4008, 198, 220, 1312, 796, 657, 198, 220, 474, 796, 352, 1303, 3753, 284, 923, 2292, 287, 42684, 198, 220, 479, 796, 352, 1303, 3753, 284, 331, 11, 73, 11, 71, 11, 76, 11, 82, 198, 220, 981, 1312, 41305, 406, 198, 220, 220, 220, 1312, 15853, 352, 198, 220, 220, 220, 611, 1312, 1875, 406, 198, 220, 220, 220, 220, 220, 309, 58, 74, 60, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 12, 16, 11, 474, 8, 198, 220, 220, 220, 220, 220, 309, 58, 74, 60, 796, 21136, 7, 5317, 1433, 11, 10903, 7, 29325, 58, 73, 25, 72, 12, 16, 60, 4008, 198, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 2073, 361, 42684, 58, 72, 60, 287, 357, 15, 87, 17, 66, 11, 657, 87, 17, 68, 11, 657, 87, 18, 64, 8, 198, 220, 220, 220, 220, 220, 309, 58, 74, 60, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 12, 16, 11, 474, 8, 198, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 479, 1875, 718, 11405, 2270, 198, 220, 220, 220, 220, 220, 474, 796, 1312, 10, 16, 198, 220, 220, 220, 886, 198, 220, 886, 198, 220, 1441, 33480, 2435, 7, 51, 8, 198, 437, 198, 198, 8818, 1969, 62, 4363, 62, 17620, 0, 7, 50, 3712, 4653, 271, 6601, 11, 327, 3712, 4653, 271, 29239, 11, 40379, 3712, 5317, 2414, 11, 573, 3712, 5317, 2414, 11, 277, 3672, 3712, 10100, 11, 36545, 3712, 5317, 2414, 8, 198, 220, 406, 796, 4129, 7, 34, 13, 4363, 13, 9501, 8, 198, 220, 329, 277, 287, 2214, 14933, 7, 29800, 29391, 19309, 8, 198, 220, 220, 220, 12233, 265, 0, 7, 1136, 3245, 7, 34, 13, 4363, 11, 277, 828, 357, 5907, 10, 16, 2599, 43, 8, 198, 220, 886, 628, 220, 1312, 796, 1064, 312, 7, 50, 11, 327, 13, 312, 8, 198, 220, 611, 1312, 14512, 657, 198, 220, 220, 220, 256, 15, 796, 318, 28920, 7, 50, 13, 83, 58, 72, 12962, 5633, 40379, 1058, 311, 13, 83, 58, 72, 7131, 16, 11, 17, 60, 198, 220, 220, 220, 611, 40379, 41305, 256, 15, 1279, 573, 198, 220, 220, 220, 220, 220, 311, 13, 4363, 58, 72, 60, 796, 327, 13, 4363, 198, 220, 220, 220, 220, 220, 311, 13, 48544, 58, 72, 60, 796, 327, 13, 48544, 198, 220, 220, 220, 220, 220, 3465, 0, 7, 50, 11, 1312, 11, 4731, 7203, 28826, 62, 4363, 11, 33172, 277, 3672, 11, 33172, 6993, 2519, 1058, 48544, 11, 1058, 4363, 48774, 198, 220, 220, 220, 886, 198, 220, 2073, 198, 220, 220, 220, 1303, 11086, 20519, 857, 428, 475, 314, 836, 470, 892, 340, 338, 3338, 26, 3800, 43458, 318, 407, 8574, 42096, 13, 198, 220, 220, 220, 611, 4129, 7, 34, 13, 4363, 13, 9501, 8, 1875, 657, 198, 220, 220, 220, 220, 220, 1777, 796, 327, 13, 4363, 13, 38942, 58, 437, 60, 198, 220, 220, 220, 220, 220, 327, 13, 9501, 796, 327, 13, 4363, 13, 9501, 58, 437, 60, 1635, 357, 38942, 1875, 657, 5633, 352, 14, 38942, 1058, 352, 13, 15, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 4574, 0, 7, 50, 11, 327, 8, 198, 220, 886, 628, 220, 1303, 6070, 0, 7, 40850, 11, 6632, 7, 43879, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 40616, 11, 6632, 7, 43879, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 9501, 62, 259, 11, 6632, 7, 43879, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 48544, 11, 6632, 7, 43879, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 10215, 81, 11, 6632, 7, 43879, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 38942, 11, 6632, 7, 5317, 2414, 4008, 198, 220, 1303, 6070, 0, 7, 418, 11, 6632, 7, 5317, 2414, 4008, 628, 220, 1441, 2147, 198, 437, 198, 198, 8818, 751, 62, 14247, 0, 7, 34, 3712, 4653, 271, 29239, 11, 299, 3712, 5317, 2414, 11, 256, 16072, 3712, 52, 5317, 23, 8, 198, 220, 611, 327, 13, 4363, 13, 14247, 58, 77, 60, 6624, 2147, 198, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 77, 60, 796, 198, 220, 220, 220, 220, 220, 611, 256, 16072, 6624, 657, 87, 3901, 198, 220, 220, 220, 220, 220, 220, 220, 350, 57, 19309, 2414, 3419, 198, 220, 220, 220, 220, 220, 2073, 361, 256, 16072, 6624, 657, 87, 2598, 198, 220, 220, 220, 220, 220, 220, 220, 1766, 14822, 19309, 3419, 198, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 5215, 19309, 3419, 198, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2147, 198, 220, 886, 198, 437, 628, 198, 8818, 1100, 62, 28826, 62, 4363, 0, 7, 50, 3712, 38, 34411, 6601, 11, 277, 8071, 3712, 10100, 26, 198, 220, 4991, 3712, 33, 970, 28, 9562, 8, 628, 220, 42684, 220, 220, 796, 20571, 37, 13, 29325, 198, 220, 327, 220, 220, 220, 220, 796, 1001, 271, 29239, 7, 4363, 796, 15237, 29391, 19309, 7, 1065, 4008, 198, 220, 371, 220, 220, 220, 220, 796, 327, 13, 4363, 198, 220, 698, 74, 220, 220, 796, 6632, 7, 52, 5317, 2414, 8, 628, 220, 1303, 2345, 50221, 329, 3354, 286, 262, 2882, 198, 220, 1303, 299, 301, 70, 220, 220, 220, 796, 1105, 198, 220, 1303, 5711, 796, 1976, 27498, 7, 43879, 2414, 11, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 47737, 5711, 357, 43012, 8, 357, 48000, 37, 2919, 11, 657, 3553, 37, 2998, 8, 198, 220, 1303, 1162, 81, 220, 796, 1976, 27498, 7, 43879, 2414, 11, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 35074, 5625, 357, 43012, 8, 357, 48000, 37, 2931, 11, 657, 3553, 37, 2919, 8, 198, 220, 1303, 277, 70, 220, 220, 220, 796, 1976, 27498, 7, 43879, 2414, 11, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 31902, 286, 4461, 357, 2713, 23, 37, 2713, 8, 198, 220, 1303, 43458, 62, 259, 796, 1976, 27498, 7, 43879, 2414, 11, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 23412, 6291, 2494, 357, 48000, 37, 2713, 11, 657, 3553, 37, 3023, 8, 198, 220, 1303, 4461, 220, 796, 1976, 27498, 7, 43879, 2414, 11, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 21686, 357, 2713, 23, 37, 3023, 8, 198, 220, 1303, 1777, 220, 220, 796, 1976, 27498, 7, 5317, 2414, 11, 220, 220, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 4280, 18991, 5766, 357, 48000, 37, 3312, 11, 657, 3553, 37, 2713, 8, 198, 220, 1303, 28686, 220, 220, 220, 796, 1976, 27498, 7, 5317, 2414, 11, 220, 220, 299, 301, 70, 8, 220, 220, 220, 220, 220, 220, 220, 1303, 4280, 18991, 11677, 357, 48000, 37, 2998, 11, 657, 3553, 37, 3312, 8, 198, 220, 33756, 62, 77, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15371, 8379, 1271, 357, 2713, 18, 37, 3023, 11, 657, 4051, 37, 3023, 11, 657, 3553, 37, 3070, 11, 657, 3365, 37, 3070, 11, 657, 1899, 37, 3023, 11, 657, 5333, 37, 3070, 11, 657, 5237, 37, 3023, 8, 198, 220, 33756, 62, 77, 62, 727, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4586, 8379, 1271, 198, 220, 288, 62, 3258, 796, 1976, 27498, 7, 5317, 1433, 11, 718, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7536, 198, 220, 299, 9806, 796, 6632, 7, 5317, 2414, 8, 628, 220, 1303, 15690, 16472, 198, 220, 1395, 796, 48436, 2414, 21737, 198, 220, 360, 796, 48436, 2414, 21737, 198, 220, 1168, 796, 19157, 37, 2414, 21737, 198, 220, 350, 796, 19157, 37, 2414, 21737, 628, 220, 1303, 11801, 13042, 16472, 198, 220, 4991, 62, 448, 796, 13538, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18261, 503, 4991, 35847, 357, 50049, 37, 2998, 11, 657, 3559, 37, 2998, 11, 657, 2598, 37, 2998, 11, 657, 4310, 37, 3312, 11, 657, 4051, 37, 3312, 11, 657, 5333, 37, 2998, 11, 657, 5237, 37, 3312, 8, 628, 220, 611, 3338, 62, 4468, 576, 7, 69, 8071, 8, 198, 220, 220, 220, 3696, 796, 685, 69, 8071, 60, 198, 220, 2073, 198, 220, 220, 220, 3696, 796, 43979, 7, 69, 8071, 8, 198, 220, 886, 198, 220, 329, 357, 77, 69, 11, 2393, 8, 287, 27056, 378, 7, 16624, 8, 628, 220, 220, 220, 1303, 3545, 1010, 11, 3503, 13, 198, 220, 220, 220, 269, 796, 657, 87, 405, 198, 220, 220, 220, 1312, 796, 352, 198, 220, 220, 220, 1100, 62, 5219, 796, 657, 87, 405, 198, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 198, 220, 220, 220, 40379, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7253, 3128, 357, 37841, 37, 1828, 8, 198, 220, 220, 220, 573, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5268, 3128, 357, 37841, 37, 1954, 8, 198, 220, 220, 220, 25524, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 31457, 2024, 357, 43977, 37, 1157, 11, 657, 4051, 37, 940, 8, 198, 220, 220, 220, 399, 45, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 44036, 357, 50049, 37, 2919, 11, 657, 2598, 37, 2919, 11, 657, 4051, 37, 2998, 11, 657, 5333, 37, 2919, 11, 657, 5237, 37, 1415, 8, 198, 220, 220, 220, 26905, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 1976, 263, 3028, 357, 48768, 37, 940, 11, 657, 4310, 37, 2931, 8, 198, 220, 220, 220, 28498, 796, 6632, 7, 5317, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 24971, 357, 48768, 37, 1314, 11, 657, 4310, 37, 1415, 8, 198, 220, 220, 220, 257, 15, 796, 530, 7, 43879, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 317, 15, 3487, 1634, 5766, 357, 48768, 37, 2919, 11, 657, 2780, 37, 2713, 11, 657, 4310, 37, 2998, 8, 198, 220, 220, 220, 277, 15, 796, 530, 7, 43879, 2414, 8, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 14435, 1634, 8373, 357, 48768, 37, 2931, 11, 657, 2780, 37, 3312, 11, 657, 4310, 37, 2919, 8, 198, 220, 220, 220, 4686, 796, 471, 5317, 23, 21737, 198, 220, 220, 220, 4991, 62, 259, 796, 13538, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18261, 287, 4991, 35847, 357, 50049, 37, 3312, 11, 657, 3559, 37, 3312, 11, 657, 2598, 37, 3312, 11, 657, 4310, 37, 2713, 11, 657, 4051, 37, 2713, 11, 657, 5333, 37, 3312, 11, 657, 5237, 37, 2713, 8, 628, 220, 220, 220, 33245, 796, 1280, 7, 7753, 11, 366, 81, 4943, 198, 220, 220, 220, 11594, 796, 3991, 198, 220, 220, 220, 981, 5145, 68, 1659, 7, 952, 8, 198, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 8, 628, 220, 220, 220, 220, 220, 1303, 2912, 1627, 34400, 26171, 198, 220, 220, 220, 220, 220, 611, 269, 6624, 657, 87, 1954, 198, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 15, 64, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 1303, 923, 286, 2512, 5857, 1627, 34400, 6329, 198, 220, 220, 220, 220, 220, 611, 269, 6624, 657, 87, 3682, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 28, 5794, 25, 4064, 66, 4, 18, 72, 4, 66, 4, 17, 72, 11, 705, 33, 3256, 2512, 5857, 62, 2, 11, 705, 37, 3256, 2214, 62, 2, 628, 220, 220, 220, 220, 220, 220, 220, 3423, 11, 314, 3975, 262, 2512, 5857, 290, 2214, 3146, 357, 24176, 351, 705, 37, 11537, 284, 257, 471, 5317, 2414, 13, 198, 220, 220, 220, 220, 220, 220, 220, 770, 16855, 815, 307, 3748, 26, 329, 597, 2512, 5857, 698, 74, 11, 314, 1607, 326, 198, 220, 220, 220, 220, 220, 220, 220, 10903, 7, 260, 27381, 7, 52, 5317, 23, 11, 685, 2436, 74, 60, 4008, 58, 16, 25, 21, 60, 796, 275, 11848, 37, 487, 11, 810, 275, 11848, 318, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 5857, 1303, 290, 31246, 318, 2214, 1303, 198, 220, 220, 220, 220, 220, 220, 220, 796, 2, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 220, 796, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 930, 28, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 9959, 807, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 930, 28, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 9959, 1467, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 930, 28, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 9959, 1987, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 930, 28, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 9959, 3933, 198, 220, 220, 220, 220, 220, 220, 220, 698, 74, 930, 28, 471, 5317, 2414, 7, 961, 7, 952, 11, 471, 5317, 23, 4008, 9959, 2319, 198, 220, 220, 220, 220, 220, 220, 220, 1100, 62, 5219, 796, 657, 87, 486, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1766, 16814, 32096, 46111, 4770, 28, 198, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 287, 357, 15, 87, 2388, 2670, 1270, 38380, 20809, 1270, 11, 657, 87, 2388, 2670, 1270, 38380, 19880, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 399, 6975, 1352, 44036, 357, 3312, 16, 37, 2931, 11, 657, 3901, 37, 2931, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 796, 15690, 90, 43879, 2414, 11, 16, 92, 7, 917, 891, 11, 399, 45, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 299, 796, 352, 25, 6144, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 717, 1729, 12, 1929, 2737, 10223, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 299, 1875, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14267, 7, 952, 11, 767, 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, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 6624, 657, 87, 1238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 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, 474, 796, 651, 62, 1073, 14822, 62, 77, 7, 952, 11, 269, 11, 42684, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 1306, 649, 1370, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 15, 64, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42684, 58, 74, 60, 796, 269, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 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, 3650, 62, 67, 2436, 0, 7, 55, 11, 42684, 11, 479, 11, 474, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 25838, 20964, 2091, 2682, 1270, 11, 657, 87, 2388, 22572, 20964, 2091, 2327, 1270, 11, 657, 87, 2388, 35447, 20964, 2091, 2682, 1270, 11, 657, 87, 2388, 33319, 20964, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 19157, 1976, 27498, 357, 48768, 37, 1157, 11, 657, 4310, 37, 940, 8, 1220, 19157, 24971, 357, 48768, 37, 1433, 11, 657, 4310, 37, 1314, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 287, 357, 15, 87, 2388, 25838, 20964, 2091, 2682, 1270, 11, 657, 87, 2388, 22572, 20964, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 796, 26905, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1168, 796, 15690, 90, 5377, 11141, 37, 2414, 11, 16, 92, 7, 917, 891, 11, 399, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 79, 796, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 796, 28498, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 350, 796, 15690, 90, 5377, 11141, 37, 2414, 11, 16, 92, 7, 917, 891, 11, 399, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 79, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 299, 796, 352, 25, 45, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 35381, 1271, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 299, 1875, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14267, 7, 952, 11, 838, 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, 14267, 7, 952, 11, 513, 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, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 796, 651, 62, 1073, 14822, 62, 77, 7, 952, 11, 269, 11, 42684, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1103, 636, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 1238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42684, 58, 74, 60, 796, 269, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 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, 2124, 81, 796, 42684, 62, 1462, 62, 23352, 7, 29325, 11, 479, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 26726, 636, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 1238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42684, 58, 74, 60, 796, 269, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 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, 2124, 72, 796, 42684, 62, 1462, 62, 23352, 7, 29325, 11, 479, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3650, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 79, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 350, 58, 73, 60, 796, 3716, 7, 87, 81, 11, 2124, 72, 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, 1168, 58, 73, 60, 796, 3716, 7, 87, 81, 11, 2124, 72, 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, 1303, 1334, 18046, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 284, 62, 3605, 1370, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2548, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 25838, 20964, 2682, 2327, 1270, 11, 657, 87, 2388, 33319, 1415, 5066, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 399, 6975, 1352, 44036, 357, 2713, 19, 37, 2919, 8, 1220, 5601, 6351, 1352, 44036, 357, 2713, 19, 37, 1157, 8, 1220, 12280, 26601, 498, 44036, 357, 33, 3312, 17, 37, 1314, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 6624, 657, 87, 2388, 2548, 1270, 3510, 2682, 2327, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 796, 399, 45, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 796, 15690, 90, 43879, 2414, 11, 16, 92, 7, 917, 891, 11, 399, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 77, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 796, 25524, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 796, 15690, 90, 43879, 2414, 11, 16, 92, 7, 917, 891, 11, 399, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 77, 796, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 299, 796, 352, 25, 45, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 717, 1729, 12, 1929, 2737, 10223, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 299, 1875, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14267, 7, 952, 11, 838, 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, 14267, 7, 952, 11, 513, 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, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 796, 651, 62, 1073, 14822, 62, 77, 7, 952, 11, 269, 11, 42684, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 1306, 13216, 78, 558, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 1238, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42684, 58, 74, 60, 796, 269, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 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, 1303, 9363, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 55, 11, 42684, 11, 479, 11, 474, 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, 3650, 62, 67, 2436, 0, 7, 35, 11, 42684, 11, 479, 11, 474, 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, 269, 796, 284, 62, 3605, 1370, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 2880, 1352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 18, 64, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1675, 717, 1729, 12, 1929, 2737, 10223, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 14267, 62, 1929, 2737, 10223, 7, 952, 11, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 1303, 13639, 7508, 20368, 198, 220, 220, 220, 220, 220, 611, 1100, 62, 5219, 6624, 657, 87, 486, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 981, 269, 14512, 657, 87, 15, 64, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42684, 58, 72, 60, 796, 269, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 1659, 7, 952, 8, 11405, 2270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 796, 1100, 7, 952, 11, 471, 5317, 23, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 48185, 352, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 13639, 32096, 46111, 4770, 50155, 198, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 287, 357, 15, 87, 2388, 2548, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2718, 1270, 3510, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 317, 15, 3487, 1634, 5766, 357, 48768, 37, 2919, 11, 657, 4310, 37, 2998, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 15, 796, 42684, 62, 1462, 62, 23352, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 6624, 657, 87, 2388, 2682, 1270, 38380, 22370, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 11102, 357, 37841, 37, 3023, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37628, 796, 949, 7, 72, 11, 18, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 406, 796, 4129, 7, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24443, 0, 7, 312, 11, 1976, 27498, 7, 52, 5317, 23, 11, 37628, 10, 16, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4686, 58, 43, 10, 16, 60, 796, 657, 87, 17, 68, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21596, 62, 30073, 1462, 0, 7, 312, 11, 406, 10, 17, 11, 42684, 11, 352, 11, 37628, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 3245, 0, 7, 34, 11, 1058, 312, 11, 10903, 7, 312, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7203, 22851, 6518, 33172, 327, 13, 312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11594, 796, 2081, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2548, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2670, 1270, 3510, 2718, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 35074, 5625, 357, 43012, 8, 357, 43526, 37, 2919, 8, 1220, 18261, 17137, 357, 48000, 37, 2931, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 49, 13, 10215, 81, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2327, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2718, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4280, 18991, 5766, 357, 43526, 37, 2713, 8, 1220, 18261, 875, 18991, 5766, 357, 48000, 37, 3312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 600, 0, 7, 49, 13, 38942, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2623, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2718, 1270, 3510, 2718, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4280, 18991, 11677, 357, 43526, 37, 3312, 8, 1220, 220, 18261, 875, 18991, 11677, 357, 48000, 37, 2998, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 600, 0, 7, 49, 13, 418, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 6624, 657, 87, 2388, 20370, 1731, 5066, 22370, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5268, 3128, 357, 37841, 37, 1954, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 573, 796, 21136, 62, 4363, 62, 4475, 0, 7, 29325, 11, 1312, 11, 288, 62, 3258, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2718, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2548, 1270, 3510, 2718, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 47737, 5711, 357, 43012, 8, 357, 43526, 37, 2998, 8, 1220, 220, 18261, 5711, 357, 48000, 37, 2919, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 49, 13, 40850, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2327, 1270, 3510, 2548, 2327, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2548, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31902, 286, 4461, 357, 2713, 23, 37, 2713, 8, 1220, 31902, 286, 14233, 357, 47202, 37, 3312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7203, 2436, 74, 796, 33172, 10903, 7, 260, 27381, 7, 52, 5317, 23, 11, 685, 2436, 74, 12962, 828, 33172, 42684, 796, 33172, 10903, 7, 29325, 58, 16, 25, 72, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 49, 13, 40616, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2682, 1270, 3510, 2548, 2327, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2548, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 21686, 357, 2713, 23, 37, 3023, 8, 1220, 14173, 11365, 357, 47202, 37, 2713, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 49, 13, 48544, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 48544, 796, 42684, 62, 1462, 62, 23352, 7, 29325, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2682, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2718, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23412, 6291, 2494, 357, 43526, 37, 3023, 8, 1220, 18261, 5128, 6291, 2494, 357, 48000, 37, 2713, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 67, 2436, 0, 7, 49, 13, 9501, 11, 42684, 11, 1312, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 6624, 657, 87, 2388, 2091, 1270, 38380, 22370, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 13397, 357, 37841, 37, 3070, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 312, 11, 657, 87, 17, 68, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 474, 796, 352, 25, 1084, 7, 72, 11, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 42684, 58, 73, 60, 14512, 657, 87, 18, 69, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 312, 11, 42684, 58, 73, 12962, 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, 2073, 361, 698, 74, 6624, 657, 87, 2388, 35447, 20964, 1270, 2327, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7311, 357, 28669, 37, 1433, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37628, 796, 949, 7, 72, 11, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3143, 437, 0, 7, 312, 11, 1976, 27498, 7, 52, 5317, 23, 11, 37628, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4866, 1462, 0, 7, 312, 11, 352, 11, 42684, 11, 352, 11, 37628, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2670, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2548, 1270, 3510, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 14435, 1634, 8373, 357, 48768, 37, 2931, 11, 657, 4310, 37, 2919, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 15, 796, 42684, 62, 1462, 62, 23352, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 25838, 20964, 2682, 2682, 1270, 11, 657, 87, 2388, 22572, 20964, 2682, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 31457, 2024, 357, 43977, 37, 1157, 11, 657, 4051, 37, 940, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25524, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2548, 1270, 38380, 19880, 1270, 11, 657, 87, 2388, 2548, 1270, 3510, 2682, 2682, 1270, 11, 657, 87, 2388, 2718, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2548, 1270, 38380, 20809, 1270, 11, 657, 87, 2388, 32118, 1415, 5066, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 5470, 2024, 357, 50049, 37, 2919, 11, 657, 2598, 37, 2919, 11, 657, 4051, 37, 2998, 11, 657, 5333, 37, 2919, 8, 1220, 7913, 286, 44036, 357, 3312, 17, 37, 1415, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 45, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 33319, 20964, 2091, 2682, 1270, 11, 657, 87, 2388, 32118, 20964, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 24971, 357, 48768, 37, 1314, 11, 657, 4310, 37, 1415, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28498, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 22572, 20964, 2091, 2682, 1270, 11, 657, 87, 2388, 2670, 1270, 3510, 2091, 2327, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7913, 286, 1976, 263, 3028, 357, 48768, 37, 940, 11, 657, 4310, 37, 2931, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26905, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2623, 1270, 38380, 19880, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2682, 2682, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2091, 2327, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2623, 1270, 38380, 20809, 1270, 11, 657, 87, 2388, 2327, 1270, 38380, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18261, 287, 4991, 35847, 357, 50049, 37, 3312, 11, 657, 3559, 37, 3312, 11, 657, 2598, 37, 3312, 11, 657, 4310, 37, 2713, 11, 657, 4051, 37, 2713, 11, 657, 5333, 37, 3312, 11, 657, 5237, 37, 2713, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4991, 8614, 318, 28920, 7, 34, 13, 41667, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4991, 62, 259, 796, 4259, 62, 41667, 7, 4363, 62, 20850, 62, 35312, 7, 29325, 11, 1312, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 11405, 4991, 6624, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 72, 58, 41068, 62, 77, 60, 796, 4991, 62, 259, 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, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2718, 1270, 38380, 19880, 1270, 11, 657, 87, 2388, 2718, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2718, 1270, 3510, 2682, 2682, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2091, 2327, 1270, 11, 657, 87, 2388, 2623, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2718, 1270, 38380, 20809, 1270, 11, 657, 87, 2388, 2623, 1270, 38380, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18261, 503, 4991, 35847, 357, 50049, 37, 2998, 11, 657, 3559, 37, 2998, 11, 657, 2598, 37, 2998, 11, 657, 4310, 37, 3312, 11, 657, 4051, 37, 3312, 11, 657, 5333, 37, 2998, 11, 657, 5237, 37, 3312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4991, 62, 448, 796, 4259, 62, 41667, 7, 4363, 62, 20850, 62, 35312, 7, 29325, 11, 1312, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 78, 58, 41068, 62, 77, 60, 796, 4991, 62, 448, 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, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2682, 1270, 3510, 2091, 2327, 1270, 11, 657, 87, 2388, 2682, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2091, 1270, 3510, 2718, 2327, 1270, 11, 657, 87, 2388, 2091, 1270, 3510, 2548, 2327, 1270, 11, 657, 87, 2388, 2682, 1270, 3510, 1270, 2623, 1270, 11, 657, 87, 2388, 2091, 1270, 38380, 20809, 1270, 11, 657, 87, 2388, 2682, 1270, 38380, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15371, 8379, 1271, 357, 2713, 18, 37, 3023, 11, 657, 4051, 37, 3023, 11, 657, 3553, 37, 3070, 11, 657, 3365, 37, 3070, 11, 657, 1899, 37, 3023, 11, 657, 5333, 37, 3070, 11, 657, 5237, 37, 3023, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33756, 62, 77, 796, 42684, 62, 1462, 62, 600, 7, 29325, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 9806, 796, 3509, 7, 77, 9806, 11, 33756, 62, 77, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 28, 3423, 318, 810, 356, 10285, 2279, 284, 33756, 62, 77, 62, 727, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20525, 47203, 3696, 1351, 3800, 657, 938, 11, 543, 1838, 8531, 15910, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 588, 428, 13971, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 2, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 62, 727, 14512, 33756, 62, 77, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 41216, 3800, 33756, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4129, 7, 34, 13, 4363, 13, 14247, 8, 1279, 33756, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24443, 0, 7, 34, 13, 4363, 11, 15237, 29391, 19309, 7, 21, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10285, 284, 33756, 62, 77, 62, 727, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 62, 727, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 318, 64, 7, 34, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4357, 1766, 14822, 19309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 65, 796, 1395, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 64, 796, 360, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 318, 64, 7, 34, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4357, 350, 57, 19309, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 64, 15, 796, 257, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 69, 15, 796, 277, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 89, 796, 1168, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 4363, 13, 14247, 58, 41068, 62, 77, 62, 727, 4083, 79, 796, 350, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1168, 796, 19157, 37, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 350, 796, 19157, 37, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 15, 796, 530, 7, 43879, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 15, 796, 530, 7, 43879, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33756, 62, 77, 62, 727, 796, 33756, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7616, 649, 6518, 319, 33756, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 287, 357, 15, 87, 2388, 2682, 1270, 3510, 2091, 2327, 1270, 11, 657, 87, 2388, 2682, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2682, 1270, 38380, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 11405, 256, 16072, 14512, 657, 87, 405, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 14247, 0, 7, 34, 11, 33756, 62, 77, 11, 256, 16072, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 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, 2073, 361, 698, 74, 6624, 657, 87, 2388, 32637, 1731, 5066, 22370, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7253, 3128, 357, 37841, 37, 1828, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40379, 796, 21136, 62, 4363, 62, 4475, 0, 7, 29325, 11, 1312, 11, 288, 62, 3258, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 6624, 657, 87, 2388, 2091, 1270, 3510, 1270, 2327, 1270, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9327, 357, 28669, 37, 3070, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 11594, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1969, 62, 4363, 62, 17620, 0, 7, 50, 11, 327, 11, 40379, 11, 573, 11, 2393, 11, 1162, 81, 11, 5711, 11, 277, 70, 11, 43458, 62, 259, 11, 4461, 11, 1777, 11, 28686, 11, 4129, 7, 34, 13, 4363, 13, 14247, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1969, 62, 4363, 62, 17620, 0, 7, 50, 11, 327, 11, 40379, 11, 573, 11, 2393, 11, 299, 9806, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 796, 1001, 271, 29239, 7, 4363, 796, 15237, 29391, 19309, 7, 1065, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 371, 796, 327, 13, 4363, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11594, 796, 3991, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33756, 62, 77, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33756, 62, 77, 62, 727, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4991, 62, 259, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 9806, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37628, 796, 949, 7, 72, 11, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4686, 796, 1976, 27498, 7, 52, 5317, 23, 11, 37628, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21596, 62, 30073, 1462, 0, 7, 312, 11, 362, 11, 42684, 11, 352, 11, 37628, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4686, 58, 16, 60, 796, 657, 87, 17, 68, 628, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2327, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2682, 2682, 1270, 11, 657, 87, 2388, 2091, 1270, 3510, 2091, 2327, 1270, 11, 657, 87, 2388, 2091, 1270, 3510, 2682, 2327, 1270, 11, 657, 87, 2388, 2091, 1270, 38380, 24940, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 18261, 2099, 357, 48768, 37, 2713, 11, 657, 2598, 37, 2713, 8, 1220, 20558, 2163, 2099, 357, 2713, 18, 37, 3070, 11, 657, 4051, 37, 3070, 11, 657, 5237, 37, 3070, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 42684, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7616, 319, 2882, 2099, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 698, 74, 287, 357, 15, 87, 2388, 2327, 1270, 3510, 2091, 2682, 1270, 11, 657, 87, 2388, 2327, 1270, 3510, 2682, 2682, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 14247, 0, 7, 34, 11, 33756, 62, 77, 11, 256, 16072, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 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, 2073, 361, 698, 74, 287, 357, 15, 87, 2388, 2327, 1270, 38380, 19880, 1270, 11, 657, 87, 2388, 2327, 1270, 38380, 20809, 1270, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1632, 3020, 11973, 2099, 357, 50049, 37, 2713, 11, 657, 5333, 37, 2713, 8, 4952, 514, 356, 423, 257, 4875, 8106, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 2598, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 14247, 0, 7, 34, 11, 33756, 62, 77, 11, 256, 16072, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 611, 33756, 62, 77, 6624, 352, 11405, 318, 28920, 7, 34, 13, 41667, 8, 11405, 5145, 271, 28920, 7, 41667, 62, 259, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 327, 13, 41667, 796, 4991, 62, 259, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4991, 62, 259, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 1100, 62, 5219, 796, 657, 87, 405, 198, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1969, 7, 952, 8, 198, 220, 220, 220, 1969, 62, 4363, 62, 17620, 0, 7, 50, 11, 327, 11, 40379, 11, 573, 11, 2393, 11, 299, 9806, 8, 198, 220, 220, 220, 611, 299, 69, 14512, 938, 9630, 7, 16624, 8, 198, 220, 220, 220, 220, 220, 327, 796, 1001, 271, 29239, 7, 4363, 796, 15237, 29391, 19309, 7, 1065, 4008, 198, 220, 220, 220, 220, 220, 371, 796, 327, 13, 4363, 198, 220, 220, 220, 220, 220, 11594, 796, 3991, 198, 220, 220, 220, 220, 220, 33756, 62, 77, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 220, 220, 33756, 62, 77, 62, 727, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 220, 220, 256, 16072, 796, 657, 87, 405, 198, 220, 220, 220, 220, 220, 4991, 62, 259, 796, 13538, 198, 220, 220, 220, 220, 220, 299, 9806, 796, 6632, 7, 5317, 2414, 8, 198, 220, 220, 220, 886, 198, 220, 886, 198, 220, 1441, 311, 198, 437, 198, 198, 8818, 1100, 62, 28826, 62, 4363, 7, 69, 8071, 3712, 10100, 26, 198, 220, 4991, 3712, 33, 970, 28, 9562, 8, 198, 220, 311, 796, 1001, 271, 6601, 3419, 198, 220, 1100, 62, 28826, 62, 4363, 0, 7, 50, 11, 277, 8071, 11, 4991, 28, 41667, 8, 198, 220, 1441, 311, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 47203, 62, 86, 756, 62, 961, 3419, 198, 198, 464, 1708, 318, 257, 1351, 286, 7163, 7946, 1961, 47203, 2428, 326, 356, 1053, 12956, 198, 259, 1103, 1366, 13, 13283, 351, 777, 2428, 836, 470, 1100, 9380, 656, 597, 1900, 198, 23065, 357, 68, 13, 70, 1539, 11086, 20519, 11, 311, 2246, 11, 1001, 271, 9399, 737, 198, 198, 91, 7311, 930, 9327, 7, 82, 8, 220, 220, 220, 930, 20647, 7, 82, 8, 198, 91, 1058, 650, 220, 220, 930, 1058, 650, 220, 220, 220, 220, 220, 220, 220, 220, 930, 1058, 650, 198, 91, 31171, 220, 220, 220, 220, 220, 930, 357, 36654, 21397, 8, 220, 930, 347, 2713, 23, 37, 2713, 12, 3312, 3994, 4991, 26, 815, 307, 347, 2713, 18, 37, 2713, 12, 3312, 198, 37811, 198, 8818, 47203, 62, 86, 756, 62, 961, 3419, 198, 220, 1441, 2147, 198, 437, 198 ]
1.807317
9,622
using StaticPolynomials using Base.Test using BenchmarkTools @polyvar x y z @testset "monomials" begin m = x^2 @test isa(m, Monomial) @test variables(m) == (x,) @test exponents(m) == (2,) m = x * y @test isa(m, Monomial) @test variables(m) == (x, y) @test exponents(m) == (1, 1) m = y * x @test isa(m, Monomial) @test variables(m) == (x, y) @test exponents(m) == (1, 1) m = y * x^2 * y^3 @test isa(m, Monomial) @test variables(m) == (x, y) @test exponents(m) == (2, 4) @test x * y < x^2 @test (@benchmark $(x * y) < $(x^2)).allocs == 0 end @testset "terms" begin t = @inferred 3x @test isa(t, Term) @test variables(t) == (x,) @test coefficient(t) == 3 @test monomial(t) == convert(Monomial, x) t = @inferred x * 3 @test isa(t, Term) @test variables(t) == (x,) @test coefficient(t) == 3 @test monomial(t) == convert(Monomial, x) t = @inferred (2x) * y * x @test isa(t, Term) @test variables(t) == (x, y) @test coefficient(t) == 2 @test exponents(t) == (2, 1) end @testset "polynomials" begin p = @inferred x + 1 @test isa(p, Polynomial) @test p.terms[2] == Term(x) @test variables(p) == (x,) p = @inferred x^2 + x * x @test isa(p, Polynomial) @test length(terms(p)) == 1 @test coefficient(terms(p)[1]) == 2 p = @inferred (1 + x) + (y + 2) @test coefficient(terms(p)[1]) == 3 @test exponents(terms(p)[1]) == (0, 0) @test variables(p) == (x, y) @test coefficient(terms(p)[2]) == 1 @test exponents(terms(p)[2]) == (0, 1) @test coefficient(terms(p)[3]) == 1 @test exponents(terms(p)[3]) == (1, 0) p = @inferred x^2 + y + x * x + 3 * x * y + x * y^2 @test length(terms(p)) == 4 @test coefficient.(terms(p)) == [1, 3, 2, 1] @test exponents.(terms(p)) == [(0, 1), (1, 1), (2, 0), (1, 2)] end function testmonomials(var, degree) [var^i for i in 0:degree] end @testset "monomial vector" begin ms = @inferred testmonomials(x, 3) @test eltype(ms) == Monomial{1, (x,)} @test (@benchmark testmonomials($x, 3)).allocs == 1 end include("substitution.jl")
[ 3500, 36125, 34220, 26601, 8231, 198, 3500, 7308, 13, 14402, 198, 3500, 25187, 4102, 33637, 198, 198, 31, 35428, 7785, 2124, 331, 1976, 198, 198, 31, 9288, 2617, 366, 2144, 296, 8231, 1, 2221, 198, 220, 220, 220, 285, 796, 2124, 61, 17, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 76, 11, 2892, 49070, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 76, 8, 6624, 357, 87, 35751, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 76, 8, 6624, 357, 17, 35751, 628, 220, 220, 220, 285, 796, 2124, 1635, 331, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 76, 11, 2892, 49070, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 76, 8, 6624, 357, 87, 11, 331, 8, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 76, 8, 6624, 357, 16, 11, 352, 8, 628, 220, 220, 220, 285, 796, 331, 1635, 2124, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 76, 11, 2892, 49070, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 76, 8, 6624, 357, 87, 11, 331, 8, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 76, 8, 6624, 357, 16, 11, 352, 8, 628, 220, 220, 220, 285, 796, 331, 1635, 2124, 61, 17, 1635, 331, 61, 18, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 76, 11, 2892, 49070, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 76, 8, 6624, 357, 87, 11, 331, 8, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 76, 8, 6624, 357, 17, 11, 604, 8, 628, 220, 220, 220, 2488, 9288, 2124, 1635, 331, 1279, 2124, 61, 17, 198, 220, 220, 220, 2488, 9288, 4275, 26968, 4102, 29568, 87, 1635, 331, 8, 1279, 29568, 87, 61, 17, 29720, 32332, 82, 6624, 657, 198, 437, 198, 198, 31, 9288, 2617, 366, 38707, 1, 2221, 198, 220, 220, 220, 256, 796, 2488, 259, 18186, 513, 87, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 83, 11, 35118, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 83, 8, 6624, 357, 87, 35751, 198, 220, 220, 220, 2488, 9288, 35381, 7, 83, 8, 6624, 513, 198, 220, 220, 220, 2488, 9288, 937, 49070, 7, 83, 8, 6624, 10385, 7, 44, 6326, 498, 11, 2124, 8, 628, 220, 220, 220, 256, 796, 2488, 259, 18186, 2124, 1635, 513, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 83, 11, 35118, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 83, 8, 6624, 357, 87, 35751, 198, 220, 220, 220, 2488, 9288, 35381, 7, 83, 8, 6624, 513, 198, 220, 220, 220, 2488, 9288, 937, 49070, 7, 83, 8, 6624, 10385, 7, 44, 6326, 498, 11, 2124, 8, 628, 220, 220, 220, 256, 796, 2488, 259, 18186, 357, 17, 87, 8, 1635, 331, 1635, 2124, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 83, 11, 35118, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 83, 8, 6624, 357, 87, 11, 331, 8, 198, 220, 220, 220, 2488, 9288, 35381, 7, 83, 8, 6624, 362, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 83, 8, 6624, 357, 17, 11, 352, 8, 198, 437, 198, 198, 31, 9288, 2617, 366, 35428, 26601, 8231, 1, 2221, 198, 220, 220, 220, 279, 796, 2488, 259, 18186, 2124, 1343, 352, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 79, 11, 12280, 26601, 498, 8, 198, 220, 220, 220, 2488, 9288, 279, 13, 38707, 58, 17, 60, 6624, 35118, 7, 87, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 79, 8, 6624, 357, 87, 35751, 628, 220, 220, 220, 279, 796, 2488, 259, 18186, 2124, 61, 17, 1343, 2124, 1635, 2124, 198, 220, 220, 220, 2488, 9288, 318, 64, 7, 79, 11, 12280, 26601, 498, 8, 198, 220, 220, 220, 2488, 9288, 4129, 7, 38707, 7, 79, 4008, 6624, 352, 198, 220, 220, 220, 2488, 9288, 35381, 7, 38707, 7, 79, 38381, 16, 12962, 6624, 362, 628, 220, 220, 220, 279, 796, 2488, 259, 18186, 357, 16, 1343, 2124, 8, 1343, 357, 88, 1343, 362, 8, 198, 220, 220, 220, 2488, 9288, 35381, 7, 38707, 7, 79, 38381, 16, 12962, 6624, 513, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 38707, 7, 79, 38381, 16, 12962, 6624, 357, 15, 11, 657, 8, 198, 220, 220, 220, 2488, 9288, 9633, 7, 79, 8, 6624, 357, 87, 11, 331, 8, 198, 220, 220, 220, 2488, 9288, 35381, 7, 38707, 7, 79, 38381, 17, 12962, 6624, 352, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 38707, 7, 79, 38381, 17, 12962, 6624, 357, 15, 11, 352, 8, 198, 220, 220, 220, 2488, 9288, 35381, 7, 38707, 7, 79, 38381, 18, 12962, 6624, 352, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 7, 38707, 7, 79, 38381, 18, 12962, 6624, 357, 16, 11, 657, 8, 628, 220, 220, 220, 279, 796, 2488, 259, 18186, 2124, 61, 17, 1343, 331, 1343, 2124, 1635, 2124, 1343, 513, 1635, 2124, 1635, 331, 1343, 2124, 1635, 331, 61, 17, 198, 220, 220, 220, 2488, 9288, 4129, 7, 38707, 7, 79, 4008, 6624, 604, 198, 220, 220, 220, 2488, 9288, 35381, 12195, 38707, 7, 79, 4008, 6624, 685, 16, 11, 513, 11, 362, 11, 352, 60, 198, 220, 220, 220, 2488, 9288, 1033, 3906, 12195, 38707, 7, 79, 4008, 6624, 47527, 15, 11, 352, 828, 357, 16, 11, 352, 828, 357, 17, 11, 657, 828, 357, 16, 11, 362, 15437, 198, 437, 198, 198, 8818, 1332, 2144, 296, 8231, 7, 7785, 11, 4922, 8, 198, 220, 220, 220, 685, 7785, 61, 72, 329, 1312, 287, 657, 25, 16863, 60, 198, 437, 198, 198, 31, 9288, 2617, 366, 2144, 49070, 15879, 1, 2221, 198, 220, 220, 220, 13845, 796, 2488, 259, 18186, 1332, 2144, 296, 8231, 7, 87, 11, 513, 8, 198, 220, 220, 220, 2488, 9288, 1288, 4906, 7, 907, 8, 6624, 2892, 49070, 90, 16, 11, 357, 87, 35751, 92, 198, 220, 220, 220, 2488, 9288, 4275, 26968, 4102, 1332, 2144, 296, 8231, 16763, 87, 11, 513, 29720, 32332, 82, 6624, 352, 198, 437, 198, 198, 17256, 7203, 7266, 301, 2738, 13, 20362, 4943, 198 ]
2.142296
1,019
using CSV using DataFrames using DelimitedFiles using YAML using Query using SLiDE # ****************************************************************************************** # READ BLUENOTE OUTPUT RESULTS TO CHECK. # ****************************************************************************************** y = read_file(joinpath("dev","buildstream","check_share.yml")); bluenote = Dict(k => sort(read_file(joinpath(y["SharePath"]..., ensurearray(v["name"])...))) for (k,v) in y["ShareInput"]) bluenote = Dict(Symbol(k) => edit_with(v, Rename.(names(v), Symbol.(y["ShareInput"][k]["col"]))) for (k,v) in bluenote) # ****************************************************************************************** # READ SETS AND SLiDE SUPPLY/USE DATA. # ****************************************************************************************** y = read_file(joinpath("dev","buildstream","setlist.yml")); set = Dict(Symbol(k) => sort(read_file(joinpath(y["SetPath"]..., ensurearray(v)...)))[:,1] for (k,v) in y["SetInput"]) # Define edits to perform on each input DataFrame. x = Dict() x[:gsp] = [ Map(joinpath("crosswalk","gsp.csv"), [:gsp_code], [:windc_code], [:si], [:s], :left); Map(joinpath("..","coresets","yr.csv"), [:yr], [:yr], [:yr], [:yr], :left); Map(joinpath("..","coresets","r","state.csv"), [:r], [:r], [:r], [:r], :left); Drop.([:yr,:r,:s], missing, "=="); Order([:yr,:r,:gdpcat,:s,:si,:value], [Int, String, String, String, Int, Float64]) ]; x[:pce] = [ Map(joinpath("crosswalk","pce.csv"), [:pg], [:g], [:pg], [:g], :left); Map(joinpath("..","coresets","yr.csv"), [:yr], [:yr], [:yr], [:yr], :left); Map(joinpath("..","coresets","r","state.csv"), [:r], [:r], [:r], [:r], :left); Drop.([:yr,:r,:g], missing, "=="); Order([:yr,:r,:g,:value], [Int, String, String, Float64]) ]; x[:utd] = [ Add(:share, 0.0); Map(joinpath("crosswalk","naics.csv"), [:naics_code], [:windc_code], [:n], [:s], :left); Map(joinpath("..","coresets","yr.csv"), [:yr], [:yr], [:yr], [:yr], :left); Map(joinpath("..","coresets","r","state.csv"), [:r], [:r], [:r], [:r], :left); Drop.([:yr,:r], missing, "=="); Order([:yr,:r,:s,:t,:value,:n], [Int, String, String, String, Float64, Int]) ]; x[:cfs] = [ Map(joinpath("crosswalk","sctg.csv"), [:sctg_code], [:windc_code], [:sg], [:g], :left); Drop(:g, missing, "==") # Order([:orig_state,:dest_state,:n,:g,:units,:value],[String,String,Int,String,String,Float64]) ] # Read share info. shr = Dict() shr[:cfs] = read_file(joinpath("data", "output", "cfs_state.csv")) shr[:gsp] = read_file(joinpath("data", "output", "gsp_state.csv")) shr[:pce] = read_file(joinpath("data", "output", "pce.csv")) shr[:sgf] = read_file(joinpath("data", "output", "sgf.csv")) shr[:utd] = read_file(joinpath("data", "output", "utd.csv")) [global shr[k] = edit_with(shr[k], x[k]) for k in keys(shr) if k in keys(x)] function filter_with(df::DataFrame, set::Dict) cols = find_oftype(df, Not(AbstractFloat)) cols_sets = intersect(cols, collect(keys(set))); vals_sets = [set[k] for k in cols_sets] list_sets = NamedTuple{Tuple(cols_sets,)}(vals_sets,) df = fill_zero(list_sets, df); return df end # # ****************************************************************************************** # """ # ## PCE Shares # """ # shr[:pce][!,:share] .= shr[:pce][:,:value] ./ sum_over(shr[:pce], :r; keepkeys = true) # # PCE Share. Regional shares of final consumption # #! pce_map(r,g,yr) = sum(map(g,pg), pce_raw_units(yr,r,pg,"millions of us dollars (USD)")); # #! pce_shr(yr,r,g) = pce_map(r,g,yr) / sum(r.local, pce_map(r,g,yr)); # # ****************************************************************************************** # # # Share of total trade by region. # # #! usatrd_(yr,r,s,t) = sum(map(n,s), usatrd(r,n,yr,t)); # # #! usatrd_shr(yr,r,s,t)$(NOT notinc(s) and sum(r.local, usatrd_(yr,r,s,t))) # # #! = usatrd_(yr,r,s,t) / sum(r.local, usatrd_(yr,r,s,t)); # # #! usatrd_shr(yr,r,s,t)$(NOT notinc(s) AND NOT sum(r.local, usatrd_(yr,r,s,t))) # # #! = sum(yr.local, usatrd_(yr,r,s,t)) / sum((r.local,yr.local), usatrd_(yr,r,s,t)); # # shr[:utd] = fill_zero(sum_over(shr[:utd], :n; values_only = false)) # # shr[:utd][!,:share] .= shr[:utd][:,:value] ./ sum_over(shr[:utd], :r; keepkeys = true) # # shr[:utd][isnan.(shr[:utd][:,:share]),:share] .= (sum_over(shr[:utd], :yr; keepkeys = true) ./ # # sum_over(shr[:utd], [:yr,:r]; keepkeys = true))[isnan.(shr[:utd][:,:share])] # # # Sectors not included in USA Trade Data. # # #! notinc(s) = yes$(NOT sum(n, map(n,s))); # # shr[:notinc] = DataFrame(s = setdiff(set[:i], shr[:utd][:,:s])) # # """ # # ## GSP Shares # # """ # # df = fill_zero(copy(shr[:sgf])) # # Labor share of value added from national dataset # #! PARAMETER lshr_0(yr,s) "Labor share of value added from national dataset"; # #! lshr_0(yr,s)$(va_0(yr,'compen',s) + va_0(yr,'surplus',s)) = # #! va_0(yr,'compen',s) / (va_0(yr,'compen',s) + va_0(yr,'surplus',s)); # # !!!! I would move to partitionbea.jl # io[:va0] = edit_with(io[:va0], Rename(:j,:s)) # io[:lshr0] = io[:va0] |> @filter(_.va == set[:va][1]) |> DataFrame # io[:lshr0] = edit_with(io[:lshr0], Drop(:va, "all", "==")) # io[:lshr0][!,:value] = io[:va0][io[:va0][:,:va] .== "compen",:value] ./ # (io[:va0][io[:va0][:,:va] .== "compen",:value] + io[:va0][io[:va0][:,:va] .== "surplus",:value]) # # Calculated gross state product. # shr[:gsp] = fill_zero(sum_over(shr[:gsp], :si; values_only = false)) # shr[:gsp][!,:calc] .= shr[:gsp][:,:value] # shr[:gsp][shr[:gsp][:,:gdpcat] .== "gdp",:calc] .= # sum_over(shr[:gsp][findall(in(["cmp","gos","taxsbd"]), shr[:gsp][:,:gdpcat]),:], :gdpcat) # shr[:gsp][!,:diff] = shr[:gsp][:,:calc] - shr[:gsp][:,:value] # #! region_shr(yr,r,s)$(sum(r.local, gsp0(yr,r,s,'Reported'))) = # #! gsp0(yr,r,s,'Reported') / sum(r.local, gsp0(yr,r,s,'Reported')); # #! region_shr(yr,r,'use')$sum((r.local,s), region_shr(yr,r,s)) = # #! sum(s, region_shr(yr,r,s)) / sum((r.local,s), region_shr(yr,r,s)); # #! region_shr(yr,r,'oth')$sum((r.local,s), region_shr(yr,r,s)) = # #! sum(s, region_shr(yr,r,s)) / sum((r.local,s), region_shr(yr,r,s)); # """ # Regional share of value added. # """ # shr[:region] = shr[:gsp][shr[:gsp][:,:gdpcat] .== "gdp", [:yr,:r,:s,:value]] # shr[:region][!,:share] .= shr[:region][:,:value] ./ sum_over(shr[:region], :r; keepkeys = true) # # !!!! Not matching # for SECT in ["use", "oth"] # df_temp = fill_zero((yr = set[:yr], r = set[:r], s = SECT)) # df_temp[!,:share] .= sum_over(shr[:region], :s) ./ # sum_over(sum_over(shr[:region], :r; keepkeys = true, values_only = false), :s) # global shr[:region] = [shr[:region]; df_temp] # end # # ****************************************************************************************** # # # # CFS # # # df_cfs = copy(shr[:cfs]) # # # shr[:cfs] = sort(edit_with(shr[:cfs], x[:cfs])) # # # # Local supply-demand. Trade that remains within the same region. # # # #! PARAMETER d0(r,g) "Local supply-demand (CFS)"; # # # #! d0_(r,n,sg) = cfs2012_units(r,r,n,sg,"millions of us dollars (USD)"); # # # #! d0(r,g) = sum(map(sg,g), sum(n, d0_(r,n,sg))); # # # shr[:d0] = shr[:cfs][shr[:cfs][:,:orig_state] .== shr[:cfs][:,:dest_state],:] # # # shr[:d0] = edit_with(shr[:d0], Rename(:orig_state,:r))[:,[:r,:n,:g,:units,:value]] # # # shr[:d0] = sum_over(shr[:d0], :n; values_only = false) # # # # Interstate trade (CFS) # # # #! PARAMETER mrt0(r,r,g) "Interstate trade (CFS)"; # # # #! mrt0_(r,rr,n,sg)$(NOT SAMEAS(r,rr)) = cfs2012_units(r,rr,n,sg,"millions of us dollars (USD)"); # # # #! mrt0(r,rr,g) = sum(map(sg,g), sum(n, mrt0_(r,rr,n,sg))); # # # shr[:mrt0] = shr[:cfs][shr[:cfs][:,:orig_state] .!= shr[:cfs][:,:dest_state],:] # # # shr[:mrt0] = sum_over(shr[:mrt0], :n; values_only = false) # # # # National exports (CFS) # # # #! PARAMETER xn0(r,g) "National exports (CFS)"; # # # #! xn0(r,g) = sum(rr, mrt0(r,rr,g)); # # # shr[:x0] = sum_over(shr[:mrt0], :dest_state; values_only = false) # # # shr[:x0] = edit_with(shr[:x0], Rename(:orig_state, :r)) # # # # National demand (CFS) # # # # PARAMETER mn0(r,g) "National demand (CFS)"; # # # # mn0(r,g) = sum(rr, mrt0(rr,r,g)); # # # shr[:mn0] = sum_over(shr[:mrt0], :orig_state; values_only = false) # # # shr[:mn0] = edit_with(shr[:mn0], Rename(:dest_state, :r)) # # # # Regional purchase coefficient # # # # PARAMETER rpc(*,g) "Regional purchase coefficient"; # # # # rpc(r,g)$(d0(r,g) + mn0(r,g)) = d0(r,g) / (d0(r,g) + mn0(r,g)); # # # shr[:mn0], shr[:d0] = fill_zero(shr[:mn0], shr[:d0]); # # # shr[:rpc] = shr[:d0] # # # shr[:rpc][!,:value] .= shr[:d0][:,:value] ./ (shr[:mn0][:,:value] + shr[:d0][:,:value]) # # # UTI = 0.9 # # # shr[:rpc] = [shr[:rpc]; # # # DataFrame(permute(( # # # r = set[:r], g = :uti, units = "billions of us dollard (USD)", value = UTI)))] # # # # # # ii_zero = shr[:mn0] + shr[:d0] .== 0.0 # # # # # # df = copy(shr[:cfs]) # # # # # # first(df,3)
[ 3500, 44189, 198, 3500, 6060, 35439, 198, 3500, 4216, 320, 863, 25876, 198, 3500, 575, 2390, 43, 198, 3500, 43301, 198, 198, 3500, 12419, 72, 7206, 198, 198, 2, 41906, 17174, 8412, 4557, 1174, 198, 2, 220, 220, 20832, 9878, 52, 1677, 23051, 16289, 30076, 15731, 35342, 5390, 5870, 25171, 13, 198, 2, 41906, 17174, 8412, 4557, 1174, 198, 88, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7959, 2430, 11249, 5532, 2430, 9122, 62, 20077, 13, 88, 4029, 4943, 1776, 198, 65, 2290, 268, 1258, 796, 360, 713, 7, 74, 5218, 3297, 7, 961, 62, 7753, 7, 22179, 6978, 7, 88, 14692, 11649, 15235, 8973, 986, 11, 4155, 18747, 7, 85, 14692, 3672, 8973, 26513, 22305, 198, 220, 220, 220, 329, 357, 74, 11, 85, 8, 287, 331, 14692, 11649, 20560, 8973, 8, 198, 65, 2290, 268, 1258, 796, 360, 713, 7, 13940, 23650, 7, 74, 8, 5218, 4370, 62, 4480, 7, 85, 11, 7152, 480, 12195, 14933, 7, 85, 828, 38357, 12195, 88, 14692, 11649, 20560, 1, 7131, 74, 7131, 1, 4033, 8973, 22305, 198, 220, 220, 220, 329, 357, 74, 11, 85, 8, 287, 48208, 268, 1258, 8, 198, 198, 2, 41906, 17174, 8412, 4557, 1174, 198, 2, 220, 220, 20832, 25823, 50, 5357, 12419, 72, 7206, 19549, 6489, 56, 14, 19108, 42865, 13, 198, 2, 41906, 17174, 8412, 4557, 1174, 198, 88, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7959, 2430, 11249, 5532, 2430, 2617, 4868, 13, 88, 4029, 4943, 1776, 198, 2617, 796, 360, 713, 7, 13940, 23650, 7, 74, 8, 5218, 3297, 7, 961, 62, 7753, 7, 22179, 6978, 7, 88, 14692, 7248, 15235, 8973, 986, 11, 4155, 18747, 7, 85, 26513, 22305, 58, 45299, 16, 60, 198, 220, 220, 220, 329, 357, 74, 11, 85, 8, 287, 331, 14692, 7248, 20560, 8973, 8, 198, 198, 2, 2896, 500, 31671, 284, 1620, 319, 1123, 5128, 6060, 19778, 13, 198, 87, 796, 360, 713, 3419, 198, 87, 58, 25, 70, 2777, 60, 796, 685, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 19692, 11152, 2430, 70, 2777, 13, 40664, 12340, 685, 25, 70, 2777, 62, 8189, 4357, 685, 25, 7972, 66, 62, 8189, 4357, 685, 25, 13396, 4357, 685, 25, 82, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 2417, 13, 40664, 12340, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 81, 2430, 5219, 13, 40664, 12340, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 14258, 12195, 58, 25, 2417, 11, 25, 81, 11, 25, 82, 4357, 4814, 11, 366, 855, 15341, 198, 220, 220, 220, 8284, 26933, 25, 2417, 11, 25, 81, 11, 25, 21287, 79, 9246, 11, 25, 82, 11, 25, 13396, 11, 25, 8367, 4357, 685, 5317, 11, 10903, 11, 10903, 11, 10903, 11, 2558, 11, 48436, 2414, 12962, 198, 11208, 198, 87, 58, 25, 79, 344, 60, 796, 685, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 19692, 11152, 2430, 79, 344, 13, 40664, 12340, 685, 25, 6024, 4357, 685, 25, 70, 4357, 685, 25, 6024, 4357, 685, 25, 70, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 2417, 13, 40664, 12340, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 81, 2430, 5219, 13, 40664, 12340, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 14258, 12195, 58, 25, 2417, 11, 25, 81, 11, 25, 70, 4357, 4814, 11, 366, 855, 15341, 198, 220, 220, 220, 8284, 26933, 25, 2417, 11, 25, 81, 11, 25, 70, 11, 25, 8367, 4357, 685, 5317, 11, 10903, 11, 10903, 11, 48436, 2414, 12962, 198, 11208, 198, 87, 58, 25, 315, 67, 60, 796, 685, 198, 220, 220, 220, 3060, 7, 25, 20077, 11, 657, 13, 15, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 19692, 11152, 2430, 2616, 873, 13, 40664, 12340, 685, 25, 2616, 873, 62, 8189, 4357, 685, 25, 7972, 66, 62, 8189, 4357, 685, 25, 77, 4357, 685, 25, 82, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 2417, 13, 40664, 12340, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 685, 25, 2417, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 492, 2430, 66, 2850, 1039, 2430, 81, 2430, 5219, 13, 40664, 12340, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 685, 25, 81, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 14258, 12195, 58, 25, 2417, 11, 25, 81, 4357, 4814, 11, 366, 855, 15341, 198, 220, 220, 220, 8284, 26933, 25, 2417, 11, 25, 81, 11, 25, 82, 11, 25, 83, 11, 25, 8367, 11, 25, 77, 4357, 685, 5317, 11, 10903, 11, 10903, 11, 10903, 11, 48436, 2414, 11, 2558, 12962, 198, 11208, 198, 87, 58, 25, 66, 9501, 60, 796, 685, 198, 220, 220, 220, 9347, 7, 22179, 6978, 7203, 19692, 11152, 2430, 82, 310, 70, 13, 40664, 12340, 685, 25, 82, 310, 70, 62, 8189, 4357, 685, 25, 7972, 66, 62, 8189, 4357, 685, 25, 45213, 4357, 685, 25, 70, 4357, 1058, 9464, 1776, 198, 220, 220, 220, 14258, 7, 25, 70, 11, 4814, 11, 366, 855, 4943, 198, 220, 220, 220, 1303, 8284, 26933, 25, 11612, 62, 5219, 11, 25, 16520, 62, 5219, 11, 25, 77, 11, 25, 70, 11, 25, 41667, 11, 25, 8367, 38430, 10100, 11, 10100, 11, 5317, 11, 10100, 11, 10100, 11, 43879, 2414, 12962, 198, 60, 198, 198, 2, 4149, 2648, 7508, 13, 198, 36007, 796, 360, 713, 3419, 198, 36007, 58, 25, 66, 9501, 60, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7890, 1600, 366, 22915, 1600, 366, 66, 9501, 62, 5219, 13, 40664, 48774, 198, 36007, 58, 25, 70, 2777, 60, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7890, 1600, 366, 22915, 1600, 366, 70, 2777, 62, 5219, 13, 40664, 48774, 198, 36007, 58, 25, 79, 344, 60, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7890, 1600, 366, 22915, 1600, 366, 79, 344, 13, 40664, 48774, 198, 36007, 58, 25, 45213, 69, 60, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7890, 1600, 366, 22915, 1600, 366, 45213, 69, 13, 40664, 48774, 198, 36007, 58, 25, 315, 67, 60, 796, 1100, 62, 7753, 7, 22179, 6978, 7203, 7890, 1600, 366, 22915, 1600, 366, 315, 67, 13, 40664, 48774, 198, 198, 58, 20541, 10157, 58, 74, 60, 796, 4370, 62, 4480, 7, 36007, 58, 74, 4357, 2124, 58, 74, 12962, 329, 479, 287, 8251, 7, 36007, 8, 611, 479, 287, 8251, 7, 87, 15437, 628, 198, 8818, 8106, 62, 4480, 7, 7568, 3712, 6601, 19778, 11, 900, 3712, 35, 713, 8, 198, 220, 220, 220, 951, 82, 796, 1064, 62, 11205, 2981, 7, 7568, 11, 1892, 7, 23839, 43879, 4008, 628, 220, 220, 220, 951, 82, 62, 28709, 796, 36177, 7, 4033, 82, 11, 2824, 7, 13083, 7, 2617, 4008, 1776, 198, 220, 220, 220, 410, 874, 62, 28709, 796, 685, 2617, 58, 74, 60, 329, 479, 287, 951, 82, 62, 28709, 60, 198, 220, 220, 220, 1351, 62, 28709, 796, 34441, 51, 29291, 90, 51, 29291, 7, 4033, 82, 62, 28709, 35751, 92, 7, 12786, 62, 28709, 35751, 628, 220, 220, 220, 47764, 796, 6070, 62, 22570, 7, 4868, 62, 28709, 11, 47764, 1776, 198, 220, 220, 220, 1441, 47764, 198, 437, 628, 198, 2, 1303, 41906, 17174, 8412, 4557, 1174, 198, 2, 37227, 198, 2, 22492, 4217, 36, 23997, 198, 2, 37227, 198, 2, 10157, 58, 25, 79, 344, 7131, 28265, 25, 20077, 60, 764, 28, 10157, 58, 25, 79, 344, 7131, 45299, 25, 8367, 60, 24457, 2160, 62, 2502, 7, 36007, 58, 25, 79, 344, 4357, 1058, 81, 26, 1394, 13083, 796, 2081, 8, 198, 2, 1303, 4217, 36, 8734, 13, 15994, 7303, 286, 2457, 7327, 198, 2, 1303, 0, 220, 279, 344, 62, 8899, 7, 81, 11, 70, 11, 2417, 8, 796, 2160, 7, 8899, 7, 70, 11, 6024, 828, 279, 344, 62, 1831, 62, 41667, 7, 2417, 11, 81, 11, 6024, 553, 17805, 507, 286, 514, 5054, 357, 29072, 8, 4943, 1776, 198, 2, 1303, 0, 220, 279, 344, 62, 36007, 7, 2417, 11, 81, 11, 70, 8, 796, 279, 344, 62, 8899, 7, 81, 11, 70, 11, 2417, 8, 1220, 2160, 7, 81, 13, 12001, 11, 279, 344, 62, 8899, 7, 81, 11, 70, 11, 2417, 18125, 198, 198, 2, 1303, 41906, 17174, 8412, 4557, 1174, 198, 2, 1303, 1303, 8734, 286, 2472, 3292, 416, 3814, 13, 198, 2, 1303, 1303, 0, 220, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 8, 796, 2160, 7, 8899, 7, 77, 11, 82, 828, 514, 265, 4372, 7, 81, 11, 77, 11, 2417, 11, 83, 18125, 198, 2, 1303, 1303, 0, 220, 514, 265, 4372, 62, 36007, 7, 2417, 11, 81, 11, 82, 11, 83, 8, 3, 7, 11929, 407, 1939, 7, 82, 8, 290, 2160, 7, 81, 13, 12001, 11, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 22305, 198, 2, 1303, 1303, 0, 220, 220, 220, 220, 220, 796, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 8, 1220, 2160, 7, 81, 13, 12001, 11, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 18125, 198, 2, 1303, 1303, 0, 220, 514, 265, 4372, 62, 36007, 7, 2417, 11, 81, 11, 82, 11, 83, 8, 3, 7, 11929, 407, 1939, 7, 82, 8, 5357, 5626, 2160, 7, 81, 13, 12001, 11, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 22305, 198, 2, 1303, 1303, 0, 220, 220, 220, 220, 220, 796, 2160, 7, 2417, 13, 12001, 11, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 4008, 1220, 2160, 19510, 81, 13, 12001, 11, 2417, 13, 12001, 828, 514, 265, 4372, 41052, 2417, 11, 81, 11, 82, 11, 83, 18125, 198, 2, 1303, 10157, 58, 25, 315, 67, 60, 796, 6070, 62, 22570, 7, 16345, 62, 2502, 7, 36007, 58, 25, 315, 67, 4357, 1058, 77, 26, 3815, 62, 8807, 796, 3991, 4008, 198, 198, 2, 1303, 10157, 58, 25, 315, 67, 7131, 28265, 25, 20077, 60, 764, 28, 10157, 58, 25, 315, 67, 7131, 45299, 25, 8367, 60, 24457, 2160, 62, 2502, 7, 36007, 58, 25, 315, 67, 4357, 1058, 81, 26, 1394, 13083, 796, 2081, 8, 198, 2, 1303, 10157, 58, 25, 315, 67, 7131, 271, 12647, 12195, 36007, 58, 25, 315, 67, 7131, 45299, 25, 20077, 46570, 25, 20077, 60, 764, 28, 357, 16345, 62, 2502, 7, 36007, 58, 25, 315, 67, 4357, 1058, 2417, 26, 1394, 13083, 796, 2081, 8, 24457, 198, 2, 1303, 220, 220, 220, 220, 2160, 62, 2502, 7, 36007, 58, 25, 315, 67, 4357, 685, 25, 2417, 11, 25, 81, 11208, 1394, 13083, 796, 2081, 4008, 58, 271, 12647, 12195, 36007, 58, 25, 315, 67, 7131, 45299, 25, 20077, 12962, 60, 198, 198, 2, 1303, 1303, 24062, 669, 407, 3017, 287, 4916, 9601, 6060, 13, 198, 2, 1303, 1303, 0, 220, 407, 1939, 7, 82, 8, 796, 3763, 3, 7, 11929, 2160, 7, 77, 11, 3975, 7, 77, 11, 82, 4008, 1776, 198, 2, 1303, 10157, 58, 25, 1662, 1939, 60, 796, 6060, 19778, 7, 82, 796, 900, 26069, 7, 2617, 58, 25, 72, 4357, 10157, 58, 25, 315, 67, 7131, 45299, 25, 82, 60, 4008, 198, 198, 2, 1303, 37227, 198, 2, 1303, 22492, 402, 4303, 23997, 198, 2, 1303, 37227, 198, 2, 1303, 47764, 796, 6070, 62, 22570, 7, 30073, 7, 36007, 58, 25, 45213, 69, 60, 4008, 198, 198, 2, 1303, 7882, 2648, 286, 1988, 2087, 422, 2260, 27039, 198, 2, 1303, 0, 220, 29463, 2390, 2767, 1137, 300, 36007, 62, 15, 7, 2417, 11, 82, 8, 366, 42230, 2648, 286, 1988, 2087, 422, 2260, 27039, 8172, 198, 2, 1303, 0, 220, 300, 36007, 62, 15, 7, 2417, 11, 82, 8, 3, 7, 6862, 62, 15, 7, 2417, 4032, 785, 3617, 3256, 82, 8, 1343, 46935, 62, 15, 7, 2417, 4032, 11793, 9541, 3256, 82, 4008, 796, 198, 2, 1303, 0, 220, 220, 220, 220, 220, 46935, 62, 15, 7, 2417, 4032, 785, 3617, 3256, 82, 8, 1220, 357, 6862, 62, 15, 7, 2417, 4032, 785, 3617, 3256, 82, 8, 1343, 46935, 62, 15, 7, 2417, 4032, 11793, 9541, 3256, 82, 18125, 198, 2, 1303, 220, 13896, 314, 561, 1445, 284, 18398, 1350, 64, 13, 20362, 198, 2, 33245, 58, 25, 6862, 15, 60, 796, 4370, 62, 4480, 7, 952, 58, 25, 6862, 15, 4357, 7152, 480, 7, 25, 73, 11, 25, 82, 4008, 198, 2, 33245, 58, 25, 75, 36007, 15, 60, 796, 33245, 58, 25, 6862, 15, 60, 930, 29, 2488, 24455, 28264, 13, 6862, 6624, 900, 58, 25, 6862, 7131, 16, 12962, 220, 930, 29, 6060, 19778, 198, 2, 33245, 58, 25, 75, 36007, 15, 60, 796, 4370, 62, 4480, 7, 952, 58, 25, 75, 36007, 15, 4357, 14258, 7, 25, 6862, 11, 366, 439, 1600, 366, 855, 48774, 198, 198, 2, 33245, 58, 25, 75, 36007, 15, 7131, 28265, 25, 8367, 60, 796, 33245, 58, 25, 6862, 15, 7131, 952, 58, 25, 6862, 15, 7131, 45299, 25, 6862, 60, 764, 855, 366, 785, 3617, 1600, 25, 8367, 60, 24457, 198, 2, 220, 220, 220, 220, 357, 952, 58, 25, 6862, 15, 7131, 952, 58, 25, 6862, 15, 7131, 45299, 25, 6862, 60, 764, 855, 366, 785, 3617, 1600, 25, 8367, 60, 1343, 33245, 58, 25, 6862, 15, 7131, 952, 58, 25, 6862, 15, 7131, 45299, 25, 6862, 60, 764, 855, 366, 11793, 9541, 1600, 25, 8367, 12962, 198, 198, 2, 1303, 27131, 515, 10319, 1181, 1720, 13, 198, 2, 10157, 58, 25, 70, 2777, 60, 796, 6070, 62, 22570, 7, 16345, 62, 2502, 7, 36007, 58, 25, 70, 2777, 4357, 1058, 13396, 26, 3815, 62, 8807, 796, 3991, 4008, 198, 2, 10157, 58, 25, 70, 2777, 7131, 28265, 25, 9948, 66, 60, 764, 28, 10157, 58, 25, 70, 2777, 7131, 45299, 25, 8367, 60, 198, 198, 2, 10157, 58, 25, 70, 2777, 7131, 36007, 58, 25, 70, 2777, 7131, 45299, 25, 21287, 79, 9246, 60, 764, 855, 366, 21287, 79, 1600, 25, 9948, 66, 60, 764, 28, 198, 2, 220, 220, 220, 220, 2160, 62, 2502, 7, 36007, 58, 25, 70, 2777, 7131, 19796, 439, 7, 259, 7, 14692, 48991, 2430, 70, 418, 2430, 19290, 82, 17457, 8973, 828, 10157, 58, 25, 70, 2777, 7131, 45299, 25, 21287, 79, 9246, 46570, 25, 4357, 1058, 21287, 79, 9246, 8, 198, 2, 10157, 58, 25, 70, 2777, 7131, 28265, 25, 26069, 60, 796, 10157, 58, 25, 70, 2777, 7131, 45299, 25, 9948, 66, 60, 532, 10157, 58, 25, 70, 2777, 7131, 45299, 25, 8367, 60, 198, 198, 2, 1303, 0, 220, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 8, 3, 7, 16345, 7, 81, 13, 12001, 11, 308, 2777, 15, 7, 2417, 11, 81, 11, 82, 4032, 6207, 9741, 6, 22305, 796, 198, 2, 1303, 0, 220, 220, 220, 220, 220, 308, 2777, 15, 7, 2417, 11, 81, 11, 82, 4032, 6207, 9741, 11537, 1220, 2160, 7, 81, 13, 12001, 11, 220, 308, 2777, 15, 7, 2417, 11, 81, 11, 82, 4032, 6207, 9741, 11537, 1776, 198, 2, 1303, 0, 220, 3814, 62, 36007, 7, 2417, 11, 81, 4032, 1904, 11537, 3, 16345, 19510, 81, 13, 12001, 11, 82, 828, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 4008, 796, 198, 2, 1303, 0, 220, 220, 220, 220, 220, 2160, 7, 82, 11, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 4008, 1220, 2160, 19510, 81, 13, 12001, 11, 82, 828, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 18125, 198, 2, 1303, 0, 220, 3814, 62, 36007, 7, 2417, 11, 81, 4032, 849, 11537, 3, 16345, 19510, 81, 13, 12001, 11, 82, 828, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 4008, 796, 198, 2, 1303, 0, 220, 220, 220, 220, 220, 2160, 7, 82, 11, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 4008, 1220, 2160, 19510, 81, 13, 12001, 11, 82, 828, 3814, 62, 36007, 7, 2417, 11, 81, 11, 82, 18125, 198, 198, 2, 37227, 198, 2, 15994, 2648, 286, 1988, 2087, 13, 198, 2, 37227, 198, 2, 10157, 58, 25, 36996, 60, 796, 10157, 58, 25, 70, 2777, 7131, 36007, 58, 25, 70, 2777, 7131, 45299, 25, 21287, 79, 9246, 60, 764, 855, 366, 21287, 79, 1600, 685, 25, 2417, 11, 25, 81, 11, 25, 82, 11, 25, 8367, 11907, 198, 2, 10157, 58, 25, 36996, 7131, 28265, 25, 20077, 60, 764, 28, 10157, 58, 25, 36996, 7131, 45299, 25, 8367, 60, 24457, 2160, 62, 2502, 7, 36007, 58, 25, 36996, 4357, 1058, 81, 26, 1394, 13083, 796, 2081, 8, 198, 198, 2, 1303, 220, 13896, 1892, 12336, 198, 2, 329, 311, 9782, 287, 14631, 1904, 1600, 366, 849, 8973, 198, 2, 220, 220, 220, 220, 47764, 62, 29510, 796, 6070, 62, 22570, 19510, 2417, 796, 900, 58, 25, 2417, 4357, 374, 796, 900, 58, 25, 81, 4357, 264, 796, 311, 9782, 4008, 198, 2, 220, 220, 220, 220, 47764, 62, 29510, 58, 28265, 25, 20077, 60, 764, 28, 2160, 62, 2502, 7, 36007, 58, 25, 36996, 4357, 1058, 82, 8, 24457, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2160, 62, 2502, 7, 16345, 62, 2502, 7, 36007, 58, 25, 36996, 4357, 1058, 81, 26, 1394, 13083, 796, 2081, 11, 3815, 62, 8807, 796, 3991, 828, 1058, 82, 8, 198, 220, 220, 220, 220, 198, 2, 220, 220, 220, 220, 3298, 10157, 58, 25, 36996, 60, 796, 685, 36007, 58, 25, 36996, 11208, 47764, 62, 29510, 60, 198, 2, 886, 198, 198, 2, 1303, 41906, 17174, 8412, 4557, 1174, 198, 2, 1303, 1303, 1303, 327, 10652, 198, 2, 1303, 1303, 47764, 62, 66, 9501, 796, 4866, 7, 36007, 58, 25, 66, 9501, 12962, 198, 2, 1303, 1303, 10157, 58, 25, 66, 9501, 60, 796, 3297, 7, 19312, 62, 4480, 7, 36007, 58, 25, 66, 9501, 4357, 2124, 58, 25, 66, 9501, 60, 4008, 198, 198, 2, 1303, 1303, 1303, 10714, 5127, 12, 28550, 13, 9601, 326, 3793, 1626, 262, 976, 3814, 13, 198, 2, 1303, 1303, 1303, 0, 220, 29463, 2390, 2767, 1137, 288, 15, 7, 81, 11, 70, 8, 366, 14565, 5127, 12, 28550, 357, 34, 10652, 8, 8172, 198, 2, 1303, 1303, 1303, 0, 220, 288, 15, 41052, 81, 11, 77, 11, 45213, 8, 796, 269, 9501, 6999, 62, 41667, 7, 81, 11, 81, 11, 77, 11, 45213, 553, 17805, 507, 286, 514, 5054, 357, 29072, 8, 15341, 198, 2, 1303, 1303, 1303, 0, 220, 288, 15, 7, 81, 11, 70, 8, 796, 2160, 7, 8899, 7, 45213, 11, 70, 828, 2160, 7, 77, 11, 288, 15, 41052, 81, 11, 77, 11, 45213, 4008, 1776, 198, 2, 1303, 1303, 10157, 58, 25, 67, 15, 60, 796, 10157, 58, 25, 66, 9501, 7131, 36007, 58, 25, 66, 9501, 7131, 45299, 25, 11612, 62, 5219, 60, 764, 855, 10157, 58, 25, 66, 9501, 7131, 45299, 25, 16520, 62, 5219, 4357, 47715, 198, 2, 1303, 1303, 10157, 58, 25, 67, 15, 60, 796, 4370, 62, 4480, 7, 36007, 58, 25, 67, 15, 4357, 7152, 480, 7, 25, 11612, 62, 5219, 11, 25, 81, 4008, 58, 25, 17414, 25, 81, 11, 25, 77, 11, 25, 70, 11, 25, 41667, 11, 25, 8367, 11907, 198, 2, 1303, 1303, 10157, 58, 25, 67, 15, 60, 796, 2160, 62, 2502, 7, 36007, 58, 25, 67, 15, 4357, 1058, 77, 26, 3815, 62, 8807, 796, 3991, 8, 198, 198, 2, 1303, 1303, 1303, 30739, 3292, 357, 34, 10652, 8, 198, 2, 1303, 1303, 1303, 0, 220, 29463, 2390, 2767, 1137, 285, 17034, 15, 7, 81, 11, 81, 11, 70, 8, 366, 9492, 5219, 3292, 357, 34, 10652, 8, 8172, 198, 2, 1303, 1303, 1303, 0, 220, 285, 17034, 15, 41052, 81, 11, 21062, 11, 77, 11, 45213, 8, 3, 7, 11929, 311, 10067, 1921, 7, 81, 11, 21062, 4008, 796, 269, 9501, 6999, 62, 41667, 7, 81, 11, 21062, 11, 77, 11, 45213, 553, 17805, 507, 286, 514, 5054, 357, 29072, 8, 15341, 198, 2, 1303, 1303, 1303, 0, 220, 285, 17034, 15, 7, 81, 11, 21062, 11, 70, 8, 796, 2160, 7, 8899, 7, 45213, 11, 70, 828, 2160, 7, 77, 11, 285, 17034, 15, 41052, 81, 11, 21062, 11, 77, 11, 45213, 4008, 1776, 198, 2, 1303, 1303, 10157, 58, 25, 76, 17034, 15, 60, 796, 10157, 58, 25, 66, 9501, 7131, 36007, 58, 25, 66, 9501, 7131, 45299, 25, 11612, 62, 5219, 60, 764, 0, 28, 10157, 58, 25, 66, 9501, 7131, 45299, 25, 16520, 62, 5219, 4357, 47715, 198, 2, 1303, 1303, 10157, 58, 25, 76, 17034, 15, 60, 796, 2160, 62, 2502, 7, 36007, 58, 25, 76, 17034, 15, 4357, 1058, 77, 26, 3815, 62, 8807, 796, 3991, 8, 198, 198, 2, 1303, 1303, 1303, 2351, 15319, 357, 34, 10652, 8, 198, 2, 1303, 1303, 1303, 0, 220, 29463, 2390, 2767, 1137, 2124, 77, 15, 7, 81, 11, 70, 8, 366, 16186, 15319, 357, 34, 10652, 8, 8172, 198, 2, 1303, 1303, 1303, 0, 220, 2124, 77, 15, 7, 81, 11, 70, 8, 796, 2160, 7, 21062, 11, 285, 17034, 15, 7, 81, 11, 21062, 11, 70, 18125, 198, 2, 1303, 1303, 10157, 58, 25, 87, 15, 60, 796, 2160, 62, 2502, 7, 36007, 58, 25, 76, 17034, 15, 4357, 1058, 16520, 62, 5219, 26, 3815, 62, 8807, 796, 3991, 8, 198, 2, 1303, 1303, 10157, 58, 25, 87, 15, 60, 796, 4370, 62, 4480, 7, 36007, 58, 25, 87, 15, 4357, 7152, 480, 7, 25, 11612, 62, 5219, 11, 1058, 81, 4008, 198, 198, 2, 1303, 1303, 1303, 2351, 3512, 357, 34, 10652, 8, 198, 2, 1303, 1303, 1303, 220, 220, 29463, 2390, 2767, 1137, 285, 77, 15, 7, 81, 11, 70, 8, 366, 16186, 3512, 357, 34, 10652, 8, 8172, 198, 2, 1303, 1303, 1303, 220, 220, 285, 77, 15, 7, 81, 11, 70, 8, 796, 2160, 7, 21062, 11, 285, 17034, 15, 7, 21062, 11, 81, 11, 70, 18125, 198, 2, 1303, 1303, 10157, 58, 25, 10295, 15, 60, 796, 2160, 62, 2502, 7, 36007, 58, 25, 76, 17034, 15, 4357, 1058, 11612, 62, 5219, 26, 3815, 62, 8807, 796, 3991, 8, 198, 2, 1303, 1303, 10157, 58, 25, 10295, 15, 60, 796, 4370, 62, 4480, 7, 36007, 58, 25, 10295, 15, 4357, 7152, 480, 7, 25, 16520, 62, 5219, 11, 1058, 81, 4008, 198, 198, 2, 1303, 1303, 1303, 15994, 5001, 35381, 198, 2, 1303, 1303, 1303, 220, 220, 29463, 2390, 2767, 1137, 374, 14751, 7, 25666, 70, 8, 366, 8081, 1538, 5001, 35381, 8172, 198, 2, 1303, 1303, 1303, 220, 220, 374, 14751, 7, 81, 11, 70, 8, 3, 7, 67, 15, 7, 81, 11, 70, 8, 1343, 285, 77, 15, 7, 81, 11, 70, 4008, 796, 288, 15, 7, 81, 11, 70, 8, 1220, 357, 67, 15, 7, 81, 11, 70, 8, 1343, 285, 77, 15, 7, 81, 11, 70, 18125, 198, 2, 1303, 1303, 10157, 58, 25, 10295, 15, 4357, 10157, 58, 25, 67, 15, 60, 796, 6070, 62, 22570, 7, 36007, 58, 25, 10295, 15, 4357, 10157, 58, 25, 67, 15, 36563, 198, 2, 1303, 1303, 10157, 58, 25, 81, 14751, 60, 796, 10157, 58, 25, 67, 15, 60, 198, 2, 1303, 1303, 10157, 58, 25, 81, 14751, 7131, 28265, 25, 8367, 60, 764, 28, 10157, 58, 25, 67, 15, 7131, 45299, 25, 8367, 60, 24457, 357, 36007, 58, 25, 10295, 15, 7131, 45299, 25, 8367, 60, 1343, 10157, 58, 25, 67, 15, 7131, 45299, 25, 8367, 12962, 628, 628, 198, 2, 1303, 1303, 19255, 40, 796, 657, 13, 24, 198, 2, 1303, 1303, 10157, 58, 25, 81, 14751, 60, 796, 685, 36007, 58, 25, 81, 14751, 11208, 198, 2, 1303, 1303, 220, 220, 220, 220, 6060, 19778, 7, 16321, 1133, 19510, 198, 2, 1303, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 374, 796, 900, 58, 25, 81, 4357, 308, 796, 1058, 47966, 11, 4991, 796, 366, 35546, 507, 286, 514, 3654, 446, 357, 29072, 42501, 1988, 796, 19255, 40, 4008, 15437, 198, 198, 2, 1303, 1303, 1303, 1303, 1303, 21065, 62, 22570, 796, 10157, 58, 25, 10295, 15, 60, 1343, 10157, 58, 25, 67, 15, 60, 764, 855, 657, 13, 15, 198, 198, 2, 1303, 1303, 1303, 1303, 1303, 47764, 796, 4866, 7, 36007, 58, 25, 66, 9501, 12962, 198, 198, 2, 1303, 1303, 1303, 1303, 1303, 717, 7, 7568, 11, 18, 8 ]
2.186837
4,148
# sample library (unusable) that shows you how to code up your own Aetherlang libraries in Julia. # NOTE that for your library to be installed it should be _SAMPLE_namespace_modifyin the "Libs" folder in a folder named exactly as your library and have a .jl file named exactly as your library. # NOTE that for a library to be observable from Aetherlang, its name should be in all-lowercase style. this library's name is uppercase on purpose. const TYPE = "_SAMPLE.type" # in case your library defines some types, # you need to create constant strings representing this type in Aetherlang type system. # this string is used when calling (typeof obj) # constructor for AetherlangObject of your type AetherlangObject(arg::MyType) = AetherlangObject{MyType}(arg, Ref(TYPE)) # all functions defined for Aetherlang use should have either the AE_ prefix or the specific prefix named exactly as your library (_SAMPLE_ in this case). function AE_sample_function(line::Ref{UInt}, ns::Namespace, args...)::AetherlangObject # you can specify the number of arguments if needed instead of using args... # NOTE: arguments come as AetherlangObjects. use arg.dataref unwrap data. use arg.type[] to get a string representing object's type in Aetherlang # NOTE: you are provided with mutable arguments line::Ref{UInt} and ns::Namespace but please don't change them, as it would ruin the paradigm and some features may not work properly #= CODE =# AetherlangObject() end _SAMPLE_namespace_modify = Namespace( "name_of_the_function" => AetherlangObject(AE_sample_function) )
[ 2, 6291, 5888, 357, 403, 31979, 8, 326, 2523, 345, 703, 284, 2438, 510, 534, 898, 43966, 17204, 12782, 287, 22300, 13, 198, 2, 24550, 326, 329, 534, 5888, 284, 307, 6589, 340, 815, 307, 4808, 49302, 16437, 62, 14933, 10223, 62, 4666, 1958, 259, 262, 366, 25835, 82, 1, 9483, 287, 257, 9483, 3706, 3446, 355, 534, 5888, 290, 423, 257, 764, 20362, 2393, 3706, 3446, 355, 534, 5888, 13, 198, 2, 24550, 326, 329, 257, 5888, 284, 307, 42550, 422, 43966, 17204, 11, 663, 1438, 815, 307, 287, 477, 12, 21037, 7442, 3918, 13, 428, 5888, 338, 1438, 318, 334, 39921, 589, 319, 4007, 13, 198, 198, 9979, 41876, 796, 45434, 49302, 16437, 13, 4906, 1, 1303, 287, 1339, 534, 5888, 15738, 617, 3858, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 345, 761, 284, 2251, 6937, 13042, 10200, 428, 2099, 287, 43966, 17204, 2099, 1080, 13, 198, 220, 220, 220, 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, 428, 4731, 318, 973, 618, 4585, 357, 4906, 1659, 26181, 8, 198, 198, 2, 23772, 329, 43966, 17204, 10267, 286, 534, 2099, 198, 32, 6750, 17204, 10267, 7, 853, 3712, 3666, 6030, 8, 796, 43966, 17204, 10267, 90, 3666, 6030, 92, 7, 853, 11, 6524, 7, 25216, 4008, 198, 198, 2, 477, 5499, 5447, 329, 43966, 17204, 779, 815, 423, 2035, 262, 25603, 62, 21231, 393, 262, 2176, 21231, 3706, 3446, 355, 534, 5888, 44104, 49302, 16437, 62, 287, 428, 1339, 737, 198, 8818, 25603, 62, 39873, 62, 8818, 7, 1370, 3712, 8134, 90, 52, 5317, 5512, 36545, 3712, 36690, 10223, 11, 26498, 986, 2599, 25, 32, 6750, 17204, 10267, 198, 220, 220, 220, 1303, 345, 460, 11986, 262, 1271, 286, 7159, 611, 2622, 2427, 286, 1262, 26498, 986, 198, 220, 220, 220, 1303, 24550, 25, 7159, 1282, 355, 43966, 17204, 10267, 82, 13, 779, 1822, 13, 19608, 533, 69, 7379, 2416, 1366, 13, 779, 1822, 13, 4906, 21737, 284, 651, 257, 4731, 10200, 2134, 338, 2099, 287, 43966, 17204, 198, 220, 220, 220, 1303, 24550, 25, 345, 389, 2810, 351, 4517, 540, 7159, 1627, 3712, 8134, 90, 52, 5317, 92, 290, 36545, 3712, 36690, 10223, 475, 3387, 836, 470, 1487, 606, 11, 355, 340, 561, 16866, 262, 23457, 290, 617, 3033, 743, 407, 670, 6105, 198, 220, 220, 220, 1303, 28, 198, 220, 220, 220, 42714, 198, 220, 220, 220, 796, 2, 198, 220, 220, 220, 43966, 17204, 10267, 3419, 198, 437, 198, 198, 62, 49302, 16437, 62, 14933, 10223, 62, 4666, 1958, 796, 28531, 10223, 7, 198, 220, 220, 220, 366, 3672, 62, 1659, 62, 1169, 62, 8818, 1, 5218, 43966, 17204, 10267, 7, 14242, 62, 39873, 62, 8818, 8, 198, 8, 198 ]
3.393814
485
struct {T<:Number} Monomial c::T deg::Int end
[ 7249, 1391, 51, 27, 25, 15057, 92, 2892, 49070, 198, 220, 220, 220, 269, 3712, 51, 198, 220, 220, 220, 3396, 3712, 5317, 198, 437, 198 ]
2.076923
26
using TableIOInterface using Test @testset "TableIOInterface.jl" begin fnames = ["test.csv", "test.jdf", "test.parquet", "test.arrow", "test.xlsx", "test.json", "test.zip", "test.sqlite"] @testset "File type ID" begin expected_file_types = [TableIOInterface.CSVFormat, TableIOInterface.JDFFormat, TableIOInterface.ParquetFormat, TableIOInterface.ArrowFormat, TableIOInterface.ExcelFormat, TableIOInterface.JSONFormat, TableIOInterface.ZippedFormat, TableIOInterface.SQLiteFormat] for (i, fname) ∈ enumerate(fnames) file_type = get_file_type(fname) @test file_type == expected_file_types[i]() end end @testset "Sample code generation" begin expected_sample_code = [ """df_test_csv = let import TableIO import DataFrames DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.csv")); copycols=false) end""", """df_test_jdf = let import TableIO import DataFrames DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.jdf")); copycols=false) end""", """df_test_parquet = let import TableIO import DataFrames DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.parquet")); copycols=false) end""", """df_test_arrow = let import TableIO import DataFrames DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.arrow")); copycols=false) end""", """df_test_xlsx = let import TableIO import DataFrames df_test_xlsx = DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.xlsx"), # "Sheet1", # uncomment this to specify the sheet name to be imported ); copycols=false) end""", """df_test_json = let import TableIO import DataFrames DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.json")); copycols=true) end""", """df_test_zip = let import TableIO import DataFrames df_test_zip = DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.zip"), # "filename_in_archive", # uncomment this to specify a specific file name in the archive ); copycols=false) end""", """df_test_sqlite = let import TableIO import DataFrames df_test_sqlite = DataFrames.DataFrame(TableIO.read_table(joinpath(dirname(@__FILE__), "my_notebook.assets", "test.sqlite"), "tablename", # define the table name here ); copycols=false) end""", ] for (i, fname) ∈ enumerate(fnames) sample_code = get_example_code("my_notebook.assets", fname) @test sample_code == expected_sample_code[i] #println(sample_code) end end end
[ 3500, 8655, 9399, 39317, 198, 3500, 6208, 198, 198, 31, 9288, 2617, 366, 10962, 9399, 39317, 13, 20362, 1, 2221, 628, 220, 220, 220, 277, 14933, 796, 14631, 9288, 13, 40664, 1600, 366, 9288, 13, 73, 7568, 1600, 366, 9288, 13, 1845, 21108, 1600, 366, 9288, 13, 6018, 1600, 366, 9288, 13, 87, 7278, 87, 1600, 366, 9288, 13, 17752, 1600, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 9288, 13, 13344, 1600, 366, 9288, 13, 25410, 578, 8973, 628, 220, 220, 220, 2488, 9288, 2617, 366, 8979, 2099, 4522, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2938, 62, 7753, 62, 19199, 796, 685, 10962, 9399, 39317, 13, 7902, 53, 26227, 11, 8655, 9399, 39317, 13, 37882, 5777, 579, 265, 11, 8655, 9399, 39317, 13, 10044, 21108, 26227, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8655, 9399, 39317, 13, 3163, 808, 26227, 11, 8655, 9399, 39317, 13, 3109, 5276, 26227, 11, 8655, 9399, 39317, 13, 40386, 26227, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8655, 9399, 39317, 13, 57, 3949, 26227, 11, 8655, 9399, 39317, 13, 17861, 578, 26227, 60, 628, 220, 220, 220, 220, 220, 220, 220, 329, 357, 72, 11, 277, 3672, 8, 18872, 230, 27056, 378, 7, 69, 14933, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 4906, 796, 651, 62, 7753, 62, 4906, 7, 69, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2393, 62, 4906, 6624, 2938, 62, 7753, 62, 19199, 58, 72, 60, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 9288, 2617, 366, 36674, 2438, 5270, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 2938, 62, 39873, 62, 8189, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 40664, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 40664, 4943, 1776, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 73, 7568, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 73, 7568, 4943, 1776, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 1845, 21108, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 1845, 21108, 4943, 1776, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 220, 220, 220, 220, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 6018, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 6018, 4943, 1776, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 87, 7278, 87, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 62, 9288, 62, 87, 7278, 87, 796, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 87, 7278, 87, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 366, 3347, 316, 16, 1600, 1303, 8820, 434, 428, 284, 11986, 262, 9629, 1438, 284, 307, 17392, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5619, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 17752, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 17752, 4943, 1776, 4866, 4033, 82, 28, 7942, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 13344, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 62, 9288, 62, 13344, 796, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 13344, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 366, 34345, 62, 259, 62, 17474, 1600, 1303, 8820, 434, 428, 284, 11986, 257, 2176, 2393, 1438, 287, 262, 15424, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5619, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37227, 7568, 62, 9288, 62, 25410, 578, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 8655, 9399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1330, 6060, 35439, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47764, 62, 9288, 62, 25410, 578, 796, 6060, 35439, 13, 6601, 19778, 7, 10962, 9399, 13, 961, 62, 11487, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 1820, 62, 11295, 2070, 13, 19668, 1600, 366, 9288, 13, 25410, 578, 12340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 8658, 11925, 480, 1600, 1303, 8160, 262, 3084, 1438, 994, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5619, 4866, 4033, 82, 28, 9562, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 15931, 1600, 628, 220, 220, 220, 220, 220, 220, 220, 2361, 628, 220, 220, 220, 220, 220, 220, 220, 329, 357, 72, 11, 277, 3672, 8, 18872, 230, 27056, 378, 7, 69, 14933, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6291, 62, 8189, 796, 651, 62, 20688, 62, 8189, 7203, 1820, 62, 11295, 2070, 13, 19668, 1600, 277, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 6291, 62, 8189, 6624, 2938, 62, 39873, 62, 8189, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 35235, 7, 39873, 62, 8189, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 886, 198, 198, 437, 198 ]
1.988142
1,771
using ReachabilityBenchmarks, MathematicalSystems, Reachability, Plots include(@relpath "heat_model.jl") include(@relpath "heat_specifications.jl") S = heat_model() X0, options = heat_specification() options = Dict(options) # initial value problem problem = InitialValueProblem(S, X0) # partition with 1D blocks partition = [i:i for i in 1:200] # reachability algorithms algorithm_reach = BFFPSV18(:δ => 1e-3, :vars => [133], :partition => partition) algorithm_check = BFFPSV18(:δ => 1e-3, :vars => [133], :partition => partition) # check property options[:mode] = "check" solution = solve(problem, options; op=algorithm_check) @assert solution.satisfied # compute flowpipe options[:mode] = "reach" solution = solve(problem, options; op=algorithm_reach) # project flowpipe to time and x₁₃₃ solution.options[:plot_vars] = [0, 133] solution_proj = project(solution) # plot projection plot(solution_proj) savefig("heat")
[ 3500, 25146, 1799, 44199, 14306, 11, 30535, 605, 11964, 82, 11, 25146, 1799, 11, 1345, 1747, 198, 198, 17256, 7, 31, 2411, 6978, 366, 25080, 62, 19849, 13, 20362, 4943, 198, 17256, 7, 31, 2411, 6978, 366, 25080, 62, 16684, 6637, 13, 20362, 4943, 198, 198, 50, 796, 4894, 62, 19849, 3419, 198, 55, 15, 11, 3689, 796, 4894, 62, 16684, 2649, 3419, 198, 25811, 796, 360, 713, 7, 25811, 8, 198, 198, 2, 4238, 1988, 1917, 198, 45573, 796, 20768, 11395, 40781, 7, 50, 11, 1395, 15, 8, 198, 198, 2, 18398, 351, 352, 35, 7021, 198, 3911, 653, 796, 685, 72, 25, 72, 329, 1312, 287, 352, 25, 2167, 60, 198, 198, 2, 3151, 1799, 16113, 198, 282, 42289, 62, 16250, 796, 347, 5777, 3705, 53, 1507, 7, 25, 138, 112, 5218, 352, 68, 12, 18, 11, 1058, 85, 945, 5218, 685, 16945, 4357, 1058, 3911, 653, 5218, 18398, 8, 198, 282, 42289, 62, 9122, 796, 347, 5777, 3705, 53, 1507, 7, 25, 138, 112, 5218, 352, 68, 12, 18, 11, 1058, 85, 945, 5218, 685, 16945, 4357, 1058, 3911, 653, 5218, 18398, 8, 198, 198, 2, 2198, 3119, 198, 25811, 58, 25, 14171, 60, 796, 366, 9122, 1, 198, 82, 2122, 796, 8494, 7, 45573, 11, 3689, 26, 1034, 28, 282, 42289, 62, 9122, 8, 198, 31, 30493, 4610, 13, 82, 17403, 798, 198, 198, 2, 24061, 5202, 34360, 198, 25811, 58, 25, 14171, 60, 796, 366, 16250, 1, 198, 82, 2122, 796, 8494, 7, 45573, 11, 3689, 26, 1034, 28, 282, 42289, 62, 16250, 8, 198, 198, 2, 1628, 5202, 34360, 284, 640, 290, 2124, 158, 224, 223, 158, 224, 225, 158, 224, 225, 198, 82, 2122, 13, 25811, 58, 25, 29487, 62, 85, 945, 60, 796, 685, 15, 11, 22169, 60, 198, 82, 2122, 62, 1676, 73, 796, 1628, 7, 82, 2122, 8, 198, 198, 2, 7110, 20128, 198, 29487, 7, 82, 2122, 62, 1676, 73, 8, 198, 21928, 5647, 7203, 25080, 4943, 198 ]
2.817629
329
######################################################################### using AutoPreallocation, BenchmarkTools foo() = ones(1, 2096) * ones(2096, 1024) * ones(1024,1) @btime foo() const foo_res, foo_record = record_allocations(foo) @btime avoid_allocations($foo_record, foo) ######################################################################### using Test twos(dims) = 2*ones(dims) const twos_res, twos_record = record_allocations(twos, (3,6)) @test_throws TypeError avoid_allocations(twos_record, twos, (3,6,9)) # If the type is the same and only size differs AutoPreallocation right now won't even # error, it will just silently return the wrong result avoid_allocations(twos_record, twos, (30,60)) ############################################################################### function bar(x) ys = fill(10.0, 30) for ii in 1:100 push!(ys, x) end return ys end @btime bar(3.14); const _, bar_record = record_allocations(bar, 3.14); reinitialize!(bar_record); @btime avoid_allocations($bar_record, bar, 42.0); reinitialize!(bar_record); @btime avoid_allocations($bar_record, bar, 24601); ############################################ function mat(x) out = zeros(2,2) out[1, 1] = x out[2, 2] = x return out end const mat1, mat_record = record_allocations(mat, 1); (mat1,) mat2 = avoid_allocations(mat_record, mat, 2); (mat1, mat2) # Notice mat1 has changed mat3 = avoid_allocations(mat_record, mat, 3); (mat1, mat2, mat3) # Notice: mat1 and mat2 have changed
[ 29113, 29113, 7804, 2, 198, 3500, 11160, 6719, 439, 5040, 11, 25187, 4102, 33637, 198, 198, 21943, 3419, 796, 3392, 7, 16, 11, 1160, 4846, 8, 1635, 3392, 7, 1238, 4846, 11, 28119, 8, 1635, 3392, 7, 35500, 11, 16, 8, 198, 31, 65, 2435, 22944, 3419, 198, 198, 9979, 22944, 62, 411, 11, 22944, 62, 22105, 796, 1700, 62, 439, 20968, 7, 21943, 8, 198, 198, 31, 65, 2435, 3368, 62, 439, 20968, 16763, 21943, 62, 22105, 11, 22944, 8, 198, 198, 29113, 29113, 7804, 2, 198, 198, 3500, 6208, 198, 4246, 418, 7, 67, 12078, 8, 796, 362, 9, 1952, 7, 67, 12078, 8, 198, 198, 9979, 665, 418, 62, 411, 11, 665, 418, 62, 22105, 796, 1700, 62, 439, 20968, 7, 4246, 418, 11, 357, 18, 11, 21, 4008, 198, 31, 9288, 62, 400, 8516, 5994, 12331, 3368, 62, 439, 20968, 7, 4246, 418, 62, 22105, 11, 665, 418, 11, 357, 18, 11, 21, 11, 24, 4008, 198, 198, 2, 1002, 262, 2099, 318, 262, 976, 290, 691, 2546, 24242, 11160, 6719, 439, 5040, 826, 783, 1839, 470, 772, 198, 2, 4049, 11, 340, 481, 655, 24595, 1441, 262, 2642, 1255, 198, 27080, 62, 439, 20968, 7, 4246, 418, 62, 22105, 11, 665, 418, 11, 357, 1270, 11, 1899, 4008, 198, 198, 29113, 29113, 7804, 4242, 21017, 198, 198, 8818, 2318, 7, 87, 8, 198, 220, 220, 220, 331, 82, 796, 6070, 7, 940, 13, 15, 11, 1542, 8, 198, 220, 220, 220, 329, 21065, 287, 352, 25, 3064, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 893, 11, 2124, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 331, 82, 198, 437, 198, 198, 31, 65, 2435, 2318, 7, 18, 13, 1415, 1776, 198, 198, 9979, 4808, 11, 2318, 62, 22105, 796, 1700, 62, 439, 20968, 7, 5657, 11, 513, 13, 1415, 1776, 198, 260, 36733, 1096, 0, 7, 5657, 62, 22105, 1776, 198, 31, 65, 2435, 3368, 62, 439, 20968, 16763, 5657, 62, 22105, 11, 2318, 11, 5433, 13, 15, 1776, 198, 198, 260, 36733, 1096, 0, 7, 5657, 62, 22105, 1776, 198, 31, 65, 2435, 3368, 62, 439, 20968, 16763, 5657, 62, 22105, 11, 2318, 11, 34951, 486, 1776, 198, 198, 29113, 7804, 4242, 198, 198, 8818, 2603, 7, 87, 8, 198, 220, 220, 220, 503, 796, 1976, 27498, 7, 17, 11, 17, 8, 198, 220, 220, 220, 503, 58, 16, 11, 352, 60, 796, 2124, 198, 220, 220, 220, 503, 58, 17, 11, 362, 60, 796, 2124, 198, 220, 220, 220, 1441, 503, 198, 437, 198, 198, 9979, 2603, 16, 11, 2603, 62, 22105, 796, 1700, 62, 439, 20968, 7, 6759, 11, 352, 1776, 198, 7, 6759, 16, 35751, 198, 198, 6759, 17, 796, 3368, 62, 439, 20968, 7, 6759, 62, 22105, 11, 2603, 11, 362, 1776, 198, 7, 6759, 16, 11, 2603, 17, 8, 220, 1303, 17641, 2603, 16, 468, 3421, 198, 198, 6759, 18, 796, 3368, 62, 439, 20968, 7, 6759, 62, 22105, 11, 2603, 11, 513, 1776, 198, 7, 6759, 16, 11, 2603, 17, 11, 2603, 18, 8, 220, 1303, 17641, 25, 2603, 16, 290, 2603, 17, 423, 3421, 198 ]
2.904762
525
struct CopositiveInnerVariableBridge{T, VB} <: AbstractVariableBridge variable_bridge::VB # TODO store GreaterThan constraints end function add_variable_bridge(::Type{CopositiveInnerVariableBridge{T, VB}}, model::MOI.ModelLike, set::CopositiveInner) where {T, VB} func, variable_bridge = add_variable_bridge(VB, model, set.psd_inner) F = MOI.ScalarAffineFunction{T} # If `func isa F` then `convert` won't create a copy so we explictly copy it. # It is less costly to copy it before, e.g. if `q is MOI.SingleVariable`. Q = F[convert(F, copy(q)) for q in func] k = 0 for j in 1:side_dimension(set) for i in 1:(j-1) k += 1 # TODO: these should be deleted when the bridge is deleted Nij = MOI.SingleVariable(MOI.add_variable(model)) MOI.add_constraint(model, Nij, MOI.GreaterThan(zero(T))) MOIU.operate!(+, T, Q[k], Nij) end k += 1 # for diagonal entry (i, i) end return Q, CopositiveInnerVariableBridge{T, VB}(variable_bridge) end function MOIB.added_constraint_types(::Type{CopositiveInnerVariableBridge{T, VB}}) where {T, VB} added = MOIB.added_constraint_types(VB) push!(added, (MOI.SingleVariable, MOI.GreaterThan{T})) return added end function variable_bridge_type(::Type{CopositiveInner{S}}, T::Type) where S return CopositiveInnerVariableBridge{T, variable_bridge_type(S, T)} end function MOI.delete(model::MOI.ModelLike, bridge::CopositiveInnerVariableBridge) # TODO remove GreaterThan constraints MOI.delete(model, bridge.variable_bridge) end function MOI.get(model::MOI.ModelLike, attr::Union{MomentMatrixAttribute, GramMatrixAttribute}, bridge::CopositiveInnerVariableBridge) return MOI.get(modle, attr, bridge.variable_bridge) end
[ 7249, 6955, 418, 1800, 818, 1008, 43015, 37385, 90, 51, 11, 569, 33, 92, 1279, 25, 27741, 43015, 37385, 198, 220, 220, 220, 7885, 62, 9458, 3712, 44526, 198, 220, 220, 220, 1303, 16926, 46, 3650, 18169, 817, 272, 17778, 198, 437, 198, 198, 8818, 751, 62, 45286, 62, 9458, 7, 3712, 6030, 90, 13379, 418, 1800, 818, 1008, 43015, 37385, 90, 51, 11, 569, 33, 92, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 3712, 11770, 40, 13, 17633, 7594, 11, 900, 3712, 13379, 418, 1800, 818, 1008, 8, 810, 1391, 51, 11, 569, 33, 92, 198, 220, 220, 220, 25439, 11, 7885, 62, 9458, 796, 751, 62, 45286, 62, 9458, 7, 44526, 11, 2746, 11, 900, 13, 862, 67, 62, 5083, 8, 198, 220, 220, 220, 376, 796, 13070, 40, 13, 3351, 282, 283, 35191, 500, 22203, 90, 51, 92, 198, 220, 220, 220, 1303, 1002, 4600, 20786, 318, 64, 376, 63, 788, 4600, 1102, 1851, 63, 1839, 470, 2251, 257, 4866, 523, 356, 1193, 713, 306, 4866, 340, 13, 198, 220, 220, 220, 1303, 632, 318, 1342, 16378, 284, 4866, 340, 878, 11, 304, 13, 70, 13, 611, 4600, 80, 318, 13070, 40, 13, 28008, 43015, 44646, 198, 220, 220, 220, 1195, 796, 376, 58, 1102, 1851, 7, 37, 11, 4866, 7, 80, 4008, 329, 10662, 287, 25439, 60, 198, 220, 220, 220, 479, 796, 657, 198, 220, 220, 220, 329, 474, 287, 352, 25, 1589, 62, 46156, 7, 2617, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 37498, 73, 12, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 777, 815, 307, 13140, 618, 262, 7696, 318, 13140, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 399, 2926, 796, 13070, 40, 13, 28008, 43015, 7, 11770, 40, 13, 2860, 62, 45286, 7, 19849, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13070, 40, 13, 2860, 62, 1102, 2536, 2913, 7, 19849, 11, 399, 2926, 11, 13070, 40, 13, 13681, 263, 817, 272, 7, 22570, 7, 51, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13070, 44958, 13, 3575, 378, 0, 7, 28200, 309, 11, 1195, 58, 74, 4357, 399, 2926, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 479, 15853, 352, 1303, 329, 40039, 5726, 357, 72, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 1195, 11, 6955, 418, 1800, 818, 1008, 43015, 37385, 90, 51, 11, 569, 33, 92, 7, 45286, 62, 9458, 8, 198, 437, 198, 198, 8818, 13070, 9865, 13, 29373, 62, 1102, 2536, 2913, 62, 19199, 7, 3712, 6030, 90, 13379, 418, 1800, 818, 1008, 43015, 37385, 90, 51, 11, 569, 33, 11709, 8, 810, 1391, 51, 11, 569, 33, 92, 198, 220, 220, 220, 2087, 796, 13070, 9865, 13, 29373, 62, 1102, 2536, 2913, 62, 19199, 7, 44526, 8, 198, 220, 220, 220, 4574, 0, 7, 29373, 11, 357, 11770, 40, 13, 28008, 43015, 11, 13070, 40, 13, 13681, 263, 817, 272, 90, 51, 92, 4008, 198, 220, 220, 220, 1441, 2087, 198, 437, 198, 198, 8818, 7885, 62, 9458, 62, 4906, 7, 3712, 6030, 90, 13379, 418, 1800, 818, 1008, 90, 50, 92, 5512, 309, 3712, 6030, 8, 810, 311, 198, 220, 220, 220, 1441, 6955, 418, 1800, 818, 1008, 43015, 37385, 90, 51, 11, 7885, 62, 9458, 62, 4906, 7, 50, 11, 309, 38165, 198, 437, 198, 198, 8818, 13070, 40, 13, 33678, 7, 19849, 3712, 11770, 40, 13, 17633, 7594, 11, 7696, 3712, 13379, 418, 1800, 818, 1008, 43015, 37385, 8, 198, 220, 220, 220, 1303, 16926, 46, 4781, 18169, 817, 272, 17778, 198, 220, 220, 220, 13070, 40, 13, 33678, 7, 19849, 11, 7696, 13, 45286, 62, 9458, 8, 198, 437, 198, 198, 8818, 13070, 40, 13, 1136, 7, 19849, 3712, 11770, 40, 13, 17633, 7594, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 3712, 38176, 90, 29252, 298, 46912, 33682, 11, 20159, 46912, 33682, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7696, 3712, 13379, 418, 1800, 818, 1008, 43015, 37385, 8, 198, 220, 220, 220, 1441, 13070, 40, 13, 1136, 7, 4666, 293, 11, 708, 81, 11, 7696, 13, 45286, 62, 9458, 8, 198, 437, 198 ]
2.377551
784
module Kepler export rv_model kepler_f(M, E, e) = E - e*sin(E) - M kepler_fp(E, e) = one(E) - e*cos(E) kepler_fpp(E,e) = e*sin(E) kepler_fppp(E,e) = e*cos(E) function kepler_solve_ea(n, e, t) M = mod(n*t, 2.0*pi) if M < pi E = M + 0.85*e else E = M - 0.85*e end f = kepler_f(M, E, e) while abs(f) > 1e-8 fp = kepler_fp(E,e) disc = sqrt(abs(16.0*fp*fp - 20.0*f*kepler_fpp(E,e))) if fp > 0.0 d = -5.0*f/(fp + disc) else d = -5.0*f/(fp - disc) end E += d f = kepler_f(M, E, e) end E end function kepler_solve_ta(n, e, t) E = kepler_solve_ea(n, e, t) f = 2.0*atan(sqrt((one(e)+e)/(one(e)-e))*tan(E/2.0)) if f < 0.0 f += 2.0*pi end f end """ `rv_model(ts, K, e, omega, chi, P)` Returns the radial velocity at times `ts` for the system with semi-amplitude `K`, eccentricity `e`, argument of pericentre `omega`, phase at a `t=0` of `2*pi*chi`, and period `P`. These parameter arguments can also be vectorised, in which case the returned array has size `(ntimes, nplanets)`. """ function rv_model(ts::Array{Float64, 1}, K::Float64, e::Float64, omega::Float64, chi::Float64, P::Float64) nts = size(ts, 1) rvs = zeros(nts) t0 = -chi*P n = 2.0*pi/P ecw = e*cos(omega) for i in 1:nts t = ts[i] f = kepler_solve_ea(n, e, t-t0) rvs[i] = K*(cos(f + omega) + ecw) end rvs end function rv_model(ts::Array{Float64, 1}, Ks::Array{Float64, 1}, es::Array{Float64, 1}, omegas::Array{Float64, 1}, chis::Array{Float64, 1}, Ps::Array{Float64, 1}) npl = size(Ks, 1) nts = size(ts, 1) rvs = zeros(nts, npl) for j in 1:npl rvs[:,j] = rv_model(ts, Ks[j], es[j], omegas[j], chis[j], Ps[j]) end rvs end end
[ 21412, 40294, 198, 198, 39344, 374, 85, 62, 19849, 198, 198, 365, 20053, 62, 69, 7, 44, 11, 412, 11, 304, 8, 796, 412, 532, 304, 9, 31369, 7, 36, 8, 532, 337, 198, 365, 20053, 62, 46428, 7, 36, 11, 304, 8, 796, 530, 7, 36, 8, 532, 304, 9, 6966, 7, 36, 8, 198, 365, 20053, 62, 69, 381, 7, 36, 11, 68, 8, 796, 304, 9, 31369, 7, 36, 8, 198, 365, 20053, 62, 69, 381, 79, 7, 36, 11, 68, 8, 796, 304, 9, 6966, 7, 36, 8, 198, 198, 8818, 885, 20053, 62, 82, 6442, 62, 18213, 7, 77, 11, 304, 11, 256, 8, 198, 220, 220, 220, 337, 796, 953, 7, 77, 9, 83, 11, 362, 13, 15, 9, 14415, 8, 628, 220, 220, 220, 611, 337, 1279, 31028, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 337, 1343, 657, 13, 5332, 9, 68, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 412, 796, 337, 532, 657, 13, 5332, 9, 68, 198, 220, 220, 220, 886, 628, 220, 220, 220, 277, 796, 885, 20053, 62, 69, 7, 44, 11, 412, 11, 304, 8, 628, 220, 220, 220, 981, 2352, 7, 69, 8, 1875, 352, 68, 12, 23, 198, 220, 220, 220, 220, 220, 220, 220, 277, 79, 796, 885, 20053, 62, 46428, 7, 36, 11, 68, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1221, 796, 19862, 17034, 7, 8937, 7, 1433, 13, 15, 9, 46428, 9, 46428, 532, 1160, 13, 15, 9, 69, 9, 365, 20053, 62, 69, 381, 7, 36, 11, 68, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 611, 277, 79, 1875, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 532, 20, 13, 15, 9, 69, 29006, 46428, 1343, 1221, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 288, 796, 532, 20, 13, 15, 9, 69, 29006, 46428, 532, 1221, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 412, 15853, 288, 198, 220, 220, 220, 220, 220, 220, 220, 277, 796, 885, 20053, 62, 69, 7, 44, 11, 412, 11, 304, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 412, 198, 437, 198, 198, 8818, 885, 20053, 62, 82, 6442, 62, 8326, 7, 77, 11, 304, 11, 256, 8, 198, 220, 220, 220, 412, 796, 885, 20053, 62, 82, 6442, 62, 18213, 7, 77, 11, 304, 11, 256, 8, 628, 220, 220, 220, 277, 796, 362, 13, 15, 9, 39036, 7, 31166, 17034, 19510, 505, 7, 68, 47762, 68, 20679, 7, 505, 7, 68, 13219, 68, 4008, 9, 38006, 7, 36, 14, 17, 13, 15, 4008, 628, 220, 220, 220, 611, 277, 1279, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 277, 15853, 362, 13, 15, 9, 14415, 198, 220, 220, 220, 886, 628, 220, 220, 220, 277, 198, 437, 198, 198, 37811, 220, 198, 63, 81, 85, 62, 19849, 7, 912, 11, 509, 11, 304, 11, 37615, 11, 33166, 11, 350, 8, 63, 198, 198, 35561, 262, 44503, 15432, 379, 1661, 4600, 912, 63, 329, 262, 1080, 351, 198, 325, 11632, 12, 321, 489, 3984, 4600, 42, 47671, 29303, 414, 4600, 68, 47671, 4578, 286, 583, 36712, 260, 4600, 462, 4908, 47671, 198, 40715, 379, 257, 4600, 83, 28, 15, 63, 286, 4600, 17, 9, 14415, 9, 11072, 47671, 290, 2278, 4600, 47, 44646, 220, 2312, 11507, 198, 853, 2886, 460, 635, 307, 15879, 1417, 11, 287, 543, 1339, 262, 4504, 7177, 468, 198, 7857, 4600, 7, 429, 999, 11, 299, 11578, 1039, 8, 44646, 220, 220, 198, 37811, 198, 8818, 374, 85, 62, 19849, 7, 912, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 509, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 37615, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33166, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 350, 3712, 43879, 2414, 8, 628, 220, 220, 220, 299, 912, 796, 2546, 7, 912, 11, 352, 8, 628, 220, 220, 220, 374, 14259, 796, 1976, 27498, 7, 429, 82, 8, 628, 220, 220, 220, 256, 15, 796, 532, 11072, 9, 47, 198, 220, 220, 220, 299, 796, 362, 13, 15, 9, 14415, 14, 47, 628, 220, 220, 220, 9940, 86, 796, 304, 9, 6966, 7, 462, 4908, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 429, 82, 198, 220, 220, 220, 220, 220, 220, 220, 256, 796, 40379, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 277, 796, 885, 20053, 62, 82, 6442, 62, 18213, 7, 77, 11, 304, 11, 256, 12, 83, 15, 8, 628, 220, 220, 220, 220, 220, 220, 220, 374, 14259, 58, 72, 60, 796, 509, 9, 7, 6966, 7, 69, 1343, 37615, 8, 1343, 9940, 86, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 374, 14259, 198, 437, 198, 198, 8818, 374, 85, 62, 19849, 7, 912, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 509, 82, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1658, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 1326, 22649, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 442, 271, 3712, 19182, 90, 43879, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33610, 3712, 19182, 90, 43879, 2414, 11, 352, 30072, 198, 220, 220, 220, 299, 489, 796, 2546, 7, 42, 82, 11, 352, 8, 198, 220, 220, 220, 299, 912, 796, 2546, 7, 912, 11, 352, 8, 628, 220, 220, 220, 374, 14259, 796, 1976, 27498, 7, 429, 82, 11, 299, 489, 8, 628, 220, 220, 220, 329, 474, 287, 352, 25, 77, 489, 198, 220, 220, 220, 220, 220, 220, 220, 374, 14259, 58, 45299, 73, 60, 796, 374, 85, 62, 19849, 7, 912, 11, 509, 82, 58, 73, 4357, 1658, 58, 73, 4357, 267, 1326, 22649, 58, 73, 4357, 442, 271, 58, 73, 4357, 33610, 58, 73, 12962, 198, 220, 220, 220, 886, 628, 220, 220, 220, 374, 14259, 198, 437, 198, 198, 437, 198 ]
1.704013
1,196
export Canvas, canvas, png, svg, pdf mutable struct Canvas size::Tuple{Int, Int} toplayer::Layer rect::Shape{Rect} color::Colors.Colorant end function canvas( width, height, toplayer::Union{Layer,Nothing}=nothing; color::Union{String, Colors.Colorant}="white") l = if isnothing(toplayer) layer() + Visible(true) + Markersize(3) + Marker(:o) + Fill("transparent") + Stroke("black") + Linewidth(1) + Linestyle(:solid) + Textfill("black") else toplayer end r = rect!(l, (0, 0), width, height, deg(0)) + Visible(false) color = typeof(color) <: String ? parse(Colors.Colorant, color) : color Canvas((width, height), l, r, color), l end function png(c::Canvas, filename::String; px_per_pt=1/0.75) csurface = draw_rgba(c, px_per_pt=px_per_pt) bufdata = UInt8[] iobuf = IOBuffer(bufdata, read=true, write=true) Cairo.write_to_png(csurface, iobuf) Cairo.finish(csurface) Cairo.destroy(csurface) write(filename, bufdata) nothing end function svg(c::Canvas, filename::String) draw_svg(c, filename) end function pdf(c::Canvas, filename::String) csurface = draw_pdf(c, filename) Cairo.finish(csurface) Cairo.destroy(csurface) nothing end function Base.show(io::IO, ::MIME"image/svg+xml", c::Canvas) svgbuffer = draw_svg(c) print(io, String(take!(svgbuffer))) end # function Base.show(io::IO, ::MIME"image/png", c::Canvas) # mktempdir() do path # p = joinpath(path, "layered.png") # png(c, p) # write(io, read(p)) # end # end
[ 39344, 1680, 11017, 11, 21978, 11, 279, 782, 11, 38487, 70, 11, 37124, 198, 198, 76, 18187, 2878, 1680, 11017, 198, 220, 220, 220, 2546, 3712, 51, 29291, 90, 5317, 11, 2558, 92, 198, 220, 220, 220, 284, 7829, 3712, 49925, 198, 220, 220, 220, 13621, 3712, 33383, 90, 45474, 92, 198, 220, 220, 220, 3124, 3712, 5216, 669, 13, 10258, 415, 198, 437, 628, 198, 8818, 21978, 7, 198, 220, 220, 220, 9647, 11, 6001, 11, 284, 7829, 3712, 38176, 90, 49925, 11, 18465, 92, 28, 22366, 26, 3124, 3712, 38176, 90, 10100, 11, 29792, 13, 10258, 415, 92, 2625, 11186, 4943, 628, 220, 220, 220, 300, 796, 611, 318, 22366, 7, 4852, 29289, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7679, 3419, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6911, 856, 7, 7942, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2940, 364, 1096, 7, 18, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2940, 263, 7, 25, 78, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27845, 7203, 7645, 8000, 4943, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30183, 365, 7203, 13424, 4943, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5164, 413, 5649, 7, 16, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5164, 10992, 7, 25, 39390, 8, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8255, 20797, 7203, 13424, 4943, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 284, 7829, 198, 220, 220, 220, 886, 198, 220, 220, 220, 374, 796, 13621, 0, 7, 75, 11, 357, 15, 11, 657, 828, 9647, 11, 6001, 11, 3396, 7, 15, 4008, 1343, 6911, 856, 7, 9562, 8, 198, 220, 220, 220, 3124, 796, 2099, 1659, 7, 8043, 8, 1279, 25, 10903, 5633, 21136, 7, 5216, 669, 13, 10258, 415, 11, 3124, 8, 1058, 3124, 198, 220, 220, 220, 1680, 11017, 19510, 10394, 11, 6001, 828, 300, 11, 374, 11, 3124, 828, 300, 198, 437, 198, 198, 8818, 279, 782, 7, 66, 3712, 6090, 11017, 11, 29472, 3712, 10100, 26, 279, 87, 62, 525, 62, 457, 28, 16, 14, 15, 13, 2425, 8, 198, 220, 220, 220, 269, 42029, 796, 3197, 62, 41345, 7012, 7, 66, 11, 279, 87, 62, 525, 62, 457, 28, 8416, 62, 525, 62, 457, 8, 198, 220, 220, 220, 42684, 7890, 796, 471, 5317, 23, 21737, 198, 220, 220, 220, 1312, 672, 3046, 796, 314, 9864, 13712, 7, 29325, 7890, 11, 1100, 28, 7942, 11, 3551, 28, 7942, 8, 198, 220, 220, 220, 23732, 13, 13564, 62, 1462, 62, 11134, 7, 6359, 333, 2550, 11, 1312, 672, 3046, 8, 198, 220, 220, 220, 23732, 13, 15643, 680, 7, 6359, 333, 2550, 8, 198, 220, 220, 220, 23732, 13, 41659, 7, 6359, 333, 2550, 8, 198, 220, 220, 220, 3551, 7, 34345, 11, 42684, 7890, 8, 198, 220, 220, 220, 2147, 198, 437, 198, 198, 8818, 38487, 70, 7, 66, 3712, 6090, 11017, 11, 29472, 3712, 10100, 8, 198, 220, 220, 220, 3197, 62, 21370, 70, 7, 66, 11, 29472, 8, 198, 437, 198, 198, 8818, 37124, 7, 66, 3712, 6090, 11017, 11, 29472, 3712, 10100, 8, 198, 220, 220, 220, 269, 42029, 796, 3197, 62, 12315, 7, 66, 11, 29472, 8, 198, 220, 220, 220, 23732, 13, 15643, 680, 7, 6359, 333, 2550, 8, 198, 220, 220, 220, 23732, 13, 41659, 7, 6359, 333, 2550, 8, 198, 220, 220, 220, 2147, 198, 437, 198, 198, 8818, 7308, 13, 12860, 7, 952, 3712, 9399, 11, 7904, 44, 12789, 1, 9060, 14, 21370, 70, 10, 19875, 1600, 269, 3712, 6090, 11017, 8, 198, 220, 220, 220, 38487, 70, 22252, 796, 3197, 62, 21370, 70, 7, 66, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 10903, 7, 20657, 0, 7, 21370, 70, 22252, 22305, 198, 437, 198, 198, 2, 2163, 7308, 13, 12860, 7, 952, 3712, 9399, 11, 7904, 44, 12789, 1, 9060, 14, 11134, 1600, 269, 3712, 6090, 11017, 8, 198, 2, 220, 220, 220, 220, 33480, 29510, 15908, 3419, 466, 3108, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 279, 796, 4654, 6978, 7, 6978, 11, 366, 10724, 1068, 13, 11134, 4943, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 279, 782, 7, 66, 11, 279, 8, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 3551, 7, 952, 11, 1100, 7, 79, 4008, 198, 2, 220, 220, 220, 220, 886, 198, 2, 886, 198 ]
2.137004
781
### A Pluto.jl notebook ### # v0.16.1 using Markdown using InteractiveUtils # ╔═╡ c4cccb7a-7d16-4dca-95d9-45c4115cfbf0 using BenchmarkTools, CSV, DataFrames, Distances, Distributions, HypothesisTests, HTTP, KernelDensity, LinearAlgebra, MCMCChains, MLDataUtils, Plots, PlutoUI, Random, RDatasets, StateSpaceModels, Statistics, StatsBase, StatsPlots, Turing, UrlDownload # ╔═╡ 09a9d9f9-fa1a-4192-95cc-81314582488b html""" <div style=" position: absolute; width: calc(100% - 30px); border: 50vw solid #2e3440; border-top: 200px solid #2e3440; border-bottom: none; box-sizing: content-box; left: calc(-50vw + 15px); top: -100px; height: 100px; pointer-events: none; "></div> <div style=" height: 200px; width: 100%; background: #2e3440; color: #fff; padding-top: 50px; "> <span style=" font-family: Vollkorn, serif; font-weight: 700; font-feature-settings: 'lnum', 'pnum'; "> <p style=" font-size: 1.5rem; opacity: 0.8; ">ATS 872: Lecture 5</p> <p style="text-align: center; font-size: 1.8rem;"> Bayesian basics and regression </p> <style> body { overflow-x: hidden; } </style>""" # ╔═╡ 41eb90d1-9262-42b1-9eb2-d7aa6583da17 html""" <style> main { max-width: 850px; } </style> """ # ╔═╡ aa69729a-0b08-4299-a14c-c9eb2eb65d5c md" # Introduction " # ╔═╡ a681c4c5-1451-44d6-be27-f9003340883f md""" > These lecture notes draw heavily from the notes of [Joshua Chen](https://joshuachan.org/papers/BayesMacro.pdf), [Gary Koop](https://sites.google.com/site/garykoop/) and [Jamie Cross](https://github.com/Jamie-L-Cross/Bayes/blob/master/5_Linear_Regression_Normal.ipynb) """ # ╔═╡ 000021af-87ce-4d6d-a315-153cecce5091 md" We will recap some of the basics on Bayesian econometrics. " # ╔═╡ 2eb626bc-43c5-4d73-bd71-0de45f9a3ca1 #TableOfContents() # Uncomment to see TOC # ╔═╡ bbcafd74-97f4-4b8f-bffa-937812d9a2eb Random.seed!(0) # ╔═╡ d65de56f-a210-4428-9fac-20a7888d3627 md" Packages used for this notebook are given above. Check them out on **Github** and give a star ⭐ if you want." # ╔═╡ 38d2167d-2ca2-4398-9406-db418cc4bf17 md""" ## General overview """ # ╔═╡ 3f0c1adc-3efd-4ade-9a65-a208d8457b85 md" Today we will be looking at the following topics, - Recap of Bayesian basics - Gibbs sampling routine for our Normal model with unknown $\sigma^{2}$ - The Bayesian approach to linear regression - Gibbs sampling and regression analysis - AR model example - Regression with `Turing.jl` " # ╔═╡ 040c011f-1653-446d-8641-824dc82162eb md" ## Bayesian methods recap " # ╔═╡ f3823457-8757-4665-86a8-bf536d80e24d md""" **Please read** the following section carefully. It is from the notes by Joshua Chen and it explains in clear detail what we have been trying to do up to this point. This first section is a quick recap of many of the concepts we have covered so far. You will notice that we adopt matrix notation from now on. This takes some getting used to, but in the end it is worth it. As we have established, the fundamental organizing principle in Bayesian econometrics is **Bayes' theorem**. It forms the unifying principle on how Bayesians estimate model parameters, conduct inference, compare models and so forth. Bayes' theorem states that for events $A$ and $B$, the conditional probability of $A$ given $B$ is: $$\mathbb{P}(A \mid B)=\frac{\mathbb{P}(A) \mathbb{P}(B \mid A)}{\mathbb{P}(B)}$$ where $\mathbb{P}(A)$ and $\mathbb{P}(B)$ are the marginal probabilities for events $A$ and $B$, respectively. This expression tells us how our view about event $A$ should change in light of information in event $B$. To apply Bayes' theorem to estimation and inference, we first introduce some notation. Notice that we are going to start talking about vectors and matrices. Which means that matrix algebra will feature heavily from now on. Suppose we have a model that is characterized by the likelihood function $p(\mathbf{y} \mid \boldsymbol{\theta})$, where $\boldsymbol{\theta}$ is a vector of model parameters. Intuitively, the likelihood function specifies how the observed data are generated from the model given a particular set of parameters. Now, suppose we have obtained an observed sample $\mathbf{y}=\left(y_{1}, \ldots, y_{T}\right)^{\prime}$, and we would like to learn about $\boldsymbol{\theta}$. How should we proceed? The goal of Bayesian methods is to obtain the posterior distribution $p(\boldsymbol{\theta} \mid \mathbf{y})$ that summaries all the information about the parameter vector $\boldsymbol{\theta}$ given the data. Applying Bayes' theorem, the posterior distribution can be computed as $$p(\boldsymbol{\theta} \mid \mathbf{y})=\frac{p(\boldsymbol{\theta}) p(\mathbf{y} \mid \boldsymbol{\theta})}{p(\mathbf{y})} \propto p(\boldsymbol{\theta}) p(\mathbf{y} \mid \boldsymbol{\theta})$$ where $p(\boldsymbol{\theta})$ is the prior distribution and $$p(\mathbf{y})=\int p(\boldsymbol{\theta}) p(\mathbf{y} \mid \boldsymbol{\theta}) \mathrm{d} \boldsymbol{\theta}$$ is the marginal likelihood. Bayes' theorem says that knowledge of $\boldsymbol{\theta}$ comes from two sources: the prior distribution and an observed sample $y_{1}, \ldots, y_{T}$ summarized by the likelihood. The prior distribution $p(\boldsymbol{\theta})$ incorporates our subjective beliefs about $\boldsymbol{\theta}$ before we look at the data. The posterior distribution $p(\boldsymbol{\theta} \mid \mathbf{y})$ characterizes all relevant information about $\boldsymbol{\theta}$ given the data. For example, if we wish to obtain a point estimate of $\boldsymbol{\theta}$, we might compute the posterior mean $\mathbb{E}(\boldsymbol{\theta} \mid \mathbf{y})$. To characterize the uncertainty about $\boldsymbol{\theta}$, we might report the posterior standard deviations of the parameters. For instance, for the $i$ th element of $\boldsymbol{\theta}$, we can compute $\sqrt{\operatorname{Var}\left(\theta_{i} \mid \mathbf{y}\right)}$ In principle, these quantities can be computed given the posterior distribution $p(\boldsymbol{\theta} \mid \mathbf{y}) .$ In practice, however, they are often not available analytically. In those cases we would require simulation to approximate those quantities of interest. To outline the main idea, suppose we obtain $R$ independent draws from $p(\boldsymbol{\theta} \mid \mathbf{y})$, say, $\boldsymbol{\theta}^{(1)}, \ldots, \boldsymbol{\theta}^{(R)}$. If we assume the first moment exists, i.e., $\mathbb{E}(\boldsymbol{\theta} \mid \mathbf{y})<\infty$, then by the weak law of large numbers the sample mean $\widehat{\boldsymbol{\theta}}=R^{-1} \sum_{r=1}^{R} \boldsymbol{\theta}^{(r)}$ converges in probability to $\mathbb{E}(\boldsymbol{\theta} \mid \mathbf{y})$ as $R$ tends to infinity. Since we can control the simulation size, we could approximate the posterior mean arbitrarily well - if we are patient enough. Similarly, other moments or quantiles can be estimated using the sample analogs. Hence, estimation and inference become essentially a computational problem of obtaining draws from the posterior distribution. In general, sampling from arbitrary distribution is a difficult problem. Fortunately, there is now a large family of algorithms generally called Markov chain Monte Carlo (MCMC) methods to sample from complex distributions. The basic idea behind these algorithms is to construct a Markov chain so that its limiting distribution is the target distribution - in our case the target is the posterior distribution. By construction, samples from the MCMC algorithms are autocorrelated. Fortunately, similar convergence theorems - called ergodic theorems-hold for these correlated samples. Under some weak regularity conditions, we can use draws from these MCMC algorithms to estimate any functions of the parameters arbitrary well, provided that the population analogs exist. """ # ╔═╡ f95ccee4-a2d3-4492-b869-551e61acf995 md""" ## Normal model with unknown $\sigma^{2}$ """ # ╔═╡ 6c027ac7-ef68-4582-ba17-8f34a879a21d md""" We have already covered the normal model with known variance in great detail in a previous lecture. We also covered the case of a normal model with unknown variance in theory. However, now we will introduce our knowledge of Markov chain Monte Carlo methods to estimate the posterior distribution of a normal model with unknown variance. We will use Gibbs sampling to achieve this. You might notice that the notation is slightly different here, but the ideas are the same. """ # ╔═╡ 66c936a3-055d-42a0-bcad-5176d10e5994 md""" ### Prior and likelihood selection """ # ╔═╡ 3aad749e-1256-4f93-b119-4717d2b95607 md""" The model in question is $$y_{n} \mid \mu, \sigma^{2} \sim \mathcal{N}\left(\mu, \sigma^{2}\right), \quad n=1, \ldots, N$$ where both $\mu$ and $\sigma^{2}$ are now unknown. We assume the following prior for $\mu: \mathcal{N}\left(\mu_{0}, \sigma_{0}^{2}\right)$. As for $\sigma^{2}$, which takes only positive values, a convenient prior is the **inverse-gamma prior**. It turns out that this prior is conjugate for the likelihood of the model. A random variable $X$ is said to have an inverse-gamma distribution with shape parameter $\alpha>0$ and scale parameter $\beta>0$ if its density is given by $$f(x ; \alpha, \beta)=\frac{\beta^{\alpha}}{\Gamma(\alpha)} x^{-(\alpha+1)} \mathrm{e}^{-\beta / x}$$ We write $X \sim \mathcal{I} G(\alpha, \beta)$. This is the parameterization we use throughout these notes. There are other common parameterizations for the inverse-gamma distribution when comparing derivations and results across books and papers, it is important to first determine the parameterization used. For $X \sim \mathcal{I} G(\alpha, \beta)$, its mean and variance are given by $$\mathbb{E} X=\frac{\beta}{\alpha-1}$$ for $\alpha>1$, and $$\operatorname{Var}(X)=\frac{\beta^{2}}{(\alpha-1)^{2}(\alpha-2)}$$ for $\alpha>2$. """ # ╔═╡ 83ae194c-e04f-4615-9b71-7c389513898c md""" ### Posterior derivation """ # ╔═╡ 727a703f-1233-4098-86f3-3192e4de08d4 md""" Given the likelihood and priors, we can now derive the joint posterior distribution of $\left(\mu, \sigma^{2}\right) .$ Again, by Bayes' theorem, the joint posterior density is given by $$\begin{aligned} p\left(\mu, \sigma^{2} \mid \mathbf{y}\right) & \propto p\left(\mu, \sigma^{2}, \mathbf{y}\right) \\ & \propto p(\mu) p\left(\sigma^{2}\right) p\left(\mathbf{y} \mid \mu, \sigma^{2}\right) \\ & \propto \mathrm{e}^{-\frac{1}{2 \sigma_{0}^{2}}\left(\mu-\mu_{0}\right)^{2}}\left(\sigma^{2}\right)^{-\left(\nu_{0}+1\right)} \mathrm{e}^{-\frac{S_{0}}{\sigma^{2}}} \prod_{n=1}^{N}\left(\sigma^{2}\right)^{-\frac{1}{2}} \mathrm{e}^{-\frac{1}{2 \sigma^{2}}\left(y_{n}-\mu\right)^{2}} \end{aligned}$$ """ # ╔═╡ 14f11fc0-dc9b-4b77-b2da-ae534b911cd6 md""" Even though we have an explicit expression for the joint posterior density, it is not obvious how we can compute analytically various quantities of interest, such as, $\mathbb{E}(\mu \mid \mathbf{y})$, the posterior mean of $\mu$ or $\operatorname{Var}\left(\sigma^{2} \mid \mathbf{y}\right)$, the posterior variance of $\sigma^{2}$. One way forward is to use Monte Carlo simulation to approximate those quantities. """ # ╔═╡ d92d80ef-256c-443a-a81c-8d5f02e01e66 md""" ### Quick detour on Gibbs sampling """ # ╔═╡ 48c98f0d-d880-4abc-91d3-6c79be5fcf8a md""" Generally, if we wanted to approximate for example $\operatorname{Var}\left(\sigma^{2} \mid \mathbf{y}\right)$, we first obtain draws from the posterior distribution $\left(\mu, \sigma^{2} \mid \mathbf{y}\right), \operatorname{say},\left(\mu^{(1)}, \sigma^{2(1)}\right), \ldots,\left(\mu^{(R)}, \sigma^{2(R)}\right) .$ Then, we compute $$\frac{1}{R} \sum_{r=1}^{R}\left(\sigma^{2(r)}-\bar{\sigma}^{2}\right)^{2}$$ where $\bar{\sigma}^{2}$ is the mean of $\sigma^{2(1)}, \ldots, \sigma^{2(R)}$ Now the problem becomes: How do we sample from the posterior distribution? This brings us to Markov chain Monte Carlo (MCMC) methods, which are a broad class of algorithms for sampling from arbitrary probability distributions. This is achieved by constructing a Markov chain such that its limiting distribution is the desired distribution. Below we discuss one such method, called Gibbs sampling. Specifically, suppose we wish to sample from the target distribution $p(\boldsymbol{\Theta})=p\left(\boldsymbol{\theta}_{1}, \ldots, \boldsymbol{\theta}_{n}\right)$. A Gibbs sampler constructs a Markov chain $\boldsymbol{\Theta}^{(1)}, \boldsymbol{\Theta}^{(2)}, \ldots$ using the full conditional distributions $p\left(\boldsymbol{\theta}_{i} \mid \boldsymbol{\theta}_{1}, \ldots, \boldsymbol{\theta}_{i-1}, \boldsymbol{\theta}_{i+1}, \ldots, \boldsymbol{\theta}_{n}\right)$ as the transition kernels. Under certain regularity conditions, the limiting distribution of the Markov chain thus constructed is the target distribution. Operationally, we start from an initial state $\boldsymbol{\Theta}^{(0)}$. Then, we repeat the following steps from $r=1$ to $R$ : Given the current state $\boldsymbol{\Theta}=\boldsymbol{\Theta}^{(r)}$, generate $\mathbf{Y}=\left(\mathbf{Y}_{1}, \ldots, \mathbf{Y}_{n}\right)$ as follows: 1. Draw $\mathbf{Y}_{1} \sim p\left(\mathbf{y}_{1} \mid \boldsymbol{\theta}_{2}, \ldots, \boldsymbol{\theta}_{n}\right)$. 2. Draw $\mathbf{Y}_{i} \sim p\left(\mathbf{y}_{i} \mid \mathbf{Y}_{1}, \ldots, \mathbf{Y}_{i-1}, \boldsymbol{\theta}_{i+1}, \ldots, \boldsymbol{\theta}_{n}\right), i=2, \ldots, n-1$ 3. Draw $\mathbf{Y}_{n} \sim p\left(\mathbf{y}_{n} \mid \mathbf{Y}_{1}, \ldots, \mathbf{Y}_{n-1}\right)$ It is important to note that the Markov chain $\boldsymbol{\Theta}^{(1)}, \boldsymbol{\Theta}^{(2)}, \ldots$ does not converge to a fixed vector of constants. Rather, it is the distribution of $\boldsymbol{\Theta}^{(r)}$ that converges to the target distribution. In practice, one typically discards the first $R_{0}$ draws to eliminate the effect of the initial state $\boldsymbol{\Theta}^{(0)}$. The discarded draws are often refereed to as the 'burn-in'. There are a number of convergence diagnostics to test if the Markov chain has converged to the limiting distribution. One popular test is the Geweke's convergence diagnostics. """ # ╔═╡ d811cfd9-3bdd-4830-8e9d-ecd4d7d2c890 md""" ### Posterior and Gibbs sampling """ # ╔═╡ d3ceb4ea-6d45-4545-be09-8446f103c2e5 md" Now, after this discussion of Gibbs sampling, we return to the estimation of the two parameter normal model. To construct a Gibbs sampler to draw from the posterior distribution $p\left(\mu, \sigma^{2} \mid \mathbf{y}\right)$, we need to derive two conditional distributions: $p\left(\mu \mid \mathbf{y}, \sigma^{2}\right)$ and $p\left(\sigma^{2} \mid \mathbf{y}, \mu\right)$. To derive the first conditional distribution, note that given $\sigma^{2}$, this is the same normal model with known variance discussed in last section. Thus, using the same derivation before, we have $$\begin{aligned} p\left(\mu \mid \mathbf{y}, \sigma^{2}\right) & \propto p(\mu) p\left(\mathbf{y} \mid \mu, \sigma^{2}\right) \\ & \propto \mathrm{exp}{\left[-\frac{1}{2}\left(\left(\frac{1}{\sigma_{0}^{2}}+\frac{N}{\sigma^{2}}\right) \mu^{2}-2 \mu\left(\frac{\mu_{0}}{\sigma_{0}^{2}}+\frac{N \bar{y}}{\sigma^{2}}\right)\right)\right]} \end{aligned}$$ Hence, $\left(\mu \mid \mathbf{y}, \sigma^{2}\right) \sim \mathcal{N}\left(\widehat{\mu}, D_{\mu}\right)$, where $$D_{\mu}=\left(\frac{1}{\sigma_{0}^{2}}+\frac{N}{\sigma^{2}}\right)^{-1}, \quad \widehat{\mu}=D_{\mu}\left(\frac{\mu_{0}}{\sigma_{0}^{2}}+\frac{N \bar{y}}{\sigma^{2}}\right)$$ Next, we derive the conditional distribution of $\sigma^{2}$ : $$\begin{aligned} p\left(\sigma^{2} \mid \mathbf{y}, \mu\right) & \propto p\left(\sigma^{2}\right) p\left(\mathbf{y} \mid \mu, \sigma^{2}\right) \\ & \propto\left(\sigma^{2}\right)^{-\left(\nu_{0}+1\right)} \mathrm{e}^{-\frac{S_{0}}{\sigma^{2}}}\left(\sigma^{2}\right)^{-N / 2} \mathrm{e}^{-\frac{1}{2 \sigma^{2}} \sum_{n=1}^{N}\left(y_{n}-\mu\right)^{2}} \\ & \propto\left(\sigma^{2}\right)^{-\left(\nu_{0}+N / 2+1\right)} \mathrm{e}^{-\frac{S_{0}+\sum_{n=1}^{N}\left(y_{n}-\mu\right)^{2} / 2}{\sigma^{2}}} \end{aligned}$$ Is this a known distribution? It turns out that this is an inverse-gamma distribution. Comparing this expression with the generic inverse-gamma distribution, we have $$\left(\sigma^{2} \mid \mathbf{y}, \mu\right) \sim \mathcal{I} G\left(\nu_{0}+\frac{N}{2}, S_{0}+\frac{1}{2} \sum_{n=1}^{N}\left(y_{n}-\mu\right)^{2}\right)$$ To summarize, the Gibbs sampler for the two-parameter model is given as below. Pick some initial values $\mu^{(0)}$ and $\sigma^{2(0)}>0 .$ Then, repeat the following steps from $r=1$ to $R$ : 1. Draw $\mu^{(r)} \sim p\left(\mu \mid \mathbf{y}, \sigma^{2(r-1)}\right)$. 2. Draw $\sigma^{2(r)} \sim p\left(\sigma^{2} \mid \mathbf{y}, \mu^{(r)}\right)$ After discarding the first $R_{0}$ draws as burn-in, we can use the draws $\mu^{\left(R_{0}+1\right)}, \ldots, \mu^{(R)}$ and $\sigma^{2\left(R_{0}+1\right)}, \ldots, \sigma^{2(R)}$ to compute various quantities of interest. For example, we can use $$\frac{1}{R-R_{0}} \sum_{r=R_{0}+1}^{R} \mu^{(r)}$$ as an estimate of $\mathbb{E}(\mu \mid \mathbf{y})$. " # ╔═╡ 5cb5ab74-da6b-439a-bea4-75a3d0e43c63 md" ### Practical implementation " # ╔═╡ bade1741-5e84-413a-9c67-932bd6748c49 md""" As an illustration, the following code first generates a dataset of $N=100$ observations from the two-parameter normal model with $\mu=3$ and $\sigma^{2}=0.1$. Then, it implements a Gibbs sampler to sequentially to sample from the two conditional distributions: $p\left(\mu \mid \mathbf{y}, \sigma^{2}\right)$ and $p\left(\sigma^{2} \mid \mathbf{y}, \mu\right)$. """ # ╔═╡ b94db7f0-9f38-4761-a3c3-4d6fc4729ae9 begin # Parameters for first example nsim = 10_000 burnin = 1000 μ = 3.0 # True μ σ2 = 0.1 # True σ2 N = 100 μ_0 = 0.0 σ2_0 = 100 ν_0 = 3.0 Σ_0 = 0.5 μ_1 = 0.0 # Initial mu for Gibbs sampler σ2_1 = 1.0 # Initial sigma for Gibbs sampler # Additional parameters for second example T = 500 β = [1.0 5.0] β_0 = [0.0 0.0] end; # ╔═╡ 1a6c859c-e3e7-4ad9-9299-091b6b1d2bbf function data_gen(μ, σ2, N) μ .+ sqrt(σ2) .* randn(N, 1) end; # ╔═╡ 0980d7a1-129b-4724-90fb-b46e3088d2d6 new_data = data_gen(μ, σ2, N) # ╔═╡ bf12f6f6-f9a7-4d04-a5ac-1da94f03f8c3 histogram(new_data) # ╔═╡ 0919cb0d-ba03-49c8-b2b9-53a467c39f87 function gibbs(nsim, burnin, μ, σ2, N, μ_0, σ2_0, ν_0, Σ_0, μ_1, σ2_1) y = data_gen(μ, σ2, N) # Generated data store_θ = zeros(nsim, 2) # Initialise the store_θ array # Start the Gibbs sampling procedure for i in 1:nsim + burnin # Sample μ D_μ = 1 / (1 / σ2_0 .+ N / σ2_1) μ_hat = D_μ .* (μ_0 / σ2_0 .+ sum(y) / σ2_1) μ_1 = μ_hat .+ sqrt(D_μ) .* randn() # Affine transformation is also normal (more MATLAB) #μ_1 = rand(Normal(μ_hat, D_μ)) # Julian # Sample σ2 σ2_1 = rand(InverseGamma(ν_0 .+ N/2, 1/(Σ_0 .+ sum((y .- μ_1).^2) / 2))) if i > burnin isave = i .- burnin store_θ[isave, :] = [μ_1, σ2_1] end end mean(store_θ[:, 1]), mean(store_θ[:, 2]), store_θ end; # ╔═╡ 343202b3-23b5-4600-b912-7db4ab58deaf post_gibbs = gibbs(nsim, burnin, μ, σ2, N, μ_0, σ2_0, ν_0, Σ_0, μ_1, σ2_1); # posterior mean of μ and σ^2 # ╔═╡ 3aeab073-c98a-4213-a835-3098233ba90c md" Let us see what this looks like when we plot the posterior. " # ╔═╡ afc56ef2-d5d2-4624-9ad9-11f15429607f begin x_l = collect(1:(nsim-burnin)); histogram(x_l, post_gibbs[3][:,1], normalize=:pdf, legend = false) end # ╔═╡ fed7288d-5051-4ed0-babd-8eac00a634d2 histogram(x_l, post_gibbs[3][:,2], normalize=:pdf, legend = false) # ╔═╡ 41365136-5d0e-4a4e-808f-d0e90a14c5dd md""" We can also draw nice contour plots... """ # ╔═╡ 3335094d-a67b-471c-834d-e22089933104 begin gr() const N₁ = 100_000 const μ₁ = [post_gibbs[1], post_gibbs[1]] const Σ = [1 post_gibbs[2]; post_gibbs[2] 1] const mvnormal = MvNormal(μ₁, Σ) data = rand(mvnormal, N₁)' x₁ = 0:0.01:6 y₁ = 0:0.01:6 dens_mvnormal = [pdf(mvnormal, [i, j]) for i in x₁, j in y₁] contour(x₁, y₁, dens_mvnormal, xlabel="X", ylabel="Y", fill=true, fillcolour = :ice) end # ╔═╡ 330bd7cb-7102-41c2-b7a4-f053669960c3 md""" Or even fancy surface plots """ # ╔═╡ 80e6619b-ac42-453b-8f38-850b2b99d000 surface(x₁, y₁, dens_mvnormal, fillcolour = :ice, backgroundinside = :ghostwhite) # ╔═╡ 82b96729-33c2-49b0-b908-562faf903a1e md""" ## Bayesian linear regression """ # ╔═╡ 1f2c9795-0b2c-4a14-9f28-1fef68f6b467 md""" The workhorse model in econometrics is the normal linear regression model. Virtually all other more flexible models are built upon this foundation. It is therefore vital to fully understand how one estimates this model. In this section we will provide the details in deriving the likelihood and the posterior sampler. """ # ╔═╡ 70193cca-ce19-49ee-aa0c-06997affe2a6 md""" ### Linear regression in matrix notation """ # ╔═╡ 1703eb19-aeca-4ebe-a9b3-18dfbf4efdfe md""" To start, suppose we have data on a dependent variable $y_{t}$ for $t=1, \ldots, T$. Then, consider the following linear regression model: $$y_{t}=\beta_{1}+x_{2, t} \beta_{2}+\cdots+x_{k, t} \beta_{k}+\varepsilon_{t}$$ where $\varepsilon_{1}, \ldots, \varepsilon_{T}$ are assumed to be iid $\mathcal{N}\left(0, \sigma^{2}\right)$, and $x_{1, t}, x_{2, t}, \ldots, x_{k, t}$ are the $k$ regressors (explanatory variables) and $\beta_{1}, \ldots, \beta_{k}$ are the associated regression coefficients. Note that in this construction we set $x_{1, t} = 1$ for all $t = 1, \ldots, T$ to allow for an intercept. In addition, if we replace the $x_{i, t}$ values to be lags of the dependent variable then this would be an autoregressive model. To derive the likelihood, it is more convenient to write this in matrix notation. In particular, we stack the observations over $t=1, \ldots, T$ so that each row represents the observation at time $t$. Let $\mathbf{y}=\left(y_{1}, \ldots, y_{T}\right)^{\prime}$ and $\boldsymbol{\beta}=\left(\beta_{1}, \ldots, \beta_{k}\right)^{\prime} .$ Finally, we have that $\varepsilon$ is a $T \times 1$ vector that is stacked in the same way as $\mathbf{Y}$. Then, rewrite the whole system of $T$ equations as: $$\left(\begin{array}{c} y_{1} \\ y_{2} \\ \vdots \\ y_{T} \end{array}\right)=\left(\begin{array}{cccc} 1 & x_{2,1} & \cdots & x_{k, 1} \\ 1 & x_{2,2} & \cdots & x_{k, 2} \\ \vdots & \vdots & \ddots & \vdots \\ 1 & x_{2, T} & \cdots & x_{k, T} \end{array}\right)\left(\begin{array}{c} \beta_{1} \\ \vdots \\ \beta_{k} \end{array}\right)+\left(\begin{array}{c} \varepsilon_{1} \\ \varepsilon_{2} \\ \vdots \\ \varepsilon_{T} \end{array}\right)$$ Make sure the dimensions above make sense to you. For our example, $\mathbf{y}$ is a $T \times 1$ vector, $\mathbf{X}$ is a $T \times k$ matrix, $\boldsymbol{\beta}$ is a $k \times 1$ vector and $\varepsilon$ is a $T \times 1$ vector. Our system can be written more succinctly as, $$\mathbf{y}=\mathbf{X} \boldsymbol{\beta}+\varepsilon$$ Since we assume that $\varepsilon_{1}, \ldots, \varepsilon_{T}$ are iid $\mathcal{N}\left(0, \sigma^{2}\right), \varepsilon$ has a multivariate normal distribution with mean vector $\mathbf{0}_{T}$ and covariance matrix $\mathbf{\Sigma} = \sigma^{2} \mathbf{I}_{T}$, where $\mathbf{0}_{T}$ is a $T \times 1$ vector of zeros and $\mathbf{I}_{T}$ is the $T \times T$ identity matrix. That is, $$\varepsilon \sim \mathcal{N}\left(0, \sigma^{2} \mathbf{I}_{T}\right)$$ Now we move on to the derivation of the likelihood function. """ # ╔═╡ 9ffed7a8-f8d3-4c1a-affa-5d6646683829 md""" ### Estimation """ # ╔═╡ 993c9137-d708-4feb-8a85-51d85c38fc8d md""" The first thing that we do in the estimation procedure is derive the likelihood function. This function is defined as the joint density of the data given the parameters. In our case, the likelihood function is the joint density of $\mathbf{y}$ given $\boldsymbol{\beta}$ and $\sigma^{2}$. To derive the likelihood of the normal linear regression model, we use two useful results. First, an affine transformation, i.e. a linear transformation followed by a translation of a normal random vector, is also a normal random vector. You can find a discussion on this results [here](https://math.stackexchange.com/questions/332441/affine-transformation-applied-to-a-multivariate-gaussian-random-variable-what). Now, $\mathbf{y}$ is an affine transformation of $\varepsilon$, which is assumed to have a multivariate normal distribution. Thus, $\mathbf{y}$ also has a normal distribution. Since a normal distribution is uniquely determined by its mean vector and covariance matrix, it suffices to compute the mean and covariance matrix of $\mathbf{y}$. This brings us to the next useful result: suppose $\mathbf{u}$ has a mean vector $\boldsymbol{\mu}_{\mathrm{u}}$ and covariance matrix $\boldsymbol{\Sigma}_{\mathbf{u}}$. Let $\mathbf{v}=\mathbf{A} \mathbf{u}+\mathbf{c}$ for constant matrices $\mathbf{A}$ and $\mathbf{c} .$ Then the mean vector and covariance matrix of $\mathbf{v}$ are given by $$\mathbb{E} \mathbf{v}=\mathbf{A} \boldsymbol{\mu}_{\mathbf{u}}+\mathbf{c}, \quad \operatorname{Cov}(\mathbf{u})=\mathbf{A} \boldsymbol{\Sigma}_{\mathbf{u}} \mathbf{A}^{\prime}$$ Using this result, it is easy to see that given $\boldsymbol{\beta}$ and $\sigma^{2}$, $$\mathbb{E} \mathbf{y}=\mathbf{X} \boldsymbol{\beta}, \quad \operatorname{Cov}(\mathbf{y})=\sigma^{2} \mathbf{I}_{T}$$ Putting it all together, we have $$\mathbf{y} \mid \boldsymbol{\beta}, \sigma^{2} \sim \mathcal{N}\left(\mathbf{X} \boldsymbol{\beta}, \sigma^{2} \mathbf{I}_{T}\right)$$ This means that estimating the linear regression model is the same as estimating the parameters of a multivariate Nomral distribution with unknown mean and covariance. In order to estimate the model parameters with Bayesian methods we need to apply Bayes' rule. $$\begin{align} p(\boldsymbol{\beta},\sigma^2 \mid \mathbf{y}) \propto p(\mathbf{y} \mid \boldsymbol{\beta},\sigma^2)p(\boldsymbol{\beta},\sigma^2) \end{align}$$ The posterior is comprised of the likelihood function $p(\mathbf{y} \mid\boldsymbol{\beta},\sigma^2)$ and the joint prior distribution $p(\boldsymbol{\beta},\sigma^2)$. """ # ╔═╡ dcf7adfb-0d6e-4459-a3cc-6a20cc632c72 md""" #### Likelihood function """ # ╔═╡ a541e83e-22c5-48c7-9beb-705d26f602ee md""" For this model the likelihood function is then given by: $$\begin{aligned} p\left(\mathbf{y} \mid \boldsymbol{\beta}, \sigma^{2}\right) &=\left|2 \pi \sigma^{2} \mathbf{I}_{T}\right|^{-\frac{1}{2}} \mathrm{e}^{-\frac{1}{2}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}\left(\sigma^{2} \mathbf{I}_{T}\right)^{-1}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})} \\ &=\left(2 \pi \sigma^{2}\right)^{-\frac{T}{2}} \mathrm{e}^{-\frac{1}{2 \sigma^{2}}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})} \end{aligned}$$ where $|\cdot|$ denotes the determinant. Also note that the second equality follows from the result that for an $n \times n$ matrix $\mathbf{A}$ and scalar $c,|c \mathbf{A}|=c^{n}|\mathbf{A}|$. In our example this means that $|\sigma^{2} \mathbf{I}_{t}| = (\sigma^{2})^{T}$. For this equation we also have that $\sigma^{2} \mathbf{I}_{t} = \frac{1}{\sigma^{2}}$. """ # ╔═╡ 5b442d42-b6ff-4677-afff-a00cfdb00fbc md""" #### Priors """ # ╔═╡ 8a8dea4a-3f49-4095-a1a0-d4d3c803c171 md""" In specifying priors we need to take a stance on the dependence between the model parameters $\boldsymbol{\beta}$ and $\sigma^{2}$. If we believe that the regression coefficients might depend on the error variance, i.e. $p(\boldsymbol{\beta},\sigma^2)=p(\boldsymbol{\beta}|\sigma^2)p(\sigma^2)$, then it turns out (see [Chapter 2 of Koop's Bayesian Econometrics](https://www.amazon.com/Bayesian-Econometrics-Gary-Koop/dp/0470845678)) that the natural conjugate prior for $\boldsymbol{\beta}$ and $\sigma^2$ is the [Normal-Gamma distribution](https://en.wikipedia.org/wiki/Normal-gamma_distribution) denoted by $$\boldsymbol{\beta},\sigma^2 \sim NG(m_0,v_0,\nu_0,S_0)$$ in which $m_0,v_0,\nu_0$ and $S_0$ are hyperparameters. If we believe that the regression coefficients and the error variance are independent, i.e. $p(\boldsymbol{\beta},\sigma^2)=p(\boldsymbol{\beta})p(\sigma^2)$, then it's convenient to specify the following conjugate priors 1. Multivariate Normal prior for $\boldsymbol{\beta}$, i.e. $\boldsymbol{\beta}\sim N(\mathbf{m}_0,\mathbf{V}_0)$ 2. Inverse-Gamma prior for $\sigma^2$, i.e. $\sigma^2\sim IG(\nu_0,S_0)$ The explicit prior densities are given by, $$\begin{aligned} p(\boldsymbol{\beta}) &=(2 \pi)^{-\frac{k}{2}}\left|\mathbf{V}_{0}\right|^{-\frac{1}{2}} \mathrm{e}^{-\frac{1}{2}\left(\boldsymbol{\beta}-\boldsymbol{m}_{0}\right)^{\prime} \mathbf{V}_{\boldsymbol{0}}^{-1}\left(\boldsymbol{\beta}-\boldsymbol{m}_{0}\right)} \\ p\left(\sigma^{2}\right) &=\frac{S_{0}^{\nu_{0}}}{\Gamma\left(\nu_{0}\right)}\left(\sigma^{2}\right)^{-\left(\nu_{0}+1\right)} \mathrm{e}^{-\frac{S_{0}}{\sigma^{2}}} \end{aligned}$$ We will assume the latter is true (i.e., that parameters are independent). """ # ╔═╡ be364d9e-c04d-47fd-ac2f-2be93bdd3f87 md""" #### Posterior """ # ╔═╡ 4a985421-7513-407a-8edf-01df7b405c55 md""" To get the posterior, we combine the prior and likelihood $$\begin{align} p(\boldsymbol{\beta},\sigma^2|\mathbf{y}) &\propto p(\mathbf{y}|\boldsymbol{\beta},\sigma^2)p(\boldsymbol{\beta})p(\sigma^2)\\ &\propto \underset{p(\mathbf{y}|\boldsymbol{\beta},\sigma^2)}{\underbrace{(\sigma^2)^{-\frac{T}{2}}\exp(-\frac{1}{2\sigma^2}(\mathbf{y}-\mathbf{X}\boldsymbol{\beta})'(\mathbf{y}-\mathbf{X}\boldsymbol{\beta}))}}\underset{p(\boldsymbol{\beta})}{\underbrace{\exp(-\frac{1}{2}(\boldsymbol{\beta}-\mathbf{m}_0)'\mathbf{V}_0^{-1}(\boldsymbol{\beta}-\mathbf{m}_0))}}\underset{p(\sigma^2)}{\underbrace{(\sigma^2)^{-(\nu_0+1)}\exp(-\frac{S_0}{\sigma^2})}}\\ &\propto (\sigma^2)^{-(\frac{T}{2}\nu_0+1)}\exp(-\frac{1}{2\sigma^2}(S_0 + (\mathbf{y}-\mathbf{X}\boldsymbol{\beta})'(\mathbf{y}-\mathbf{X}\boldsymbol{\beta})) -\frac{1}{2}(\boldsymbol{\beta}-\mathbf{m}_0)'\mathbf{V}_0^{-1}(\boldsymbol{\beta}-\mathbf{m}_0)))\\ \end{align}$$ This final distribution is an unknown distribution. However, we know that we can use a two-block Gibbs sampler to estimate the parameters of a univariate Normal distribution (from above). Now we need to see whether we can extend this to parameters of a multivariate Normal distribution. """ # ╔═╡ 5b3bd2d1-2697-4516-aa58-99b3d229e5f3 md""" #### Gibbs sampling (full derivation) """ # ╔═╡ 8cf7fa3c-aaf2-4684-869e-d099218fe6e9 md""" Now, we derive a Gibbs sampler for the normal linear regression. Specifically, we need to derive the two conditional densities $p\left(\sigma^{2} \mid \mathbf{y}, \boldsymbol{\beta}\right)$ and $p\left(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2}\right)$. The full conditional distributions are $p(\boldsymbol{\beta} \mid \mathbf{y},\sigma^2)\propto p(\mathbf{y} \mid \boldsymbol{\beta},\sigma^2)p(\boldsymbol{\beta})$ $p(\sigma^2 \mid \mathbf{y},\boldsymbol{\beta})\propto p(\mathbf{y} \mid \boldsymbol{\beta},\sigma^2) p(\sigma^2)$ **First block:** First, we can show that the conditional density $p\left(\sigma^{2} \mid \mathbf{y}, \boldsymbol{\beta}\right)$ is inverse-gamma: $$\begin{aligned} p\left(\sigma^{2} \mid \mathbf{y}, \boldsymbol{\beta}\right) & \propto p\left(\mathbf{y} \mid \boldsymbol{\beta}, \sigma^{2}\right) p\left(\sigma^{2}\right) \\ & \propto\left(\sigma^{2}\right)^{-\frac{T}{2}} \mathrm{e}^{-\frac{1}{2 \sigma^{2}}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})} \times\left(\sigma^{2}\right)^{-\left(\nu_{0}+1\right)} \mathrm{e}^{-\frac{S_{0}}{\sigma^{2}}} \\ &=\left(\sigma^{2}\right)^{-\left(\frac{T}{2}+\nu_{0}+1\right)} \mathrm{e}^{-\frac{1}{\sigma^{2}}\left(S_{0}+\frac{1}{2}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})\right)} \end{aligned}$$ We recognize this as the kernel of an inverse-gamma density. In fact, we have $$\left(\sigma^{2} \mid \mathbf{y}, \boldsymbol{\beta}\right) \sim \mathcal{I} G\left(\nu_{0}+\frac{T}{2}, S_{0}+\frac{1}{2}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})\right)$$ In other words it is the the kernel of an inverse-gamma density with scale parameter $\nu = \frac{T}{2}+\nu_0$ and shape parameter $S = S_0 + (\mathbf{y}-\mathbf{X}\boldsymbol{\beta})'(\mathbf{y}-\mathbf{X}\boldsymbol{\beta})$. Thus $$\sigma^2 \mid \mathbf{y},\boldsymbol{\beta} \sim \mathcal{I} G(\nu,S)$$ **Second block:** Next, we derive the conditional density $p\left(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2}\right)$. To that end, first note that the likelihood involves the quadratic term $(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta})$, which can be expanded as $$\begin{aligned} (\mathbf{y}-\mathbf{X} \boldsymbol{\beta})^{\prime}(\mathbf{y}-\mathbf{X} \boldsymbol{\beta}) &=\mathbf{y}^{\prime} \mathbf{y}-\mathbf{y}^{\prime} \mathbf{X} \boldsymbol{\beta}-\boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{y}+\boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{X} \boldsymbol{\beta} \\ &=\boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{X} \boldsymbol{\beta}-2 \boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{y}+\mathbf{y}^{\prime} \mathbf{y} \end{aligned}$$ where we have used the fact that $\mathbf{y}^{\prime} \mathbf{X} \boldsymbol{\beta}$ is a scalar, and therefore it is equal to its transpose: $$\mathbf{y}^{\prime} \mathbf{X} \boldsymbol{\beta}=\left(\boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{y}\right)^{\prime}=\boldsymbol{\beta}^{\prime} \mathbf{X}^{\prime} \mathbf{y}$$ Similarly, the quadratic term in the prior can be expanded as $$\left(\boldsymbol{\beta}-\boldsymbol{m}_{0}\right)^{\prime} \mathbf{V}_{\boldsymbol{\beta}}^{-1}\left(\boldsymbol{\beta}-\boldsymbol{m}_{0}\right)=\boldsymbol{\beta}^{\prime} \mathbf{V}_{\boldsymbol{0}}^{-1} \boldsymbol{\beta}-2 \boldsymbol{\beta}^{\prime} \mathbf{V}_{\boldsymbol{0}}^{-1} \boldsymbol{m}_{0}+\boldsymbol{m}_{0}^{\prime} \mathbf{V}_{\boldsymbol{0}}^{-1} \boldsymbol{m}_{0}$$ For notational convenience, let $\frac{1}{\sigma^{2}} = \Sigma^{-1}$ where $\Sigma = \sigma^{2}\mathbf{I}_{T}$. The conditional density $p\left(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2}\right)$ is then given by $$\begin{align} p(\boldsymbol{\beta} \mid \mathbf{y},\sigma^2)&\propto p(\mathbf{y} \mid \boldsymbol{\beta},\sigma^2)p(\boldsymbol{\beta})\\ &\propto\exp(-\frac{1}{2}((\mathbf{y}-\mathbf{X}\boldsymbol{\beta})'\boldsymbol{\Sigma}^{-1}(\mathbf{y}-\mathbf{X}\boldsymbol{\beta}))\exp(-\frac{1}{2}(\boldsymbol{\beta}-\mathbf{m}_0)'\mathbf{V}_0^{-1}(\boldsymbol{\beta}-\mathbf{m}_0))\\ &\propto\exp(-\frac{1}{2}((\boldsymbol{\beta}'\mathbf{X}'\boldsymbol{\Sigma}^{-1}\mathbf{X}\boldsymbol{\beta}-2\boldsymbol{\beta}'\mathbf{X}'\boldsymbol{\Sigma}^{-1}\mathbf{y}))\exp(-\frac{1}{2}(\boldsymbol{\beta}'\mathbf{V}_0^{-1}\boldsymbol{\beta}-2\boldsymbol{\beta}'\mathbf{V}_0^{-1}\mathbf{m}_0))\\ &=\exp(-\frac{1}{2}(\boldsymbol{\beta}'(\mathbf{X}'\boldsymbol{\Sigma}^{-1}\mathbf{X}+\mathbf{V}_0^{-1})\boldsymbol{\beta}-2\boldsymbol{\beta}'(\mathbf{X}'\boldsymbol{\Sigma}^{-1}\mathbf{y} + \mathbf{V}_0^{-1}\mathbf{m}_0))\\ \end{align}$$ Since the exponent is quadratic in $\boldsymbol{\beta}, p\left(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2}\right)$ is a multivariate normal density, $$\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2} \sim \mathcal{N}\left(\widehat{\boldsymbol{\beta}}, \mathbf{D}_{\boldsymbol{\beta}}\right)$$ for some mean vector $\widehat{\boldsymbol{\beta}}$ and covariance matrix $\mathbf{D}_{\beta}$. Next, we derive explicit expressions for $\widehat{\boldsymbol{\beta}}$ and $\mathbf{D}_{\boldsymbol{\beta}}$ The kernel of $\mathcal{N}\left(\widehat{\boldsymbol{\beta}}, \mathbf{D}_{\boldsymbol{\beta}}\right)$ is simply $$p(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2}) \propto \mathrm{exp}\left({-\frac{1}{2}\left(\boldsymbol{\beta}^{\prime} \mathbf{D}_{\boldsymbol{\beta}}^{-1} \boldsymbol{\beta}-2 \boldsymbol{\beta}^{\prime} \mathbf{D}_{\boldsymbol{\beta}}^{-1} \widehat{\boldsymbol{\beta}}\right)}\right)$$ Comparing this with the kernel in a previous expression, we have that $$\mathbf{D}_{\boldsymbol{\beta}}=\left(\mathbf{V}_{0}^{-1}+\frac{1}{\sigma^{2}} \mathbf{X}^{\prime} \mathbf{X}\right)^{-1}, \quad \widehat{\boldsymbol{\beta}}=\mathbf{D}_{\beta}\left(\mathbf{V}_{0}^{-1} \boldsymbol{m}_{0}+\frac{1}{\sigma^{2}} \mathbf{X}^{\prime} \mathbf{y}\right)$$ Even though one can use the built-in functionality in _Julia_ to sample from $\mathcal{N}(\boldsymbol{\mu}, \mathbf{\Sigma})$, it is instructive to see how it can be done by simply transforming independent standard normal random variables. """ # ╔═╡ 0999d280-3d93-4a0d-a487-215a3f068fee md""" ### Sampling from a Multivariate Normal distribution """ # ╔═╡ f43f8154-5bd3-4a33-8316-991417549d32 md""" To generate $R$ independent draws from $\mathcal{N}(\boldsymbol{\mu}, \mathbf{\Sigma})$ of dimension $n$, carry out the following steps: 1. Compute the lower Cholesky factorization $\mathbf{\Sigma}=\mathbf{B B}^{\prime}$. 2. Generate $\mathbf{Z}=\left(Z_{1}, \ldots, Z_{n}\right)^{\prime}$ by drawing $Z_{1}, \ldots, Z_{n} \sim \mathcal{N}(0,1)$. 3. Return $\mathbf{U}=\boldsymbol{\mu}+\mathbf{B Z}$. 4. Repeat Steps 2 and 3 independently $R$ times. We can show what this process looks like below. """ # ╔═╡ 6ec571a0-6407-439a-b7f3-fb15085d73bf begin ## Sample from a Multivariate Normal Distribution # Set up Normal random vector n = 2 # Dimension of Normal random vector mu = ones(n); A = randn(n, n); Sig = A' * A; # positive definite matrix # Simulate R = 10000; # Simulation size U = zeros(R, 2); # storage matrix for i in 1:R U[i,:] = transpose(mu + (cholesky(Sig).L) * rand(Normal(0, 1), n)); end # Summary statistics muhat = mean(U, dims=1); Sighat = cov(U); end; # ╔═╡ 3752db0a-3c4f-48e9-89ec-c14927584a1d md""" In _Julia_ we could have simply run the following command to sample from this distribution """ # ╔═╡ 6e288af8-8f7d-4d4a-9fc3-4bb7df212e8e rand(MvNormal(mu, Sig)); # ╔═╡ fd643db4-ad7f-4203-b7ed-96c730343013 md""" However, it is computationially more efficient to use the first method. """ # ╔═╡ c5c4da02-8b6b-4318-b625-ce4f31703c79 md""" ### Gibbs Sampler for Regression """ # ╔═╡ 428eb291-d516-4b56-91e7-df3a92cd3a4f md""" Pick some initial values $\boldsymbol{\beta}^{(0)}=\mathbf{a}_{0}$ and $\sigma^{2(0)}=b_{0}>0 .$ Then, repeat the following steps from $r=1$ to $R:$ 1. Draw $\sigma^{2(r)} \sim p\left(\sigma^{2} \mid \mathbf{y}, \boldsymbol{\beta}^{(r-1)}\right)$ (inverse-gamma). 2. Draw $\boldsymbol{\beta}^{(r)} \sim p\left(\boldsymbol{\beta} \mid \mathbf{y}, \sigma^{2(r)}\right)$ (multivariate normal). Next we show how to implement this process in Julia. """ # ╔═╡ 223f4b6f-8321-4142-9dfa-1afe371d40ac md""" ### Practical implementation """ # ╔═╡ edaf930a-4933-4047-8854-bbb02ea9c39c md""" As an example, the following code first generates a sample of $T=500$ observations from a normal linear regression model. It then implements the Gibbs sampler in our second algorithm, where the sampler is initialized using the least squares estimate. The posterior means of the model parameters are stored in the variable `theta_hat` and the corresponding $95$ percent credible intervals are stored in `theta_CI`. """ # ╔═╡ c9c8d57b-3010-4056-aaa3-a0354cf456fd function data_gen2(T, β, σ2) X = [ones(T, 1) 1 .+ randn(T, 1)] return X * β' .+ sqrt(σ2) .* randn(T, 1) end; # ╔═╡ bb10296b-1b93-46d9-bd5f-c11a4ed8bcae y_dg = data_gen2(T, β, σ2) # ╔═╡ bfd8fab5-64fb-4bee-aee6-e9691cc887f8 mean(y_dg) # ╔═╡ 1c38646c-b750-4402-bc70-571670cd7acd var(y_dg) # ╔═╡ 000cf50f-d3f8-452b-b661-11545c2ec0c4 function get_prior(ν_0) Vβ_0 = I(2) ./ 100 # Prior for beta Σ_0 = 1 * (ν_0 - 1) # Prior for Sig2 return Vβ_0, Σ_0 end; # ╔═╡ 7b70270e-2991-40ee-97a9-082691e68701 function ols_est(T, β, σ2) y = data_gen2(T, β, σ2) # Generated data X = [ones(T, 1) 1 .+ randn(T, 1)] β_1 = (X' * X) \ (X' * y) σ2_1 = sum((y .- X * β_1) .^ 2) / T return β_1, σ2_1 end; # ╔═╡ 791939ae-3e00-4d6b-968c-5a82a78f55f8 function gibbs_linear(nsim, burnin, T, β, σ2, β_0, ν_0) y = data_gen2(T, β, σ2) # Generated data X = [ones(T, 1) 1 .+ randn(T, 1)] Vβ_0, Σ_0 = get_prior(ν_0) β_1, σ2_1 = ols_est(T, β, σ2) # Initialise Markov Chain store_θ = zeros(nsim, 3) # Start the Gibbs sampling procedure for i in 1:nsim + burnin # Sample from beta D_β = (Vβ_0 .+ X' * X / σ2_1) \ I(2) β_hat = D_β * (Vβ_0 * β_0' .+ X' * y ./ σ2_1) # Refer to section on sampling from multivariate normal C = cholesky(Hermitian(D_β)).L β_1 = β_hat .+ C * randn(2,1) # Sample from σ2 e = y - X * β_1 sig2 = rand(InverseGamma(ν_0 .+ T/2, Σ_0 + (e' * e / 2)[1])) if i > burnin isave = i .- burnin store_θ[isave, :] = [β_1' σ2_1] end end mean(store_θ[:, 1]), mean(store_θ[:, 2]), store_θ end; # ╔═╡ 9d1361c3-6de1-4326-85f8-4a272856d16b posterior_beta, posterior_sig2, store_θ = gibbs_linear(nsim, burnin, T, β, σ2, β_0, ν_0); # ╔═╡ 01f5e6cd-1efa-49a2-8d0d-b5536bdd7388 begin x_n = collect(1:(nsim-burnin)); pg1 = histogram(x_n, store_θ[:,1], normalize=:pdf, title = "Posterior: Beta", legend = false) pg2 = histogram(x_n, store_θ[:,3], normalize=:pdf, title = "Posterior: Sigma2", legend = false) plot(pg1,pg2, layout = (1,2), legend = false) end # ╔═╡ 442f79e7-425b-43fd-a760-099f5005d4b1 md""" ## Regression with `Turing.jl` """ # ╔═╡ b58c1e30-da22-4ff2-93e7-6c2bf2e3a7e3 md""" Let us start with trying to replicate our linear regression from the previous section in `Turing.jl`. """ # ╔═╡ 5e9d778f-dd29-46ca-85ee-0eb2b4e4d027 @model linear_regression_1(X, y) = begin #priors α ~ Normal(mean(y), 2.5 * std(y)) β ~ Normal(TDist(3), predictors) σ ~ InverseGamma(2) #likelihood y ~ MvNormal(α .+ X * β, σ) end; # ╔═╡ d5e73cc5-0a28-4a84-ba7e-7d493c53114b md""" We will be doing a quick regression using a dataset from the `RDatasets` package. You can pick whatever you find interesting. I wanted it to be related to economics in some way, so I chose the `Ecdat` dataset, which is supposed to be relevant for econometrics """ # ╔═╡ f3109dad-1b97-4f68-babd-65751142486a ic_data = RDatasets.dataset("Ecdat", "Icecream") # ╔═╡ 692704dd-4be7-4c51-a421-2273f2b0711b md" First we split the dataset into two subsets. One for the training model and the other for evaluation. " # ╔═╡ 8d35cc9d-e37a-4a42-83af-8f48ffa67252 # Split our dataset 70%/30% into training/test sets. trainset, testset = splitobs(shuffleobs(ic_data), 0.7) # ╔═╡ 71172cf3-be3e-416b-a35f-9ba724c528f0 md" Convert everything to matrix form, not DataFrames. " # ╔═╡ bd6bcc2d-dd6d-4140-a62f-61a0c27bcda1 begin # Turing requires data in matrix form. target = :Cons train = Matrix(select(trainset, Not(target))) test = Matrix(select(testset, Not(target))) train_target = trainset[:, target] test_target = testset[:, target] # Standardize the features. μ₂, σ₂ = rescale!(train; obsdim = 1) rescale!(test, μ₂, σ₂; obsdim = 1) # Standardize the targets. μtarget, σtarget = rescale!(train_target; obsdim = 1) rescale!(test_target, μtarget, σtarget; obsdim = 1); end; # ╔═╡ 0b23e994-d1c7-466e-bb40-e8b1db183885 md""" #### Model specification """ # ╔═╡ 8c803ed9-051b-45a0-8e8a-c3754b0a1f10 # Bayesian linear regression. @model function linear_regression(x, y) # Set variance prior. σ₂ ~ truncated(Normal(0, 100), 0, Inf) # Set intercept prior. intercept ~ Normal(0, sqrt(3)) # Set the priors on our coefficients. nfeatures = size(x, 2) coefficients ~ MvNormal(nfeatures, sqrt(10)) # Calculate all the mu terms. mu = intercept .+ x * coefficients y ~ MvNormal(mu, sqrt(σ₂)) end; # ╔═╡ 7cf8df8f-aa2d-41f9-95b7-b50fc191cb9d model = linear_regression(train, train_target); # ╔═╡ 7967b6e7-8391-4489-9e36-fe281dfe3fcc chain = sample(model, NUTS(0.65), 2_000); # ╔═╡ beaa1dfc-e2a7-4125-a45e-bfba93f8f02a plot(chain) # ╔═╡ 3006d4f8-1cca-4947-8dc6-3b77b278fbb8 md""" ## Autoregressive model """ # ╔═╡ 22bdce87-a1f2-440b-965a-391148b010ac md""" As you know from the first semester, the autoregressive model is a workhorse model in economics and finance. This model is represented by $$y_t = \rho_0 + \rho_1 y_{t-1} + \dots + \rho_p y_{t-p} + e_t, \quad e_t\sim N(0,\sigma^2)$$ where $\rho_0$ is an unknown real-valued constant and $\rho_i$ for $i = 1, \ldots, p$ are the **unknown** coefficients and $\sigma^2 \geq 0$ is the **unknown** error variance. The number of lagged terms determines the order of the AR process. We estimate an AR(1) model on simulated data as follows. """ # ╔═╡ 54d73a3a-5804-44cf-b771-7313790129e4 begin ## Simulate Data for AR(1) process true_beta0 = 0; # true intercept true_beta1 = 0.6; # true AR(1) coefficient true_sig2 = 1; # true variance T_1 = 1000; # no. of dates y0 = true_beta0/(1 - true_beta1); # initial condition y = zeros(T_1); # storage vector y[1] = y0; for t = 2:T_1 y[t] = true_beta0 + true_beta1*y[t-1] + rand(Normal(0,sqrt(true_sig2))); end data_new = y; x_1 = collect(1:1:T_1); plot(x_1, data_new, label="Simulated Data") end # ╔═╡ f539d376-0f23-4667-9b26-25848b5c635a begin # Define key variables in linear regression model p = 1; # AR order y0_new = data_new[1:p]; # Initial conditions y_new = data_new[p+1:end]; # Observations T_new = size(y_new, 1); # Dates after removing initial conditions X = [ones(T_new) data_new[1:end-1]]; # intercept and first lag x_new = collect(1:1:T_new); plot(x_new, y_new, label="Data") plot!(x_new, X[:,2], label="First lag") end # ╔═╡ 78f29328-9670-4f77-a0d0-4386c6aa71ae function gibbs_AR(X, T, y) # Controls nburn = 1000; ndraws = nburn + 10000; # Prior for beta k = size(X,2); # number of regressors pri_m = zeros(k); # prior mean pri_v = Diagonal(10*ones(k)); # prior covariance pri_beta = MvNormal(pri_m,pri_v); # prior distribution # Prior for sig2 pri_nu = 3; # prior shape parameter pri_S = 1*(pri_nu-1); # prior scale parameter - sets E(pri_sig2) = 1 pri_sig2 = InverseGamma(pri_S,pri_S); # prior distribution # Storage s_beta = zeros(ndraws-nburn,k); s_sig2 = zeros(ndraws-nburn,1); # Deterministic terms in posterior post_nu = pri_nu + T/2; # posterior shape parameter for sig2 inv_priV = (pri_v)\I(k); # inverse prior covariance for beta XpX = X'*X; Xpy = X'*y; # Initial conditions MC_beta = XpX\Xpy; MC_sig2 = (y-X*MC_beta)'*(y-X*MC_beta)/T; # Markov chain for loop in 1:ndraws # Draw beta post_v = (XpX/MC_sig2 + inv_priV)\I(k); post_m = post_v*(Xpy/MC_sig2 + inv_priV*pri_m); #MC_beta = post_m + (cholesky(post_v).L)*rand(Normal(0,1),k); MC_beta = post_m + (cholesky(Hermitian(post_v)).L)*rand(Normal(0,1),k); # Draw sig2 post_S = pri_S +0.5*(y-X*MC_beta)'*(y-X*MC_beta); MC_sig2 = rand(InverseGamma(post_nu,post_S)); # Store if loop > nburn count_loop = loop - nburn; s_beta[count_loop,:] = transpose(MC_beta); s_sig2[count_loop] = MC_sig2; end end ## Summarize results # Compute posterior mean using Monte Carlo Integration post_beta = mean(s_beta,dims=1); post_sig2 = mean(s_sig2); post_beta, post_sig2, s_beta, s_sig2 end; # ╔═╡ 2502b96c-7bdc-4749-b92e-f171f60a4508 begin nburn = 1000; ndraws = nburn + 10000; post_beta, post_sig2, s_beta, s_sig2 = gibbs_AR(X, T_new, y_new) end; # ╔═╡ 01b84089-7a99-4bc4-93f4-5259fabde2cb begin # Trace plots x_t = collect(1:(ndraws-nburn)) p1a = plot(x_t,s_beta[:,1], title = "Markov chain: beta0", legend = false); p1b = plot(x_t,s_beta[:,2], title = "Markov chain: beta1", legend = false); p1c = plot(x_t,s_sig2, title = "Markov chain: sig2", label="posterior draws"); end; # ╔═╡ 82fb8ff1-8017-4554-ba79-98045b1fccf3 begin # Plot marginal posterior distributions x_h = collect(1:(ndraws-nburn)); histogram(x_h, s_beta[:,1], normalize=:pdf, title = "Posterior: beta0", legend = false) plot!([true_beta0], seriestype="vline", legend = false) p2a = plot!([post_beta[1]], seriestype="vline", legend = false) histogram(x_h, s_beta[:,2], normalize=:pdf, title = "Posterior: beta1", legend = false) plot!([true_beta1], seriestype="vline", legend = false) p2b = plot!([post_beta[2]], seriestype="vline", legend = false) histogram(x_h, s_sig2, normalize=:pdf, title = "Posterior: sig2", label="Empirical pdf") plot!([true_sig2], seriestype="vline", label="True value") p2c = plot!([post_sig2], seriestype="vline", label="MC mean") plot(p2a,p2b,p2c,layout = (1,3), legend = false) end # ╔═╡ 4b4dde8d-e34d-44ac-9010-8ca22feae0e2 md""" We can extend this example to a moving average model and thereby also the more general class of ARMA models. """ # ╔═╡ c5d09e13-540d-4993-834b-dd1565a06f1a md""" ### Autoregressive model with `Turing.jl` """ # ╔═╡ 8e9d13a9-46f6-406e-b53c-a1f763178b5a md""" Instead of necesarilly writing our own routine for the Gibbs sampler, we can use the functionality of `Turing.jl` to generate estimates of the parameters of interest. Consider the following code for the AR(1) case. """ # ╔═╡ 1f9ae2e6-bb0c-45cb-8992-684e14892b36 @model function ar1(ys=missing) if ys === missing ys = Vector{Real}(undef, 10) end n = length(ys) # Uninformative priors # alpha ~ Uniform(-2,2) # beta ~ Uniform(-2,2) # sigma ~ Uniform(0,2) # Informative priors beta_0 ~ Normal(2,2) beta_1 ~ Normal(2,2) sig2 ~ InverseGamma(2,2) ys[1] ~ Normal(beta_0 + beta_1, sig2) for i in 2:n ys[i] ~ Normal(beta_0 + beta_1 * ys[i-1], sig2) end end; # ╔═╡ 1e62adf7-17ba-4f2d-b401-c3822d266d81 model_new = ar1(y_new) # ╔═╡ 78156e4d-e593-4e8c-8d4b-6567a3671aff chs = sample(model_new,NUTS(), 10_000) # ╔═╡ 48a26331-e569-4f15-b271-9a2a3b640878 plot(chs) # ╔═╡ d66073c1-1de0-4532-8686-d56255350193 md""" Let us look at one last thing for this section with respect to ARIMA models. The purpose here is to show you how to load data and manipulate with the DataFrames package. """ # ╔═╡ 7eaf829b-7398-4026-8eae-d84cbbb80fe0 md""" ### ARIMA forecasting with `StateSpaceModels.jl` """ # ╔═╡ 5a4eb3d4-ccde-4b88-bc45-75fe85c6bdb1 md""" Generally if you are going to be doing ARIMA forecasts I would recommend the `forecast` package in R. It has a lot of nice functionality. This is not a Bayesian package, but not everything you do has to be Bayesian. If you want to go with a Bayesian approach one normally has to frame the model in a state space setting. I will make a quick reference below to state space models in another lecture. State space modelling is also a precursor to the work on TVP-VARs and the Kalman filter. However, due to time considerations, we won't be able to do all of the work indicated. I suggest the `bsts` or `bayesforecast` pacakges in R for the purpose of Bayesian structural time series modelling.""" # ╔═╡ 34307b89-0a10-4339-9356-fd21fd877e95 md" Let us look at some financial data for our next example. Ice cream data might not have been the best bet for **real / serious** econometric analysis... Only you can decide if this is the case. " # ╔═╡ d81f725d-a250-44e8-98ba-5c0efecdb19c df = urldownload("https://raw.githubusercontent.com/inertia7/timeSeries_sp500_R/master/data/data_master_1.csv") |> DataFrame # ╔═╡ dfbe27b2-bfdd-40e9-a63c-3115c308de75 s = df.sp_500; # ╔═╡ 455a97c8-db6e-42d8-82b1-9c21f2794ab7 plot(s, legend = false, lw = 1.5, alpha = 0.8) # ╔═╡ 3f656347-0b61-4b7e-b52f-c4f34d724f5c begin # Split into training and test sets. train_percentage = 0.95 s_train = s[1:floor(Int, train_percentage*length(s))] N₂ = length(s_train) end; # ╔═╡ 536ecb71-f33f-402d-8d6f-16291aa9530f md" We can test for stationarity with a Dickey Fuller test. " # ╔═╡ ccea5b69-dfb1-47ee-bd54-7b58d87f09f5 ADFTest(s_train, Symbol("constant"), 5) # ╔═╡ d90046ec-2bb6-4224-a26d-65550d86dc96 md" We observe stationarity and the easiest way to resolve this is by taking a first difference. " # ╔═╡ 6c7f89c4-cbeb-42c6-aba4-cff79a68ab8f begin s_diff = diff(s_train) plot(s_diff, legend = false, lw = 1.5, alpha = 0.8) end # ╔═╡ 1c1d4271-6cec-4d86-be3b-1e89417154ee ADFTest(s_diff, Symbol("constant"), 5) # ╔═╡ 9b5622fa-9caf-4f54-a15d-f8b731dc842b md" Seems stationary, so let's move to our next step. We want to figure out the number of MA and AR terms by using ACF and PACF plots. You should have this type of process in the first semester. " # ╔═╡ 596fdda0-0d0e-4e45-8fa2-5618122a08b6 begin total_lags = 20 s1 = plot(line = :stem, collect(1:total_lags), autocor(s_diff, collect(1:total_lags)), title = "ACF", ylim = [-0.3,0.5], lw = 10) s2 = plot(line = :stem, collect(1:total_lags), pacf(s_diff, collect(1:total_lags)), title = "PACF", ylim = [-0.3,0.5], lw = 10) plot(s1, s2, layout = (2, 1), legend = false) end # ╔═╡ e680e488-f1e2-4da8-8ef4-612f60cd030b md" For the sake of argument, let us say that we can then model with with an AR(0, 1, 1) model." # ╔═╡ b8adc2e6-2e1c-4f00-a92f-81a110b123e9 begin arima_model = SARIMA(s_diff; order = (0, 0, 1)) StateSpaceModels.fit!(arima_model) end # ╔═╡ 6b56be36-2951-4562-be94-ad263b155082 results(arima_model) # ╔═╡ a1411a18-3c64-46b1-b752-e3af0265eaf9 forec = forecast(arima_model, 24) # ╔═╡ 99ebe7a6-35c1-46ce-9d73-685d451741f7 plot(arima_model, forec; legend = false) # ╔═╡ 00000000-0000-0000-0000-000000000001 PLUTO_PROJECT_TOML_CONTENTS = """ [deps] BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" HypothesisTests = "09f84164-cd44-5f33-b23f-e6b0d136a0d5" KernelDensity = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d" MLDataUtils = "cc2ba9b6-d476-5e6d-8eaf-a92d5412d41d" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" StateSpaceModels = "99342f36-827c-5390-97c9-d7f9ee765c78" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd" Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" UrlDownload = "856ac37a-3032-4c1c-9122-f86d88358c8b" [compat] BenchmarkTools = "~0.7.0" CSV = "~0.8.5" DataFrames = "~1.2.2" Distances = "~0.10.4" Distributions = "~0.24.18" HTTP = "~0.9.14" HypothesisTests = "~0.10.4" KernelDensity = "~0.6.3" MCMCChains = "~4.14.1" MLDataUtils = "~0.5.4" Plots = "~1.22.0" PlutoUI = "~0.7.1" RDatasets = "~0.7.5" StateSpaceModels = "~0.5.19" StatsBase = "~0.33.10" StatsPlots = "~0.14.27" Turing = "~0.15.1" UrlDownload = "~1.0.0" """ # ╔═╡ 00000000-0000-0000-0000-000000000002 PLUTO_MANIFEST_TOML_CONTENTS = """ # This file is machine-generated - editing it directly is not advised julia_version = "1.7.0-rc1" manifest_format = "2.0" [[deps.AbstractFFTs]] deps = ["LinearAlgebra"] git-tree-sha1 = "485ee0867925449198280d4af84bdb46a2a404d0" uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" version = "1.0.1" [[deps.AbstractMCMC]] deps = ["BangBang", "ConsoleProgressMonitor", "Distributed", "Logging", "LoggingExtras", "ProgressLogging", "Random", "StatsBase", "TerminalLoggers", "Transducers"] git-tree-sha1 = "7fcd8ce8931c56ba62827c87a291ea72ee07ce31" uuid = "80f14c24-f653-4e6a-9b94-39d6b0f70001" version = "2.5.0" [[deps.AbstractPPL]] deps = ["AbstractMCMC"] git-tree-sha1 = "ba9984ea1829e16b3a02ee49497c84c9795efa25" uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" version = "0.1.4" [[deps.AbstractTrees]] git-tree-sha1 = "03e0550477d86222521d254b741d470ba17ea0b5" uuid = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" version = "0.3.4" [[deps.Adapt]] deps = ["LinearAlgebra"] git-tree-sha1 = "84918055d15b3114ede17ac6a7182f68870c16f7" uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" version = "3.3.1" [[deps.AdvancedHMC]] deps = ["ArgCheck", "DocStringExtensions", "InplaceOps", "LinearAlgebra", "Parameters", "ProgressMeter", "Random", "Requires", "Statistics", "StatsBase", "StatsFuns"] git-tree-sha1 = "7e85ed4917716873423f8d47da8c1275f739e0b7" uuid = "0bf59076-c3b1-5ca4-86bd-e02cd72cde3d" version = "0.2.27" [[deps.AdvancedMH]] deps = ["AbstractMCMC", "Distributions", "Random", "Requires"] git-tree-sha1 = "57bda8215ba78990ce600972b533e2f6516287e8" uuid = "5b7e9947-ddc0-4b3f-9b55-0d8042f74170" version = "0.5.9" [[deps.AdvancedVI]] deps = ["Bijectors", "Distributions", "DistributionsAD", "DocStringExtensions", "ForwardDiff", "LinearAlgebra", "ProgressMeter", "Random", "Requires", "StatsBase", "StatsFuns", "Tracker"] git-tree-sha1 = "130d6b17a3a9d420d9a6b37412cae03ffd6a64ff" uuid = "b5ca4192-6429-45e5-a2d9-87aec30a685c" version = "0.1.3" [[deps.ArgCheck]] git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a" uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197" version = "2.1.0" [[deps.ArgTools]] uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" [[deps.Arpack]] deps = ["Arpack_jll", "Libdl", "LinearAlgebra"] git-tree-sha1 = "2ff92b71ba1747c5fdd541f8fc87736d82f40ec9" uuid = "7d9fca2a-8960-54d3-9f78-7d1dccf2cb97" version = "0.4.0" [[deps.Arpack_jll]] deps = ["Libdl", "OpenBLAS_jll", "Pkg"] git-tree-sha1 = "e214a9b9bd1b4e1b4f15b22c0994862b66af7ff7" uuid = "68821587-b530-5797-8361-c406ea357684" version = "3.5.0+3" [[deps.ArrayInterface]] deps = ["LinearAlgebra", "Requires", "SparseArrays"] git-tree-sha1 = "a2a1884863704e0414f6f164a1f6f4a2a62faf4e" uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" version = "2.14.17" [[deps.Artifacts]] uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" [[deps.AxisAlgorithms]] deps = ["LinearAlgebra", "Random", "SparseArrays", "WoodburyMatrices"] git-tree-sha1 = "66771c8d21c8ff5e3a93379480a2307ac36863f7" uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950" version = "1.0.1" [[deps.AxisArrays]] deps = ["Dates", "IntervalSets", "IterTools", "RangeArrays"] git-tree-sha1 = "d127d5e4d86c7680b20c35d40b503c74b9a39b5e" uuid = "39de3d68-74b9-583c-8d2d-e117c070f3a9" version = "0.4.4" [[deps.BangBang]] deps = ["Compat", "ConstructionBase", "Future", "InitialValues", "LinearAlgebra", "Requires", "Setfield", "Tables", "ZygoteRules"] git-tree-sha1 = "0ad226aa72d8671f20d0316e03028f0ba1624307" uuid = "198e06fe-97b7-11e9-32a5-e1d131e6ad66" version = "0.3.32" [[deps.Base64]] uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" [[deps.Baselet]] git-tree-sha1 = "aebf55e6d7795e02ca500a689d326ac979aaf89e" uuid = "9718e550-a3fa-408a-8086-8db961cd8217" version = "0.1.1" [[deps.BenchmarkTools]] deps = ["JSON", "Logging", "Printf", "Statistics", "UUIDs"] git-tree-sha1 = "068fda9b756e41e6c75da7b771e6f89fa8a43d15" uuid = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" version = "0.7.0" [[deps.Bijectors]] deps = ["ArgCheck", "ChainRulesCore", "Compat", "Distributions", "Functors", "LinearAlgebra", "MappedArrays", "NNlib", "NonlinearSolve", "Random", "Reexport", "Requires", "SparseArrays", "Statistics", "StatsFuns"] git-tree-sha1 = "88a1303ee10c24b6df86eeafb98e502115c7be58" uuid = "76274a88-744f-5084-9051-94815aaf08c4" version = "0.8.16" [[deps.BinaryProvider]] deps = ["Libdl", "Logging", "SHA"] git-tree-sha1 = "ecdec412a9abc8db54c0efc5548c64dfce072058" uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" version = "0.5.10" [[deps.Bzip2_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "19a35467a82e236ff51bc17a3a44b69ef35185a2" uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" version = "1.0.8+0" [[deps.CSV]] deps = ["Dates", "Mmap", "Parsers", "PooledArrays", "SentinelArrays", "Tables", "Unicode"] git-tree-sha1 = "b83aa3f513be680454437a0eee21001607e5d983" uuid = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" version = "0.8.5" [[deps.Cairo_jll]] deps = ["Artifacts", "Bzip2_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "JLLWrappers", "LZO_jll", "Libdl", "Pixman_jll", "Pkg", "Xorg_libXext_jll", "Xorg_libXrender_jll", "Zlib_jll", "libpng_jll"] git-tree-sha1 = "f2202b55d816427cd385a9a4f3ffb226bee80f99" uuid = "83423d85-b0ee-5818-9007-b63ccbeb887a" version = "1.16.1+0" [[deps.CategoricalArrays]] deps = ["DataAPI", "Future", "Missings", "Printf", "Requires", "Statistics", "Unicode"] git-tree-sha1 = "fbc5c413a005abdeeb50ad0e54d85d000a1ca667" uuid = "324d7699-5711-5eae-9e2f-1d82baa6b597" version = "0.10.1" [[deps.ChainRules]] deps = ["ChainRulesCore", "Compat", "LinearAlgebra", "Random", "Reexport", "Requires", "Statistics"] git-tree-sha1 = "422db294d817de46668a3bf119175080ab093b23" uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2" version = "0.7.70" [[deps.ChainRulesCore]] deps = ["Compat", "LinearAlgebra", "SparseArrays"] git-tree-sha1 = "4b28f88cecf5d9a07c85b9ce5209a361ecaff34a" uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" version = "0.9.45" [[deps.Clustering]] deps = ["Distances", "LinearAlgebra", "NearestNeighbors", "Printf", "SparseArrays", "Statistics", "StatsBase"] git-tree-sha1 = "75479b7df4167267d75294d14b58244695beb2ac" uuid = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5" version = "0.14.2" [[deps.CodecZlib]] deps = ["TranscodingStreams", "Zlib_jll"] git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da" uuid = "944b1d66-785c-5afd-91f1-9de20f533193" version = "0.7.0" [[deps.ColorSchemes]] deps = ["ColorTypes", "Colors", "FixedPointNumbers", "Random"] git-tree-sha1 = "a851fec56cb73cfdf43762999ec72eff5b86882a" uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" version = "3.15.0" [[deps.ColorTypes]] deps = ["FixedPointNumbers", "Random"] git-tree-sha1 = "024fe24d83e4a5bf5fc80501a314ce0d1aa35597" uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" version = "0.11.0" [[deps.Colors]] deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] git-tree-sha1 = "417b0ed7b8b838aa6ca0a87aadf1bb9eb111ce40" uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" version = "0.12.8" [[deps.Combinatorics]] git-tree-sha1 = "08c8b6831dc00bfea825826be0bc8336fc369860" uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" version = "1.0.2" [[deps.CommonSolve]] git-tree-sha1 = "68a0743f578349ada8bc911a5cbd5a2ef6ed6d1f" uuid = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2" version = "0.2.0" [[deps.CommonSubexpressions]] deps = ["MacroTools", "Test"] git-tree-sha1 = "7b8a93dba8af7e3b42fecabf646260105ac373f7" uuid = "bbf7d656-a473-5ed7-a52c-81e309532950" version = "0.3.0" [[deps.Compat]] deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] git-tree-sha1 = "31d0151f5716b655421d9d75b7fa74cc4e744df2" uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" version = "3.39.0" [[deps.CompilerSupportLibraries_jll]] deps = ["Artifacts", "Libdl"] uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" [[deps.CompositionsBase]] git-tree-sha1 = "455419f7e328a1a2493cabc6428d79e951349769" uuid = "a33af91c-f02d-484b-be07-31d278c5ca2b" version = "0.1.1" [[deps.ConsoleProgressMonitor]] deps = ["Logging", "ProgressMeter"] git-tree-sha1 = "3ab7b2136722890b9af903859afcf457fa3059e8" uuid = "88cd18e8-d9cc-4ea6-8889-5259c0d15c8b" version = "0.1.2" [[deps.ConstructionBase]] deps = ["LinearAlgebra"] git-tree-sha1 = "f74e9d5388b8620b4cee35d4c5a618dd4dc547f4" uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9" version = "1.3.0" [[deps.Contour]] deps = ["StaticArrays"] git-tree-sha1 = "9f02045d934dc030edad45944ea80dbd1f0ebea7" uuid = "d38c429a-6771-53c6-b99e-75d170b6e991" version = "0.5.7" [[deps.Crayons]] git-tree-sha1 = "3f71217b538d7aaee0b69ab47d9b7724ca8afa0d" uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f" version = "4.0.4" [[deps.DataAPI]] git-tree-sha1 = "cc70b17275652eb47bc9e5f81635981f13cea5c8" uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" version = "1.9.0" [[deps.DataFrames]] deps = ["Compat", "DataAPI", "Future", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrettyTables", "Printf", "REPL", "Reexport", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"] git-tree-sha1 = "d785f42445b63fc86caa08bb9a9351008be9b765" uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" version = "1.2.2" [[deps.DataStructures]] deps = ["Compat", "InteractiveUtils", "OrderedCollections"] git-tree-sha1 = "7d9d316f04214f7efdbb6398d545446e246eff02" uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" version = "0.18.10" [[deps.DataValueInterfaces]] git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" version = "1.0.0" [[deps.DataValues]] deps = ["DataValueInterfaces", "Dates"] git-tree-sha1 = "d88a19299eba280a6d062e135a43f00323ae70bf" uuid = "e7dc6d0d-1eca-5fa6-8ad6-5aecde8b7ea5" version = "0.4.13" [[deps.Dates]] deps = ["Printf"] uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" [[deps.DefineSingletons]] git-tree-sha1 = "77b4ca280084423b728662fe040e5ff8819347c5" uuid = "244e2a9f-e319-4986-a169-4d1fe445cd52" version = "0.1.1" [[deps.DelimitedFiles]] deps = ["Mmap"] uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" [[deps.DiffResults]] deps = ["StaticArrays"] git-tree-sha1 = "c18e98cba888c6c25d1c3b048e4b3380ca956805" uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5" version = "1.0.3" [[deps.DiffRules]] deps = ["NaNMath", "Random", "SpecialFunctions"] git-tree-sha1 = "7220bc21c33e990c14f4a9a319b1d242ebc5b269" uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" version = "1.3.1" [[deps.Distances]] deps = ["LinearAlgebra", "Statistics", "StatsAPI"] git-tree-sha1 = "9f46deb4d4ee4494ffb5a40a27a2aced67bdd838" uuid = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" version = "0.10.4" [[deps.Distributed]] deps = ["Random", "Serialization", "Sockets"] uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" [[deps.Distributions]] deps = ["FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns"] git-tree-sha1 = "a837fdf80f333415b69684ba8e8ae6ba76de6aaa" uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" version = "0.24.18" [[deps.DistributionsAD]] deps = ["Adapt", "ChainRules", "ChainRulesCore", "Compat", "DiffRules", "Distributions", "FillArrays", "LinearAlgebra", "NaNMath", "PDMats", "Random", "Requires", "SpecialFunctions", "StaticArrays", "StatsBase", "StatsFuns", "ZygoteRules"] git-tree-sha1 = "f773f784beca655b28ec1b235dbb9f5a6e5e151f" uuid = "ced4e74d-a319-5a8a-b0ac-84af2272839c" version = "0.6.29" [[deps.DocStringExtensions]] deps = ["LibGit2"] git-tree-sha1 = "a32185f5428d3986f47c2ab78b1f216d5e6cc96f" uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" version = "0.8.5" [[deps.Downloads]] deps = ["ArgTools", "LibCURL", "NetworkOptions"] uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" [[deps.DynamicPPL]] deps = ["AbstractMCMC", "AbstractPPL", "Bijectors", "ChainRulesCore", "Distributions", "MacroTools", "NaturalSort", "Random", "ZygoteRules"] git-tree-sha1 = "c32726683fc17742ece85ac63e8368b033cffa44" uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8" version = "0.10.20" [[deps.EarCut_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "3f3a2501fa7236e9b911e0f7a588c657e822bb6d" uuid = "5ae413db-bbd1-5e63-b57d-d24a61df00f5" version = "2.2.3+0" [[deps.EllipsisNotation]] git-tree-sha1 = "18ee049accec8763be17a933737c1dd0fdf8673a" uuid = "da5c29d0-fa7d-589e-88eb-ea29b0a81949" version = "1.0.0" [[deps.EllipticalSliceSampling]] deps = ["AbstractMCMC", "ArrayInterface", "Distributions", "Random", "Statistics"] git-tree-sha1 = "4471d36a75e9168f80708155df33e1601b11c13c" uuid = "cad2338a-1db2-11e9-3401-43bc07c9ede2" version = "0.3.1" [[deps.Expat_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "b3bfd02e98aedfa5cf885665493c5598c350cd2f" uuid = "2e619515-83b5-522b-bb60-26c02a35a201" version = "2.2.10+0" [[deps.ExprTools]] git-tree-sha1 = "b7e3d17636b348f005f11040025ae8c6f645fe92" uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04" version = "0.1.6" [[deps.FFMPEG]] deps = ["FFMPEG_jll"] git-tree-sha1 = "b57e3acbe22f8484b4b5ff66a7499717fe1a9cc8" uuid = "c87230d0-a227-11e9-1b43-d7ebe4e7570a" version = "0.4.1" [[deps.FFMPEG_jll]] deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "LAME_jll", "Libdl", "Ogg_jll", "OpenSSL_jll", "Opus_jll", "Pkg", "Zlib_jll", "libass_jll", "libfdk_aac_jll", "libvorbis_jll", "x264_jll", "x265_jll"] git-tree-sha1 = "d8a578692e3077ac998b50c0217dfd67f21d1e5f" uuid = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5" version = "4.4.0+0" [[deps.FFTW]] deps = ["AbstractFFTs", "FFTW_jll", "LinearAlgebra", "MKL_jll", "Preferences", "Reexport"] git-tree-sha1 = "463cb335fa22c4ebacfd1faba5fde14edb80d96c" uuid = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" version = "1.4.5" [[deps.FFTW_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "c6033cc3892d0ef5bb9cd29b7f2f0331ea5184ea" uuid = "f5851436-0d7a-5f13-b9de-f02708fd171a" version = "3.3.10+0" [[deps.FastClosures]] git-tree-sha1 = "acebe244d53ee1b461970f8910c235b259e772ef" uuid = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a" version = "0.3.2" [[deps.FileIO]] deps = ["Pkg", "Requires", "UUIDs"] git-tree-sha1 = "3c041d2ac0a52a12a27af2782b34900d9c3ee68c" uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" version = "1.11.1" [[deps.FillArrays]] deps = ["LinearAlgebra", "Random", "SparseArrays"] git-tree-sha1 = "693210145367e7685d8604aee33d9bfb85db8b31" uuid = "1a297f60-69ca-5386-bcde-b61e274b549b" version = "0.11.9" [[deps.FiniteDiff]] deps = ["ArrayInterface", "LinearAlgebra", "Requires", "SparseArrays", "StaticArrays"] git-tree-sha1 = "8b3c09b56acaf3c0e581c66638b85c8650ee9dca" uuid = "6a86dc24-6348-571c-b903-95158fe2bd41" version = "2.8.1" [[deps.FixedPointNumbers]] deps = ["Statistics"] git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" version = "0.8.4" [[deps.Fontconfig_jll]] deps = ["Artifacts", "Bzip2_jll", "Expat_jll", "FreeType2_jll", "JLLWrappers", "Libdl", "Libuuid_jll", "Pkg", "Zlib_jll"] git-tree-sha1 = "21efd19106a55620a188615da6d3d06cd7f6ee03" uuid = "a3f928ae-7b40-5064-980b-68af3947d34b" version = "2.13.93+0" [[deps.Formatting]] deps = ["Printf"] git-tree-sha1 = "8339d61043228fdd3eb658d86c926cb282ae72a8" uuid = "59287772-0a20-5a39-b81b-1366585eb4c0" version = "0.4.2" [[deps.ForwardDiff]] deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions", "StaticArrays"] git-tree-sha1 = "63777916efbcb0ab6173d09a658fb7f2783de485" uuid = "f6369f11-7733-5829-9624-2563aa707210" version = "0.10.21" [[deps.FreeType2_jll]] deps = ["Artifacts", "Bzip2_jll", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] git-tree-sha1 = "87eb71354d8ec1a96d4a7636bd57a7347dde3ef9" uuid = "d7e528f0-a631-5988-bf34-fe36492bcfd7" version = "2.10.4+0" [[deps.FriBidi_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "aa31987c2ba8704e23c6c8ba8a4f769d5d7e4f91" uuid = "559328eb-81f9-559d-9380-de523a88c83c" version = "1.0.10+0" [[deps.Functors]] deps = ["MacroTools"] git-tree-sha1 = "f40adc6422f548176bb4351ebd29e4abf773040a" uuid = "d9f16b24-f501-4c13-a1f2-28368ffc5196" version = "0.1.0" [[deps.Future]] deps = ["Random"] uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820" [[deps.GLFW_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libglvnd_jll", "Pkg", "Xorg_libXcursor_jll", "Xorg_libXi_jll", "Xorg_libXinerama_jll", "Xorg_libXrandr_jll"] git-tree-sha1 = "dba1e8614e98949abfa60480b13653813d8f0157" uuid = "0656b61e-2033-5cc2-a64a-77c0f6c09b89" version = "3.3.5+0" [[deps.GR]] deps = ["Base64", "DelimitedFiles", "GR_jll", "HTTP", "JSON", "Libdl", "LinearAlgebra", "Pkg", "Printf", "Random", "Serialization", "Sockets", "Test", "UUIDs"] git-tree-sha1 = "d189c6d2004f63fd3c91748c458b09f26de0efaa" uuid = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71" version = "0.61.0" [[deps.GR_jll]] deps = ["Artifacts", "Bzip2_jll", "Cairo_jll", "FFMPEG_jll", "Fontconfig_jll", "GLFW_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pixman_jll", "Pkg", "Qt5Base_jll", "Zlib_jll", "libpng_jll"] git-tree-sha1 = "cafe0823979a5c9bff86224b3b8de29ea5a44b2e" uuid = "d2c73de3-f751-5644-a686-071e5b155ba9" version = "0.61.0+0" [[deps.GeometryBasics]] deps = ["EarCut_jll", "IterTools", "LinearAlgebra", "StaticArrays", "StructArrays", "Tables"] git-tree-sha1 = "58bcdf5ebc057b085e58d95c138725628dd7453c" uuid = "5c1252a2-5f33-56bf-86c9-59e7332b4326" version = "0.4.1" [[deps.Gettext_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "XML2_jll"] git-tree-sha1 = "9b02998aba7bf074d14de89f9d37ca24a1a0b046" uuid = "78b55507-aeef-58d4-861c-77aaff3498b1" version = "0.21.0+0" [[deps.Glib_jll]] deps = ["Artifacts", "Gettext_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Libiconv_jll", "Libmount_jll", "PCRE_jll", "Pkg", "Zlib_jll"] git-tree-sha1 = "7bf67e9a481712b3dbe9cb3dac852dc4b1162e02" uuid = "7746bdde-850d-59dc-9ae8-88ece973131d" version = "2.68.3+0" [[deps.Graphite2_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "344bf40dcab1073aca04aa0df4fb092f920e4011" uuid = "3b182d85-2403-5c21-9c21-1e1f0cc25472" version = "1.3.14+0" [[deps.Grisu]] git-tree-sha1 = "53bb909d1151e57e2484c3d1b53e19552b887fb2" uuid = "42e2da0e-8278-4e71-bc24-59509adca0fe" version = "1.0.2" [[deps.HTTP]] deps = ["Base64", "Dates", "IniFile", "Logging", "MbedTLS", "NetworkOptions", "Sockets", "URIs"] git-tree-sha1 = "14eece7a3308b4d8be910e265c724a6ba51a9798" uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" version = "0.9.16" [[deps.HarfBuzz_jll]] deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg"] git-tree-sha1 = "8a954fed8ac097d5be04921d595f741115c1b2ad" uuid = "2e76f6c2-a576-52d4-95c1-20adfe4de566" version = "2.8.1+0" [[deps.Hwloc]] deps = ["Hwloc_jll"] git-tree-sha1 = "ffdcd4272a7cc36442007bca41aa07ca3cc5fda4" uuid = "0e44f5e4-bd66-52a0-8798-143a42290a1d" version = "1.3.0" [[deps.Hwloc_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "3395d4d4aeb3c9d31f5929d32760d8baeee88aaf" uuid = "e33a78d0-f292-5ffc-b300-72abe9b543c8" version = "2.5.0+0" [[deps.HypothesisTests]] deps = ["Combinatorics", "Distributions", "LinearAlgebra", "Random", "Rmath", "Roots", "Statistics", "StatsBase"] git-tree-sha1 = "a82a0c7e790fc16be185ce8d6d9edc7e62d5685a" uuid = "09f84164-cd44-5f33-b23f-e6b0d136a0d5" version = "0.10.4" [[deps.IfElse]] git-tree-sha1 = "28e837ff3e7a6c3cdb252ce49fb412c8eb3caeef" uuid = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173" version = "0.1.0" [[deps.IniFile]] deps = ["Test"] git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8" uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f" version = "0.5.0" [[deps.InitialValues]] git-tree-sha1 = "7f6a4508b4a6f46db5ccd9799a3fc71ef5cad6e6" uuid = "22cec73e-a1b8-11e9-2c92-598750a2cf9c" version = "0.2.11" [[deps.InplaceOps]] deps = ["LinearAlgebra", "Test"] git-tree-sha1 = "50b41d59e7164ab6fda65e71049fee9d890731ff" uuid = "505f98c9-085e-5b2c-8e89-488be7bf1f34" version = "0.3.0" [[deps.IntelOpenMP_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "d979e54b71da82f3a65b62553da4fc3d18c9004c" uuid = "1d5cc7b8-4909-519e-a0f8-d0f5ad9712d0" version = "2018.0.3+2" [[deps.InteractiveUtils]] deps = ["Markdown"] uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" [[deps.Interpolations]] deps = ["AxisAlgorithms", "LinearAlgebra", "OffsetArrays", "Random", "Ratios", "SharedArrays", "SparseArrays", "StaticArrays", "WoodburyMatrices"] git-tree-sha1 = "1e0e51692a3a77f1eeb51bf741bdd0439ed210e7" uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" version = "0.13.2" [[deps.IntervalSets]] deps = ["Dates", "EllipsisNotation", "Statistics"] git-tree-sha1 = "3cc368af3f110a767ac786560045dceddfc16758" uuid = "8197267c-284f-5f27-9208-e0e47529a953" version = "0.5.3" [[deps.Intervals]] deps = ["Dates", "Printf", "RecipesBase", "Serialization", "TimeZones"] git-tree-sha1 = "323a38ed1952d30586d0fe03412cde9399d3618b" uuid = "d8418881-c3e1-53bb-8760-2df7ec849ed5" version = "1.5.0" [[deps.InvertedIndices]] git-tree-sha1 = "bee5f1ef5bf65df56bdd2e40447590b272a5471f" uuid = "41ab1584-1d38-5bbf-9106-f11c6c58b48f" version = "1.1.0" [[deps.IrrationalConstants]] git-tree-sha1 = "7fd44fd4ff43fc60815f8e764c0f352b83c49151" uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" version = "0.1.1" [[deps.IterTools]] git-tree-sha1 = "05110a2ab1fc5f932622ffea2a003221f4782c18" uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e" version = "1.3.0" [[deps.IterativeSolvers]] deps = ["LinearAlgebra", "Printf", "Random", "RecipesBase", "SparseArrays"] git-tree-sha1 = "1a8c6237e78b714e901e406c096fc8a65528af7d" uuid = "42fd0dbc-a981-5370-80f2-aaf504508153" version = "0.9.1" [[deps.IteratorInterfaceExtensions]] git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" uuid = "82899510-4779-5014-852e-03e436cf321d" version = "1.0.0" [[deps.JLLWrappers]] deps = ["Preferences"] git-tree-sha1 = "642a199af8b68253517b80bd3bfd17eb4e84df6e" uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" version = "1.3.0" [[deps.JSON]] deps = ["Dates", "Mmap", "Parsers", "Unicode"] git-tree-sha1 = "8076680b162ada2a031f707ac7b4953e30667a37" uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" version = "0.21.2" [[deps.JpegTurbo_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "d735490ac75c5cb9f1b00d8b5509c11984dc6943" uuid = "aacddb02-875f-59d6-b918-886e6ef4fbf8" version = "2.1.0+0" [[deps.KernelDensity]] deps = ["Distributions", "DocStringExtensions", "FFTW", "Interpolations", "StatsBase"] git-tree-sha1 = "591e8dc09ad18386189610acafb970032c519707" uuid = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b" version = "0.6.3" [[deps.LAME_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "f6250b16881adf048549549fba48b1161acdac8c" uuid = "c1c5ebd0-6772-5130-a774-d5fcae4a789d" version = "3.100.1+0" [[deps.LZO_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "e5b909bcf985c5e2605737d2ce278ed791b89be6" uuid = "dd4b983a-f0e5-5f8d-a1b7-129d4a5fb1ac" version = "2.10.1+0" [[deps.LaTeXStrings]] git-tree-sha1 = "c7f1c695e06c01b95a67f0cd1d34994f3e7db104" uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" version = "1.2.1" [[deps.Latexify]] deps = ["Formatting", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "Printf", "Requires"] git-tree-sha1 = "95d36f32dde312e694c1de5714821efc4b010815" uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" version = "0.15.7" [[deps.LazyArtifacts]] deps = ["Artifacts", "Pkg"] uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3" [[deps.LearnBase]] deps = ["LinearAlgebra", "StatsBase"] git-tree-sha1 = "47e6f4623c1db88570c7a7fa66c6528b92ba4725" uuid = "7f8f8fb0-2700-5f03-b4bd-41f8cfc144b6" version = "0.3.0" [[deps.LeftChildRightSiblingTrees]] deps = ["AbstractTrees"] git-tree-sha1 = "71be1eb5ad19cb4f61fa8c73395c0338fd092ae0" uuid = "1d6d02ad-be62-4b6b-8a6d-2f90e265016e" version = "0.1.2" [[deps.LibCURL]] deps = ["LibCURL_jll", "MozillaCACerts_jll"] uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" [[deps.LibCURL_jll]] deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" [[deps.LibGit2]] deps = ["Base64", "NetworkOptions", "Printf", "SHA"] uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" [[deps.LibSSH2_jll]] deps = ["Artifacts", "Libdl", "MbedTLS_jll"] uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" [[deps.Libdl]] uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" [[deps.Libffi_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "761a393aeccd6aa92ec3515e428c26bf99575b3b" uuid = "e9f186c6-92d2-5b65-8a66-fee21dc1b490" version = "3.2.2+0" [[deps.Libgcrypt_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgpg_error_jll", "Pkg"] git-tree-sha1 = "64613c82a59c120435c067c2b809fc61cf5166ae" uuid = "d4300ac3-e22c-5743-9152-c294e39db1e4" version = "1.8.7+0" [[deps.Libglvnd_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll", "Xorg_libXext_jll"] git-tree-sha1 = "7739f837d6447403596a75d19ed01fd08d6f56bf" uuid = "7e76a0d4-f3c7-5321-8279-8d96eeed0f29" version = "1.3.0+3" [[deps.Libgpg_error_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "c333716e46366857753e273ce6a69ee0945a6db9" uuid = "7add5ba3-2f88-524e-9cd5-f83b8a55f7b8" version = "1.42.0+0" [[deps.Libiconv_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "42b62845d70a619f063a7da093d995ec8e15e778" uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531" version = "1.16.1+1" [[deps.Libmount_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "9c30530bf0effd46e15e0fdcf2b8636e78cbbd73" uuid = "4b2f31a3-9ecc-558c-b454-b3730dcb73e9" version = "2.35.0+0" [[deps.Libtask]] deps = ["BinaryProvider", "Libdl", "Pkg"] git-tree-sha1 = "83e082fccb4e37d93df6440cdbd41dcbe5e46cb6" uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f" version = "0.4.2" [[deps.Libtiff_jll]] deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Pkg", "Zlib_jll", "Zstd_jll"] git-tree-sha1 = "340e257aada13f95f98ee352d316c3bed37c8ab9" uuid = "89763e89-9b03-5906-acba-b20f662cd828" version = "4.3.0+0" [[deps.Libuuid_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "7f3efec06033682db852f8b3bc3c1d2b0a0ab066" uuid = "38a345b3-de98-5d2b-a5d3-14cd9215e700" version = "2.36.0+0" [[deps.LineSearches]] deps = ["LinearAlgebra", "NLSolversBase", "NaNMath", "Parameters", "Printf"] git-tree-sha1 = "f27132e551e959b3667d8c93eae90973225032dd" uuid = "d3d80556-e9d4-5f37-9878-2ab0fcc64255" version = "7.1.1" [[deps.LinearAlgebra]] deps = ["Libdl", "libblastrampoline_jll"] uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" [[deps.LinearOperators]] deps = ["FastClosures", "LinearAlgebra", "Printf", "SparseArrays", "TimerOutputs"] git-tree-sha1 = "12a8ce0c3ef28df3cb372ca7ae964345251fb12d" uuid = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125" version = "1.3.1" [[deps.LogDensityProblems]] deps = ["ArgCheck", "BenchmarkTools", "DiffResults", "DocStringExtensions", "Random", "Requires", "TransformVariables", "UnPack"] git-tree-sha1 = "b8a3c29fdd8c512a7e80c4ec27d609e594a89860" uuid = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c" version = "0.10.6" [[deps.LogExpFunctions]] deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] git-tree-sha1 = "3d682c07e6dd250ed082f883dc88aee7996bf2cc" uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" version = "0.3.0" [[deps.Logging]] uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" [[deps.LoggingExtras]] deps = ["Dates", "Logging"] git-tree-sha1 = "dfeda1c1130990428720de0024d4516b1902ce98" uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36" version = "0.4.7" [[deps.LoopVectorization]] deps = ["ArrayInterface", "DocStringExtensions", "IfElse", "LinearAlgebra", "OffsetArrays", "Requires", "SLEEFPirates", "ThreadingUtilities", "UnPack", "VectorizationBase"] git-tree-sha1 = "5f275de503982d59bd82eb1e4fbc273f55a72dee" uuid = "bdcacae8-1622-11e9-2a5c-532679323890" version = "0.10.0" [[deps.MCMCChains]] deps = ["AbstractFFTs", "AbstractMCMC", "AxisArrays", "Compat", "Dates", "Distributions", "Formatting", "IteratorInterfaceExtensions", "KernelDensity", "LinearAlgebra", "MLJModelInterface", "NaturalSort", "PrettyTables", "Random", "RecipesBase", "Serialization", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "TableTraits", "Tables"] git-tree-sha1 = "2cc8ea543a3dbb951e8b3310a4ab7605790aa9f1" uuid = "c7f686f2-ff18-58e9-bc7b-31028e88f75d" version = "4.14.1" [[deps.MKL_jll]] deps = ["Artifacts", "IntelOpenMP_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "Pkg"] git-tree-sha1 = "5455aef09b40e5020e1520f551fa3135040d4ed0" uuid = "856f044c-d86e-5d09-b602-aeab76dc8ba7" version = "2021.1.1+2" [[deps.MLDataPattern]] deps = ["LearnBase", "MLLabelUtils", "Random", "SparseArrays", "StatsBase"] git-tree-sha1 = "e99514e96e8b8129bb333c69e063a56ab6402b5b" uuid = "9920b226-0b2a-5f5f-9153-9aa70a013f8b" version = "0.5.4" [[deps.MLDataUtils]] deps = ["DataFrames", "DelimitedFiles", "LearnBase", "MLDataPattern", "MLLabelUtils", "Statistics", "StatsBase"] git-tree-sha1 = "ee54803aea12b9c8ee972e78ece11ac6023715e6" uuid = "cc2ba9b6-d476-5e6d-8eaf-a92d5412d41d" version = "0.5.4" [[deps.MLJModelInterface]] deps = ["Random", "ScientificTypesBase", "StatisticalTraits"] git-tree-sha1 = "0174e9d180b0cae1f8fe7976350ad52f0e70e0d8" uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" version = "1.3.3" [[deps.MLLabelUtils]] deps = ["LearnBase", "MappedArrays", "StatsBase"] git-tree-sha1 = "3211c1fdd1efaefa692c8cf60e021fb007b76a08" uuid = "66a33bbf-0c2b-5fc8-a008-9da813334f0a" version = "0.5.6" [[deps.MacroTools]] deps = ["Markdown", "Random"] git-tree-sha1 = "5a5bc6bf062f0f95e62d0fe0a2d99699fed82dd9" uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" version = "0.5.8" [[deps.MappedArrays]] git-tree-sha1 = "e8b359ef06ec72e8c030463fe02efe5527ee5142" uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" version = "0.4.1" [[deps.Markdown]] deps = ["Base64"] uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" [[deps.MatrixEquations]] deps = ["LinearAlgebra", "LinearOperators", "Random", "Test"] git-tree-sha1 = "e51dab3dda4d5215214f136088c1dc5cc51c239e" uuid = "99c1a7ee-ab34-5fd5-8076-27c950a045f4" version = "1.5.0" [[deps.MbedTLS]] deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"] git-tree-sha1 = "1c38e51c3d08ef2278062ebceade0e46cefc96fe" uuid = "739be429-bea8-5141-9913-cc70e7f3736d" version = "1.0.3" [[deps.MbedTLS_jll]] deps = ["Artifacts", "Libdl"] uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" [[deps.Measures]] git-tree-sha1 = "e498ddeee6f9fdb4551ce855a46f54dbd900245f" uuid = "442fdcdd-2543-5da2-b0f3-8c86c306513e" version = "0.3.1" [[deps.MicroCollections]] deps = ["BangBang", "Setfield"] git-tree-sha1 = "4f65bdbbe93475f6ff9ea6969b21532f88d359be" uuid = "128add7d-3638-4c79-886c-908ea0c25c34" version = "0.1.1" [[deps.Missings]] deps = ["DataAPI"] git-tree-sha1 = "bf210ce90b6c9eed32d25dbcae1ebc565df2687f" uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" version = "1.0.2" [[deps.Mmap]] uuid = "a63ad114-7e13-5084-954f-fe012c677804" [[deps.Mocking]] deps = ["Compat", "ExprTools"] git-tree-sha1 = "29714d0a7a8083bba8427a4fbfb00a540c681ce7" uuid = "78c3b35d-d492-501b-9361-3d52fe80e533" version = "0.7.3" [[deps.MozillaCACerts_jll]] uuid = "14a3606d-f60d-562e-9121-12d972cd8159" [[deps.MultivariateStats]] deps = ["Arpack", "LinearAlgebra", "SparseArrays", "Statistics", "StatsBase"] git-tree-sha1 = "8d958ff1854b166003238fe191ec34b9d592860a" uuid = "6f286f6a-111f-5878-ab1e-185364afe411" version = "0.8.0" [[deps.NLSolversBase]] deps = ["DiffResults", "Distributed", "FiniteDiff", "ForwardDiff"] git-tree-sha1 = "144bab5b1443545bc4e791536c9f1eacb4eed06a" uuid = "d41bc354-129a-5804-8e4c-c37616107c6c" version = "7.8.1" [[deps.NNlib]] deps = ["Adapt", "ChainRulesCore", "Compat", "LinearAlgebra", "Pkg", "Requires", "Statistics"] git-tree-sha1 = "5203a4532ad28c44f82c76634ad621d7c90abcbd" uuid = "872c559c-99b0-510c-b3b7-b6c96a88d5cd" version = "0.7.29" [[deps.NaNMath]] git-tree-sha1 = "bfe47e760d60b82b66b61d2d44128b62e3a369fb" uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" version = "0.3.5" [[deps.NamedArrays]] deps = ["Combinatorics", "DataStructures", "DelimitedFiles", "InvertedIndices", "LinearAlgebra", "Random", "Requires", "SparseArrays", "Statistics"] git-tree-sha1 = "2fd5787125d1a93fbe30961bd841707b8a80d75b" uuid = "86f7a689-2022-50b4-a561-43c23ac3c673" version = "0.9.6" [[deps.NaturalSort]] git-tree-sha1 = "eda490d06b9f7c00752ee81cfa451efe55521e21" uuid = "c020b1a1-e9b0-503a-9c33-f039bfc54a85" version = "1.0.0" [[deps.NearestNeighbors]] deps = ["Distances", "StaticArrays"] git-tree-sha1 = "16baacfdc8758bc374882566c9187e785e85c2f0" uuid = "b8a86587-4115-5ab1-83bc-aa920d37bbce" version = "0.4.9" [[deps.NetworkOptions]] uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" [[deps.NonlinearSolve]] deps = ["ArrayInterface", "FiniteDiff", "ForwardDiff", "IterativeSolvers", "LinearAlgebra", "RecursiveArrayTools", "RecursiveFactorization", "Reexport", "SciMLBase", "Setfield", "StaticArrays", "UnPack"] git-tree-sha1 = "e9ffc92217b8709e0cf7b8808f6223a4a0936c95" uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" version = "0.3.11" [[deps.Observables]] git-tree-sha1 = "fe29afdef3d0c4a8286128d4e45cc50621b1e43d" uuid = "510215fc-4207-5dde-b226-833fc4488ee2" version = "0.4.0" [[deps.OffsetArrays]] deps = ["Adapt"] git-tree-sha1 = "c0e9e582987d36d5a61e650e6e543b9e44d9914b" uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" version = "1.10.7" [[deps.Ogg_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "7937eda4681660b4d6aeeecc2f7e1c81c8ee4e2f" uuid = "e7412a2a-1a6e-54c0-be00-318e2571c051" version = "1.3.5+0" [[deps.OpenBLAS_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" [[deps.OpenSSL_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "15003dcb7d8db3c6c857fda14891a539a8f2705a" uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" version = "1.1.10+0" [[deps.OpenSpecFun_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1" uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" version = "0.5.5+0" [[deps.Optim]] deps = ["Compat", "FillArrays", "LineSearches", "LinearAlgebra", "NLSolversBase", "NaNMath", "Parameters", "PositiveFactorizations", "Printf", "SparseArrays", "StatsBase"] git-tree-sha1 = "7863df65dbb2a0fa8f85fcaf0a41167640d2ebed" uuid = "429524aa-4258-5aef-a3af-852621145aeb" version = "1.4.1" [[deps.Opus_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "51a08fb14ec28da2ec7a927c4337e4332c2a4720" uuid = "91d4177d-7536-5919-b921-800302f37372" version = "1.3.2+0" [[deps.OrderedCollections]] git-tree-sha1 = "85f8e6578bf1f9ee0d11e7bb1b1456435479d47c" uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" version = "1.4.1" [[deps.PCRE_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "b2a7af664e098055a7529ad1a900ded962bca488" uuid = "2f80f16e-611a-54ab-bc61-aa92de5b98fc" version = "8.44.0+0" [[deps.PDMats]] deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"] git-tree-sha1 = "4dd403333bcf0909341cfe57ec115152f937d7d8" uuid = "90014a1f-27ba-587c-ab20-58faa44d9150" version = "0.11.1" [[deps.Parameters]] deps = ["OrderedCollections", "UnPack"] git-tree-sha1 = "34c0e9ad262e5f7fc75b10a9952ca7692cfc5fbe" uuid = "d96e819e-fc66-5662-9728-84c9c7592b0a" version = "0.12.3" [[deps.Parsers]] deps = ["Dates"] git-tree-sha1 = "bfd7d8c7fd87f04543810d9cbd3995972236ba1b" uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" version = "1.1.2" [[deps.Pixman_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "b4f5d02549a10e20780a24fce72bea96b6329e29" uuid = "30392449-352a-5448-841d-b1acce4e97dc" version = "0.40.1+0" [[deps.Pkg]] deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" [[deps.PlotThemes]] deps = ["PlotUtils", "Requires", "Statistics"] git-tree-sha1 = "a3a964ce9dc7898193536002a6dd892b1b5a6f1d" uuid = "ccf2f8ad-2431-5c83-bf29-c5338b663b6a" version = "2.0.1" [[deps.PlotUtils]] deps = ["ColorSchemes", "Colors", "Dates", "Printf", "Random", "Reexport", "Statistics"] git-tree-sha1 = "b084324b4af5a438cd63619fd006614b3b20b87b" uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043" version = "1.0.15" [[deps.Plots]] deps = ["Base64", "Contour", "Dates", "Downloads", "FFMPEG", "FixedPointNumbers", "GR", "GeometryBasics", "JSON", "Latexify", "LinearAlgebra", "Measures", "NaNMath", "PlotThemes", "PlotUtils", "Printf", "REPL", "Random", "RecipesBase", "RecipesPipeline", "Reexport", "Requires", "Scratch", "Showoff", "SparseArrays", "Statistics", "StatsBase", "UUIDs"] git-tree-sha1 = "ba43b248a1f04a9667ca4a9f782321d9211aa68e" uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" version = "1.22.6" [[deps.PlutoUI]] deps = ["Base64", "Dates", "InteractiveUtils", "Logging", "Markdown", "Random", "Suppressor"] git-tree-sha1 = "45ce174d36d3931cd4e37a47f93e07d1455f038d" uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" version = "0.7.1" [[deps.Polynomials]] deps = ["Intervals", "LinearAlgebra", "OffsetArrays", "RecipesBase"] git-tree-sha1 = "0b15f3597b01eb76764dd03c3c23d6679a3c32c8" uuid = "f27b6e38-b328-58d1-80ce-0feddd5e7a45" version = "1.2.1" [[deps.PooledArrays]] deps = ["DataAPI", "Future"] git-tree-sha1 = "a193d6ad9c45ada72c14b731a318bedd3c2f00cf" uuid = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" version = "1.3.0" [[deps.PositiveFactorizations]] deps = ["LinearAlgebra"] git-tree-sha1 = "17275485f373e6673f7e7f97051f703ed5b15b20" uuid = "85a6dd25-e78a-55b7-8502-1745935b8125" version = "0.2.4" [[deps.Preferences]] deps = ["TOML"] git-tree-sha1 = "00cfd92944ca9c760982747e9a1d0d5d86ab1e5a" uuid = "21216c6a-2e73-6563-6e65-726566657250" version = "1.2.2" [[deps.PrettyTables]] deps = ["Crayons", "Formatting", "Markdown", "Reexport", "Tables"] git-tree-sha1 = "d940010be611ee9d67064fe559edbb305f8cc0eb" uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" version = "1.2.3" [[deps.Printf]] deps = ["Unicode"] uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" [[deps.ProgressLogging]] deps = ["Logging", "SHA", "UUIDs"] git-tree-sha1 = "80d919dee55b9c50e8d9e2da5eeafff3fe58b539" uuid = "33c8b6b6-d38a-422a-b730-caa89a2f386c" version = "0.1.4" [[deps.ProgressMeter]] deps = ["Distributed", "Printf"] git-tree-sha1 = "afadeba63d90ff223a6a48d2009434ecee2ec9e8" uuid = "92933f4c-e287-5a05-a399-4b506db050ca" version = "1.7.1" [[deps.Qt5Base_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "Fontconfig_jll", "Glib_jll", "JLLWrappers", "Libdl", "Libglvnd_jll", "OpenSSL_jll", "Pkg", "Xorg_libXext_jll", "Xorg_libxcb_jll", "Xorg_xcb_util_image_jll", "Xorg_xcb_util_keysyms_jll", "Xorg_xcb_util_renderutil_jll", "Xorg_xcb_util_wm_jll", "Zlib_jll", "xkbcommon_jll"] git-tree-sha1 = "ad368663a5e20dbb8d6dc2fddeefe4dae0781ae8" uuid = "ea2cea3b-5b76-57ae-a6ef-0a8af62496e1" version = "5.15.3+0" [[deps.QuadGK]] deps = ["DataStructures", "LinearAlgebra"] git-tree-sha1 = "78aadffb3efd2155af139781b8a8df1ef279ea39" uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" version = "2.4.2" [[deps.RData]] deps = ["CategoricalArrays", "CodecZlib", "DataFrames", "Dates", "FileIO", "Requires", "TimeZones", "Unicode"] git-tree-sha1 = "19e47a495dfb7240eb44dc6971d660f7e4244a72" uuid = "df47a6cb-8c03-5eed-afd8-b6050d6c41da" version = "0.8.3" [[deps.RDatasets]] deps = ["CSV", "CodecZlib", "DataFrames", "FileIO", "Printf", "RData", "Reexport"] git-tree-sha1 = "06d4da8e540edb0314e88235b2e8f0429404fdb7" uuid = "ce6b1742-4840-55fa-b093-852dadbb1d8b" version = "0.7.5" [[deps.REPL]] deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" [[deps.Random]] deps = ["Serialization"] uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [[deps.RangeArrays]] git-tree-sha1 = "b9039e93773ddcfc828f12aadf7115b4b4d225f5" uuid = "b3c3ace0-ae52-54e7-9d0b-2c1406fd6b9d" version = "0.3.2" [[deps.Ratios]] deps = ["Requires"] git-tree-sha1 = "01d341f502250e81f6fec0afe662aa861392a3aa" uuid = "c84ed2f1-dad5-54f0-aa8e-dbefe2724439" version = "0.4.2" [[deps.RecipesBase]] git-tree-sha1 = "44a75aa7a527910ee3d1751d1f0e4148698add9e" uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" version = "1.1.2" [[deps.RecipesPipeline]] deps = ["Dates", "NaNMath", "PlotUtils", "RecipesBase"] git-tree-sha1 = "7ad0dfa8d03b7bcf8c597f59f5292801730c55b8" uuid = "01d81517-befc-4cb6-b9ec-a95719d0359c" version = "0.4.1" [[deps.RecursiveArrayTools]] deps = ["ArrayInterface", "DocStringExtensions", "LinearAlgebra", "RecipesBase", "Requires", "StaticArrays", "Statistics", "ZygoteRules"] git-tree-sha1 = "b3f4e34548b3d3d00e5571fd7bc0a33980f01571" uuid = "731186ca-8d62-57ce-b412-fbd966d074cd" version = "2.11.4" [[deps.RecursiveFactorization]] deps = ["LinearAlgebra", "LoopVectorization"] git-tree-sha1 = "2e1a88c083ebe8ba69bc0b0084d4b4ba4aa35ae0" uuid = "f2c3362d-daeb-58d1-803e-2bc74f2840b4" version = "0.1.13" [[deps.Reexport]] deps = ["Pkg"] git-tree-sha1 = "7b1d07f411bc8ddb7977ec7f377b97b158514fe0" uuid = "189a3867-3050-52da-a836-e630ba90ab69" version = "0.2.0" [[deps.Requires]] deps = ["UUIDs"] git-tree-sha1 = "4036a3bd08ac7e968e27c203d45f5fff15020621" uuid = "ae029012-a4dd-5104-9daa-d747884805df" version = "1.1.3" [[deps.Rmath]] deps = ["Random", "Rmath_jll"] git-tree-sha1 = "bf3188feca147ce108c76ad82c2792c57abe7b1f" uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa" version = "0.7.0" [[deps.Rmath_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "68db32dff12bb6127bac73c209881191bf0efbb7" uuid = "f50d1b31-88e8-58de-be2c-1cc44531875f" version = "0.3.0+0" [[deps.Roots]] deps = ["CommonSolve", "Printf", "Setfield"] git-tree-sha1 = "6f17bbb331a75823067a2d6fb182f95048397b3d" uuid = "f2b01f46-fcfa-551c-844a-d8ac1e96c665" version = "1.3.5" [[deps.SHA]] uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" [[deps.SLEEFPirates]] deps = ["IfElse", "Libdl", "VectorizationBase"] git-tree-sha1 = "3d44bb7517298fd262915924fdc1645c61a6ef17" uuid = "476501e8-09a2-5ece-8869-fb82de89a1fa" version = "0.6.8" [[deps.SciMLBase]] deps = ["ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "RecipesBase", "RecursiveArrayTools", "StaticArrays", "Statistics", "Tables", "TreeViews"] git-tree-sha1 = "0b5b04995a3208f82ae69a17389c60b762000793" uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462" version = "1.13.6" [[deps.ScientificTypesBase]] git-tree-sha1 = "185e373beaf6b381c1e7151ce2c2a722351d6637" uuid = "30f210dd-8aff-4c5f-94ba-8e64358c1161" version = "2.3.0" [[deps.Scratch]] deps = ["Dates"] git-tree-sha1 = "0b4b7f1393cff97c33891da2a0bf69c6ed241fda" uuid = "6c6a2e73-6563-6170-7368-637461726353" version = "1.1.0" [[deps.SeasonalTrendLoess]] deps = ["Statistics"] git-tree-sha1 = "839dcd8152dc20663349781f7a7e8cf3d3009673" uuid = "42fb36cb-998a-4034-bf40-4eee476c43a1" version = "0.1.0" [[deps.SentinelArrays]] deps = ["Dates", "Random"] git-tree-sha1 = "54f37736d8934a12a200edea2f9206b03bdf3159" uuid = "91c51154-3ec4-41a3-a24f-3f23e20d615c" version = "1.3.7" [[deps.Serialization]] uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" [[deps.Setfield]] deps = ["ConstructionBase", "Future", "MacroTools", "Requires"] git-tree-sha1 = "def0718ddbabeb5476e51e5a43609bee889f285d" uuid = "efcf1570-3423-57d1-acb7-fd33fddbac46" version = "0.8.0" [[deps.SharedArrays]] deps = ["Distributed", "Mmap", "Random", "Serialization"] uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" [[deps.ShiftedArrays]] git-tree-sha1 = "22395afdcf37d6709a5a0766cc4a5ca52cb85ea0" uuid = "1277b4bf-5013-50f5-be3d-901d8477a67a" version = "1.0.0" [[deps.Showoff]] deps = ["Dates", "Grisu"] git-tree-sha1 = "91eddf657aca81df9ae6ceb20b959ae5653ad1de" uuid = "992d4aef-0814-514b-bc4d-f2e9a6c4116f" version = "1.0.3" [[deps.Sockets]] uuid = "6462fe0b-24de-5631-8697-dd941f90decc" [[deps.SortingAlgorithms]] deps = ["DataStructures"] git-tree-sha1 = "b3363d7460f7d098ca0912c69b082f75625d7508" uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" version = "1.0.1" [[deps.SparseArrays]] deps = ["LinearAlgebra", "Random"] uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [[deps.SpecialFunctions]] deps = ["OpenSpecFun_jll"] git-tree-sha1 = "d8d8b8a9f4119829410ecd706da4cc8594a1e020" uuid = "276daf66-3868-5448-9aa4-cd146d93841b" version = "0.10.3" [[deps.SplittablesBase]] deps = ["Setfield", "Test"] git-tree-sha1 = "39c9f91521de844bad65049efd4f9223e7ed43f9" uuid = "171d559e-b47b-412a-8079-5efa626c420e" version = "0.1.14" [[deps.StateSpaceModels]] deps = ["Distributions", "LinearAlgebra", "MatrixEquations", "Optim", "OrderedCollections", "Polynomials", "Printf", "RecipesBase", "SeasonalTrendLoess", "ShiftedArrays", "SparseArrays", "Statistics", "StatsBase"] git-tree-sha1 = "f5d6f4bef1400bb480b70d388f1526f1f89ae7c5" uuid = "99342f36-827c-5390-97c9-d7f9ee765c78" version = "0.5.19" [[deps.StaticArrays]] deps = ["LinearAlgebra", "Random", "Statistics"] git-tree-sha1 = "3c76dde64d03699e074ac02eb2e8ba8254d428da" uuid = "90137ffa-7385-5640-81b9-e52037218182" version = "1.2.13" [[deps.StatisticalTraits]] deps = ["ScientificTypesBase"] git-tree-sha1 = "730732cae4d3135e2f2182bd47f8d8b795ea4439" uuid = "64bff920-2084-43da-a3e6-9bb72801c0c9" version = "2.1.0" [[deps.Statistics]] deps = ["LinearAlgebra", "SparseArrays"] uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [[deps.StatsAPI]] git-tree-sha1 = "1958272568dc176a1d881acb797beb909c785510" uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0" version = "1.0.0" [[deps.StatsBase]] deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"] git-tree-sha1 = "eb35dcc66558b2dda84079b9a1be17557d32091a" uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" version = "0.33.12" [[deps.StatsFuns]] deps = ["Rmath", "SpecialFunctions"] git-tree-sha1 = "ced55fd4bae008a8ea12508314e725df61f0ba45" uuid = "4c63d2b9-4356-54db-8cca-17b64c39e42c" version = "0.9.7" [[deps.StatsPlots]] deps = ["Clustering", "DataStructures", "DataValues", "Distributions", "Interpolations", "KernelDensity", "LinearAlgebra", "MultivariateStats", "Observables", "Plots", "RecipesBase", "RecipesPipeline", "Reexport", "StatsBase", "TableOperations", "Tables", "Widgets"] git-tree-sha1 = "eb007bb78d8a46ab98cd14188e3cec139a4476cf" uuid = "f3b207a7-027a-5e70-b257-86293d7955fd" version = "0.14.28" [[deps.StructArrays]] deps = ["Adapt", "DataAPI", "StaticArrays", "Tables"] git-tree-sha1 = "2ce41e0d042c60ecd131e9fb7154a3bfadbf50d3" uuid = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" version = "0.6.3" [[deps.SuiteSparse]] deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" [[deps.Suppressor]] git-tree-sha1 = "a819d77f31f83e5792a76081eee1ea6342ab8787" uuid = "fd094767-a336-5f1f-9728-57cf17d0bbfb" version = "0.2.0" [[deps.TOML]] deps = ["Dates"] uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" [[deps.TableOperations]] deps = ["SentinelArrays", "Tables", "Test"] git-tree-sha1 = "019acfd5a4a6c5f0f38de69f2ff7ed527f1881da" uuid = "ab02a1b2-a7df-11e8-156e-fb1833f50b87" version = "1.1.0" [[deps.TableTraits]] deps = ["IteratorInterfaceExtensions"] git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39" uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" version = "1.0.1" [[deps.Tables]] deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "TableTraits", "Test"] git-tree-sha1 = "fed34d0e71b91734bf0a7e10eb1bb05296ddbcd0" uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" version = "1.6.0" [[deps.Tar]] deps = ["ArgTools", "SHA"] uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" [[deps.TerminalLoggers]] deps = ["LeftChildRightSiblingTrees", "Logging", "Markdown", "Printf", "ProgressLogging", "UUIDs"] git-tree-sha1 = "d620a061cb2a56930b52bdf5cf908a5c4fa8e76a" uuid = "5d786b92-1e48-4d6f-9151-6b4477ca9bed" version = "0.1.4" [[deps.Test]] deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [[deps.ThreadingUtilities]] deps = ["VectorizationBase"] git-tree-sha1 = "64a2be7c73951d7c402eb40a16055e5e6fdda468" uuid = "8290d209-cae3-49c0-8002-c8c24d57dab5" version = "0.2.3" [[deps.TimeZones]] deps = ["Dates", "Future", "LazyArtifacts", "Mocking", "Pkg", "Printf", "RecipesBase", "Serialization", "Unicode"] git-tree-sha1 = "a5688ffdbd849a98503c6650effe79fe89a41252" uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53" version = "1.5.9" [[deps.TimerOutputs]] deps = ["ExprTools", "Printf"] git-tree-sha1 = "7cb456f358e8f9d102a8b25e8dfedf58fa5689bc" uuid = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" version = "0.5.13" [[deps.Tracker]] deps = ["Adapt", "DiffRules", "ForwardDiff", "LinearAlgebra", "MacroTools", "NNlib", "NaNMath", "Printf", "Random", "Requires", "SpecialFunctions", "Statistics"] git-tree-sha1 = "bf4adf36062afc921f251af4db58f06235504eff" uuid = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" version = "0.2.16" [[deps.TranscodingStreams]] deps = ["Random", "Test"] git-tree-sha1 = "216b95ea110b5972db65aa90f88d8d89dcb8851c" uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" version = "0.9.6" [[deps.Transducers]] deps = ["Adapt", "ArgCheck", "BangBang", "Baselet", "CompositionsBase", "DefineSingletons", "Distributed", "InitialValues", "Logging", "Markdown", "MicroCollections", "Requires", "Setfield", "SplittablesBase", "Tables"] git-tree-sha1 = "dec7b7839f23efe21770b3b1307ca77c13ed631d" uuid = "28d57a85-8fef-5791-bfe6-a80928e7c999" version = "0.4.66" [[deps.TransformVariables]] deps = ["ArgCheck", "DocStringExtensions", "ForwardDiff", "LinearAlgebra", "Pkg", "Random", "UnPack"] git-tree-sha1 = "9433efc8545a53a9a34de0cdb9316f9982a9f290" uuid = "84d833dd-6860-57f9-a1a7-6da5db126cff" version = "0.4.1" [[deps.TreeViews]] deps = ["Test"] git-tree-sha1 = "8d0d7a3fe2f30d6a7f833a5f19f7c7a5b396eae6" uuid = "a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7" version = "0.3.0" [[deps.Turing]] deps = ["AbstractMCMC", "AdvancedHMC", "AdvancedMH", "AdvancedVI", "BangBang", "Bijectors", "Distributions", "DistributionsAD", "DocStringExtensions", "DynamicPPL", "EllipticalSliceSampling", "ForwardDiff", "Libtask", "LinearAlgebra", "LogDensityProblems", "MCMCChains", "NamedArrays", "Printf", "Random", "Reexport", "Requires", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "Tracker", "ZygoteRules"] git-tree-sha1 = "2b57320e0f4c59e264dd34d5f0fb3bcc67ac65ae" uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" version = "0.15.1" [[deps.URIs]] git-tree-sha1 = "97bbe755a53fe859669cd907f2d96aee8d2c1355" uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" version = "1.3.0" [[deps.UUIDs]] deps = ["Random", "SHA"] uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" [[deps.UnPack]] git-tree-sha1 = "387c1f73762231e86e0c9c5443ce3b4a0a9a0c2b" uuid = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" version = "1.0.2" [[deps.Unicode]] uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" [[deps.UrlDownload]] deps = ["HTTP", "ProgressMeter"] git-tree-sha1 = "05f86730c7a53c9da603bd506a4fc9ad0851171c" uuid = "856ac37a-3032-4c1c-9122-f86d88358c8b" version = "1.0.0" [[deps.VectorizationBase]] deps = ["ArrayInterface", "Hwloc", "IfElse", "Libdl", "LinearAlgebra"] git-tree-sha1 = "9f27ddc74f04319574749bb0a5b3f231a5e7db16" uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f" version = "0.16.2" [[deps.Wayland_jll]] deps = ["Artifacts", "Expat_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg", "XML2_jll"] git-tree-sha1 = "3e61f0b86f90dacb0bc0e73a0c5a83f6a8636e23" uuid = "a2964d1f-97da-50d4-b82a-358c7fce9d89" version = "1.19.0+0" [[deps.Wayland_protocols_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Wayland_jll"] git-tree-sha1 = "2839f1c1296940218e35df0bbb220f2a79686670" uuid = "2381bf8a-dfd0-557d-9999-79630e7b1b91" version = "1.18.0+4" [[deps.Widgets]] deps = ["Colors", "Dates", "Observables", "OrderedCollections"] git-tree-sha1 = "80661f59d28714632132c73779f8becc19a113f2" uuid = "cc8bc4a8-27d6-5769-a93b-9d913e69aa62" version = "0.6.4" [[deps.WoodburyMatrices]] deps = ["LinearAlgebra", "SparseArrays"] git-tree-sha1 = "9398e8fefd83bde121d5127114bd3b6762c764a6" uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6" version = "0.5.4" [[deps.XML2_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"] git-tree-sha1 = "1acf5bdf07aa0907e0a37d3718bb88d4b687b74a" uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" version = "2.9.12+0" [[deps.XSLT_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgcrypt_jll", "Libgpg_error_jll", "Libiconv_jll", "Pkg", "XML2_jll", "Zlib_jll"] git-tree-sha1 = "91844873c4085240b95e795f692c4cec4d805f8a" uuid = "aed1982a-8fda-507f-9586-7b0439959a61" version = "1.1.34+0" [[deps.Xorg_libX11_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libxcb_jll", "Xorg_xtrans_jll"] git-tree-sha1 = "5be649d550f3f4b95308bf0183b82e2582876527" uuid = "4f6342f7-b3d2-589e-9d20-edeb45f2b2bc" version = "1.6.9+4" [[deps.Xorg_libXau_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "4e490d5c960c314f33885790ed410ff3a94ce67e" uuid = "0c0b7dd1-d40b-584c-a123-a41640f87eec" version = "1.0.9+4" [[deps.Xorg_libXcursor_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXfixes_jll", "Xorg_libXrender_jll"] git-tree-sha1 = "12e0eb3bc634fa2080c1c37fccf56f7c22989afd" uuid = "935fb764-8cf2-53bf-bb30-45bb1f8bf724" version = "1.2.0+4" [[deps.Xorg_libXdmcp_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "4fe47bd2247248125c428978740e18a681372dd4" uuid = "a3789734-cfe1-5b06-b2d0-1dd0d9d62d05" version = "1.1.3+4" [[deps.Xorg_libXext_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] git-tree-sha1 = "b7c0aa8c376b31e4852b360222848637f481f8c3" uuid = "1082639a-0dae-5f34-9b06-72781eeb8cb3" version = "1.3.4+4" [[deps.Xorg_libXfixes_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] git-tree-sha1 = "0e0dc7431e7a0587559f9294aeec269471c991a4" uuid = "d091e8ba-531a-589c-9de9-94069b037ed8" version = "5.0.3+4" [[deps.Xorg_libXi_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll", "Xorg_libXfixes_jll"] git-tree-sha1 = "89b52bc2160aadc84d707093930ef0bffa641246" uuid = "a51aa0fd-4e3c-5386-b890-e753decda492" version = "1.7.10+4" [[deps.Xorg_libXinerama_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll"] git-tree-sha1 = "26be8b1c342929259317d8b9f7b53bf2bb73b123" uuid = "d1454406-59df-5ea1-beac-c340f2130bc3" version = "1.1.4+4" [[deps.Xorg_libXrandr_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll", "Xorg_libXrender_jll"] git-tree-sha1 = "34cea83cb726fb58f325887bf0612c6b3fb17631" uuid = "ec84b674-ba8e-5d96-8ba1-2a689ba10484" version = "1.5.2+4" [[deps.Xorg_libXrender_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] git-tree-sha1 = "19560f30fd49f4d4efbe7002a1037f8c43d43b96" uuid = "ea2f1a96-1ddc-540d-b46f-429655e07cfa" version = "0.9.10+4" [[deps.Xorg_libpthread_stubs_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "6783737e45d3c59a4a4c4091f5f88cdcf0908cbb" uuid = "14d82f49-176c-5ed1-bb49-ad3f5cbd8c74" version = "0.1.0+3" [[deps.Xorg_libxcb_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "XSLT_jll", "Xorg_libXau_jll", "Xorg_libXdmcp_jll", "Xorg_libpthread_stubs_jll"] git-tree-sha1 = "daf17f441228e7a3833846cd048892861cff16d6" uuid = "c7cfdc94-dc32-55de-ac96-5a1b8d977c5b" version = "1.13.0+3" [[deps.Xorg_libxkbfile_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] git-tree-sha1 = "926af861744212db0eb001d9e40b5d16292080b2" uuid = "cc61e674-0454-545c-8b26-ed2c68acab7a" version = "1.1.0+4" [[deps.Xorg_xcb_util_image_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] git-tree-sha1 = "0fab0a40349ba1cba2c1da699243396ff8e94b97" uuid = "12413925-8142-5f55-bb0e-6d7ca50bb09b" version = "0.4.0+1" [[deps.Xorg_xcb_util_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libxcb_jll"] git-tree-sha1 = "e7fd7b2881fa2eaa72717420894d3938177862d1" uuid = "2def613f-5ad1-5310-b15b-b15d46f528f5" version = "0.4.0+1" [[deps.Xorg_xcb_util_keysyms_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] git-tree-sha1 = "d1151e2c45a544f32441a567d1690e701ec89b00" uuid = "975044d2-76e6-5fbe-bf08-97ce7c6574c7" version = "0.4.0+1" [[deps.Xorg_xcb_util_renderutil_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] git-tree-sha1 = "dfd7a8f38d4613b6a575253b3174dd991ca6183e" uuid = "0d47668e-0667-5a69-a72c-f761630bfb7e" version = "0.3.9+1" [[deps.Xorg_xcb_util_wm_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] git-tree-sha1 = "e78d10aab01a4a154142c5006ed44fd9e8e31b67" uuid = "c22f9ab0-d5fe-5066-847c-f4bb1cd4e361" version = "0.4.1+1" [[deps.Xorg_xkbcomp_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libxkbfile_jll"] git-tree-sha1 = "4bcbf660f6c2e714f87e960a171b119d06ee163b" uuid = "35661453-b289-5fab-8a00-3d9160c6a3a4" version = "1.4.2+4" [[deps.Xorg_xkeyboard_config_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xkbcomp_jll"] git-tree-sha1 = "5c8424f8a67c3f2209646d4425f3d415fee5931d" uuid = "33bec58e-1273-512f-9401-5d533626f822" version = "2.27.0+4" [[deps.Xorg_xtrans_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "79c31e7844f6ecf779705fbc12146eb190b7d845" uuid = "c5fb5394-a638-5e4d-96e5-b29de1b5cf10" version = "1.4.0+3" [[deps.Zlib_jll]] deps = ["Libdl"] uuid = "83775a58-1f1d-513f-b197-d71354ab007a" [[deps.Zstd_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "cc4bf3fdde8b7e3e9fa0351bdeedba1cf3b7f6e6" uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" version = "1.5.0+0" [[deps.ZygoteRules]] deps = ["MacroTools"] git-tree-sha1 = "8c1a8e4dfacb1fd631745552c8db35d0deb09ea0" uuid = "700de1a5-db45-46bc-99cf-38207098b444" version = "0.2.2" [[deps.libass_jll]] deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "HarfBuzz_jll", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] git-tree-sha1 = "5982a94fcba20f02f42ace44b9894ee2b140fe47" uuid = "0ac62f75-1d6f-5e53-bd7c-93b484bb37c0" version = "0.15.1+0" [[deps.libblastrampoline_jll]] deps = ["Artifacts", "Libdl", "OpenBLAS_jll"] uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" [[deps.libfdk_aac_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "daacc84a041563f965be61859a36e17c4e4fcd55" uuid = "f638f0a6-7fb0-5443-88ba-1cc74229b280" version = "2.0.2+0" [[deps.libpng_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] git-tree-sha1 = "94d180a6d2b5e55e447e2d27a29ed04fe79eb30c" uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" version = "1.6.38+0" [[deps.libvorbis_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Ogg_jll", "Pkg"] git-tree-sha1 = "c45f4e40e7aafe9d086379e5578947ec8b95a8fb" uuid = "f27f6e37-5d2b-51aa-960f-b287f2bc3b7a" version = "1.3.7+0" [[deps.nghttp2_jll]] deps = ["Artifacts", "Libdl"] uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" [[deps.p7zip_jll]] deps = ["Artifacts", "Libdl"] uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" [[deps.x264_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "4fea590b89e6ec504593146bf8b988b2c00922b2" uuid = "1270edf5-f2f9-52d2-97e9-ab00b5d0237a" version = "2021.5.5+0" [[deps.x265_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "ee567a171cce03570d77ad3a43e90218e38937a9" uuid = "dfaa095f-4041-5dcd-9319-2fabd8486b76" version = "3.5.0+0" [[deps.xkbcommon_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Wayland_jll", "Wayland_protocols_jll", "Xorg_libxcb_jll", "Xorg_xkeyboard_config_jll"] git-tree-sha1 = "ece2350174195bb31de1a63bea3a41ae1aa593b6" uuid = "d8fb68d0-12a3-5cfd-a85a-d49703b185fd" version = "0.9.1+5" """ # ╔═╡ Cell order: # ╟─09a9d9f9-fa1a-4192-95cc-81314582488b # ╟─41eb90d1-9262-42b1-9eb2-d7aa6583da17 # ╟─aa69729a-0b08-4299-a14c-c9eb2eb65d5c # ╟─a681c4c5-1451-44d6-be27-f9003340883f # ╟─000021af-87ce-4d6d-a315-153cecce5091 # ╠═c4cccb7a-7d16-4dca-95d9-45c4115cfbf0 # ╠═2eb626bc-43c5-4d73-bd71-0de45f9a3ca1 # ╠═bbcafd74-97f4-4b8f-bffa-937812d9a2eb # ╟─d65de56f-a210-4428-9fac-20a7888d3627 # ╟─38d2167d-2ca2-4398-9406-db418cc4bf17 # ╟─3f0c1adc-3efd-4ade-9a65-a208d8457b85 # ╟─040c011f-1653-446d-8641-824dc82162eb # ╟─f3823457-8757-4665-86a8-bf536d80e24d # ╟─f95ccee4-a2d3-4492-b869-551e61acf995 # ╟─6c027ac7-ef68-4582-ba17-8f34a879a21d # ╟─66c936a3-055d-42a0-bcad-5176d10e5994 # ╟─3aad749e-1256-4f93-b119-4717d2b95607 # ╟─83ae194c-e04f-4615-9b71-7c389513898c # ╟─727a703f-1233-4098-86f3-3192e4de08d4 # ╟─14f11fc0-dc9b-4b77-b2da-ae534b911cd6 # ╟─d92d80ef-256c-443a-a81c-8d5f02e01e66 # ╟─48c98f0d-d880-4abc-91d3-6c79be5fcf8a # ╟─d811cfd9-3bdd-4830-8e9d-ecd4d7d2c890 # ╟─d3ceb4ea-6d45-4545-be09-8446f103c2e5 # ╟─5cb5ab74-da6b-439a-bea4-75a3d0e43c63 # ╟─bade1741-5e84-413a-9c67-932bd6748c49 # ╠═b94db7f0-9f38-4761-a3c3-4d6fc4729ae9 # ╠═1a6c859c-e3e7-4ad9-9299-091b6b1d2bbf # ╠═0980d7a1-129b-4724-90fb-b46e3088d2d6 # ╠═bf12f6f6-f9a7-4d04-a5ac-1da94f03f8c3 # ╠═0919cb0d-ba03-49c8-b2b9-53a467c39f87 # ╠═343202b3-23b5-4600-b912-7db4ab58deaf # ╟─3aeab073-c98a-4213-a835-3098233ba90c # ╟─afc56ef2-d5d2-4624-9ad9-11f15429607f # ╟─fed7288d-5051-4ed0-babd-8eac00a634d2 # ╟─41365136-5d0e-4a4e-808f-d0e90a14c5dd # ╟─3335094d-a67b-471c-834d-e22089933104 # ╟─330bd7cb-7102-41c2-b7a4-f053669960c3 # ╟─80e6619b-ac42-453b-8f38-850b2b99d000 # ╟─82b96729-33c2-49b0-b908-562faf903a1e # ╟─1f2c9795-0b2c-4a14-9f28-1fef68f6b467 # ╟─70193cca-ce19-49ee-aa0c-06997affe2a6 # ╟─1703eb19-aeca-4ebe-a9b3-18dfbf4efdfe # ╟─9ffed7a8-f8d3-4c1a-affa-5d6646683829 # ╟─993c9137-d708-4feb-8a85-51d85c38fc8d # ╟─dcf7adfb-0d6e-4459-a3cc-6a20cc632c72 # ╟─a541e83e-22c5-48c7-9beb-705d26f602ee # ╟─5b442d42-b6ff-4677-afff-a00cfdb00fbc # ╟─8a8dea4a-3f49-4095-a1a0-d4d3c803c171 # ╟─be364d9e-c04d-47fd-ac2f-2be93bdd3f87 # ╟─4a985421-7513-407a-8edf-01df7b405c55 # ╟─5b3bd2d1-2697-4516-aa58-99b3d229e5f3 # ╟─8cf7fa3c-aaf2-4684-869e-d099218fe6e9 # ╟─0999d280-3d93-4a0d-a487-215a3f068fee # ╟─f43f8154-5bd3-4a33-8316-991417549d32 # ╠═6ec571a0-6407-439a-b7f3-fb15085d73bf # ╟─3752db0a-3c4f-48e9-89ec-c14927584a1d # ╠═6e288af8-8f7d-4d4a-9fc3-4bb7df212e8e # ╟─fd643db4-ad7f-4203-b7ed-96c730343013 # ╟─c5c4da02-8b6b-4318-b625-ce4f31703c79 # ╟─428eb291-d516-4b56-91e7-df3a92cd3a4f # ╟─223f4b6f-8321-4142-9dfa-1afe371d40ac # ╟─edaf930a-4933-4047-8854-bbb02ea9c39c # ╠═c9c8d57b-3010-4056-aaa3-a0354cf456fd # ╠═bb10296b-1b93-46d9-bd5f-c11a4ed8bcae # ╠═bfd8fab5-64fb-4bee-aee6-e9691cc887f8 # ╠═1c38646c-b750-4402-bc70-571670cd7acd # ╠═000cf50f-d3f8-452b-b661-11545c2ec0c4 # ╠═7b70270e-2991-40ee-97a9-082691e68701 # ╠═791939ae-3e00-4d6b-968c-5a82a78f55f8 # ╠═9d1361c3-6de1-4326-85f8-4a272856d16b # ╠═01f5e6cd-1efa-49a2-8d0d-b5536bdd7388 # ╟─01b84089-7a99-4bc4-93f4-5259fabde2cb # ╟─442f79e7-425b-43fd-a760-099f5005d4b1 # ╟─b58c1e30-da22-4ff2-93e7-6c2bf2e3a7e3 # ╠═5e9d778f-dd29-46ca-85ee-0eb2b4e4d027 # ╟─d5e73cc5-0a28-4a84-ba7e-7d493c53114b # ╠═f3109dad-1b97-4f68-babd-65751142486a # ╟─692704dd-4be7-4c51-a421-2273f2b0711b # ╠═8d35cc9d-e37a-4a42-83af-8f48ffa67252 # ╟─71172cf3-be3e-416b-a35f-9ba724c528f0 # ╠═bd6bcc2d-dd6d-4140-a62f-61a0c27bcda1 # ╟─0b23e994-d1c7-466e-bb40-e8b1db183885 # ╠═8c803ed9-051b-45a0-8e8a-c3754b0a1f10 # ╠═7cf8df8f-aa2d-41f9-95b7-b50fc191cb9d # ╠═7967b6e7-8391-4489-9e36-fe281dfe3fcc # ╠═beaa1dfc-e2a7-4125-a45e-bfba93f8f02a # ╟─3006d4f8-1cca-4947-8dc6-3b77b278fbb8 # ╟─22bdce87-a1f2-440b-965a-391148b010ac # ╟─54d73a3a-5804-44cf-b771-7313790129e4 # ╟─f539d376-0f23-4667-9b26-25848b5c635a # ╠═78f29328-9670-4f77-a0d0-4386c6aa71ae # ╠═2502b96c-7bdc-4749-b92e-f171f60a4508 # ╠═82fb8ff1-8017-4554-ba79-98045b1fccf3 # ╟─4b4dde8d-e34d-44ac-9010-8ca22feae0e2 # ╟─c5d09e13-540d-4993-834b-dd1565a06f1a # ╟─8e9d13a9-46f6-406e-b53c-a1f763178b5a # ╠═1f9ae2e6-bb0c-45cb-8992-684e14892b36 # ╠═1e62adf7-17ba-4f2d-b401-c3822d266d81 # ╠═78156e4d-e593-4e8c-8d4b-6567a3671aff # ╠═48a26331-e569-4f15-b271-9a2a3b640878 # ╟─d66073c1-1de0-4532-8686-d56255350193 # ╟─7eaf829b-7398-4026-8eae-d84cbbb80fe0 # ╟─5a4eb3d4-ccde-4b88-bc45-75fe85c6bdb1 # ╟─34307b89-0a10-4339-9356-fd21fd877e95 # ╠═d81f725d-a250-44e8-98ba-5c0efecdb19c # ╠═dfbe27b2-bfdd-40e9-a63c-3115c308de75 # ╠═455a97c8-db6e-42d8-82b1-9c21f2794ab7 # ╠═3f656347-0b61-4b7e-b52f-c4f34d724f5c # ╟─536ecb71-f33f-402d-8d6f-16291aa9530f # ╠═ccea5b69-dfb1-47ee-bd54-7b58d87f09f5 # ╟─d90046ec-2bb6-4224-a26d-65550d86dc96 # ╠═6c7f89c4-cbeb-42c6-aba4-cff79a68ab8f # ╠═1c1d4271-6cec-4d86-be3b-1e89417154ee # ╟─9b5622fa-9caf-4f54-a15d-f8b731dc842b # ╟─596fdda0-0d0e-4e45-8fa2-5618122a08b6 # ╟─e680e488-f1e2-4da8-8ef4-612f60cd030b # ╠═b8adc2e6-2e1c-4f00-a92f-81a110b123e9 # ╠═6b56be36-2951-4562-be94-ad263b155082 # ╠═a1411a18-3c64-46b1-b752-e3af0265eaf9 # ╠═99ebe7a6-35c1-46ce-9d73-685d451741f7 # ╟─00000000-0000-0000-0000-000000000001 # ╟─00000000-0000-0000-0000-000000000002
[ 21017, 317, 32217, 13, 20362, 20922, 44386, 198, 2, 410, 15, 13, 1433, 13, 16, 198, 198, 3500, 2940, 2902, 198, 3500, 21365, 18274, 4487, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 269, 19, 535, 21101, 22, 64, 12, 22, 67, 1433, 12, 19, 67, 6888, 12, 3865, 67, 24, 12, 2231, 66, 19, 15363, 12993, 19881, 15, 198, 3500, 25187, 4102, 33637, 11, 44189, 11, 6060, 35439, 11, 4307, 1817, 11, 46567, 507, 11, 21209, 313, 8497, 51, 3558, 11, 14626, 11, 32169, 35, 6377, 11, 44800, 2348, 29230, 11, 13122, 9655, 1925, 1299, 11, 10373, 6601, 18274, 4487, 11, 1345, 1747, 11, 32217, 10080, 11, 14534, 11, 220, 371, 27354, 292, 1039, 11, 1812, 14106, 5841, 1424, 11, 14370, 11, 20595, 14881, 11, 20595, 3646, 1747, 11, 39141, 11, 8799, 75, 10002, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7769, 64, 24, 67, 24, 69, 24, 12, 13331, 16, 64, 12, 19, 17477, 12, 3865, 535, 12, 23, 1485, 1415, 3365, 1731, 3459, 65, 198, 6494, 37811, 198, 27, 7146, 3918, 2625, 198, 9150, 25, 4112, 26, 198, 10394, 25, 42302, 7, 3064, 4, 532, 1542, 8416, 1776, 198, 20192, 25, 2026, 85, 86, 4735, 1303, 17, 68, 2682, 1821, 26, 198, 20192, 12, 4852, 25, 939, 8416, 4735, 1303, 17, 68, 2682, 1821, 26, 198, 20192, 12, 22487, 25, 4844, 26, 198, 3524, 12, 82, 2890, 25, 2695, 12, 3524, 26, 198, 9464, 25, 42302, 32590, 1120, 85, 86, 1343, 1315, 8416, 1776, 198, 4852, 25, 532, 3064, 8416, 26, 198, 17015, 25, 1802, 8416, 26, 198, 29536, 12, 31534, 25, 4844, 26, 198, 23984, 7146, 29, 198, 198, 27, 7146, 3918, 2625, 198, 17015, 25, 939, 8416, 26, 198, 10394, 25, 1802, 26525, 198, 25249, 25, 1303, 17, 68, 2682, 1821, 26, 198, 8043, 25, 1303, 20972, 26, 198, 39231, 12, 4852, 25, 2026, 8416, 26, 198, 5320, 198, 27, 12626, 3918, 2625, 198, 10331, 12, 17989, 25, 569, 692, 74, 1211, 11, 1055, 361, 26, 198, 10331, 12, 6551, 25, 13037, 26, 198, 10331, 12, 30053, 12, 33692, 25, 705, 18755, 388, 3256, 705, 21999, 388, 17020, 198, 5320, 1279, 79, 3918, 2625, 198, 10331, 12, 7857, 25, 352, 13, 20, 2787, 26, 198, 404, 4355, 25, 657, 13, 23, 26, 198, 5320, 33586, 807, 4761, 25, 31209, 495, 642, 3556, 79, 29, 198, 27, 79, 3918, 2625, 5239, 12, 31494, 25, 3641, 26, 10369, 12, 7857, 25, 352, 13, 23, 2787, 26, 5320, 198, 4696, 35610, 19165, 290, 20683, 198, 3556, 79, 29, 198, 198, 27, 7635, 29, 198, 2618, 1391, 198, 2502, 11125, 12, 87, 25, 7104, 26, 198, 92, 198, 3556, 7635, 29, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 6073, 1765, 3829, 67, 16, 12, 24, 29119, 12, 3682, 65, 16, 12, 24, 1765, 17, 12, 67, 22, 7252, 2996, 5999, 6814, 1558, 198, 6494, 37811, 198, 27, 7635, 29, 198, 220, 1388, 1391, 198, 220, 220, 220, 3509, 12, 10394, 25, 30607, 8416, 26, 198, 220, 1782, 198, 3556, 7635, 29, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 257, 64, 40035, 1959, 64, 12, 15, 65, 2919, 12, 11785, 24, 12, 64, 1415, 66, 12, 66, 24, 1765, 17, 1765, 2996, 67, 20, 66, 198, 9132, 1, 1303, 22395, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 257, 48564, 66, 19, 66, 20, 12, 1415, 4349, 12, 2598, 67, 21, 12, 1350, 1983, 12, 69, 12865, 2091, 1821, 49287, 69, 198, 9132, 37811, 198, 198, 29, 2312, 19143, 4710, 3197, 7272, 422, 262, 4710, 286, 685, 47740, 12555, 16151, 5450, 1378, 73, 3768, 84, 620, 272, 13, 2398, 14, 40491, 14, 15262, 274, 14155, 305, 13, 12315, 828, 685, 33820, 509, 11224, 16151, 5450, 1378, 49315, 13, 13297, 13, 785, 14, 15654, 14, 14849, 7204, 404, 34729, 290, 685, 48337, 6372, 16151, 5450, 1378, 12567, 13, 785, 14, 48337, 12, 43, 12, 21544, 14, 15262, 274, 14, 2436, 672, 14, 9866, 14, 20, 62, 14993, 451, 62, 8081, 2234, 62, 26447, 13, 541, 2047, 65, 8, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 17643, 2481, 1878, 12, 5774, 344, 12, 19, 67, 21, 67, 12, 64, 27936, 12, 21395, 344, 66, 344, 1120, 6420, 198, 9132, 1, 220, 220, 198, 1135, 481, 26871, 617, 286, 262, 19165, 319, 4696, 35610, 304, 1102, 908, 10466, 13, 220, 198, 1, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 362, 1765, 45191, 15630, 12, 3559, 66, 20, 12, 19, 67, 4790, 12, 17457, 4869, 12, 15, 2934, 2231, 69, 24, 64, 18, 6888, 16, 198, 2, 10962, 5189, 15842, 3419, 1303, 791, 23893, 284, 766, 309, 4503, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 15630, 1878, 67, 4524, 12, 5607, 69, 19, 12, 19, 65, 23, 69, 12, 65, 487, 64, 12, 24, 30695, 1065, 67, 24, 64, 17, 1765, 198, 29531, 13, 28826, 0, 7, 15, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 2996, 2934, 3980, 69, 12, 64, 21536, 12, 2598, 2078, 12, 24, 38942, 12, 1238, 64, 22, 28011, 67, 2623, 1983, 198, 9132, 1, 6400, 1095, 973, 329, 428, 20922, 389, 1813, 2029, 13, 6822, 606, 503, 319, 12429, 38, 10060, 1174, 290, 1577, 257, 3491, 2343, 255, 238, 611, 345, 765, 526, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 4353, 67, 20666, 22, 67, 12, 17, 6888, 17, 12, 19, 31952, 12, 24, 29703, 12, 9945, 39667, 535, 19, 19881, 1558, 198, 9132, 37811, 22492, 3611, 16700, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 513, 69, 15, 66, 16, 324, 66, 12, 18, 891, 67, 12, 19, 671, 12, 24, 64, 2996, 12, 64, 21315, 67, 23, 33032, 65, 5332, 198, 9132, 1, 6288, 356, 481, 307, 2045, 379, 262, 1708, 10233, 11, 220, 198, 198, 12, 46585, 286, 4696, 35610, 19165, 198, 12, 41071, 19232, 8027, 329, 674, 14435, 2746, 351, 6439, 39280, 82, 13495, 36796, 17, 92, 3, 198, 12, 383, 4696, 35610, 3164, 284, 14174, 20683, 198, 12, 41071, 19232, 290, 20683, 3781, 198, 12, 5923, 2746, 1672, 198, 12, 3310, 2234, 351, 4600, 51, 870, 13, 20362, 63, 220, 198, 198, 1, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 657, 1821, 66, 28555, 69, 12, 1433, 4310, 12, 27260, 67, 12, 39570, 16, 12, 23, 1731, 17896, 6469, 25061, 1765, 198, 9132, 1, 22492, 4696, 35610, 5050, 26871, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 2548, 1954, 33032, 12, 31360, 22, 12, 19, 36879, 12, 4521, 64, 23, 12, 19881, 44468, 67, 1795, 68, 1731, 67, 198, 9132, 37811, 198, 198, 1174, 5492, 1100, 1174, 262, 1708, 2665, 7773, 13, 632, 318, 422, 262, 4710, 416, 20700, 12555, 290, 340, 6688, 287, 1598, 3703, 644, 356, 423, 587, 2111, 284, 466, 510, 284, 428, 966, 13, 770, 717, 2665, 318, 257, 2068, 26871, 286, 867, 286, 262, 10838, 356, 423, 5017, 523, 1290, 13, 921, 481, 4003, 326, 356, 11206, 17593, 33274, 422, 783, 319, 13, 770, 2753, 617, 1972, 973, 284, 11, 475, 287, 262, 886, 340, 318, 2861, 340, 13, 220, 198, 198, 1722, 356, 423, 4920, 11, 262, 7531, 16924, 7989, 287, 4696, 35610, 304, 1102, 908, 10466, 318, 12429, 15262, 274, 6, 44728, 1174, 13, 632, 5107, 262, 555, 4035, 7989, 319, 703, 4696, 274, 1547, 8636, 2746, 10007, 11, 3189, 32278, 11, 8996, 4981, 290, 523, 6071, 13, 220, 198, 198, 15262, 274, 6, 44728, 2585, 326, 329, 2995, 720, 32, 3, 290, 720, 33, 47113, 262, 26340, 12867, 286, 720, 32, 3, 1813, 720, 33, 3, 318, 25, 198, 198, 13702, 59, 11018, 11848, 90, 47, 92, 7, 32, 3467, 13602, 347, 47505, 59, 31944, 31478, 11018, 11848, 90, 47, 92, 7, 32, 8, 3467, 11018, 11848, 90, 47, 92, 7, 33, 3467, 13602, 317, 8, 18477, 59, 11018, 11848, 90, 47, 92, 7, 33, 38165, 13702, 198, 198, 3003, 39280, 11018, 11848, 90, 47, 92, 7, 32, 8, 3, 290, 39280, 11018, 11848, 90, 47, 92, 7, 33, 8, 3, 389, 262, 14461, 39522, 329, 2995, 720, 32, 3, 290, 720, 33, 47113, 8148, 13, 770, 5408, 4952, 514, 703, 674, 1570, 546, 1785, 720, 32, 3, 815, 1487, 287, 1657, 286, 1321, 287, 1785, 720, 33, 35307, 198, 198, 2514, 4174, 4696, 274, 6, 44728, 284, 31850, 290, 32278, 11, 356, 717, 10400, 617, 33274, 13, 17641, 326, 356, 389, 1016, 284, 923, 3375, 546, 30104, 290, 2603, 45977, 13, 9022, 1724, 326, 17593, 37139, 481, 3895, 7272, 422, 783, 319, 13, 220, 198, 198, 15979, 577, 356, 423, 257, 2746, 326, 318, 16264, 416, 262, 14955, 2163, 720, 79, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 47113, 810, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3, 318, 257, 15879, 286, 2746, 10007, 13, 2558, 33740, 306, 11, 262, 14955, 2163, 26052, 703, 262, 6515, 1366, 389, 7560, 422, 262, 2746, 1813, 257, 1948, 900, 286, 10007, 13, 220, 198, 198, 3844, 11, 11691, 356, 423, 6492, 281, 6515, 6291, 39280, 11018, 19881, 90, 88, 92, 28, 59, 9464, 7, 88, 23330, 16, 5512, 3467, 335, 1747, 11, 331, 23330, 51, 32239, 3506, 8, 61, 31478, 35505, 92, 47113, 290, 356, 561, 588, 284, 2193, 546, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 35307, 1374, 815, 356, 5120, 30, 383, 3061, 286, 4696, 35610, 5050, 318, 284, 7330, 262, 34319, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 3, 326, 30114, 3166, 477, 262, 1321, 546, 262, 11507, 15879, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3, 1813, 262, 1366, 13, 198, 198, 4677, 3157, 4696, 274, 6, 44728, 11, 262, 34319, 6082, 460, 307, 29231, 355, 198, 198, 13702, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 28, 59, 31944, 90, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 18477, 79, 38016, 11018, 19881, 90, 88, 30072, 92, 3467, 1676, 457, 78, 279, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 13702, 198, 198, 3003, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 3, 318, 262, 3161, 6082, 290, 198, 198, 13702, 79, 38016, 11018, 19881, 90, 88, 30072, 28, 59, 600, 279, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 3467, 11018, 26224, 90, 67, 92, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 13702, 198, 198, 271, 262, 14461, 14955, 13, 4696, 274, 6, 44728, 1139, 326, 3725, 286, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3, 2058, 422, 734, 4237, 25, 262, 3161, 6082, 290, 281, 6515, 6291, 720, 88, 23330, 16, 5512, 3467, 335, 1747, 11, 331, 23330, 51, 92, 3, 31880, 416, 262, 14955, 13, 383, 3161, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 30072, 3, 33181, 674, 19088, 9056, 546, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3, 878, 356, 804, 379, 262, 1366, 13, 220, 198, 198, 464, 34319, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 3, 2095, 4340, 477, 5981, 1321, 546, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3, 1813, 262, 1366, 13, 1114, 1672, 11, 611, 356, 4601, 284, 7330, 257, 966, 8636, 286, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 47113, 356, 1244, 24061, 262, 34319, 1612, 39280, 11018, 11848, 90, 36, 92, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 35307, 1675, 34404, 262, 13479, 546, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 47113, 356, 1244, 989, 262, 34319, 3210, 47060, 286, 262, 10007, 13, 1114, 4554, 11, 329, 262, 720, 72, 3, 294, 5002, 286, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 47113, 356, 460, 24061, 39280, 31166, 17034, 31478, 3575, 265, 1211, 480, 90, 19852, 32239, 9464, 38016, 1169, 8326, 23330, 72, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 38165, 3, 198, 198, 818, 7989, 11, 777, 17794, 460, 307, 29231, 1813, 262, 34319, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 764, 3, 554, 3357, 11, 2158, 11, 484, 389, 1690, 407, 1695, 4284, 83, 1146, 13, 554, 883, 2663, 356, 561, 2421, 18640, 284, 27665, 883, 17794, 286, 1393, 13, 198, 198, 2514, 19001, 262, 1388, 2126, 11, 11691, 356, 7330, 720, 49, 3, 4795, 14293, 422, 720, 79, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 47113, 910, 11, 39280, 36575, 1837, 23650, 31478, 1169, 8326, 92, 36796, 7, 16, 8, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 36796, 7, 49, 38165, 35307, 1002, 356, 7048, 262, 717, 2589, 7160, 11, 1312, 13, 68, 1539, 39280, 11018, 11848, 90, 36, 92, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 27, 59, 259, 19628, 47113, 788, 416, 262, 4939, 1099, 286, 1588, 3146, 262, 6291, 1612, 39280, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 1169, 8326, 11709, 28, 49, 36796, 12, 16, 92, 3467, 16345, 23330, 81, 28, 16, 92, 36796, 49, 92, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 36796, 7, 81, 38165, 3, 6718, 3212, 287, 12867, 284, 39280, 11018, 11848, 90, 36, 92, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 3, 355, 720, 49, 3, 12444, 284, 37174, 13, 4619, 356, 460, 1630, 262, 18640, 2546, 11, 356, 714, 27665, 262, 34319, 1612, 40647, 880, 532, 611, 356, 389, 5827, 1576, 13, 15298, 11, 584, 7188, 393, 5554, 2915, 460, 307, 6108, 1262, 262, 6291, 15075, 82, 13, 198, 198, 39, 594, 11, 31850, 290, 32278, 1716, 6986, 257, 31350, 1917, 286, 16727, 14293, 422, 262, 34319, 6082, 13, 554, 2276, 11, 19232, 422, 14977, 6082, 318, 257, 2408, 1917, 13, 20525, 11, 612, 318, 783, 257, 1588, 1641, 286, 16113, 4143, 1444, 2940, 709, 6333, 22489, 40089, 357, 9655, 9655, 8, 5050, 284, 6291, 422, 3716, 24570, 13, 198, 198, 464, 4096, 2126, 2157, 777, 16113, 318, 284, 5678, 257, 2940, 709, 6333, 523, 326, 663, 15637, 6082, 318, 262, 2496, 6082, 532, 287, 674, 1339, 262, 2496, 318, 262, 34319, 6082, 13, 2750, 5103, 11, 8405, 422, 262, 13122, 9655, 16113, 389, 1960, 420, 273, 5363, 13, 20525, 11, 2092, 40826, 262, 382, 907, 532, 1444, 1931, 25344, 291, 262, 382, 907, 12, 2946, 329, 777, 23551, 8405, 13, 4698, 617, 4939, 3218, 414, 3403, 11, 356, 460, 779, 14293, 422, 777, 13122, 9655, 16113, 284, 8636, 597, 5499, 286, 262, 10007, 14977, 880, 11, 2810, 326, 262, 3265, 15075, 82, 2152, 13, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 3865, 66, 344, 68, 19, 12, 64, 17, 67, 18, 12, 2598, 5892, 12, 65, 23, 3388, 12, 43697, 68, 5333, 330, 69, 33438, 198, 9132, 37811, 198, 198, 2235, 14435, 2746, 351, 6439, 39280, 82, 13495, 36796, 17, 92, 3, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 718, 66, 44698, 330, 22, 12, 891, 3104, 12, 2231, 6469, 12, 7012, 1558, 12, 23, 69, 2682, 64, 23, 3720, 64, 2481, 67, 198, 9132, 37811, 198, 198, 1135, 423, 1541, 5017, 262, 3487, 2746, 351, 1900, 24198, 287, 1049, 3703, 287, 257, 2180, 19143, 13, 775, 635, 5017, 262, 1339, 286, 257, 3487, 2746, 351, 6439, 24198, 287, 4583, 13, 2102, 11, 783, 356, 481, 10400, 674, 3725, 286, 2940, 709, 6333, 22489, 40089, 5050, 284, 8636, 262, 34319, 6082, 286, 257, 3487, 2746, 351, 6439, 24198, 13, 775, 481, 779, 41071, 19232, 284, 4620, 428, 13, 921, 1244, 4003, 326, 262, 33274, 318, 4622, 1180, 994, 11, 475, 262, 4213, 389, 262, 976, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7930, 66, 24, 2623, 64, 18, 12, 47838, 67, 12, 3682, 64, 15, 12, 15630, 324, 12, 20, 24096, 67, 940, 68, 20, 42691, 198, 9132, 37811, 198, 198, 21017, 14481, 290, 14955, 6356, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 513, 64, 324, 22, 2920, 68, 12, 1065, 3980, 12, 19, 69, 6052, 12, 65, 16315, 12, 2857, 1558, 67, 17, 65, 3865, 31980, 198, 9132, 37811, 198, 198, 464, 2746, 287, 1808, 318, 198, 198, 13702, 88, 23330, 77, 92, 3467, 13602, 3467, 30300, 11, 3467, 82, 13495, 36796, 17, 92, 3467, 14323, 3467, 11018, 9948, 90, 45, 32239, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 828, 3467, 47003, 299, 28, 16, 11, 3467, 335, 1747, 11, 399, 13702, 198, 198, 3003, 1111, 39280, 30300, 3, 290, 39280, 82, 13495, 36796, 17, 92, 3, 389, 783, 6439, 13, 775, 7048, 262, 1708, 3161, 329, 39280, 30300, 25, 3467, 11018, 9948, 90, 45, 32239, 9464, 38016, 30300, 23330, 15, 5512, 3467, 82, 13495, 23330, 15, 92, 36796, 17, 32239, 3506, 8, 35307, 198, 198, 1722, 329, 39280, 82, 13495, 36796, 17, 92, 47113, 543, 2753, 691, 3967, 3815, 11, 257, 11282, 3161, 318, 262, 12429, 259, 4399, 12, 28483, 2611, 3161, 1174, 13, 632, 4962, 503, 326, 428, 3161, 318, 11644, 1018, 378, 329, 262, 14955, 286, 262, 2746, 13, 198, 198, 32, 4738, 7885, 720, 55, 3, 318, 531, 284, 423, 281, 34062, 12, 28483, 2611, 6082, 351, 5485, 11507, 39280, 26591, 29, 15, 3, 290, 5046, 11507, 39280, 31361, 29, 15, 3, 611, 663, 12109, 318, 1813, 416, 198, 198, 13702, 69, 7, 87, 2162, 3467, 26591, 11, 3467, 31361, 47505, 59, 31944, 31478, 31361, 61, 31478, 26591, 11709, 31478, 34777, 2611, 38016, 26591, 38165, 2124, 36796, 30420, 59, 26591, 10, 16, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31361, 1220, 2124, 92, 13702, 198, 198, 1135, 3551, 720, 55, 3467, 14323, 3467, 11018, 9948, 90, 40, 92, 402, 38016, 26591, 11, 3467, 31361, 8, 35307, 770, 318, 262, 11507, 1634, 356, 779, 3690, 777, 4710, 13, 1318, 389, 584, 2219, 11507, 4582, 329, 262, 34062, 12, 28483, 2611, 6082, 618, 14176, 16124, 602, 290, 2482, 1973, 3835, 290, 9473, 11, 340, 318, 1593, 284, 717, 5004, 262, 11507, 1634, 973, 13, 198, 198, 1890, 720, 55, 3467, 14323, 3467, 11018, 9948, 90, 40, 92, 402, 38016, 26591, 11, 3467, 31361, 8, 47113, 663, 1612, 290, 24198, 389, 1813, 416, 198, 198, 13702, 59, 11018, 11848, 90, 36, 92, 1395, 28, 59, 31944, 31478, 31361, 18477, 59, 26591, 12, 16, 92, 13702, 198, 198, 1640, 39280, 26591, 29, 16, 47113, 290, 198, 198, 13702, 59, 3575, 265, 1211, 480, 90, 19852, 92, 7, 55, 47505, 59, 31944, 31478, 31361, 36796, 17, 11709, 90, 38016, 26591, 12, 16, 8, 36796, 17, 92, 38016, 26591, 12, 17, 38165, 13702, 198, 198, 1640, 39280, 26591, 29, 17, 35307, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 9698, 3609, 22913, 66, 12, 68, 3023, 69, 12, 3510, 1314, 12, 24, 65, 4869, 12, 22, 66, 2548, 3865, 20107, 4089, 66, 198, 9132, 37811, 198, 198, 21017, 44996, 1504, 16124, 341, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 767, 1983, 64, 36809, 69, 12, 1065, 2091, 12, 1821, 4089, 12, 4521, 69, 18, 12, 18, 17477, 68, 19, 2934, 2919, 67, 19, 198, 9132, 37811, 198, 198, 15056, 262, 14955, 290, 1293, 669, 11, 356, 460, 783, 27099, 262, 6466, 34319, 6082, 286, 39280, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 764, 3, 6521, 11, 416, 4696, 274, 6, 44728, 11, 262, 6466, 34319, 12109, 318, 1813, 416, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 59, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 1222, 3467, 1676, 457, 78, 279, 59, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 5512, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 26867, 198, 5, 3467, 1676, 457, 78, 279, 38016, 30300, 8, 279, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 30300, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 26867, 198, 5, 3467, 1676, 457, 78, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 3467, 82, 13495, 23330, 15, 92, 36796, 17, 11709, 59, 9464, 38016, 30300, 12, 59, 30300, 23330, 15, 32239, 3506, 8, 36796, 17, 11709, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 50, 23330, 15, 11709, 31478, 82, 13495, 36796, 17, 42535, 3467, 1676, 67, 23330, 77, 28, 16, 92, 36796, 45, 32239, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 31944, 90, 16, 18477, 17, 11709, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 3467, 82, 13495, 36796, 17, 11709, 59, 9464, 7, 88, 23330, 77, 92, 12, 59, 30300, 59, 3506, 8, 36796, 17, 11709, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 1478, 69, 1157, 16072, 15, 12, 17896, 24, 65, 12, 19, 65, 3324, 12, 65, 17, 6814, 12, 3609, 20, 2682, 65, 35549, 10210, 21, 198, 9132, 37811, 198, 6104, 996, 356, 423, 281, 7952, 5408, 329, 262, 6466, 34319, 12109, 11, 340, 318, 407, 3489, 703, 356, 460, 24061, 4284, 83, 1146, 2972, 17794, 286, 1393, 11, 884, 355, 11, 39280, 11018, 11848, 90, 36, 92, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 47113, 262, 34319, 1612, 286, 39280, 30300, 3, 393, 39280, 3575, 265, 1211, 480, 90, 19852, 32239, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 47113, 262, 34319, 24198, 286, 39280, 82, 13495, 36796, 17, 92, 35307, 1881, 835, 2651, 318, 284, 779, 22489, 40089, 18640, 284, 27665, 883, 17794, 13, 220, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 5892, 67, 1795, 891, 12, 11645, 66, 12, 34938, 64, 12, 64, 6659, 66, 12, 23, 67, 20, 69, 2999, 68, 486, 68, 2791, 198, 9132, 37811, 198, 198, 21017, 12029, 1062, 454, 319, 41071, 19232, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 4764, 66, 4089, 69, 15, 67, 12, 67, 41655, 12, 19, 39305, 12, 6420, 67, 18, 12, 21, 66, 3720, 1350, 20, 69, 12993, 23, 64, 198, 9132, 37811, 198, 37058, 11, 611, 356, 2227, 284, 27665, 329, 1672, 39280, 3575, 265, 1211, 480, 90, 19852, 32239, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 47113, 356, 717, 7330, 14293, 422, 262, 34319, 6082, 39280, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 828, 3467, 3575, 265, 1211, 480, 90, 16706, 5512, 59, 9464, 38016, 30300, 36796, 7, 16, 8, 5512, 3467, 82, 13495, 36796, 17, 7, 16, 8, 32239, 3506, 828, 3467, 335, 1747, 11, 59, 9464, 38016, 30300, 36796, 7, 49, 8, 5512, 3467, 82, 13495, 36796, 17, 7, 49, 8, 32239, 3506, 8, 764, 3, 3244, 11, 356, 24061, 198, 198, 13702, 59, 31944, 90, 16, 18477, 49, 92, 3467, 16345, 23330, 81, 28, 16, 92, 36796, 49, 32239, 9464, 38016, 82, 13495, 36796, 17, 7, 81, 38165, 12, 59, 5657, 31478, 82, 13495, 92, 36796, 17, 32239, 3506, 8, 36796, 17, 92, 13702, 198, 198, 3003, 39280, 5657, 31478, 82, 13495, 92, 36796, 17, 92, 3, 318, 262, 1612, 286, 39280, 82, 13495, 36796, 17, 7, 16, 8, 5512, 3467, 335, 1747, 11, 3467, 82, 13495, 36796, 17, 7, 49, 38165, 3, 198, 198, 3844, 262, 1917, 4329, 25, 1374, 466, 356, 6291, 422, 262, 34319, 6082, 30, 770, 6774, 514, 284, 2940, 709, 6333, 22489, 40089, 357, 9655, 9655, 8, 5050, 11, 543, 389, 257, 3154, 1398, 286, 16113, 329, 19232, 422, 14977, 12867, 24570, 13, 770, 318, 8793, 416, 30580, 257, 2940, 709, 6333, 884, 326, 663, 15637, 6082, 318, 262, 10348, 6082, 13, 10383, 356, 2112, 530, 884, 2446, 11, 1444, 41071, 19232, 13, 198, 198, 48379, 11, 11691, 356, 4601, 284, 6291, 422, 262, 2496, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 464, 8326, 30072, 28, 79, 59, 9464, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 77, 32239, 3506, 8, 35307, 317, 41071, 6072, 20053, 34175, 257, 2940, 709, 6333, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 16, 8, 5512, 3467, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 17, 8, 5512, 3467, 335, 1747, 3, 1262, 262, 1336, 26340, 24570, 720, 79, 59, 9464, 38016, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 72, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 72, 12, 16, 5512, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 72, 10, 16, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 77, 32239, 3506, 8, 3, 355, 262, 6801, 50207, 13, 4698, 1728, 3218, 414, 3403, 11, 262, 15637, 6082, 286, 262, 2940, 709, 6333, 4145, 12006, 318, 262, 2496, 6082, 13, 198, 198, 18843, 15208, 11, 356, 923, 422, 281, 4238, 1181, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 15, 38165, 35307, 3244, 11, 356, 9585, 262, 1708, 4831, 422, 720, 81, 28, 16, 3, 284, 720, 49, 3, 1058, 198, 198, 15056, 262, 1459, 1181, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 28, 59, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 81, 38165, 47113, 7716, 39280, 11018, 19881, 90, 56, 92, 28, 59, 9464, 38016, 11018, 19881, 90, 56, 92, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 11018, 19881, 90, 56, 92, 23330, 77, 32239, 3506, 8, 3, 355, 5679, 25, 198, 198, 16, 13, 15315, 39280, 11018, 19881, 90, 56, 92, 23330, 16, 92, 3467, 14323, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 23330, 16, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 17, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 77, 32239, 3506, 8, 35307, 198, 198, 17, 13, 15315, 39280, 11018, 19881, 90, 56, 92, 23330, 72, 92, 3467, 14323, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 23330, 72, 92, 3467, 13602, 3467, 11018, 19881, 90, 56, 92, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 11018, 19881, 90, 56, 92, 23330, 72, 12, 16, 5512, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 72, 10, 16, 5512, 3467, 335, 1747, 11, 3467, 36575, 1837, 23650, 31478, 1169, 8326, 92, 23330, 77, 32239, 3506, 828, 1312, 28, 17, 11, 3467, 335, 1747, 11, 299, 12, 16, 3, 198, 198, 18, 13, 15315, 39280, 11018, 19881, 90, 56, 92, 23330, 77, 92, 3467, 14323, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 23330, 77, 92, 3467, 13602, 3467, 11018, 19881, 90, 56, 92, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 11018, 19881, 90, 56, 92, 23330, 77, 12, 16, 32239, 3506, 8, 3, 220, 198, 198, 1026, 318, 1593, 284, 3465, 326, 262, 2940, 709, 6333, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 16, 8, 5512, 3467, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 17, 8, 5512, 3467, 335, 1747, 3, 857, 407, 47873, 284, 257, 5969, 15879, 286, 38491, 13, 11317, 11, 340, 318, 262, 6082, 286, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 81, 38165, 3, 326, 6718, 3212, 284, 262, 2496, 6082, 13, 198, 198, 818, 3357, 11, 530, 6032, 1221, 1371, 262, 717, 720, 49, 23330, 15, 92, 3, 14293, 284, 11005, 262, 1245, 286, 262, 4238, 1181, 39280, 36575, 1837, 23650, 31478, 464, 8326, 92, 36796, 7, 15, 38165, 35307, 383, 25148, 14293, 389, 1690, 6773, 276, 284, 355, 262, 705, 10899, 12, 259, 4458, 1318, 389, 257, 1271, 286, 40826, 6689, 34558, 284, 1332, 611, 262, 2940, 709, 6333, 468, 6718, 2004, 284, 262, 15637, 6082, 13, 1881, 2968, 1332, 318, 262, 402, 413, 68, 365, 338, 40826, 6689, 34558, 13, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 23, 1157, 12993, 67, 24, 12, 18, 65, 1860, 12, 2780, 1270, 12, 23, 68, 24, 67, 12, 21142, 19, 67, 22, 67, 17, 66, 23, 3829, 198, 9132, 37811, 220, 198, 198, 21017, 44996, 1504, 290, 41071, 19232, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 18, 344, 65, 19, 18213, 12, 21, 67, 2231, 12, 2231, 2231, 12, 1350, 2931, 12, 23, 27260, 69, 15197, 66, 17, 68, 20, 198, 9132, 1, 220, 220, 198, 198, 3844, 11, 706, 428, 5114, 286, 41071, 19232, 11, 356, 1441, 284, 262, 31850, 286, 262, 734, 11507, 3487, 2746, 13, 1675, 5678, 257, 41071, 6072, 20053, 284, 3197, 422, 262, 34319, 6082, 720, 79, 59, 9464, 38016, 30300, 11, 3467, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 47113, 356, 761, 284, 27099, 734, 26340, 24570, 25, 720, 79, 59, 9464, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 3, 290, 720, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 30300, 59, 3506, 8, 35307, 198, 198, 2514, 27099, 262, 717, 26340, 6082, 11, 3465, 326, 1813, 39280, 82, 13495, 36796, 17, 92, 47113, 428, 318, 262, 976, 3487, 2746, 351, 1900, 24198, 6693, 287, 938, 2665, 13, 6660, 11, 1262, 262, 976, 16124, 341, 878, 11, 356, 423, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 59, 9464, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 1222, 3467, 1676, 457, 78, 279, 38016, 30300, 8, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 30300, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 26867, 198, 5, 3467, 1676, 457, 78, 3467, 11018, 26224, 90, 11201, 18477, 59, 9464, 58, 12, 59, 31944, 90, 16, 18477, 17, 32239, 9464, 38016, 9464, 38016, 31944, 90, 16, 18477, 59, 82, 13495, 23330, 15, 92, 36796, 17, 11709, 10, 59, 31944, 90, 45, 18477, 59, 82, 13495, 36796, 17, 11709, 59, 3506, 8, 3467, 30300, 36796, 17, 92, 12, 17, 3467, 30300, 59, 9464, 38016, 31944, 31478, 30300, 23330, 15, 11709, 31478, 82, 13495, 23330, 15, 92, 36796, 17, 11709, 10, 59, 31944, 90, 45, 3467, 5657, 90, 88, 11709, 31478, 82, 13495, 36796, 17, 11709, 59, 3506, 19415, 3506, 19415, 3506, 48999, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 39, 594, 11, 39280, 9464, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 3467, 14323, 3467, 11018, 9948, 90, 45, 32239, 9464, 38016, 4421, 5183, 31478, 30300, 5512, 360, 23330, 59, 30300, 32239, 3506, 8, 47113, 810, 198, 198, 13702, 35, 23330, 59, 30300, 92, 28, 59, 9464, 38016, 31944, 90, 16, 18477, 59, 82, 13495, 23330, 15, 92, 36796, 17, 11709, 10, 59, 31944, 90, 45, 18477, 59, 82, 13495, 36796, 17, 11709, 59, 3506, 8, 36796, 12, 16, 5512, 3467, 47003, 3467, 4421, 5183, 31478, 30300, 92, 28, 35, 23330, 59, 30300, 32239, 9464, 38016, 31944, 31478, 30300, 23330, 15, 11709, 31478, 82, 13495, 23330, 15, 92, 36796, 17, 11709, 10, 59, 31944, 90, 45, 3467, 5657, 90, 88, 11709, 31478, 82, 13495, 36796, 17, 11709, 59, 3506, 8, 13702, 198, 198, 10019, 11, 356, 27099, 262, 26340, 6082, 286, 39280, 82, 13495, 36796, 17, 92, 3, 1058, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 30300, 59, 3506, 8, 1222, 3467, 1676, 457, 78, 279, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 30300, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 26867, 198, 5, 3467, 1676, 457, 78, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 50, 23330, 15, 11709, 31478, 82, 13495, 36796, 17, 11709, 32239, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 45, 1220, 362, 92, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 3467, 82, 13495, 36796, 17, 11709, 3467, 16345, 23330, 77, 28, 16, 92, 36796, 45, 32239, 9464, 7, 88, 23330, 77, 92, 12, 59, 30300, 59, 3506, 8, 36796, 17, 11709, 26867, 198, 5, 3467, 1676, 457, 78, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 45, 1220, 362, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 50, 23330, 15, 92, 10, 59, 16345, 23330, 77, 28, 16, 92, 36796, 45, 32239, 9464, 7, 88, 23330, 77, 92, 12, 59, 30300, 59, 3506, 8, 36796, 17, 92, 1220, 362, 18477, 59, 82, 13495, 36796, 17, 42535, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 3792, 428, 257, 1900, 6082, 30, 632, 4962, 503, 326, 428, 318, 281, 34062, 12, 28483, 2611, 6082, 13, 3082, 1723, 428, 5408, 351, 262, 14276, 34062, 12, 28483, 2611, 6082, 11, 356, 423, 198, 198, 13702, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 30300, 59, 3506, 8, 3467, 14323, 3467, 11018, 9948, 90, 40, 92, 402, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 59, 31944, 90, 45, 18477, 17, 5512, 311, 23330, 15, 92, 10, 59, 31944, 90, 16, 18477, 17, 92, 3467, 16345, 23330, 77, 28, 16, 92, 36796, 45, 32239, 9464, 7, 88, 23330, 77, 92, 12, 59, 30300, 59, 3506, 8, 36796, 17, 32239, 3506, 8, 13702, 628, 198, 2514, 35743, 11, 262, 41071, 6072, 20053, 329, 262, 734, 12, 17143, 2357, 2746, 318, 1813, 355, 2174, 13, 12346, 617, 4238, 3815, 39280, 30300, 36796, 7, 15, 38165, 3, 290, 39280, 82, 13495, 36796, 17, 7, 15, 38165, 29, 15, 764, 3, 3244, 11, 9585, 262, 1708, 4831, 422, 720, 81, 28, 16, 3, 284, 720, 49, 3, 1058, 198, 198, 16, 13, 15315, 39280, 30300, 36796, 7, 81, 38165, 3467, 14323, 279, 59, 9464, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 7, 81, 12, 16, 8, 32239, 3506, 8, 35307, 198, 198, 17, 13, 15315, 39280, 82, 13495, 36796, 17, 7, 81, 38165, 3467, 14323, 279, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 30300, 36796, 7, 81, 8, 32239, 3506, 8, 3, 198, 198, 3260, 1221, 13493, 262, 717, 720, 49, 23330, 15, 92, 3, 14293, 355, 4245, 12, 259, 11, 356, 460, 779, 262, 14293, 39280, 30300, 61, 31478, 9464, 7, 49, 23330, 15, 92, 10, 16, 59, 3506, 8, 5512, 3467, 335, 1747, 11, 3467, 30300, 36796, 7, 49, 38165, 3, 290, 39280, 82, 13495, 36796, 17, 59, 9464, 7, 49, 23330, 15, 92, 10, 16, 59, 3506, 8, 5512, 3467, 335, 1747, 11, 3467, 82, 13495, 36796, 17, 7, 49, 38165, 3, 284, 24061, 2972, 17794, 286, 1393, 13, 1114, 1672, 11, 356, 460, 779, 198, 198, 13702, 59, 31944, 90, 16, 18477, 49, 12, 49, 23330, 15, 11709, 3467, 16345, 23330, 81, 28, 49, 23330, 15, 92, 10, 16, 92, 36796, 49, 92, 3467, 30300, 36796, 7, 81, 38165, 13702, 198, 198, 292, 281, 8636, 286, 39280, 11018, 11848, 90, 36, 92, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 35307, 198, 198, 1, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 21101, 20, 397, 4524, 12, 6814, 21, 65, 12, 47106, 64, 12, 1350, 64, 19, 12, 2425, 64, 18, 67, 15, 68, 3559, 66, 5066, 198, 9132, 1, 44386, 13672, 605, 7822, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 671, 1558, 3901, 12, 20, 68, 5705, 12, 44103, 64, 12, 24, 66, 3134, 12, 24, 2624, 17457, 3134, 2780, 66, 2920, 198, 9132, 37811, 198, 198, 1722, 281, 20936, 11, 262, 1708, 2438, 717, 18616, 257, 27039, 286, 720, 45, 28, 3064, 3, 13050, 422, 262, 734, 12, 17143, 2357, 3487, 2746, 351, 39280, 30300, 28, 18, 3, 290, 39280, 82, 13495, 36796, 17, 92, 28, 15, 13, 16, 35307, 3244, 11, 340, 23986, 257, 41071, 6072, 20053, 284, 4726, 3746, 284, 6291, 422, 262, 734, 26340, 24570, 25, 720, 79, 59, 9464, 38016, 30300, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 3, 290, 720, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 30300, 59, 3506, 8, 35307, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 5824, 9945, 22, 69, 15, 12, 24, 69, 2548, 12, 2857, 5333, 12, 64, 18, 66, 18, 12, 19, 67, 21, 16072, 2857, 1959, 3609, 24, 198, 27471, 198, 197, 2, 40117, 329, 717, 1672, 198, 197, 5907, 320, 796, 838, 62, 830, 198, 197, 10899, 259, 796, 8576, 198, 197, 34703, 796, 513, 13, 15, 1303, 6407, 18919, 198, 197, 38392, 17, 796, 657, 13, 16, 1303, 6407, 18074, 225, 17, 198, 197, 45, 796, 1802, 198, 197, 34703, 62, 15, 796, 657, 13, 15, 198, 197, 38392, 17, 62, 15, 796, 1802, 198, 197, 26180, 62, 15, 796, 513, 13, 15, 198, 197, 138, 96, 62, 15, 796, 657, 13, 20, 198, 197, 34703, 62, 16, 796, 657, 13, 15, 1303, 20768, 38779, 329, 41071, 6072, 20053, 198, 197, 38392, 17, 62, 16, 796, 352, 13, 15, 1303, 20768, 264, 13495, 329, 41071, 6072, 20053, 198, 197, 198, 197, 2, 15891, 10007, 329, 1218, 1672, 198, 197, 51, 796, 5323, 198, 197, 26638, 796, 685, 16, 13, 15, 642, 13, 15, 60, 198, 197, 26638, 62, 15, 796, 685, 15, 13, 15, 657, 13, 15, 60, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 64, 21, 66, 23, 3270, 66, 12, 68, 18, 68, 22, 12, 19, 324, 24, 12, 24, 22579, 12, 2931, 16, 65, 21, 65, 16, 67, 17, 11848, 69, 198, 8818, 1366, 62, 5235, 7, 34703, 11, 18074, 225, 17, 11, 399, 8, 198, 220, 220, 220, 18919, 764, 10, 19862, 17034, 7, 38392, 17, 8, 764, 9, 43720, 77, 7, 45, 11, 352, 8, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7769, 1795, 67, 22, 64, 16, 12, 18741, 65, 12, 2857, 1731, 12, 3829, 21855, 12, 65, 3510, 68, 1270, 3459, 67, 17, 67, 21, 198, 3605, 62, 7890, 796, 1366, 62, 5235, 7, 34703, 11, 18074, 225, 17, 11, 399, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 69, 1065, 69, 21, 69, 21, 12, 69, 24, 64, 22, 12, 19, 67, 3023, 12, 64, 20, 330, 12, 16, 6814, 5824, 69, 3070, 69, 23, 66, 18, 198, 10034, 21857, 7, 3605, 62, 7890, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7769, 1129, 21101, 15, 67, 12, 7012, 3070, 12, 2920, 66, 23, 12, 65, 17, 65, 24, 12, 4310, 64, 24669, 66, 2670, 69, 5774, 198, 8818, 46795, 1443, 7, 5907, 320, 11, 4245, 259, 11, 18919, 11, 18074, 225, 17, 11, 399, 11, 18919, 62, 15, 11, 18074, 225, 17, 62, 15, 11, 7377, 121, 62, 15, 11, 7377, 96, 62, 15, 11, 18919, 62, 16, 11, 18074, 225, 17, 62, 16, 8, 198, 220, 220, 220, 331, 796, 1366, 62, 5235, 7, 34703, 11, 18074, 225, 17, 11, 399, 8, 1303, 2980, 515, 1366, 198, 220, 220, 220, 3650, 62, 138, 116, 796, 1976, 27498, 7, 5907, 320, 11, 362, 8, 1303, 20768, 786, 262, 3650, 62, 138, 116, 7177, 628, 220, 220, 220, 1303, 7253, 262, 41071, 19232, 8771, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 5907, 320, 1343, 4245, 259, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 27565, 18919, 220, 198, 220, 220, 220, 220, 220, 220, 220, 360, 62, 34703, 220, 220, 796, 352, 1220, 357, 16, 1220, 18074, 225, 17, 62, 15, 764, 10, 399, 1220, 18074, 225, 17, 62, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 18919, 62, 5183, 796, 360, 62, 34703, 764, 9, 357, 34703, 62, 15, 1220, 18074, 225, 17, 62, 15, 764, 10, 2160, 7, 88, 8, 1220, 18074, 225, 17, 62, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 18919, 62, 16, 220, 220, 796, 18919, 62, 5183, 764, 10, 19862, 17034, 7, 35, 62, 34703, 8, 764, 9, 43720, 77, 3419, 1303, 6708, 500, 13389, 318, 635, 3487, 357, 3549, 36775, 48780, 8, 198, 197, 197, 2, 34703, 62, 16, 796, 43720, 7, 26447, 7, 34703, 62, 5183, 11, 360, 62, 34703, 4008, 1303, 18322, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27565, 18074, 225, 17, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 225, 17, 62, 16, 220, 796, 43720, 7, 818, 4399, 34777, 2611, 7, 26180, 62, 15, 764, 10, 399, 14, 17, 11, 352, 29006, 138, 96, 62, 15, 764, 10, 2160, 19510, 88, 764, 12, 18919, 62, 16, 737, 61, 17, 8, 1220, 362, 22305, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 1875, 4245, 259, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 1015, 796, 1312, 764, 12, 4245, 259, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 138, 116, 58, 271, 1015, 11, 1058, 60, 796, 685, 34703, 62, 16, 11, 18074, 225, 17, 62, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1612, 7, 8095, 62, 138, 116, 58, 45299, 352, 46570, 1612, 7, 8095, 62, 138, 116, 58, 45299, 362, 46570, 3650, 62, 138, 116, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 37290, 19004, 65, 18, 12, 1954, 65, 20, 12, 3510, 405, 12, 65, 24, 1065, 12, 22, 9945, 19, 397, 3365, 2934, 1878, 198, 7353, 62, 70, 571, 1443, 796, 46795, 1443, 7, 5907, 320, 11, 4245, 259, 11, 18919, 11, 18074, 225, 17, 11, 399, 11, 18919, 62, 15, 11, 18074, 225, 17, 62, 15, 11, 7377, 121, 62, 15, 11, 7377, 96, 62, 15, 11, 18919, 62, 16, 11, 18074, 225, 17, 62, 16, 1776, 1303, 34319, 1612, 286, 18919, 290, 18074, 225, 61, 17, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 513, 3609, 397, 2998, 18, 12, 66, 4089, 64, 12, 3682, 1485, 12, 64, 23, 2327, 12, 1270, 4089, 25429, 7012, 3829, 66, 198, 9132, 1, 3914, 514, 766, 644, 428, 3073, 588, 618, 356, 7110, 262, 34319, 13, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 6580, 66, 3980, 891, 17, 12, 67, 20, 67, 17, 12, 3510, 1731, 12, 24, 324, 24, 12, 1157, 69, 1314, 11785, 31980, 69, 198, 27471, 198, 197, 87, 62, 75, 796, 2824, 7, 16, 37498, 5907, 320, 12, 10899, 259, 18125, 198, 197, 10034, 21857, 7, 87, 62, 75, 11, 1281, 62, 70, 571, 1443, 58, 18, 7131, 45299, 16, 4357, 3487, 1096, 28, 25, 12315, 11, 8177, 796, 3991, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 11672, 22, 25270, 67, 12, 1120, 4349, 12, 19, 276, 15, 12, 65, 397, 67, 12, 23, 68, 330, 405, 64, 21, 2682, 67, 17, 198, 10034, 21857, 7, 87, 62, 75, 11, 1281, 62, 70, 571, 1443, 58, 18, 7131, 45299, 17, 4357, 3487, 1096, 28, 25, 12315, 11, 8177, 796, 3991, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 46618, 2996, 20809, 12, 20, 67, 15, 68, 12, 19, 64, 19, 68, 12, 28362, 69, 12, 67, 15, 68, 3829, 64, 1415, 66, 20, 1860, 198, 9132, 37811, 775, 460, 635, 3197, 3621, 542, 454, 21528, 986, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 23460, 1120, 5824, 67, 12, 64, 3134, 65, 12, 38339, 66, 12, 23, 2682, 67, 12, 68, 17572, 44093, 2091, 13464, 198, 27471, 198, 197, 2164, 3419, 198, 197, 9979, 399, 158, 224, 223, 796, 1802, 62, 830, 198, 197, 9979, 18919, 158, 224, 223, 796, 685, 7353, 62, 70, 571, 1443, 58, 16, 4357, 1281, 62, 70, 571, 1443, 58, 16, 11907, 198, 197, 9979, 7377, 96, 796, 685, 16, 1281, 62, 70, 571, 1443, 58, 17, 11208, 1281, 62, 70, 571, 1443, 58, 17, 60, 352, 60, 628, 197, 9979, 285, 85, 11265, 796, 337, 85, 26447, 7, 34703, 158, 224, 223, 11, 7377, 96, 8, 628, 197, 7890, 796, 43720, 7, 76, 85, 11265, 11, 399, 158, 224, 223, 33047, 198, 197, 87, 158, 224, 223, 796, 657, 25, 15, 13, 486, 25, 21, 198, 197, 88, 158, 224, 223, 796, 657, 25, 15, 13, 486, 25, 21, 198, 197, 67, 641, 62, 76, 85, 11265, 796, 685, 12315, 7, 76, 85, 11265, 11, 685, 72, 11, 474, 12962, 329, 1312, 287, 2124, 158, 224, 223, 11, 474, 287, 331, 158, 224, 223, 60, 198, 197, 3642, 454, 7, 87, 158, 224, 223, 11, 331, 158, 224, 223, 11, 29509, 62, 76, 85, 11265, 11, 2124, 18242, 2625, 55, 1600, 331, 18242, 2625, 56, 1600, 6070, 28, 7942, 11, 6070, 49903, 796, 1058, 501, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 25508, 17457, 22, 21101, 12, 22, 15377, 12, 3901, 66, 17, 12, 65, 22, 64, 19, 12, 69, 2713, 32459, 2079, 1899, 66, 18, 198, 9132, 37811, 1471, 772, 14996, 4417, 21528, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 4019, 68, 2791, 1129, 65, 12, 330, 3682, 12, 36625, 65, 12, 23, 69, 2548, 12, 25764, 65, 17, 65, 2079, 67, 830, 198, 42029, 7, 87, 158, 224, 223, 11, 331, 158, 224, 223, 11, 29509, 62, 76, 85, 11265, 11, 6070, 49903, 796, 1058, 501, 11, 4469, 48787, 796, 1058, 38933, 11186, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 9415, 65, 24, 3134, 1959, 12, 2091, 66, 17, 12, 2920, 65, 15, 12, 65, 24, 2919, 12, 43918, 69, 1878, 24, 3070, 64, 16, 68, 198, 9132, 37811, 198, 198, 2235, 4696, 35610, 14174, 20683, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 69, 17, 66, 24, 41544, 12, 15, 65, 17, 66, 12, 19, 64, 1415, 12, 24, 69, 2078, 12, 16, 69, 891, 3104, 69, 21, 65, 24669, 198, 9132, 37811, 198, 198, 464, 670, 30527, 2746, 287, 304, 1102, 908, 10466, 318, 262, 3487, 14174, 20683, 2746, 13, 11285, 935, 477, 584, 517, 12846, 4981, 389, 3170, 2402, 428, 8489, 13, 632, 318, 4361, 9204, 284, 3938, 1833, 703, 530, 7746, 428, 2746, 13, 554, 428, 2665, 356, 481, 2148, 262, 3307, 287, 4587, 1412, 262, 14955, 290, 262, 34319, 6072, 20053, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 48173, 6052, 13227, 12, 344, 1129, 12, 2920, 1453, 12, 7252, 15, 66, 12, 3312, 39647, 21223, 17, 64, 21, 198, 9132, 37811, 44386, 44800, 20683, 287, 17593, 33274, 37227, 628, 198, 2, 2343, 243, 242, 28670, 22880, 94, 1596, 3070, 1765, 1129, 12, 64, 31047, 12, 19, 68, 1350, 12, 64, 24, 65, 18, 12, 1507, 7568, 19881, 19, 891, 67, 5036, 198, 9132, 37811, 198, 198, 2514, 923, 11, 11691, 356, 423, 1366, 319, 257, 10795, 7885, 720, 88, 23330, 83, 92, 3, 329, 720, 83, 28, 16, 11, 3467, 335, 1747, 11, 309, 35307, 3244, 11, 2074, 262, 1708, 14174, 20683, 2746, 25, 198, 198, 13702, 88, 23330, 83, 92, 28, 59, 31361, 23330, 16, 92, 10, 87, 23330, 17, 11, 256, 92, 3467, 31361, 23330, 17, 92, 10, 59, 10210, 1747, 10, 87, 23330, 74, 11, 256, 92, 3467, 31361, 23330, 74, 92, 10, 59, 85, 533, 862, 33576, 23330, 83, 92, 13702, 198, 198, 3003, 39280, 85, 533, 862, 33576, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 85, 533, 862, 33576, 23330, 51, 92, 3, 389, 9672, 284, 307, 1312, 312, 39280, 11018, 9948, 90, 45, 32239, 9464, 7, 15, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 47113, 290, 720, 87, 23330, 16, 11, 256, 5512, 2124, 23330, 17, 11, 256, 5512, 3467, 335, 1747, 11, 2124, 23330, 74, 11, 256, 92, 3, 389, 262, 720, 74, 3, 50252, 669, 357, 1069, 11578, 2870, 9633, 8, 290, 39280, 31361, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 31361, 23330, 74, 92, 3, 389, 262, 3917, 20683, 44036, 13, 198, 198, 6425, 326, 287, 428, 5103, 356, 900, 720, 87, 23330, 16, 11, 256, 92, 796, 352, 3, 329, 477, 720, 83, 796, 352, 11, 3467, 335, 1747, 11, 309, 3, 284, 1249, 329, 281, 15788, 13, 554, 3090, 11, 611, 356, 6330, 262, 720, 87, 23330, 72, 11, 256, 92, 3, 3815, 284, 307, 300, 3775, 286, 262, 10795, 7885, 788, 428, 561, 307, 281, 1960, 382, 19741, 2746, 13, 220, 198, 198, 2514, 27099, 262, 14955, 11, 340, 318, 517, 11282, 284, 3551, 428, 287, 17593, 33274, 13, 554, 1948, 11, 356, 8931, 262, 13050, 625, 720, 83, 28, 16, 11, 3467, 335, 1747, 11, 309, 3, 523, 326, 1123, 5752, 6870, 262, 13432, 379, 640, 720, 83, 35307, 3914, 39280, 11018, 19881, 90, 88, 92, 28, 59, 9464, 7, 88, 23330, 16, 5512, 3467, 335, 1747, 11, 331, 23330, 51, 32239, 3506, 8, 61, 31478, 35505, 92, 3, 290, 39280, 36575, 1837, 23650, 31478, 31361, 92, 28, 59, 9464, 38016, 31361, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 31361, 23330, 74, 32239, 3506, 8, 61, 31478, 35505, 92, 764, 3, 9461, 11, 356, 423, 326, 39280, 85, 533, 862, 33576, 3, 318, 257, 720, 51, 3467, 22355, 352, 3, 15879, 326, 318, 24167, 287, 262, 976, 835, 355, 39280, 11018, 19881, 90, 56, 92, 35307, 3244, 11, 28183, 262, 2187, 1080, 286, 720, 51, 3, 27490, 355, 25, 198, 198, 13702, 59, 9464, 38016, 27471, 90, 18747, 18477, 66, 92, 198, 88, 23330, 16, 92, 26867, 198, 88, 23330, 17, 92, 26867, 198, 59, 20306, 1747, 26867, 198, 88, 23330, 51, 92, 198, 59, 437, 90, 18747, 32239, 3506, 47505, 59, 9464, 38016, 27471, 90, 18747, 18477, 535, 535, 92, 198, 16, 1222, 2124, 23330, 17, 11, 16, 92, 1222, 3467, 10210, 1747, 1222, 2124, 23330, 74, 11, 352, 92, 26867, 198, 16, 1222, 2124, 23330, 17, 11, 17, 92, 1222, 3467, 10210, 1747, 1222, 2124, 23330, 74, 11, 362, 92, 26867, 198, 59, 20306, 1747, 1222, 3467, 20306, 1747, 1222, 3467, 1860, 1747, 1222, 3467, 20306, 1747, 26867, 198, 16, 1222, 2124, 23330, 17, 11, 309, 92, 1222, 3467, 10210, 1747, 1222, 2124, 23330, 74, 11, 309, 92, 198, 59, 437, 90, 18747, 32239, 3506, 19415, 9464, 38016, 27471, 90, 18747, 18477, 66, 92, 198, 59, 31361, 23330, 16, 92, 26867, 198, 59, 20306, 1747, 26867, 198, 59, 31361, 23330, 74, 92, 198, 59, 437, 90, 18747, 32239, 3506, 47762, 59, 9464, 38016, 27471, 90, 18747, 18477, 66, 92, 198, 59, 85, 533, 862, 33576, 23330, 16, 92, 26867, 198, 59, 85, 533, 862, 33576, 23330, 17, 92, 26867, 198, 59, 20306, 1747, 26867, 198, 59, 85, 533, 862, 33576, 23330, 51, 92, 198, 59, 437, 90, 18747, 32239, 3506, 8, 13702, 198, 198, 12050, 1654, 262, 15225, 2029, 787, 2565, 284, 345, 13, 1114, 674, 1672, 11, 39280, 11018, 19881, 90, 88, 92, 3, 318, 257, 720, 51, 3467, 22355, 352, 3, 15879, 11, 39280, 11018, 19881, 90, 55, 92, 3, 318, 257, 720, 51, 3467, 22355, 479, 3, 17593, 11, 39280, 36575, 1837, 23650, 31478, 31361, 92, 3, 318, 257, 720, 74, 3467, 22355, 352, 3, 15879, 290, 39280, 85, 533, 862, 33576, 3, 318, 257, 720, 51, 3467, 22355, 352, 3, 15879, 13, 198, 198, 5122, 1080, 460, 307, 3194, 517, 46263, 306, 355, 11, 198, 198, 13702, 59, 11018, 19881, 90, 88, 92, 28, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 10, 59, 85, 533, 862, 33576, 13702, 198, 198, 6385, 356, 7048, 326, 39280, 85, 533, 862, 33576, 23330, 16, 5512, 3467, 335, 1747, 11, 3467, 85, 533, 862, 33576, 23330, 51, 92, 3, 389, 1312, 312, 39280, 11018, 9948, 90, 45, 32239, 9464, 7, 15, 11, 3467, 82, 13495, 36796, 17, 32239, 3506, 828, 3467, 85, 533, 862, 33576, 3, 468, 257, 1963, 42524, 3487, 6082, 351, 1612, 15879, 39280, 11018, 19881, 90, 15, 92, 23330, 51, 92, 3, 290, 44829, 590, 17593, 39280, 11018, 19881, 31478, 50, 13495, 92, 796, 3467, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 92, 47113, 810, 39280, 11018, 19881, 90, 15, 92, 23330, 51, 92, 3, 318, 257, 720, 51, 3467, 22355, 352, 3, 15879, 286, 1976, 27498, 290, 39280, 11018, 19881, 90, 40, 92, 23330, 51, 92, 3, 318, 262, 720, 51, 3467, 22355, 309, 3, 5369, 17593, 13, 1320, 318, 11, 198, 198, 13702, 59, 85, 533, 862, 33576, 3467, 14323, 3467, 11018, 9948, 90, 45, 32239, 9464, 7, 15, 11, 3467, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 32239, 3506, 8, 13702, 198, 198, 3844, 356, 1445, 319, 284, 262, 16124, 341, 286, 262, 14955, 2163, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 860, 487, 276, 22, 64, 23, 12, 69, 23, 67, 18, 12, 19, 66, 16, 64, 12, 2001, 64, 12, 20, 67, 21, 2414, 35809, 2548, 1959, 198, 9132, 37811, 198, 198, 21017, 10062, 18991, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 860, 6052, 66, 24, 19708, 12, 67, 32583, 12, 19, 69, 1765, 12, 23, 64, 5332, 12, 4349, 67, 5332, 66, 2548, 16072, 23, 67, 198, 9132, 37811, 198, 198, 464, 717, 1517, 326, 356, 466, 287, 262, 31850, 8771, 318, 27099, 262, 14955, 2163, 13, 770, 2163, 318, 5447, 355, 262, 6466, 12109, 286, 262, 1366, 1813, 262, 10007, 13, 554, 674, 1339, 11, 262, 14955, 2163, 318, 262, 6466, 12109, 286, 39280, 11018, 19881, 90, 88, 92, 3, 1813, 39280, 36575, 1837, 23650, 31478, 31361, 92, 3, 290, 39280, 82, 13495, 36796, 17, 92, 35307, 1675, 27099, 262, 14955, 286, 262, 3487, 14174, 20683, 2746, 11, 356, 779, 734, 4465, 2482, 13, 220, 198, 198, 5962, 11, 281, 1527, 500, 13389, 11, 1312, 13, 68, 13, 257, 14174, 13389, 3940, 416, 257, 11059, 286, 257, 3487, 4738, 15879, 11, 318, 635, 257, 3487, 4738, 15879, 13, 921, 460, 1064, 257, 5114, 319, 428, 2482, 685, 1456, 16151, 5450, 1378, 11018, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 2091, 1731, 3901, 14, 2001, 500, 12, 7645, 1161, 12, 1324, 18511, 12, 1462, 12, 64, 12, 16680, 42524, 12, 4908, 31562, 12, 25120, 12, 45286, 12, 10919, 737, 2735, 11, 39280, 11018, 19881, 90, 88, 92, 3, 318, 281, 1527, 500, 13389, 286, 39280, 85, 533, 862, 33576, 47113, 543, 318, 9672, 284, 423, 257, 1963, 42524, 3487, 6082, 13, 6660, 11, 39280, 11018, 19881, 90, 88, 92, 3, 635, 468, 257, 3487, 6082, 13, 4619, 257, 3487, 6082, 318, 24139, 5295, 416, 663, 1612, 15879, 290, 44829, 590, 17593, 11, 340, 3027, 1063, 284, 24061, 262, 1612, 290, 44829, 590, 17593, 286, 39280, 11018, 19881, 90, 88, 92, 35307, 198, 198, 1212, 6774, 514, 284, 262, 1306, 4465, 1255, 25, 11691, 39280, 11018, 19881, 90, 84, 92, 3, 468, 257, 1612, 15879, 39280, 36575, 1837, 23650, 31478, 30300, 92, 23330, 59, 11018, 26224, 90, 84, 11709, 3, 290, 44829, 590, 17593, 39280, 36575, 1837, 23650, 31478, 50, 13495, 92, 23330, 59, 11018, 19881, 90, 84, 11709, 35307, 3914, 39280, 11018, 19881, 90, 85, 92, 28, 59, 11018, 19881, 90, 32, 92, 3467, 11018, 19881, 90, 84, 92, 10, 59, 11018, 19881, 90, 66, 92, 3, 329, 6937, 2603, 45977, 39280, 11018, 19881, 90, 32, 92, 3, 290, 39280, 11018, 19881, 90, 66, 92, 764, 3, 3244, 262, 1612, 15879, 290, 44829, 590, 17593, 286, 39280, 11018, 19881, 90, 85, 92, 3, 389, 1813, 416, 198, 198, 13702, 59, 11018, 11848, 90, 36, 92, 3467, 11018, 19881, 90, 85, 92, 28, 59, 11018, 19881, 90, 32, 92, 3467, 36575, 1837, 23650, 31478, 30300, 92, 23330, 59, 11018, 19881, 90, 84, 11709, 10, 59, 11018, 19881, 90, 66, 5512, 3467, 47003, 3467, 3575, 265, 1211, 480, 90, 34, 709, 92, 38016, 11018, 19881, 90, 84, 30072, 28, 59, 11018, 19881, 90, 32, 92, 3467, 36575, 1837, 23650, 31478, 50, 13495, 92, 23330, 59, 11018, 19881, 90, 84, 11709, 3467, 11018, 19881, 90, 32, 92, 61, 31478, 35505, 92, 13702, 198, 198, 12814, 428, 1255, 11, 340, 318, 2562, 284, 766, 326, 1813, 39280, 36575, 1837, 23650, 31478, 31361, 92, 3, 290, 39280, 82, 13495, 36796, 17, 92, 47113, 198, 198, 13702, 59, 11018, 11848, 90, 36, 92, 3467, 11018, 19881, 90, 88, 92, 28, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 3467, 47003, 3467, 3575, 265, 1211, 480, 90, 34, 709, 92, 38016, 11018, 19881, 90, 88, 30072, 28, 59, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 92, 13702, 198, 198, 46399, 340, 477, 1978, 11, 356, 423, 198, 198, 13702, 59, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 3467, 82, 13495, 36796, 17, 92, 220, 3467, 14323, 3467, 11018, 9948, 90, 45, 32239, 9464, 38016, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 3467, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 32239, 3506, 8, 13702, 198, 198, 1212, 1724, 326, 39539, 262, 14174, 20683, 2746, 318, 262, 976, 355, 39539, 262, 10007, 286, 257, 1963, 42524, 21198, 1373, 6082, 351, 6439, 1612, 290, 44829, 590, 13, 554, 1502, 284, 8636, 262, 2746, 10007, 351, 4696, 35610, 5050, 356, 761, 284, 4174, 4696, 274, 6, 3896, 13, 220, 198, 198, 13702, 59, 27471, 90, 31494, 92, 198, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 3467, 13602, 3467, 11018, 19881, 90, 88, 30072, 3467, 1676, 457, 78, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 198, 59, 437, 90, 31494, 92, 13702, 198, 198, 464, 34319, 318, 19869, 286, 262, 14955, 2163, 720, 79, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 59, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 3, 290, 262, 6466, 3161, 6082, 720, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 35307, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 12993, 22, 324, 21855, 12, 15, 67, 21, 68, 12, 19, 33459, 12, 64, 18, 535, 12, 21, 64, 1238, 535, 21, 2624, 66, 4761, 198, 9132, 37811, 198, 198, 4242, 4525, 11935, 2163, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 257, 20, 3901, 68, 5999, 68, 12, 1828, 66, 20, 12, 2780, 66, 22, 12, 24, 1350, 65, 12, 34801, 67, 2075, 69, 31418, 1453, 198, 9132, 37811, 220, 628, 198, 1890, 428, 2746, 262, 14955, 2163, 318, 788, 1813, 416, 25, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 1222, 28, 59, 9464, 91, 17, 3467, 14415, 3467, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 32239, 3506, 91, 36796, 12, 59, 31944, 90, 16, 18477, 17, 11709, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 32239, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 51, 32239, 3506, 8, 36796, 12, 16, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 92, 26867, 198, 5, 28, 59, 9464, 7, 17, 3467, 14415, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 31944, 90, 51, 18477, 17, 11709, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 3467, 82, 13495, 36796, 17, 11709, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 92, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 3003, 720, 91, 59, 10210, 313, 91, 3, 43397, 262, 3416, 415, 13, 4418, 3465, 326, 262, 1218, 10537, 5679, 422, 262, 1255, 326, 329, 281, 720, 77, 3467, 22355, 299, 3, 17593, 39280, 11018, 19881, 90, 32, 92, 3, 290, 16578, 283, 720, 66, 11, 91, 66, 3467, 11018, 19881, 90, 32, 92, 91, 28, 66, 36796, 77, 92, 91, 59, 11018, 19881, 90, 32, 92, 91, 35307, 554, 674, 1672, 428, 1724, 326, 720, 91, 59, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 83, 92, 91, 796, 357, 59, 82, 13495, 36796, 17, 30072, 36796, 51, 92, 35307, 1114, 428, 16022, 356, 635, 423, 326, 39280, 82, 13495, 36796, 17, 92, 3467, 11018, 19881, 90, 40, 92, 23330, 83, 92, 796, 3467, 31944, 90, 16, 18477, 59, 82, 13495, 36796, 17, 11709, 35307, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 65, 39506, 67, 3682, 12, 65, 21, 487, 12, 24669, 22, 12, 2001, 69, 12, 64, 405, 12993, 9945, 405, 69, 15630, 198, 9132, 37811, 220, 198, 198, 4242, 4389, 669, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 64, 23, 2934, 64, 19, 64, 12, 18, 69, 2920, 12, 1821, 3865, 12, 64, 16, 64, 15, 12, 67, 19, 67, 18, 66, 43564, 66, 27192, 198, 9132, 37811, 198, 198, 818, 31577, 1293, 669, 356, 761, 284, 1011, 257, 12046, 319, 262, 21403, 1022, 262, 2746, 10007, 39280, 36575, 1837, 23650, 31478, 31361, 92, 3, 290, 39280, 82, 13495, 36796, 17, 92, 35307, 220, 198, 198, 1532, 356, 1975, 326, 262, 20683, 44036, 1244, 4745, 319, 262, 4049, 24198, 11, 1312, 13, 68, 13, 720, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 47505, 79, 38016, 36575, 1837, 23650, 31478, 31361, 92, 91, 59, 82, 13495, 61, 17, 8, 79, 38016, 82, 13495, 61, 17, 8, 47113, 788, 340, 4962, 503, 357, 3826, 685, 14126, 362, 286, 509, 11224, 338, 4696, 35610, 412, 1102, 908, 10466, 16151, 5450, 1378, 2503, 13, 33103, 13, 785, 14, 15262, 35610, 12, 36, 1102, 908, 10466, 12, 33820, 12, 42, 11224, 14, 26059, 14, 3023, 32583, 2231, 30924, 4008, 326, 262, 3288, 11644, 1018, 378, 3161, 329, 39280, 36575, 1837, 23650, 31478, 31361, 92, 3, 290, 39280, 82, 13495, 61, 17, 3, 318, 262, 685, 26447, 12, 34777, 2611, 6082, 16151, 5450, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 26447, 12, 28483, 2611, 62, 17080, 3890, 8, 2853, 5191, 416, 198, 198, 13702, 59, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 3467, 14323, 39058, 7, 76, 62, 15, 11, 85, 62, 15, 11, 59, 28803, 62, 15, 11, 50, 62, 15, 8, 13702, 198, 198, 259, 543, 720, 76, 62, 15, 11, 85, 62, 15, 11, 59, 28803, 62, 15, 3, 290, 720, 50, 62, 15, 3, 389, 8718, 17143, 7307, 13, 220, 198, 198, 1532, 356, 1975, 326, 262, 20683, 44036, 290, 262, 4049, 24198, 389, 4795, 11, 1312, 13, 68, 13, 720, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 47505, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 79, 38016, 82, 13495, 61, 17, 8, 47113, 788, 340, 338, 11282, 284, 11986, 262, 1708, 11644, 1018, 378, 1293, 669, 198, 16, 13, 7854, 42524, 14435, 3161, 329, 39280, 36575, 1837, 23650, 31478, 31361, 92, 47113, 1312, 13, 68, 13, 39280, 36575, 1837, 23650, 31478, 31361, 32239, 14323, 399, 38016, 11018, 19881, 90, 76, 92, 62, 15, 11, 59, 11018, 19881, 90, 53, 92, 62, 15, 8, 3, 198, 17, 13, 554, 4399, 12, 34777, 2611, 3161, 329, 39280, 82, 13495, 61, 17, 47113, 1312, 13, 68, 13, 39280, 82, 13495, 61, 17, 59, 14323, 35336, 38016, 28803, 62, 15, 11, 50, 62, 15, 8, 3, 198, 198, 464, 7952, 3161, 29509, 871, 389, 1813, 416, 11, 220, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 1222, 16193, 17, 3467, 14415, 8, 36796, 12, 59, 31944, 90, 74, 18477, 17, 11709, 59, 9464, 91, 59, 11018, 19881, 90, 53, 92, 23330, 15, 32239, 3506, 91, 36796, 12, 59, 31944, 90, 16, 18477, 17, 11709, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 32239, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 32239, 3506, 8, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 53, 92, 23330, 59, 36575, 1837, 23650, 90, 15, 11709, 36796, 12, 16, 32239, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 32239, 3506, 38165, 26867, 198, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 1222, 28, 59, 31944, 90, 50, 23330, 15, 92, 61, 31478, 28803, 23330, 15, 11709, 18477, 59, 34777, 2611, 59, 9464, 38016, 28803, 23330, 15, 32239, 3506, 8, 32239, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 50, 23330, 15, 11709, 31478, 82, 13495, 36796, 17, 42535, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 1135, 481, 7048, 262, 6846, 318, 2081, 357, 72, 13, 68, 1539, 326, 10007, 389, 4795, 737, 220, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 307, 26780, 67, 24, 68, 12, 66, 3023, 67, 12, 2857, 16344, 12, 330, 17, 69, 12, 17, 1350, 6052, 65, 1860, 18, 69, 5774, 198, 9132, 37811, 198, 198, 4242, 44996, 1504, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 604, 64, 4089, 4051, 2481, 12, 2425, 1485, 12, 30120, 64, 12, 23, 276, 69, 12, 486, 7568, 22, 65, 26598, 66, 2816, 198, 9132, 37811, 198, 198, 2514, 651, 262, 34319, 11, 356, 12082, 262, 3161, 290, 14955, 198, 198, 13702, 59, 27471, 90, 31494, 92, 198, 79, 38016, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 91, 59, 11018, 19881, 90, 88, 30072, 1222, 59, 1676, 457, 78, 279, 38016, 11018, 19881, 90, 88, 92, 91, 59, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 79, 38016, 82, 13495, 61, 17, 8, 6852, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 59, 1676, 457, 78, 3467, 41116, 316, 90, 79, 38016, 11018, 19881, 90, 88, 92, 91, 59, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 18477, 59, 4625, 46565, 90, 38016, 82, 13495, 61, 17, 8, 36796, 12, 59, 31944, 90, 51, 18477, 17, 11709, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 59, 82, 13495, 61, 17, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 30072, 6, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 92, 4008, 11709, 59, 41116, 316, 90, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 18477, 59, 4625, 46565, 31478, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 33047, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 4008, 11709, 59, 41116, 316, 90, 79, 38016, 82, 13495, 61, 17, 8, 18477, 59, 4625, 46565, 90, 38016, 82, 13495, 61, 17, 8, 36796, 30420, 59, 28803, 62, 15, 10, 16, 8, 32239, 11201, 32590, 59, 31944, 90, 50, 62, 15, 18477, 59, 82, 13495, 61, 17, 30072, 11709, 6852, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 59, 1676, 457, 78, 357, 59, 82, 13495, 61, 17, 8, 36796, 30420, 59, 31944, 90, 51, 18477, 17, 32239, 28803, 62, 15, 10, 16, 8, 32239, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 59, 82, 13495, 61, 17, 92, 7, 50, 62, 15, 1343, 357, 59, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 30072, 6, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 92, 4008, 532, 59, 31944, 90, 16, 18477, 17, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 33047, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 22305, 6852, 198, 59, 437, 90, 31494, 92, 13702, 198, 198, 1212, 2457, 6082, 318, 281, 6439, 6082, 13, 2102, 11, 356, 760, 326, 356, 460, 779, 257, 734, 12, 9967, 41071, 6072, 20053, 284, 8636, 262, 10007, 286, 257, 555, 42524, 14435, 6082, 357, 6738, 2029, 737, 2735, 356, 761, 284, 766, 1771, 356, 460, 9117, 428, 284, 10007, 286, 257, 1963, 42524, 14435, 6082, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 65, 18, 17457, 17, 67, 16, 12, 2075, 5607, 12, 2231, 1433, 12, 7252, 3365, 12, 2079, 65, 18, 67, 23539, 68, 20, 69, 18, 198, 9132, 37811, 198, 198, 4242, 41071, 19232, 357, 12853, 16124, 341, 8, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 12993, 22, 13331, 18, 66, 12, 64, 1878, 17, 12, 38472, 19, 12, 23, 3388, 68, 12, 67, 15, 2079, 28727, 5036, 21, 68, 24, 198, 9132, 37811, 198, 198, 3844, 11, 356, 27099, 257, 41071, 6072, 20053, 329, 262, 3487, 14174, 20683, 13, 22426, 11, 356, 761, 284, 27099, 262, 734, 26340, 29509, 871, 720, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 36575, 1837, 23650, 31478, 31361, 32239, 3506, 8, 3, 290, 720, 79, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 35307, 383, 1336, 26340, 24570, 389, 198, 198, 3, 79, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 59, 82, 13495, 61, 17, 19415, 1676, 457, 78, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 3, 198, 3, 79, 38016, 82, 13495, 61, 17, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 59, 36575, 1837, 23650, 31478, 31361, 92, 19415, 1676, 457, 78, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 279, 38016, 82, 13495, 61, 17, 8, 3, 628, 198, 1174, 5962, 2512, 25, 1174, 198, 198, 5962, 11, 356, 460, 905, 326, 262, 26340, 12109, 720, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 36575, 1837, 23650, 31478, 31361, 32239, 3506, 8, 3, 318, 34062, 12, 28483, 2611, 25, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 79, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 36575, 1837, 23650, 31478, 31361, 32239, 3506, 8, 1222, 3467, 1676, 457, 78, 279, 59, 9464, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 279, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 26867, 198, 5, 3467, 1676, 457, 78, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 31944, 90, 51, 18477, 17, 11709, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 17, 3467, 82, 13495, 36796, 17, 11709, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 92, 3467, 22355, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 50, 23330, 15, 11709, 31478, 82, 13495, 36796, 17, 42535, 26867, 198, 5, 28, 59, 9464, 38016, 82, 13495, 36796, 17, 32239, 3506, 8, 36796, 12, 59, 9464, 38016, 31944, 90, 51, 18477, 17, 92, 10, 59, 28803, 23330, 15, 92, 10, 16, 59, 3506, 38165, 3467, 11018, 26224, 90, 68, 92, 36796, 12, 59, 31944, 90, 16, 18477, 59, 82, 13495, 36796, 17, 11709, 59, 9464, 7, 50, 23330, 15, 92, 10, 59, 31944, 90, 16, 18477, 17, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 19415, 3506, 38165, 198, 59, 437, 90, 41634, 92, 13702, 220, 198, 198, 1135, 7564, 428, 355, 262, 9720, 286, 281, 34062, 12, 28483, 2611, 12109, 13, 554, 1109, 11, 356, 423, 198, 198, 13702, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 36575, 1837, 23650, 31478, 31361, 32239, 3506, 8, 3467, 14323, 3467, 11018, 9948, 90, 40, 92, 402, 59, 9464, 38016, 28803, 23330, 15, 92, 10, 59, 31944, 90, 51, 18477, 17, 5512, 311, 23330, 15, 92, 10, 59, 31944, 90, 16, 18477, 17, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 19415, 3506, 8, 13702, 198, 198, 818, 584, 2456, 340, 318, 262, 262, 9720, 286, 281, 34062, 12, 28483, 2611, 12109, 351, 5046, 11507, 39280, 28803, 796, 3467, 31944, 90, 51, 18477, 17, 92, 10, 59, 28803, 62, 15, 3, 290, 5485, 11507, 720, 50, 796, 311, 62, 15, 1343, 357, 59, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 30072, 6, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 30072, 35307, 6660, 198, 198, 13702, 59, 82, 13495, 61, 17, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 59, 36575, 1837, 23650, 31478, 31361, 92, 3467, 14323, 3467, 11018, 9948, 90, 40, 92, 402, 38016, 28803, 11, 50, 8, 13702, 198, 198, 1174, 12211, 2512, 25, 1174, 220, 198, 198, 10019, 11, 356, 27099, 262, 26340, 12109, 720, 79, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 35307, 1675, 326, 886, 11, 717, 3465, 326, 262, 14955, 9018, 262, 15094, 81, 1512, 3381, 29568, 59, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 47113, 543, 460, 307, 9902, 355, 198, 198, 13702, 59, 27471, 90, 41634, 92, 198, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 61, 31478, 35505, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 30072, 1222, 28, 59, 11018, 19881, 90, 88, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 88, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 92, 10, 59, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 26867, 198, 5, 28, 59, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 3467, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 92, 10, 59, 11018, 19881, 90, 88, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 92, 198, 59, 437, 90, 41634, 92, 13702, 198, 198, 3003, 356, 423, 973, 262, 1109, 326, 39280, 11018, 19881, 90, 88, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 3, 318, 257, 16578, 283, 11, 290, 4361, 340, 318, 4961, 284, 663, 1007, 3455, 25, 198, 198, 13702, 59, 11018, 19881, 90, 88, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 28, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 61, 31478, 35505, 92, 28, 59, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 92, 13702, 198, 198, 28039, 11, 262, 15094, 81, 1512, 3381, 287, 262, 3161, 460, 307, 9902, 355, 198, 198, 13702, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 32239, 3506, 8, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 53, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 36796, 12, 16, 32239, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 32239, 3506, 47505, 59, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 53, 92, 23330, 59, 36575, 1837, 23650, 90, 15, 11709, 36796, 12, 16, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 3467, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 53, 92, 23330, 59, 36575, 1837, 23650, 90, 15, 11709, 36796, 12, 16, 92, 3467, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 92, 10, 59, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 53, 92, 23330, 59, 36575, 1837, 23650, 90, 15, 11709, 36796, 12, 16, 92, 3467, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 92, 13702, 198, 198, 1890, 407, 864, 15607, 11, 1309, 39280, 31944, 90, 16, 18477, 59, 82, 13495, 36796, 17, 11709, 796, 3467, 50, 13495, 36796, 12, 16, 92, 3, 810, 39280, 50, 13495, 796, 3467, 82, 13495, 36796, 17, 32239, 11018, 19881, 90, 40, 92, 23330, 51, 92, 35307, 383, 26340, 12109, 720, 79, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 3, 318, 788, 1813, 416, 198, 198, 13702, 59, 27471, 90, 31494, 92, 198, 79, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 59, 82, 13495, 61, 17, 8, 5, 59, 1676, 457, 78, 279, 38016, 11018, 19881, 90, 88, 92, 3467, 13602, 3467, 36575, 1837, 23650, 31478, 31361, 5512, 59, 82, 13495, 61, 17, 8, 79, 38016, 36575, 1837, 23650, 31478, 31361, 30072, 6852, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 59, 1676, 457, 78, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 19510, 59, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 30072, 6, 59, 36575, 1837, 23650, 31478, 50, 13495, 92, 36796, 12, 16, 92, 38016, 11018, 19881, 90, 88, 92, 12, 59, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 92, 4008, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 33047, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 12, 59, 11018, 19881, 90, 76, 92, 62, 15, 4008, 6852, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 59, 1676, 457, 78, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 19510, 59, 36575, 1837, 23650, 31478, 31361, 92, 6, 59, 11018, 19881, 90, 55, 92, 6, 59, 36575, 1837, 23650, 31478, 50, 13495, 92, 36796, 12, 16, 32239, 11018, 19881, 90, 55, 32239, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 59, 36575, 1837, 23650, 31478, 31361, 92, 6, 59, 11018, 19881, 90, 55, 92, 6, 59, 36575, 1837, 23650, 31478, 50, 13495, 92, 36796, 12, 16, 32239, 11018, 19881, 90, 88, 92, 4008, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 6, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 32239, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 59, 36575, 1837, 23650, 31478, 31361, 92, 6, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 32239, 11018, 19881, 90, 76, 92, 62, 15, 4008, 6852, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1222, 28, 59, 11201, 32590, 59, 31944, 90, 16, 18477, 17, 92, 38016, 36575, 1837, 23650, 31478, 31361, 92, 6, 38016, 11018, 19881, 90, 55, 92, 6, 59, 36575, 1837, 23650, 31478, 50, 13495, 92, 36796, 12, 16, 32239, 11018, 19881, 90, 55, 92, 10, 59, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 92, 19415, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 59, 36575, 1837, 23650, 31478, 31361, 92, 6, 38016, 11018, 19881, 90, 55, 92, 6, 59, 36575, 1837, 23650, 31478, 50, 13495, 92, 36796, 12, 16, 32239, 11018, 19881, 90, 88, 92, 1343, 3467, 11018, 19881, 90, 53, 92, 62, 15, 36796, 12, 16, 32239, 11018, 19881, 90, 76, 92, 62, 15, 4008, 6852, 198, 59, 437, 90, 31494, 92, 13702, 198, 198, 6385, 262, 28622, 318, 15094, 81, 1512, 287, 39280, 36575, 1837, 23650, 31478, 31361, 5512, 279, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 32239, 3506, 8, 3, 318, 257, 1963, 42524, 3487, 12109, 11, 220, 198, 198, 13702, 59, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 92, 3467, 14323, 3467, 11018, 9948, 90, 45, 32239, 9464, 38016, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 92, 5512, 3467, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 59, 3506, 8, 13702, 198, 198, 1640, 617, 1612, 15879, 39280, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 11709, 3, 290, 44829, 590, 17593, 39280, 11018, 19881, 90, 35, 92, 23330, 59, 31361, 92, 35307, 7406, 11, 356, 27099, 7952, 14700, 329, 39280, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 11709, 3, 290, 39280, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 3, 198, 198, 464, 9720, 286, 39280, 11018, 9948, 90, 45, 32239, 9464, 38016, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 92, 5512, 3467, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 59, 3506, 8, 3, 318, 2391, 198, 198, 13702, 79, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 30072, 3467, 1676, 457, 78, 3467, 11018, 26224, 90, 11201, 32239, 9464, 15090, 12, 59, 31944, 90, 16, 18477, 17, 32239, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 36796, 12, 16, 92, 3467, 36575, 1837, 23650, 31478, 31361, 92, 12, 17, 3467, 36575, 1837, 23650, 31478, 31361, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 36796, 12, 16, 92, 3467, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 11709, 59, 3506, 8, 32239, 3506, 8, 13702, 198, 198, 7293, 1723, 428, 351, 262, 9720, 287, 257, 2180, 5408, 11, 356, 423, 326, 220, 198, 198, 13702, 59, 11018, 19881, 90, 35, 92, 23330, 59, 36575, 1837, 23650, 31478, 31361, 11709, 28, 59, 9464, 38016, 11018, 19881, 90, 53, 92, 23330, 15, 92, 36796, 12, 16, 92, 10, 59, 31944, 90, 16, 18477, 59, 82, 13495, 36796, 17, 11709, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 55, 32239, 3506, 8, 36796, 12, 16, 5512, 3467, 47003, 3467, 4421, 5183, 31478, 36575, 1837, 23650, 31478, 31361, 11709, 28, 59, 11018, 19881, 90, 35, 92, 23330, 59, 31361, 32239, 9464, 38016, 11018, 19881, 90, 53, 92, 23330, 15, 92, 36796, 12, 16, 92, 3467, 36575, 1837, 23650, 90, 76, 92, 23330, 15, 92, 10, 59, 31944, 90, 16, 18477, 59, 82, 13495, 36796, 17, 11709, 3467, 11018, 19881, 90, 55, 92, 61, 31478, 35505, 92, 3467, 11018, 19881, 90, 88, 32239, 3506, 8, 13702, 198, 198, 6104, 996, 530, 460, 779, 262, 3170, 12, 259, 11244, 287, 4808, 16980, 544, 62, 284, 6291, 422, 39280, 11018, 9948, 90, 45, 92, 38016, 36575, 1837, 23650, 31478, 30300, 5512, 3467, 11018, 19881, 31478, 50, 13495, 30072, 47113, 340, 318, 5048, 425, 284, 766, 703, 340, 460, 307, 1760, 416, 2391, 25449, 4795, 3210, 3487, 4738, 9633, 13, 628, 628, 628, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 657, 17032, 67, 21033, 12, 18, 67, 6052, 12, 19, 64, 15, 67, 12, 64, 35133, 12, 23349, 64, 18, 69, 15, 3104, 39071, 198, 9132, 37811, 220, 198, 198, 21017, 3409, 11347, 422, 257, 7854, 42524, 14435, 6082, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 3559, 69, 23, 21526, 12, 20, 17457, 18, 12, 19, 64, 2091, 12, 5999, 1433, 12, 2079, 1415, 17430, 2920, 67, 2624, 198, 9132, 37811, 198, 198, 2514, 7716, 720, 49, 3, 4795, 14293, 422, 39280, 11018, 9948, 90, 45, 92, 38016, 36575, 1837, 23650, 31478, 30300, 5512, 3467, 11018, 19881, 31478, 50, 13495, 30072, 3, 286, 15793, 720, 77, 47113, 3283, 503, 262, 1708, 4831, 25, 198, 198, 16, 13, 3082, 1133, 262, 2793, 609, 4316, 2584, 5766, 1634, 39280, 11018, 19881, 31478, 50, 13495, 92, 28, 59, 11018, 19881, 90, 33, 347, 92, 61, 31478, 35505, 92, 35307, 198, 198, 17, 13, 2980, 378, 39280, 11018, 19881, 90, 57, 92, 28, 59, 9464, 7, 57, 23330, 16, 5512, 3467, 335, 1747, 11, 1168, 23330, 77, 32239, 3506, 8, 61, 31478, 35505, 92, 3, 416, 8263, 720, 57, 23330, 16, 5512, 3467, 335, 1747, 11, 1168, 23330, 77, 92, 3467, 14323, 3467, 11018, 9948, 90, 45, 92, 7, 15, 11, 16, 8, 35307, 198, 198, 18, 13, 8229, 39280, 11018, 19881, 90, 52, 92, 28, 59, 36575, 1837, 23650, 31478, 30300, 92, 10, 59, 11018, 19881, 90, 33, 1168, 92, 35307, 198, 198, 19, 13, 30021, 32144, 362, 290, 513, 14799, 720, 49, 3, 1661, 13, 198, 198, 1135, 460, 905, 644, 428, 1429, 3073, 588, 2174, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 718, 721, 42875, 64, 15, 12, 21, 30120, 12, 47106, 64, 12, 65, 22, 69, 18, 12, 21855, 8628, 5332, 67, 4790, 19881, 198, 27471, 198, 197, 2235, 27565, 422, 257, 7854, 42524, 14435, 27484, 198, 197, 2, 5345, 510, 14435, 4738, 15879, 198, 197, 77, 796, 362, 1303, 34024, 286, 14435, 4738, 15879, 220, 198, 197, 30300, 796, 3392, 7, 77, 1776, 198, 197, 32, 796, 43720, 77, 7, 77, 11, 299, 1776, 220, 198, 197, 50, 328, 796, 317, 6, 1635, 317, 26, 1303, 3967, 21892, 17593, 198, 197, 198, 197, 2, 3184, 5039, 198, 197, 49, 796, 33028, 26, 1303, 41798, 2546, 198, 197, 52, 796, 1976, 27498, 7, 49, 11, 362, 1776, 1303, 6143, 17593, 198, 197, 1640, 1312, 287, 352, 25, 49, 198, 197, 220, 220, 220, 471, 58, 72, 11, 47715, 796, 1007, 3455, 7, 30300, 1343, 357, 354, 4316, 2584, 7, 50, 328, 737, 43, 8, 1635, 43720, 7, 26447, 7, 15, 11, 352, 828, 299, 18125, 198, 197, 437, 198, 197, 198, 197, 2, 21293, 7869, 198, 197, 30300, 5183, 796, 1612, 7, 52, 11, 5391, 82, 28, 16, 1776, 198, 197, 50, 394, 265, 796, 39849, 7, 52, 1776, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 29414, 17, 9945, 15, 64, 12, 18, 66, 19, 69, 12, 2780, 68, 24, 12, 4531, 721, 12, 66, 19442, 1983, 46352, 64, 16, 67, 198, 9132, 37811, 554, 4808, 16980, 544, 62, 356, 714, 423, 2391, 1057, 262, 1708, 3141, 284, 6291, 422, 428, 6082, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 718, 68, 25270, 1878, 23, 12, 23, 69, 22, 67, 12, 19, 67, 19, 64, 12, 24, 16072, 18, 12, 19, 11848, 22, 7568, 21777, 68, 23, 68, 198, 25192, 7, 44, 85, 26447, 7, 30300, 11, 21984, 18125, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 67, 41813, 9945, 19, 12, 324, 22, 69, 12, 19, 22416, 12, 65, 22, 276, 12, 4846, 66, 43916, 2682, 18938, 18, 198, 9132, 37811, 2102, 11, 340, 318, 29964, 1927, 517, 6942, 284, 779, 262, 717, 2446, 13, 220, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 269, 20, 66, 19, 6814, 2999, 12, 23, 65, 21, 65, 12, 3559, 1507, 12, 65, 26704, 12, 344, 19, 69, 34125, 3070, 66, 3720, 198, 9132, 37811, 198, 198, 21017, 41071, 3409, 20053, 329, 3310, 2234, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 45063, 1765, 33551, 12, 67, 47493, 12, 19, 65, 3980, 12, 6420, 68, 22, 12, 7568, 18, 64, 5892, 10210, 18, 64, 19, 69, 198, 9132, 37811, 198, 198, 31686, 617, 4238, 3815, 39280, 36575, 1837, 23650, 31478, 31361, 92, 36796, 7, 15, 38165, 28, 59, 11018, 19881, 90, 64, 92, 23330, 15, 92, 3, 290, 39280, 82, 13495, 36796, 17, 7, 15, 38165, 28, 65, 23330, 15, 92, 29, 15, 764, 3, 3244, 11, 9585, 262, 1708, 4831, 422, 720, 81, 28, 16, 3, 284, 720, 49, 25, 3, 198, 198, 16, 13, 15315, 39280, 82, 13495, 36796, 17, 7, 81, 38165, 3467, 14323, 279, 59, 9464, 38016, 82, 13495, 36796, 17, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 36575, 1837, 23650, 31478, 31361, 92, 36796, 7, 81, 12, 16, 8, 32239, 3506, 8, 3, 357, 259, 4399, 12, 28483, 2611, 737, 198, 198, 17, 13, 15315, 39280, 36575, 1837, 23650, 31478, 31361, 92, 36796, 7, 81, 38165, 3467, 14323, 279, 59, 9464, 38016, 36575, 1837, 23650, 31478, 31361, 92, 3467, 13602, 3467, 11018, 19881, 90, 88, 5512, 3467, 82, 13495, 36796, 17, 7, 81, 8, 32239, 3506, 8, 3, 357, 16680, 42524, 3487, 737, 198, 198, 10019, 356, 905, 703, 284, 3494, 428, 1429, 287, 22300, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 30299, 69, 19, 65, 21, 69, 12, 5999, 2481, 12, 19, 23726, 12, 24, 7568, 64, 12, 16, 8635, 38056, 67, 1821, 330, 198, 9132, 37811, 198, 198, 21017, 13672, 605, 7822, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 1225, 1878, 45418, 64, 12, 2920, 2091, 12, 1821, 2857, 12, 3459, 4051, 12, 11848, 65, 2999, 18213, 24, 66, 2670, 66, 198, 9132, 37811, 198, 198, 1722, 281, 1672, 11, 262, 1708, 2438, 717, 18616, 257, 6291, 286, 720, 51, 28, 4059, 3, 13050, 422, 257, 3487, 14174, 20683, 2746, 13, 632, 788, 23986, 262, 41071, 6072, 20053, 287, 674, 1218, 11862, 11, 810, 262, 6072, 20053, 318, 23224, 1262, 262, 1551, 24438, 8636, 13, 383, 34319, 1724, 286, 262, 2746, 10007, 389, 8574, 287, 262, 7885, 4600, 1169, 8326, 62, 5183, 63, 290, 262, 11188, 720, 3865, 3, 1411, 18409, 20016, 389, 8574, 287, 4600, 1169, 8326, 62, 25690, 44646, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 269, 24, 66, 23, 67, 3553, 65, 12, 18938, 15, 12, 1821, 3980, 12, 46071, 18, 12, 64, 15, 32182, 12993, 29228, 16344, 198, 8818, 1366, 62, 5235, 17, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 198, 197, 198, 220, 220, 220, 1395, 796, 685, 1952, 7, 51, 11, 352, 8, 352, 764, 10, 43720, 77, 7, 51, 11, 352, 15437, 198, 220, 220, 220, 1441, 1395, 1635, 27169, 6, 764, 10, 19862, 17034, 7, 38392, 17, 8, 764, 9, 43720, 77, 7, 51, 11, 352, 8, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 65, 940, 27137, 65, 12, 16, 65, 6052, 12, 3510, 67, 24, 12, 17457, 20, 69, 12, 66, 1157, 64, 19, 276, 23, 15630, 3609, 198, 88, 62, 67, 70, 796, 1366, 62, 5235, 17, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 16344, 23, 36434, 20, 12, 2414, 21855, 12, 19, 20963, 12, 64, 1453, 21, 12, 68, 38819, 16, 535, 46660, 69, 23, 198, 32604, 7, 88, 62, 67, 70, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 66, 2548, 27720, 66, 12, 65, 15426, 12, 25644, 17, 12, 15630, 2154, 12, 3553, 1433, 2154, 10210, 22, 330, 67, 198, 7785, 7, 88, 62, 67, 70, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 12877, 12993, 1120, 69, 12, 67, 18, 69, 23, 12, 37730, 65, 12, 65, 47159, 12, 15363, 2231, 66, 17, 721, 15, 66, 19, 198, 8818, 651, 62, 3448, 273, 7, 26180, 62, 15, 8, 628, 220, 220, 220, 569, 26638, 62, 15, 796, 314, 7, 17, 8, 24457, 1802, 1303, 14481, 329, 12159, 198, 220, 220, 220, 7377, 96, 62, 15, 220, 796, 352, 1635, 357, 26180, 62, 15, 532, 352, 8, 1303, 14481, 329, 21984, 17, 628, 220, 220, 220, 1441, 569, 26638, 62, 15, 11, 7377, 96, 62, 15, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 767, 65, 2154, 20233, 68, 12, 1959, 6420, 12, 1821, 1453, 12, 5607, 64, 24, 12, 2919, 2075, 6420, 68, 39925, 486, 198, 8818, 267, 7278, 62, 395, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 628, 220, 220, 220, 331, 796, 1366, 62, 5235, 17, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 1303, 2980, 515, 1366, 198, 220, 220, 220, 1395, 796, 685, 1952, 7, 51, 11, 352, 8, 352, 764, 10, 43720, 77, 7, 51, 11, 352, 15437, 628, 220, 220, 220, 27169, 62, 16, 796, 357, 55, 6, 1635, 1395, 8, 3467, 357, 55, 6, 1635, 331, 8, 198, 220, 220, 220, 18074, 225, 17, 62, 16, 796, 2160, 19510, 88, 764, 12, 1395, 1635, 27169, 62, 16, 8, 764, 61, 362, 8, 1220, 309, 628, 220, 220, 220, 1441, 27169, 62, 16, 11, 18074, 225, 17, 62, 16, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 9225, 1129, 2670, 3609, 12, 18, 68, 405, 12, 19, 67, 21, 65, 12, 38956, 66, 12, 20, 64, 6469, 64, 3695, 69, 2816, 69, 23, 198, 8818, 46795, 1443, 62, 29127, 7, 5907, 320, 11, 4245, 259, 11, 309, 11, 27169, 11, 18074, 225, 17, 11, 27169, 62, 15, 11, 7377, 121, 62, 15, 8, 628, 220, 220, 220, 331, 796, 1366, 62, 5235, 17, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 1303, 2980, 515, 1366, 198, 220, 220, 220, 1395, 796, 685, 1952, 7, 51, 11, 352, 8, 352, 764, 10, 43720, 77, 7, 51, 11, 352, 15437, 628, 220, 220, 220, 569, 26638, 62, 15, 11, 7377, 96, 62, 15, 796, 651, 62, 3448, 273, 7, 26180, 62, 15, 8, 198, 220, 220, 220, 27169, 62, 16, 11, 18074, 225, 17, 62, 16, 796, 267, 7278, 62, 395, 7, 51, 11, 27169, 11, 18074, 225, 17, 8, 628, 220, 220, 220, 1303, 20768, 786, 2940, 709, 21853, 198, 220, 220, 220, 3650, 62, 138, 116, 796, 1976, 27498, 7, 5907, 320, 11, 513, 8, 628, 220, 220, 220, 1303, 7253, 262, 41071, 19232, 8771, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 5907, 320, 1343, 4245, 259, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27565, 422, 12159, 198, 220, 220, 220, 220, 220, 220, 220, 360, 62, 26638, 220, 220, 796, 357, 53, 26638, 62, 15, 764, 10, 1395, 6, 1635, 1395, 1220, 18074, 225, 17, 62, 16, 8, 3467, 314, 7, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 27169, 62, 5183, 796, 360, 62, 26638, 1635, 357, 53, 26638, 62, 15, 1635, 27169, 62, 15, 6, 764, 10, 1395, 6, 1635, 331, 24457, 18074, 225, 17, 62, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 33973, 284, 2665, 319, 19232, 422, 1963, 42524, 3487, 198, 220, 220, 220, 220, 220, 220, 220, 327, 796, 442, 4316, 2584, 7, 9360, 2781, 666, 7, 35, 62, 26638, 29720, 43, 198, 220, 220, 220, 220, 220, 220, 220, 27169, 62, 16, 796, 27169, 62, 5183, 764, 10, 327, 1635, 43720, 77, 7, 17, 11, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 27565, 422, 18074, 225, 17, 198, 220, 220, 220, 220, 220, 220, 220, 304, 796, 331, 532, 1395, 1635, 27169, 62, 16, 198, 220, 220, 220, 220, 220, 220, 220, 43237, 17, 796, 43720, 7, 818, 4399, 34777, 2611, 7, 26180, 62, 15, 764, 10, 309, 14, 17, 11, 7377, 96, 62, 15, 1343, 357, 68, 6, 1635, 304, 1220, 362, 38381, 16, 60, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 1875, 4245, 259, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 1015, 796, 1312, 764, 12, 4245, 259, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3650, 62, 138, 116, 58, 271, 1015, 11, 1058, 60, 796, 685, 26638, 62, 16, 6, 18074, 225, 17, 62, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1612, 7, 8095, 62, 138, 116, 58, 45299, 352, 46570, 1612, 7, 8095, 62, 138, 116, 58, 45299, 362, 46570, 3650, 62, 138, 116, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 860, 67, 1485, 5333, 66, 18, 12, 21, 2934, 16, 12, 3559, 2075, 12, 5332, 69, 23, 12, 19, 64, 1983, 2078, 3980, 67, 1433, 65, 198, 79, 6197, 1504, 62, 31361, 11, 34319, 62, 82, 328, 17, 11, 3650, 62, 138, 116, 220, 796, 46795, 1443, 62, 29127, 7, 5907, 320, 11, 4245, 259, 11, 309, 11, 27169, 11, 18074, 225, 17, 11, 27169, 62, 15, 11, 7377, 121, 62, 15, 1776, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 5534, 69, 20, 68, 21, 10210, 12, 16, 891, 64, 12, 2920, 64, 17, 12, 23, 67, 15, 67, 12, 65, 2816, 2623, 65, 1860, 22, 30460, 198, 27471, 198, 197, 87, 62, 77, 796, 2824, 7, 16, 37498, 5907, 320, 12, 10899, 259, 18125, 198, 197, 6024, 16, 796, 1554, 21857, 7, 87, 62, 77, 11, 3650, 62, 138, 116, 58, 45299, 16, 4357, 3487, 1096, 28, 25, 12315, 11, 3670, 796, 366, 47, 6197, 1504, 25, 17993, 1600, 8177, 796, 3991, 8, 198, 197, 198, 197, 6024, 17, 796, 1554, 21857, 7, 87, 62, 77, 11, 3650, 62, 138, 116, 58, 45299, 18, 4357, 3487, 1096, 28, 25, 12315, 11, 3670, 796, 366, 47, 6197, 1504, 25, 31669, 17, 1600, 8177, 796, 3991, 8, 628, 197, 29487, 7, 6024, 16, 11, 6024, 17, 11, 12461, 796, 357, 16, 11, 17, 828, 8177, 796, 3991, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 604, 3682, 69, 3720, 68, 22, 12, 32114, 65, 12, 3559, 16344, 12, 64, 40761, 12, 15, 2079, 69, 4059, 20, 67, 19, 65, 16, 198, 9132, 37811, 198, 198, 2235, 3310, 2234, 351, 4600, 51, 870, 13, 20362, 63, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 3365, 66, 16, 68, 1270, 12, 6814, 1828, 12, 19, 487, 17, 12, 6052, 68, 22, 12, 21, 66, 17, 19881, 17, 68, 18, 64, 22, 68, 18, 198, 9132, 37811, 3914, 514, 923, 351, 2111, 284, 24340, 674, 14174, 20683, 422, 262, 2180, 2665, 287, 4600, 51, 870, 13, 20362, 44646, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 68, 24, 67, 39761, 69, 12, 1860, 1959, 12, 3510, 6888, 12, 5332, 1453, 12, 15, 1765, 17, 65, 19, 68, 19, 67, 44698, 198, 31, 19849, 14174, 62, 2301, 2234, 62, 16, 7, 55, 11, 331, 8, 796, 2221, 198, 220, 220, 220, 1303, 3448, 669, 198, 220, 220, 220, 26367, 5299, 14435, 7, 32604, 7, 88, 828, 362, 13, 20, 1635, 14367, 7, 88, 4008, 198, 220, 220, 220, 27169, 5299, 14435, 7, 51, 20344, 7, 18, 828, 4331, 669, 8, 198, 220, 220, 220, 18074, 225, 5299, 554, 4399, 34777, 2611, 7, 17, 8, 628, 220, 220, 220, 1303, 2339, 11935, 198, 220, 220, 220, 331, 5299, 337, 85, 26447, 7, 17394, 764, 10, 1395, 1635, 27169, 11, 18074, 225, 8, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 20, 68, 4790, 535, 20, 12, 15, 64, 2078, 12, 19, 64, 5705, 12, 7012, 22, 68, 12, 22, 67, 43134, 66, 4310, 16562, 65, 198, 9132, 37811, 198, 198, 1135, 481, 307, 1804, 257, 2068, 20683, 1262, 257, 27039, 422, 262, 4600, 49, 27354, 292, 1039, 63, 5301, 13, 921, 460, 2298, 4232, 345, 1064, 3499, 13, 314, 2227, 340, 284, 307, 3519, 284, 12446, 287, 617, 835, 11, 523, 314, 7690, 262, 4600, 36, 10210, 265, 63, 27039, 11, 543, 318, 4385, 284, 307, 5981, 329, 304, 1102, 908, 10466, 220, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 18, 14454, 47984, 12, 16, 65, 5607, 12, 19, 69, 3104, 12, 65, 397, 67, 12, 2996, 2425, 16562, 1731, 4521, 64, 198, 291, 62, 7890, 796, 371, 27354, 292, 1039, 13, 19608, 292, 316, 7203, 36, 10210, 265, 1600, 366, 23709, 36277, 4943, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 8644, 1983, 3023, 1860, 12, 19, 1350, 22, 12, 19, 66, 4349, 12, 64, 46636, 12, 1828, 4790, 69, 17, 65, 2998, 1157, 65, 198, 9132, 1, 3274, 356, 6626, 262, 27039, 656, 734, 6352, 1039, 13, 1881, 329, 262, 3047, 2746, 290, 262, 584, 329, 12660, 13, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 67, 2327, 535, 24, 67, 12, 68, 2718, 64, 12, 19, 64, 3682, 12, 5999, 1878, 12, 23, 69, 2780, 487, 64, 3134, 22800, 198, 2, 27758, 674, 27039, 4317, 4, 14, 1270, 4, 656, 3047, 14, 9288, 5621, 13, 198, 2213, 1299, 316, 11, 1332, 2617, 796, 6626, 8158, 7, 1477, 18137, 8158, 7, 291, 62, 7890, 828, 657, 13, 22, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 767, 1157, 4761, 12993, 18, 12, 1350, 18, 68, 12, 35218, 65, 12, 64, 2327, 69, 12, 24, 7012, 22, 1731, 66, 49351, 69, 15, 198, 9132, 1, 38240, 2279, 284, 17593, 1296, 11, 407, 6060, 35439, 13, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 67, 21, 65, 535, 17, 67, 12, 1860, 21, 67, 12, 19, 15187, 12, 64, 5237, 69, 12, 5333, 64, 15, 66, 1983, 15630, 6814, 16, 198, 27471, 198, 197, 2, 39141, 4433, 1366, 287, 17593, 1296, 13, 198, 197, 16793, 796, 1058, 9444, 198, 197, 27432, 796, 24936, 7, 19738, 7, 2213, 1299, 316, 11, 1892, 7, 16793, 22305, 198, 197, 9288, 796, 24936, 7, 19738, 7, 9288, 2617, 11, 1892, 7, 16793, 22305, 198, 197, 27432, 62, 16793, 796, 13404, 316, 58, 45299, 2496, 60, 198, 197, 9288, 62, 16793, 796, 1332, 2617, 58, 45299, 2496, 60, 198, 197, 198, 197, 2, 8997, 1096, 262, 3033, 13, 198, 197, 34703, 158, 224, 224, 11, 18074, 225, 158, 224, 224, 796, 6811, 1000, 0, 7, 27432, 26, 10201, 27740, 796, 352, 8, 198, 197, 411, 38765, 0, 7, 9288, 11, 18919, 158, 224, 224, 11, 18074, 225, 158, 224, 224, 26, 10201, 27740, 796, 352, 8, 198, 197, 198, 197, 2, 8997, 1096, 262, 6670, 13, 198, 197, 34703, 16793, 11, 18074, 225, 16793, 796, 6811, 1000, 0, 7, 27432, 62, 16793, 26, 10201, 27740, 796, 352, 8, 198, 197, 411, 38765, 0, 7, 9288, 62, 16793, 11, 18919, 16793, 11, 18074, 225, 16793, 26, 10201, 27740, 796, 352, 1776, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 657, 65, 1954, 68, 42691, 12, 67, 16, 66, 22, 12, 42199, 68, 12, 11848, 1821, 12, 68, 23, 65, 16, 9945, 1507, 2548, 5332, 198, 9132, 37811, 1303, 21017, 9104, 20855, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 66, 43564, 276, 24, 12, 2713, 16, 65, 12, 2231, 64, 15, 12, 23, 68, 23, 64, 12, 66, 22318, 19, 65, 15, 64, 16, 69, 940, 198, 2, 4696, 35610, 14174, 20683, 13, 198, 31, 19849, 2163, 14174, 62, 2301, 2234, 7, 87, 11, 331, 8, 198, 220, 220, 220, 1303, 5345, 24198, 3161, 13, 198, 220, 220, 220, 18074, 225, 158, 224, 224, 5299, 40122, 515, 7, 26447, 7, 15, 11, 1802, 828, 657, 11, 4806, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5345, 15788, 3161, 13, 198, 220, 220, 220, 15788, 5299, 14435, 7, 15, 11, 19862, 17034, 7, 18, 4008, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 5345, 262, 1293, 669, 319, 674, 44036, 13, 198, 220, 220, 220, 299, 40890, 796, 2546, 7, 87, 11, 362, 8, 198, 220, 220, 220, 44036, 5299, 337, 85, 26447, 7, 77, 40890, 11, 19862, 17034, 7, 940, 4008, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 27131, 378, 477, 262, 38779, 2846, 13, 198, 220, 220, 220, 38779, 796, 15788, 764, 10, 2124, 1635, 44036, 198, 220, 220, 220, 331, 5299, 337, 85, 26447, 7, 30300, 11, 19862, 17034, 7, 38392, 158, 224, 224, 4008, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 767, 12993, 23, 7568, 23, 69, 12, 7252, 17, 67, 12, 3901, 69, 24, 12, 3865, 65, 22, 12, 65, 1120, 16072, 26492, 21101, 24, 67, 198, 19849, 796, 14174, 62, 2301, 2234, 7, 27432, 11, 4512, 62, 16793, 1776, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 9225, 3134, 65, 21, 68, 22, 12, 23, 37710, 12, 2598, 4531, 12, 24, 68, 2623, 12, 5036, 30368, 67, 5036, 18, 69, 535, 198, 7983, 796, 6291, 7, 19849, 11, 399, 3843, 50, 7, 15, 13, 2996, 828, 362, 62, 830, 1776, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 307, 7252, 16, 7568, 66, 12, 68, 17, 64, 22, 12, 19, 11623, 12, 64, 2231, 68, 12, 19881, 7012, 6052, 69, 23, 69, 2999, 64, 198, 29487, 7, 7983, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 5867, 21, 67, 19, 69, 23, 12, 16, 13227, 12, 2920, 2857, 12, 23, 17896, 21, 12, 18, 65, 3324, 65, 25870, 69, 11848, 23, 198, 9132, 37811, 198, 198, 2235, 5231, 382, 19741, 2746, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 2534, 17457, 344, 5774, 12, 64, 16, 69, 17, 12, 25644, 65, 12, 24, 2996, 64, 12, 2670, 1157, 2780, 65, 20943, 330, 198, 9132, 37811, 1081, 345, 760, 422, 262, 717, 24878, 11, 262, 1960, 382, 19741, 2746, 318, 257, 670, 30527, 2746, 287, 12446, 290, 9604, 13, 770, 2746, 318, 7997, 416, 220, 198, 198, 13702, 88, 62, 83, 796, 3467, 81, 8873, 62, 15, 1343, 3467, 81, 8873, 62, 16, 331, 23330, 83, 12, 16, 92, 1343, 3467, 67, 1747, 1343, 3467, 81, 8873, 62, 79, 331, 23330, 83, 12, 79, 92, 1343, 304, 62, 83, 11, 3467, 47003, 304, 62, 83, 59, 14323, 399, 7, 15, 11, 59, 82, 13495, 61, 17, 8, 13702, 198, 198, 3003, 39280, 81, 8873, 62, 15, 3, 318, 281, 6439, 1103, 12, 39728, 6937, 290, 39280, 81, 8873, 62, 72, 3, 329, 720, 72, 796, 352, 11, 3467, 335, 1747, 11, 279, 3, 389, 262, 12429, 34680, 1174, 44036, 290, 39280, 82, 13495, 61, 17, 3467, 469, 80, 657, 3, 318, 262, 12429, 34680, 1174, 4049, 24198, 13, 383, 1271, 286, 300, 14655, 2846, 15947, 262, 1502, 286, 262, 5923, 1429, 13, 775, 8636, 281, 5923, 7, 16, 8, 2746, 319, 28590, 1366, 355, 5679, 13, 220, 198, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7175, 67, 4790, 64, 18, 64, 12, 20, 36088, 12, 2598, 12993, 12, 65, 46761, 12, 4790, 1485, 3720, 486, 1959, 68, 19, 198, 27471, 198, 197, 2235, 3184, 5039, 6060, 329, 5923, 7, 16, 8, 1429, 198, 197, 7942, 62, 31361, 15, 796, 657, 26, 220, 220, 1303, 2081, 15788, 198, 197, 7942, 62, 31361, 16, 796, 657, 13, 21, 26, 1303, 2081, 5923, 7, 16, 8, 35381, 198, 197, 7942, 62, 82, 328, 17, 796, 352, 26, 220, 220, 220, 1303, 2081, 24198, 628, 197, 51, 62, 16, 796, 8576, 26, 1303, 645, 13, 286, 9667, 198, 197, 88, 15, 796, 2081, 62, 31361, 15, 29006, 16, 532, 2081, 62, 31361, 16, 1776, 1303, 4238, 4006, 198, 197, 88, 796, 1976, 27498, 7, 51, 62, 16, 1776, 1303, 6143, 15879, 198, 197, 198, 197, 88, 58, 16, 60, 796, 331, 15, 26, 198, 197, 1640, 256, 796, 362, 25, 51, 62, 16, 198, 197, 220, 220, 220, 331, 58, 83, 60, 796, 2081, 62, 31361, 15, 1343, 2081, 62, 31361, 16, 9, 88, 58, 83, 12, 16, 60, 1343, 43720, 7, 26447, 7, 15, 11, 31166, 17034, 7, 7942, 62, 82, 328, 17, 4008, 1776, 198, 197, 437, 198, 197, 198, 197, 7890, 62, 3605, 796, 331, 26, 198, 197, 87, 62, 16, 796, 2824, 7, 16, 25, 16, 25, 51, 62, 16, 1776, 198, 197, 29487, 7, 87, 62, 16, 11, 1366, 62, 3605, 11, 6167, 2625, 8890, 4817, 6060, 4943, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 277, 20, 2670, 67, 32128, 12, 15, 69, 1954, 12, 19, 28933, 12, 24, 65, 2075, 12, 25600, 2780, 65, 20, 66, 48250, 64, 198, 27471, 198, 197, 2, 2896, 500, 1994, 9633, 287, 14174, 20683, 2746, 198, 197, 79, 796, 352, 26, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5923, 1502, 198, 197, 88, 15, 62, 3605, 796, 1366, 62, 3605, 58, 16, 25, 79, 11208, 220, 220, 220, 220, 1303, 20768, 3403, 198, 197, 88, 62, 3605, 796, 1366, 62, 3605, 58, 79, 10, 16, 25, 437, 11208, 220, 1303, 19243, 602, 198, 197, 51, 62, 3605, 796, 2546, 7, 88, 62, 3605, 11, 352, 1776, 220, 220, 220, 220, 220, 1303, 44712, 706, 10829, 4238, 3403, 198, 197, 55, 796, 685, 1952, 7, 51, 62, 3605, 8, 1366, 62, 3605, 58, 16, 25, 437, 12, 16, 60, 11208, 1303, 15788, 290, 717, 19470, 198, 197, 198, 197, 87, 62, 3605, 796, 2824, 7, 16, 25, 16, 25, 51, 62, 3605, 1776, 198, 197, 29487, 7, 87, 62, 3605, 11, 331, 62, 3605, 11, 6167, 2625, 6601, 4943, 198, 197, 29487, 0, 7, 87, 62, 3605, 11, 1395, 58, 45299, 17, 4357, 6167, 2625, 5962, 19470, 4943, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 8699, 69, 31675, 2078, 12, 4846, 2154, 12, 19, 69, 3324, 12, 64, 15, 67, 15, 12, 19, 21734, 66, 21, 7252, 4869, 3609, 198, 8818, 46795, 1443, 62, 1503, 7, 55, 11, 309, 11, 331, 8, 198, 197, 2, 36357, 198, 197, 77, 10899, 796, 8576, 26, 198, 197, 358, 1831, 82, 796, 299, 10899, 1343, 33028, 26, 628, 197, 2, 14481, 329, 12159, 198, 197, 74, 796, 2546, 7, 55, 11, 17, 1776, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 286, 50252, 669, 198, 197, 3448, 62, 76, 796, 1976, 27498, 7, 74, 1776, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3161, 1612, 198, 197, 3448, 62, 85, 796, 6031, 27923, 7, 940, 9, 1952, 7, 74, 18125, 220, 220, 220, 220, 1303, 3161, 44829, 590, 198, 197, 3448, 62, 31361, 796, 337, 85, 26447, 7, 3448, 62, 76, 11, 3448, 62, 85, 1776, 1303, 3161, 6082, 628, 197, 2, 14481, 329, 43237, 17, 198, 197, 3448, 62, 28803, 796, 513, 26, 220, 220, 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, 3161, 5485, 11507, 220, 220, 198, 197, 3448, 62, 50, 796, 352, 9, 7, 3448, 62, 28803, 12, 16, 1776, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3161, 5046, 11507, 532, 5621, 412, 7, 3448, 62, 82, 328, 17, 8, 796, 352, 198, 197, 3448, 62, 82, 328, 17, 796, 554, 4399, 34777, 2611, 7, 3448, 62, 50, 11, 3448, 62, 50, 1776, 1303, 3161, 6082, 628, 197, 2, 20514, 198, 197, 82, 62, 31361, 796, 1976, 27498, 7, 358, 1831, 82, 12, 77, 10899, 11, 74, 1776, 198, 197, 82, 62, 82, 328, 17, 796, 1976, 27498, 7, 358, 1831, 82, 12, 77, 10899, 11, 16, 1776, 628, 197, 2, 45559, 49228, 2846, 287, 34319, 198, 197, 7353, 62, 28803, 796, 1293, 62, 28803, 1343, 309, 14, 17, 26, 220, 220, 1303, 34319, 5485, 11507, 329, 43237, 17, 220, 198, 197, 16340, 62, 3448, 53, 796, 357, 3448, 62, 85, 19415, 40, 7, 74, 1776, 220, 1303, 34062, 3161, 44829, 590, 329, 12159, 198, 197, 55, 79, 55, 796, 1395, 6, 9, 55, 26, 220, 198, 197, 55, 9078, 796, 1395, 6, 9, 88, 26, 220, 628, 197, 2, 20768, 3403, 198, 197, 9655, 62, 31361, 796, 1395, 79, 55, 59, 55, 9078, 26, 198, 197, 9655, 62, 82, 328, 17, 796, 357, 88, 12, 55, 9, 9655, 62, 31361, 33047, 9, 7, 88, 12, 55, 9, 9655, 62, 31361, 20679, 51, 26, 628, 197, 2, 2940, 709, 6333, 198, 197, 1640, 9052, 287, 352, 25, 358, 1831, 82, 198, 197, 2, 15315, 12159, 198, 220, 220, 220, 220, 197, 7353, 62, 85, 796, 357, 55, 79, 55, 14, 9655, 62, 82, 328, 17, 1343, 800, 62, 3448, 53, 19415, 40, 7, 74, 1776, 198, 220, 220, 220, 220, 197, 7353, 62, 76, 796, 1281, 62, 85, 9, 7, 55, 9078, 14, 9655, 62, 82, 328, 17, 1343, 800, 62, 3448, 53, 9, 3448, 62, 76, 1776, 198, 197, 197, 198, 220, 220, 220, 220, 197, 2, 9655, 62, 31361, 796, 1281, 62, 76, 1343, 357, 354, 4316, 2584, 7, 7353, 62, 85, 737, 43, 27493, 25192, 7, 26447, 7, 15, 11, 16, 828, 74, 1776, 198, 220, 220, 220, 220, 197, 9655, 62, 31361, 796, 1281, 62, 76, 1343, 357, 354, 4316, 2584, 7, 9360, 2781, 666, 7, 7353, 62, 85, 29720, 43, 27493, 25192, 7, 26447, 7, 15, 11, 16, 828, 74, 1776, 628, 197, 197, 2, 15315, 43237, 17, 198, 220, 220, 220, 220, 197, 7353, 62, 50, 796, 1293, 62, 50, 1343, 15, 13, 20, 9, 7, 88, 12, 55, 9, 9655, 62, 31361, 33047, 9, 7, 88, 12, 55, 9, 9655, 62, 31361, 1776, 198, 220, 220, 220, 220, 197, 9655, 62, 82, 328, 17, 796, 43720, 7, 818, 4399, 34777, 2611, 7, 7353, 62, 28803, 11, 7353, 62, 50, 18125, 628, 197, 197, 2, 9363, 198, 220, 220, 220, 220, 197, 361, 9052, 1875, 299, 10899, 198, 220, 220, 220, 220, 220, 220, 220, 220, 197, 9127, 62, 26268, 796, 9052, 532, 299, 10899, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 197, 82, 62, 31361, 58, 9127, 62, 26268, 11, 47715, 796, 1007, 3455, 7, 9655, 62, 31361, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 220, 197, 82, 62, 82, 328, 17, 58, 9127, 62, 26268, 60, 796, 13122, 62, 82, 328, 17, 26, 198, 220, 220, 220, 220, 197, 437, 198, 197, 437, 198, 197, 198, 197, 2235, 5060, 3876, 1096, 2482, 198, 197, 2, 3082, 1133, 34319, 1612, 1262, 22489, 40089, 38410, 198, 197, 7353, 62, 31361, 796, 1612, 7, 82, 62, 31361, 11, 67, 12078, 28, 16, 1776, 198, 220, 220, 220, 1281, 62, 82, 328, 17, 796, 1612, 7, 82, 62, 82, 328, 17, 1776, 628, 197, 7353, 62, 31361, 11, 1281, 62, 82, 328, 17, 11, 264, 62, 31361, 11, 264, 62, 82, 328, 17, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 8646, 17, 65, 4846, 66, 12, 22, 17457, 66, 12, 2857, 2920, 12, 65, 5892, 68, 12, 69, 27192, 69, 1899, 64, 17885, 23, 198, 27471, 198, 197, 77, 10899, 796, 8576, 26, 198, 197, 358, 1831, 82, 796, 299, 10899, 1343, 33028, 26, 198, 197, 198, 197, 7353, 62, 31361, 11, 1281, 62, 82, 328, 17, 11, 264, 62, 31361, 11, 264, 62, 82, 328, 17, 796, 46795, 1443, 62, 1503, 7, 55, 11, 309, 62, 3605, 11, 331, 62, 3605, 8, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 5534, 65, 40675, 4531, 12, 22, 64, 2079, 12, 19, 15630, 19, 12, 6052, 69, 19, 12, 20, 25191, 36434, 2934, 17, 21101, 198, 27471, 198, 197, 2, 34912, 21528, 198, 197, 87, 62, 83, 796, 2824, 7, 16, 37498, 358, 1831, 82, 12, 77, 10899, 4008, 198, 197, 79, 16, 64, 796, 7110, 7, 87, 62, 83, 11, 82, 62, 31361, 58, 45299, 16, 4357, 3670, 796, 366, 9704, 709, 6333, 25, 12159, 15, 1600, 8177, 796, 3991, 1776, 198, 197, 79, 16, 65, 796, 7110, 7, 87, 62, 83, 11, 82, 62, 31361, 58, 45299, 17, 4357, 3670, 796, 366, 9704, 709, 6333, 25, 12159, 16, 1600, 8177, 796, 3991, 1776, 198, 197, 79, 16, 66, 796, 7110, 7, 87, 62, 83, 11, 82, 62, 82, 328, 17, 11, 3670, 796, 366, 9704, 709, 6333, 25, 43237, 17, 1600, 6167, 2625, 79, 6197, 1504, 14293, 15341, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 9415, 21855, 23, 487, 16, 12, 23, 29326, 12, 2231, 4051, 12, 7012, 3720, 12, 40022, 2231, 65, 16, 69, 535, 69, 18, 198, 27471, 198, 197, 2, 28114, 14461, 34319, 24570, 198, 197, 87, 62, 71, 796, 2824, 7, 16, 37498, 358, 1831, 82, 12, 77, 10899, 18125, 198, 197, 10034, 21857, 7, 87, 62, 71, 11, 264, 62, 31361, 58, 45299, 16, 4357, 3487, 1096, 28, 25, 12315, 11, 3670, 796, 366, 47, 6197, 1504, 25, 12159, 15, 1600, 8177, 796, 3991, 8, 198, 197, 29487, 0, 26933, 7942, 62, 31361, 15, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 8177, 796, 3991, 8, 198, 197, 79, 17, 64, 796, 7110, 0, 26933, 7353, 62, 31361, 58, 16, 60, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 8177, 796, 3991, 8, 198, 197, 198, 197, 10034, 21857, 7, 87, 62, 71, 11, 264, 62, 31361, 58, 45299, 17, 4357, 3487, 1096, 28, 25, 12315, 11, 3670, 796, 366, 47, 6197, 1504, 25, 12159, 16, 1600, 8177, 796, 3991, 8, 198, 197, 29487, 0, 26933, 7942, 62, 31361, 16, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 8177, 796, 3991, 8, 198, 197, 79, 17, 65, 796, 7110, 0, 26933, 7353, 62, 31361, 58, 17, 60, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 8177, 796, 3991, 8, 198, 197, 198, 197, 10034, 21857, 7, 87, 62, 71, 11, 264, 62, 82, 328, 17, 11, 3487, 1096, 28, 25, 12315, 11, 3670, 796, 366, 47, 6197, 1504, 25, 43237, 17, 1600, 6167, 2625, 36, 3149, 343, 605, 37124, 4943, 198, 197, 29487, 0, 26933, 7942, 62, 82, 328, 17, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 6167, 2625, 17821, 1988, 4943, 198, 197, 79, 17, 66, 796, 7110, 0, 26933, 7353, 62, 82, 328, 17, 4357, 1055, 6386, 2981, 2625, 85, 1370, 1600, 6167, 2625, 9655, 1612, 4943, 628, 197, 29487, 7, 79, 17, 64, 11, 79, 17, 65, 11, 79, 17, 66, 11, 39786, 796, 357, 16, 11, 18, 828, 8177, 796, 3991, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 604, 65, 19, 1860, 68, 23, 67, 12, 68, 2682, 67, 12, 2598, 330, 12, 24, 20943, 12, 23, 6888, 1828, 5036, 3609, 15, 68, 17, 198, 9132, 37811, 775, 460, 9117, 428, 1672, 284, 257, 3867, 2811, 2746, 290, 12839, 635, 262, 517, 2276, 1398, 286, 5923, 5673, 4981, 13, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 269, 20, 67, 2931, 68, 1485, 12, 35005, 67, 12, 28324, 18, 12, 23, 2682, 65, 12, 1860, 1314, 2996, 64, 3312, 69, 16, 64, 198, 9132, 37811, 44386, 5231, 382, 19741, 2746, 351, 4600, 51, 870, 13, 20362, 63, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 807, 68, 24, 67, 1485, 64, 24, 12, 3510, 69, 21, 12, 29703, 68, 12, 65, 4310, 66, 12, 64, 16, 69, 49641, 23188, 65, 20, 64, 198, 9132, 37811, 5455, 286, 497, 728, 283, 6548, 3597, 674, 898, 8027, 329, 262, 41071, 6072, 20053, 11, 356, 460, 779, 262, 11244, 286, 4600, 51, 870, 13, 20362, 63, 284, 7716, 7746, 286, 262, 10007, 286, 1393, 13, 12642, 262, 1708, 2438, 329, 262, 5923, 7, 16, 8, 1339, 13, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 69, 24, 3609, 17, 68, 21, 12, 11848, 15, 66, 12, 2231, 21101, 12, 23, 41561, 12, 41580, 68, 1415, 4531, 17, 65, 2623, 198, 31, 19849, 2163, 610, 16, 7, 893, 28, 45688, 8, 198, 220, 220, 220, 611, 331, 82, 24844, 4814, 220, 198, 220, 220, 220, 220, 220, 220, 220, 331, 82, 796, 20650, 90, 15633, 92, 7, 917, 891, 11, 838, 8, 220, 198, 220, 220, 220, 886, 198, 220, 220, 220, 299, 796, 4129, 7, 893, 8, 628, 220, 220, 220, 1303, 791, 259, 687, 876, 1293, 669, 198, 220, 220, 220, 1303, 17130, 5299, 35712, 32590, 17, 11, 17, 8, 198, 220, 220, 220, 1303, 12159, 5299, 35712, 32590, 17, 11, 17, 8, 198, 220, 220, 220, 1303, 264, 13495, 5299, 35712, 7, 15, 11, 17, 8, 628, 220, 220, 220, 1303, 45255, 876, 1293, 669, 198, 220, 220, 220, 12159, 62, 15, 5299, 14435, 7, 17, 11, 17, 8, 198, 220, 220, 220, 12159, 62, 16, 220, 5299, 14435, 7, 17, 11, 17, 8, 198, 220, 220, 220, 43237, 17, 5299, 554, 4399, 34777, 2611, 7, 17, 11, 17, 8, 628, 220, 220, 220, 331, 82, 58, 16, 60, 5299, 14435, 7, 31361, 62, 15, 1343, 12159, 62, 16, 11, 43237, 17, 8, 198, 220, 220, 220, 329, 1312, 287, 362, 25, 77, 198, 220, 220, 220, 220, 220, 220, 220, 331, 82, 58, 72, 60, 5299, 14435, 7, 31361, 62, 15, 1343, 12159, 62, 16, 1635, 331, 82, 58, 72, 12, 16, 4357, 43237, 17, 8, 198, 220, 220, 220, 886, 198, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 68, 5237, 324, 69, 22, 12, 1558, 7012, 12, 19, 69, 17, 67, 12, 65, 21844, 12, 66, 2548, 1828, 67, 25540, 67, 6659, 198, 19849, 62, 3605, 220, 796, 610, 16, 7, 88, 62, 3605, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 8699, 21599, 68, 19, 67, 12, 68, 49051, 12, 19, 68, 23, 66, 12, 23, 67, 19, 65, 12, 2996, 3134, 64, 2623, 4869, 2001, 198, 354, 82, 796, 6291, 7, 19849, 62, 3605, 11, 45, 3843, 50, 22784, 838, 62, 830, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 4764, 64, 2075, 31697, 12, 68, 20, 3388, 12, 19, 69, 1314, 12, 65, 28977, 12, 24, 64, 17, 64, 18, 65, 21, 26200, 3695, 198, 29487, 7, 354, 82, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 39885, 4790, 66, 16, 12, 16, 2934, 15, 12, 2231, 2624, 12, 23, 33808, 12, 67, 3980, 13381, 2327, 486, 6052, 198, 9132, 37811, 3914, 514, 804, 379, 530, 938, 1517, 329, 428, 2665, 351, 2461, 284, 5923, 3955, 32, 4981, 13, 383, 4007, 994, 318, 284, 905, 345, 703, 284, 3440, 1366, 290, 18510, 351, 262, 6060, 35439, 5301, 13, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 767, 68, 1878, 23, 1959, 65, 12, 22, 31952, 12, 1821, 2075, 12, 23, 68, 3609, 12, 67, 5705, 66, 11848, 65, 1795, 5036, 15, 198, 9132, 37811, 44386, 5923, 3955, 32, 41164, 351, 4600, 9012, 14106, 5841, 1424, 13, 20362, 63, 37227, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 64, 19, 1765, 18, 67, 19, 12, 535, 2934, 12, 19, 65, 3459, 12, 15630, 2231, 12, 2425, 5036, 5332, 66, 21, 65, 9945, 16, 198, 9132, 37811, 23904, 611, 345, 389, 1016, 284, 307, 1804, 5923, 3955, 32, 26119, 314, 561, 4313, 262, 4600, 754, 2701, 63, 5301, 287, 371, 13, 632, 468, 257, 1256, 286, 3621, 11244, 13, 770, 318, 407, 257, 4696, 35610, 5301, 11, 475, 407, 2279, 345, 466, 468, 284, 307, 4696, 35610, 13, 220, 198, 198, 1532, 345, 765, 284, 467, 351, 257, 4696, 35610, 3164, 530, 7685, 468, 284, 5739, 262, 2746, 287, 257, 1181, 2272, 4634, 13, 314, 481, 787, 257, 2068, 4941, 2174, 284, 1181, 2272, 4981, 287, 1194, 19143, 13, 1812, 2272, 38591, 318, 635, 257, 34826, 284, 262, 670, 319, 3195, 47, 12, 53, 1503, 82, 290, 262, 12612, 805, 8106, 13, 2102, 11, 2233, 284, 640, 18506, 11, 356, 1839, 470, 307, 1498, 284, 466, 477, 286, 262, 670, 8203, 13, 198, 198, 40, 1950, 262, 4600, 65, 6448, 63, 393, 4600, 24406, 274, 754, 2701, 63, 23503, 461, 3212, 287, 371, 329, 262, 4007, 286, 4696, 35610, 13204, 640, 2168, 38591, 526, 15931, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 4974, 22996, 65, 4531, 12, 15, 64, 940, 12, 19, 29626, 12, 24, 32066, 12, 16344, 2481, 16344, 42802, 68, 3865, 198, 9132, 1, 3914, 514, 804, 379, 617, 3176, 1366, 329, 674, 1306, 1672, 13, 6663, 8566, 1366, 1244, 407, 423, 587, 262, 1266, 731, 329, 12429, 5305, 1220, 2726, 1174, 304, 1102, 16996, 3781, 986, 5514, 345, 460, 5409, 611, 428, 318, 262, 1339, 13, 220, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 6659, 69, 45151, 67, 12, 64, 9031, 12, 2598, 68, 23, 12, 4089, 7012, 12, 20, 66, 15, 891, 721, 9945, 1129, 66, 198, 7568, 796, 2956, 335, 593, 2220, 7203, 5450, 1378, 1831, 13, 12567, 43667, 13, 785, 14, 259, 861, 544, 22, 14, 2435, 27996, 62, 2777, 4059, 62, 49, 14, 9866, 14, 7890, 14, 7890, 62, 9866, 62, 16, 13, 40664, 4943, 930, 29, 6060, 19778, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 47764, 1350, 1983, 65, 17, 12, 19881, 1860, 12, 1821, 68, 24, 12, 64, 5066, 66, 12, 18, 15363, 66, 21495, 2934, 2425, 198, 82, 796, 47764, 13, 2777, 62, 4059, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 46839, 64, 5607, 66, 23, 12, 9945, 21, 68, 12, 3682, 67, 23, 12, 6469, 65, 16, 12, 24, 66, 2481, 69, 1983, 5824, 397, 22, 198, 29487, 7, 82, 11, 8177, 796, 3991, 11, 300, 86, 796, 352, 13, 20, 11, 17130, 796, 657, 13, 23, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 513, 69, 37466, 30995, 12, 15, 65, 5333, 12, 19, 65, 22, 68, 12, 65, 4309, 69, 12, 66, 19, 69, 2682, 67, 22, 1731, 69, 20, 66, 198, 27471, 198, 197, 2, 27758, 656, 3047, 290, 1332, 5621, 13, 220, 198, 197, 27432, 62, 25067, 496, 796, 657, 13, 3865, 198, 197, 82, 62, 27432, 796, 264, 58, 16, 25, 28300, 7, 5317, 11, 4512, 62, 25067, 496, 9, 13664, 7, 82, 4008, 60, 198, 197, 45, 158, 224, 224, 796, 4129, 7, 82, 62, 27432, 8, 198, 437, 26, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 2623, 721, 65, 4869, 12, 69, 2091, 69, 12, 32531, 67, 12, 23, 67, 21, 69, 12, 1433, 33551, 7252, 3865, 1270, 69, 198, 9132, 1, 775, 460, 1332, 329, 4429, 6806, 351, 257, 360, 40389, 31863, 1332, 13, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 269, 344, 64, 20, 65, 3388, 12, 7568, 65, 16, 12, 2857, 1453, 12, 17457, 4051, 12, 22, 65, 3365, 67, 5774, 69, 2931, 69, 20, 198, 2885, 9792, 395, 7, 82, 62, 27432, 11, 38357, 7203, 9979, 415, 12340, 642, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 288, 12865, 3510, 721, 12, 17, 11848, 21, 12, 3682, 1731, 12, 64, 2075, 67, 12, 35916, 1120, 67, 4521, 17896, 4846, 198, 9132, 1, 775, 12414, 4429, 6806, 290, 262, 16638, 835, 284, 10568, 428, 318, 416, 2263, 257, 717, 3580, 13, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 718, 66, 22, 69, 4531, 66, 19, 12, 66, 1350, 65, 12, 3682, 66, 21, 12, 15498, 19, 12, 66, 487, 3720, 64, 3104, 397, 23, 69, 198, 27471, 198, 197, 82, 62, 26069, 796, 814, 7, 82, 62, 27432, 8, 198, 197, 29487, 7, 82, 62, 26069, 11, 8177, 796, 3991, 11, 300, 86, 796, 352, 13, 20, 11, 17130, 796, 657, 13, 23, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 352, 66, 16, 67, 19, 28977, 12, 21, 344, 66, 12, 19, 67, 4521, 12, 1350, 18, 65, 12, 16, 68, 4531, 38547, 21526, 1453, 198, 2885, 9792, 395, 7, 82, 62, 26069, 11, 38357, 7203, 9979, 415, 12340, 642, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 860, 65, 3980, 1828, 13331, 12, 24, 66, 1878, 12, 19, 69, 4051, 12, 64, 1314, 67, 12, 69, 23, 65, 22, 3132, 17896, 23, 3682, 65, 198, 9132, 1, 37614, 31607, 11, 523, 1309, 338, 1445, 284, 674, 1306, 2239, 13, 775, 765, 284, 3785, 503, 262, 1271, 286, 8779, 290, 5923, 2846, 416, 1262, 7125, 37, 290, 16741, 37, 21528, 13, 921, 815, 423, 428, 2099, 286, 1429, 287, 262, 717, 24878, 13, 220, 220, 366, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 642, 4846, 69, 1860, 64, 15, 12, 15, 67, 15, 68, 12, 19, 68, 2231, 12, 23, 13331, 17, 12, 3980, 1507, 18376, 64, 2919, 65, 21, 198, 27471, 198, 197, 23350, 62, 75, 3775, 796, 1160, 198, 197, 82, 16, 796, 7110, 7, 1370, 796, 1058, 927, 11, 2824, 7, 16, 25, 23350, 62, 75, 3775, 828, 1960, 420, 273, 7, 82, 62, 26069, 11, 2824, 7, 16, 25, 23350, 62, 75, 3775, 36911, 3670, 796, 366, 2246, 37, 1600, 331, 2475, 796, 25915, 15, 13, 18, 11, 15, 13, 20, 4357, 300, 86, 796, 838, 8, 198, 197, 82, 17, 796, 7110, 7, 1370, 796, 1058, 927, 11, 2824, 7, 16, 25, 23350, 62, 75, 3775, 828, 23503, 69, 7, 82, 62, 26069, 11, 2824, 7, 16, 25, 23350, 62, 75, 3775, 36911, 3670, 796, 366, 44938, 37, 1600, 331, 2475, 796, 25915, 15, 13, 18, 11, 15, 13, 20, 4357, 300, 86, 796, 838, 8, 198, 197, 29487, 7, 82, 16, 11, 264, 17, 11, 12461, 796, 357, 17, 11, 352, 828, 8177, 796, 3991, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 304, 37397, 68, 33646, 12, 69, 16, 68, 17, 12, 19, 6814, 23, 12, 23, 891, 19, 12, 43610, 69, 1899, 10210, 39101, 65, 198, 9132, 1, 1114, 262, 11060, 286, 4578, 11, 1309, 514, 910, 326, 356, 460, 788, 2746, 351, 351, 281, 5923, 7, 15, 11, 352, 11, 352, 8, 2746, 526, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 275, 23, 324, 66, 17, 68, 21, 12, 17, 68, 16, 66, 12, 19, 69, 405, 12, 64, 5892, 69, 12, 6659, 64, 11442, 65, 10163, 68, 24, 198, 27471, 198, 197, 283, 8083, 62, 19849, 796, 47341, 3955, 32, 7, 82, 62, 26069, 26, 1502, 796, 357, 15, 11, 657, 11, 352, 4008, 198, 197, 9012, 14106, 5841, 1424, 13, 11147, 0, 7, 283, 8083, 62, 19849, 8, 198, 437, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 718, 65, 3980, 1350, 2623, 12, 1959, 4349, 12, 2231, 5237, 12, 1350, 5824, 12, 324, 29558, 65, 1314, 1120, 6469, 198, 43420, 7, 283, 8083, 62, 19849, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 257, 1415, 1157, 64, 1507, 12, 18, 66, 2414, 12, 3510, 65, 16, 12, 65, 43665, 12, 68, 18, 1878, 15, 22980, 68, 1878, 24, 198, 754, 66, 796, 11092, 7, 283, 8083, 62, 19849, 11, 1987, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 7388, 68, 1350, 22, 64, 21, 12, 2327, 66, 16, 12, 3510, 344, 12, 24, 67, 4790, 12, 35978, 67, 2231, 1558, 3901, 69, 22, 198, 29487, 7, 283, 8083, 62, 19849, 11, 1674, 66, 26, 8177, 796, 3991, 8, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 27551, 12, 2388, 12, 2388, 12, 2388, 12, 8269, 18005, 198, 6489, 3843, 46, 62, 31190, 23680, 62, 51, 2662, 43, 62, 37815, 15365, 796, 37227, 198, 58, 10378, 82, 60, 198, 44199, 4102, 33637, 796, 366, 21, 68, 19, 65, 1795, 69, 24, 12, 1860, 5066, 12, 4310, 7252, 12, 3865, 64, 18, 12, 15, 66, 9945, 2078, 13331, 23, 65, 1878, 1, 198, 7902, 53, 796, 366, 29211, 276, 3104, 69, 12, 15, 65, 330, 12, 20, 6888, 15, 12, 5774, 67, 19, 12, 22, 65, 1433, 66, 1878, 20, 67, 405, 65, 1, 198, 6601, 35439, 796, 366, 64, 6052, 66, 21, 69, 405, 12, 68, 3553, 67, 12, 20, 41580, 12, 65, 22, 65, 21, 12, 67, 23, 24943, 69, 18, 68, 3510, 66, 15, 1, 198, 20344, 1817, 796, 366, 65, 19, 69, 2682, 68, 6469, 12, 68, 3695, 67, 12, 4051, 64, 20, 12, 38956, 64, 12, 69, 4089, 68, 4531, 67, 21, 68, 23, 69, 22, 1, 198, 20344, 2455, 507, 796, 366, 3132, 66, 1731, 68, 940, 12, 64, 27057, 12, 20, 37804, 12, 65, 23, 1765, 12, 3720, 3388, 330, 67, 15, 36243, 69, 1, 198, 40717, 796, 366, 10210, 18, 1765, 27037, 12, 2327, 21855, 12, 1120, 5824, 12, 24, 1959, 65, 12, 40486, 64, 4846, 69, 324, 21, 69, 18, 1, 198, 49926, 313, 8497, 51, 3558, 796, 366, 2931, 69, 5705, 23237, 12, 10210, 2598, 12, 20, 69, 2091, 12, 65, 1954, 69, 12, 68, 21, 65, 15, 67, 20809, 64, 15, 67, 20, 1, 198, 42, 7948, 35, 6377, 796, 366, 20, 397, 2919, 3388, 65, 12, 6659, 7252, 12, 40486, 67, 12, 11848, 1954, 12, 66, 19881, 4051, 1954, 65, 1350, 24, 65, 1, 198, 14993, 451, 2348, 29230, 796, 366, 2718, 68, 17, 68, 3510, 67, 12, 69, 4531, 67, 12, 20, 2670, 67, 12, 65, 19, 1453, 12, 23, 2548, 69, 535, 535, 24, 66, 23, 68, 1, 198, 9655, 9655, 1925, 1299, 796, 366, 66, 22, 69, 33808, 69, 17, 12, 487, 1507, 12, 3365, 68, 24, 12, 15630, 22, 65, 12, 26717, 2078, 68, 3459, 69, 2425, 67, 1, 198, 5805, 6601, 18274, 4487, 796, 366, 535, 17, 7012, 24, 65, 21, 12, 67, 35435, 12, 20, 68, 21, 67, 12, 23, 68, 1878, 12, 64, 5892, 67, 4051, 1065, 67, 3901, 67, 1, 198, 3646, 1747, 796, 366, 6420, 64, 20, 15630, 1860, 12, 2816, 67, 22, 12, 20, 66, 1878, 12, 24, 68, 15, 65, 12, 31211, 67, 23, 3270, 66, 3609, 1795, 1, 198, 3646, 9390, 10080, 796, 366, 22, 69, 24, 3023, 67, 5036, 12, 65, 5332, 68, 12, 19, 487, 21, 12, 65, 38380, 12, 67, 3609, 23539, 1954, 4846, 64, 23, 1, 198, 49, 27354, 292, 1039, 796, 366, 344, 21, 65, 1558, 3682, 12, 2780, 1821, 12, 2816, 13331, 12, 65, 2931, 18, 12, 23, 4309, 47984, 11848, 16, 67, 23, 65, 1, 198, 29531, 796, 366, 24, 64, 18, 69, 23, 30336, 12, 64, 17, 66, 24, 12, 20, 69, 2999, 12, 24, 64, 1157, 12, 23, 33459, 1795, 64, 16, 16344, 20, 66, 1, 198, 9012, 14106, 5841, 1424, 796, 366, 2079, 31575, 69, 2623, 12, 23, 1983, 66, 12, 20, 25964, 12, 5607, 66, 24, 12, 67, 22, 69, 24, 1453, 29143, 66, 3695, 1, 198, 48346, 796, 366, 15982, 2231, 65, 1433, 12, 3720, 344, 12, 1157, 68, 23, 12, 1157, 69, 24, 12, 22, 67, 1485, 324, 2624, 64, 18, 65, 17, 1, 198, 29668, 14881, 796, 366, 1959, 1485, 11848, 67, 17, 12, 3609, 23, 64, 12, 20, 69, 4869, 12, 23, 66, 2079, 12, 19, 21855, 21, 66, 4304, 69, 18, 64, 6420, 1, 198, 29668, 3646, 1747, 796, 366, 69, 18, 65, 22745, 64, 22, 12, 44698, 64, 12, 20, 68, 2154, 12, 65, 28676, 12, 4521, 31675, 67, 3720, 2816, 16344, 1, 198, 51, 870, 796, 366, 69, 344, 20, 5036, 6469, 12, 20, 3901, 64, 12, 3270, 64, 21, 12, 324, 69, 23, 12, 43916, 66, 2414, 65, 20, 69, 24, 64, 15, 1, 198, 28165, 10002, 796, 366, 23, 3980, 330, 2718, 64, 12, 1270, 2624, 12, 19, 66, 16, 66, 12, 24, 18376, 12, 69, 4521, 67, 3459, 31128, 66, 23, 65, 1, 198, 198, 58, 5589, 265, 60, 198, 44199, 4102, 33637, 796, 366, 93, 15, 13, 22, 13, 15, 1, 198, 7902, 53, 796, 366, 93, 15, 13, 23, 13, 20, 1, 198, 6601, 35439, 796, 366, 93, 16, 13, 17, 13, 17, 1, 198, 20344, 1817, 796, 366, 93, 15, 13, 940, 13, 19, 1, 198, 20344, 2455, 507, 796, 366, 93, 15, 13, 1731, 13, 1507, 1, 198, 40717, 796, 366, 93, 15, 13, 24, 13, 1415, 1, 198, 49926, 313, 8497, 51, 3558, 796, 366, 93, 15, 13, 940, 13, 19, 1, 198, 42, 7948, 35, 6377, 796, 366, 93, 15, 13, 21, 13, 18, 1, 198, 9655, 9655, 1925, 1299, 796, 366, 93, 19, 13, 1415, 13, 16, 1, 198, 5805, 6601, 18274, 4487, 796, 366, 93, 15, 13, 20, 13, 19, 1, 198, 3646, 1747, 796, 366, 93, 16, 13, 1828, 13, 15, 1, 198, 3646, 9390, 10080, 796, 366, 93, 15, 13, 22, 13, 16, 1, 198, 49, 27354, 292, 1039, 796, 366, 93, 15, 13, 22, 13, 20, 1, 198, 9012, 14106, 5841, 1424, 796, 366, 93, 15, 13, 20, 13, 1129, 1, 198, 29668, 14881, 796, 366, 93, 15, 13, 2091, 13, 940, 1, 198, 29668, 3646, 1747, 796, 366, 93, 15, 13, 1415, 13, 1983, 1, 198, 51, 870, 796, 366, 93, 15, 13, 1314, 13, 16, 1, 198, 28165, 10002, 796, 366, 93, 16, 13, 15, 13, 15, 1, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 27551, 12, 2388, 12, 2388, 12, 2388, 12, 8269, 34215, 198, 6489, 3843, 46, 62, 10725, 5064, 6465, 62, 51, 2662, 43, 62, 37815, 15365, 796, 37227, 198, 2, 770, 2393, 318, 4572, 12, 27568, 532, 12857, 340, 3264, 318, 407, 13030, 198, 198, 73, 43640, 62, 9641, 796, 366, 16, 13, 22, 13, 15, 12, 6015, 16, 1, 198, 805, 8409, 62, 18982, 796, 366, 17, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 23839, 5777, 33758, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 32642, 1453, 2919, 37601, 1495, 31911, 30763, 1795, 67, 19, 1878, 5705, 65, 9945, 3510, 64, 17, 64, 26429, 67, 15, 1, 198, 12303, 312, 796, 366, 21, 2481, 69, 2920, 3720, 12, 66, 48200, 12, 20, 67, 4051, 12, 23, 3104, 68, 12, 69, 12993, 19, 68, 18, 68, 23, 21652, 66, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 23839, 9655, 9655, 11907, 198, 10378, 82, 796, 14631, 43984, 43984, 1600, 366, 47581, 32577, 35479, 1600, 366, 20344, 6169, 1600, 366, 11187, 2667, 1600, 366, 11187, 2667, 11627, 8847, 1600, 366, 32577, 11187, 2667, 1600, 366, 29531, 1600, 366, 29668, 14881, 1600, 366, 44798, 282, 11187, 5355, 1600, 366, 8291, 41213, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 69, 10210, 23, 344, 4531, 3132, 66, 3980, 7012, 48200, 1983, 66, 5774, 64, 33551, 18213, 4761, 1453, 2998, 344, 3132, 1, 198, 12303, 312, 796, 366, 1795, 69, 1415, 66, 1731, 12, 69, 46435, 12, 19, 68, 21, 64, 12, 24, 65, 5824, 12, 2670, 67, 21, 65, 15, 69, 9879, 486, 1, 198, 9641, 796, 366, 17, 13, 20, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 23839, 47, 6489, 11907, 198, 10378, 82, 796, 14631, 23839, 9655, 9655, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 7012, 2079, 5705, 18213, 1507, 1959, 68, 1433, 65, 18, 64, 2999, 1453, 2920, 38073, 66, 5705, 66, 24, 41544, 891, 64, 1495, 1, 198, 12303, 312, 796, 366, 22, 64, 3553, 64, 3682, 68, 12, 4304, 721, 12, 19, 18213, 18, 12, 64, 26050, 12, 2998, 68, 40675, 67, 21, 67, 24, 12993, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 23839, 51, 6037, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3070, 68, 2713, 1120, 32883, 67, 4521, 1828, 1495, 2481, 67, 24970, 65, 22, 3901, 67, 27790, 7012, 1558, 18213, 15, 65, 20, 1, 198, 12303, 312, 796, 366, 1314, 1238, 344, 1415, 12, 1899, 66, 16, 12, 20, 69, 1795, 12, 11848, 66, 22, 12, 2816, 891, 6659, 65, 3365, 2327, 66, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 48003, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 2920, 1507, 47838, 67, 1314, 65, 18, 16562, 18654, 1558, 330, 21, 64, 22, 24294, 69, 34427, 2154, 66, 1433, 69, 22, 1, 198, 12303, 312, 796, 366, 3720, 68, 21, 64, 18, 397, 12, 20, 7568, 65, 12, 33580, 67, 12, 45418, 67, 12, 22, 2548, 64, 17, 64, 24, 2548, 64, 15, 68, 1, 198, 9641, 796, 366, 18, 13, 18, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 28809, 39, 9655, 11907, 198, 10378, 82, 796, 14631, 28100, 9787, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 818, 5372, 41472, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 48944, 1600, 366, 32577, 44, 2357, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 48346, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 68, 5332, 276, 2920, 22413, 1433, 5774, 2682, 1954, 69, 23, 67, 2857, 6814, 23, 66, 1065, 2425, 69, 22, 2670, 68, 15, 65, 22, 1, 198, 12303, 312, 796, 366, 15, 19881, 3270, 2998, 21, 12, 66, 18, 65, 16, 12, 20, 6888, 19, 12, 4521, 17457, 12, 68, 2999, 10210, 4761, 66, 2934, 18, 67, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 1983, 1, 198, 198, 30109, 10378, 82, 13, 28809, 36208, 11907, 198, 10378, 82, 796, 14631, 23839, 9655, 9655, 1600, 366, 20344, 2455, 507, 1600, 366, 29531, 1600, 366, 39618, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3553, 43444, 6469, 1314, 7012, 3695, 34155, 344, 8054, 24, 4761, 65, 44994, 68, 17, 69, 2996, 1433, 27800, 68, 23, 1, 198, 12303, 312, 796, 366, 20, 65, 22, 68, 2079, 2857, 12, 1860, 66, 15, 12, 19, 65, 18, 69, 12, 24, 65, 2816, 12, 15, 67, 1795, 3682, 69, 4524, 17279, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 24, 1, 198, 198, 30109, 10378, 82, 13, 28809, 12861, 11907, 198, 10378, 82, 796, 14631, 23286, 752, 669, 1600, 366, 20344, 2455, 507, 1600, 366, 20344, 2455, 507, 2885, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 39746, 28813, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 32577, 44, 2357, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 1600, 366, 35694, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 12952, 67, 21, 65, 1558, 64, 18, 64, 24, 67, 27211, 67, 24, 64, 21, 65, 31020, 1065, 66, 3609, 3070, 487, 67, 21, 64, 2414, 487, 1, 198, 12303, 312, 796, 366, 65, 20, 6888, 19, 17477, 12, 2414, 1959, 12, 2231, 68, 20, 12, 64, 17, 67, 24, 12, 5774, 64, 721, 1270, 64, 35978, 66, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 28100, 9787, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 9395, 11848, 65, 17, 1860, 65, 23, 4304, 69, 44093, 38905, 66, 19, 721, 2598, 2091, 22980, 68, 18938, 4761, 1314, 64, 1, 198, 12303, 312, 796, 366, 67, 344, 3023, 1350, 23, 12, 66, 5892, 67, 12, 2816, 1959, 12, 1350, 405, 12, 1795, 68, 19, 67, 17, 66, 15, 68, 24991, 1, 198, 9641, 796, 366, 17, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 28100, 33637, 11907, 198, 12303, 312, 796, 366, 15, 47984, 5705, 66, 20, 12, 67, 14686, 12, 3682, 68, 21, 12, 23, 67, 2078, 12, 891, 1065, 67, 6485, 40401, 69, 1, 198, 198, 30109, 10378, 82, 13, 3163, 8002, 11907, 198, 10378, 82, 796, 14631, 3163, 8002, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 487, 5892, 65, 4869, 7012, 1558, 2857, 66, 20, 69, 1860, 20, 3901, 69, 23, 16072, 42802, 2623, 67, 6469, 69, 1821, 721, 24, 1, 198, 12303, 312, 796, 366, 22, 67, 24, 69, 6888, 17, 64, 12, 4531, 1899, 12, 4051, 67, 18, 12, 24, 69, 3695, 12, 22, 67, 16, 67, 535, 69, 17, 21101, 5607, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 3163, 8002, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 25835, 25404, 1600, 366, 11505, 9148, 1921, 62, 73, 297, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 22291, 64, 24, 65, 24, 17457, 16, 65, 19, 68, 16, 65, 19, 69, 1314, 65, 1828, 66, 15, 2079, 2780, 5237, 65, 2791, 1878, 22, 487, 22, 1, 198, 12303, 312, 796, 366, 3104, 6469, 1314, 5774, 12, 65, 38612, 12, 3553, 5607, 12, 23, 35195, 12, 66, 29703, 18213, 27277, 41580, 1, 198, 9641, 796, 366, 18, 13, 20, 13, 15, 10, 18, 1, 198, 198, 30109, 10378, 82, 13, 19182, 39317, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 39618, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 17, 64, 20356, 2780, 5066, 32869, 68, 3023, 1415, 69, 21, 69, 23237, 64, 16, 69, 21, 69, 19, 64, 17, 64, 5237, 69, 1878, 19, 68, 1, 198, 12303, 312, 796, 366, 19, 69, 7012, 22995, 66, 12, 15, 67, 6420, 12, 20, 18213, 15, 12, 24, 65, 18, 68, 12, 21, 39305, 3023, 1453, 3553, 64, 24, 1, 198, 9641, 796, 366, 17, 13, 1415, 13, 1558, 1, 198, 198, 30109, 10378, 82, 13, 8001, 37199, 11907, 198, 12303, 312, 796, 366, 3980, 69, 1828, 67, 4761, 12, 16344, 21, 67, 12, 4089, 69, 16, 12, 2999, 69, 15, 12, 2919, 1860, 66, 2931, 2998, 66, 2091, 1, 198, 198, 30109, 10378, 82, 13, 31554, 271, 2348, 7727, 907, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 22911, 10711, 19044, 45977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2791, 46761, 66, 23, 67, 2481, 66, 23, 487, 20, 68, 18, 64, 24, 2091, 3720, 22148, 64, 19214, 22, 330, 2623, 4521, 18, 69, 22, 1, 198, 12303, 312, 796, 366, 12952, 4761, 65, 15, 69, 12, 17, 66, 2816, 12, 4051, 2718, 12, 24, 3609, 22, 12, 67, 42117, 65, 22, 64, 29626, 1120, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 31554, 271, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 9492, 2100, 50, 1039, 1600, 366, 29993, 33637, 1600, 366, 17257, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 16799, 67, 20, 68, 19, 67, 4521, 66, 4304, 1795, 65, 1238, 66, 2327, 67, 1821, 65, 31938, 66, 4524, 65, 24, 64, 2670, 65, 20, 68, 1, 198, 12303, 312, 796, 366, 2670, 2934, 18, 67, 3104, 12, 4524, 65, 24, 12, 46239, 66, 12, 23, 67, 17, 67, 12, 68, 17657, 66, 43509, 69, 18, 64, 24, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 43984, 43984, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 36687, 14881, 1600, 366, 29783, 1600, 366, 24243, 40161, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 39618, 1600, 366, 7248, 3245, 1600, 366, 51, 2977, 1600, 366, 57, 35641, 1258, 37766, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 324, 24909, 7252, 4761, 67, 23, 46250, 69, 1238, 67, 3070, 1433, 68, 39101, 2078, 69, 15, 7012, 1433, 1731, 22996, 1, 198, 12303, 312, 796, 366, 22337, 68, 3312, 5036, 12, 5607, 65, 22, 12, 1157, 68, 24, 12, 2624, 64, 20, 12, 68, 16, 67, 22042, 68, 21, 324, 2791, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 2624, 1, 198, 198, 30109, 10378, 82, 13, 14881, 2414, 11907, 198, 12303, 312, 796, 366, 17, 64, 15, 69, 2598, 68, 18, 12, 21, 66, 5999, 12, 2816, 17457, 12, 5774, 68, 19, 12, 65, 37950, 67, 4089, 17457, 20, 69, 1, 198, 198, 30109, 10378, 82, 13, 14881, 1616, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 1765, 69, 2816, 68, 21, 67, 3324, 3865, 68, 2999, 6888, 4059, 64, 40523, 67, 39195, 330, 24, 3720, 64, 1878, 4531, 68, 1, 198, 12303, 312, 796, 366, 5607, 1507, 68, 22730, 12, 64, 18, 13331, 12, 26200, 64, 12, 1795, 4521, 12, 23, 9945, 4846, 16, 10210, 6469, 1558, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 44199, 4102, 33637, 11907, 198, 10378, 82, 796, 14631, 40386, 1600, 366, 11187, 2667, 1600, 366, 18557, 69, 1600, 366, 48346, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 3104, 69, 6814, 24, 65, 38219, 68, 3901, 68, 21, 66, 2425, 6814, 22, 65, 46761, 68, 21, 69, 4531, 13331, 23, 64, 3559, 67, 1314, 1, 198, 12303, 312, 796, 366, 21, 68, 19, 65, 1795, 69, 24, 12, 1860, 5066, 12, 4310, 7252, 12, 3865, 64, 18, 12, 15, 66, 9945, 2078, 13331, 23, 65, 1878, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 23286, 752, 669, 11907, 198, 10378, 82, 796, 14631, 28100, 9787, 1600, 366, 35491, 37766, 14055, 1600, 366, 40073, 1600, 366, 20344, 2455, 507, 1600, 366, 24629, 5217, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 44, 6320, 3163, 20477, 1600, 366, 6144, 8019, 1600, 366, 15419, 29127, 50, 6442, 1600, 366, 29531, 1600, 366, 3041, 39344, 1600, 366, 39618, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 37, 13271, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3459, 64, 12952, 18, 1453, 940, 66, 1731, 65, 21, 7568, 4521, 1453, 1878, 65, 4089, 68, 35126, 15363, 66, 22, 1350, 3365, 1, 198, 12303, 312, 796, 366, 4304, 28857, 64, 3459, 12, 22, 2598, 69, 12, 1120, 5705, 12, 44928, 16, 12, 24, 2780, 1314, 64, 1878, 2919, 66, 19, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 1433, 1, 198, 198, 30109, 10378, 82, 13, 33, 3219, 29495, 11907, 198, 10378, 82, 796, 14631, 25835, 25404, 1600, 366, 11187, 2667, 1600, 366, 37596, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 721, 12501, 39226, 64, 24, 39305, 23, 9945, 4051, 66, 15, 891, 66, 2816, 2780, 66, 2414, 7568, 344, 2998, 1238, 3365, 1, 198, 12303, 312, 796, 366, 65, 2079, 68, 3695, 3510, 12, 22, 66, 405, 12, 4349, 65, 15, 12, 23, 69, 5237, 12, 66, 6659, 3609, 2682, 66, 15, 24339, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 940, 1, 198, 198, 30109, 10378, 82, 13, 33, 13344, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1129, 64, 2327, 24669, 64, 6469, 68, 24940, 487, 4349, 15630, 1558, 64, 18, 64, 2598, 65, 3388, 891, 2327, 21652, 64, 17, 1, 198, 12303, 312, 796, 366, 21, 68, 2682, 65, 26704, 12, 19, 397, 67, 12, 46096, 66, 12, 65, 3459, 69, 12, 38339, 66, 2623, 7568, 64, 22, 64, 15, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 23, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 7902, 53, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 44, 8899, 1600, 366, 47, 945, 364, 1600, 366, 27201, 276, 3163, 20477, 1600, 366, 31837, 20538, 3163, 20477, 1600, 366, 51, 2977, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 5999, 7252, 18, 69, 48645, 1350, 37397, 2231, 2598, 2718, 64, 15, 1453, 68, 2481, 405, 1433, 2998, 68, 20, 67, 4089, 18, 1, 198, 12303, 312, 796, 366, 29211, 276, 3104, 69, 12, 15, 65, 330, 12, 20, 6888, 15, 12, 5774, 67, 19, 12, 22, 65, 1433, 66, 1878, 20, 67, 405, 65, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 34, 18131, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 23252, 11250, 62, 73, 297, 1600, 366, 11146, 6030, 17, 62, 73, 297, 1600, 366, 38, 8019, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 43, 57, 46, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 47, 844, 805, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 13287, 62, 73, 297, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 8019, 11134, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 17572, 17, 65, 2816, 67, 23, 23237, 1983, 10210, 27203, 64, 24, 64, 19, 69, 18, 487, 65, 24909, 20963, 1795, 69, 2079, 1, 198, 12303, 312, 796, 366, 23, 2682, 1954, 67, 5332, 12, 65, 15, 1453, 12, 3365, 1507, 12, 12865, 22, 12, 65, 5066, 535, 1350, 65, 46660, 64, 1, 198, 9641, 796, 366, 16, 13, 1433, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 34, 2397, 12409, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 6601, 17614, 1600, 366, 29783, 1600, 366, 17140, 654, 1600, 366, 18557, 69, 1600, 366, 39618, 1600, 366, 48346, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 15630, 20, 66, 44103, 64, 22544, 397, 67, 1453, 65, 1120, 324, 15, 68, 4051, 67, 5332, 67, 830, 64, 16, 6888, 28933, 1, 198, 12303, 312, 796, 366, 33916, 67, 4304, 2079, 12, 3553, 1157, 12, 20, 68, 3609, 12, 24, 68, 17, 69, 12, 16, 67, 6469, 7012, 64, 21, 65, 43239, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 35491, 37766, 11907, 198, 10378, 82, 796, 14631, 35491, 37766, 14055, 1600, 366, 40073, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 3041, 39344, 1600, 366, 39618, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 44361, 9945, 27696, 67, 23, 1558, 2934, 42199, 3104, 64, 18, 19881, 16315, 1558, 1120, 1795, 397, 2931, 18, 65, 1954, 1, 198, 12303, 312, 796, 366, 2919, 1731, 2857, 67, 19, 12, 40486, 66, 12, 20, 67, 1983, 12, 6052, 69, 19, 12, 1415, 16072, 1129, 68, 24, 31047, 17, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 2154, 1, 198, 198, 30109, 10378, 82, 13, 35491, 37766, 14055, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 65, 2078, 69, 3459, 344, 12993, 20, 67, 24, 64, 2998, 66, 5332, 65, 24, 344, 20, 22567, 64, 35195, 721, 2001, 2682, 64, 1, 198, 12303, 312, 796, 366, 67, 15277, 67, 17, 68, 21, 12, 65, 1731, 66, 12, 1157, 68, 24, 12, 64, 17, 64, 18, 12, 17, 64, 17, 3609, 17, 9945, 66, 344, 19, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 2231, 1, 198, 198, 30109, 10378, 82, 13, 2601, 436, 1586, 11907, 198, 10378, 82, 796, 14631, 20344, 1817, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 8199, 12423, 46445, 32289, 1600, 366, 18557, 69, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2425, 31714, 65, 22, 7568, 19, 21940, 25674, 67, 2425, 27696, 67, 1415, 65, 3365, 25707, 37381, 1350, 65, 17, 330, 1, 198, 12303, 312, 796, 366, 24794, 1959, 64, 23, 12, 2327, 1878, 12, 33042, 66, 12, 23, 15630, 18, 12, 65, 39380, 64, 1558, 64, 15, 5036, 20, 1, 198, 9641, 796, 366, 15, 13, 1415, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 43806, 721, 57, 8019, 11907, 198, 10378, 82, 796, 14631, 8291, 66, 7656, 12124, 82, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 9395, 3865, 23734, 19, 67, 30484, 28485, 24, 64, 18, 69, 4089, 4089, 16, 67, 2079, 65, 2091, 68, 18, 9945, 22, 65, 21, 6814, 1, 198, 12303, 312, 796, 366, 24, 2598, 65, 16, 67, 2791, 12, 41172, 66, 12, 20, 1878, 67, 12, 6420, 69, 16, 12, 24, 2934, 1238, 69, 44994, 24943, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 10258, 27054, 6880, 11907, 198, 10378, 82, 796, 14631, 10258, 31431, 1600, 366, 5216, 669, 1600, 366, 13715, 12727, 49601, 1600, 366, 29531, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 23, 4349, 69, 721, 3980, 21101, 4790, 12993, 7568, 19, 32128, 1959, 2079, 721, 4761, 14822, 20, 65, 23, 3104, 6469, 64, 1, 198, 12303, 312, 796, 366, 2327, 67, 21, 64, 40022, 12, 64, 32118, 12, 49934, 68, 12, 64, 21, 18213, 12, 16, 67, 5237, 65, 16315, 69, 17, 69, 19, 1, 198, 9641, 796, 366, 18, 13, 1314, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 10258, 31431, 11907, 198, 10378, 82, 796, 14631, 13715, 12727, 49601, 1600, 366, 29531, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 40839, 5036, 1731, 67, 5999, 68, 19, 64, 20, 19881, 20, 16072, 28256, 486, 64, 33638, 344, 15, 67, 16, 7252, 2327, 43239, 1, 198, 12303, 312, 796, 366, 18, 6814, 21601, 69, 22, 12, 3270, 5705, 12, 20, 64, 1899, 12, 65, 23, 64, 21, 12, 66, 11848, 2791, 66, 15, 65, 20370, 69, 1, 198, 9641, 796, 366, 15, 13, 1157, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 5216, 669, 11907, 198, 10378, 82, 796, 14631, 10258, 31431, 1600, 366, 13715, 12727, 49601, 1600, 366, 3041, 39344, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 38547, 65, 15, 276, 22, 65, 23, 65, 23, 2548, 7252, 21, 6888, 15, 64, 5774, 64, 324, 69, 16, 11848, 24, 1765, 16243, 344, 1821, 1, 198, 12303, 312, 796, 366, 20, 3609, 3270, 2931, 20, 12, 24, 64, 24, 65, 12, 3270, 5036, 12, 64, 24669, 12, 21, 69, 24, 1485, 66, 20356, 48630, 1, 198, 9641, 796, 366, 15, 13, 1065, 13, 23, 1, 198, 198, 30109, 10378, 82, 13, 20575, 20900, 873, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2919, 66, 23, 65, 3104, 3132, 17896, 405, 65, 5036, 64, 23, 25600, 2075, 1350, 15, 15630, 23, 29211, 16072, 2623, 4089, 1899, 1, 198, 12303, 312, 796, 366, 4521, 16, 64, 23, 23055, 12, 2718, 486, 12, 20, 65, 15, 66, 12, 24, 64, 1433, 12, 1314, 67, 4089, 69, 10210, 66, 21, 7252, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 17227, 50, 6442, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3104, 64, 2998, 3559, 69, 38907, 27371, 4763, 23, 15630, 35549, 64, 20, 66, 17457, 20, 64, 17, 891, 21, 276, 21, 67, 16, 69, 1, 198, 12303, 312, 796, 366, 27203, 1821, 69, 940, 12, 65, 17, 69, 22, 12, 1157, 68, 24, 12, 2327, 67, 23, 12, 67, 48638, 68, 19, 1765, 15, 487, 17, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 17227, 7004, 42712, 507, 11907, 198, 10378, 82, 796, 14631, 14155, 305, 33637, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 65, 23, 64, 6052, 67, 7012, 23, 1878, 22, 68, 18, 65, 3682, 69, 721, 397, 69, 27720, 2075, 486, 2713, 330, 34770, 69, 22, 1, 198, 12303, 312, 796, 366, 11848, 69, 22, 67, 37466, 12, 64, 37804, 12, 20, 276, 22, 12, 64, 4309, 66, 12, 6659, 68, 1270, 3865, 37967, 1120, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 40073, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 35, 689, 1600, 366, 13856, 320, 863, 25876, 1600, 366, 20344, 6169, 1600, 366, 9492, 5275, 18274, 4487, 1600, 366, 25835, 38, 270, 17, 1600, 366, 25835, 25404, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 9704, 2902, 1600, 366, 44, 8899, 1600, 366, 47, 10025, 1600, 366, 18557, 69, 1600, 366, 2200, 6489, 1600, 366, 29531, 1600, 366, 37596, 1600, 366, 32634, 1634, 1600, 366, 2484, 1144, 3163, 20477, 1600, 366, 50, 11603, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 14402, 1600, 366, 52, 27586, 82, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3132, 67, 486, 4349, 69, 3553, 1433, 65, 35916, 46636, 67, 24, 67, 2425, 65, 22, 13331, 4524, 535, 19, 68, 22, 2598, 7568, 17, 1, 198, 12303, 312, 796, 366, 2682, 6814, 17, 21652, 12, 65, 1959, 65, 12, 20, 66, 1485, 12, 65, 15, 66, 22, 12, 330, 69, 1558, 1495, 1485, 67, 1238, 1, 198, 9641, 796, 366, 18, 13, 2670, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 68, 2791, 68, 405, 3695, 12, 22, 25150, 12, 4051, 1120, 12, 5892, 69, 22, 12, 1314, 69, 17457, 24, 3553, 69, 17, 3609, 1, 198, 198, 30109, 10378, 82, 13, 5377, 1930, 1756, 14881, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2231, 4051, 1129, 69, 22, 68, 34256, 64, 16, 64, 1731, 6052, 66, 39305, 2414, 2078, 67, 3720, 68, 3865, 1485, 38073, 3388, 1, 198, 12303, 312, 796, 366, 64, 2091, 1878, 6420, 66, 12, 69, 2999, 67, 12, 34137, 65, 12, 1350, 2998, 12, 3132, 67, 25870, 66, 20, 6888, 17, 65, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 47581, 32577, 35479, 11907, 198, 10378, 82, 796, 14631, 11187, 2667, 1600, 366, 32577, 44, 2357, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 397, 22, 65, 26427, 3134, 23815, 3829, 65, 24, 1878, 3829, 2548, 3270, 1878, 12993, 33032, 13331, 1270, 3270, 68, 23, 1, 198, 12303, 312, 796, 366, 3459, 10210, 1507, 68, 23, 12, 67, 24, 535, 12, 19, 18213, 21, 12, 3459, 4531, 12, 20, 25191, 66, 15, 67, 1314, 66, 23, 65, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 36687, 14881, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 4524, 68, 24, 67, 20, 30460, 65, 4521, 1238, 65, 19, 344, 68, 2327, 67, 19, 66, 20, 64, 47448, 1860, 19, 17896, 20, 2857, 69, 19, 1, 198, 12303, 312, 796, 366, 23451, 65, 2713, 3365, 12, 1983, 3459, 12, 2920, 67, 18, 12, 11231, 15, 12, 4524, 64, 1558, 276, 19, 68, 22, 66, 24, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 4264, 454, 11907, 198, 10378, 82, 796, 14631, 45442, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 69, 33618, 2231, 67, 24, 2682, 17896, 39101, 276, 324, 33459, 2598, 18213, 1795, 9945, 67, 16, 69, 15, 68, 1350, 64, 22, 1, 198, 12303, 312, 796, 366, 67, 2548, 66, 11785, 64, 12, 3134, 4869, 12, 4310, 66, 21, 12, 65, 2079, 68, 12, 2425, 67, 17279, 65, 21, 68, 2079, 16, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 34, 2433, 684, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 69, 49517, 1558, 65, 49561, 67, 22, 7252, 1453, 15, 65, 3388, 397, 2857, 67, 24, 65, 3324, 1731, 6888, 23, 28485, 15, 67, 1, 198, 12303, 312, 796, 366, 64, 23, 535, 20, 65, 15, 68, 12, 15, 487, 64, 12, 20, 324, 19, 12, 23, 66, 1415, 12, 24, 1954, 67, 18, 1453, 1558, 2327, 69, 1, 198, 9641, 796, 366, 19, 13, 15, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 6601, 17614, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 535, 2154, 65, 1558, 23195, 43193, 1765, 2857, 15630, 24, 68, 20, 69, 23, 1433, 2327, 4089, 16, 69, 1485, 344, 64, 20, 66, 23, 1, 198, 12303, 312, 796, 366, 24, 64, 4846, 17, 69, 24, 66, 12, 21, 7568, 15, 12, 1157, 68, 24, 12, 15, 68, 20, 67, 12, 66, 49489, 65, 23, 65, 20, 1453, 23, 64, 1, 198, 9641, 796, 366, 16, 13, 24, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 6601, 35439, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 6601, 17614, 1600, 366, 29783, 1600, 366, 818, 13658, 5497, 1063, 1600, 366, 37787, 39317, 11627, 5736, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 9704, 2902, 1600, 366, 17140, 654, 1600, 366, 27201, 276, 3163, 20477, 1600, 366, 35700, 51, 2977, 1600, 366, 18557, 69, 1600, 366, 2200, 6489, 1600, 366, 3041, 39344, 1600, 366, 50, 24707, 2348, 7727, 907, 1600, 366, 48346, 1600, 366, 10962, 15721, 896, 1600, 366, 51, 2977, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 41172, 69, 40090, 2231, 65, 5066, 16072, 4521, 6888, 64, 2919, 11848, 24, 64, 24, 2327, 3064, 23, 1350, 24, 65, 29143, 1, 198, 12303, 312, 796, 366, 64, 6052, 66, 21, 69, 405, 12, 68, 3553, 67, 12, 20, 41580, 12, 65, 22, 65, 21, 12, 67, 23, 24943, 69, 18, 68, 3510, 66, 15, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 6601, 44909, 942, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 9492, 5275, 18274, 4487, 1600, 366, 35422, 1068, 5216, 26448, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 67, 24, 67, 33400, 69, 3023, 22291, 69, 22, 891, 9945, 65, 21, 31952, 67, 45326, 27260, 68, 26912, 14822, 2999, 1, 198, 12303, 312, 796, 366, 39570, 276, 65, 18, 65, 12, 2079, 535, 12, 20, 68, 2425, 12, 23, 67, 17, 67, 12, 23, 1959, 21101, 15, 64, 24, 66, 5036, 23, 1, 198, 9641, 796, 366, 15, 13, 1507, 13, 940, 1, 198, 198, 30109, 10378, 82, 13, 6601, 11395, 9492, 32186, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 16072, 1157, 5774, 65, 3720, 2078, 4846, 2718, 13331, 15, 891, 21, 67, 2598, 2623, 1765, 67, 5036, 3388, 2713, 66, 17457, 21, 1, 198, 12303, 312, 796, 366, 68, 17, 67, 17279, 64, 15, 12, 24, 67, 2078, 12, 4051, 1350, 12, 1795, 69, 15, 12, 15801, 65, 1350, 1238, 64, 44578, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 6601, 40161, 11907, 198, 10378, 82, 796, 14631, 6601, 11395, 9492, 32186, 1600, 366, 35, 689, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 3459, 64, 1129, 22579, 1765, 64, 21033, 64, 21, 67, 3312, 17, 68, 17059, 64, 3559, 69, 11245, 1954, 3609, 2154, 19881, 1, 198, 12303, 312, 796, 366, 68, 22, 17896, 21, 67, 15, 67, 12, 16, 31047, 12, 20, 13331, 21, 12, 23, 324, 21, 12, 20, 64, 721, 2934, 23, 65, 22, 18213, 20, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 1485, 1, 198, 198, 30109, 10378, 82, 13, 35, 689, 11907, 198, 10378, 82, 796, 14631, 18557, 69, 8973, 198, 12303, 312, 796, 366, 671, 17, 6888, 2154, 12, 2548, 6420, 12, 3270, 2231, 12, 4089, 21855, 12, 17896, 15, 42691, 2624, 68, 3312, 64, 1, 198, 198, 30109, 10378, 82, 13, 7469, 500, 29974, 1616, 684, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3324, 65, 19, 6888, 2078, 25257, 2598, 1954, 65, 48524, 39380, 5036, 36676, 68, 20, 487, 3459, 1129, 30995, 66, 20, 1, 198, 12303, 312, 796, 366, 25707, 68, 17, 64, 24, 69, 12, 68, 35175, 12, 2920, 4521, 12, 64, 22172, 12, 19, 67, 16, 5036, 43489, 10210, 4309, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 13856, 320, 863, 25876, 11907, 198, 10378, 82, 796, 14631, 44, 8899, 8973, 198, 12303, 312, 796, 366, 23, 11848, 1415, 1821, 69, 12, 2857, 2327, 12, 41734, 65, 12, 64, 19, 397, 12, 29416, 65, 4089, 7568, 19, 67, 397, 1, 198, 198, 30109, 10378, 82, 13, 28813, 25468, 11907, 198, 10378, 82, 796, 14631, 45442, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 1507, 68, 4089, 66, 7012, 28011, 66, 21, 66, 1495, 67, 16, 66, 18, 65, 47202, 68, 19, 65, 2091, 1795, 6888, 50148, 28256, 1, 198, 12303, 312, 796, 366, 24136, 7012, 4310, 65, 12, 66, 21, 67, 23, 12, 20, 39449, 12, 65, 15, 2414, 12, 16, 64, 24, 67, 3559, 330, 1821, 66, 20, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 28813, 37766, 11907, 198, 10378, 82, 796, 14631, 26705, 32755, 776, 1600, 366, 29531, 1600, 366, 13409, 24629, 2733, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4761, 1238, 15630, 2481, 66, 2091, 68, 34155, 66, 1415, 69, 19, 64, 24, 64, 35175, 65, 16, 67, 27877, 1765, 66, 20, 65, 26276, 1, 198, 12303, 312, 796, 366, 65, 40427, 66, 3695, 69, 12, 23, 7568, 18, 12, 4309, 66, 21, 12, 40248, 64, 12, 23, 68, 2931, 22, 31911, 65, 1415, 65, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 20344, 1817, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 48346, 1600, 366, 29668, 17614, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 69, 3510, 11275, 19, 67, 19, 1453, 2598, 5824, 487, 65, 20, 64, 1821, 64, 1983, 64, 17, 2286, 3134, 65, 1860, 23, 2548, 1, 198, 12303, 312, 796, 366, 65, 19, 69, 2682, 68, 6469, 12, 68, 3695, 67, 12, 4051, 64, 20, 12, 38956, 64, 12, 69, 4089, 68, 4531, 67, 21, 68, 23, 69, 22, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 20344, 6169, 11907, 198, 10378, 82, 796, 14631, 29531, 1600, 366, 32634, 1634, 1600, 366, 50, 11603, 8973, 198, 12303, 312, 796, 366, 23, 7012, 4531, 68, 1238, 12, 26279, 66, 12, 20, 65, 21, 69, 12, 24, 27277, 12, 24, 2857, 22544, 1238, 1453, 16, 65, 1, 198, 198, 30109, 10378, 82, 13, 20344, 2455, 507, 11907, 198, 10378, 82, 796, 14631, 33762, 3163, 20477, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 5760, 44, 1381, 1600, 366, 18557, 69, 1600, 366, 4507, 324, 38, 42, 1600, 366, 29531, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 13409, 24629, 2733, 1600, 366, 48346, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 23, 2718, 69, 7568, 1795, 69, 2091, 2682, 1314, 65, 3388, 41580, 7012, 23, 68, 23, 3609, 21, 7012, 4304, 2934, 21, 46071, 1, 198, 12303, 312, 796, 366, 3132, 66, 1731, 68, 940, 12, 64, 27057, 12, 20, 37804, 12, 65, 23, 1765, 12, 3720, 3388, 330, 67, 15, 36243, 69, 1, 198, 9641, 796, 366, 15, 13, 1731, 13, 1507, 1, 198, 198, 30109, 10378, 82, 13, 20344, 2455, 507, 2885, 11907, 198, 10378, 82, 796, 14631, 48003, 1600, 366, 35491, 37766, 1600, 366, 35491, 37766, 14055, 1600, 366, 40073, 1600, 366, 28813, 37766, 1600, 366, 20344, 2455, 507, 1600, 366, 33762, 3163, 20477, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 26705, 32755, 776, 1600, 366, 5760, 44, 1381, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 13409, 24629, 2733, 1600, 366, 45442, 3163, 20477, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 1600, 366, 57, 35641, 1258, 37766, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 46871, 69, 37688, 9423, 64, 35916, 65, 2078, 721, 16, 65, 22370, 9945, 65, 24, 69, 20, 64, 21, 68, 20, 68, 24309, 69, 1, 198, 12303, 312, 796, 366, 771, 19, 68, 4524, 67, 12, 64, 35175, 12, 20, 64, 23, 64, 12, 65, 15, 330, 12, 5705, 1878, 24403, 2078, 2670, 66, 1, 198, 9641, 796, 366, 15, 13, 21, 13, 1959, 1, 198, 198, 30109, 10378, 82, 13, 23579, 10100, 11627, 5736, 11907, 198, 10378, 82, 796, 14631, 25835, 38, 270, 17, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 2624, 21652, 69, 4051, 2078, 67, 2670, 4521, 69, 2857, 66, 17, 397, 3695, 65, 16, 69, 20666, 67, 20, 68, 21, 535, 4846, 69, 1, 198, 12303, 312, 796, 366, 487, 3077, 21526, 12, 19, 891, 22, 12, 20, 3682, 67, 12, 11848, 65, 22, 12, 66, 2931, 67, 18, 64, 3720, 16072, 3609, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 10002, 82, 11907, 198, 10378, 82, 796, 14631, 28100, 33637, 1600, 366, 25835, 34, 21886, 1600, 366, 26245, 29046, 8973, 198, 12303, 312, 796, 366, 69, 3559, 64, 28872, 69, 12, 66, 1238, 64, 12, 19, 324, 19, 12, 23, 4309, 66, 12, 69, 21, 65, 1065, 2857, 4521, 16, 66, 21, 1, 198, 198, 30109, 10378, 82, 13, 44090, 47, 6489, 11907, 198, 10378, 82, 796, 14631, 23839, 9655, 9655, 1600, 366, 23839, 47, 6489, 1600, 366, 23286, 752, 669, 1600, 366, 35491, 37766, 14055, 1600, 366, 20344, 2455, 507, 1600, 366, 14155, 305, 33637, 1600, 366, 35364, 42758, 1600, 366, 29531, 1600, 366, 57, 35641, 1258, 37766, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 34159, 2075, 47521, 16072, 22413, 3682, 68, 344, 5332, 330, 5066, 68, 23, 27412, 65, 44427, 66, 487, 64, 2598, 1, 198, 12303, 312, 796, 366, 32459, 65, 16344, 405, 12, 2075, 2079, 12, 1157, 18213, 12, 2713, 23, 69, 12, 69, 18294, 65, 19, 66, 3609, 21, 67, 23, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 1238, 1, 198, 198, 30109, 10378, 82, 13, 8419, 26254, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 69, 18, 64, 1495, 486, 13331, 22, 24940, 68, 24, 65, 35549, 68, 15, 69, 22, 64, 39118, 66, 37680, 68, 23, 1828, 11848, 21, 67, 1, 198, 12303, 312, 796, 366, 20, 3609, 44103, 9945, 12, 11848, 67, 16, 12, 20, 68, 5066, 12, 65, 3553, 67, 12, 67, 1731, 64, 5333, 7568, 405, 69, 20, 1, 198, 9641, 796, 366, 17, 13, 17, 13, 18, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 30639, 2419, 271, 3673, 341, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1507, 1453, 15, 2920, 330, 344, 66, 23, 49641, 1350, 1558, 64, 24, 31496, 2718, 66, 16, 1860, 15, 69, 7568, 23, 45758, 64, 1, 198, 12303, 312, 796, 366, 6814, 20, 66, 1959, 67, 15, 12, 13331, 22, 67, 12, 44169, 68, 12, 3459, 1765, 12, 18213, 1959, 65, 15, 64, 23, 1129, 2920, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 30639, 10257, 605, 11122, 501, 16305, 11347, 11907, 198, 10378, 82, 796, 14631, 23839, 9655, 9655, 1600, 366, 19182, 39317, 1600, 366, 20344, 2455, 507, 1600, 366, 29531, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2598, 4869, 67, 2623, 64, 2425, 68, 24, 14656, 69, 1795, 32583, 18742, 7568, 2091, 68, 1433, 486, 65, 1157, 66, 1485, 66, 1, 198, 12303, 312, 796, 366, 66, 324, 1954, 2548, 64, 12, 16, 9945, 17, 12, 1157, 68, 24, 12, 2682, 486, 12, 3559, 15630, 2998, 66, 24, 18654, 17, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 3109, 8071, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 18, 65, 16344, 2999, 68, 4089, 8432, 13331, 20, 12993, 44230, 36879, 43134, 66, 2816, 4089, 66, 14877, 10210, 17, 69, 1, 198, 12303, 312, 796, 366, 17, 68, 21, 22186, 1314, 12, 5999, 65, 20, 12, 49542, 65, 12, 11848, 1899, 12, 2075, 66, 2999, 64, 2327, 64, 1264, 1, 198, 9641, 796, 366, 17, 13, 17, 13, 940, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 3109, 1050, 33637, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 22, 68, 18, 67, 24096, 2623, 65, 28978, 69, 22544, 69, 11442, 7029, 1495, 3609, 23, 66, 21, 69, 49259, 5036, 5892, 1, 198, 12303, 312, 796, 366, 68, 17, 7012, 21, 19104, 12, 24591, 64, 12, 19, 68, 3134, 12, 64, 5774, 64, 12, 22, 66, 4309, 69, 1314, 671, 3023, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 5777, 7378, 7156, 11907, 198, 10378, 82, 796, 14631, 5777, 7378, 7156, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 3553, 68, 18, 330, 1350, 1828, 69, 23, 34137, 65, 19, 65, 20, 487, 2791, 64, 4524, 39647, 1558, 5036, 16, 64, 24, 535, 23, 1, 198, 12303, 312, 796, 366, 66, 23, 4761, 1270, 67, 15, 12, 64, 24403, 12, 1157, 68, 24, 12, 16, 65, 3559, 12, 67, 22, 68, 1350, 19, 68, 2425, 2154, 64, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 5777, 7378, 7156, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 11146, 6030, 17, 62, 73, 297, 1600, 366, 30214, 33, 19830, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 43, 10067, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 46, 1130, 62, 73, 297, 1600, 366, 11505, 31127, 62, 73, 297, 1600, 366, 18257, 385, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 8019, 562, 62, 73, 297, 1600, 366, 8019, 16344, 74, 62, 64, 330, 62, 73, 297, 1600, 366, 8019, 20867, 41907, 62, 73, 297, 1600, 366, 87, 18897, 62, 73, 297, 1600, 366, 87, 22980, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 23, 64, 38907, 46589, 68, 1270, 3324, 330, 34808, 65, 1120, 66, 2999, 1558, 7568, 67, 3134, 69, 2481, 67, 16, 68, 20, 69, 1, 198, 12303, 312, 796, 366, 65, 1828, 64, 21, 69, 6469, 12, 17, 69, 2996, 12, 1120, 3510, 12, 64, 20, 65, 17, 12, 35273, 397, 3559, 21855, 19, 68, 20, 1, 198, 9641, 796, 366, 19, 13, 19, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 5777, 34551, 11907, 198, 10378, 82, 796, 14631, 23839, 5777, 33758, 1600, 366, 5777, 34551, 62, 73, 297, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 33907, 43, 62, 73, 297, 1600, 366, 36698, 4972, 1600, 366, 3041, 39344, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 38380, 21101, 27326, 13331, 1828, 66, 19, 1765, 330, 16344, 16, 69, 15498, 20, 69, 2934, 1415, 276, 65, 1795, 67, 4846, 66, 1, 198, 12303, 312, 796, 366, 22, 64, 16, 535, 21, 6888, 12, 4309, 891, 12, 3270, 69, 20, 12, 5999, 10210, 12, 18, 64, 2154, 2816, 66, 2931, 33660, 1, 198, 9641, 796, 366, 16, 13, 19, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 5777, 34551, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 1899, 2091, 535, 2548, 5892, 67, 15, 891, 20, 11848, 24, 10210, 1959, 65, 22, 69, 17, 69, 15, 31697, 18213, 20, 22883, 18213, 1, 198, 12303, 312, 796, 366, 69, 38905, 1415, 2623, 12, 15, 67, 22, 64, 12, 20, 69, 1485, 12, 65, 24, 2934, 12, 69, 44698, 2919, 16344, 27192, 64, 1, 198, 9641, 796, 366, 18, 13, 18, 13, 940, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 22968, 2601, 16091, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 558, 1350, 25707, 67, 4310, 1453, 16, 65, 3510, 30986, 69, 4531, 940, 66, 22370, 65, 25191, 68, 43571, 891, 1, 198, 12303, 312, 796, 366, 24, 7252, 16, 65, 23, 1954, 12, 2920, 68, 19, 12, 20, 6888, 20, 12, 23, 65, 15, 69, 12, 2670, 4869, 721, 23, 65, 397, 21, 64, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 8979, 9399, 11907, 198, 10378, 82, 796, 14631, 47, 10025, 1600, 366, 39618, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 66, 50049, 67, 17, 330, 15, 64, 4309, 64, 1065, 64, 1983, 1878, 1983, 6469, 65, 2682, 12865, 67, 24, 66, 18, 1453, 3104, 66, 1, 198, 12303, 312, 796, 366, 3553, 4531, 68, 17, 68, 24, 12, 67, 22, 21855, 12, 20, 15630, 22, 12, 1795, 3104, 12, 17, 66, 21, 69, 3609, 24, 65, 3865, 2920, 1, 198, 9641, 796, 366, 16, 13, 1157, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 33762, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3388, 36453, 486, 2231, 27824, 68, 30610, 20, 67, 23, 31916, 64, 1453, 2091, 67, 24, 19881, 65, 5332, 9945, 23, 65, 3132, 1, 198, 12303, 312, 796, 366, 16, 64, 26561, 69, 1899, 12, 3388, 6888, 12, 20, 21734, 12, 15630, 2934, 12, 65, 5333, 68, 28857, 65, 44966, 65, 1, 198, 9641, 796, 366, 15, 13, 1157, 13, 24, 1, 198, 198, 30109, 10378, 82, 13, 37, 9504, 28813, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 39618, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 45442, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 65, 18, 66, 2931, 65, 3980, 330, 1878, 18, 66, 15, 68, 48630, 66, 27310, 2548, 65, 5332, 66, 4521, 1120, 1453, 24, 67, 6888, 1, 198, 12303, 312, 796, 366, 21, 64, 4521, 17896, 1731, 12, 21, 28978, 12, 42875, 66, 12, 65, 24, 3070, 12, 3865, 21273, 5036, 17, 17457, 3901, 1, 198, 9641, 796, 366, 17, 13, 23, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 13715, 12727, 49601, 11907, 198, 10378, 82, 796, 14631, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 27326, 65, 16344, 344, 4134, 5705, 66, 20, 66, 7568, 1433, 64, 324, 66, 30610, 7252, 20, 1860, 16072, 20, 34741, 535, 1, 198, 12303, 312, 796, 366, 4310, 66, 2780, 66, 1558, 12, 19, 64, 22, 67, 12, 20, 6888, 17, 12, 3829, 66, 20, 12, 3720, 65, 3695, 4846, 1453, 64, 6052, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 23252, 11250, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 3109, 8071, 62, 73, 297, 1600, 366, 11146, 6030, 17, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 12303, 312, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2481, 891, 67, 1129, 15801, 64, 37864, 1238, 64, 1507, 4521, 1314, 6814, 21, 67, 18, 67, 3312, 10210, 22, 69, 21, 1453, 3070, 1, 198, 12303, 312, 796, 366, 64, 18, 69, 24, 2078, 3609, 12, 22, 65, 1821, 12, 1120, 2414, 12, 40022, 65, 12, 3104, 1878, 2670, 2857, 67, 2682, 65, 1, 198, 9641, 796, 366, 17, 13, 1485, 13, 6052, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 26227, 889, 11907, 198, 10378, 82, 796, 14631, 18557, 69, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 29626, 67, 39132, 3559, 23815, 69, 1860, 18, 1765, 38431, 67, 4521, 66, 24, 2075, 21101, 32568, 3609, 4761, 64, 23, 1, 198, 12303, 312, 796, 366, 3270, 2078, 3324, 4761, 12, 15, 64, 1238, 12, 20, 64, 2670, 12, 65, 6659, 65, 12, 1485, 2791, 38905, 1765, 19, 66, 15, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 39746, 28813, 11907, 198, 10378, 82, 796, 14631, 17227, 7004, 42712, 507, 1600, 366, 28813, 25468, 1600, 366, 28813, 37766, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 26705, 32755, 776, 1600, 366, 36698, 4972, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 13409, 24629, 2733, 1600, 366, 45442, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 21, 2718, 40393, 1433, 891, 15630, 65, 15, 397, 21, 25399, 67, 2931, 64, 38431, 21855, 22, 69, 1983, 5999, 2934, 32642, 1, 198, 12303, 312, 796, 366, 69, 21, 30803, 69, 1157, 12, 3324, 2091, 12, 3365, 1959, 12, 4846, 1731, 12, 1495, 5066, 7252, 2154, 4761, 940, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 2481, 1, 198, 198, 30109, 10378, 82, 13, 11146, 6030, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5774, 1765, 50055, 4051, 67, 23, 721, 16, 64, 4846, 67, 19, 64, 4304, 2623, 17457, 3553, 64, 22, 30995, 1860, 68, 18, 891, 24, 1, 198, 12303, 312, 796, 366, 67, 22, 68, 49351, 69, 15, 12, 64, 21, 3132, 12, 3270, 3459, 12, 19881, 2682, 12, 5036, 26780, 5892, 65, 12993, 67, 22, 1, 198, 9641, 796, 366, 17, 13, 940, 13, 19, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 30214, 33, 19830, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 7252, 18, 27301, 66, 17, 7012, 23, 32869, 68, 1954, 66, 21, 66, 23, 7012, 23, 64, 19, 69, 22, 3388, 67, 20, 67, 22, 68, 19, 69, 6420, 1, 198, 12303, 312, 796, 366, 2816, 6052, 2078, 1765, 12, 6659, 69, 24, 12, 38605, 67, 12, 6052, 1795, 12, 2934, 49803, 64, 3459, 66, 5999, 66, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 940, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 24629, 5217, 11907, 198, 10378, 82, 796, 14631, 14155, 305, 33637, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 1821, 324, 66, 2414, 1828, 69, 49934, 24096, 11848, 19, 35273, 1765, 67, 1959, 68, 19, 397, 69, 3324, 1270, 1821, 64, 1, 198, 12303, 312, 796, 366, 67, 24, 69, 1433, 65, 1731, 12, 69, 33548, 12, 19, 66, 1485, 12, 64, 16, 69, 17, 12, 2078, 27412, 487, 66, 20, 25272, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 29783, 11907, 198, 10378, 82, 796, 14631, 29531, 8973, 198, 12303, 312, 796, 366, 24, 13331, 23, 38073, 65, 12, 20370, 65, 12, 20, 35667, 12, 24, 68, 23, 67, 12, 19, 67, 15, 37466, 68, 23, 3695, 1238, 1, 198, 198, 30109, 10378, 82, 13, 8763, 24160, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 4743, 85, 358, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 66, 21471, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 42528, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 7274, 1689, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 25192, 81, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 7012, 16, 68, 4521, 1415, 68, 42520, 2920, 397, 13331, 1899, 22148, 65, 1485, 2996, 2548, 1485, 67, 23, 69, 486, 3553, 1, 198, 12303, 312, 796, 366, 15, 37466, 65, 5333, 68, 12, 1238, 2091, 12, 20, 535, 17, 12, 64, 2414, 64, 12, 3324, 66, 15, 69, 21, 66, 2931, 65, 4531, 1, 198, 9641, 796, 366, 18, 13, 18, 13, 20, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 10761, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 13856, 320, 863, 25876, 1600, 366, 10761, 62, 73, 297, 1600, 366, 40717, 1600, 366, 40386, 1600, 366, 25835, 25404, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 47, 10025, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 32634, 1634, 1600, 366, 50, 11603, 1600, 366, 14402, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 23362, 66, 21, 67, 15724, 69, 5066, 16344, 18, 66, 24, 1558, 2780, 66, 29334, 65, 2931, 69, 2075, 2934, 15, 891, 7252, 1, 198, 12303, 312, 796, 366, 2078, 65, 23, 67, 18, 6888, 12, 21855, 20, 69, 12, 3270, 67, 24, 12, 1795, 3829, 12, 19881, 9945, 67, 21, 67, 2998, 64, 4869, 1, 198, 9641, 796, 366, 15, 13, 5333, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 10761, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 34, 18131, 62, 73, 297, 1600, 366, 5777, 7378, 7156, 62, 73, 297, 1600, 366, 23252, 11250, 62, 73, 297, 1600, 366, 8763, 24160, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 41, 22071, 17483, 2127, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 25835, 83, 733, 62, 73, 297, 1600, 366, 47, 844, 805, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 48, 83, 20, 14881, 62, 73, 297, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 8019, 11134, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 8635, 2919, 23516, 3720, 64, 20, 66, 24, 65, 487, 4521, 24137, 65, 18, 65, 23, 2934, 1959, 18213, 20, 64, 2598, 65, 17, 68, 1, 198, 12303, 312, 796, 366, 67, 17, 66, 4790, 2934, 18, 12, 69, 48365, 12, 20, 29173, 12, 64, 33808, 12, 2998, 16, 68, 20, 65, 18742, 7012, 24, 1, 198, 9641, 796, 366, 15, 13, 5333, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 10082, 15748, 15522, 873, 11907, 198, 10378, 82, 796, 14631, 8419, 26254, 62, 73, 297, 1600, 366, 29993, 33637, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 45442, 3163, 20477, 1600, 366, 44909, 3163, 20477, 1600, 366, 51, 2977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3365, 15630, 7568, 20, 1765, 66, 43526, 65, 2919, 20, 68, 3365, 67, 3865, 66, 1485, 5774, 11645, 2078, 1860, 22, 36625, 66, 1, 198, 12303, 312, 796, 366, 20, 66, 1065, 4309, 64, 17, 12, 20, 69, 2091, 12, 3980, 19881, 12, 4521, 66, 24, 12, 3270, 68, 22, 32148, 65, 3559, 2075, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 3855, 5239, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 4749, 85, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 5805, 17, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 65, 48891, 4089, 15498, 22, 19881, 2998, 19, 67, 1415, 2934, 4531, 69, 24, 67, 2718, 6888, 1731, 64, 16, 64, 15, 65, 45438, 1, 198, 12303, 312, 796, 366, 3695, 65, 2816, 35378, 12, 3609, 891, 12, 3365, 67, 19, 12, 4521, 16, 66, 12, 3324, 64, 2001, 2682, 4089, 65, 16, 1, 198, 9641, 796, 366, 15, 13, 2481, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 38, 8019, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 3855, 5239, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 487, 72, 62, 73, 297, 1600, 366, 25835, 4749, 85, 62, 73, 297, 1600, 366, 25835, 14948, 62, 73, 297, 1600, 366, 5662, 2200, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 19881, 3134, 68, 24, 64, 2780, 1558, 1065, 65, 18, 67, 1350, 24, 21101, 18, 67, 330, 23, 4309, 17896, 19, 65, 1157, 5237, 68, 2999, 1, 198, 12303, 312, 796, 366, 3324, 3510, 65, 1860, 68, 12, 25764, 67, 12, 3270, 17896, 12, 24, 3609, 23, 12, 3459, 68, 344, 24, 4790, 22042, 67, 1, 198, 9641, 796, 366, 17, 13, 3104, 13, 18, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 37065, 578, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 33535, 19881, 1821, 17896, 397, 940, 4790, 22260, 3023, 7252, 15, 7568, 19, 21855, 2931, 17, 69, 37128, 68, 21844, 16, 1, 198, 12303, 312, 796, 366, 18, 65, 24294, 67, 5332, 12, 1731, 3070, 12, 20, 66, 2481, 12, 24, 66, 2481, 12, 16, 68, 16, 69, 15, 535, 1495, 37856, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 1415, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 38, 2442, 84, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4310, 11848, 44675, 67, 1157, 4349, 68, 3553, 68, 1731, 5705, 66, 18, 67, 16, 65, 4310, 68, 1129, 40427, 65, 46660, 21855, 17, 1, 198, 12303, 312, 796, 366, 3682, 68, 17, 6814, 15, 68, 12, 23, 25870, 12, 19, 68, 4869, 12, 15630, 1731, 12, 3270, 29022, 324, 6888, 15, 5036, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 40717, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 35, 689, 1600, 366, 818, 72, 8979, 1600, 366, 11187, 2667, 1600, 366, 44, 3077, 51, 6561, 1600, 366, 26245, 29046, 1600, 366, 50, 11603, 1600, 366, 4261, 3792, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1415, 1453, 344, 22, 64, 18, 21495, 65, 19, 67, 23, 1350, 43234, 68, 22980, 66, 22, 1731, 64, 21, 7012, 4349, 64, 24, 43240, 1, 198, 12303, 312, 796, 366, 10210, 18, 1765, 27037, 12, 2327, 21855, 12, 1120, 5824, 12, 24, 1959, 65, 12, 40486, 64, 4846, 69, 324, 21, 69, 18, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 1433, 1, 198, 198, 30109, 10378, 82, 13, 13587, 69, 48230, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 34, 18131, 62, 73, 297, 1600, 366, 23252, 11250, 62, 73, 297, 1600, 366, 11146, 6030, 17, 62, 73, 297, 1600, 366, 38, 8019, 62, 73, 297, 1600, 366, 37065, 578, 17, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 487, 72, 62, 73, 297, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 64, 48372, 19082, 23, 330, 2931, 22, 67, 20, 1350, 15, 2920, 2481, 67, 35124, 69, 4524, 1157, 1314, 66, 16, 65, 17, 324, 1, 198, 12303, 312, 796, 366, 17, 68, 4304, 69, 21, 66, 17, 12, 64, 37452, 12, 4309, 67, 19, 12, 3865, 66, 16, 12, 1238, 324, 5036, 19, 2934, 20, 2791, 1, 198, 9641, 796, 366, 17, 13, 23, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 39, 86, 17946, 11907, 198, 10378, 82, 796, 14631, 39, 86, 17946, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 487, 67, 10210, 19, 29807, 64, 22, 535, 26780, 19, 12726, 65, 6888, 3901, 7252, 2998, 6888, 18, 535, 20, 69, 6814, 19, 1, 198, 12303, 312, 796, 366, 15, 68, 2598, 69, 20, 68, 19, 12, 17457, 2791, 12, 4309, 64, 15, 12, 23, 43240, 12, 21139, 64, 44361, 3829, 64, 16, 67, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 39, 86, 17946, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2091, 3865, 67, 19, 67, 19, 64, 1765, 18, 66, 24, 67, 3132, 69, 3270, 1959, 67, 34159, 1899, 67, 23, 7012, 1453, 68, 3459, 64, 1878, 1, 198, 12303, 312, 796, 366, 68, 2091, 64, 3695, 67, 15, 12, 69, 32759, 12, 20, 487, 66, 12, 65, 6200, 12, 4761, 11231, 24, 65, 20, 3559, 66, 23, 1, 198, 9641, 796, 366, 17, 13, 20, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 49926, 313, 8497, 51, 3558, 11907, 198, 10378, 82, 796, 14631, 20575, 20900, 873, 1600, 366, 20344, 2455, 507, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 49, 11018, 1600, 366, 49, 13880, 1600, 366, 48346, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 6469, 64, 15, 66, 22, 68, 37750, 16072, 1433, 1350, 21652, 344, 23, 67, 21, 67, 24, 276, 66, 22, 68, 5237, 67, 20, 35978, 64, 1, 198, 12303, 312, 796, 366, 2931, 69, 5705, 23237, 12, 10210, 2598, 12, 20, 69, 2091, 12, 65, 1954, 69, 12, 68, 21, 65, 15, 67, 20809, 64, 15, 67, 20, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 1532, 40674, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2078, 68, 23, 2718, 487, 18, 68, 22, 64, 21, 66, 18, 66, 9945, 22800, 344, 2920, 21855, 39226, 66, 23, 1765, 18, 66, 3609, 891, 1, 198, 12303, 312, 796, 366, 47007, 69, 23451, 66, 12, 66, 1350, 19, 12, 19, 891, 16, 12, 7012, 18, 65, 12, 17, 69, 12993, 3365, 67, 21, 67, 25399, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 818, 72, 8979, 11907, 198, 10378, 82, 796, 14631, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2931, 23, 68, 19, 67, 17, 66, 20, 29626, 1731, 66, 24, 2481, 69, 24, 69, 4089, 2857, 28857, 69, 17, 324, 4531, 68, 29159, 65, 23, 1, 198, 12303, 312, 796, 366, 5999, 68, 23, 330, 1485, 12, 1495, 69, 23, 12, 4310, 2598, 12, 23, 64, 2414, 12, 64, 24, 69, 17, 65, 1828, 2682, 2078, 69, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 24243, 40161, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 69, 21, 64, 17885, 23, 65, 19, 64, 21, 69, 3510, 9945, 20, 535, 67, 5607, 2079, 64, 18, 16072, 4869, 891, 20, 66, 324, 21, 68, 21, 1, 198, 12303, 312, 796, 366, 1828, 344, 66, 4790, 68, 12, 64, 16, 65, 23, 12, 1157, 68, 24, 12, 17, 66, 5892, 12, 3270, 5774, 1120, 64, 17, 12993, 24, 66, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 1157, 1, 198, 198, 30109, 10378, 82, 13, 818, 5372, 41472, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1120, 65, 3901, 67, 3270, 68, 22, 23237, 397, 21, 69, 6814, 2996, 68, 43147, 2920, 39071, 24, 67, 4531, 2998, 3132, 487, 1, 198, 12303, 312, 796, 366, 31654, 69, 4089, 66, 24, 12, 2919, 20, 68, 12, 20, 65, 17, 66, 12, 23, 68, 4531, 12, 33646, 1350, 22, 19881, 16, 69, 2682, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 24123, 11505, 7378, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 24, 3720, 68, 4051, 65, 4869, 6814, 6469, 69, 18, 64, 2996, 65, 26704, 4310, 6814, 19, 16072, 18, 67, 1507, 66, 12865, 19, 66, 1, 198, 12303, 312, 796, 366, 16, 67, 20, 535, 22, 65, 23, 12, 2920, 2931, 12, 47785, 68, 12, 64, 15, 69, 23, 12, 67, 15, 69, 20, 324, 5607, 1065, 67, 15, 1, 198, 9641, 796, 366, 7908, 13, 15, 13, 18, 10, 17, 1, 198, 198, 30109, 10378, 82, 13, 9492, 5275, 18274, 4487, 11907, 198, 10378, 82, 796, 14631, 9704, 2902, 8973, 198, 12303, 312, 796, 366, 65, 3324, 68, 15, 64, 19, 66, 12, 67, 33551, 12, 3553, 64, 15, 12, 3829, 68, 23, 12, 23, 9945, 1495, 64, 1983, 64, 16102, 1, 198, 198, 30109, 10378, 82, 13, 9492, 16104, 602, 11907, 198, 10378, 82, 796, 14631, 31554, 271, 2348, 7727, 907, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 34519, 3163, 20477, 1600, 366, 29531, 1600, 366, 29665, 4267, 1600, 366, 2484, 1144, 3163, 20477, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 45442, 3163, 20477, 1600, 366, 22911, 10711, 19044, 45977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 16, 68, 15, 68, 47493, 5892, 64, 18, 64, 3324, 69, 16, 1453, 65, 4349, 19881, 22, 3901, 65, 1860, 3023, 2670, 276, 21536, 68, 22, 1, 198, 12303, 312, 796, 366, 64, 4089, 67, 24, 64, 23, 65, 12, 64, 17, 397, 12, 3270, 68, 21, 12, 4531, 1860, 12, 2414, 64, 16, 66, 1507, 69, 6888, 3270, 1, 198, 9641, 796, 366, 15, 13, 1485, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 9492, 2100, 50, 1039, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 30639, 2419, 271, 3673, 341, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 535, 27412, 1878, 18, 69, 11442, 64, 32059, 330, 3695, 2996, 8054, 2231, 67, 771, 7568, 66, 1433, 38569, 1, 198, 12303, 312, 796, 366, 23, 24991, 25674, 66, 12, 30336, 69, 12, 20, 69, 1983, 12, 24, 21315, 12, 68, 15, 68, 32576, 1959, 64, 49649, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 9492, 12786, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 18557, 69, 1600, 366, 6690, 18636, 14881, 1600, 366, 32634, 1634, 1600, 366, 7575, 57, 1952, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 32637, 64, 2548, 276, 1129, 4309, 67, 1270, 29796, 67, 15, 5036, 49841, 1065, 66, 2934, 6052, 2079, 67, 2623, 1507, 65, 1, 198, 12303, 312, 796, 366, 67, 5705, 1507, 3459, 16, 12, 66, 18, 68, 16, 12, 4310, 11848, 12, 5774, 1899, 12, 17, 7568, 22, 721, 23, 2920, 276, 20, 1, 198, 9641, 796, 366, 16, 13, 20, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 818, 13658, 5497, 1063, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20963, 20, 69, 16, 891, 20, 19881, 2996, 7568, 3980, 65, 1860, 17, 68, 1821, 2598, 2425, 3829, 65, 29807, 64, 20, 38339, 69, 1, 198, 12303, 312, 796, 366, 3901, 397, 1314, 5705, 12, 16, 67, 2548, 12, 20, 11848, 69, 12, 24, 15801, 12, 69, 1157, 66, 21, 66, 3365, 65, 2780, 69, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 23820, 20310, 34184, 1187, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 16344, 2598, 16344, 19, 487, 3559, 16072, 28688, 1314, 69, 23, 68, 22, 2414, 66, 15, 69, 33394, 65, 5999, 66, 2920, 24309, 1, 198, 12303, 312, 796, 366, 5892, 67, 31495, 10210, 12, 3388, 405, 12, 1821, 65, 22, 12, 24, 2919, 17, 12, 66, 21, 1350, 2920, 69, 33535, 65, 21, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 29993, 33637, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2713, 11442, 64, 17, 397, 16, 16072, 20, 69, 6052, 2075, 1828, 16658, 64, 17, 64, 11245, 26115, 69, 2857, 6469, 66, 1507, 1, 198, 12303, 312, 796, 366, 66, 23, 68, 16, 6814, 2919, 12, 22, 1828, 66, 12, 1120, 1821, 12, 24, 276, 24, 12, 22, 9945, 15, 17896, 48000, 3132, 68, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 29993, 876, 36949, 690, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 6690, 18636, 14881, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 16, 64, 23, 66, 21, 24693, 68, 3695, 65, 45722, 68, 46815, 68, 29703, 66, 2931, 21, 16072, 23, 64, 35916, 2078, 1878, 22, 67, 1, 198, 12303, 312, 796, 366, 3682, 16344, 15, 9945, 66, 12, 64, 4089, 16, 12, 4310, 2154, 12, 1795, 69, 17, 12, 64, 1878, 1120, 17885, 23, 21395, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 37787, 39317, 11627, 5736, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 18, 69, 1731, 40179, 66, 2481, 69, 20, 65, 1350, 24, 67, 17, 64, 45722, 69, 3865, 67, 10210, 3365, 31496, 21855, 2078, 3980, 1, 198, 12303, 312, 796, 366, 23, 2078, 33438, 940, 12, 2857, 3720, 12, 20, 28645, 12, 23, 4309, 68, 12, 3070, 68, 43690, 12993, 36453, 67, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 41, 3069, 36918, 11799, 11907, 198, 10378, 82, 796, 14631, 36698, 4972, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 41290, 64, 19104, 1878, 23, 65, 3104, 1495, 2327, 1558, 65, 1795, 17457, 18, 65, 16344, 1558, 1765, 19, 68, 5705, 7568, 21, 68, 1, 198, 12303, 312, 796, 366, 46589, 65, 18, 65, 10210, 12, 18, 66, 5332, 12, 19, 65, 16, 69, 12, 65, 15711, 12, 69, 1485, 344, 15, 1765, 2624, 940, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 40386, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 44, 8899, 1600, 366, 47, 945, 364, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 36928, 2791, 1795, 65, 25061, 4763, 17, 64, 43637, 69, 24038, 330, 22, 65, 2920, 4310, 68, 1270, 28933, 64, 2718, 1, 198, 12303, 312, 796, 366, 43950, 66, 3312, 64, 15, 12, 2934, 21, 64, 12, 4051, 397, 12, 64, 23726, 12, 66, 23, 65, 16, 12993, 3720, 66, 2934, 21, 1, 198, 9641, 796, 366, 15, 13, 2481, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 41, 22071, 17483, 2127, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 22, 2327, 31503, 330, 2425, 66, 20, 21101, 24, 69, 16, 65, 405, 67, 23, 65, 22730, 24, 66, 16315, 5705, 17896, 3388, 3559, 1, 198, 12303, 312, 796, 366, 64, 330, 1860, 65, 2999, 12, 31360, 69, 12, 3270, 67, 21, 12, 65, 24, 1507, 12, 44980, 68, 21, 891, 19, 69, 19881, 23, 1, 198, 9641, 796, 366, 17, 13, 16, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 42, 7948, 35, 6377, 11907, 198, 10378, 82, 796, 14631, 20344, 2455, 507, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 5777, 34551, 1600, 366, 9492, 16104, 602, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 48952, 68, 23, 17896, 2931, 324, 1507, 21734, 1507, 4846, 940, 330, 1878, 65, 5607, 405, 2624, 66, 47785, 24038, 1, 198, 12303, 312, 796, 366, 20, 397, 2919, 3388, 65, 12, 6659, 7252, 12, 40486, 67, 12, 11848, 1954, 12, 66, 19881, 4051, 1954, 65, 1350, 24, 65, 1, 198, 9641, 796, 366, 15, 13, 21, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 43, 10067, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 5237, 1120, 65, 1433, 3459, 16, 324, 69, 15, 32642, 33781, 2920, 69, 7012, 2780, 65, 1157, 5333, 330, 67, 330, 23, 66, 1, 198, 12303, 312, 796, 366, 66, 16, 66, 20, 1765, 67, 15, 12, 3134, 4761, 12, 4349, 1270, 12, 64, 47582, 12, 67, 20, 16072, 3609, 19, 64, 40401, 67, 1, 198, 9641, 796, 366, 18, 13, 3064, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 43, 57, 46, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 20, 65, 44675, 65, 12993, 42250, 66, 20, 68, 21719, 3553, 2718, 67, 17, 344, 25870, 276, 3720, 16, 65, 4531, 1350, 21, 1, 198, 12303, 312, 796, 366, 1860, 19, 65, 4089, 18, 64, 12, 69, 15, 68, 20, 12, 20, 69, 23, 67, 12, 64, 16, 65, 22, 12, 18741, 67, 19, 64, 20, 21855, 16, 330, 1, 198, 9641, 796, 366, 17, 13, 940, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 14772, 49568, 13290, 654, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 22, 69, 16, 66, 37381, 68, 3312, 66, 486, 65, 3865, 64, 3134, 69, 15, 10210, 16, 67, 2682, 42691, 69, 18, 68, 22, 9945, 13464, 1, 198, 12303, 312, 796, 366, 65, 24, 2414, 13331, 24, 69, 12, 15, 31911, 12, 20, 65, 3553, 12, 64, 20, 66, 17, 12, 67, 18, 18213, 2996, 69, 1821, 1821, 69, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 26302, 87, 1958, 11907, 198, 10378, 82, 796, 14631, 26227, 889, 1600, 366, 9492, 5275, 18274, 4487, 1600, 366, 14772, 49568, 13290, 654, 1600, 366, 14155, 305, 33637, 1600, 366, 9704, 2902, 1600, 366, 18557, 69, 1600, 366, 39618, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3865, 67, 2623, 69, 2624, 1860, 68, 27970, 68, 45214, 66, 16, 2934, 3553, 18294, 2481, 891, 66, 19, 65, 486, 2919, 1314, 1, 198, 12303, 312, 796, 366, 1954, 69, 1350, 16, 66, 16, 12, 18, 69, 2857, 12, 2816, 9945, 12, 65, 1314, 69, 12, 3388, 67, 22, 721, 2481, 64, 33400, 1, 198, 9641, 796, 366, 15, 13, 1314, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 43, 12582, 8001, 37199, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 47, 10025, 8973, 198, 12303, 312, 796, 366, 19, 1878, 4051, 5036, 16, 12, 31047, 15, 12, 3559, 64, 23, 12, 5332, 64, 22, 12, 41019, 67, 6420, 65, 37688, 68, 18, 1, 198, 198, 30109, 10378, 82, 13, 20238, 14881, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2857, 68, 21, 69, 3510, 1954, 66, 16, 9945, 3459, 39254, 66, 22, 64, 22, 13331, 2791, 66, 2996, 2078, 65, 5892, 7012, 2857, 1495, 1, 198, 12303, 312, 796, 366, 22, 69, 23, 69, 23, 21855, 15, 12, 1983, 405, 12, 20, 69, 3070, 12, 65, 19, 17457, 12, 3901, 69, 23, 12993, 66, 18444, 65, 21, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 18819, 16424, 11028, 50, 27448, 51, 6037, 11907, 198, 10378, 82, 796, 14631, 23839, 51, 6037, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4869, 1350, 16, 1765, 20, 324, 1129, 21101, 19, 69, 5333, 13331, 23, 66, 49995, 3865, 66, 15, 28460, 16344, 2931, 17, 3609, 15, 1, 198, 12303, 312, 796, 366, 16, 67, 21, 67, 2999, 324, 12, 1350, 5237, 12, 19, 65, 21, 65, 12, 23, 64, 21, 67, 12, 17, 69, 3829, 68, 22980, 27037, 68, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 25835, 34, 21886, 11907, 198, 10378, 82, 796, 14631, 25835, 34, 21886, 62, 73, 297, 1600, 366, 44, 8590, 5049, 34, 2246, 861, 82, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 65, 20233, 2624, 66, 17, 12, 64, 18, 68, 22, 12, 1120, 66, 23, 12, 1795, 10210, 12, 17, 67, 2623, 9945, 21101, 16344, 2481, 1, 198, 198, 30109, 10378, 82, 13, 25835, 34, 21886, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 5432, 39, 17, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 44, 3077, 51, 6561, 62, 73, 297, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 77, 456, 29281, 17, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 2934, 330, 24, 65, 2857, 12, 23, 15630, 22, 12, 3270, 3312, 12, 64, 15, 5036, 12, 2327, 330, 3980, 17896, 5705, 66, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 38, 270, 17, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 26245, 29046, 1600, 366, 18557, 69, 1600, 366, 37596, 8973, 198, 12303, 312, 796, 366, 4304, 69, 23, 4051, 1120, 12, 20, 24909, 12, 20, 65, 20, 64, 12, 23, 68, 7252, 12, 49721, 324, 40350, 65, 42117, 1, 198, 198, 30109, 10378, 82, 13, 25835, 5432, 39, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 1600, 366, 44, 3077, 51, 6561, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 27728, 1433, 65, 20, 64, 12, 65, 24, 397, 12, 49489, 69, 12, 24, 2091, 66, 12, 276, 324, 1507, 4521, 7568, 64, 23, 1, 198, 198, 30109, 10378, 82, 13, 25835, 25404, 11907, 198, 12303, 312, 796, 366, 23, 69, 28771, 6814, 18, 12, 2327, 3553, 12, 3980, 2425, 12, 65, 20, 487, 12, 21855, 23, 2624, 66, 5607, 21101, 9945, 1, 198, 198, 30109, 10378, 82, 13, 25835, 487, 72, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4304, 16, 64, 26007, 3609, 535, 67, 21, 7252, 5892, 721, 2327, 1314, 68, 40173, 66, 2075, 19881, 33438, 2425, 65, 18, 65, 1, 198, 12303, 312, 796, 366, 68, 24, 69, 25096, 66, 21, 12, 5892, 67, 17, 12, 20, 65, 2996, 12, 23, 64, 2791, 12, 39071, 2481, 17896, 16, 65, 31503, 1, 198, 9641, 796, 366, 18, 13, 17, 13, 17, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 70, 29609, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 70, 6024, 62, 18224, 62, 73, 297, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 27720, 1485, 66, 6469, 64, 3270, 66, 1065, 3023, 2327, 66, 15, 3134, 66, 17, 65, 34583, 16072, 5333, 12993, 20, 23055, 3609, 1, 198, 12303, 312, 796, 366, 67, 3559, 405, 330, 18, 12, 68, 1828, 66, 12, 3553, 3559, 12, 24, 17827, 12, 66, 27696, 68, 2670, 9945, 16, 68, 19, 1, 198, 9641, 796, 366, 16, 13, 23, 13, 22, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 4743, 85, 358, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3324, 2670, 69, 23, 2718, 67, 2414, 2857, 1821, 2327, 4846, 64, 2425, 67, 1129, 276, 486, 16344, 2919, 67, 21, 69, 3980, 19881, 1, 198, 12303, 312, 796, 366, 22, 68, 4304, 64, 15, 67, 19, 12, 69, 18, 66, 22, 12, 4310, 2481, 12, 23, 26050, 12, 23, 67, 4846, 1453, 276, 15, 69, 1959, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 10, 18, 1, 198, 198, 30109, 10378, 82, 13, 25835, 70, 6024, 62, 18224, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 2091, 2718, 1433, 68, 3510, 2623, 3104, 3553, 44550, 68, 27367, 344, 21, 64, 3388, 1453, 2931, 2231, 64, 21, 9945, 24, 1, 198, 12303, 312, 796, 366, 22, 2860, 20, 7012, 18, 12, 17, 69, 3459, 12, 48057, 68, 12, 24, 10210, 20, 12, 69, 5999, 65, 23, 64, 2816, 69, 22, 65, 23, 1, 198, 9641, 796, 366, 16, 13, 3682, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 4749, 85, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3682, 65, 48200, 2231, 67, 2154, 64, 21, 1129, 69, 3312, 18, 64, 22, 6814, 2931, 18, 67, 33438, 721, 23, 68, 1314, 68, 39761, 1, 198, 12303, 312, 796, 366, 5824, 344, 19, 69, 4051, 12, 24, 64, 21, 66, 12, 3553, 2780, 12, 24, 66, 16, 66, 12, 69, 24, 66, 22, 25667, 64, 2231, 3132, 1, 198, 9641, 796, 366, 16, 13, 1433, 13, 16, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 25835, 14948, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 66, 22515, 1270, 19881, 15, 14822, 67, 3510, 68, 1314, 68, 15, 16344, 12993, 17, 65, 4521, 2623, 68, 3695, 66, 11848, 67, 4790, 1, 198, 12303, 312, 796, 366, 19, 65, 17, 69, 3132, 64, 18, 12, 24, 68, 535, 12, 40486, 66, 12, 65, 34229, 12, 65, 2718, 1270, 17896, 65, 4790, 68, 24, 1, 198, 9641, 796, 366, 17, 13, 2327, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 35943, 11907, 198, 10378, 82, 796, 14631, 33, 3219, 29495, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5999, 68, 2919, 17, 69, 535, 65, 19, 68, 2718, 67, 6052, 7568, 2414, 1821, 66, 9945, 67, 3901, 17896, 1350, 20, 68, 3510, 21101, 21, 1, 198, 12303, 312, 796, 366, 21, 69, 16, 69, 324, 2075, 12, 67, 1314, 68, 12, 20, 17896, 23, 12, 3609, 4310, 12, 23, 2718, 64, 16, 67, 22, 65, 23, 66, 24, 69, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 25835, 83, 733, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 41, 22071, 17483, 2127, 62, 73, 297, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 57, 19282, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23601, 68, 28676, 64, 4763, 1485, 69, 3865, 69, 4089, 1453, 33394, 67, 33400, 66, 18, 3077, 2718, 66, 23, 397, 24, 1, 198, 12303, 312, 796, 366, 4531, 49641, 68, 4531, 12, 24, 65, 3070, 12, 3270, 3312, 12, 330, 7012, 12, 65, 1238, 69, 39380, 10210, 23, 2078, 1, 198, 9641, 796, 366, 19, 13, 18, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25835, 12303, 312, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 69, 18, 891, 721, 41322, 2091, 43950, 9945, 23, 4309, 69, 23, 65, 18, 15630, 18, 66, 16, 67, 17, 65, 15, 64, 15, 397, 15, 2791, 1, 198, 12303, 312, 796, 366, 2548, 64, 27712, 65, 18, 12, 2934, 4089, 12, 20, 67, 17, 65, 12, 64, 20, 67, 18, 12, 1415, 10210, 5892, 1314, 68, 9879, 1, 198, 9641, 796, 366, 17, 13, 2623, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 13949, 50, 451, 2052, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 45, 6561, 349, 690, 14881, 1600, 366, 26705, 32755, 776, 1600, 366, 48944, 1600, 366, 18557, 69, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 1983, 19924, 68, 43697, 68, 24, 3270, 65, 2623, 3134, 67, 23, 66, 6052, 68, 3609, 44675, 4790, 1828, 1120, 2624, 1860, 1, 198, 12303, 312, 796, 366, 67, 18, 67, 1795, 37864, 12, 68, 24, 67, 19, 12, 20, 69, 2718, 12, 4089, 3695, 12, 17, 397, 15, 69, 535, 2414, 13381, 1, 198, 9641, 796, 366, 22, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 14993, 451, 2348, 29230, 11907, 198, 10378, 82, 796, 14631, 25835, 25404, 1600, 366, 8019, 39806, 81, 696, 14453, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 2718, 68, 17, 68, 3510, 67, 12, 69, 4531, 67, 12, 20, 2670, 67, 12, 65, 19, 1453, 12, 23, 2548, 69, 535, 535, 24, 66, 23, 68, 1, 198, 198, 30109, 10378, 82, 13, 14993, 451, 18843, 2024, 11907, 198, 10378, 82, 796, 14631, 22968, 2601, 16091, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 18557, 69, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48801, 26410, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1065, 64, 23, 344, 15, 66, 18, 891, 2078, 7568, 18, 21101, 36720, 6888, 22, 3609, 24, 2414, 27712, 28072, 21855, 1065, 67, 1, 198, 12303, 312, 796, 366, 20, 66, 23, 276, 1314, 68, 12, 20, 64, 19, 66, 12, 3270, 68, 19, 12, 64, 3682, 65, 12, 66, 22, 68, 3459, 1157, 21855, 11623, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 11187, 35, 6377, 2964, 22143, 11907, 198, 10378, 82, 796, 14631, 28100, 9787, 1600, 366, 44199, 4102, 33637, 1600, 366, 28813, 25468, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 41762, 23907, 2977, 1600, 366, 3118, 11869, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 23, 64, 18, 66, 1959, 69, 1860, 23, 66, 25836, 64, 22, 68, 1795, 66, 19, 721, 1983, 67, 31751, 68, 46438, 64, 23, 4089, 1899, 1, 198, 12303, 312, 796, 366, 21, 69, 7568, 21, 1878, 15, 12, 42117, 64, 12, 2816, 69, 22, 12, 65, 18, 276, 12, 66, 21, 66, 21, 68, 15, 65, 23, 7568, 22, 66, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 11187, 16870, 24629, 2733, 11907, 198, 10378, 82, 796, 14631, 23579, 10100, 11627, 5736, 1600, 366, 23820, 20310, 34184, 1187, 1600, 366, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 67, 43950, 66, 2998, 68, 21, 1860, 9031, 276, 2919, 17, 69, 49287, 17896, 3459, 64, 1453, 22, 38565, 19881, 17, 535, 1, 198, 12303, 312, 796, 366, 17, 397, 18, 64, 18, 330, 12, 1878, 3901, 12, 20, 65, 1120, 12, 7252, 3070, 12, 3324, 3720, 22544, 3609, 34427, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 11187, 2667, 11907, 198, 12303, 312, 796, 366, 3980, 1860, 65, 27037, 12, 23, 3553, 65, 12, 4051, 68, 16, 12, 65, 5999, 67, 12, 9945, 19, 67, 3365, 9945, 2816, 3104, 1, 198, 198, 30109, 10378, 82, 13, 11187, 2667, 11627, 8847, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 11187, 2667, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 7568, 18082, 16, 66, 1157, 1270, 2079, 3023, 2078, 23906, 2934, 405, 1731, 67, 2231, 1433, 65, 1129, 2999, 344, 4089, 1, 198, 12303, 312, 796, 366, 68, 21, 69, 4531, 66, 5607, 12, 67, 2857, 64, 12, 20, 32128, 12, 36928, 69, 12, 24, 66, 2718, 69, 2670, 2075, 66, 2623, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 39516, 38469, 1634, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 1532, 40674, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 34519, 3163, 20477, 1600, 366, 39618, 1600, 366, 50, 2538, 36, 5837, 343, 689, 1600, 366, 16818, 278, 18274, 2410, 1600, 366, 3118, 11869, 1600, 366, 38469, 1634, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 69, 23195, 2934, 1120, 2670, 6469, 67, 3270, 17457, 6469, 1765, 16, 68, 19, 69, 15630, 27367, 69, 2816, 64, 4761, 67, 1453, 1, 198, 12303, 312, 796, 366, 17457, 66, 330, 3609, 23, 12, 1433, 1828, 12, 1157, 68, 24, 12, 17, 64, 20, 66, 12, 4310, 2075, 44750, 23721, 3829, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 9655, 9655, 1925, 1299, 11907, 198, 10378, 82, 796, 14631, 23839, 5777, 33758, 1600, 366, 23839, 9655, 9655, 1600, 366, 31554, 271, 3163, 20477, 1600, 366, 40073, 1600, 366, 35, 689, 1600, 366, 20344, 2455, 507, 1600, 366, 26227, 889, 1600, 366, 37787, 39317, 11627, 5736, 1600, 366, 42, 7948, 35, 6377, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 5805, 41, 17633, 39317, 1600, 366, 35364, 42758, 1600, 366, 35700, 51, 2977, 1600, 366, 29531, 1600, 366, 6690, 18636, 14881, 1600, 366, 32634, 1634, 1600, 366, 13409, 24629, 2733, 1600, 366, 48346, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 1600, 366, 10962, 15721, 896, 1600, 366, 51, 2977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 535, 23, 18213, 20, 3559, 64, 18, 9945, 65, 50119, 68, 23, 65, 2091, 940, 64, 19, 397, 40761, 3553, 3829, 7252, 24, 69, 16, 1, 198, 12303, 312, 796, 366, 66, 22, 69, 33808, 69, 17, 12, 487, 1507, 12, 3365, 68, 24, 12, 15630, 22, 65, 12, 26717, 2078, 68, 3459, 69, 2425, 67, 1, 198, 9641, 796, 366, 19, 13, 1415, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 33907, 43, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 24123, 11505, 7378, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 43, 12582, 8001, 37199, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 30505, 64, 891, 2931, 65, 1821, 68, 1120, 1238, 68, 1314, 1238, 69, 43697, 13331, 25838, 1120, 1821, 67, 19, 276, 15, 1, 198, 12303, 312, 796, 366, 23, 3980, 69, 43977, 66, 12, 67, 4521, 68, 12, 20, 67, 2931, 12, 65, 31418, 12, 3609, 397, 4304, 17896, 23, 7012, 22, 1, 198, 9641, 796, 366, 1238, 2481, 13, 16, 13, 16, 10, 17, 1, 198, 198, 30109, 10378, 82, 13, 5805, 6601, 47546, 11907, 198, 10378, 82, 796, 14631, 20238, 14881, 1600, 366, 44, 3069, 9608, 18274, 4487, 1600, 366, 29531, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 33438, 1415, 68, 4846, 68, 23, 65, 23, 18741, 11848, 20370, 66, 3388, 68, 3312, 18, 64, 3980, 397, 31102, 17, 65, 20, 65, 1, 198, 12303, 312, 796, 366, 2079, 1238, 65, 24909, 12, 15, 65, 17, 64, 12, 20, 69, 20, 69, 12, 24, 21395, 12, 24, 7252, 2154, 64, 30273, 69, 23, 65, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 5805, 6601, 18274, 4487, 11907, 198, 10378, 82, 796, 14631, 6601, 35439, 1600, 366, 13856, 320, 863, 25876, 1600, 366, 20238, 14881, 1600, 366, 5805, 6601, 47546, 1600, 366, 44, 3069, 9608, 18274, 4487, 1600, 366, 48346, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1453, 4051, 43564, 44705, 1065, 65, 24, 66, 23, 1453, 24, 4761, 68, 3695, 68, 344, 1157, 330, 1899, 24693, 1314, 68, 21, 1, 198, 12303, 312, 796, 366, 535, 17, 7012, 24, 65, 21, 12, 67, 35435, 12, 20, 68, 21, 67, 12, 23, 68, 1878, 12, 64, 5892, 67, 4051, 1065, 67, 3901, 67, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 5805, 41, 17633, 39317, 11907, 198, 10378, 82, 796, 14631, 29531, 1600, 366, 23010, 811, 31431, 14881, 1600, 366, 17126, 19929, 15721, 896, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 486, 4524, 68, 24, 67, 15259, 65, 15, 66, 3609, 16, 69, 23, 5036, 3720, 4304, 14877, 324, 4309, 69, 15, 68, 2154, 68, 15, 67, 23, 1, 198, 12303, 312, 796, 366, 68, 1795, 68, 16, 558, 12, 23, 3270, 64, 12, 44578, 68, 12, 24, 276, 24, 12, 23516, 2857, 67, 23, 3609, 18, 18213, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 44, 3069, 9608, 18274, 4487, 11907, 198, 10378, 82, 796, 14631, 20238, 14881, 1600, 366, 44, 6320, 3163, 20477, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2624, 1157, 66, 16, 69, 1860, 16, 891, 64, 891, 64, 46589, 66, 23, 12993, 1899, 68, 46821, 21855, 25816, 65, 4304, 64, 2919, 1, 198, 12303, 312, 796, 366, 2791, 64, 2091, 11848, 69, 12, 15, 66, 17, 65, 12, 20, 16072, 23, 12, 64, 25257, 12, 24, 6814, 23, 1485, 31380, 69, 15, 64, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 14155, 305, 33637, 11907, 198, 10378, 82, 796, 14631, 9704, 2902, 1600, 366, 29531, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 64, 20, 15630, 21, 19881, 3312, 17, 69, 15, 69, 3865, 68, 5237, 67, 15, 5036, 15, 64, 17, 67, 38565, 2079, 19082, 6469, 1860, 24, 1, 198, 12303, 312, 796, 366, 1129, 1415, 1860, 17, 69, 12, 6659, 66, 21, 12, 20, 69, 10210, 12, 5774, 1129, 12, 21, 67, 20, 66, 4846, 940, 487, 2931, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 23, 1, 198, 198, 30109, 10378, 82, 13, 44, 6320, 3163, 20477, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 23, 65, 30743, 891, 3312, 721, 4761, 68, 23, 66, 39101, 38380, 5036, 2999, 22521, 2816, 1983, 1453, 20, 23726, 1, 198, 12303, 312, 796, 366, 9945, 65, 3270, 2078, 67, 12, 68, 397, 16, 12, 20, 69, 3829, 12, 5332, 66, 17, 12, 65, 24, 65, 15, 276, 65, 22, 66, 12865, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 9704, 2902, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 8973, 198, 12303, 312, 796, 366, 67, 21, 69, 19, 32128, 68, 12, 64, 891, 20, 12, 31654, 64, 12, 4846, 66, 16, 12, 24, 66, 44698, 34626, 31980, 64, 1, 198, 198, 30109, 10378, 82, 13, 46912, 23588, 602, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 14993, 451, 18843, 2024, 1600, 366, 29531, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 4349, 67, 397, 18, 1860, 64, 19, 67, 4309, 17827, 1415, 69, 1485, 1899, 3459, 66, 16, 17896, 20, 535, 4349, 66, 23516, 68, 1, 198, 12303, 312, 796, 366, 2079, 66, 16, 64, 22, 1453, 12, 397, 2682, 12, 20, 16344, 20, 12, 1795, 4304, 12, 1983, 66, 31027, 64, 40350, 69, 19, 1, 198, 9641, 796, 366, 16, 13, 20, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 44, 3077, 51, 6561, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 44, 3077, 51, 6561, 62, 73, 297, 1600, 366, 29531, 1600, 366, 50, 11603, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 16, 66, 2548, 68, 4349, 66, 18, 67, 2919, 891, 24403, 1795, 5237, 1765, 344, 671, 15, 68, 3510, 344, 16072, 4846, 5036, 1, 198, 12303, 312, 796, 366, 22, 2670, 1350, 11785, 12, 1350, 64, 23, 12, 20, 23756, 12, 2079, 1485, 12, 535, 2154, 68, 22, 69, 2718, 2623, 67, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 44, 3077, 51, 6561, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 66, 23, 487, 67, 24, 66, 18, 12, 26073, 67, 12, 3365, 3901, 12, 65, 3695, 68, 12, 2919, 1558, 67, 22, 18781, 13331, 16, 1, 198, 198, 30109, 10378, 82, 13, 5308, 13846, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 36260, 1860, 1453, 68, 21, 69, 24, 69, 9945, 2231, 4349, 344, 45432, 64, 3510, 69, 4051, 9945, 67, 12865, 22995, 69, 1, 198, 12303, 312, 796, 366, 39506, 16344, 66, 1860, 12, 1495, 3559, 12, 20, 6814, 17, 12, 65, 15, 69, 18, 12, 23, 66, 4521, 66, 1270, 2996, 1485, 68, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 13031, 5216, 26448, 11907, 198, 10378, 82, 796, 14631, 43984, 43984, 1600, 366, 7248, 3245, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 69, 2996, 65, 9945, 1350, 24, 2682, 2425, 69, 21, 487, 24, 18213, 3388, 3388, 65, 23349, 2624, 69, 3459, 67, 30743, 1350, 1, 198, 12303, 312, 796, 366, 12762, 2860, 22, 67, 12, 2623, 2548, 12, 19, 66, 3720, 12, 44980, 66, 12, 24, 2919, 18213, 15, 66, 1495, 66, 2682, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 17140, 654, 11907, 198, 10378, 82, 796, 14631, 6601, 17614, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19881, 21536, 344, 3829, 65, 21, 66, 24, 2308, 2624, 67, 1495, 9945, 66, 3609, 16, 1765, 66, 47372, 7568, 2075, 5774, 69, 1, 198, 12303, 312, 796, 366, 68, 16, 67, 1959, 67, 22, 64, 12, 11848, 17896, 12, 20, 12993, 17, 12, 24, 330, 15, 12, 69, 1065, 2934, 17, 66, 2091, 68, 2078, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 44, 8899, 11907, 198, 12303, 312, 796, 366, 64, 5066, 324, 16562, 12, 22, 68, 1485, 12, 1120, 5705, 12, 48372, 69, 12, 5036, 30206, 66, 40179, 36088, 1, 198, 198, 30109, 10378, 82, 13, 44, 8629, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 3109, 1050, 33637, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 26561, 1415, 67, 15, 64, 22, 64, 1795, 5999, 65, 7012, 5705, 1983, 64, 19, 69, 19881, 65, 405, 64, 35005, 66, 48564, 344, 22, 1, 198, 12303, 312, 796, 366, 3695, 66, 18, 65, 2327, 67, 12, 67, 40256, 12, 33548, 65, 12, 24, 35195, 12, 18, 67, 4309, 5036, 1795, 68, 44994, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 44, 8590, 5049, 34, 2246, 861, 82, 62, 73, 297, 11907, 198, 12303, 312, 796, 366, 1415, 64, 15277, 21, 67, 12, 69, 1899, 67, 12, 43918, 68, 12, 24, 19244, 12, 1065, 67, 24, 4761, 10210, 23, 19707, 1, 198, 198, 30109, 10378, 82, 13, 15205, 42524, 29668, 11907, 198, 10378, 82, 796, 14631, 3163, 8002, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 67, 24, 3365, 487, 1507, 4051, 65, 1433, 8054, 18, 23721, 5036, 26492, 721, 2682, 65, 24, 67, 3270, 2078, 1899, 64, 1, 198, 12303, 312, 796, 366, 21, 69, 27033, 69, 21, 64, 12, 16243, 69, 12, 3365, 3695, 12, 397, 16, 68, 12, 1507, 4310, 2414, 8635, 42224, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 45, 6561, 349, 690, 14881, 11907, 198, 10378, 82, 796, 14631, 28813, 25468, 1600, 366, 20344, 6169, 1600, 366, 37, 9504, 28813, 1600, 366, 39746, 28813, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18444, 65, 397, 20, 65, 18444, 2327, 2231, 15630, 19, 68, 3720, 1314, 2623, 66, 24, 69, 16, 68, 330, 65, 19, 2308, 3312, 64, 1, 198, 12303, 312, 796, 366, 67, 3901, 15630, 32182, 12, 18741, 64, 12, 20, 36088, 12, 23, 68, 19, 66, 12, 66, 32128, 1433, 15982, 66, 21, 66, 1, 198, 9641, 796, 366, 22, 13, 23, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 6144, 8019, 11907, 198, 10378, 82, 796, 14631, 48003, 1600, 366, 35491, 37766, 14055, 1600, 366, 40073, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 47, 10025, 1600, 366, 39618, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 22416, 64, 2231, 2624, 324, 2078, 66, 2598, 69, 6469, 66, 22, 2791, 2682, 324, 21, 2481, 67, 22, 66, 3829, 39305, 17457, 1, 198, 12303, 312, 796, 366, 23, 4761, 66, 38605, 66, 12, 2079, 65, 15, 12, 33690, 66, 12, 65, 18, 65, 22, 12, 65, 21, 66, 4846, 64, 3459, 67, 20, 10210, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 1959, 1, 198, 198, 30109, 10378, 82, 13, 26705, 32755, 776, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 5036, 2857, 68, 40761, 67, 1899, 65, 6469, 65, 2791, 65, 5333, 67, 17, 67, 2598, 12762, 65, 5237, 68, 18, 64, 30803, 21855, 1, 198, 12303, 312, 796, 366, 3324, 7012, 2598, 1129, 12, 17, 67, 16, 69, 12, 3365, 10210, 12, 24, 11848, 16, 12, 23, 5853, 31916, 64, 17, 68, 18, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 45, 2434, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 20575, 20900, 873, 1600, 366, 6601, 44909, 942, 1600, 366, 13856, 320, 863, 25876, 1600, 366, 818, 13658, 5497, 1063, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 16344, 3553, 5774, 11623, 67, 16, 64, 6052, 69, 1350, 1270, 4846, 16, 17457, 5705, 1558, 2998, 65, 23, 64, 1795, 67, 2425, 65, 1, 198, 12303, 312, 796, 366, 4521, 69, 22, 64, 40523, 12, 1238, 1828, 12, 1120, 65, 19, 12, 64, 47915, 12, 3559, 66, 1954, 330, 18, 66, 45758, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 35364, 42758, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18082, 31503, 67, 3312, 65, 24, 69, 22, 66, 405, 43665, 1453, 6659, 12993, 64, 36330, 22521, 31046, 2481, 68, 2481, 1, 198, 12303, 312, 796, 366, 66, 33618, 65, 16, 64, 16, 12, 68, 24, 65, 15, 12, 31938, 64, 12, 24, 66, 2091, 12, 69, 15, 2670, 65, 16072, 4051, 64, 5332, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 8199, 12423, 46445, 32289, 11907, 198, 10378, 82, 796, 14631, 20344, 1817, 1600, 366, 45442, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1433, 7012, 330, 16344, 66, 31360, 23, 15630, 2718, 33646, 1495, 2791, 66, 24, 23451, 68, 41172, 68, 5332, 66, 17, 69, 15, 1, 198, 12303, 312, 796, 366, 65, 23, 64, 23, 2996, 5774, 12, 19, 15363, 12, 20, 397, 16, 12, 5999, 15630, 12, 7252, 37128, 67, 2718, 11848, 344, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 24, 1, 198, 198, 30109, 10378, 82, 13, 26245, 29046, 11907, 198, 12303, 312, 796, 366, 6888, 36189, 45418, 12, 66, 17, 68, 18, 12, 3559, 64, 24, 12, 558, 19, 12, 16, 68, 24, 3459, 65, 17, 66, 1129, 2919, 1, 198, 198, 30109, 10378, 82, 13, 15419, 29127, 50, 6442, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 37, 9504, 28813, 1600, 366, 39746, 28813, 1600, 366, 29993, 876, 36949, 690, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 6690, 30753, 19182, 33637, 1600, 366, 6690, 30753, 41384, 1634, 1600, 366, 3041, 39344, 1600, 366, 50, 979, 5805, 14881, 1600, 366, 7248, 3245, 1600, 366, 45442, 3163, 20477, 1600, 366, 3118, 11869, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 24, 487, 66, 24, 1828, 1558, 65, 23, 31495, 68, 15, 12993, 22, 65, 23, 28362, 69, 21, 22047, 64, 19, 64, 2931, 2623, 66, 3865, 1, 198, 12303, 312, 796, 366, 4531, 1485, 64, 4761, 66, 12, 16, 69, 24, 65, 12, 19, 344, 17, 12, 23, 67, 6469, 12, 17544, 5824, 67, 344, 6888, 721, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 1157, 1, 198, 198, 30109, 10378, 82, 13, 31310, 712, 2977, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5036, 1959, 1878, 4299, 18, 67, 15, 66, 19, 64, 23, 27033, 12762, 67, 19, 68, 2231, 535, 35638, 2481, 65, 16, 68, 3559, 67, 1, 198, 12303, 312, 796, 366, 20, 15377, 1314, 16072, 12, 19, 22745, 12, 20, 1860, 68, 12, 65, 24909, 12, 48634, 16072, 2598, 3459, 1453, 17, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 34519, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 48003, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 15, 68, 24, 68, 3365, 1959, 5774, 67, 2623, 67, 20, 64, 5333, 68, 17544, 68, 21, 68, 20, 3559, 65, 24, 68, 2598, 67, 2079, 1415, 65, 1, 198, 12303, 312, 796, 366, 21, 5036, 16, 19881, 65, 15, 12, 2934, 1238, 12, 27641, 12, 23, 6888, 22, 12, 1795, 69, 3553, 67, 2075, 69, 3459, 16, 1, 198, 9641, 796, 366, 16, 13, 940, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 46, 1130, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3720, 2718, 18082, 38472, 1433, 1899, 65, 19, 67, 21, 64, 1453, 68, 535, 17, 69, 22, 68, 16, 66, 6659, 66, 23, 1453, 19, 68, 17, 69, 1, 198, 12303, 312, 796, 366, 68, 4524, 1065, 64, 17, 64, 12, 16, 64, 21, 68, 12, 4051, 66, 15, 12, 1350, 405, 12, 36042, 68, 1495, 4869, 66, 2713, 16, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 20, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 11505, 9148, 1921, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 1600, 366, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 2231, 32459, 1959, 64, 12, 66, 49351, 12, 20, 65, 1795, 12, 17457, 3510, 12, 69, 1795, 67, 4349, 66, 20, 65, 35447, 1, 198, 198, 30109, 10378, 82, 13, 11505, 31127, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1314, 11245, 17896, 65, 22, 67, 23, 9945, 18, 66, 21, 66, 23, 3553, 69, 6814, 1415, 4531, 16, 64, 20, 2670, 64, 23, 69, 1983, 2713, 64, 1, 198, 12303, 312, 796, 366, 29334, 66, 18, 66, 3865, 12, 17, 68, 5705, 12, 1120, 7252, 12, 23, 891, 66, 12, 1129, 23734, 65, 17, 64, 18, 64, 3865, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 940, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 11505, 22882, 24629, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1485, 2996, 1731, 6420, 69, 3104, 3980, 330, 16344, 17, 9945, 1959, 15277, 68, 16, 11848, 10210, 2231, 2996, 67, 3023, 69, 16, 1, 198, 12303, 312, 796, 366, 22521, 2078, 16344, 20, 12, 23, 30057, 12, 48096, 65, 12, 64, 24, 68, 16, 12, 65, 1959, 1433, 16072, 2718, 2548, 68, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 20, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 27871, 320, 11907, 198, 10378, 82, 796, 14631, 40073, 1600, 366, 33762, 3163, 20477, 1600, 366, 13949, 50, 451, 2052, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 45, 6561, 349, 690, 14881, 1600, 366, 26705, 32755, 776, 1600, 366, 48944, 1600, 366, 21604, 1800, 41384, 4582, 1600, 366, 18557, 69, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3695, 5066, 7568, 2996, 9945, 65, 17, 64, 15, 13331, 23, 69, 5332, 16072, 1878, 15, 64, 42224, 3134, 31102, 67, 17, 1765, 276, 1, 198, 12303, 312, 796, 366, 11785, 48057, 7252, 12, 19, 25600, 12, 20, 64, 891, 12, 64, 18, 1878, 12, 5332, 2075, 21895, 2231, 64, 1765, 1, 198, 9641, 796, 366, 16, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 18257, 385, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4349, 64, 2919, 21855, 1415, 721, 2078, 6814, 17, 721, 22, 64, 24, 1983, 66, 19, 31496, 68, 19, 32148, 66, 17, 64, 2857, 1238, 1, 198, 12303, 312, 796, 366, 6420, 67, 19, 22413, 67, 12, 2425, 2623, 12, 3270, 1129, 12, 65, 24, 2481, 12, 7410, 22709, 69, 2718, 36720, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 17, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 35422, 1068, 5216, 26448, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5332, 69, 23, 68, 2996, 3695, 19881, 16, 69, 24, 1453, 15, 67, 1157, 68, 22, 11848, 16, 65, 18781, 2414, 2327, 31714, 67, 2857, 66, 1, 198, 12303, 312, 796, 366, 65, 330, 40486, 68, 16, 12, 20, 68, 4761, 12, 20, 1765, 66, 12, 23, 39071, 12, 11231, 23, 64, 42947, 69, 2816, 67, 1, 198, 9641, 796, 366, 16, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 5662, 2200, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 17, 64, 22, 1878, 21, 2414, 68, 2931, 1795, 2816, 64, 2425, 1959, 324, 16, 64, 12865, 9395, 4846, 17, 65, 6888, 33646, 1, 198, 12303, 312, 796, 366, 17, 69, 1795, 69, 1433, 68, 12, 21, 1157, 64, 12, 4051, 397, 12, 15630, 5333, 12, 7252, 5892, 2934, 20, 65, 4089, 16072, 1, 198, 9641, 796, 366, 23, 13, 2598, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 5760, 44, 1381, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 5606, 578, 50, 29572, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 1860, 1821, 24840, 65, 12993, 2931, 2931, 33660, 66, 5036, 3553, 721, 15363, 17827, 69, 24, 2718, 67, 22, 67, 23, 1, 198, 12303, 312, 796, 366, 12865, 1415, 64, 16, 69, 12, 1983, 7012, 12, 44617, 66, 12, 397, 1238, 12, 3365, 69, 7252, 2598, 67, 6420, 1120, 1, 198, 9641, 796, 366, 15, 13, 1157, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 48944, 11907, 198, 10378, 82, 796, 14631, 35422, 1068, 5216, 26448, 1600, 366, 3118, 11869, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2682, 66, 15, 68, 24, 324, 29119, 68, 20, 69, 22, 16072, 2425, 65, 940, 64, 2079, 4309, 6888, 22, 46589, 12993, 66, 20, 69, 1350, 1, 198, 12303, 312, 796, 366, 67, 4846, 68, 23, 1129, 68, 12, 16072, 2791, 12, 20, 39380, 12, 5607, 2078, 12, 5705, 66, 24, 66, 2425, 5892, 65, 15, 64, 1, 198, 9641, 796, 366, 15, 13, 1065, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 47, 945, 364, 11907, 198, 10378, 82, 796, 14631, 35, 689, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 16344, 22, 67, 23, 66, 22, 16344, 5774, 69, 15, 34229, 2548, 940, 67, 24, 66, 17457, 28771, 43239, 1828, 2623, 7012, 16, 65, 1, 198, 12303, 312, 796, 366, 3388, 2934, 15, 64, 3388, 12, 16, 1860, 67, 12, 20, 29326, 12, 24, 30743, 12, 17, 19881, 15, 65, 2999, 17896, 24, 69, 15, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 47, 844, 805, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 19, 69, 20, 67, 36629, 2920, 64, 940, 68, 22745, 1795, 64, 1731, 69, 344, 4761, 1350, 64, 4846, 65, 5066, 1959, 68, 1959, 1, 198, 12303, 312, 796, 366, 1270, 2670, 1731, 2920, 12, 33394, 64, 12, 20, 31115, 12, 23, 3901, 67, 12, 65, 16, 330, 344, 19, 68, 5607, 17896, 1, 198, 9641, 796, 366, 15, 13, 1821, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 47, 10025, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 35, 689, 1600, 366, 10002, 82, 1600, 366, 25835, 38, 270, 17, 1600, 366, 25835, 25404, 1600, 366, 11187, 2667, 1600, 366, 9704, 2902, 1600, 366, 18557, 69, 1600, 366, 2200, 6489, 1600, 366, 29531, 1600, 366, 37596, 1600, 366, 32634, 1634, 1600, 366, 51, 2662, 43, 1600, 366, 47079, 1600, 366, 52, 27586, 82, 1600, 366, 79, 22, 13344, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 2598, 66, 5036, 3865, 64, 12, 16, 1765, 17, 12, 4309, 18213, 12, 65, 43864, 12, 68, 17, 1878, 7568, 3388, 65, 3695, 69, 1, 198, 198, 30109, 10378, 82, 13, 43328, 464, 6880, 11907, 198, 10378, 82, 796, 14631, 43328, 18274, 4487, 1600, 366, 39618, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 18, 64, 24, 2414, 344, 24, 17896, 3695, 4089, 1129, 2327, 2623, 21601, 64, 21, 1860, 4531, 17, 65, 16, 65, 20, 64, 21, 69, 16, 67, 1, 198, 12303, 312, 796, 366, 535, 69, 17, 69, 23, 324, 12, 1731, 3132, 12, 20, 66, 5999, 12, 19881, 1959, 12, 66, 20, 28460, 65, 45791, 65, 21, 64, 1, 198, 9641, 796, 366, 17, 13, 15, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 43328, 18274, 4487, 11907, 198, 10378, 82, 796, 14631, 10258, 27054, 6880, 1600, 366, 5216, 669, 1600, 366, 35, 689, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 3041, 39344, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 2919, 3559, 1731, 65, 19, 1878, 20, 64, 43704, 10210, 21, 2623, 1129, 16344, 405, 2791, 1415, 65, 18, 65, 1238, 65, 5774, 65, 1, 198, 12303, 312, 796, 366, 33438, 65, 6420, 64, 24, 12, 67, 21495, 12, 20, 1878, 67, 12, 24, 721, 21, 12, 22, 3510, 68, 2481, 9945, 66, 48768, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 1314, 1, 198, 198, 30109, 10378, 82, 13, 3646, 1747, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 4264, 454, 1600, 366, 35, 689, 1600, 366, 10002, 82, 1600, 366, 5777, 7378, 7156, 1600, 366, 13715, 12727, 49601, 1600, 366, 10761, 1600, 366, 10082, 15748, 15522, 873, 1600, 366, 40386, 1600, 366, 26302, 87, 1958, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 5308, 13846, 1600, 366, 26705, 32755, 776, 1600, 366, 43328, 464, 6880, 1600, 366, 43328, 18274, 4487, 1600, 366, 18557, 69, 1600, 366, 2200, 6489, 1600, 366, 29531, 1600, 366, 6690, 18636, 14881, 1600, 366, 6690, 18636, 47, 541, 4470, 1600, 366, 3041, 39344, 1600, 366, 39618, 1600, 366, 3351, 36722, 1600, 366, 15307, 2364, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 14881, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 7012, 3559, 65, 23045, 64, 16, 69, 3023, 64, 24, 28933, 6888, 19, 64, 24, 69, 3695, 1954, 2481, 67, 5892, 1157, 7252, 3104, 68, 1, 198, 12303, 312, 796, 366, 6420, 64, 20, 15630, 1860, 12, 2816, 67, 22, 12, 20, 66, 1878, 12, 24, 68, 15, 65, 12, 31211, 67, 23, 3270, 66, 3609, 1795, 1, 198, 9641, 796, 366, 16, 13, 1828, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 3646, 9390, 10080, 11907, 198, 10378, 82, 796, 14631, 14881, 2414, 1600, 366, 35, 689, 1600, 366, 9492, 5275, 18274, 4487, 1600, 366, 11187, 2667, 1600, 366, 9704, 2902, 1600, 366, 29531, 1600, 366, 15979, 44292, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2231, 344, 22985, 67, 2623, 67, 2670, 3132, 10210, 19, 68, 2718, 64, 2857, 69, 6052, 68, 2998, 67, 1415, 2816, 69, 15, 2548, 67, 1, 198, 12303, 312, 796, 366, 22, 69, 24, 3023, 67, 5036, 12, 65, 5332, 68, 12, 19, 487, 21, 12, 65, 38380, 12, 67, 3609, 23539, 1954, 4846, 64, 23, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 34220, 26601, 8231, 11907, 198, 10378, 82, 796, 14631, 9492, 12786, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 34519, 3163, 20477, 1600, 366, 6690, 18636, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 65, 1314, 69, 2327, 5607, 65, 486, 1765, 32059, 2414, 1860, 3070, 66, 18, 66, 1954, 67, 2791, 3720, 64, 18, 66, 2624, 66, 23, 1, 198, 12303, 312, 796, 366, 69, 1983, 65, 21, 68, 2548, 12, 65, 34256, 12, 3365, 67, 16, 12, 1795, 344, 12, 15, 19082, 1860, 20, 68, 22, 64, 2231, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 27201, 276, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 6601, 17614, 1600, 366, 29783, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 24943, 67, 21, 324, 24, 66, 2231, 4763, 4761, 66, 1415, 65, 22, 3132, 64, 36042, 3077, 67, 18, 66, 17, 69, 405, 12993, 1, 198, 12303, 312, 796, 366, 17, 7568, 65, 5066, 1453, 12, 535, 2670, 12, 20, 1860, 20, 12, 3865, 17457, 12, 44980, 19881, 46712, 67, 23906, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 21604, 1800, 41384, 4582, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1558, 23195, 32642, 69, 34770, 68, 2791, 4790, 69, 22, 68, 22, 69, 43587, 4349, 69, 36809, 276, 20, 65, 1314, 65, 1238, 1, 198, 12303, 312, 796, 366, 5332, 64, 21, 1860, 1495, 12, 68, 3695, 64, 12, 2816, 65, 22, 12, 25764, 17, 12, 1558, 33459, 2327, 65, 23, 11623, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 36698, 4972, 11907, 198, 10378, 82, 796, 14631, 51, 2662, 43, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 405, 12993, 67, 24, 1959, 2598, 6888, 24, 66, 40761, 4089, 1983, 2857, 68, 24, 64, 16, 67, 15, 67, 20, 67, 4521, 397, 16, 68, 20, 64, 1, 198, 12303, 312, 796, 366, 21777, 1433, 66, 21, 64, 12, 17, 68, 4790, 12, 2996, 5066, 12, 21, 68, 2996, 12, 22, 22980, 2791, 2996, 4761, 1120, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 35700, 51, 2977, 11907, 198, 10378, 82, 796, 14631, 34, 2433, 684, 1600, 366, 26227, 889, 1600, 366, 9704, 2902, 1600, 366, 3041, 39344, 1600, 366, 51, 2977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 5824, 37187, 1350, 21, 1157, 1453, 24, 67, 43798, 2414, 5036, 38605, 276, 11848, 22515, 69, 23, 535, 15, 1765, 1, 198, 12303, 312, 796, 366, 2919, 11231, 23, 67, 17, 12, 15, 67, 15, 66, 12, 3553, 2920, 12, 324, 13331, 12, 23, 64, 17, 330, 15187, 1878, 15, 67, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 18557, 69, 11907, 198, 10378, 82, 796, 14631, 3118, 291, 1098, 8973, 198, 12303, 312, 796, 366, 2934, 2919, 3365, 6814, 12, 21, 22572, 12, 20, 68, 3134, 12, 5774, 2598, 12, 4349, 6048, 1453, 1765, 23, 67, 22, 1, 198, 198, 30109, 10378, 82, 13, 32577, 11187, 2667, 11907, 198, 10378, 82, 796, 14631, 11187, 2667, 1600, 366, 37596, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1795, 67, 24, 1129, 67, 1453, 2816, 65, 24, 66, 1120, 68, 23, 67, 24, 68, 17, 6814, 20, 1453, 2001, 69, 18, 5036, 3365, 65, 20, 2670, 1, 198, 12303, 312, 796, 366, 2091, 66, 23, 65, 21, 65, 21, 12, 67, 2548, 64, 12, 44361, 64, 12, 65, 43916, 12, 6888, 64, 4531, 64, 17, 69, 21734, 66, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 32577, 44, 2357, 11907, 198, 10378, 82, 796, 14631, 20344, 6169, 1600, 366, 18557, 69, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1878, 671, 7012, 5066, 67, 3829, 487, 22047, 64, 21, 64, 2780, 67, 2167, 5824, 2682, 68, 344, 68, 17, 721, 24, 68, 23, 1, 198, 12303, 312, 796, 366, 24, 1959, 2091, 69, 19, 66, 12, 68, 27800, 12, 20, 64, 2713, 12, 64, 28771, 12, 19, 65, 35638, 9945, 28669, 6888, 1, 198, 9641, 796, 366, 16, 13, 22, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 48, 83, 20, 14881, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 7293, 5329, 15514, 43, 11127, 62, 73, 297, 1600, 366, 23252, 11250, 62, 73, 297, 1600, 366, 38, 8019, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 4743, 85, 358, 62, 73, 297, 1600, 366, 11505, 31127, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 87, 21101, 62, 73, 297, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 9060, 62, 73, 297, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 13083, 88, 907, 62, 73, 297, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 13287, 22602, 62, 73, 297, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 26377, 62, 73, 297, 1600, 366, 57, 8019, 62, 73, 297, 1600, 366, 87, 32812, 11321, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 324, 27412, 45791, 64, 20, 68, 1238, 9945, 65, 23, 67, 21, 17896, 17, 69, 1860, 68, 22521, 19, 67, 3609, 2998, 6659, 3609, 23, 1, 198, 12303, 312, 796, 366, 18213, 17, 344, 64, 18, 65, 12, 20, 65, 4304, 12, 3553, 3609, 12, 64, 21, 891, 12, 15, 64, 23, 1878, 21, 1731, 4846, 68, 16, 1, 198, 9641, 796, 366, 20, 13, 1314, 13, 18, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 4507, 324, 38, 42, 11907, 198, 10378, 82, 796, 14631, 6601, 44909, 942, 1600, 366, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3695, 64, 324, 487, 65, 18, 891, 67, 17, 18742, 1878, 20219, 49703, 65, 23, 64, 23, 7568, 16, 891, 26050, 18213, 2670, 1, 198, 12303, 312, 796, 366, 16, 16344, 2857, 65, 1120, 12, 37804, 67, 12, 20, 66, 2154, 12, 24, 38205, 12, 69, 22, 1129, 69, 23, 69, 18, 65, 10210, 66, 1, 198, 9641, 796, 366, 17, 13, 19, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 49, 6601, 11907, 198, 10378, 82, 796, 14631, 34, 2397, 12409, 3163, 20477, 1600, 366, 43806, 721, 57, 8019, 1600, 366, 6601, 35439, 1600, 366, 35, 689, 1600, 366, 8979, 9399, 1600, 366, 39618, 1600, 366, 7575, 57, 1952, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1129, 68, 2857, 64, 33781, 7568, 65, 22, 16102, 1765, 2598, 17896, 3388, 4869, 67, 39885, 69, 22, 68, 19, 25707, 64, 4761, 1, 198, 12303, 312, 796, 366, 7568, 2857, 64, 21, 21101, 12, 23, 66, 3070, 12, 20, 2308, 12, 1878, 67, 23, 12, 65, 1899, 1120, 67, 21, 66, 3901, 6814, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 49, 27354, 292, 1039, 11907, 198, 10378, 82, 796, 14631, 7902, 53, 1600, 366, 43806, 721, 57, 8019, 1600, 366, 6601, 35439, 1600, 366, 8979, 9399, 1600, 366, 18557, 69, 1600, 366, 49, 6601, 1600, 366, 3041, 39344, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3312, 67, 19, 6814, 23, 68, 35005, 276, 65, 3070, 1415, 68, 3459, 22370, 65, 17, 68, 23, 69, 3023, 1959, 26429, 69, 9945, 22, 1, 198, 12303, 312, 796, 366, 344, 21, 65, 1558, 3682, 12, 2780, 1821, 12, 2816, 13331, 12, 65, 2931, 18, 12, 23, 4309, 47984, 11848, 16, 67, 23, 65, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 2200, 6489, 11907, 198, 10378, 82, 796, 14631, 9492, 5275, 18274, 4487, 1600, 366, 9704, 2902, 1600, 366, 50, 11603, 1600, 366, 3118, 291, 1098, 8973, 198, 12303, 312, 796, 366, 18, 13331, 15, 10210, 4846, 12, 68, 891, 16, 12, 20, 42548, 12, 23, 64, 5333, 12, 65, 18, 65, 31360, 23, 11848, 487, 65, 1, 198, 198, 30109, 10378, 82, 13, 29531, 11907, 198, 10378, 82, 796, 14631, 32634, 1634, 8973, 198, 12303, 312, 796, 366, 24, 64, 18, 69, 23, 30336, 12, 64, 17, 66, 24, 12, 20, 69, 2999, 12, 24, 64, 1157, 12, 23, 33459, 1795, 64, 16, 16344, 20, 66, 1, 198, 198, 30109, 10378, 82, 13, 17257, 3163, 20477, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 3829, 2670, 68, 24, 2718, 4790, 1860, 12993, 66, 23, 2078, 69, 1065, 64, 324, 69, 22, 15363, 65, 19, 65, 19, 67, 18182, 69, 20, 1, 198, 12303, 312, 796, 366, 65, 18, 66, 18, 558, 15, 12, 3609, 4309, 12, 4051, 68, 22, 12, 24, 67, 15, 65, 12, 17, 66, 1415, 3312, 16344, 21, 65, 24, 67, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 29665, 4267, 11907, 198, 10378, 82, 796, 14631, 39618, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 486, 67, 33660, 69, 1120, 1828, 1120, 68, 6659, 69, 21, 69, 721, 15, 8635, 39380, 7252, 4521, 1485, 5892, 64, 18, 7252, 1, 198, 12303, 312, 796, 366, 66, 5705, 276, 17, 69, 16, 12, 47984, 20, 12, 4051, 69, 15, 12, 7252, 23, 68, 12, 9945, 22521, 1983, 25707, 2670, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 6690, 18636, 14881, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2598, 64, 2425, 7252, 22, 64, 20, 26050, 940, 1453, 18, 67, 1558, 4349, 67, 16, 69, 15, 68, 19, 18294, 39357, 2860, 24, 68, 1, 198, 12303, 312, 796, 366, 18, 10210, 12993, 20, 69, 17, 12, 16, 891, 19, 12, 48170, 66, 12, 24, 28256, 12, 2996, 5774, 65, 1899, 6485, 486, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 6690, 18636, 47, 541, 4470, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 26705, 32755, 776, 1600, 366, 43328, 18274, 4487, 1600, 366, 6690, 18636, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 324, 15, 7568, 64, 23, 67, 3070, 65, 22, 65, 12993, 23, 66, 43239, 69, 3270, 69, 49721, 2078, 29326, 1270, 66, 2816, 65, 23, 1, 198, 12303, 312, 796, 366, 486, 67, 49503, 1558, 12, 65, 891, 66, 12, 19, 21101, 21, 12, 65, 24, 721, 12, 64, 24, 3553, 1129, 67, 15, 30743, 66, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 6690, 30753, 19182, 33637, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 6690, 18636, 14881, 1600, 366, 39618, 1600, 366, 45442, 3163, 20477, 1600, 366, 48346, 1600, 366, 57, 35641, 1258, 37766, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 18, 69, 19, 68, 27712, 2780, 65, 18, 67, 18, 67, 405, 68, 2816, 4869, 16344, 22, 15630, 15, 64, 29626, 1795, 69, 486, 42875, 1, 198, 12303, 312, 796, 366, 4790, 1157, 4521, 6888, 12, 23, 67, 5237, 12, 3553, 344, 12, 65, 39226, 12, 69, 17457, 24, 2791, 67, 2998, 19, 10210, 1, 198, 9641, 796, 366, 17, 13, 1157, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 6690, 30753, 41384, 1634, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 39516, 38469, 1634, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 68, 16, 64, 3459, 66, 48290, 68, 1350, 23, 7012, 3388, 15630, 15, 65, 405, 5705, 67, 19, 65, 19, 7012, 19, 7252, 2327, 3609, 15, 1, 198, 12303, 312, 796, 366, 69, 17, 66, 2091, 5237, 67, 12, 6814, 1765, 12, 3365, 67, 16, 12, 43564, 68, 12, 17, 15630, 4524, 69, 2078, 1821, 65, 19, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 1485, 1, 198, 198, 30109, 10378, 82, 13, 3041, 39344, 11907, 198, 10378, 82, 796, 14631, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 65, 16, 67, 2998, 69, 42224, 15630, 23, 1860, 65, 3720, 3324, 721, 22, 69, 26514, 65, 5607, 65, 1314, 5332, 1415, 5036, 15, 1, 198, 12303, 312, 796, 366, 23362, 64, 2548, 3134, 12, 1270, 1120, 12, 4309, 6814, 12, 64, 23, 2623, 12, 68, 30005, 7012, 3829, 397, 3388, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 39618, 11907, 198, 10378, 82, 796, 14631, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1821, 2623, 64, 18, 17457, 2919, 330, 22, 68, 38956, 68, 1983, 66, 22416, 67, 2231, 69, 20, 20972, 8628, 22136, 2481, 1, 198, 12303, 312, 796, 366, 3609, 48891, 30206, 12, 64, 19, 1860, 12, 20, 13464, 12, 24, 6814, 64, 12, 67, 48882, 3459, 22148, 20, 7568, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 49, 11018, 11907, 198, 10378, 82, 796, 14631, 29531, 1600, 366, 49, 11018, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19881, 18, 20356, 69, 31047, 20198, 344, 15711, 66, 4304, 324, 6469, 66, 1983, 5892, 66, 3553, 11231, 22, 65, 16, 69, 1, 198, 12303, 312, 796, 366, 3720, 2931, 23, 16072, 19, 12, 64, 5332, 68, 12, 20, 67, 3388, 12, 7252, 21, 64, 12, 2780, 5066, 69, 1731, 36260, 13331, 1, 198, 9641, 796, 366, 15, 13, 22, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 49, 11018, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3104, 9945, 2624, 67, 487, 1065, 11848, 21, 16799, 65, 330, 4790, 66, 22567, 3459, 16315, 16, 19881, 15, 891, 11848, 22, 1, 198, 12303, 312, 796, 366, 69, 1120, 67, 16, 65, 3132, 12, 3459, 68, 23, 12, 3365, 2934, 12, 1350, 17, 66, 12, 16, 535, 43489, 36042, 2425, 69, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 49, 13880, 11907, 198, 10378, 82, 796, 14631, 17227, 50, 6442, 1600, 366, 18557, 69, 1600, 366, 7248, 3245, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 21, 69, 1558, 11848, 65, 31697, 64, 2425, 6469, 1270, 3134, 64, 17, 67, 21, 21855, 24294, 69, 31027, 2780, 33372, 65, 18, 67, 1, 198, 12303, 312, 796, 366, 69, 17, 65, 486, 69, 3510, 12, 69, 12993, 64, 12, 43697, 66, 12, 23, 2598, 64, 12, 67, 23, 330, 16, 68, 4846, 66, 36879, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 20, 1, 198, 198, 30109, 10378, 82, 13, 37596, 11907, 198, 12303, 312, 796, 366, 18213, 23, 68, 24, 1129, 66, 12, 26660, 66, 12, 4349, 1878, 12, 3459, 1495, 12, 46071, 5066, 10210, 22, 2481, 344, 1, 198, 198, 30109, 10378, 82, 13, 50, 2538, 36, 5837, 343, 689, 11907, 198, 10378, 82, 796, 14631, 1532, 40674, 1600, 366, 25835, 25404, 1600, 366, 38469, 1634, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 67, 2598, 11848, 2425, 1558, 27728, 16344, 2075, 1959, 19707, 1731, 16344, 66, 1433, 2231, 66, 5333, 64, 21, 891, 1558, 1, 198, 12303, 312, 796, 366, 2857, 2996, 486, 68, 23, 12, 2931, 64, 17, 12, 20, 68, 344, 12, 3459, 3388, 12, 21855, 6469, 2934, 4531, 64, 16, 13331, 1, 198, 9641, 796, 366, 15, 13, 21, 13, 23, 1, 198, 198, 30109, 10378, 82, 13, 50, 979, 5805, 14881, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 17227, 50, 6442, 1600, 366, 36687, 14881, 1600, 366, 20344, 6169, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 37787, 39317, 11627, 5736, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 11187, 2667, 1600, 366, 6690, 18636, 14881, 1600, 366, 6690, 30753, 19182, 33637, 1600, 366, 45442, 3163, 20477, 1600, 366, 48346, 1600, 366, 51, 2977, 1600, 366, 27660, 7680, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 65, 20, 65, 3023, 33438, 64, 19504, 23, 69, 6469, 3609, 3388, 64, 1558, 29769, 66, 1899, 65, 4304, 11024, 44750, 1, 198, 12303, 312, 796, 366, 15, 65, 6888, 2231, 4304, 12, 5705, 69, 19, 12, 19, 67, 3829, 12, 23, 16658, 12, 487, 64, 39101, 69, 1238, 39997, 1, 198, 9641, 796, 366, 16, 13, 1485, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 23010, 811, 31431, 14881, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 21652, 68, 34770, 1350, 1878, 21, 65, 36626, 66, 16, 68, 22, 24309, 344, 17, 66, 17, 64, 22, 1828, 35273, 67, 2791, 2718, 1, 198, 12303, 312, 796, 366, 1270, 69, 21536, 1860, 12, 23, 2001, 12, 19, 66, 20, 69, 12, 5824, 7012, 12, 23, 68, 2414, 31128, 66, 1157, 5333, 1, 198, 9641, 796, 366, 17, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 3351, 36722, 11907, 198, 10378, 82, 796, 14631, 35, 689, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 65, 19, 65, 22, 69, 1485, 6052, 66, 487, 5607, 66, 2091, 4531, 16, 6814, 17, 64, 15, 19881, 3388, 66, 21, 276, 28872, 69, 6814, 1, 198, 12303, 312, 796, 366, 21, 66, 21, 64, 17, 68, 4790, 12, 2996, 5066, 12, 21, 17279, 12, 22, 27412, 12, 21, 2718, 3510, 1558, 2075, 33319, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 18960, 282, 45461, 27654, 408, 11907, 198, 10378, 82, 796, 14631, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 2670, 67, 10210, 23, 17827, 17896, 1238, 2791, 2091, 2920, 49703, 69, 22, 64, 22, 68, 23, 12993, 18, 67, 6200, 24, 45758, 1, 198, 12303, 312, 796, 366, 3682, 21855, 2623, 21101, 12, 34808, 64, 12, 1821, 2682, 12, 19881, 1821, 12, 19, 1453, 68, 35435, 66, 3559, 64, 16, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 31837, 20538, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 29531, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4051, 69, 26514, 2623, 67, 4531, 2682, 64, 1065, 64, 2167, 276, 18213, 17, 69, 24, 22136, 65, 3070, 65, 7568, 18, 19707, 1, 198, 12303, 312, 796, 366, 6420, 66, 41647, 4051, 12, 18, 721, 19, 12, 3901, 64, 18, 12, 64, 1731, 69, 12, 18, 69, 1954, 68, 1238, 67, 47007, 66, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 32634, 1634, 11907, 198, 12303, 312, 796, 366, 24, 68, 3459, 65, 3682, 64, 12, 69, 23, 1959, 12, 20, 65, 15, 66, 12, 65, 1350, 24, 12, 24, 68, 24, 1954, 22337, 23055, 65, 1, 198, 198, 30109, 10378, 82, 13, 7248, 3245, 11907, 198, 10378, 82, 796, 14631, 36687, 14881, 1600, 366, 29783, 1600, 366, 14155, 305, 33637, 1600, 366, 39618, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4299, 2998, 1507, 1860, 65, 397, 1765, 20, 35435, 68, 4349, 68, 20, 64, 3559, 31751, 20963, 39121, 69, 26279, 67, 1, 198, 12303, 312, 796, 366, 891, 12993, 1314, 2154, 12, 2682, 1954, 12, 3553, 67, 16, 12, 330, 65, 22, 12, 16344, 2091, 69, 1860, 65, 330, 3510, 1, 198, 9641, 796, 366, 15, 13, 23, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 2484, 1144, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 20344, 6169, 1600, 366, 44, 8899, 1600, 366, 29531, 1600, 366, 32634, 1634, 8973, 198, 12303, 312, 796, 366, 16, 64, 8784, 16, 64, 18, 12, 5705, 2934, 12, 38605, 68, 12, 23, 68, 4531, 12, 64, 1157, 64, 17, 69, 22, 17896, 34741, 1, 198, 198, 30109, 10378, 82, 13, 2484, 21715, 3163, 20477, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1828, 31010, 1878, 67, 12993, 2718, 67, 21, 31495, 64, 20, 64, 2998, 2791, 535, 19, 64, 20, 6888, 4309, 21101, 5332, 18213, 15, 1, 198, 12303, 312, 796, 366, 1065, 3324, 65, 19, 19881, 12, 20, 30273, 12, 1120, 69, 20, 12, 1350, 18, 67, 12, 46815, 67, 23, 32883, 64, 3134, 64, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 15307, 2364, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 38, 2442, 84, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 6420, 6048, 69, 37680, 22260, 6659, 7568, 24, 3609, 21, 344, 65, 1238, 65, 24, 3270, 3609, 20, 46435, 324, 16, 2934, 1, 198, 12303, 312, 796, 366, 41561, 67, 19, 64, 891, 12, 2919, 1415, 12, 47396, 65, 12, 15630, 19, 67, 12, 69, 17, 68, 24, 64, 21, 66, 19, 18298, 69, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 50, 11603, 11907, 198, 12303, 312, 796, 366, 2414, 5237, 5036, 15, 65, 12, 1731, 2934, 12, 3980, 3132, 12, 23, 40035, 12, 1860, 24, 3901, 69, 3829, 2934, 535, 1, 198, 198, 30109, 10378, 82, 13, 50, 24707, 2348, 7727, 907, 11907, 198, 10378, 82, 796, 14631, 6601, 44909, 942, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 2091, 5066, 67, 4524, 1899, 69, 22, 67, 2931, 23, 6888, 2931, 1065, 66, 3388, 65, 2919, 17, 69, 2425, 26704, 67, 15426, 23, 1, 198, 12303, 312, 796, 366, 64, 17, 1878, 1157, 2791, 12, 64, 2919, 69, 12, 20, 69, 2414, 12, 23, 3510, 66, 12, 5824, 64, 15, 67, 18, 344, 69, 2780, 66, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 50, 29572, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 29531, 8973, 198, 12303, 312, 796, 366, 17, 69, 486, 22883, 68, 12, 68, 1828, 65, 12, 20, 7568, 20, 12, 3609, 5066, 12, 67, 6052, 1765, 397, 3388, 68, 1878, 1, 198, 198, 30109, 10378, 82, 13, 13409, 24629, 2733, 11907, 198, 10378, 82, 796, 14631, 11505, 22882, 24629, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 23, 67, 23, 65, 23, 64, 24, 69, 3901, 22337, 27696, 940, 21142, 35402, 6814, 19, 535, 23, 46438, 64, 16, 68, 33618, 1, 198, 12303, 312, 796, 366, 27988, 67, 1878, 2791, 12, 2548, 3104, 12, 20, 31115, 12, 24, 7252, 19, 12, 10210, 20964, 67, 24, 2548, 3901, 65, 1, 198, 9641, 796, 366, 15, 13, 940, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 26568, 715, 2977, 14881, 11907, 198, 10378, 82, 796, 14631, 7248, 3245, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2670, 66, 24, 69, 40248, 2481, 2934, 23, 2598, 14774, 17544, 2920, 891, 67, 19, 69, 24, 22047, 68, 22, 276, 3559, 69, 24, 1, 198, 12303, 312, 796, 366, 27192, 67, 38605, 68, 12, 65, 2857, 65, 12, 39226, 64, 12, 1795, 3720, 12, 20, 891, 64, 45191, 66, 27211, 68, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 1415, 1, 198, 198, 30109, 10378, 82, 13, 9012, 14106, 5841, 1424, 11907, 198, 10378, 82, 796, 14631, 20344, 2455, 507, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 46912, 23588, 602, 1600, 366, 27871, 320, 1600, 366, 35422, 1068, 5216, 26448, 1600, 366, 34220, 26601, 8231, 1600, 366, 18557, 69, 1600, 366, 6690, 18636, 14881, 1600, 366, 18960, 282, 45461, 27654, 408, 1600, 366, 2484, 21715, 3163, 20477, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 69, 20, 67, 21, 69, 19, 65, 891, 1415, 405, 11848, 22148, 65, 2154, 67, 30460, 69, 1314, 2075, 69, 16, 69, 4531, 3609, 22, 66, 20, 1, 198, 12303, 312, 796, 366, 2079, 31575, 69, 2623, 12, 23, 1983, 66, 12, 20, 25964, 12, 5607, 66, 24, 12, 67, 22, 69, 24, 1453, 29143, 66, 3695, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 1129, 1, 198, 198, 30109, 10378, 82, 13, 45442, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 29531, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 66, 4304, 1860, 68, 2414, 67, 48597, 2079, 68, 2998, 19, 330, 2999, 1765, 17, 68, 23, 7012, 23, 24970, 67, 40173, 6814, 1, 198, 12303, 312, 796, 366, 46815, 2718, 487, 64, 12, 22, 27203, 12, 3980, 1821, 12, 6659, 65, 24, 12, 68, 31211, 2718, 28727, 24294, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 1485, 1, 198, 198, 30109, 10378, 82, 13, 17126, 19929, 15721, 896, 11907, 198, 10378, 82, 796, 14631, 23010, 811, 31431, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 22996, 2624, 66, 3609, 19, 67, 18, 17059, 68, 17, 69, 17, 24294, 17457, 2857, 69, 23, 67, 23, 65, 41544, 18213, 2598, 2670, 1, 198, 12303, 312, 796, 366, 2414, 65, 487, 37128, 12, 1238, 5705, 12, 3559, 6814, 12, 64, 18, 68, 21, 12, 24, 11848, 48524, 486, 66, 15, 66, 24, 1, 198, 9641, 796, 366, 17, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 48346, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 12303, 312, 796, 366, 15982, 2231, 65, 1433, 12, 3720, 344, 12, 1157, 68, 23, 12, 1157, 69, 24, 12, 22, 67, 1485, 324, 2624, 64, 18, 65, 17, 1, 198, 198, 30109, 10378, 82, 13, 29668, 17614, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1129, 3365, 1983, 1495, 3104, 17896, 24096, 64, 16, 67, 3459, 16, 330, 65, 44673, 1350, 65, 44675, 66, 3695, 2816, 940, 1, 198, 12303, 312, 796, 366, 6469, 3609, 5774, 2920, 12, 3324, 276, 12, 19, 5036, 21, 12, 3609, 20, 69, 12, 69, 49803, 1314, 18938, 19, 65, 15, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 29668, 14881, 11907, 198, 10378, 82, 796, 14631, 6601, 17614, 1600, 366, 6601, 44909, 942, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 11187, 16870, 24629, 2733, 1600, 366, 17140, 654, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 50, 24707, 2348, 7727, 907, 1600, 366, 50, 29572, 3163, 20477, 1600, 366, 48346, 1600, 366, 29668, 17614, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1765, 2327, 67, 535, 2791, 40486, 65, 17, 1860, 64, 40675, 3720, 65, 24, 64, 16, 1350, 1558, 41948, 67, 19504, 6420, 64, 1, 198, 12303, 312, 796, 366, 1959, 1485, 11848, 67, 17, 12, 3609, 23, 64, 12, 20, 69, 4869, 12, 23, 66, 2079, 12, 19, 21855, 21, 66, 4304, 69, 18, 64, 6420, 1, 198, 9641, 796, 366, 15, 13, 2091, 13, 1065, 1, 198, 198, 30109, 10378, 82, 13, 29668, 37, 13271, 11907, 198, 10378, 82, 796, 14631, 49, 11018, 1600, 366, 13409, 24629, 2733, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 771, 2816, 16344, 19, 65, 3609, 25257, 64, 23, 18213, 1065, 1120, 5999, 1415, 68, 45151, 7568, 5333, 69, 15, 7012, 2231, 1, 198, 12303, 312, 796, 366, 19, 66, 5066, 67, 17, 65, 24, 12, 19, 32066, 12, 4051, 9945, 12, 23, 13227, 12, 1558, 65, 2414, 66, 2670, 68, 3682, 66, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 22, 1, 198, 198, 30109, 10378, 82, 13, 29668, 3646, 1747, 11907, 198, 10378, 82, 796, 14631, 2601, 436, 1586, 1600, 366, 6601, 44909, 942, 1600, 366, 6601, 40161, 1600, 366, 20344, 2455, 507, 1600, 366, 9492, 16104, 602, 1600, 366, 42, 7948, 35, 6377, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 15205, 42524, 29668, 1600, 366, 31310, 712, 2977, 1600, 366, 3646, 1747, 1600, 366, 6690, 18636, 14881, 1600, 366, 6690, 18636, 47, 541, 4470, 1600, 366, 3041, 39344, 1600, 366, 29668, 14881, 1600, 366, 10962, 18843, 602, 1600, 366, 51, 2977, 1600, 366, 54, 312, 11407, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1765, 25816, 11848, 3695, 67, 23, 64, 3510, 397, 4089, 10210, 1415, 20356, 68, 18, 344, 66, 20219, 64, 2598, 4304, 12993, 1, 198, 12303, 312, 796, 366, 69, 18, 65, 22745, 64, 22, 12, 44698, 64, 12, 20, 68, 2154, 12, 65, 28676, 12, 4521, 31675, 67, 3720, 2816, 16344, 1, 198, 9641, 796, 366, 15, 13, 1415, 13, 2078, 1, 198, 198, 30109, 10378, 82, 13, 44909, 3163, 20477, 11907, 198, 10378, 82, 796, 14631, 48003, 1600, 366, 6601, 17614, 1600, 366, 45442, 3163, 20477, 1600, 366, 51, 2977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 344, 3901, 68, 15, 67, 3023, 17, 66, 1899, 21142, 22042, 68, 24, 21855, 22, 21526, 64, 18, 19881, 324, 19881, 1120, 67, 18, 1, 198, 12303, 312, 796, 366, 2931, 397, 33372, 65, 12, 69, 17, 65, 21, 12, 49561, 69, 12, 65, 5824, 64, 12, 17, 69, 5999, 12993, 19, 64, 23, 3682, 64, 1, 198, 9641, 796, 366, 15, 13, 21, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 5606, 578, 50, 29572, 11907, 198, 10378, 82, 796, 14631, 25835, 25404, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 32634, 1634, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 12303, 312, 796, 366, 19, 31980, 65, 15, 69, 15, 12, 3312, 69, 18, 12, 20, 66, 6814, 12, 65, 21, 65, 16, 12, 64, 21, 25272, 64, 1558, 1959, 68, 24, 1, 198, 198, 30109, 10378, 82, 13, 15979, 44292, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 23, 1129, 67, 3324, 69, 3132, 69, 5999, 68, 3553, 5892, 64, 40761, 6659, 1453, 68, 16, 18213, 21, 31575, 397, 23, 41019, 1, 198, 12303, 312, 796, 366, 16344, 2931, 2857, 3134, 12, 64, 29211, 12, 20, 69, 16, 69, 12, 5607, 2078, 12, 3553, 12993, 1558, 67, 15, 11848, 21855, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 51, 2662, 43, 11907, 198, 10378, 82, 796, 14631, 35, 689, 8973, 198, 12303, 312, 796, 366, 13331, 25674, 69, 16, 69, 12, 1899, 2920, 12, 19, 69, 1415, 12, 7252, 4051, 12, 2091, 65, 1878, 3609, 16, 276, 4304, 1, 198, 198, 30109, 10378, 82, 13, 10962, 18843, 602, 11907, 198, 10378, 82, 796, 14631, 31837, 20538, 3163, 20477, 1600, 366, 51, 2977, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 30484, 330, 16344, 20, 64, 19, 64, 21, 66, 20, 69, 15, 69, 2548, 2934, 3388, 69, 17, 487, 22, 276, 20, 1983, 69, 1507, 6659, 6814, 1, 198, 12303, 312, 796, 366, 397, 2999, 64, 16, 65, 17, 12, 64, 22, 7568, 12, 1157, 68, 23, 12, 21599, 68, 12, 21855, 1507, 2091, 69, 1120, 65, 5774, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 10962, 15721, 896, 11907, 198, 10378, 82, 796, 14631, 37787, 39317, 11627, 5736, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 3312, 65, 17, 69, 20, 2670, 7568, 16, 66, 21, 891, 64, 3720, 2598, 4521, 397, 21855, 21, 276, 1238, 18182, 5333, 64, 2670, 1, 198, 12303, 312, 796, 366, 2718, 5999, 65, 9945, 23, 12, 19, 64, 4089, 12, 20, 65, 21, 65, 12, 1878, 24, 64, 12, 47372, 69, 1959, 64, 20, 5036, 24, 66, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 51, 2977, 11907, 198, 10378, 82, 796, 14631, 6601, 17614, 1600, 366, 6601, 11395, 9492, 32186, 1600, 366, 37787, 39317, 11627, 5736, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 10962, 15721, 896, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19082, 2682, 67, 15, 68, 4869, 65, 24, 1558, 2682, 19881, 15, 64, 22, 68, 940, 1765, 16, 11848, 2713, 27137, 1860, 65, 10210, 15, 1, 198, 12303, 312, 796, 366, 17457, 30803, 1878, 21, 12, 64, 721, 16, 12, 20, 324, 15, 12, 65, 1433, 64, 12, 69, 22, 535, 4059, 23, 25948, 66, 1, 198, 9641, 796, 366, 16, 13, 21, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 47079, 11907, 198, 10378, 82, 796, 14631, 28100, 33637, 1600, 366, 37596, 8973, 198, 12303, 312, 796, 366, 64, 19, 68, 20, 3388, 64, 21, 12, 68, 36088, 12, 19, 13331, 19, 12, 65, 15, 69, 18, 12, 68, 891, 22, 64, 16, 67, 20, 65, 1485, 68, 1, 198, 198, 30109, 10378, 82, 13, 44798, 282, 11187, 5355, 11907, 198, 10378, 82, 796, 14631, 18819, 16424, 11028, 50, 27448, 51, 6037, 1600, 366, 11187, 2667, 1600, 366, 9704, 2902, 1600, 366, 18557, 69, 1600, 366, 32577, 11187, 2667, 1600, 366, 52, 27586, 82, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 38850, 64, 3312, 16, 21101, 17, 64, 20, 3388, 1270, 65, 4309, 65, 7568, 20, 12993, 24, 2919, 64, 20, 66, 19, 13331, 23, 68, 4304, 64, 1, 198, 12303, 312, 796, 366, 20, 67, 46302, 65, 5892, 12, 16, 68, 2780, 12, 19, 67, 21, 69, 12, 24, 24309, 12, 21, 65, 2598, 3324, 6888, 24, 3077, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 14402, 11907, 198, 10378, 82, 796, 14631, 9492, 5275, 18274, 4487, 1600, 366, 11187, 2667, 1600, 366, 29531, 1600, 366, 32634, 1634, 8973, 198, 12303, 312, 796, 366, 23, 7568, 276, 46841, 12, 68, 1828, 66, 12, 20, 68, 2919, 12, 5332, 68, 16, 12, 2996, 66, 20, 24409, 69, 15, 65, 1821, 1, 198, 198, 30109, 10378, 82, 13, 16818, 278, 18274, 2410, 11907, 198, 10378, 82, 796, 14631, 38469, 1634, 14881, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2414, 64, 17, 1350, 22, 66, 22, 2670, 4349, 67, 22, 66, 32531, 1765, 1821, 64, 1433, 47838, 68, 20, 68, 21, 69, 1860, 64, 38472, 1, 198, 12303, 312, 796, 366, 23, 24369, 67, 22567, 12, 66, 3609, 18, 12, 2920, 66, 15, 12, 7410, 17, 12, 66, 23, 66, 1731, 67, 3553, 67, 397, 20, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 18, 1, 198, 198, 30109, 10378, 82, 13, 7575, 57, 1952, 11907, 198, 10378, 82, 796, 14631, 35, 689, 1600, 366, 29783, 1600, 366, 43, 12582, 8001, 37199, 1600, 366, 44, 8629, 1600, 366, 47, 10025, 1600, 366, 18557, 69, 1600, 366, 6690, 18636, 14881, 1600, 366, 32634, 1634, 1600, 366, 3118, 291, 1098, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 64, 20, 34427, 487, 9945, 67, 23, 2920, 64, 4089, 31938, 66, 2791, 1120, 14822, 68, 3720, 5036, 4531, 64, 39226, 4309, 1, 198, 12303, 312, 796, 366, 69, 26276, 64, 3510, 65, 12, 535, 69, 22, 12, 20, 67, 4790, 12, 11231, 64, 12, 19, 66, 35844, 30368, 7252, 4310, 1, 198, 9641, 796, 366, 16, 13, 20, 13, 24, 1, 198, 198, 30109, 10378, 82, 13, 48801, 26410, 82, 11907, 198, 10378, 82, 796, 14631, 3109, 1050, 33637, 1600, 366, 18557, 69, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22, 21101, 29228, 69, 31128, 68, 23, 69, 24, 67, 15377, 64, 23, 65, 1495, 68, 23, 7568, 276, 69, 3365, 13331, 20, 40523, 15630, 1, 198, 12303, 312, 796, 366, 64, 38314, 69, 19, 65, 24, 12, 68, 17, 69, 16, 12, 3270, 17896, 12, 4521, 18, 68, 12, 19, 64, 1765, 5333, 65, 16, 18213, 23, 69, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 1485, 1, 198, 198, 30109, 10378, 82, 13, 35694, 11907, 198, 10378, 82, 796, 14631, 48003, 1600, 366, 28813, 37766, 1600, 366, 39746, 28813, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 14155, 305, 33637, 1600, 366, 6144, 8019, 1600, 366, 26705, 32755, 776, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 39618, 1600, 366, 13409, 24629, 2733, 1600, 366, 48346, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19881, 19, 324, 69, 15277, 5237, 1878, 66, 24, 2481, 69, 28072, 1878, 19, 9945, 3365, 69, 3312, 22370, 33580, 14822, 1, 198, 12303, 312, 796, 366, 24, 69, 22, 49287, 324, 12, 4869, 66, 15, 12, 3553, 1765, 12, 24, 69, 22, 69, 12, 65, 20, 66, 24, 68, 21, 67, 2718, 4531, 66, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 1433, 1, 198, 198, 30109, 10378, 82, 13, 8291, 66, 7656, 12124, 82, 11907, 198, 10378, 82, 796, 14631, 29531, 1600, 366, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20666, 65, 3865, 18213, 11442, 65, 3270, 4761, 9945, 2996, 7252, 3829, 69, 3459, 67, 23, 67, 4531, 17896, 65, 3459, 4349, 66, 1, 198, 12303, 312, 796, 366, 18, 11848, 3134, 5036, 23, 12, 6469, 65, 16, 12, 1120, 2078, 12, 23, 68, 2075, 12, 5892, 64, 21, 66, 4051, 26561, 13331, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 21, 1, 198, 198, 30109, 10378, 82, 13, 8291, 41213, 11907, 198, 10378, 82, 796, 14631, 48003, 1600, 366, 28100, 9787, 1600, 366, 43984, 43984, 1600, 366, 14881, 1616, 1600, 366, 5377, 1930, 1756, 14881, 1600, 366, 7469, 500, 29974, 1616, 684, 1600, 366, 20344, 6169, 1600, 366, 24243, 40161, 1600, 366, 11187, 2667, 1600, 366, 9704, 2902, 1600, 366, 13031, 5216, 26448, 1600, 366, 39618, 1600, 366, 7248, 3245, 1600, 366, 26568, 715, 2977, 14881, 1600, 366, 51, 2977, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 12501, 22, 65, 3695, 2670, 69, 1954, 22521, 24591, 2154, 65, 18, 65, 12952, 22, 6888, 3324, 66, 1485, 276, 21, 3132, 67, 1, 198, 12303, 312, 796, 366, 2078, 67, 3553, 64, 5332, 12, 23, 69, 891, 12, 3553, 6420, 12, 65, 5036, 21, 12, 64, 34583, 2078, 68, 22, 66, 17032, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 2791, 1, 198, 198, 30109, 10378, 82, 13, 41762, 23907, 2977, 11907, 198, 10378, 82, 796, 14631, 28100, 9787, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 39746, 28813, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 47, 10025, 1600, 366, 29531, 1600, 366, 3118, 11869, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5824, 2091, 891, 66, 5332, 2231, 64, 4310, 64, 24, 64, 2682, 2934, 15, 66, 9945, 6052, 1433, 69, 2079, 6469, 64, 24, 69, 24369, 1, 198, 12303, 312, 796, 366, 5705, 67, 48634, 1860, 12, 3104, 1899, 12, 3553, 69, 24, 12, 64, 16, 64, 22, 12, 21, 6814, 20, 9945, 19420, 66, 487, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 27660, 7680, 82, 11907, 198, 10378, 82, 796, 14631, 14402, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 67, 15, 67, 22, 64, 18, 5036, 17, 69, 1270, 67, 21, 64, 22, 69, 48634, 64, 20, 69, 1129, 69, 22, 66, 22, 64, 20, 65, 34107, 68, 3609, 21, 1, 198, 12303, 312, 796, 366, 64, 17, 64, 2791, 3865, 66, 12, 65, 3901, 65, 12, 20, 65, 22, 67, 12, 8432, 24, 12, 9945, 69, 2934, 44977, 20, 67, 22, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 51, 870, 11907, 198, 10378, 82, 796, 14631, 23839, 9655, 9655, 1600, 366, 28809, 39, 9655, 1600, 366, 28809, 36208, 1600, 366, 28809, 12861, 1600, 366, 43984, 43984, 1600, 366, 23286, 752, 669, 1600, 366, 20344, 2455, 507, 1600, 366, 20344, 2455, 507, 2885, 1600, 366, 23579, 10100, 11627, 5736, 1600, 366, 44090, 47, 6489, 1600, 366, 30639, 10257, 605, 11122, 501, 16305, 11347, 1600, 366, 39746, 28813, 1600, 366, 25835, 35943, 1600, 366, 14993, 451, 2348, 29230, 1600, 366, 11187, 35, 6377, 2964, 22143, 1600, 366, 9655, 9655, 1925, 1299, 1600, 366, 45, 2434, 3163, 20477, 1600, 366, 18557, 69, 1600, 366, 29531, 1600, 366, 3041, 39344, 1600, 366, 39618, 1600, 366, 13409, 24629, 2733, 1600, 366, 48346, 1600, 366, 29668, 14881, 1600, 366, 29668, 37, 13271, 1600, 366, 35694, 1600, 366, 57, 35641, 1258, 37766, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 17, 65, 3553, 19504, 68, 15, 69, 19, 66, 3270, 68, 18897, 1860, 2682, 67, 20, 69, 15, 21855, 18, 65, 535, 3134, 330, 2996, 3609, 1, 198, 12303, 312, 796, 366, 69, 344, 20, 5036, 6469, 12, 20, 3901, 64, 12, 3270, 64, 21, 12, 324, 69, 23, 12, 43916, 66, 2414, 65, 20, 69, 24, 64, 15, 1, 198, 9641, 796, 366, 15, 13, 1314, 13, 16, 1, 198, 198, 30109, 10378, 82, 13, 4261, 3792, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5607, 65, 1350, 38172, 64, 4310, 5036, 23, 3270, 36657, 10210, 24, 2998, 69, 17, 67, 4846, 64, 1453, 23, 67, 17, 66, 1485, 2816, 1, 198, 12303, 312, 796, 366, 20, 66, 1983, 2857, 69, 23, 12, 65, 22, 18213, 12, 19, 487, 17, 12, 7012, 17, 68, 12, 46572, 65, 16344, 2623, 65, 16, 67, 19, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 52, 27586, 82, 11907, 198, 10378, 82, 796, 14631, 29531, 1600, 366, 37596, 8973, 198, 12303, 312, 796, 366, 12993, 22, 16817, 64, 22, 12, 3388, 4304, 12, 20, 65, 16, 64, 12, 24, 64, 2670, 12, 22, 324, 66, 4761, 69, 48952, 64, 19, 1, 198, 198, 30109, 10378, 82, 13, 3118, 11869, 11907, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 32220, 66, 16, 69, 22, 32128, 1828, 3132, 68, 4521, 68, 15, 66, 24, 66, 20, 34938, 344, 18, 65, 19, 64, 15, 64, 24, 64, 15, 66, 17, 65, 1, 198, 12303, 312, 796, 366, 18, 64, 40353, 276, 21, 12, 3132, 891, 12, 2857, 67, 22, 12, 24, 67, 17, 64, 12, 5066, 24294, 66, 2920, 2078, 276, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 3118, 291, 1098, 11907, 198, 12303, 312, 796, 366, 19, 721, 15, 64, 5999, 68, 12, 43134, 68, 12, 1120, 68, 17, 12, 65, 24, 330, 12, 23, 69, 4761, 330, 69, 20, 64, 23, 69, 20, 1, 198, 198, 30109, 10378, 82, 13, 28165, 10002, 11907, 198, 10378, 82, 796, 14631, 40717, 1600, 366, 32577, 44, 2357, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2713, 69, 23, 3134, 1270, 66, 22, 64, 4310, 66, 24, 6814, 35642, 17457, 35638, 64, 19, 16072, 24, 324, 2919, 41647, 4869, 66, 1, 198, 12303, 312, 796, 366, 23, 3980, 330, 2718, 64, 12, 1270, 2624, 12, 19, 66, 16, 66, 12, 24, 18376, 12, 69, 4521, 67, 3459, 31128, 66, 23, 65, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 15, 1, 198, 198, 30109, 10378, 82, 13, 38469, 1634, 14881, 11907, 198, 10378, 82, 796, 14631, 19182, 39317, 1600, 366, 39, 86, 17946, 1600, 366, 1532, 40674, 1600, 366, 25835, 25404, 1600, 366, 14993, 451, 2348, 29230, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 69, 1983, 1860, 66, 4524, 69, 3023, 35175, 3553, 2857, 2920, 11848, 15, 64, 20, 65, 18, 69, 25667, 64, 20, 68, 22, 9945, 1433, 1, 198, 12303, 312, 796, 366, 18, 67, 20, 1860, 2919, 66, 12, 16344, 24, 67, 12, 1157, 68, 23, 12, 1558, 13331, 12, 276, 2078, 15277, 2780, 66, 17, 69, 1, 198, 9641, 796, 366, 15, 13, 1433, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 25309, 1044, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 3109, 8071, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 487, 72, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 5805, 17, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 18, 68, 5333, 69, 15, 65, 4521, 69, 3829, 67, 330, 65, 15, 15630, 15, 68, 4790, 64, 15, 66, 20, 64, 5999, 69, 21, 64, 4521, 2623, 68, 1954, 1, 198, 12303, 312, 796, 366, 64, 1959, 2414, 67, 16, 69, 12, 5607, 6814, 12, 1120, 67, 19, 12, 65, 6469, 64, 12, 31128, 66, 22, 69, 344, 24, 67, 4531, 1, 198, 9641, 796, 366, 16, 13, 1129, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 25309, 1044, 62, 11235, 4668, 82, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 25309, 1044, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2078, 2670, 69, 16, 66, 18741, 3388, 1821, 28727, 68, 2327, 7568, 15, 11848, 65, 17572, 69, 17, 64, 3720, 3104, 2791, 2154, 1, 198, 12303, 312, 796, 366, 1954, 6659, 19881, 23, 64, 12, 7568, 67, 15, 12, 41948, 67, 12, 24214, 12, 3720, 30005, 68, 22, 65, 16, 65, 6420, 1, 198, 9641, 796, 366, 16, 13, 1507, 13, 15, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 54, 312, 11407, 11907, 198, 10378, 82, 796, 14631, 5216, 669, 1600, 366, 35, 689, 1600, 366, 31310, 712, 2977, 1600, 366, 35422, 1068, 5216, 26448, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1795, 47159, 69, 3270, 67, 27800, 20964, 2624, 19924, 66, 22, 2718, 3720, 69, 23, 1350, 535, 1129, 64, 16616, 69, 17, 1, 198, 12303, 312, 796, 366, 535, 23, 15630, 19, 64, 23, 12, 1983, 67, 21, 12, 3553, 3388, 12, 64, 6052, 65, 12, 24, 67, 24, 1485, 68, 3388, 7252, 5237, 1, 198, 9641, 796, 366, 15, 13, 21, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 22911, 10711, 19044, 45977, 11907, 198, 10378, 82, 796, 14631, 14993, 451, 2348, 29230, 1600, 366, 50, 29572, 3163, 20477, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 31952, 68, 23, 69, 891, 67, 5999, 65, 2934, 19244, 67, 20, 16799, 16562, 17457, 18, 65, 3134, 5237, 66, 22, 2414, 64, 21, 1, 198, 12303, 312, 796, 366, 891, 344, 18, 69, 3104, 12, 2791, 17896, 12, 3365, 2548, 12, 24, 16102, 12, 1983, 64, 21, 67, 21, 69, 20, 69, 24, 65, 21, 1, 198, 9641, 796, 366, 15, 13, 20, 13, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 5805, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 4749, 85, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 16, 330, 69, 20, 65, 7568, 2998, 7252, 2931, 2998, 68, 15, 64, 2718, 67, 2718, 1507, 11848, 3459, 67, 19, 65, 39925, 65, 4524, 64, 1, 198, 12303, 312, 796, 366, 2999, 66, 23, 16072, 24, 66, 12, 65, 5607, 69, 12, 1120, 65, 24, 12, 65, 1350, 19, 12, 24, 1350, 1270, 487, 15, 64, 3695, 64, 1, 198, 9641, 796, 366, 17, 13, 24, 13, 1065, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 55, 8634, 51, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 25835, 70, 29609, 62, 73, 297, 1600, 366, 25835, 70, 6024, 62, 18224, 62, 73, 297, 1600, 366, 25835, 4749, 85, 62, 73, 297, 1600, 366, 47, 10025, 1600, 366, 55, 5805, 17, 62, 73, 297, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 1507, 31115, 4790, 66, 1821, 5332, 16102, 65, 3865, 68, 41544, 69, 46589, 66, 19, 344, 66, 19, 67, 28256, 69, 23, 64, 1, 198, 12303, 312, 796, 366, 8432, 30763, 64, 12, 23, 69, 6814, 12, 35378, 69, 12, 24, 29796, 12, 22, 65, 3023, 28771, 3270, 64, 5333, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 2682, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 87, 21101, 62, 73, 297, 1600, 366, 55, 2398, 62, 742, 26084, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 1350, 33300, 67, 22730, 69, 18, 69, 19, 65, 3865, 21495, 19881, 486, 5999, 65, 6469, 68, 25600, 27800, 2996, 1983, 1, 198, 12303, 312, 796, 366, 19, 69, 21, 31575, 69, 22, 12, 65, 18, 67, 17, 12, 44169, 68, 12, 24, 67, 1238, 12, 276, 1765, 2231, 69, 17, 65, 17, 15630, 1, 198, 9641, 796, 366, 16, 13, 21, 13, 24, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 559, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 68, 31503, 67, 20, 66, 39277, 66, 33638, 69, 2091, 3459, 3553, 3829, 276, 33289, 487, 18, 64, 5824, 344, 3134, 68, 1, 198, 12303, 312, 796, 366, 15, 66, 15, 65, 22, 1860, 16, 12, 67, 1821, 65, 12, 46352, 66, 12, 64, 10163, 12, 64, 35218, 1821, 69, 5774, 68, 721, 1, 198, 9641, 796, 366, 16, 13, 15, 13, 24, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 66, 21471, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 42624, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 13287, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1065, 68, 15, 1765, 18, 15630, 21, 2682, 13331, 1238, 1795, 66, 16, 66, 2718, 69, 535, 69, 3980, 69, 22, 66, 1828, 42520, 1878, 67, 1, 198, 12303, 312, 796, 366, 24, 2327, 21855, 22, 2414, 12, 23, 12993, 17, 12, 4310, 19881, 12, 11848, 1270, 12, 2231, 11848, 16, 69, 23, 19881, 22, 1731, 1, 198, 9641, 796, 366, 16, 13, 17, 13, 15, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 36020, 13155, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 5036, 2857, 17457, 17, 23753, 23045, 11623, 66, 19, 27693, 41019, 1821, 68, 1507, 64, 3104, 1485, 4761, 1860, 19, 1, 198, 12303, 312, 796, 366, 64, 2718, 4531, 22, 2682, 12, 66, 5036, 16, 12, 20, 65, 3312, 12, 65, 17, 67, 15, 12, 16, 1860, 15, 67, 24, 67, 5237, 67, 2713, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 18, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 65, 22, 66, 15, 7252, 23, 66, 32128, 65, 3132, 68, 2780, 4309, 65, 15277, 1828, 2078, 34251, 2718, 69, 40271, 69, 23, 66, 18, 1, 198, 12303, 312, 796, 366, 15711, 2075, 2670, 64, 12, 15, 67, 3609, 12, 20, 69, 2682, 12, 24, 65, 3312, 12, 47760, 6659, 1453, 65, 23, 21101, 18, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 19, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 42624, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 68, 15, 17896, 4524, 3132, 68, 22, 64, 2713, 31360, 3270, 69, 24, 27696, 3609, 721, 26276, 38339, 66, 2079, 16, 64, 19, 1, 198, 12303, 312, 796, 366, 67, 2931, 16, 68, 23, 7012, 12, 20, 3132, 64, 12, 44169, 66, 12, 24, 2934, 24, 12, 46899, 3388, 65, 15, 2718, 276, 23, 1, 198, 9641, 796, 366, 20, 13, 15, 13, 18, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 42528, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 42624, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 4531, 65, 4309, 15630, 17, 14198, 64, 324, 66, 5705, 67, 2154, 31495, 2670, 1270, 891, 15, 65, 487, 64, 2414, 1065, 3510, 1, 198, 12303, 312, 796, 366, 64, 4349, 7252, 15, 16344, 12, 19, 68, 18, 66, 12, 20, 21734, 12, 65, 23, 3829, 12, 68, 44550, 12501, 6814, 40256, 1, 198, 9641, 796, 366, 16, 13, 22, 13, 940, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 7274, 1689, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2075, 1350, 23, 65, 16, 66, 2682, 1959, 1959, 1495, 6052, 1558, 67, 23, 65, 24, 69, 22, 65, 4310, 19881, 17, 11848, 4790, 65, 10163, 1, 198, 12303, 312, 796, 366, 67, 1415, 4051, 29703, 12, 3270, 7568, 12, 20, 18213, 16, 12, 1350, 330, 12, 66, 23601, 69, 2481, 1270, 15630, 18, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 19, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 25192, 81, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 2302, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 13287, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 2682, 344, 64, 5999, 21101, 22, 2075, 21855, 3365, 69, 26582, 46660, 19881, 3312, 1065, 66, 21, 65, 18, 21855, 24096, 3132, 1, 198, 12303, 312, 796, 366, 721, 5705, 65, 45385, 12, 7012, 23, 68, 12, 20, 67, 4846, 12, 23, 7012, 16, 12, 17, 64, 40523, 7012, 940, 34137, 1, 198, 9641, 796, 366, 16, 13, 20, 13, 17, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 55, 13287, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 22186, 1899, 69, 1270, 16344, 2920, 69, 19, 67, 19, 891, 1350, 9879, 17, 64, 940, 2718, 69, 23, 66, 3559, 67, 3559, 65, 4846, 1, 198, 12303, 312, 796, 366, 18213, 17, 69, 16, 64, 4846, 12, 16, 1860, 66, 12, 35005, 67, 12, 65, 3510, 69, 12, 11785, 35916, 68, 2998, 12993, 64, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 940, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 79, 16663, 62, 301, 23161, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 30924, 2718, 2718, 68, 2231, 67, 18, 66, 3270, 64, 19, 64, 19, 66, 1821, 6420, 69, 20, 69, 3459, 10210, 12993, 2931, 2919, 66, 11848, 1, 198, 12303, 312, 796, 366, 1415, 67, 6469, 69, 2920, 12, 24096, 66, 12, 20, 276, 16, 12, 11848, 2920, 12, 324, 18, 69, 20, 66, 17457, 23, 66, 4524, 1, 198, 9641, 796, 366, 15, 13, 16, 13, 15, 10, 18, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 87, 21101, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 8634, 51, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 559, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 55, 36020, 13155, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 79, 16663, 62, 301, 23161, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 1878, 1558, 69, 2598, 1065, 2078, 68, 22, 64, 2548, 28460, 3510, 10210, 47202, 4531, 2078, 5333, 66, 487, 1433, 67, 21, 1, 198, 12303, 312, 796, 366, 66, 22, 12993, 17896, 5824, 12, 17896, 2624, 12, 2816, 2934, 12, 330, 4846, 12, 20, 64, 16, 65, 23, 67, 24, 3324, 66, 20, 65, 1, 198, 9641, 796, 366, 16, 13, 1485, 13, 15, 10, 18, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 8019, 87, 32812, 7753, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 55, 1157, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 24, 2075, 1878, 4521, 1558, 2598, 21777, 9945, 15, 1765, 8298, 67, 24, 68, 1821, 65, 20, 67, 1433, 1959, 1238, 1795, 65, 17, 1, 198, 12303, 312, 796, 366, 535, 5333, 68, 45385, 12, 15, 34229, 12, 45326, 66, 12, 23, 65, 2075, 12, 276, 17, 66, 3104, 330, 397, 22, 64, 1, 198, 9641, 796, 366, 16, 13, 16, 13, 15, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 21101, 62, 22602, 62, 9060, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 15, 36434, 15, 64, 1821, 27371, 7012, 16, 66, 7012, 17, 66, 16, 6814, 47325, 1731, 2091, 4846, 487, 23, 68, 5824, 65, 5607, 1, 198, 12303, 312, 796, 366, 17464, 20219, 1495, 12, 23, 23726, 12, 20, 69, 2816, 12, 11848, 15, 68, 12, 21, 67, 22, 6888, 1120, 11848, 2931, 65, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 15, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 21101, 62, 22602, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 87, 21101, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 22, 16344, 22, 65, 2078, 6659, 13331, 17, 68, 7252, 47760, 22985, 1238, 4531, 19, 67, 2670, 2548, 1558, 3695, 5237, 67, 16, 1, 198, 12303, 312, 796, 366, 17, 4299, 47512, 69, 12, 20, 324, 16, 12, 4310, 940, 12, 65, 1314, 65, 12, 65, 1314, 67, 3510, 69, 49351, 69, 20, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 15, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 21101, 62, 22602, 62, 13083, 88, 907, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 67, 1157, 4349, 68, 17, 66, 2231, 64, 47576, 69, 33916, 3901, 64, 20, 3134, 67, 1433, 3829, 68, 41583, 721, 4531, 65, 405, 1, 198, 12303, 312, 796, 366, 5607, 1120, 2598, 67, 17, 12, 4304, 68, 21, 12, 20, 69, 1350, 12, 19881, 2919, 12, 5607, 344, 22, 66, 2996, 4524, 66, 22, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 15, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 21101, 62, 22602, 62, 13287, 22602, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 7568, 67, 22, 64, 23, 69, 2548, 67, 3510, 1485, 65, 21, 64, 36189, 28592, 65, 18, 22985, 1860, 2079, 16, 6888, 21, 24839, 68, 1, 198, 12303, 312, 796, 366, 15, 67, 2857, 35809, 68, 12, 15, 28933, 12, 20, 64, 3388, 12, 64, 4761, 66, 12, 69, 4304, 1433, 1270, 19881, 65, 22, 68, 1, 198, 9641, 796, 366, 15, 13, 18, 13, 24, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 21101, 62, 22602, 62, 26377, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 87, 21101, 62, 22602, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 3695, 67, 940, 64, 397, 486, 64, 19, 64, 21526, 23726, 66, 4059, 21, 276, 2598, 16344, 24, 68, 23, 68, 3132, 65, 3134, 1, 198, 12303, 312, 796, 366, 66, 1828, 69, 24, 397, 15, 12, 67, 20, 5036, 12, 1120, 2791, 12, 23, 2857, 66, 12, 69, 19, 11848, 16, 10210, 19, 68, 35195, 1, 198, 9641, 796, 366, 15, 13, 19, 13, 16, 10, 16, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 32812, 5589, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 8019, 87, 32812, 7753, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 15630, 19881, 39885, 69, 21, 66, 17, 68, 45722, 69, 5774, 68, 39277, 64, 27192, 65, 16315, 67, 3312, 1453, 24136, 65, 1, 198, 12303, 312, 796, 366, 2327, 2791, 1415, 4310, 12, 65, 27693, 12, 20, 36434, 12, 23, 64, 405, 12, 18, 67, 24, 14198, 66, 21, 64, 18, 64, 19, 1, 198, 9641, 796, 366, 16, 13, 19, 13, 17, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 87, 2539, 3526, 62, 11250, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 55, 2398, 62, 87, 32812, 5589, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 20, 66, 5705, 1731, 69, 23, 64, 3134, 66, 18, 69, 17572, 24, 27720, 67, 2598, 1495, 69, 18, 67, 35038, 39071, 3270, 3132, 67, 1, 198, 12303, 312, 796, 366, 2091, 9423, 3365, 68, 12, 1065, 4790, 12, 25836, 69, 12, 5824, 486, 12, 20, 67, 20, 29211, 2075, 69, 23, 1828, 1, 198, 9641, 796, 366, 17, 13, 1983, 13, 15, 10, 19, 1, 198, 198, 30109, 10378, 82, 13, 55, 2398, 62, 742, 26084, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3720, 66, 3132, 68, 3695, 2598, 69, 21, 721, 69, 40393, 34801, 69, 15630, 1065, 20964, 1765, 19782, 65, 22, 67, 23, 2231, 1, 198, 12303, 312, 796, 366, 66, 20, 21855, 20, 34626, 12, 64, 21, 2548, 12, 20, 68, 19, 67, 12, 4846, 68, 20, 12, 65, 1959, 2934, 16, 65, 20, 12993, 940, 1, 198, 9641, 796, 366, 16, 13, 19, 13, 15, 10, 18, 1, 198, 198, 30109, 10378, 82, 13, 57, 8019, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 23, 2718, 2425, 64, 3365, 12, 16, 69, 16, 67, 12, 48645, 69, 12, 65, 24991, 12, 67, 50055, 4051, 397, 25816, 64, 1, 198, 198, 30109, 10378, 82, 13, 57, 19282, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 535, 19, 19881, 18, 69, 1860, 68, 23, 65, 22, 68, 18, 68, 24, 13331, 15, 35273, 17457, 2308, 7012, 16, 12993, 18, 65, 22, 69, 21, 68, 21, 1, 198, 12303, 312, 796, 366, 18, 25948, 67, 18, 64, 18, 12, 65, 7568, 21, 12, 20, 23237, 12, 23, 1157, 64, 12, 47941, 31751, 9945, 3324, 65, 19, 1, 198, 9641, 796, 366, 16, 13, 20, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 57, 35641, 1258, 37766, 11907, 198, 10378, 82, 796, 14631, 14155, 305, 33637, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 23, 66, 16, 64, 23, 68, 19, 7568, 330, 65, 16, 16344, 5066, 1558, 2231, 40427, 66, 23, 9945, 2327, 67, 15, 11275, 2931, 18213, 15, 1, 198, 12303, 312, 796, 366, 9879, 2934, 16, 64, 20, 12, 9945, 2231, 12, 3510, 15630, 12, 2079, 12993, 12, 2548, 1238, 2154, 4089, 65, 30272, 1, 198, 9641, 796, 366, 15, 13, 17, 13, 17, 1, 198, 198, 30109, 10378, 82, 13, 8019, 562, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 33, 13344, 17, 62, 73, 297, 1600, 366, 11146, 6030, 17, 62, 73, 297, 1600, 366, 30214, 33, 19830, 62, 73, 297, 1600, 366, 13587, 69, 48230, 62, 73, 297, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 3270, 6469, 64, 5824, 16072, 7012, 1238, 69, 2999, 69, 3682, 558, 2598, 65, 4089, 5824, 1453, 17, 65, 15187, 5036, 2857, 1, 198, 12303, 312, 796, 366, 15, 330, 5237, 69, 2425, 12, 16, 67, 21, 69, 12, 20, 68, 4310, 12, 17457, 22, 66, 12, 6052, 65, 34137, 11848, 2718, 66, 15, 1, 198, 9641, 796, 366, 15, 13, 1314, 13, 16, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 8019, 39806, 81, 696, 14453, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 1600, 366, 11505, 9148, 1921, 62, 73, 297, 8973, 198, 12303, 312, 796, 366, 23, 68, 25764, 65, 3829, 12, 4521, 9945, 12, 20, 2682, 66, 12, 64, 15, 67, 18, 12, 1415, 3695, 24096, 66, 22, 67, 6052, 1, 198, 198, 30109, 10378, 82, 13, 8019, 16344, 74, 62, 64, 330, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 6814, 4134, 5705, 64, 3023, 1314, 5066, 69, 24, 2996, 1350, 47448, 3270, 64, 2623, 68, 1558, 66, 19, 68, 19, 69, 10210, 2816, 1, 198, 12303, 312, 796, 366, 69, 21, 2548, 69, 15, 64, 21, 12, 22, 21855, 15, 12, 20, 34938, 12, 3459, 7012, 12, 16, 535, 4524, 23539, 65, 21033, 1, 198, 9641, 796, 366, 17, 13, 15, 13, 17, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 8019, 11134, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 57, 8019, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 5824, 67, 15259, 64, 21, 67, 17, 65, 20, 68, 2816, 68, 34825, 68, 17, 67, 1983, 64, 1959, 276, 3023, 5036, 3720, 1765, 1270, 66, 1, 198, 12303, 312, 796, 366, 65, 4310, 65, 19, 66, 2996, 12, 24, 32066, 12, 3365, 1983, 12, 65, 16, 18213, 12, 23, 66, 22, 64, 16, 64, 5705, 35638, 69, 1, 198, 9641, 796, 366, 16, 13, 21, 13, 2548, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 8019, 20867, 41907, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 46, 1130, 62, 73, 297, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 66, 2231, 69, 19, 68, 1821, 68, 22, 64, 8635, 24, 67, 2919, 21, 29088, 68, 2816, 40401, 2857, 721, 23, 65, 3865, 64, 23, 21855, 1, 198, 12303, 312, 796, 366, 69, 1983, 69, 21, 68, 2718, 12, 20, 67, 17, 65, 12, 4349, 7252, 12, 39277, 69, 12, 65, 27800, 69, 17, 15630, 18, 65, 22, 64, 1, 198, 9641, 796, 366, 16, 13, 18, 13, 22, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 77, 456, 29281, 17, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 23, 68, 25764, 18654, 12, 30610, 23, 12, 20, 29626, 12, 64, 2998, 66, 12, 22709, 330, 67, 17, 64, 1878, 23, 67, 1, 198, 198, 30109, 10378, 82, 13, 79, 22, 13344, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 25835, 25404, 8973, 198, 12303, 312, 796, 366, 18, 69, 1129, 68, 24, 2091, 12, 2091, 67, 23, 12, 4310, 65, 18, 12, 7252, 397, 12, 17457, 4349, 940, 66, 18, 65, 22, 64, 15, 1, 198, 198, 30109, 10378, 82, 13, 87, 18897, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 19, 5036, 64, 36993, 65, 4531, 68, 21, 721, 1120, 2231, 6052, 20964, 19881, 23, 65, 24, 3459, 65, 17, 66, 28694, 1828, 65, 17, 1, 198, 12303, 312, 796, 366, 1065, 2154, 276, 69, 20, 12, 69, 17, 69, 24, 12, 4309, 67, 17, 12, 5607, 68, 24, 12, 397, 405, 65, 20, 67, 15, 24693, 64, 1, 198, 9641, 796, 366, 1238, 2481, 13, 20, 13, 20, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 87, 22980, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 1453, 20, 3134, 64, 27192, 66, 344, 44215, 2154, 67, 3324, 324, 18, 64, 3559, 68, 24, 2999, 1507, 68, 29769, 2718, 64, 24, 1, 198, 12303, 312, 796, 366, 7568, 7252, 2931, 20, 69, 12, 1821, 3901, 12, 20, 67, 10210, 12, 6052, 1129, 12, 17, 36434, 67, 23, 34251, 65, 4304, 1, 198, 9641, 796, 366, 18, 13, 20, 13, 15, 10, 15, 1, 198, 198, 30109, 10378, 82, 13, 87, 32812, 11321, 62, 73, 297, 11907, 198, 10378, 82, 796, 14631, 8001, 37199, 1600, 366, 41, 3069, 36918, 11799, 1600, 366, 25835, 25404, 1600, 366, 47, 10025, 1600, 366, 25309, 1044, 62, 73, 297, 1600, 366, 25309, 1044, 62, 11235, 4668, 82, 62, 73, 297, 1600, 366, 55, 2398, 62, 8019, 87, 21101, 62, 73, 297, 1600, 366, 55, 2398, 62, 87, 2539, 3526, 62, 11250, 62, 73, 297, 8973, 198, 18300, 12, 21048, 12, 26270, 16, 796, 366, 68, 344, 22370, 486, 4524, 22186, 11848, 3132, 2934, 16, 64, 5066, 1350, 64, 18, 64, 3901, 3609, 16, 7252, 49051, 65, 21, 1, 198, 12303, 312, 796, 366, 67, 23, 21855, 3104, 67, 15, 12, 1065, 64, 18, 12, 20, 12993, 67, 12, 64, 5332, 64, 12, 67, 2920, 36809, 65, 21652, 16344, 1, 198, 9641, 796, 366, 15, 13, 24, 13, 16, 10, 20, 1, 198, 37811, 198, 198, 2, 2343, 243, 242, 28670, 22880, 94, 12440, 1502, 25, 198, 2, 2343, 243, 253, 7280, 2931, 64, 24, 67, 24, 69, 24, 12, 13331, 16, 64, 12, 19, 17477, 12, 3865, 535, 12, 23, 1485, 1415, 3365, 1731, 3459, 65, 198, 2, 2343, 243, 253, 7280, 3901, 1765, 3829, 67, 16, 12, 24, 29119, 12, 3682, 65, 16, 12, 24, 1765, 17, 12, 67, 22, 7252, 2996, 5999, 6814, 1558, 198, 2, 2343, 243, 253, 7280, 7252, 40035, 1959, 64, 12, 15, 65, 2919, 12, 11785, 24, 12, 64, 1415, 66, 12, 66, 24, 1765, 17, 1765, 2996, 67, 20, 66, 198, 2, 2343, 243, 253, 7280, 64, 48564, 66, 19, 66, 20, 12, 1415, 4349, 12, 2598, 67, 21, 12, 1350, 1983, 12, 69, 12865, 2091, 1821, 49287, 69, 198, 2, 2343, 243, 253, 7280, 2388, 2481, 1878, 12, 5774, 344, 12, 19, 67, 21, 67, 12, 64, 27936, 12, 21395, 344, 66, 344, 1120, 6420, 198, 2, 2343, 243, 254, 28670, 66, 19, 535, 21101, 22, 64, 12, 22, 67, 1433, 12, 19, 67, 6888, 12, 3865, 67, 24, 12, 2231, 66, 19, 15363, 12993, 19881, 15, 198, 2, 2343, 243, 254, 28670, 17, 1765, 45191, 15630, 12, 3559, 66, 20, 12, 19, 67, 4790, 12, 17457, 4869, 12, 15, 2934, 2231, 69, 24, 64, 18, 6888, 16, 198, 2, 2343, 243, 254, 28670, 11848, 66, 1878, 67, 4524, 12, 5607, 69, 19, 12, 19, 65, 23, 69, 12, 65, 487, 64, 12, 24, 30695, 1065, 67, 24, 64, 17, 1765, 198, 2, 2343, 243, 253, 7280, 67, 2996, 2934, 3980, 69, 12, 64, 21536, 12, 2598, 2078, 12, 24, 38942, 12, 1238, 64, 22, 28011, 67, 2623, 1983, 198, 2, 2343, 243, 253, 7280, 2548, 67, 20666, 22, 67, 12, 17, 6888, 17, 12, 19, 31952, 12, 24, 29703, 12, 9945, 39667, 535, 19, 19881, 1558, 198, 2, 2343, 243, 253, 7280, 18, 69, 15, 66, 16, 324, 66, 12, 18, 891, 67, 12, 19, 671, 12, 24, 64, 2996, 12, 64, 21315, 67, 23, 33032, 65, 5332, 198, 2, 2343, 243, 253, 7280, 36676, 66, 28555, 69, 12, 1433, 4310, 12, 27260, 67, 12, 39570, 16, 12, 23, 1731, 17896, 6469, 25061, 1765, 198, 2, 2343, 243, 253, 7280, 69, 2548, 1954, 33032, 12, 31360, 22, 12, 19, 36879, 12, 4521, 64, 23, 12, 19881, 44468, 67, 1795, 68, 1731, 67, 198, 2, 2343, 243, 253, 7280, 69, 3865, 66, 344, 68, 19, 12, 64, 17, 67, 18, 12, 2598, 5892, 12, 65, 23, 3388, 12, 43697, 68, 5333, 330, 69, 33438, 198, 2, 2343, 243, 253, 7280, 21, 66, 44698, 330, 22, 12, 891, 3104, 12, 2231, 6469, 12, 7012, 1558, 12, 23, 69, 2682, 64, 23, 3720, 64, 2481, 67, 198, 2, 2343, 243, 253, 7280, 2791, 66, 24, 2623, 64, 18, 12, 47838, 67, 12, 3682, 64, 15, 12, 15630, 324, 12, 20, 24096, 67, 940, 68, 20, 42691, 198, 2, 2343, 243, 253, 7280, 18, 64, 324, 22, 2920, 68, 12, 1065, 3980, 12, 19, 69, 6052, 12, 65, 16315, 12, 2857, 1558, 67, 17, 65, 3865, 31980, 198, 2, 2343, 243, 253, 7280, 5999, 3609, 22913, 66, 12, 68, 3023, 69, 12, 3510, 1314, 12, 24, 65, 4869, 12, 22, 66, 2548, 3865, 20107, 4089, 66, 198, 2, 2343, 243, 253, 7280, 47760, 64, 36809, 69, 12, 1065, 2091, 12, 1821, 4089, 12, 4521, 69, 18, 12, 18, 17477, 68, 19, 2934, 2919, 67, 19, 198, 2, 2343, 243, 253, 7280, 1415, 69, 1157, 16072, 15, 12, 17896, 24, 65, 12, 19, 65, 3324, 12, 65, 17, 6814, 12, 3609, 20, 2682, 65, 35549, 10210, 21, 198, 2, 2343, 243, 253, 7280, 67, 5892, 67, 1795, 891, 12, 11645, 66, 12, 34938, 64, 12, 64, 6659, 66, 12, 23, 67, 20, 69, 2999, 68, 486, 68, 2791, 198, 2, 2343, 243, 253, 7280, 2780, 66, 4089, 69, 15, 67, 12, 67, 41655, 12, 19, 39305, 12, 6420, 67, 18, 12, 21, 66, 3720, 1350, 20, 69, 12993, 23, 64, 198, 2, 2343, 243, 253, 7280, 67, 23, 1157, 12993, 67, 24, 12, 18, 65, 1860, 12, 2780, 1270, 12, 23, 68, 24, 67, 12, 21142, 19, 67, 22, 67, 17, 66, 23, 3829, 198, 2, 2343, 243, 253, 7280, 67, 18, 344, 65, 19, 18213, 12, 21, 67, 2231, 12, 2231, 2231, 12, 1350, 2931, 12, 23, 27260, 69, 15197, 66, 17, 68, 20, 198, 2, 2343, 243, 253, 7280, 20, 21101, 20, 397, 4524, 12, 6814, 21, 65, 12, 47106, 64, 12, 1350, 64, 19, 12, 2425, 64, 18, 67, 15, 68, 3559, 66, 5066, 198, 2, 2343, 243, 253, 7280, 65, 671, 1558, 3901, 12, 20, 68, 5705, 12, 44103, 64, 12, 24, 66, 3134, 12, 24, 2624, 17457, 3134, 2780, 66, 2920, 198, 2, 2343, 243, 254, 28670, 65, 5824, 9945, 22, 69, 15, 12, 24, 69, 2548, 12, 2857, 5333, 12, 64, 18, 66, 18, 12, 19, 67, 21, 16072, 2857, 1959, 3609, 24, 198, 2, 2343, 243, 254, 28670, 16, 64, 21, 66, 23, 3270, 66, 12, 68, 18, 68, 22, 12, 19, 324, 24, 12, 24, 22579, 12, 2931, 16, 65, 21, 65, 16, 67, 17, 11848, 69, 198, 2, 2343, 243, 254, 28670, 2931, 1795, 67, 22, 64, 16, 12, 18741, 65, 12, 2857, 1731, 12, 3829, 21855, 12, 65, 3510, 68, 1270, 3459, 67, 17, 67, 21, 198, 2, 2343, 243, 254, 28670, 19881, 1065, 69, 21, 69, 21, 12, 69, 24, 64, 22, 12, 19, 67, 3023, 12, 64, 20, 330, 12, 16, 6814, 5824, 69, 3070, 69, 23, 66, 18, 198, 2, 2343, 243, 254, 28670, 2931, 1129, 21101, 15, 67, 12, 7012, 3070, 12, 2920, 66, 23, 12, 65, 17, 65, 24, 12, 4310, 64, 24669, 66, 2670, 69, 5774, 198, 2, 2343, 243, 254, 28670, 32118, 19004, 65, 18, 12, 1954, 65, 20, 12, 3510, 405, 12, 65, 24, 1065, 12, 22, 9945, 19, 397, 3365, 2934, 1878, 198, 2, 2343, 243, 253, 7280, 18, 3609, 397, 2998, 18, 12, 66, 4089, 64, 12, 3682, 1485, 12, 64, 23, 2327, 12, 1270, 4089, 25429, 7012, 3829, 66, 198, 2, 2343, 243, 253, 7280, 1878, 66, 3980, 891, 17, 12, 67, 20, 67, 17, 12, 3510, 1731, 12, 24, 324, 24, 12, 1157, 69, 1314, 11785, 31980, 69, 198, 2, 2343, 243, 253, 7280, 19082, 22, 25270, 67, 12, 1120, 4349, 12, 19, 276, 15, 12, 65, 397, 67, 12, 23, 68, 330, 405, 64, 21, 2682, 67, 17, 198, 2, 2343, 243, 253, 7280, 44103, 2996, 20809, 12, 20, 67, 15, 68, 12, 19, 64, 19, 68, 12, 28362, 69, 12, 67, 15, 68, 3829, 64, 1415, 66, 20, 1860, 198, 2, 2343, 243, 253, 7280, 2091, 14877, 5824, 67, 12, 64, 3134, 65, 12, 38339, 66, 12, 23, 2682, 67, 12, 68, 17572, 44093, 2091, 13464, 198, 2, 2343, 243, 253, 7280, 26073, 17457, 22, 21101, 12, 22, 15377, 12, 3901, 66, 17, 12, 65, 22, 64, 19, 12, 69, 2713, 32459, 2079, 1899, 66, 18, 198, 2, 2343, 243, 253, 7280, 1795, 68, 2791, 1129, 65, 12, 330, 3682, 12, 36625, 65, 12, 23, 69, 2548, 12, 25764, 65, 17, 65, 2079, 67, 830, 198, 2, 2343, 243, 253, 7280, 6469, 65, 24, 3134, 1959, 12, 2091, 66, 17, 12, 2920, 65, 15, 12, 65, 24, 2919, 12, 43918, 69, 1878, 24, 3070, 64, 16, 68, 198, 2, 2343, 243, 253, 7280, 16, 69, 17, 66, 24, 41544, 12, 15, 65, 17, 66, 12, 19, 64, 1415, 12, 24, 69, 2078, 12, 16, 69, 891, 3104, 69, 21, 65, 24669, 198, 2, 2343, 243, 253, 7280, 41583, 6052, 13227, 12, 344, 1129, 12, 2920, 1453, 12, 7252, 15, 66, 12, 3312, 39647, 21223, 17, 64, 21, 198, 2, 2343, 243, 253, 7280, 1558, 3070, 1765, 1129, 12, 64, 31047, 12, 19, 68, 1350, 12, 64, 24, 65, 18, 12, 1507, 7568, 19881, 19, 891, 67, 5036, 198, 2, 2343, 243, 253, 7280, 24, 487, 276, 22, 64, 23, 12, 69, 23, 67, 18, 12, 19, 66, 16, 64, 12, 2001, 64, 12, 20, 67, 21, 2414, 35809, 2548, 1959, 198, 2, 2343, 243, 253, 7280, 44821, 66, 24, 19708, 12, 67, 32583, 12, 19, 69, 1765, 12, 23, 64, 5332, 12, 4349, 67, 5332, 66, 2548, 16072, 23, 67, 198, 2, 2343, 243, 253, 7280, 67, 12993, 22, 324, 21855, 12, 15, 67, 21, 68, 12, 19, 33459, 12, 64, 18, 535, 12, 21, 64, 1238, 535, 21, 2624, 66, 4761, 198, 2, 2343, 243, 253, 7280, 64, 20, 3901, 68, 5999, 68, 12, 1828, 66, 20, 12, 2780, 66, 22, 12, 24, 1350, 65, 12, 34801, 67, 2075, 69, 31418, 1453, 198, 2, 2343, 243, 253, 7280, 20, 65, 39506, 67, 3682, 12, 65, 21, 487, 12, 24669, 22, 12, 2001, 69, 12, 64, 405, 12993, 9945, 405, 69, 15630, 198, 2, 2343, 243, 253, 7280, 23, 64, 23, 2934, 64, 19, 64, 12, 18, 69, 2920, 12, 1821, 3865, 12, 64, 16, 64, 15, 12, 67, 19, 67, 18, 66, 43564, 66, 27192, 198, 2, 2343, 243, 253, 7280, 1350, 26780, 67, 24, 68, 12, 66, 3023, 67, 12, 2857, 16344, 12, 330, 17, 69, 12, 17, 1350, 6052, 65, 1860, 18, 69, 5774, 198, 2, 2343, 243, 253, 7280, 19, 64, 4089, 4051, 2481, 12, 2425, 1485, 12, 30120, 64, 12, 23, 276, 69, 12, 486, 7568, 22, 65, 26598, 66, 2816, 198, 2, 2343, 243, 253, 7280, 20, 65, 18, 17457, 17, 67, 16, 12, 2075, 5607, 12, 2231, 1433, 12, 7252, 3365, 12, 2079, 65, 18, 67, 23539, 68, 20, 69, 18, 198, 2, 2343, 243, 253, 7280, 23, 12993, 22, 13331, 18, 66, 12, 64, 1878, 17, 12, 38472, 19, 12, 23, 3388, 68, 12, 67, 15, 2079, 28727, 5036, 21, 68, 24, 198, 2, 2343, 243, 253, 7280, 15, 17032, 67, 21033, 12, 18, 67, 6052, 12, 19, 64, 15, 67, 12, 64, 35133, 12, 23349, 64, 18, 69, 15, 3104, 39071, 198, 2, 2343, 243, 253, 7280, 69, 3559, 69, 23, 21526, 12, 20, 17457, 18, 12, 19, 64, 2091, 12, 5999, 1433, 12, 2079, 1415, 17430, 2920, 67, 2624, 198, 2, 2343, 243, 254, 28670, 21, 721, 42875, 64, 15, 12, 21, 30120, 12, 47106, 64, 12, 65, 22, 69, 18, 12, 21855, 8628, 5332, 67, 4790, 19881, 198, 2, 2343, 243, 253, 7280, 22318, 17, 9945, 15, 64, 12, 18, 66, 19, 69, 12, 2780, 68, 24, 12, 4531, 721, 12, 66, 19442, 1983, 46352, 64, 16, 67, 198, 2, 2343, 243, 254, 28670, 21, 68, 25270, 1878, 23, 12, 23, 69, 22, 67, 12, 19, 67, 19, 64, 12, 24, 16072, 18, 12, 19, 11848, 22, 7568, 21777, 68, 23, 68, 198, 2, 2343, 243, 253, 7280, 16344, 41813, 9945, 19, 12, 324, 22, 69, 12, 19, 22416, 12, 65, 22, 276, 12, 4846, 66, 43916, 2682, 18938, 18, 198, 2, 2343, 243, 253, 7280, 66, 20, 66, 19, 6814, 2999, 12, 23, 65, 21, 65, 12, 3559, 1507, 12, 65, 26704, 12, 344, 19, 69, 34125, 3070, 66, 3720, 198, 2, 2343, 243, 253, 7280, 40173, 1765, 33551, 12, 67, 47493, 12, 19, 65, 3980, 12, 6420, 68, 22, 12, 7568, 18, 64, 5892, 10210, 18, 64, 19, 69, 198, 2, 2343, 243, 253, 7280, 22047, 69, 19, 65, 21, 69, 12, 5999, 2481, 12, 19, 23726, 12, 24, 7568, 64, 12, 16, 8635, 38056, 67, 1821, 330, 198, 2, 2343, 243, 253, 7280, 276, 1878, 45418, 64, 12, 2920, 2091, 12, 1821, 2857, 12, 3459, 4051, 12, 11848, 65, 2999, 18213, 24, 66, 2670, 66, 198, 2, 2343, 243, 254, 28670, 66, 24, 66, 23, 67, 3553, 65, 12, 18938, 15, 12, 1821, 3980, 12, 46071, 18, 12, 64, 15, 32182, 12993, 29228, 16344, 198, 2, 2343, 243, 254, 28670, 11848, 940, 27137, 65, 12, 16, 65, 6052, 12, 3510, 67, 24, 12, 17457, 20, 69, 12, 66, 1157, 64, 19, 276, 23, 15630, 3609, 198, 2, 2343, 243, 254, 28670, 65, 16344, 23, 36434, 20, 12, 2414, 21855, 12, 19, 20963, 12, 64, 1453, 21, 12, 68, 38819, 16, 535, 46660, 69, 23, 198, 2, 2343, 243, 254, 28670, 16, 66, 2548, 27720, 66, 12, 65, 15426, 12, 25644, 17, 12, 15630, 2154, 12, 3553, 1433, 2154, 10210, 22, 330, 67, 198, 2, 2343, 243, 254, 28670, 830, 12993, 1120, 69, 12, 67, 18, 69, 23, 12, 37730, 65, 12, 65, 47159, 12, 15363, 2231, 66, 17, 721, 15, 66, 19, 198, 2, 2343, 243, 254, 28670, 22, 65, 2154, 20233, 68, 12, 1959, 6420, 12, 1821, 1453, 12, 5607, 64, 24, 12, 2919, 2075, 6420, 68, 39925, 486, 198, 2, 2343, 243, 254, 28670, 3720, 1129, 2670, 3609, 12, 18, 68, 405, 12, 19, 67, 21, 65, 12, 38956, 66, 12, 20, 64, 6469, 64, 3695, 69, 2816, 69, 23, 198, 2, 2343, 243, 254, 28670, 24, 67, 1485, 5333, 66, 18, 12, 21, 2934, 16, 12, 3559, 2075, 12, 5332, 69, 23, 12, 19, 64, 1983, 2078, 3980, 67, 1433, 65, 198, 2, 2343, 243, 254, 28670, 486, 69, 20, 68, 21, 10210, 12, 16, 891, 64, 12, 2920, 64, 17, 12, 23, 67, 15, 67, 12, 65, 2816, 2623, 65, 1860, 22, 30460, 198, 2, 2343, 243, 253, 7280, 486, 65, 40675, 4531, 12, 22, 64, 2079, 12, 19, 15630, 19, 12, 6052, 69, 19, 12, 20, 25191, 36434, 2934, 17, 21101, 198, 2, 2343, 243, 253, 7280, 39506, 69, 3720, 68, 22, 12, 32114, 65, 12, 3559, 16344, 12, 64, 40761, 12, 15, 2079, 69, 4059, 20, 67, 19, 65, 16, 198, 2, 2343, 243, 253, 7280, 65, 3365, 66, 16, 68, 1270, 12, 6814, 1828, 12, 19, 487, 17, 12, 6052, 68, 22, 12, 21, 66, 17, 19881, 17, 68, 18, 64, 22, 68, 18, 198, 2, 2343, 243, 254, 28670, 20, 68, 24, 67, 39761, 69, 12, 1860, 1959, 12, 3510, 6888, 12, 5332, 1453, 12, 15, 1765, 17, 65, 19, 68, 19, 67, 44698, 198, 2, 2343, 243, 253, 7280, 67, 20, 68, 4790, 535, 20, 12, 15, 64, 2078, 12, 19, 64, 5705, 12, 7012, 22, 68, 12, 22, 67, 43134, 66, 4310, 16562, 65, 198, 2, 2343, 243, 254, 28670, 69, 18, 14454, 47984, 12, 16, 65, 5607, 12, 19, 69, 3104, 12, 65, 397, 67, 12, 2996, 2425, 16562, 1731, 4521, 64, 198, 2, 2343, 243, 253, 7280, 3388, 1983, 3023, 1860, 12, 19, 1350, 22, 12, 19, 66, 4349, 12, 64, 46636, 12, 1828, 4790, 69, 17, 65, 2998, 1157, 65, 198, 2, 2343, 243, 254, 28670, 23, 67, 2327, 535, 24, 67, 12, 68, 2718, 64, 12, 19, 64, 3682, 12, 5999, 1878, 12, 23, 69, 2780, 487, 64, 3134, 22800, 198, 2, 2343, 243, 253, 7280, 22, 1157, 4761, 12993, 18, 12, 1350, 18, 68, 12, 35218, 65, 12, 64, 2327, 69, 12, 24, 7012, 22, 1731, 66, 49351, 69, 15, 198, 2, 2343, 243, 254, 28670, 17457, 21, 65, 535, 17, 67, 12, 1860, 21, 67, 12, 19, 15187, 12, 64, 5237, 69, 12, 5333, 64, 15, 66, 1983, 15630, 6814, 16, 198, 2, 2343, 243, 253, 7280, 15, 65, 1954, 68, 42691, 12, 67, 16, 66, 22, 12, 42199, 68, 12, 11848, 1821, 12, 68, 23, 65, 16, 9945, 1507, 2548, 5332, 198, 2, 2343, 243, 254, 28670, 23, 66, 43564, 276, 24, 12, 2713, 16, 65, 12, 2231, 64, 15, 12, 23, 68, 23, 64, 12, 66, 22318, 19, 65, 15, 64, 16, 69, 940, 198, 2, 2343, 243, 254, 28670, 22, 12993, 23, 7568, 23, 69, 12, 7252, 17, 67, 12, 3901, 69, 24, 12, 3865, 65, 22, 12, 65, 1120, 16072, 26492, 21101, 24, 67, 198, 2, 2343, 243, 254, 28670, 3720, 3134, 65, 21, 68, 22, 12, 23, 37710, 12, 2598, 4531, 12, 24, 68, 2623, 12, 5036, 30368, 67, 5036, 18, 69, 535, 198, 2, 2343, 243, 254, 28670, 1350, 7252, 16, 7568, 66, 12, 68, 17, 64, 22, 12, 19, 11623, 12, 64, 2231, 68, 12, 19881, 7012, 6052, 69, 23, 69, 2999, 64, 198, 2, 2343, 243, 253, 7280, 6200, 21, 67, 19, 69, 23, 12, 16, 13227, 12, 2920, 2857, 12, 23, 17896, 21, 12, 18, 65, 3324, 65, 25870, 69, 11848, 23, 198, 2, 2343, 243, 253, 7280, 1828, 17457, 344, 5774, 12, 64, 16, 69, 17, 12, 25644, 65, 12, 24, 2996, 64, 12, 2670, 1157, 2780, 65, 20943, 330, 198, 2, 2343, 243, 253, 7280, 4051, 67, 4790, 64, 18, 64, 12, 20, 36088, 12, 2598, 12993, 12, 65, 46761, 12, 4790, 1485, 3720, 486, 1959, 68, 19, 198, 2, 2343, 243, 253, 7280, 69, 20, 2670, 67, 32128, 12, 15, 69, 1954, 12, 19, 28933, 12, 24, 65, 2075, 12, 25600, 2780, 65, 20, 66, 48250, 64, 198, 2, 2343, 243, 254, 28670, 3695, 69, 31675, 2078, 12, 4846, 2154, 12, 19, 69, 3324, 12, 64, 15, 67, 15, 12, 19, 21734, 66, 21, 7252, 4869, 3609, 198, 2, 2343, 243, 254, 28670, 9031, 17, 65, 4846, 66, 12, 22, 17457, 66, 12, 2857, 2920, 12, 65, 5892, 68, 12, 69, 27192, 69, 1899, 64, 17885, 23, 198, 2, 2343, 243, 254, 28670, 6469, 21855, 23, 487, 16, 12, 23, 29326, 12, 2231, 4051, 12, 7012, 3720, 12, 40022, 2231, 65, 16, 69, 535, 69, 18, 198, 2, 2343, 243, 253, 7280, 19, 65, 19, 1860, 68, 23, 67, 12, 68, 2682, 67, 12, 2598, 330, 12, 24, 20943, 12, 23, 6888, 1828, 5036, 3609, 15, 68, 17, 198, 2, 2343, 243, 253, 7280, 66, 20, 67, 2931, 68, 1485, 12, 35005, 67, 12, 28324, 18, 12, 23, 2682, 65, 12, 1860, 1314, 2996, 64, 3312, 69, 16, 64, 198, 2, 2343, 243, 253, 7280, 23, 68, 24, 67, 1485, 64, 24, 12, 3510, 69, 21, 12, 29703, 68, 12, 65, 4310, 66, 12, 64, 16, 69, 49641, 23188, 65, 20, 64, 198, 2, 2343, 243, 254, 28670, 16, 69, 24, 3609, 17, 68, 21, 12, 11848, 15, 66, 12, 2231, 21101, 12, 23, 41561, 12, 41580, 68, 1415, 4531, 17, 65, 2623, 198, 2, 2343, 243, 254, 28670, 16, 68, 5237, 324, 69, 22, 12, 1558, 7012, 12, 19, 69, 17, 67, 12, 65, 21844, 12, 66, 2548, 1828, 67, 25540, 67, 6659, 198, 2, 2343, 243, 254, 28670, 3695, 21599, 68, 19, 67, 12, 68, 49051, 12, 19, 68, 23, 66, 12, 23, 67, 19, 65, 12, 2996, 3134, 64, 2623, 4869, 2001, 198, 2, 2343, 243, 254, 28670, 2780, 64, 2075, 31697, 12, 68, 20, 3388, 12, 19, 69, 1314, 12, 65, 28977, 12, 24, 64, 17, 64, 18, 65, 21, 26200, 3695, 198, 2, 2343, 243, 253, 7280, 67, 39885, 4790, 66, 16, 12, 16, 2934, 15, 12, 2231, 2624, 12, 23, 33808, 12, 67, 3980, 13381, 2327, 486, 6052, 198, 2, 2343, 243, 253, 7280, 22, 68, 1878, 23, 1959, 65, 12, 22, 31952, 12, 1821, 2075, 12, 23, 68, 3609, 12, 67, 5705, 66, 11848, 65, 1795, 5036, 15, 198, 2, 2343, 243, 253, 7280, 20, 64, 19, 1765, 18, 67, 19, 12, 535, 2934, 12, 19, 65, 3459, 12, 15630, 2231, 12, 2425, 5036, 5332, 66, 21, 65, 9945, 16, 198, 2, 2343, 243, 253, 7280, 2682, 22996, 65, 4531, 12, 15, 64, 940, 12, 19, 29626, 12, 24, 32066, 12, 16344, 2481, 16344, 42802, 68, 3865, 198, 2, 2343, 243, 254, 28670, 67, 6659, 69, 45151, 67, 12, 64, 9031, 12, 2598, 68, 23, 12, 4089, 7012, 12, 20, 66, 15, 891, 721, 9945, 1129, 66, 198, 2, 2343, 243, 254, 28670, 7568, 1350, 1983, 65, 17, 12, 19881, 1860, 12, 1821, 68, 24, 12, 64, 5066, 66, 12, 18, 15363, 66, 21495, 2934, 2425, 198, 2, 2343, 243, 254, 28670, 30505, 64, 5607, 66, 23, 12, 9945, 21, 68, 12, 3682, 67, 23, 12, 6469, 65, 16, 12, 24, 66, 2481, 69, 1983, 5824, 397, 22, 198, 2, 2343, 243, 254, 28670, 18, 69, 37466, 30995, 12, 15, 65, 5333, 12, 19, 65, 22, 68, 12, 65, 4309, 69, 12, 66, 19, 69, 2682, 67, 22, 1731, 69, 20, 66, 198, 2, 2343, 243, 253, 7280, 44468, 721, 65, 4869, 12, 69, 2091, 69, 12, 32531, 67, 12, 23, 67, 21, 69, 12, 1433, 33551, 7252, 3865, 1270, 69, 198, 2, 2343, 243, 254, 28670, 66, 344, 64, 20, 65, 3388, 12, 7568, 65, 16, 12, 2857, 1453, 12, 17457, 4051, 12, 22, 65, 3365, 67, 5774, 69, 2931, 69, 20, 198, 2, 2343, 243, 253, 7280, 67, 12865, 3510, 721, 12, 17, 11848, 21, 12, 3682, 1731, 12, 64, 2075, 67, 12, 35916, 1120, 67, 4521, 17896, 4846, 198, 2, 2343, 243, 254, 28670, 21, 66, 22, 69, 4531, 66, 19, 12, 66, 1350, 65, 12, 3682, 66, 21, 12, 15498, 19, 12, 66, 487, 3720, 64, 3104, 397, 23, 69, 198, 2, 2343, 243, 254, 28670, 16, 66, 16, 67, 19, 28977, 12, 21, 344, 66, 12, 19, 67, 4521, 12, 1350, 18, 65, 12, 16, 68, 4531, 38547, 21526, 1453, 198, 2, 2343, 243, 253, 7280, 24, 65, 3980, 1828, 13331, 12, 24, 66, 1878, 12, 19, 69, 4051, 12, 64, 1314, 67, 12, 69, 23, 65, 22, 3132, 17896, 23, 3682, 65, 198, 2, 2343, 243, 253, 7280, 45734, 69, 1860, 64, 15, 12, 15, 67, 15, 68, 12, 19, 68, 2231, 12, 23, 13331, 17, 12, 3980, 1507, 18376, 64, 2919, 65, 21, 198, 2, 2343, 243, 253, 7280, 68, 37397, 68, 33646, 12, 69, 16, 68, 17, 12, 19, 6814, 23, 12, 23, 891, 19, 12, 43610, 69, 1899, 10210, 39101, 65, 198, 2, 2343, 243, 254, 28670, 65, 23, 324, 66, 17, 68, 21, 12, 17, 68, 16, 66, 12, 19, 69, 405, 12, 64, 5892, 69, 12, 6659, 64, 11442, 65, 10163, 68, 24, 198, 2, 2343, 243, 254, 28670, 21, 65, 3980, 1350, 2623, 12, 1959, 4349, 12, 2231, 5237, 12, 1350, 5824, 12, 324, 29558, 65, 1314, 1120, 6469, 198, 2, 2343, 243, 254, 28670, 64, 1415, 1157, 64, 1507, 12, 18, 66, 2414, 12, 3510, 65, 16, 12, 65, 43665, 12, 68, 18, 1878, 15, 22980, 68, 1878, 24, 198, 2, 2343, 243, 254, 28670, 2079, 68, 1350, 22, 64, 21, 12, 2327, 66, 16, 12, 3510, 344, 12, 24, 67, 4790, 12, 35978, 67, 2231, 1558, 3901, 69, 22, 198, 2, 2343, 243, 253, 7280, 8269, 12, 2388, 12, 2388, 12, 2388, 12, 8269, 18005, 198, 2, 2343, 243, 253, 7280, 8269, 12, 2388, 12, 2388, 12, 2388, 12, 8269, 34215, 198 ]
2.044256
59,133
include(joinpath(@__DIR__, "..", "src/dynamics", "flamingo", "visuals.jl")) T = Float64 vis = Visualizer() open(vis) s = get_simulation("flamingo", "flat_2D_lc", "flat") model = s.model env = s.env const ContactImplicitMPC = Main ref_traj_ = deepcopy(ContactImplicitMPC.get_trajectory(s.model, s.env, joinpath(module_dir(), "src/dynamics/flamingo/gaits/gait_forward_36_4.jld2"), load_type = :split_traj_alt)) ref_traj = deepcopy(ref_traj_) H = ref_traj.H h = ref_traj.h N_sample = 5 H_mpc = 15 h_sim = h / N_sample H_sim = 1000 #35000 p = pratt_policy(model, h_sim) # q1_ref = copy(ref_traj.q[2]) # q0_ref = copy(ref_traj.q[1]) q1_ref = [0.0, 0.849, -0.00, 0.1, 0.295, -0.3, 0.1, π/2, π/2] q0_ref = [0.0, 0.849, -0.00, 0.1, 0.295, -0.3, 0.1, π/2, π/2] q1_sim = SVector{model.dim.q}(q1_ref) q0_sim = SVector{model.dim.q}(copy(q1_sim - (q1_ref - q0_ref) / N_sample)) @assert norm((q1_sim - q0_sim) / h_sim - (q1_ref - q0_ref) / h) < 1.0e-8 sim = simulator(s, q0_sim, q1_sim, h_sim, H_sim, p = p, ip_opts = InteriorPointOptions( undercut = Inf, γ_reg = 0.0, # verbose = true, r_tol = 1.0e-8, κ_tol = 1.0e-8), sim_opts = SimulatorOptions(warmstart = true), ) @time status = simulate!(sim, verbose = true) l = 9 lu = 1 plt = plot(layout=(3,1), legend=false) plot!(plt[1,1], hcat(Vector.(vcat([fill(ref_traj.q[i], N_sample) for i=1:H]...))...)', color=:red, linewidth=3.0) plot!(plt[1,1], hcat(Vector.([q[l:l] for q in sim.traj.q])...)', color=:blue, linewidth=1.0) plot!(plt[2,1], hcat(Vector.(vcat([fill(ref_traj.u[i][lu:lu], N_sample) for i=1:H]...))...)', color=:red, linewidth=3.0) plot!(plt[3,1], hcat(Vector.(vcat([fill(ref_traj.γ[i][1:nc], N_sample) for i=1:H]...))...)', color=:red, linewidth=3.0) plot!(plt[2,1], hcat(Vector.([u[lu:lu] for u in sim.traj.u]*N_sample)...)', color=:blue, linewidth=1.0) # plot!(plt[3,1], hcat(Vector.([γ[1:nc] for γ in sim.traj.γ]*N_sample)...)', color=:blue, linewidth=1.0) # plot!(plt[3,1], hcat(Vector.([b[1:nb] for b in sim.traj.b]*N_sample)...)', color=:red, linewidth=1.0) plot_surface!(vis, env, xlims=[-0.5, 1.5], ylims = [-0.5, 0.5]) plot_lines!(vis, model, sim.traj.q) # anim = visualize_robot!(vis, model, sim.traj, sample=10) anim = visualize_meshrobot!(vis, model, sim.traj, sample=2) anim = visualize_force!(vis, model, env, sim.traj, anim=anim, h=h_sim, sample=10) # filename = "flamingo_100_steps" # MeshCat.convert_frames_to_video( # "/home/simon/Downloads/$filename.tar", # "/home/simon/Documents/$filename.mp4", overwrite=true) # # convert_video_to_gif( # "/home/simon/Documents/$filename.mp4", # "/home/simon/Documents/$filename.gif", overwrite=true) # # # settransform!(vis["/Cameras/default"], # compose(Translation(0.0, 0.5, -1.0),LinearMap(RotZ(-pi / 2.0)))) # # # Ghost # flamingo_ghost!(vis, sim, x -> 0.0) # # # Animation # flamingo_animation!(vis, sim, x -> 0.0) qref = [0.0, 0.849, -0.00, 0.1, 0.295, -0.3, 0.1, π/2, π/2] set_robot!(vis, model, qref) qref = [0.0, 0.849, -0.00, -0.3, 0.1, 0.1, 0.295, π/2, π/2] set_robot!(vis, model, qref)
[ 17256, 7, 22179, 6978, 7, 31, 834, 34720, 834, 11, 366, 492, 1600, 366, 10677, 14, 67, 4989, 873, 1600, 366, 69, 2543, 32735, 1600, 366, 41464, 82, 13, 20362, 48774, 198, 51, 796, 48436, 2414, 198, 4703, 796, 15612, 7509, 3419, 198, 9654, 7, 4703, 8, 198, 198, 82, 796, 651, 62, 14323, 1741, 7203, 69, 2543, 32735, 1600, 366, 38568, 62, 17, 35, 62, 44601, 1600, 366, 38568, 4943, 198, 19849, 796, 264, 13, 19849, 198, 24330, 796, 264, 13, 24330, 198, 9979, 14039, 29710, 3628, 44, 5662, 796, 8774, 198, 5420, 62, 9535, 73, 62, 796, 2769, 30073, 7, 17829, 29710, 3628, 44, 5662, 13, 1136, 62, 9535, 752, 652, 7, 82, 13, 19849, 11, 264, 13, 24330, 11, 198, 220, 220, 220, 4654, 6978, 7, 21412, 62, 15908, 22784, 366, 10677, 14, 67, 4989, 873, 14, 69, 2543, 32735, 14, 4908, 896, 14, 70, 4548, 62, 11813, 62, 2623, 62, 19, 13, 73, 335, 17, 12340, 198, 220, 220, 220, 3440, 62, 4906, 796, 1058, 35312, 62, 9535, 73, 62, 2501, 4008, 198, 5420, 62, 9535, 73, 796, 2769, 30073, 7, 5420, 62, 9535, 73, 62, 8, 198, 198, 39, 796, 1006, 62, 9535, 73, 13, 39, 198, 71, 796, 1006, 62, 9535, 73, 13, 71, 198, 45, 62, 39873, 796, 642, 198, 39, 62, 3149, 66, 796, 1315, 198, 71, 62, 14323, 796, 289, 1220, 399, 62, 39873, 198, 39, 62, 14323, 796, 8576, 1303, 2327, 830, 198, 198, 79, 796, 778, 1078, 62, 30586, 7, 19849, 11, 289, 62, 14323, 8, 198, 198, 2, 10662, 16, 62, 5420, 796, 4866, 7, 5420, 62, 9535, 73, 13, 80, 58, 17, 12962, 198, 2, 10662, 15, 62, 5420, 796, 4866, 7, 5420, 62, 9535, 73, 13, 80, 58, 16, 12962, 198, 80, 16, 62, 5420, 796, 685, 15, 13, 15, 11, 657, 13, 23, 2920, 11, 532, 15, 13, 405, 11, 657, 13, 16, 11, 657, 13, 25710, 11, 532, 15, 13, 18, 11, 657, 13, 16, 11, 18074, 222, 14, 17, 11, 18074, 222, 14, 17, 60, 198, 80, 15, 62, 5420, 796, 685, 15, 13, 15, 11, 657, 13, 23, 2920, 11, 532, 15, 13, 405, 11, 657, 13, 16, 11, 657, 13, 25710, 11, 532, 15, 13, 18, 11, 657, 13, 16, 11, 18074, 222, 14, 17, 11, 18074, 222, 14, 17, 60, 198, 80, 16, 62, 14323, 796, 20546, 9250, 90, 19849, 13, 27740, 13, 80, 92, 7, 80, 16, 62, 5420, 8, 198, 80, 15, 62, 14323, 796, 20546, 9250, 90, 19849, 13, 27740, 13, 80, 92, 7, 30073, 7, 80, 16, 62, 14323, 532, 357, 80, 16, 62, 5420, 532, 10662, 15, 62, 5420, 8, 1220, 399, 62, 39873, 4008, 198, 198, 31, 30493, 2593, 19510, 80, 16, 62, 14323, 532, 10662, 15, 62, 14323, 8, 1220, 289, 62, 14323, 532, 357, 80, 16, 62, 5420, 532, 10662, 15, 62, 5420, 8, 1220, 289, 8, 1279, 352, 13, 15, 68, 12, 23, 198, 198, 14323, 796, 35375, 7, 82, 11, 10662, 15, 62, 14323, 11, 10662, 16, 62, 14323, 11, 289, 62, 14323, 11, 367, 62, 14323, 11, 198, 220, 220, 220, 279, 796, 279, 11, 198, 197, 541, 62, 404, 912, 796, 19614, 12727, 29046, 7, 198, 197, 197, 4625, 8968, 796, 4806, 11, 198, 197, 197, 42063, 62, 2301, 796, 657, 13, 15, 11, 198, 197, 197, 2, 15942, 577, 796, 2081, 11, 198, 220, 220, 220, 220, 220, 220, 220, 374, 62, 83, 349, 796, 352, 13, 15, 68, 12, 23, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7377, 118, 62, 83, 349, 796, 352, 13, 15, 68, 12, 23, 828, 198, 220, 220, 220, 985, 62, 404, 912, 796, 13942, 29046, 7, 31975, 9688, 796, 2081, 828, 198, 220, 220, 220, 1267, 198, 198, 31, 2435, 3722, 796, 29308, 0, 7, 14323, 11, 15942, 577, 796, 2081, 8, 198, 75, 796, 860, 198, 2290, 796, 352, 198, 489, 83, 796, 7110, 7, 39786, 16193, 18, 11, 16, 828, 8177, 28, 9562, 8, 198, 29487, 0, 7, 489, 83, 58, 16, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 85, 9246, 26933, 20797, 7, 5420, 62, 9535, 73, 13, 80, 58, 72, 4357, 399, 62, 39873, 8, 329, 1312, 28, 16, 25, 39, 60, 986, 4008, 23029, 3256, 198, 220, 220, 220, 3124, 28, 25, 445, 11, 9493, 413, 5649, 28, 18, 13, 15, 8, 198, 29487, 0, 7, 489, 83, 58, 16, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 58, 80, 58, 75, 25, 75, 60, 329, 10662, 287, 985, 13, 9535, 73, 13, 80, 12962, 23029, 3256, 3124, 28, 25, 17585, 11, 9493, 413, 5649, 28, 16, 13, 15, 8, 198, 29487, 0, 7, 489, 83, 58, 17, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 85, 9246, 26933, 20797, 7, 5420, 62, 9535, 73, 13, 84, 58, 72, 7131, 2290, 25, 2290, 4357, 399, 62, 39873, 8, 329, 1312, 28, 16, 25, 39, 60, 986, 4008, 23029, 3256, 198, 220, 220, 220, 3124, 28, 25, 445, 11, 9493, 413, 5649, 28, 18, 13, 15, 8, 198, 29487, 0, 7, 489, 83, 58, 18, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 85, 9246, 26933, 20797, 7, 5420, 62, 9535, 73, 13, 42063, 58, 72, 7131, 16, 25, 10782, 4357, 399, 62, 39873, 8, 329, 1312, 28, 16, 25, 39, 60, 986, 4008, 23029, 3256, 198, 220, 220, 220, 3124, 28, 25, 445, 11, 9493, 413, 5649, 28, 18, 13, 15, 8, 198, 29487, 0, 7, 489, 83, 58, 17, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 58, 84, 58, 2290, 25, 2290, 60, 329, 334, 287, 985, 13, 9535, 73, 13, 84, 60, 9, 45, 62, 39873, 8, 23029, 3256, 3124, 28, 25, 17585, 11, 9493, 413, 5649, 28, 16, 13, 15, 8, 198, 2, 7110, 0, 7, 489, 83, 58, 18, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 58, 42063, 58, 16, 25, 10782, 60, 329, 7377, 111, 287, 985, 13, 9535, 73, 13, 42063, 60, 9, 45, 62, 39873, 8, 23029, 3256, 3124, 28, 25, 17585, 11, 9493, 413, 5649, 28, 16, 13, 15, 8, 198, 2, 7110, 0, 7, 489, 83, 58, 18, 11, 16, 4357, 289, 9246, 7, 38469, 12195, 58, 65, 58, 16, 25, 46803, 60, 329, 275, 287, 985, 13, 9535, 73, 13, 65, 60, 9, 45, 62, 39873, 8, 23029, 3256, 3124, 28, 25, 445, 11, 9493, 413, 5649, 28, 16, 13, 15, 8, 198, 198, 29487, 62, 42029, 0, 7, 4703, 11, 17365, 11, 2124, 2475, 82, 41888, 12, 15, 13, 20, 11, 352, 13, 20, 4357, 331, 2475, 82, 796, 25915, 15, 13, 20, 11, 657, 13, 20, 12962, 198, 29487, 62, 6615, 0, 7, 4703, 11, 2746, 11, 985, 13, 9535, 73, 13, 80, 8, 198, 2, 2355, 796, 38350, 62, 305, 13645, 0, 7, 4703, 11, 2746, 11, 985, 13, 9535, 73, 11, 6291, 28, 940, 8, 198, 11227, 796, 38350, 62, 76, 5069, 305, 13645, 0, 7, 4703, 11, 2746, 11, 985, 13, 9535, 73, 11, 6291, 28, 17, 8, 198, 11227, 796, 38350, 62, 3174, 0, 7, 4703, 11, 2746, 11, 17365, 11, 985, 13, 9535, 73, 11, 2355, 28, 11227, 11, 289, 28, 71, 62, 14323, 11, 6291, 28, 940, 8, 628, 198, 2, 29472, 796, 366, 69, 2543, 32735, 62, 3064, 62, 20214, 1, 198, 2, 47529, 21979, 13, 1102, 1851, 62, 37805, 62, 1462, 62, 15588, 7, 198, 2, 220, 220, 220, 220, 12813, 11195, 14, 14323, 261, 14, 10002, 82, 32624, 34345, 13, 18870, 1600, 198, 2, 220, 220, 220, 220, 12813, 11195, 14, 14323, 261, 14, 38354, 32624, 34345, 13, 3149, 19, 1600, 49312, 28, 7942, 8, 198, 2, 198, 2, 10385, 62, 15588, 62, 1462, 62, 27908, 7, 198, 2, 220, 220, 220, 220, 12813, 11195, 14, 14323, 261, 14, 38354, 32624, 34345, 13, 3149, 19, 1600, 198, 2, 220, 220, 220, 220, 12813, 11195, 14, 14323, 261, 14, 38354, 32624, 34345, 13, 27908, 1600, 49312, 28, 7942, 8, 198, 2, 198, 2, 198, 2, 900, 35636, 0, 7, 4703, 14692, 14, 34, 2382, 292, 14, 12286, 33116, 198, 2, 220, 197, 197, 785, 3455, 7, 48313, 7, 15, 13, 15, 11, 657, 13, 20, 11, 532, 16, 13, 15, 828, 14993, 451, 13912, 7, 24864, 57, 32590, 14415, 1220, 362, 13, 15, 35514, 198, 2, 198, 2, 1303, 9897, 198, 2, 39518, 78, 62, 38933, 0, 7, 4703, 11, 985, 11, 2124, 4613, 657, 13, 15, 8, 198, 2, 198, 2, 1303, 23535, 198, 2, 39518, 78, 62, 11227, 341, 0, 7, 4703, 11, 985, 11, 2124, 4613, 657, 13, 15, 8, 198, 198, 80, 5420, 796, 685, 15, 13, 15, 11, 657, 13, 23, 2920, 11, 532, 15, 13, 405, 11, 657, 13, 16, 11, 657, 13, 25710, 11, 532, 15, 13, 18, 11, 657, 13, 16, 11, 18074, 222, 14, 17, 11, 18074, 222, 14, 17, 60, 198, 2617, 62, 305, 13645, 0, 7, 4703, 11, 2746, 11, 10662, 5420, 8, 198, 80, 5420, 796, 685, 15, 13, 15, 11, 657, 13, 23, 2920, 11, 532, 15, 13, 405, 11, 532, 15, 13, 18, 11, 657, 13, 16, 11, 657, 13, 16, 11, 657, 13, 25710, 11, 18074, 222, 14, 17, 11, 18074, 222, 14, 17, 60, 198, 2617, 62, 305, 13645, 0, 7, 4703, 11, 2746, 11, 10662, 5420, 8, 198 ]
1.985852
1,555
# License for this file: MIT (expat) # Copyright 2017-2018, DLR Institute of System Dynamics and Control # # This file is part of module # ModiaMath.Frames (ModiaMath/Frames/_module.jl) # """ const ModiaMath.Quaternion = SVector{4,Float64} Describes the rotation from a frame 1 into a frame 2 with a quaternion vector. If `e` is the (normalized) axis of rotation to rotate frame 1 into frame 2 (either resolved in frame 1 or frame 2) and `angle` is the rotation angle for this rotation then the quaternion vector `q::ModiaMath.Quaternions` is defined as: ```julia q = [e*sin(angle/2), cos(angle/2] ``` """ const Quaternion = SVector{4,Float64} """ const ModiaMath.NullQuaternion = Quaternion(0,0,0,1) Constant Quaternion vector of a null rotation (= no rotation from frame 1 to frame 2) """ NullQuaternion = Quaternion(0.0, 0.0, 0.0, 1.0) """ ModiaMath.assertQuaternion(q::AbstractVector) Assert that vector `q` has the properties of a `Quaternion` vector (has 4 elements, `norm(q) = 1`) """ function assertQuaternion(q::AbstractVector) @assert(length(q) == 4) @assert(abs(norm(q) - 1.0) <= 1e-10) end """ R = ModiaMath.from_q(q::ModiaMath.Quaternion) Return RotationMatrix `R` from Quaternion `q`. """ from_q(q::Quaternion) = RotationMatrix(2.0 * (q[1] * q[1] + q[4] * q[4]) - 1.0, 2.0 * (q[2] * q[1] - q[3] * q[4]), 2.0 * (q[3] * q[1] + q[2] * q[4]), 2.0 * (q[1] * q[2] + q[3] * q[4]), 2.0 * (q[2] * q[2] + q[4] * q[4]) - 1.0, 2.0 * (q[3] * q[2] - q[1] * q[4]), 2.0 * (q[1] * q[3] - q[2] * q[4]), 2.0 * (q[2] * q[3] + q[1] * q[4]), 2.0 * (q[3] * q[3] + q[4] * q[4]) - 1.0) const p4limit = 0.1 const c4limit = 4.0 * p4limit * p4limit """ q = ModiaMath.from_R(R::ModiaMath.RotationMatrix; q_guess = NullQuaternion) Return `Quaternion q` from `RotationMatrix R`. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ function from_R(R::RotationMatrix; q_guess::Quaternion=NullQuaternion)::Quaternion #= Below it is guaranteed that c1>=0, c2>=0, c3>=0, c4>=0 and that not all of them can be zero at the same time (e.g., if 3 of them are zero, the 4th variable is 1). Since the sqrt(..) has to be performed on one of these variables, it is applied on a variable which is far enough from zero. This guarantees that the sqrt(..) is never taken near zero and therefore the derivative of sqrt(..) can never be infinity. There is an ambiguity for quaternions, since q and -q lead to the same RotationMatrix. This ambiguity is resolved here by selecting the q that is closer to the input argument q_guess. =# c1::Float64 = 1.0 + R[1,1] - R[2,2] - R[3,3] c2::Float64 = 1.0 + R[2,2] - R[1,1] - R[3,3] c3::Float64 = 1.0 + R[3,3] - R[1,1] - R[2,2] c4::Float64 = 1.0 + R[1,1] + R[2,2] + R[3,3] paux::Float64 = 0.0 paux4::Float64 = 0.0 if c4 > c4limit || (c4 > c1 && c4 > c2 && c4 > c3) paux = sqrt(c4) / 2 paux4 = 4 * paux q = Quaternion((R[2,3] - R[3,2]) / paux4, (R[3,1] - R[1,3]) / paux4, (R[1,2] - R[2,1]) / paux4, paux) elseif c1 > c2 && c1 > c3 && c1 > c4 paux = sqrt(c1) / 2 paux4 = 4 * paux q = Quaternion(paux, (R[1,2] + R[2,1]) / paux4, (R[1,3] + R[3,1]) / paux4, (R[2,3] - R[3,2]) / paux4) elseif c2 > c1 && c2 > c3 && c2 > c4 paux = sqrt(c2) / 2 paux4 = 4 * paux q = Quaternion((R[1,2] + R[2,1]) / paux4, paux, (R[2,3] + R[3,2]) / paux4, (R[3,1] - R[1,3]) / paux4) else paux = sqrt(c3) / 2 paux4 = 4 * paux q = Quaternion((R[1,3] + R[3,1]) / paux4, (R[2,3] + R[3,2]) / paux4, paux, (R[1,2] - R[2,1]) / paux4) end return dot(q, q_guess) >= 0 ? q : -q end from_R(R::AbstractMatrix; q_guess::AbstractVector=NullQuaternion)::Quaternion = from_R(RotationMatrix(R); q_guess=Quaternion(q_guess)) """ q = ModiaMath.qrot1(angle; q_guess = NullQuaternion) Return Quaternion `q` that rotates with angle `angle` along the x-axis of frame 1. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ @inline function qrot1(angle::Number; q_guess::Quaternion=NullQuaternion)::Quaternion q = Quaternion(sin(angle / 2), 0.0, 0.0, cos(angle / 2)) return dot(q, q_guess) >= 0 ? q : -q end """ q = ModiaMath.qrot2(angle; q_guess = NullQuaternion) Return Quaternion `q` that rotates with angle `angle` along the y-axis of frame 1. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ @inline function qrot2(angle::Number; q_guess::Quaternion=NullQuaternion)::Quaternion q = Quaternion(0.0, sin(angle / 2), 0.0, cos(angle / 2)) return dot(q, q_guess) >= 0 ? q : -q end """ q = ModiaMath.qrot3(angle; q_guess = NullQuaternion) Return Quaternion `q` that rotates with angle `angle` along the z-axis of frame 1. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ @inline function qrot3(angle::Number; q_guess::Quaternion=NullQuaternion)::Quaternion q = Quaternion(0.0, 0.0, sin(angle / 2), cos(angle / 2)) return dot(q, q_guess) >= 0 ? q : -q end absoluteRotation(q1::Quaternion, q_rel::Quaternion)::Quaternion = (@SMatrix [ q_rel[4] q_rel[3] -q_rel[2] q_rel[1]; -q_rel[3] q_rel[4] q_rel[1] q_rel[2]; q_rel[2] -q_rel[1] q_rel[4] q_rel[3]; -q_rel[1] -q_rel[2] -q_rel[3] q_rel[4]]) * q1 """ q = ModiaMath.qrot123(angle1, angle2, angle3) Return Quaternion `q` by rotating with angle1 along the x-axis of frame 1, then with angle2 along the y-axis of this frame and then with angle3 along the z-axis of this frame. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ qrot123(angle1::Number, angle2::Number, angle3::Number)::Quaternion = absoluteRotation(absoluteRotation(qrot1(angle1), qrot2(angle2)), qrot3(angle3)) """ q = ModiaMath.qrot_e(e, angle; q_guess = NullQuaternion) Return Quaternion `q` that rotates with angle `angle` along unit axis `e`. This function assumes that `norm(e) == 1`. From the two possible solutions `q` the one is returned that is closer to `q_guess` (note, `q` and `-q` define the same rotation). """ @inline function qrot_e(e::Vector3D, angle::Number; q_guess::Quaternion=NullQuaternion)::Quaternion sa = sin(angle / 2) q = Quaternion(e[1] * sa, e[2] * sa, e[3] * sa, cos(angle / 2)) return dot(q, q_guess) >= 0 ? q : -q end qrot_e(e::AbstractVector, angle::Number)::Quaternion = qrot_e(Vector3D(e), convert(Float64, angle)) """ q = ModiaMath.qrot_nxy(nx, ny) It is assumed that the two input vectors `nx` and `ny` are resolved in frame 1 and are directed along the x and y axis of frame 2. The function returns the Quaternion `q` to rotate from frame 1 to frame 2. The function is robust in the sense that it returns always a Quaternion `q`, even if `ny` is not orthogonal to `nx` or if one or both vectors have zero length. This is performed in the following way: If `nx` and `ny` are not orthogonal to each other, first a unit vector `ey` is determined that is orthogonal to `nx` and is lying in the plane spanned by `nx` and `ny`. If `nx` and `ny` are parallel or nearly parallel to each other or `ny` is a vector with zero or nearly zero length, a vector `ey` is selected arbitrarily such that `ex` and `ey` are orthogonal to each other. If both `nx` and `ny` are vectors with zero or nearly zero length, an arbitrary Quaternion `q` is returned. # Example ```julia using Unitful import ModiaMath q1 = ModiaMath.qrot1(90u"°") q2 = ModiaMath.qrot_nxy([1 , 0, 0], [0 , 0, 1 ]) q3 = ModiaMath.qrot_nxy([0.9, 0, 0], [1.1, 0, 1.1]) isapprox(q1,q2) # returns true isapprox(q1,q3) # returns true ``` """ qrot_nxy(nx, ny)::Quaternion = from_R(rot_nxy(nx, ny)) resolve1(q::Quaternion, v2::Vector3D)::Vector3D = 2 * ((q[4] * q[4] - 0.5) * v2 + dot(q[1:3], v2) * q[1:3] + q[4] * cross(q[1:3], v2)) resolve2(q::Quaternion, v1::Vector3D)::Vector3D = 2 * ((q[4] * q[4] - 0.5) * v1 + dot(q[1:3], v1) * q[1:3] - q[4] * cross(q[1:3], v1)) relativeRotation(q1::Quaternion, q2::Quaternion)::Quaternion = (@SMatrix [ q1[4] q1[3] -q1[2] -q1[1]; -q1[3] q1[4] q1[1] -q1[2]; q1[2] -q1[1] q1[4] -q1[3]; q1[1] q1[2] q1[3] q1[4]]) * q2 inverseRotation(q::Quaternion)::Quaternion = Quaternion(-q[1], -q[2], -q[3], q[4])
[ 2, 13789, 329, 428, 2393, 25, 17168, 357, 1069, 8071, 8, 198, 2, 15069, 2177, 12, 7908, 11, 23641, 49, 5136, 286, 4482, 33806, 290, 6779, 198, 2, 198, 2, 770, 2393, 318, 636, 286, 8265, 198, 2, 220, 220, 3401, 544, 37372, 13, 35439, 357, 5841, 544, 37372, 14, 35439, 47835, 21412, 13, 20362, 8, 198, 2, 628, 198, 37811, 198, 220, 220, 220, 1500, 3401, 544, 37372, 13, 4507, 9205, 295, 796, 20546, 9250, 90, 19, 11, 43879, 2414, 92, 198, 198, 24564, 22090, 262, 13179, 422, 257, 5739, 352, 656, 257, 5739, 362, 351, 257, 627, 9205, 295, 15879, 13, 198, 1532, 4600, 68, 63, 318, 262, 357, 11265, 1143, 8, 16488, 286, 13179, 284, 23064, 5739, 352, 656, 5739, 362, 198, 7, 31336, 12939, 287, 5739, 352, 393, 5739, 362, 8, 290, 4600, 9248, 63, 198, 271, 262, 13179, 9848, 329, 428, 13179, 788, 262, 627, 9205, 295, 15879, 198, 63, 80, 3712, 5841, 544, 37372, 13, 4507, 9205, 507, 63, 318, 5447, 355, 25, 198, 198, 15506, 63, 73, 43640, 198, 80, 796, 685, 68, 9, 31369, 7, 9248, 14, 17, 828, 198, 220, 220, 220, 220, 220, 220, 8615, 7, 9248, 14, 17, 60, 198, 15506, 63, 198, 37811, 198, 9979, 2264, 9205, 295, 796, 20546, 9250, 90, 19, 11, 43879, 2414, 92, 628, 198, 37811, 198, 220, 220, 220, 1500, 3401, 544, 37372, 13, 35067, 4507, 9205, 295, 796, 2264, 9205, 295, 7, 15, 11, 15, 11, 15, 11, 16, 8, 198, 198, 3103, 18797, 2264, 9205, 295, 15879, 286, 257, 9242, 13179, 46121, 645, 13179, 422, 5739, 352, 284, 5739, 362, 8, 198, 37811, 198, 35067, 4507, 9205, 295, 796, 2264, 9205, 295, 7, 15, 13, 15, 11, 657, 13, 15, 11, 657, 13, 15, 11, 352, 13, 15, 8, 628, 198, 37811, 198, 220, 220, 220, 3401, 544, 37372, 13, 30493, 4507, 9205, 295, 7, 80, 3712, 23839, 38469, 8, 198, 198, 8021, 861, 326, 15879, 4600, 80, 63, 468, 262, 6608, 286, 257, 4600, 4507, 9205, 295, 63, 15879, 198, 7, 10134, 604, 4847, 11, 4600, 27237, 7, 80, 8, 796, 352, 63, 8, 198, 37811, 198, 8818, 6818, 4507, 9205, 295, 7, 80, 3712, 23839, 38469, 8, 198, 220, 220, 220, 2488, 30493, 7, 13664, 7, 80, 8, 6624, 604, 8, 198, 220, 220, 220, 2488, 30493, 7, 8937, 7, 27237, 7, 80, 8, 532, 352, 13, 15, 8, 19841, 352, 68, 12, 940, 8, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 371, 796, 3401, 544, 37372, 13, 6738, 62, 80, 7, 80, 3712, 5841, 544, 37372, 13, 4507, 9205, 295, 8, 198, 198, 13615, 371, 14221, 46912, 4600, 49, 63, 422, 2264, 9205, 295, 4600, 80, 44646, 198, 37811, 198, 6738, 62, 80, 7, 80, 3712, 4507, 9205, 295, 8, 796, 371, 14221, 46912, 7, 17, 13, 15, 1635, 357, 80, 58, 16, 60, 1635, 10662, 58, 16, 60, 1343, 10662, 58, 19, 60, 1635, 10662, 58, 19, 12962, 532, 352, 13, 15, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 17, 60, 1635, 10662, 58, 16, 60, 532, 10662, 58, 18, 60, 1635, 10662, 58, 19, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 18, 60, 1635, 10662, 58, 16, 60, 1343, 10662, 58, 17, 60, 1635, 10662, 58, 19, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 16, 60, 1635, 10662, 58, 17, 60, 1343, 10662, 58, 18, 60, 1635, 10662, 58, 19, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 17, 60, 1635, 10662, 58, 17, 60, 1343, 10662, 58, 19, 60, 1635, 10662, 58, 19, 12962, 532, 352, 13, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 18, 60, 1635, 10662, 58, 17, 60, 532, 10662, 58, 16, 60, 1635, 10662, 58, 19, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 16, 60, 1635, 10662, 58, 18, 60, 532, 10662, 58, 17, 60, 1635, 10662, 58, 19, 46570, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 17, 60, 1635, 10662, 58, 18, 60, 1343, 10662, 58, 16, 60, 1635, 10662, 58, 19, 46570, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 15, 1635, 357, 80, 58, 18, 60, 1635, 10662, 58, 18, 60, 1343, 10662, 58, 19, 60, 1635, 10662, 58, 19, 12962, 532, 352, 13, 15, 8, 628, 198, 198, 9979, 279, 19, 32374, 796, 657, 13, 16, 198, 9979, 269, 19, 32374, 796, 604, 13, 15, 1635, 279, 19, 32374, 1635, 279, 19, 32374, 198, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 6738, 62, 49, 7, 49, 3712, 5841, 544, 37372, 13, 49, 14221, 46912, 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, 10662, 62, 5162, 408, 796, 35886, 4507, 9205, 295, 8, 198, 198, 13615, 4600, 4507, 9205, 295, 10662, 63, 422, 4600, 49, 14221, 46912, 371, 44646, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 8818, 422, 62, 49, 7, 49, 3712, 49, 14221, 46912, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 62, 5162, 408, 3712, 4507, 9205, 295, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 198, 220, 220, 1303, 28, 220, 198, 220, 220, 10383, 340, 318, 11462, 326, 269, 16, 29, 28, 15, 11, 269, 17, 29, 28, 15, 11, 269, 18, 29, 28, 15, 11, 269, 19, 29, 28, 15, 290, 198, 220, 220, 326, 407, 477, 286, 606, 460, 307, 6632, 379, 262, 976, 640, 198, 220, 220, 357, 68, 13, 70, 1539, 611, 513, 286, 606, 389, 6632, 11, 262, 604, 400, 7885, 318, 352, 737, 198, 220, 220, 4619, 262, 19862, 17034, 7, 492, 8, 468, 284, 307, 6157, 319, 530, 286, 777, 9633, 11, 198, 220, 220, 340, 318, 5625, 319, 257, 7885, 543, 318, 1290, 1576, 422, 6632, 13, 198, 220, 220, 770, 19026, 326, 262, 19862, 17034, 7, 492, 8, 318, 1239, 2077, 1474, 6632, 198, 220, 220, 290, 4361, 262, 27255, 286, 19862, 17034, 7, 492, 8, 460, 1239, 307, 37174, 13, 198, 220, 220, 1318, 318, 281, 33985, 329, 627, 9205, 507, 11, 1201, 10662, 290, 532, 80, 198, 220, 220, 1085, 284, 262, 976, 371, 14221, 46912, 13, 770, 33985, 198, 220, 220, 318, 12939, 994, 416, 17246, 262, 10662, 326, 318, 5699, 284, 198, 220, 220, 262, 5128, 4578, 10662, 62, 5162, 408, 13, 220, 220, 220, 198, 220, 220, 796, 2, 198, 220, 220, 220, 269, 16, 3712, 43879, 2414, 796, 352, 13, 15, 1343, 371, 58, 16, 11, 16, 60, 532, 371, 58, 17, 11, 17, 60, 532, 371, 58, 18, 11, 18, 60, 198, 220, 220, 220, 269, 17, 3712, 43879, 2414, 796, 352, 13, 15, 1343, 371, 58, 17, 11, 17, 60, 532, 371, 58, 16, 11, 16, 60, 532, 371, 58, 18, 11, 18, 60, 198, 220, 220, 220, 269, 18, 3712, 43879, 2414, 796, 352, 13, 15, 1343, 371, 58, 18, 11, 18, 60, 532, 371, 58, 16, 11, 16, 60, 532, 371, 58, 17, 11, 17, 60, 198, 220, 220, 220, 269, 19, 3712, 43879, 2414, 796, 352, 13, 15, 1343, 371, 58, 16, 11, 16, 60, 1343, 371, 58, 17, 11, 17, 60, 1343, 371, 58, 18, 11, 18, 60, 198, 220, 220, 220, 279, 14644, 3712, 43879, 2414, 220, 796, 657, 13, 15, 198, 220, 220, 220, 279, 14644, 19, 3712, 43879, 2414, 796, 657, 13, 15, 198, 220, 198, 220, 220, 220, 611, 269, 19, 1875, 269, 19, 32374, 8614, 357, 66, 19, 1875, 269, 16, 11405, 269, 19, 1875, 269, 17, 11405, 269, 19, 1875, 269, 18, 8, 220, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 220, 796, 19862, 17034, 7, 66, 19, 8, 1220, 362, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 19, 796, 604, 1635, 279, 14644, 198, 220, 220, 220, 220, 220, 220, 220, 10662, 796, 2264, 9205, 295, 19510, 49, 58, 17, 11, 18, 60, 532, 371, 58, 18, 11, 17, 12962, 1220, 279, 14644, 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, 357, 49, 58, 18, 11, 16, 60, 532, 371, 58, 16, 11, 18, 12962, 1220, 279, 14644, 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, 357, 49, 58, 16, 11, 17, 60, 532, 371, 58, 17, 11, 16, 12962, 1220, 279, 14644, 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, 279, 14644, 8, 198, 220, 220, 220, 198, 220, 220, 220, 2073, 361, 269, 16, 1875, 269, 17, 11405, 269, 16, 1875, 269, 18, 11405, 269, 16, 1875, 269, 19, 220, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 220, 796, 19862, 17034, 7, 66, 16, 8, 1220, 362, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 19, 796, 604, 1635, 279, 14644, 198, 220, 220, 220, 220, 220, 220, 220, 10662, 796, 2264, 9205, 295, 7, 79, 14644, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 16, 11, 17, 60, 1343, 371, 58, 17, 11, 16, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 16, 11, 18, 60, 1343, 371, 58, 18, 11, 16, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 17, 11, 18, 60, 532, 371, 58, 18, 11, 17, 12962, 1220, 279, 14644, 19, 8, 198, 220, 220, 220, 198, 220, 220, 220, 2073, 361, 269, 17, 1875, 269, 16, 11405, 269, 17, 1875, 269, 18, 11405, 269, 17, 1875, 269, 19, 220, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 220, 796, 19862, 17034, 7, 66, 17, 8, 1220, 362, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 19, 796, 604, 1635, 279, 14644, 198, 220, 220, 220, 220, 220, 220, 220, 10662, 796, 2264, 9205, 295, 19510, 49, 58, 16, 11, 17, 60, 1343, 371, 58, 17, 11, 16, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 17, 11, 18, 60, 1343, 371, 58, 18, 11, 17, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 18, 11, 16, 60, 532, 371, 58, 16, 11, 18, 12962, 1220, 279, 14644, 19, 8, 198, 220, 220, 220, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 220, 796, 19862, 17034, 7, 66, 18, 8, 1220, 362, 198, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 19, 796, 604, 1635, 279, 14644, 198, 220, 220, 220, 220, 220, 220, 220, 10662, 796, 2264, 9205, 295, 19510, 49, 58, 16, 11, 18, 60, 1343, 371, 58, 18, 11, 16, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 17, 11, 18, 60, 1343, 371, 58, 18, 11, 17, 12962, 1220, 279, 14644, 19, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 14644, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 49, 58, 16, 11, 17, 60, 532, 371, 58, 17, 11, 16, 12962, 1220, 279, 14644, 19, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 198, 220, 220, 220, 1441, 16605, 7, 80, 11, 10662, 62, 5162, 408, 8, 18189, 657, 5633, 10662, 1058, 532, 80, 198, 437, 198, 198, 6738, 62, 49, 7, 49, 3712, 23839, 46912, 26, 10662, 62, 5162, 408, 3712, 23839, 38469, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 796, 220, 198, 220, 220, 220, 422, 62, 49, 7, 49, 14221, 46912, 7, 49, 1776, 10662, 62, 5162, 408, 28, 4507, 9205, 295, 7, 80, 62, 5162, 408, 4008, 198, 220, 220, 220, 220, 628, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 16, 7, 9248, 26, 10662, 62, 5162, 408, 796, 35886, 4507, 9205, 295, 8, 198, 198, 13615, 2264, 9205, 295, 4600, 80, 63, 326, 5724, 689, 351, 9848, 4600, 9248, 63, 1863, 262, 2124, 12, 22704, 286, 5739, 352, 13, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 31, 45145, 2163, 10662, 10599, 16, 7, 9248, 3712, 15057, 26, 10662, 62, 5162, 408, 3712, 4507, 9205, 295, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 198, 220, 220, 220, 10662, 796, 2264, 9205, 295, 7, 31369, 7, 9248, 1220, 362, 828, 657, 13, 15, 11, 657, 13, 15, 11, 8615, 7, 9248, 1220, 362, 4008, 628, 220, 220, 220, 1441, 16605, 7, 80, 11, 10662, 62, 5162, 408, 8, 18189, 657, 5633, 10662, 1058, 532, 80, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 17, 7, 9248, 26, 10662, 62, 5162, 408, 796, 35886, 4507, 9205, 295, 8, 198, 198, 13615, 2264, 9205, 295, 4600, 80, 63, 326, 5724, 689, 351, 9848, 4600, 9248, 63, 1863, 262, 331, 12, 22704, 286, 5739, 352, 13, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 31, 45145, 2163, 10662, 10599, 17, 7, 9248, 3712, 15057, 26, 10662, 62, 5162, 408, 3712, 4507, 9205, 295, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 198, 220, 220, 220, 10662, 796, 2264, 9205, 295, 7, 15, 13, 15, 11, 7813, 7, 9248, 1220, 362, 828, 657, 13, 15, 11, 8615, 7, 9248, 1220, 362, 4008, 628, 220, 220, 220, 1441, 16605, 7, 80, 11, 10662, 62, 5162, 408, 8, 18189, 657, 5633, 10662, 1058, 532, 80, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 18, 7, 9248, 26, 10662, 62, 5162, 408, 796, 35886, 4507, 9205, 295, 8, 198, 198, 13615, 2264, 9205, 295, 4600, 80, 63, 326, 5724, 689, 351, 9848, 4600, 9248, 63, 1863, 262, 1976, 12, 22704, 286, 5739, 352, 13, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 31, 45145, 2163, 10662, 10599, 18, 7, 9248, 3712, 15057, 26, 10662, 62, 5162, 408, 3712, 4507, 9205, 295, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 198, 220, 220, 220, 10662, 796, 2264, 9205, 295, 7, 15, 13, 15, 11, 657, 13, 15, 11, 7813, 7, 9248, 1220, 362, 828, 8615, 7, 9248, 1220, 362, 4008, 628, 220, 220, 220, 1441, 16605, 7, 80, 11, 10662, 62, 5162, 408, 8, 18189, 657, 5633, 10662, 1058, 532, 80, 198, 437, 628, 198, 48546, 49, 14221, 7, 80, 16, 3712, 4507, 9205, 295, 11, 10662, 62, 2411, 3712, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 796, 220, 198, 220, 220, 220, 220, 4275, 12310, 265, 8609, 685, 10662, 62, 2411, 58, 19, 60, 220, 10662, 62, 2411, 58, 18, 60, 532, 80, 62, 2411, 58, 17, 60, 10662, 62, 2411, 58, 16, 11208, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 80, 62, 2411, 58, 18, 60, 220, 10662, 62, 2411, 58, 19, 60, 220, 10662, 62, 2411, 58, 16, 60, 10662, 62, 2411, 58, 17, 11208, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 62, 2411, 58, 17, 60, 532, 80, 62, 2411, 58, 16, 60, 220, 10662, 62, 2411, 58, 19, 60, 10662, 62, 2411, 58, 18, 11208, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 80, 62, 2411, 58, 16, 60, 532, 80, 62, 2411, 58, 17, 60, 532, 80, 62, 2411, 58, 18, 60, 10662, 62, 2411, 58, 19, 11907, 8, 1635, 10662, 16, 628, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 10163, 7, 9248, 16, 11, 9848, 17, 11, 9848, 18, 8, 198, 198, 13615, 2264, 9205, 295, 4600, 80, 63, 416, 24012, 351, 9848, 16, 1863, 262, 2124, 12, 22704, 286, 5739, 352, 11, 198, 8524, 351, 9848, 17, 1863, 262, 331, 12, 22704, 286, 428, 5739, 290, 788, 351, 9848, 18, 1863, 198, 1169, 1976, 12, 22704, 286, 428, 5739, 13, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 80, 10599, 10163, 7, 9248, 16, 3712, 15057, 11, 9848, 17, 3712, 15057, 11, 9848, 18, 3712, 15057, 2599, 25, 4507, 9205, 295, 796, 4112, 49, 14221, 7, 48546, 49, 14221, 7, 80, 10599, 16, 7, 9248, 16, 828, 10662, 10599, 17, 7, 9248, 17, 36911, 10662, 10599, 18, 7, 9248, 18, 4008, 628, 198, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 62, 68, 7, 68, 11, 9848, 26, 10662, 62, 5162, 408, 796, 35886, 4507, 9205, 295, 8, 198, 198, 13615, 2264, 9205, 295, 4600, 80, 63, 326, 5724, 689, 351, 9848, 4600, 9248, 63, 1863, 4326, 16488, 4600, 68, 44646, 198, 1212, 2163, 18533, 326, 4600, 27237, 7, 68, 8, 6624, 352, 44646, 198, 198, 4863, 262, 734, 1744, 8136, 4600, 80, 63, 262, 530, 318, 4504, 326, 318, 5699, 220, 198, 1462, 4600, 80, 62, 5162, 408, 63, 357, 11295, 11, 4600, 80, 63, 290, 4600, 12, 80, 63, 8160, 262, 976, 13179, 737, 198, 37811, 198, 31, 45145, 2163, 10662, 10599, 62, 68, 7, 68, 3712, 38469, 18, 35, 11, 9848, 3712, 15057, 26, 10662, 62, 5162, 408, 3712, 4507, 9205, 295, 28, 35067, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 198, 220, 220, 220, 473, 796, 7813, 7, 9248, 1220, 362, 8, 198, 220, 220, 220, 10662, 796, 2264, 9205, 295, 7, 68, 58, 16, 60, 1635, 473, 11, 304, 58, 17, 60, 1635, 473, 11, 304, 58, 18, 60, 1635, 473, 11, 8615, 7, 9248, 1220, 362, 4008, 628, 220, 220, 220, 1441, 16605, 7, 80, 11, 10662, 62, 5162, 408, 8, 18189, 657, 5633, 10662, 1058, 532, 80, 198, 437, 198, 80, 10599, 62, 68, 7, 68, 3712, 23839, 38469, 11, 9848, 3712, 15057, 2599, 25, 4507, 9205, 295, 796, 10662, 10599, 62, 68, 7, 38469, 18, 35, 7, 68, 828, 10385, 7, 43879, 2414, 11, 9848, 4008, 628, 198, 37811, 198, 220, 220, 220, 10662, 796, 3401, 544, 37372, 13, 80, 10599, 62, 77, 5431, 7, 77, 87, 11, 299, 88, 8, 198, 198, 1026, 318, 9672, 326, 262, 734, 5128, 30104, 4600, 77, 87, 63, 290, 4600, 3281, 63, 389, 12939, 287, 5739, 352, 290, 198, 533, 7924, 1863, 262, 2124, 290, 331, 16488, 286, 5739, 362, 13, 198, 464, 2163, 5860, 262, 2264, 9205, 295, 4600, 80, 63, 284, 23064, 422, 5739, 352, 284, 5739, 362, 13, 220, 198, 198, 464, 2163, 318, 12373, 287, 262, 2565, 326, 340, 5860, 1464, 257, 2264, 9205, 295, 4600, 80, 47671, 198, 10197, 611, 4600, 3281, 63, 318, 407, 29617, 519, 20996, 284, 4600, 77, 87, 63, 393, 611, 530, 393, 1111, 30104, 423, 6632, 4129, 13, 198, 1212, 318, 6157, 287, 262, 1708, 835, 25, 220, 198, 1532, 4600, 77, 87, 63, 290, 4600, 3281, 63, 389, 407, 29617, 519, 20996, 284, 1123, 584, 11, 717, 257, 4326, 15879, 4600, 2959, 63, 318, 220, 198, 67, 23444, 326, 318, 29617, 519, 20996, 284, 4600, 77, 87, 63, 290, 318, 9105, 287, 262, 6614, 599, 3577, 416, 220, 198, 63, 77, 87, 63, 290, 4600, 3281, 44646, 1002, 4600, 77, 87, 63, 290, 4600, 3281, 63, 389, 10730, 393, 3016, 10730, 284, 1123, 584, 220, 198, 273, 4600, 3281, 63, 318, 257, 15879, 351, 6632, 393, 3016, 6632, 4129, 11, 257, 15879, 4600, 2959, 63, 318, 6163, 198, 283, 2545, 39000, 884, 326, 4600, 1069, 63, 290, 4600, 2959, 63, 389, 29617, 519, 20996, 284, 1123, 584, 13, 220, 198, 1532, 1111, 4600, 77, 87, 63, 290, 4600, 3281, 63, 389, 30104, 351, 6632, 393, 3016, 6632, 4129, 11, 281, 198, 283, 2545, 11619, 2264, 9205, 295, 4600, 80, 63, 318, 4504, 13, 198, 198, 2, 17934, 198, 198, 15506, 63, 73, 43640, 198, 3500, 11801, 913, 198, 11748, 3401, 544, 37372, 198, 198, 80, 16, 796, 3401, 544, 37372, 13, 80, 10599, 16, 7, 3829, 84, 1, 7200, 4943, 198, 80, 17, 796, 3401, 544, 37372, 13, 80, 10599, 62, 77, 5431, 26933, 16, 220, 837, 657, 11, 657, 4357, 685, 15, 220, 837, 657, 11, 352, 220, 33761, 198, 80, 18, 796, 3401, 544, 37372, 13, 80, 10599, 62, 77, 5431, 26933, 15, 13, 24, 11, 657, 11, 657, 4357, 685, 16, 13, 16, 11, 657, 11, 352, 13, 16, 12962, 198, 271, 1324, 13907, 7, 80, 16, 11, 80, 17, 8, 220, 220, 1303, 5860, 2081, 198, 271, 1324, 13907, 7, 80, 16, 11, 80, 18, 8, 220, 220, 1303, 5860, 2081, 198, 15506, 63, 198, 37811, 198, 80, 10599, 62, 77, 5431, 7, 77, 87, 11, 299, 88, 2599, 25, 4507, 9205, 295, 796, 422, 62, 49, 7, 10599, 62, 77, 5431, 7, 77, 87, 11, 299, 88, 4008, 628, 628, 198, 411, 6442, 16, 7, 80, 3712, 4507, 9205, 295, 11, 410, 17, 3712, 38469, 18, 35, 2599, 25, 38469, 18, 35, 796, 220, 198, 220, 220, 220, 362, 1635, 14808, 80, 58, 19, 60, 1635, 10662, 58, 19, 60, 532, 657, 13, 20, 8, 1635, 410, 17, 1343, 16605, 7, 80, 58, 16, 25, 18, 4357, 410, 17, 8, 1635, 10662, 58, 16, 25, 18, 60, 1343, 10662, 58, 19, 60, 1635, 3272, 7, 80, 58, 16, 25, 18, 4357, 410, 17, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 411, 6442, 17, 7, 80, 3712, 4507, 9205, 295, 11, 410, 16, 3712, 38469, 18, 35, 2599, 25, 38469, 18, 35, 796, 220, 198, 220, 220, 220, 362, 1635, 14808, 80, 58, 19, 60, 1635, 10662, 58, 19, 60, 532, 657, 13, 20, 8, 1635, 410, 16, 1343, 16605, 7, 80, 58, 16, 25, 18, 4357, 410, 16, 8, 1635, 10662, 58, 16, 25, 18, 60, 532, 10662, 58, 19, 60, 1635, 3272, 7, 80, 58, 16, 25, 18, 4357, 410, 16, 4008, 198, 198, 43762, 49, 14221, 7, 80, 16, 3712, 4507, 9205, 295, 11, 10662, 17, 3712, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 796, 220, 198, 220, 220, 220, 220, 4275, 12310, 265, 8609, 685, 10662, 16, 58, 19, 60, 220, 10662, 16, 58, 18, 60, 532, 80, 16, 58, 17, 60, 532, 80, 16, 58, 16, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 80, 16, 58, 18, 60, 220, 10662, 16, 58, 19, 60, 220, 10662, 16, 58, 16, 60, 532, 80, 16, 58, 17, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 16, 58, 17, 60, 532, 80, 16, 58, 16, 60, 220, 10662, 16, 58, 19, 60, 532, 80, 16, 58, 18, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10662, 16, 58, 16, 60, 220, 10662, 16, 58, 17, 60, 220, 10662, 16, 58, 18, 60, 220, 10662, 16, 58, 19, 11907, 8, 1635, 10662, 17, 198, 198, 259, 4399, 49, 14221, 7, 80, 3712, 4507, 9205, 295, 2599, 25, 4507, 9205, 295, 796, 2264, 9205, 295, 32590, 80, 58, 16, 4357, 532, 80, 58, 17, 4357, 532, 80, 58, 18, 4357, 10662, 58, 19, 12962, 628 ]
2.070307
4,523
using PETSc2 import MPI MPI.Init() PetscInitialize(["-ksp_monitor","-malloc","-malloc_debug","-malloc_dump"]); # # Create a vector and put values in it comm = MPI.COMM_WORLD comm_size = MPI.Comm_size(MPI.COMM_WORLD) comm_rank = MPI.Comm_rank(MPI.COMM_WORLD) sys_size_local = 3 println("my comm rank = ", comm_rank) b = PetscVec(comm); PetscVecSetType(b,"mpi"); PetscVecSetSizes(b,sys_size_local, comm_size*sys_size_local); x = PetscVec(comm); PetscVecSetType(x,"mpi"); PetscVecSetSizes(x,sys_size_local, comm_size*sys_size_local); rhs = zeros(sys_size_local) for i=1:sys_size_local idxm = [(comm_rank)*10 + i] # index PetscVecSetValues(b,idxm,[ convert(Float64,i)],INSERT_VALUES); rhs[i] = i end PetscVecAssemblyBegin(b); println("began vector assembly") PetscVecAssemblyEnd(b); println("finished vector assembly") PetscView(b); println("finished assembling vector") # # Create a matrix A_julia = [1.0 2.0 3; 4 5 7; 7 8 9] println("rhs = ", rhs) println("A_julia = ", A_julia) x_julia = A_julia\rhs println("x_julia = ", x_julia) A = PetscMat(comm); PetscMatSetType(A,"mpiaij"); PetscMatSetSizes(A,sys_size_local,sys_size_local,comm_size*sys_size_local,comm_size*sys_size_local); PetscSetUp(A); for i=1:sys_size_local for j = 1:sys_size_local idxm = [(comm_rank)*sys_size_local + i] # row index idxn = [(comm_rank)*sys_size_local + j] # column index PetscMatSetValues(A,idxm, idxn, [A_julia[i,j]],INSERT_VALUES); end end println("finished setting matrix values") PetscMatAssemblyBegin(A,MAT_FINAL_ASSEMBLY); PetscMatAssemblyEnd(A,MAT_FINAL_ASSEMBLY); println("finished assembling matrix") PetscView(A); println("finished viewing matrix") println("setting up linear solve") # setup linear solve ksp = KSP(comm) KSPSetOperators(ksp, A, A) KSPSetFromOptions(ksp) println("performing linear solve") KSPSolve(ksp, b, x) println("finished performing linear solve") PetscView(x) # copy solution back to Julia x_copy = zeros(sys_size_local) idx = collect(0:2) PetscVecGetValues(x, sys_size_local, idx, x_copy) println("x_copy = ", x_copy) err_norm = norm(x_copy - x_julia) println("err norm = ", err_norm) PetscDestroy(b) PetscDestroy(A) PetscDestroy(ksp) # remove references to all Petsc variables # perform solution #A_julia\rhs #println("x = ", x) #PetscFinalize()
[ 3500, 32043, 3351, 17, 198, 198, 11748, 4904, 40, 198, 7378, 40, 13, 31768, 3419, 198, 198, 47, 1039, 66, 24243, 1096, 7, 14692, 12, 591, 79, 62, 41143, 2430, 12, 76, 32332, 2430, 12, 76, 32332, 62, 24442, 2430, 12, 76, 32332, 62, 39455, 8973, 1776, 198, 2, 198, 2, 220, 220, 13610, 257, 15879, 290, 1234, 3815, 287, 340, 198, 198, 9503, 796, 4904, 40, 13, 9858, 44, 62, 45359, 11163, 198, 9503, 62, 7857, 796, 4904, 40, 13, 6935, 62, 7857, 7, 7378, 40, 13, 9858, 44, 62, 45359, 11163, 8, 198, 9503, 62, 43027, 796, 4904, 40, 13, 6935, 62, 43027, 7, 7378, 40, 13, 9858, 44, 62, 45359, 11163, 8, 198, 198, 17597, 62, 7857, 62, 12001, 796, 513, 198, 35235, 7203, 1820, 725, 4279, 796, 33172, 725, 62, 43027, 8, 198, 198, 65, 796, 43578, 66, 53, 721, 7, 9503, 1776, 198, 47, 1039, 66, 53, 721, 7248, 6030, 7, 65, 553, 3149, 72, 15341, 198, 47, 1039, 66, 53, 721, 7248, 50, 4340, 7, 65, 11, 17597, 62, 7857, 62, 12001, 11, 725, 62, 7857, 9, 17597, 62, 7857, 62, 12001, 1776, 198, 198, 87, 796, 43578, 66, 53, 721, 7, 9503, 1776, 198, 47, 1039, 66, 53, 721, 7248, 6030, 7, 87, 553, 3149, 72, 15341, 198, 47, 1039, 66, 53, 721, 7248, 50, 4340, 7, 87, 11, 17597, 62, 7857, 62, 12001, 11, 725, 62, 7857, 9, 17597, 62, 7857, 62, 12001, 1776, 628, 628, 198, 81, 11994, 796, 1976, 27498, 7, 17597, 62, 7857, 62, 12001, 8, 198, 1640, 1312, 28, 16, 25, 17597, 62, 7857, 62, 12001, 198, 220, 4686, 87, 76, 796, 47527, 9503, 62, 43027, 27493, 940, 1343, 1312, 60, 220, 1303, 6376, 198, 220, 43578, 66, 53, 721, 7248, 40161, 7, 65, 11, 312, 87, 76, 17414, 10385, 7, 43879, 2414, 11, 72, 8, 4357, 20913, 17395, 62, 23428, 35409, 1776, 198, 220, 9529, 82, 58, 72, 60, 796, 1312, 198, 437, 628, 628, 198, 47, 1039, 66, 53, 721, 49670, 44140, 7, 65, 1776, 198, 35235, 7203, 1350, 1030, 15879, 10474, 4943, 198, 47, 1039, 66, 53, 721, 49670, 12915, 7, 65, 1776, 198, 35235, 7203, 43952, 15879, 10474, 4943, 198, 47, 1039, 66, 7680, 7, 65, 1776, 198, 198, 35235, 7203, 43952, 40525, 15879, 4943, 198, 2, 198, 2, 220, 220, 220, 13610, 257, 17593, 628, 198, 32, 62, 73, 43640, 796, 685, 16, 13, 15, 362, 13, 15, 513, 26, 604, 642, 767, 26, 767, 807, 860, 60, 198, 35235, 7203, 81, 11994, 796, 33172, 9529, 82, 8, 198, 35235, 7203, 32, 62, 73, 43640, 796, 33172, 317, 62, 73, 43640, 8, 198, 87, 62, 73, 43640, 796, 317, 62, 73, 43640, 59, 81, 11994, 198, 35235, 7203, 87, 62, 73, 43640, 796, 33172, 2124, 62, 73, 43640, 8, 198, 198, 32, 796, 43578, 66, 19044, 7, 9503, 1776, 198, 47, 1039, 66, 19044, 7248, 6030, 7, 32, 553, 3149, 544, 2926, 15341, 198, 47, 1039, 66, 19044, 7248, 50, 4340, 7, 32, 11, 17597, 62, 7857, 62, 12001, 11, 17597, 62, 7857, 62, 12001, 11, 9503, 62, 7857, 9, 17597, 62, 7857, 62, 12001, 11, 9503, 62, 7857, 9, 17597, 62, 7857, 62, 12001, 1776, 198, 47, 1039, 66, 7248, 4933, 7, 32, 1776, 198, 1640, 1312, 28, 16, 25, 17597, 62, 7857, 62, 12001, 198, 220, 329, 474, 796, 352, 25, 17597, 62, 7857, 62, 12001, 198, 220, 220, 220, 4686, 87, 76, 796, 47527, 9503, 62, 43027, 27493, 17597, 62, 7857, 62, 12001, 1343, 1312, 60, 220, 1303, 5752, 6376, 198, 220, 220, 220, 4686, 87, 77, 796, 47527, 9503, 62, 43027, 27493, 17597, 62, 7857, 62, 12001, 1343, 474, 60, 220, 1303, 5721, 6376, 198, 220, 220, 220, 43578, 66, 19044, 7248, 40161, 7, 32, 11, 312, 87, 76, 11, 4686, 87, 77, 11, 685, 32, 62, 73, 43640, 58, 72, 11, 73, 60, 4357, 20913, 17395, 62, 23428, 35409, 1776, 198, 220, 886, 198, 437, 198, 198, 35235, 7203, 43952, 4634, 17593, 3815, 4943, 198, 47, 1039, 66, 19044, 49670, 44140, 7, 32, 11, 41636, 62, 37, 17961, 62, 10705, 3620, 9148, 56, 1776, 198, 47, 1039, 66, 19044, 49670, 12915, 7, 32, 11, 41636, 62, 37, 17961, 62, 10705, 3620, 9148, 56, 1776, 198, 35235, 7203, 43952, 40525, 17593, 4943, 198, 47, 1039, 66, 7680, 7, 32, 1776, 628, 198, 35235, 7203, 43952, 11681, 17593, 4943, 198, 198, 35235, 7203, 33990, 510, 14174, 8494, 4943, 198, 2, 9058, 14174, 8494, 198, 591, 79, 796, 509, 4303, 7, 9503, 8, 198, 27015, 3705, 316, 18843, 2024, 7, 591, 79, 11, 317, 11, 317, 8, 198, 27015, 3705, 316, 4863, 29046, 7, 591, 79, 8, 198, 35235, 7203, 37440, 14174, 8494, 4943, 198, 27015, 3705, 6442, 7, 591, 79, 11, 275, 11, 2124, 8, 198, 35235, 7203, 43952, 9489, 14174, 8494, 4943, 198, 47, 1039, 66, 7680, 7, 87, 8, 198, 198, 2, 4866, 4610, 736, 284, 22300, 198, 87, 62, 30073, 796, 1976, 27498, 7, 17597, 62, 7857, 62, 12001, 8, 198, 312, 87, 796, 2824, 7, 15, 25, 17, 8, 198, 198, 47, 1039, 66, 53, 721, 3855, 40161, 7, 87, 11, 25064, 62, 7857, 62, 12001, 11, 4686, 87, 11, 2124, 62, 30073, 8, 198, 198, 35235, 7203, 87, 62, 30073, 796, 33172, 2124, 62, 30073, 8, 198, 198, 8056, 62, 27237, 796, 2593, 7, 87, 62, 30073, 532, 2124, 62, 73, 43640, 8, 198, 35235, 7203, 8056, 2593, 796, 33172, 11454, 62, 27237, 8, 198, 198, 47, 1039, 66, 49174, 7, 65, 8, 198, 47, 1039, 66, 49174, 7, 32, 8, 198, 47, 1039, 66, 49174, 7, 591, 79, 8, 198, 2, 4781, 10288, 284, 477, 43578, 66, 9633, 198, 2, 1620, 4610, 198, 2, 32, 62, 73, 43640, 59, 81, 11994, 198, 2, 35235, 7203, 87, 796, 33172, 2124, 8, 198, 198, 2, 47, 1039, 66, 19006, 1096, 3419, 628 ]
2.376025
976
@testset "1579.remove-max-number-of-edges-to-keep-graph-fully-traversable.jl" begin @test max_num_edges_to_remove( 4, [[3, 1, 2], [3, 2, 3], [1, 1, 3], [1, 2, 4], [1, 1, 2], [2, 3, 4]] ) == 2 @test max_num_edges_to_remove(4, [[3, 2, 3], [1, 1, 2], [2, 3, 4]]) == -1 @test max_num_edges_to_remove(4, [[3, 1, 2], [3, 2, 3], [1, 1, 4], [2, 1, 4]]) == 0 @test max_num_edges_to_remove(4, [[3, 2, 3], [1, 1, 2], [1, 3, 4]]) == -1 end
[ 31, 9288, 2617, 366, 1314, 3720, 13, 28956, 12, 9806, 12, 17618, 12, 1659, 12, 276, 3212, 12, 1462, 12, 14894, 12, 34960, 12, 2759, 12, 9535, 690, 540, 13, 20362, 1, 2221, 198, 220, 220, 220, 2488, 9288, 3509, 62, 22510, 62, 276, 3212, 62, 1462, 62, 28956, 7, 198, 220, 220, 220, 220, 220, 220, 220, 604, 11, 16410, 18, 11, 352, 11, 362, 4357, 685, 18, 11, 362, 11, 513, 4357, 685, 16, 11, 352, 11, 513, 4357, 685, 16, 11, 362, 11, 604, 4357, 685, 16, 11, 352, 11, 362, 4357, 685, 17, 11, 513, 11, 604, 11907, 198, 220, 220, 220, 1267, 6624, 362, 198, 220, 220, 220, 2488, 9288, 3509, 62, 22510, 62, 276, 3212, 62, 1462, 62, 28956, 7, 19, 11, 16410, 18, 11, 362, 11, 513, 4357, 685, 16, 11, 352, 11, 362, 4357, 685, 17, 11, 513, 11, 604, 11907, 8, 6624, 532, 16, 198, 220, 220, 220, 2488, 9288, 3509, 62, 22510, 62, 276, 3212, 62, 1462, 62, 28956, 7, 19, 11, 16410, 18, 11, 352, 11, 362, 4357, 685, 18, 11, 362, 11, 513, 4357, 685, 16, 11, 352, 11, 604, 4357, 685, 17, 11, 352, 11, 604, 11907, 8, 6624, 657, 198, 220, 220, 220, 2488, 9288, 3509, 62, 22510, 62, 276, 3212, 62, 1462, 62, 28956, 7, 19, 11, 16410, 18, 11, 362, 11, 513, 4357, 685, 16, 11, 352, 11, 362, 4357, 685, 16, 11, 513, 11, 604, 11907, 8, 6624, 532, 16, 198, 437, 198 ]
1.824
250
export assign, assignlattice function assign(n,sigma) magicnumber = 8 K = Int64(ceil(sqrt(n*sigma/magicnumber))) println("We use $K x $K cells.") return assign(n,sigma,K,K) end function assignlattice(n,sigma) magicnumber = 8 K = Int64(ceil(sqrt(n*sigma/magicnumber))) println("We use $K x $K cells.") return assignlattice(n,sigma,K,K) end function assignlattice(n,sigma,nx,ny) x0,x1 = 0.0,1.0 y0,y1 = 0.0,1.0 m = Int64(floor(sqrt(n))) edgesx = range(x0,stop=x1,length=m+1) edgesy = range(y0,stop=y1,length=m+1) x = zeros(m*m) y = zeros(m*m) r = ones(m*m) count = 1 for i=1:m for j=1:m x[count] = edgesx[i] y[count] = edgesy[j] r[count] = 2*sigma/(m*m) count += 1 end end delta1 = edgesx[2]-edgesx[1] radii = r[1] delta2 = delta1-2*radii println("Lattice distance: $delta1") println("Boundary distance $delta2") println("Radii: $radii") return assign(x0,x1,nx,y0,y1,ny,x,y,r) end function assign(n,sigma,nx,ny) x0,x1 = 0.0,1.0 y0,y1 = 0.0,1.0 x = x0.+(x1-x0)*rand(n) y = y0.+(y1-y0)*rand(n) r = ones(n)*(sigma/n)/2; return assign(x0,x1,nx,y0,y1,ny,x,y,r) end function assign(x0,x1,nx,y0,y1,ny,x,y,r) T = typeof(x[1]) collectionx = [zeros(T,0) for i=1:nx,j=1:ny] collectiony = [zeros(T,0) for i=1:nx,j=1:ny] collectionr = [zeros(T,0) for i=1:nx,j=1:ny] lx = x1-x0 ly = y1-y0 edgesx = range(x0,stop=x1,length=nx+1) edgesy = range(y0,stop=y1,length=ny+1) @assert length(x) == length(y) == length(r) no = length(x) for n=1:no i = findindex(x[n],edgesx) j = findindex(y[n],edgesy) # Obstacle is in this cell but we have to check the neighbors for nexti in [-1,0,1] for nextj in [-1,0,1] shiftedx = x[n]+nexti*r[n] shiftedy = y[n]+nextj*r[n] shiftedxperiodic = x0+mod(shiftedx-x0,lx) shiftedyperiodic = y0+mod(shiftedy-y0,ly) shiftedi = mmod(i+nexti,nx) shiftedj = mmod(j+nextj,ny) if (edgesx[shiftedi]<=shiftedxperiodic<edgesx[shiftedi+1]) & (edgesy[shiftedj]<=shiftedyperiodic<edgesy[shiftedj+1]) deltax = ifelse(shiftedx<x0,lx,ifelse(shiftedx>x1,-lx,0)) deltay = ifelse(shiftedy<y0,ly,ifelse(shiftedy>y1,-ly,0)) append!(collectionx[shiftedi,shiftedj],x[n]+deltax) append!(collectiony[shiftedi,shiftedj],y[n]+deltay) append!(collectionr[shiftedi,shiftedj],r[n]) end end end end Collection = Array{Obstacles,2}(undef,nx,ny) for i=1:nx for j=1:ny Collection[i,j] = Obstacles(a2sa(collectionx[i,j]), a2sa(collectiony[i,j]), a2sa(collectionr[i,j]), length(collectionx[i,j])) end end Meta = Metadata(nx,ny,edgesx,edgesy) return Collection, Meta end
[ 39344, 8333, 11, 8333, 75, 1078, 501, 628, 628, 198, 8818, 8333, 7, 77, 11, 82, 13495, 8, 198, 220, 220, 220, 5536, 17618, 796, 807, 220, 198, 220, 220, 220, 509, 796, 2558, 2414, 7, 344, 346, 7, 31166, 17034, 7, 77, 9, 82, 13495, 14, 32707, 17618, 22305, 198, 220, 220, 220, 44872, 7203, 1135, 779, 720, 42, 2124, 720, 42, 4778, 19570, 198, 220, 220, 220, 1441, 8333, 7, 77, 11, 82, 13495, 11, 42, 11, 42, 8, 198, 437, 198, 198, 8818, 8333, 75, 1078, 501, 7, 77, 11, 82, 13495, 8, 198, 220, 220, 220, 5536, 17618, 796, 807, 198, 220, 220, 220, 509, 796, 2558, 2414, 7, 344, 346, 7, 31166, 17034, 7, 77, 9, 82, 13495, 14, 32707, 17618, 22305, 198, 220, 220, 220, 44872, 7203, 1135, 779, 720, 42, 2124, 720, 42, 4778, 19570, 198, 220, 220, 220, 1441, 8333, 75, 1078, 501, 7, 77, 11, 82, 13495, 11, 42, 11, 42, 8, 198, 437, 198, 198, 8818, 8333, 75, 1078, 501, 7, 77, 11, 82, 13495, 11, 77, 87, 11, 3281, 8, 198, 220, 220, 220, 2124, 15, 11, 87, 16, 796, 657, 13, 15, 11, 16, 13, 15, 198, 220, 220, 220, 331, 15, 11, 88, 16, 796, 657, 13, 15, 11, 16, 13, 15, 198, 220, 220, 220, 285, 796, 2558, 2414, 7, 28300, 7, 31166, 17034, 7, 77, 22305, 198, 220, 220, 220, 13015, 87, 796, 2837, 7, 87, 15, 11, 11338, 28, 87, 16, 11, 13664, 28, 76, 10, 16, 8, 198, 220, 220, 220, 13015, 88, 796, 2837, 7, 88, 15, 11, 11338, 28, 88, 16, 11, 13664, 28, 76, 10, 16, 8, 198, 220, 220, 220, 2124, 796, 1976, 27498, 7, 76, 9, 76, 8, 198, 220, 220, 220, 331, 796, 1976, 27498, 7, 76, 9, 76, 8, 198, 220, 220, 220, 374, 796, 3392, 7, 76, 9, 76, 8, 198, 220, 220, 220, 954, 796, 352, 198, 220, 220, 220, 329, 1312, 28, 16, 25, 76, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 28, 16, 25, 76, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 58, 9127, 60, 796, 13015, 87, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 58, 9127, 60, 796, 13015, 88, 58, 73, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 58, 9127, 60, 796, 362, 9, 82, 13495, 29006, 76, 9, 76, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 15853, 352, 220, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 25979, 16, 796, 13015, 87, 58, 17, 45297, 276, 3212, 87, 58, 16, 60, 198, 220, 220, 220, 2511, 4178, 796, 374, 58, 16, 60, 198, 220, 220, 220, 25979, 17, 796, 25979, 16, 12, 17, 9, 6335, 4178, 198, 220, 220, 220, 44872, 7203, 43, 1078, 501, 5253, 25, 720, 67, 12514, 16, 4943, 198, 220, 220, 220, 44872, 7203, 49646, 560, 5253, 720, 67, 12514, 17, 4943, 198, 220, 220, 220, 44872, 7203, 15546, 4178, 25, 720, 6335, 4178, 4943, 198, 220, 220, 220, 1441, 8333, 7, 87, 15, 11, 87, 16, 11, 77, 87, 11, 88, 15, 11, 88, 16, 11, 3281, 11, 87, 11, 88, 11, 81, 8, 198, 437, 628, 198, 198, 8818, 8333, 7, 77, 11, 82, 13495, 11, 77, 87, 11, 3281, 8, 198, 220, 220, 220, 2124, 15, 11, 87, 16, 796, 657, 13, 15, 11, 16, 13, 15, 198, 220, 220, 220, 331, 15, 11, 88, 16, 796, 657, 13, 15, 11, 16, 13, 15, 198, 220, 220, 220, 2124, 796, 2124, 15, 13, 33747, 87, 16, 12, 87, 15, 27493, 25192, 7, 77, 8, 198, 220, 220, 220, 331, 796, 331, 15, 13, 33747, 88, 16, 12, 88, 15, 27493, 25192, 7, 77, 8, 198, 220, 220, 220, 374, 796, 3392, 7, 77, 27493, 7, 82, 13495, 14, 77, 20679, 17, 26, 198, 220, 220, 220, 1441, 8333, 7, 87, 15, 11, 87, 16, 11, 77, 87, 11, 88, 15, 11, 88, 16, 11, 3281, 11, 87, 11, 88, 11, 81, 8, 198, 437, 198, 198, 8818, 8333, 7, 87, 15, 11, 87, 16, 11, 77, 87, 11, 88, 15, 11, 88, 16, 11, 3281, 11, 87, 11, 88, 11, 81, 8, 198, 220, 220, 220, 309, 796, 2099, 1659, 7, 87, 58, 16, 12962, 198, 220, 220, 220, 4947, 87, 796, 685, 9107, 418, 7, 51, 11, 15, 8, 329, 1312, 28, 16, 25, 77, 87, 11, 73, 28, 16, 25, 3281, 60, 198, 220, 220, 220, 4947, 88, 796, 685, 9107, 418, 7, 51, 11, 15, 8, 329, 1312, 28, 16, 25, 77, 87, 11, 73, 28, 16, 25, 3281, 60, 198, 220, 220, 220, 4947, 81, 796, 685, 9107, 418, 7, 51, 11, 15, 8, 329, 1312, 28, 16, 25, 77, 87, 11, 73, 28, 16, 25, 3281, 60, 198, 220, 220, 220, 300, 87, 796, 2124, 16, 12, 87, 15, 198, 220, 220, 220, 22404, 796, 331, 16, 12, 88, 15, 198, 220, 220, 220, 13015, 87, 796, 2837, 7, 87, 15, 11, 11338, 28, 87, 16, 11, 13664, 28, 77, 87, 10, 16, 8, 198, 220, 220, 220, 13015, 88, 796, 2837, 7, 88, 15, 11, 11338, 28, 88, 16, 11, 13664, 28, 3281, 10, 16, 8, 198, 220, 220, 220, 2488, 30493, 4129, 7, 87, 8, 6624, 4129, 7, 88, 8, 6624, 4129, 7, 81, 8, 198, 220, 220, 220, 645, 796, 4129, 7, 87, 8, 198, 220, 220, 220, 329, 299, 28, 16, 25, 3919, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 796, 1064, 9630, 7, 87, 58, 77, 4357, 276, 3212, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 474, 796, 1064, 9630, 7, 88, 58, 77, 4357, 276, 3212, 88, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 46378, 6008, 318, 287, 428, 2685, 475, 356, 423, 284, 2198, 262, 12020, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1306, 72, 287, 25915, 16, 11, 15, 11, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1306, 73, 287, 25915, 16, 11, 15, 11, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 87, 796, 2124, 58, 77, 48688, 19545, 72, 9, 81, 58, 77, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 88, 796, 331, 58, 77, 48688, 19545, 73, 9, 81, 58, 77, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 87, 41007, 291, 796, 2124, 15, 10, 4666, 7, 1477, 21715, 87, 12, 87, 15, 11, 75, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 88, 41007, 291, 796, 331, 15, 10, 4666, 7, 1477, 21715, 88, 12, 88, 15, 11, 306, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 72, 796, 285, 4666, 7, 72, 10, 19545, 72, 11, 77, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14869, 73, 796, 285, 4666, 7, 73, 10, 19545, 73, 11, 3281, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 276, 3212, 87, 58, 1477, 21715, 72, 60, 27, 28, 1477, 21715, 87, 41007, 291, 27, 276, 3212, 87, 58, 1477, 21715, 72, 10, 16, 12962, 1222, 357, 276, 3212, 88, 58, 1477, 21715, 73, 60, 27, 28, 1477, 21715, 88, 41007, 291, 27, 276, 3212, 88, 58, 1477, 21715, 73, 10, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 19290, 796, 611, 17772, 7, 1477, 21715, 87, 27, 87, 15, 11, 75, 87, 11, 361, 17772, 7, 1477, 21715, 87, 29, 87, 16, 12095, 75, 87, 11, 15, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 83, 323, 796, 611, 17772, 7, 1477, 21715, 88, 27, 88, 15, 11, 306, 11, 361, 17772, 7, 1477, 21715, 88, 29, 88, 16, 12095, 306, 11, 15, 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, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24443, 0, 7, 43681, 87, 58, 1477, 21715, 72, 11, 1477, 21715, 73, 4357, 87, 58, 77, 48688, 67, 2120, 897, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24443, 0, 7, 43681, 88, 58, 1477, 21715, 72, 11, 1477, 21715, 73, 4357, 88, 58, 77, 48688, 67, 2120, 323, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24443, 0, 7, 43681, 81, 58, 1477, 21715, 72, 11, 1477, 21715, 73, 4357, 81, 58, 77, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 12251, 796, 15690, 90, 5944, 301, 9928, 11, 17, 92, 7, 917, 891, 11, 77, 87, 11, 3281, 8, 198, 220, 220, 220, 329, 1312, 28, 16, 25, 77, 87, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 28, 16, 25, 3281, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12251, 58, 72, 11, 73, 60, 796, 46378, 9928, 7, 64, 17, 11400, 7, 43681, 87, 58, 72, 11, 73, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 17, 11400, 7, 43681, 88, 58, 72, 11, 73, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 257, 17, 11400, 7, 43681, 81, 58, 72, 11, 73, 46570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4129, 7, 43681, 87, 58, 72, 11, 73, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 30277, 796, 3395, 14706, 7, 77, 87, 11, 3281, 11, 276, 3212, 87, 11, 276, 3212, 88, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1441, 12251, 11, 30277, 198, 437, 198 ]
1.672907
1,923
const NGROUP = 6 const MAXOVERLAY = 500 const MAXLINE = 100 const MAXLINEPNT = 1000 const MAXPLANEGRID = 200 @enum mjtCatBit begin # bitflags for vGeom category CAT_STATIC = 1 # model elements in body 0 CAT_DYNAMIC = 2 # model elements in all other bodies CAT_DECOR = 4 # decorative geoms CAT_ALL = 7 # select all categories end @enum mjtMouse begin # mouse interaction mode MOUSE_NONE = 0 # no action MOUSE_ROTATE_V # rotate, vertical plane MOUSE_ROTATE_H # rotate, horizontal plane MOUSE_MOVE_V # move, vertical plane MOUSE_MOVE_H # move, horizontal plane MOUSE_ZOOM # zoom MOUSE_SELECT # selection end @enum mjtPertBit begin # mouse perturbations PERT_TRANSLATE = 1 # translation PERT_ROTATE = 2 # rotation end @enum mjtCamera begin # abstract camera type CAMERA_FREE = 0 # free camera CAMERA_TRACKING # tracking camera; uses trackbodyid CAMERA_FIXED # fixed camera; uses fixedcamid CAMERA_USER # user is responsible for setting OpenGL camera end @enum mjtLabel begin # object labeling LABEL_NONE = 0 # nothing LABEL_BODY # body labels LABEL_JOINT # joint labels LABEL_GEOM # geom labels LABEL_SITE # site labels LABEL_CAMERA # camera labels LABEL_LIGHT # light labels LABEL_TENDON # tendon labels LABEL_ACTUATOR # actuator labels LABEL_CONSTRAINT # constraint labels LABEL_SKIN # skin labels LABEL_SELECTION # selected object LABEL_SELPNT # coordinates of selection point LABEL_CONTACTFORCE # magnitude of contact force NLABEL # number of label types end @enum mjtFrame begin # frame visualization FRAME_NONE = 0 # no frames FRAME_BODY # body frames FRAME_GEOM # geom frames FRAME_SITE # site frames FRAME_CAMERA # camera frames FRAME_LIGHT # light frames FRAME_WORLD # world frame NFRAME # number of visualization frames end @enum mjtVisFlag begin # flags enabling model element visualization VIS_CONVEXHULL = 0 # mesh convex hull VIS_TEXTURE # textures VIS_JOINT # joints VIS_ACTUATOR # actuators VIS_CAMERA # cameras VIS_LIGHT # lights VIS_TENDON # tendons VIS_RANGEFINDER # rangefinder sensors VIS_CONSTRAINT # point constraints VIS_INERTIA # equivalent inertia boxes VIS_SCLINERTIA # scale equivalent inertia boxes with mass VIS_PERTFORCE # perturbation force VIS_PERTOBJ # perturbation object VIS_CONTACTPOINT # contact points VIS_CONTACTFORCE # contact force VIS_CONTACTSPLIT # split contact force into normal and tanget VIS_TRANSPARENT # make dynamic geoms more transparent VIS_AUTOCONNECT # auto connect joints and body coms VIS_COM # center of mass VIS_SELECT # selection point VIS_STATIC # static bodies VIS_SKIN # skin NVISFLAG # number of visualization flags end @enum mjtRndFlag begin # flags enabling rendering effects RND_SHADOW = 0 # shadows RND_WIREFRAME # wireframe RND_REFLECTION # reflections RND_ADDITIVE # additive transparency RND_SKYBOX # skybox RND_FOG # fog RND_HAZE # haze RND_SEGMENT # segmentation with random color RND_IDCOLOR # segmentation with segid color NRNDFLAG # number of rendering flags end @enum mjtStereo begin # type of stereo rendering STEREO_NONE = 0 # no stereo; use left eye only STEREO_QUADBUFFERED # quad buffered; revert to side-by-side if no hardware support STEREO_SIDEBYSIDE # side-by-side end struct mjvPerturb select::Cint skinselect::Cint active::Cint refpos::SVector{3, mjtNum} refquat::SVector{4, mjtNum} localpos::SVector{3, mjtNum} scale::mjtNum end struct mjvCamera _type::Cint fixedcamid::Cint trackbodyid::Cint lookat::SVector{3, mjtNum} distance::mjtNum azimuth::mjtNum elevation::mjtNum end struct mjvGLCamera pos::SVector{3, Cfloat} forward::SVector{3, Cfloat} up::SVector{3, Cfloat} frustum_center::Cfloat frustum_bottom::Cfloat frustum_top::Cfloat frustum_near::Cfloat frustum_far::Cfloat end struct mjvGeom _type::Cint dataid::Cint objtype::Cint objid::Cint category::Cint texid::Cint texuniform::Cint texcoord::Cint segid::Cint texrepeat::SVector{2, Cfloat} size::SVector{3, Cfloat} pos::SVector{3, Cfloat} mat::SVector{9, Cfloat} rgba::SVector{4, Cfloat} emission::Cfloat specular::Cfloat shininess::Cfloat reflectance::Cfloat label::SVector{100, UInt8} camdist::Cfloat rbound::Cfloat transparent::mjtByte end struct mjvLight pos::SVector{3, Cfloat} dir::SVector{3, Cfloat} attenuation::SVector{3, Cfloat} cutoff::Cfloat exponent::Cfloat ambient::SVector{3, Cfloat} diffuse::SVector{3, Cfloat} specular::SVector{3, Cfloat} headlight::mjtByte directional::mjtByte castshadow::mjtByte end struct mjvOption label::Cint frame::Cint geomgroup::SVector{NGROUP, mjtByte} sitegroup::SVector{NGROUP, mjtByte} jointgroup::SVector{NGROUP, mjtByte} tendongroup::SVector{NGROUP, mjtByte} actuatorgroup::SVector{NGROUP, mjtByte} flags::SVector{Int(NVISFLAG), mjtByte} end struct mjvScene maxgeom::Cint ngeom::Cint geoms::Ptr{mjvGeom} geomorder::Ptr{Cint} nskin::Cint skinfacenum::Ptr{Cint} skinvertadr::Ptr{Cint} skinvertnum::Ptr{Cint} skinvert::Ptr{Cfloat} skinnormal::Ptr{Cfloat} nlight::Cint lights::SVector{8, mjvLight} camera::SVector{2, mjvGLCamera} enabletransform::mjtByte translate::SVector{3, Cfloat} rotate::SVector{4, Cfloat} scale::Cfloat stereo::Cint flags::SVector{5, mjtByte} end struct mjvFigure flg_legend::Cint flg_ticklabel::SVector{2, Cint} flg_extend::Cint flg_barplot::Cint flg_selection::Cint flg_symmetric::Cint legendoff::Cint gridsize::SVector{2, Cint} selection::Cint highlight::SVector{2, Cint} gridrgb::SVector{3, Cfloat} gridwidth::Cfloat figurergba::SVector{4, Cfloat} panergba::SVector{4, Cfloat} legendrgba::SVector{4, Cfloat} textrgb::SVector{3, Cfloat} range::SVector{2, SVector{2, Cfloat}} xlabel::SVector{100, UInt8} title::SVector{100, UInt8} xformat::SVector{20, UInt8} yformat::SVector{20, UInt8} minwidth::SVector{20, UInt8} linepnt::SVector{MAXLINE, Cint} linergb::SVector{MAXLINE, SVector{3, Cfloat}} linewidth::SVector{MAXLINE, Cfloat} linedata::SVector{MAXLINE, SVector{2*MAXLINEPNT, Cfloat}} linename::SVector{MAXLINE, SVector{100, UInt8}} xaxispixel::SVector{2, Cint} yaxispixel::SVector{2, Cint} xaxisdata::SVector{2, Cint} yaxisdata::SVector{2, Cint} end
[ 198, 9979, 399, 46846, 220, 220, 220, 220, 220, 220, 796, 718, 198, 9979, 25882, 41983, 43, 4792, 220, 220, 796, 5323, 198, 198, 9979, 25882, 24027, 220, 220, 220, 220, 220, 796, 1802, 198, 9979, 25882, 24027, 47, 11251, 220, 220, 796, 8576, 198, 9979, 25882, 6489, 1565, 7156, 49, 2389, 796, 939, 198, 198, 31, 44709, 285, 73, 83, 21979, 13128, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1643, 33152, 329, 410, 10082, 296, 6536, 198, 220, 220, 220, 38348, 62, 35744, 2149, 220, 220, 220, 220, 220, 220, 220, 796, 352, 220, 1303, 2746, 4847, 287, 1767, 657, 198, 220, 220, 220, 38348, 62, 35, 40760, 2390, 2149, 220, 220, 220, 220, 220, 220, 796, 362, 220, 1303, 2746, 4847, 287, 477, 584, 5920, 198, 220, 220, 220, 38348, 62, 41374, 1581, 220, 220, 220, 220, 220, 220, 220, 220, 796, 604, 220, 1303, 39798, 4903, 3150, 198, 220, 220, 220, 38348, 62, 7036, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 767, 220, 1303, 2922, 477, 9376, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 39643, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10211, 10375, 4235, 198, 220, 220, 220, 337, 2606, 5188, 62, 45, 11651, 220, 220, 220, 220, 220, 220, 220, 220, 796, 657, 1303, 645, 2223, 198, 220, 220, 220, 337, 2606, 5188, 62, 49, 2394, 6158, 62, 53, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23064, 11, 11723, 6614, 198, 220, 220, 220, 337, 2606, 5188, 62, 49, 2394, 6158, 62, 39, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 23064, 11, 16021, 6614, 198, 220, 220, 220, 337, 2606, 5188, 62, 11770, 6089, 62, 53, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1445, 11, 11723, 6614, 198, 220, 220, 220, 337, 2606, 5188, 62, 11770, 6089, 62, 39, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1445, 11, 16021, 6614, 198, 220, 220, 220, 337, 2606, 5188, 62, 57, 46, 2662, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 19792, 198, 220, 220, 220, 337, 2606, 5188, 62, 46506, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6356, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 47, 861, 13128, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10211, 22146, 5945, 602, 198, 220, 220, 220, 350, 17395, 62, 5446, 1565, 8634, 6158, 220, 220, 220, 796, 352, 220, 1303, 11059, 198, 220, 220, 220, 350, 17395, 62, 49, 2394, 6158, 220, 220, 220, 220, 220, 220, 796, 362, 220, 1303, 13179, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 35632, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 12531, 4676, 2099, 198, 220, 220, 220, 32421, 46461, 62, 39274, 220, 220, 220, 220, 220, 220, 220, 796, 657, 1303, 1479, 4676, 198, 220, 220, 220, 32421, 46461, 62, 5446, 8120, 2751, 220, 220, 220, 220, 220, 220, 220, 1303, 9646, 4676, 26, 3544, 2610, 2618, 312, 198, 220, 220, 220, 32421, 46461, 62, 47084, 1961, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5969, 4676, 26, 3544, 5969, 20991, 312, 198, 220, 220, 220, 32421, 46461, 62, 29904, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2836, 318, 4497, 329, 4634, 30672, 4676, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 33986, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2134, 27393, 198, 220, 220, 220, 406, 6242, 3698, 62, 45, 11651, 220, 220, 220, 220, 220, 220, 220, 796, 657, 220, 1303, 2147, 198, 220, 220, 220, 406, 6242, 3698, 62, 33, 33076, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1767, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 45006, 12394, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6466, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 8264, 2662, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4903, 296, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 50, 12709, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2524, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 34, 2390, 46461, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4676, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 43, 9947, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1657, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 51, 10619, 1340, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 42205, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 10659, 52, 25633, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 43840, 1352, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 10943, 2257, 3861, 12394, 220, 220, 220, 220, 220, 220, 1303, 32315, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 18831, 1268, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4168, 14722, 198, 220, 220, 220, 406, 6242, 3698, 62, 46506, 2849, 220, 220, 220, 220, 220, 220, 220, 1303, 6163, 2134, 198, 220, 220, 220, 406, 6242, 3698, 62, 50, 3698, 47, 11251, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22715, 286, 6356, 966, 198, 220, 220, 220, 406, 6242, 3698, 62, 37815, 2246, 10234, 1581, 5222, 220, 220, 220, 220, 1303, 14735, 286, 2800, 2700, 628, 220, 220, 220, 22879, 6242, 3698, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 286, 6167, 3858, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 19778, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5739, 32704, 198, 220, 220, 220, 8782, 10067, 62, 45, 11651, 220, 220, 220, 220, 220, 220, 220, 796, 657, 220, 1303, 645, 13431, 198, 220, 220, 220, 8782, 10067, 62, 33, 33076, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1767, 13431, 198, 220, 220, 220, 8782, 10067, 62, 8264, 2662, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4903, 296, 13431, 198, 220, 220, 220, 8782, 10067, 62, 50, 12709, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2524, 13431, 198, 220, 220, 220, 8782, 10067, 62, 34, 2390, 46461, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4676, 13431, 198, 220, 220, 220, 8782, 10067, 62, 43, 9947, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1657, 13431, 198, 220, 220, 220, 8782, 10067, 62, 45359, 11163, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 995, 5739, 628, 220, 220, 220, 399, 10913, 10067, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 286, 32704, 13431, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 15854, 34227, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9701, 15882, 2746, 5002, 32704, 198, 220, 220, 220, 50035, 62, 10943, 6089, 55, 39, 9994, 220, 220, 220, 796, 657, 220, 1303, 19609, 24748, 87, 23644, 198, 220, 220, 220, 50035, 62, 47648, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 20028, 198, 220, 220, 220, 50035, 62, 45006, 12394, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 24039, 198, 220, 220, 220, 50035, 62, 10659, 52, 25633, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 43840, 2024, 198, 220, 220, 220, 50035, 62, 34, 2390, 46461, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9073, 198, 220, 220, 220, 50035, 62, 43, 9947, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7588, 198, 220, 220, 220, 50035, 62, 51, 10619, 1340, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4327, 684, 198, 220, 220, 220, 50035, 62, 49, 27746, 37, 12115, 1137, 220, 220, 220, 220, 220, 220, 220, 1303, 2837, 22805, 15736, 198, 220, 220, 220, 50035, 62, 10943, 2257, 3861, 12394, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 966, 17778, 198, 220, 220, 220, 50035, 62, 1268, 17395, 3539, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 7548, 48482, 10559, 198, 220, 220, 220, 50035, 62, 50, 5097, 1268, 17395, 3539, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5046, 7548, 48482, 10559, 351, 2347, 198, 220, 220, 220, 50035, 62, 18973, 10234, 1581, 5222, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22146, 5945, 341, 2700, 198, 220, 220, 220, 50035, 62, 47, 17395, 9864, 41, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 22146, 5945, 341, 2134, 198, 220, 220, 220, 50035, 62, 37815, 2246, 7250, 46, 12394, 220, 220, 220, 220, 220, 220, 1303, 2800, 2173, 198, 220, 220, 220, 50035, 62, 37815, 2246, 10234, 1581, 5222, 220, 220, 220, 220, 220, 220, 1303, 2800, 2700, 198, 220, 220, 220, 50035, 62, 37815, 10659, 4303, 43, 2043, 220, 220, 220, 220, 220, 220, 1303, 6626, 2800, 2700, 656, 3487, 290, 13875, 316, 198, 220, 220, 220, 50035, 62, 5446, 1565, 4303, 1503, 3525, 220, 220, 220, 220, 220, 220, 220, 1303, 787, 8925, 4903, 3150, 517, 13245, 198, 220, 220, 220, 50035, 62, 39371, 4503, 1340, 48842, 220, 220, 220, 220, 220, 220, 220, 1303, 8295, 2018, 24039, 290, 1767, 401, 82, 198, 220, 220, 220, 50035, 62, 9858, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3641, 286, 2347, 198, 220, 220, 220, 50035, 62, 46506, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6356, 966, 198, 220, 220, 220, 50035, 62, 35744, 2149, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9037, 5920, 198, 220, 220, 220, 50035, 62, 18831, 1268, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4168, 628, 220, 220, 220, 23973, 1797, 38948, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 286, 32704, 9701, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 49, 358, 34227, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 9701, 15882, 14837, 3048, 198, 220, 220, 220, 371, 8575, 62, 9693, 2885, 3913, 220, 220, 220, 220, 220, 220, 220, 796, 657, 220, 1303, 16187, 198, 220, 220, 220, 371, 8575, 62, 36326, 2200, 10913, 10067, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6503, 14535, 198, 220, 220, 220, 371, 8575, 62, 31688, 16779, 2849, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 35066, 198, 220, 220, 220, 371, 8575, 62, 29266, 2043, 9306, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 38298, 13902, 198, 220, 220, 220, 371, 8575, 62, 18831, 56, 39758, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6766, 3524, 198, 220, 220, 220, 371, 8575, 62, 6080, 38, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 19558, 198, 220, 220, 220, 371, 8575, 62, 7801, 21211, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 42772, 198, 220, 220, 220, 371, 8575, 62, 5188, 38, 10979, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10618, 341, 351, 4738, 3124, 198, 220, 220, 220, 371, 8575, 62, 2389, 46786, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 10618, 341, 351, 384, 70, 312, 3124, 628, 220, 220, 220, 23057, 8575, 38948, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 286, 14837, 9701, 198, 437, 198, 198, 31, 44709, 285, 73, 83, 1273, 32934, 2221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2099, 286, 24820, 14837, 198, 220, 220, 220, 3563, 1137, 4720, 62, 45, 11651, 220, 220, 220, 220, 220, 220, 796, 657, 220, 1303, 645, 24820, 26, 779, 1364, 4151, 691, 198, 220, 220, 220, 3563, 1137, 4720, 62, 10917, 2885, 19499, 45746, 1961, 220, 220, 220, 1303, 15094, 6940, 1068, 26, 34052, 284, 1735, 12, 1525, 12, 1589, 611, 645, 6890, 1104, 198, 220, 220, 220, 3563, 1137, 4720, 62, 50, 14114, 33, 16309, 14114, 220, 220, 220, 220, 220, 1303, 1735, 12, 1525, 12, 1589, 198, 437, 198, 198, 7249, 285, 73, 47322, 861, 5945, 198, 220, 220, 2922, 3712, 34, 600, 198, 220, 220, 4168, 19738, 3712, 34, 600, 198, 220, 220, 4075, 3712, 34, 600, 198, 220, 220, 1006, 1930, 3712, 50, 38469, 90, 18, 11, 285, 73, 83, 33111, 92, 198, 220, 220, 1006, 421, 265, 3712, 50, 38469, 90, 19, 11, 285, 73, 83, 33111, 92, 198, 220, 220, 1957, 1930, 3712, 50, 38469, 90, 18, 11, 285, 73, 83, 33111, 92, 198, 220, 220, 5046, 3712, 76, 73, 83, 33111, 198, 437, 198, 198, 7249, 285, 73, 85, 35632, 198, 220, 220, 4808, 4906, 3712, 34, 600, 198, 220, 220, 5969, 20991, 312, 3712, 34, 600, 198, 220, 220, 2610, 2618, 312, 3712, 34, 600, 198, 220, 220, 804, 265, 3712, 50, 38469, 90, 18, 11, 285, 73, 83, 33111, 92, 198, 220, 220, 5253, 3712, 76, 73, 83, 33111, 198, 220, 220, 35560, 320, 1071, 3712, 76, 73, 83, 33111, 198, 220, 220, 22910, 3712, 76, 73, 83, 33111, 198, 437, 198, 198, 7249, 285, 73, 85, 38, 5639, 18144, 198, 220, 220, 1426, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 2651, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 510, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 6730, 388, 62, 16159, 3712, 34, 22468, 198, 220, 220, 6730, 388, 62, 22487, 3712, 34, 22468, 198, 220, 220, 6730, 388, 62, 4852, 3712, 34, 22468, 198, 220, 220, 6730, 388, 62, 40093, 3712, 34, 22468, 198, 220, 220, 6730, 388, 62, 16370, 3712, 34, 22468, 198, 437, 198, 198, 7249, 285, 73, 85, 10082, 296, 198, 220, 220, 4808, 4906, 3712, 34, 600, 198, 220, 220, 1366, 312, 3712, 34, 600, 198, 220, 220, 26181, 4906, 3712, 34, 600, 198, 220, 220, 26181, 312, 3712, 34, 600, 198, 220, 220, 6536, 3712, 34, 600, 198, 220, 220, 48659, 312, 3712, 34, 600, 198, 220, 220, 48659, 403, 6933, 3712, 34, 600, 198, 220, 220, 48659, 37652, 3712, 34, 600, 198, 220, 220, 384, 70, 312, 3712, 34, 600, 198, 220, 220, 48659, 44754, 3712, 50, 38469, 90, 17, 11, 327, 22468, 92, 198, 220, 220, 2546, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 1426, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 2603, 3712, 50, 38469, 90, 24, 11, 327, 22468, 92, 198, 220, 220, 48670, 7012, 3712, 50, 38469, 90, 19, 11, 327, 22468, 92, 198, 220, 220, 25592, 3712, 34, 22468, 198, 220, 220, 1020, 934, 3712, 34, 22468, 198, 220, 220, 40465, 1272, 3712, 34, 22468, 198, 220, 220, 4079, 590, 3712, 34, 22468, 198, 220, 220, 6167, 3712, 50, 38469, 90, 3064, 11, 471, 5317, 23, 92, 198, 220, 220, 12172, 17080, 3712, 34, 22468, 198, 220, 220, 374, 7784, 3712, 34, 22468, 198, 220, 220, 13245, 3712, 76, 73, 83, 40778, 198, 437, 198, 198, 7249, 285, 73, 85, 15047, 198, 220, 220, 1426, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 26672, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 31919, 2288, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 45616, 3712, 34, 22468, 198, 220, 220, 28622, 3712, 34, 22468, 198, 220, 220, 25237, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 42864, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 1020, 934, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 1182, 2971, 3712, 76, 73, 83, 40778, 198, 220, 220, 47424, 3712, 76, 73, 83, 40778, 198, 220, 220, 3350, 19106, 3712, 76, 73, 83, 40778, 198, 437, 198, 198, 7249, 285, 73, 85, 19722, 198, 220, 220, 6167, 3712, 34, 600, 198, 220, 220, 5739, 3712, 34, 600, 198, 220, 220, 4903, 296, 8094, 3712, 50, 38469, 90, 10503, 49, 27755, 11, 285, 73, 83, 40778, 92, 198, 220, 220, 2524, 8094, 3712, 50, 38469, 90, 10503, 49, 27755, 11, 285, 73, 83, 40778, 92, 198, 220, 220, 6466, 8094, 3712, 50, 38469, 90, 10503, 49, 27755, 11, 285, 73, 83, 40778, 92, 198, 220, 220, 4327, 506, 3233, 3712, 50, 38469, 90, 10503, 49, 27755, 11, 285, 73, 83, 40778, 92, 198, 220, 220, 43840, 1352, 8094, 3712, 50, 38469, 90, 10503, 49, 27755, 11, 285, 73, 83, 40778, 92, 198, 220, 220, 9701, 3712, 50, 38469, 90, 5317, 7, 27159, 1797, 38948, 828, 285, 73, 83, 40778, 92, 198, 437, 198, 198, 7249, 285, 73, 85, 36542, 198, 220, 220, 3509, 469, 296, 3712, 34, 600, 198, 220, 220, 299, 469, 296, 3712, 34, 600, 198, 220, 220, 4903, 3150, 3712, 46745, 90, 76, 73, 85, 10082, 296, 92, 198, 220, 220, 4903, 296, 2875, 3712, 46745, 90, 34, 600, 92, 198, 220, 220, 220, 198, 220, 220, 299, 20407, 3712, 34, 600, 198, 220, 220, 4168, 38942, 44709, 3712, 46745, 90, 34, 600, 92, 198, 220, 220, 4168, 1851, 41909, 3712, 46745, 90, 34, 600, 92, 198, 220, 220, 4168, 1851, 22510, 3712, 46745, 90, 34, 600, 92, 198, 220, 220, 4168, 1851, 3712, 46745, 90, 34, 22468, 92, 198, 220, 220, 1341, 3732, 6636, 3712, 46745, 90, 34, 22468, 92, 628, 220, 220, 299, 2971, 3712, 34, 600, 198, 220, 220, 7588, 3712, 50, 38469, 90, 23, 11, 285, 73, 85, 15047, 92, 198, 220, 220, 4676, 3712, 50, 38469, 90, 17, 11, 285, 73, 85, 38, 5639, 18144, 92, 198, 220, 220, 7139, 35636, 3712, 76, 73, 83, 40778, 198, 220, 220, 15772, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 23064, 3712, 50, 38469, 90, 19, 11, 327, 22468, 92, 198, 220, 220, 5046, 3712, 34, 22468, 198, 220, 220, 24820, 3712, 34, 600, 198, 220, 220, 9701, 3712, 50, 38469, 90, 20, 11, 285, 73, 83, 40778, 92, 198, 437, 198, 198, 7249, 285, 73, 85, 11337, 198, 220, 220, 781, 70, 62, 1455, 437, 3712, 34, 600, 198, 220, 220, 781, 70, 62, 42298, 18242, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 781, 70, 62, 2302, 437, 3712, 34, 600, 198, 220, 220, 781, 70, 62, 5657, 29487, 3712, 34, 600, 198, 220, 220, 781, 70, 62, 49283, 3712, 34, 600, 198, 220, 220, 781, 70, 62, 1837, 3020, 19482, 3712, 34, 600, 628, 220, 220, 8177, 2364, 3712, 34, 600, 198, 220, 220, 50000, 1096, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 6356, 3712, 34, 600, 198, 220, 220, 7238, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 10706, 81, 22296, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 220, 220, 10706, 10394, 3712, 34, 22468, 198, 220, 220, 3785, 41345, 7012, 3712, 50, 38469, 90, 19, 11, 327, 22468, 92, 198, 220, 220, 3425, 6422, 7012, 3712, 50, 38469, 90, 19, 11, 327, 22468, 92, 198, 220, 220, 8177, 41345, 7012, 3712, 50, 38469, 90, 19, 11, 327, 22468, 92, 198, 220, 220, 2420, 81, 22296, 3712, 50, 38469, 90, 18, 11, 327, 22468, 92, 198, 197, 9521, 3712, 50, 38469, 90, 17, 11, 20546, 9250, 90, 17, 11, 327, 22468, 11709, 198, 220, 220, 2124, 18242, 3712, 50, 38469, 90, 3064, 11, 471, 5317, 23, 92, 198, 220, 220, 3670, 3712, 50, 38469, 90, 3064, 11, 471, 5317, 23, 92, 198, 220, 220, 2124, 18982, 3712, 50, 38469, 90, 1238, 11, 471, 5317, 23, 92, 198, 220, 220, 331, 18982, 3712, 50, 38469, 90, 1238, 11, 471, 5317, 23, 92, 198, 220, 220, 949, 10394, 3712, 50, 38469, 90, 1238, 11, 471, 5317, 23, 92, 628, 220, 220, 1627, 79, 429, 3712, 50, 38469, 90, 22921, 24027, 11, 327, 600, 92, 198, 197, 2815, 6422, 65, 3712, 50, 38469, 90, 22921, 24027, 11, 20546, 9250, 90, 18, 11, 327, 22468, 11709, 198, 220, 220, 9493, 413, 5649, 3712, 50, 38469, 90, 22921, 24027, 11, 327, 22468, 92, 198, 197, 10837, 1045, 3712, 50, 38469, 90, 22921, 24027, 11, 20546, 9250, 90, 17, 9, 22921, 24027, 47, 11251, 11, 327, 22468, 11709, 198, 197, 2815, 12453, 3712, 50, 38469, 90, 22921, 24027, 11, 20546, 9250, 90, 3064, 11, 471, 5317, 23, 11709, 628, 220, 220, 2124, 897, 8802, 7168, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 331, 897, 8802, 7168, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 2124, 22704, 7890, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 220, 220, 331, 22704, 7890, 3712, 50, 38469, 90, 17, 11, 327, 600, 92, 198, 437, 198 ]
2.099354
3,563
# RELOG: Reverse Logistics Optimization # Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. using Geodesy abstract type Node end mutable struct Arc source::Node dest::Node values::Dict{String,Float64} end mutable struct ProcessNode <: Node index::Int location::Plant incoming_arcs::Vector{Arc} outgoing_arcs::Vector{Arc} end mutable struct ShippingNode <: Node index::Int location::Union{Plant,CollectionCenter} product::Product incoming_arcs::Vector{Arc} outgoing_arcs::Vector{Arc} end mutable struct Graph process_nodes::Vector{ProcessNode} plant_shipping_nodes::Vector{ShippingNode} collection_shipping_nodes::Vector{ShippingNode} arcs::Vector{Arc} name_to_process_node_map::Dict{Tuple{AbstractString,AbstractString},ProcessNode} end function Base.show(io::IO, instance::Graph) print(io, "RELOG graph with ") print(io, "$(length(instance.process_nodes)) process nodes, ") print(io, "$(length(instance.plant_shipping_nodes)) plant shipping nodes, ") print(io, "$(length(instance.collection_shipping_nodes)) collection shipping nodes, ") print(io, "$(length(instance.arcs)) arcs") end
[ 2, 29749, 7730, 25, 31849, 5972, 3969, 30011, 1634, 198, 2, 15069, 357, 34, 8, 12131, 11, 471, 25705, 49974, 710, 11, 11419, 13, 1439, 2489, 10395, 13, 198, 2, 28728, 739, 262, 9518, 347, 10305, 5964, 13, 4091, 27975, 45761, 13, 9132, 329, 517, 3307, 13, 198, 198, 3500, 2269, 4147, 88, 198, 198, 397, 8709, 2099, 19081, 886, 198, 198, 76, 18187, 2878, 10173, 198, 220, 220, 220, 2723, 3712, 19667, 198, 220, 220, 220, 2244, 3712, 19667, 198, 220, 220, 220, 3815, 3712, 35, 713, 90, 10100, 11, 43879, 2414, 92, 198, 437, 198, 198, 76, 18187, 2878, 10854, 19667, 1279, 25, 19081, 198, 220, 220, 220, 6376, 3712, 5317, 198, 220, 220, 220, 4067, 3712, 3646, 415, 198, 220, 220, 220, 15619, 62, 5605, 82, 3712, 38469, 90, 24021, 92, 198, 220, 220, 220, 28181, 62, 5605, 82, 3712, 38469, 90, 24021, 92, 198, 437, 198, 198, 76, 18187, 2878, 24147, 19667, 1279, 25, 19081, 198, 220, 220, 220, 6376, 3712, 5317, 198, 220, 220, 220, 4067, 3712, 38176, 90, 3646, 415, 11, 36307, 23656, 92, 198, 220, 220, 220, 1720, 3712, 15667, 198, 220, 220, 220, 15619, 62, 5605, 82, 3712, 38469, 90, 24021, 92, 198, 220, 220, 220, 28181, 62, 5605, 82, 3712, 38469, 90, 24021, 92, 198, 437, 198, 198, 76, 18187, 2878, 29681, 198, 220, 220, 220, 1429, 62, 77, 4147, 3712, 38469, 90, 18709, 19667, 92, 198, 220, 220, 220, 4618, 62, 1477, 4501, 62, 77, 4147, 3712, 38469, 90, 45169, 19667, 92, 198, 220, 220, 220, 4947, 62, 1477, 4501, 62, 77, 4147, 3712, 38469, 90, 45169, 19667, 92, 198, 220, 220, 220, 44606, 3712, 38469, 90, 24021, 92, 198, 220, 220, 220, 1438, 62, 1462, 62, 14681, 62, 17440, 62, 8899, 3712, 35, 713, 90, 51, 29291, 90, 23839, 10100, 11, 23839, 10100, 5512, 18709, 19667, 92, 198, 437, 198, 198, 8818, 7308, 13, 12860, 7, 952, 3712, 9399, 11, 4554, 3712, 37065, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 366, 16448, 7730, 4823, 351, 366, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 17971, 7, 13664, 7, 39098, 13, 14681, 62, 77, 4147, 4008, 1429, 13760, 11, 366, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 17971, 7, 13664, 7, 39098, 13, 15060, 62, 1477, 4501, 62, 77, 4147, 4008, 4618, 8440, 13760, 11, 366, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 17971, 7, 13664, 7, 39098, 13, 43681, 62, 1477, 4501, 62, 77, 4147, 4008, 4947, 8440, 13760, 11, 366, 8, 198, 220, 220, 220, 3601, 7, 952, 11, 17971, 7, 13664, 7, 39098, 13, 5605, 82, 4008, 44606, 4943, 198, 437, 198 ]
2.875566
442
#### Entrainment-Detrainment kernels """ entr_detr( m::AtmosModel{FT}, entr::EntrainmentDetrainment, state::Vars, aux::Vars, t::Real, ts, env, i, ) where {FT} Returns the dynamic entrainment and detrainment rates, as well as the turbulent entrainment rate, following Cohen et al. (JAMES, 2020), given: - `m`, an `AtmosModel` - `entr`, an `EntrainmentDetrainment` model - `state`, state variables - `aux`, auxiliary variables - `t`, the time - `ts`, NamedTuple of thermodynamic states - `env`, NamedTuple of environment variables - `i`, index of the updraft """ function entr_detr( m::AtmosModel{FT}, entr::EntrainmentDetrainment, state::Vars, aux::Vars, t::Real, ts, env, i, ) where {FT} # Alias convention: gm = state en = state.turbconv.environment up = state.turbconv.updraft en_aux = aux.turbconv.environment up_aux = aux.turbconv.updraft N_up = n_updrafts(m.turbconv) ρ_inv = 1 / gm.ρ a_up_i = up[i].ρa * ρ_inv lim_ϵ = entr.lim_ϵ lim_amp = entr.lim_amp w_min = entr.w_min # precompute vars w_up_i = up[i].ρaw / up[i].ρa sqrt_tke = sqrt(max(en.ρatke, 0) * ρ_inv / env.a) # ensure far from zero Δw = filter_w(w_up_i - env.w, w_min) w_up_i = filter_w(w_up_i, w_min) Δb = up_aux[i].buoyancy - en_aux.buoyancy D_ε, D_δ, M_δ, M_ε = nondimensional_exchange_functions(m, entr, state, aux, t, ts, env, i) # I am commenting this out for now, to make sure there is no slowdown here Λ_w = abs(Δb / Δw) Λ_tke = entr.c_λ * abs(Δb / (max(en.ρatke * ρ_inv, 0) + w_min)) λ = lamb_smooth_minimum( SVector(Λ_w, Λ_tke), m.turbconv.mix_len.smin_ub, m.turbconv.mix_len.smin_rm, ) # compute limiters εt_lim = εt_limiter(w_up_i, lim_ϵ, lim_amp) ε_lim = ε_limiter(a_up_i, lim_ϵ, lim_amp) δ_lim = δ_limiter(a_up_i, lim_ϵ, lim_amp) # compute entrainment/detrainment components ε_trb = 2 * a_up_i * entr.c_t * sqrt_tke / max((w_up_i * a_up_i * m.turbconv.pressure.H_up), entr.εt_min) ε_dyn = λ / w_up_i * (D_ε + M_ε) * ε_lim δ_dyn = λ / w_up_i * (D_δ + M_δ) * δ_lim ε_dyn = min(max(ε_dyn, FT(0)), FT(1)) δ_dyn = min(max(δ_dyn, FT(0)), FT(1)) ε_trb = min(max(ε_trb, FT(0)), FT(1)) return ε_dyn, δ_dyn, ε_trb end; """ ε_limiter(a_up::FT, ϵ::FT) where {FT} Returns the asymptotic value of entrainment needed to ensure boundedness of the updraft area fraction between 0 and 1, given - `a_up`, the updraft area fraction - `ϵ`, a minimum threshold value """ ε_limiter(a_up::FT, ϵ::FT, lim_amp::FT) where {FT} = FT(1) + lim_amp * exp(-a_up^2 / (2 * ϵ)) - exp(-(FT(1) - a_up)^2 / (2 * ϵ)) """ δ_limiter(a_up::FT, ϵ::FT) where {FT} Returns the asymptotic value of detrainment needed to ensure boundedness of the updraft area fraction between 0 and 1, given - `a_up`, the updraft area fraction - `ϵ`, a minimum threshold value """ δ_limiter(a_up::FT, ϵ::FT, lim_amp::FT) where {FT} = FT(1) - exp(-a_up^2 / (2 * ϵ)) + lim_amp * exp(-(FT(1) - a_up)^2 / (2 * ϵ)) """ εt_limiter(w_up_i::FT, ϵ::FT) where {FT} Returns the asymptotic value of turbulent entrainment needed to ensure positiveness of the updraft vertical velocity, given - `w_up_i`, the updraft vertical velocity - `ϵ`, a minimum threshold value """ εt_limiter(w_up_i::FT, ϵ::FT, lim_amp::FT) where {FT} = FT(1) + lim_amp * exp(-w_up_i^2 / (2 * ϵ))
[ 4242, 7232, 3201, 434, 12, 11242, 3201, 434, 50207, 198, 198, 37811, 198, 220, 220, 220, 24481, 62, 15255, 81, 7, 198, 220, 220, 220, 220, 220, 220, 220, 285, 3712, 2953, 16785, 17633, 90, 9792, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 24481, 3712, 14539, 3201, 434, 11242, 3201, 434, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 3712, 53, 945, 11, 198, 220, 220, 220, 220, 220, 220, 220, 27506, 3712, 53, 945, 11, 198, 220, 220, 220, 220, 220, 220, 220, 256, 3712, 15633, 11, 198, 220, 220, 220, 220, 220, 220, 220, 40379, 11, 198, 220, 220, 220, 220, 220, 220, 220, 17365, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 11, 198, 220, 220, 220, 1267, 810, 1391, 9792, 92, 198, 35561, 262, 8925, 920, 3201, 434, 290, 1062, 3201, 434, 3965, 11, 198, 292, 880, 355, 262, 42291, 920, 3201, 434, 2494, 11, 1708, 198, 7222, 831, 2123, 435, 13, 357, 41, 29559, 11, 12131, 828, 1813, 25, 198, 532, 4600, 76, 47671, 281, 4600, 2953, 16785, 17633, 63, 198, 532, 4600, 298, 81, 47671, 281, 4600, 14539, 3201, 434, 11242, 3201, 434, 63, 2746, 198, 532, 4600, 5219, 47671, 1181, 9633, 198, 532, 4600, 14644, 47671, 37419, 9633, 198, 532, 4600, 83, 47671, 262, 640, 198, 532, 4600, 912, 47671, 34441, 51, 29291, 286, 21969, 34743, 2585, 198, 532, 4600, 24330, 47671, 34441, 51, 29291, 286, 2858, 9633, 198, 532, 4600, 72, 47671, 6376, 286, 262, 2325, 1617, 198, 37811, 198, 8818, 24481, 62, 15255, 81, 7, 198, 220, 220, 220, 285, 3712, 2953, 16785, 17633, 90, 9792, 5512, 198, 220, 220, 220, 24481, 3712, 14539, 3201, 434, 11242, 3201, 434, 11, 198, 220, 220, 220, 1181, 3712, 53, 945, 11, 198, 220, 220, 220, 27506, 3712, 53, 945, 11, 198, 220, 220, 220, 256, 3712, 15633, 11, 198, 220, 220, 220, 40379, 11, 198, 220, 220, 220, 17365, 11, 198, 220, 220, 220, 1312, 11, 198, 8, 810, 1391, 9792, 92, 628, 220, 220, 220, 1303, 978, 4448, 9831, 25, 198, 220, 220, 220, 308, 76, 796, 1181, 198, 220, 220, 220, 551, 796, 1181, 13, 83, 5945, 42946, 13, 38986, 198, 220, 220, 220, 510, 796, 1181, 13, 83, 5945, 42946, 13, 929, 35679, 198, 220, 220, 220, 551, 62, 14644, 796, 27506, 13, 83, 5945, 42946, 13, 38986, 198, 220, 220, 220, 510, 62, 14644, 796, 27506, 13, 83, 5945, 42946, 13, 929, 35679, 628, 220, 220, 220, 399, 62, 929, 796, 299, 62, 929, 35679, 82, 7, 76, 13, 83, 5945, 42946, 8, 198, 220, 220, 220, 18074, 223, 62, 16340, 796, 352, 1220, 308, 76, 13, 33643, 198, 220, 220, 220, 257, 62, 929, 62, 72, 796, 510, 58, 72, 4083, 33643, 64, 1635, 18074, 223, 62, 16340, 628, 220, 220, 220, 1761, 62, 139, 113, 796, 24481, 13, 2475, 62, 139, 113, 198, 220, 220, 220, 1761, 62, 696, 796, 24481, 13, 2475, 62, 696, 198, 220, 220, 220, 266, 62, 1084, 796, 24481, 13, 86, 62, 1084, 198, 220, 220, 220, 1303, 662, 5589, 1133, 410, 945, 198, 220, 220, 220, 266, 62, 929, 62, 72, 796, 510, 58, 72, 4083, 33643, 707, 1220, 510, 58, 72, 4083, 33643, 64, 198, 220, 220, 220, 19862, 17034, 62, 83, 365, 796, 19862, 17034, 7, 9806, 7, 268, 13, 33643, 265, 365, 11, 657, 8, 1635, 18074, 223, 62, 16340, 1220, 17365, 13, 64, 8, 198, 220, 220, 220, 1303, 4155, 1290, 422, 6632, 198, 220, 220, 220, 37455, 86, 796, 8106, 62, 86, 7, 86, 62, 929, 62, 72, 532, 17365, 13, 86, 11, 266, 62, 1084, 8, 198, 220, 220, 220, 266, 62, 929, 62, 72, 796, 8106, 62, 86, 7, 86, 62, 929, 62, 72, 11, 266, 62, 1084, 8, 628, 220, 220, 220, 37455, 65, 796, 510, 62, 14644, 58, 72, 4083, 11110, 726, 3883, 532, 551, 62, 14644, 13, 11110, 726, 3883, 628, 220, 220, 220, 360, 62, 30950, 11, 360, 62, 138, 112, 11, 337, 62, 138, 112, 11, 337, 62, 30950, 796, 198, 220, 220, 220, 220, 220, 220, 220, 30745, 16198, 62, 1069, 3803, 62, 12543, 2733, 7, 76, 11, 24481, 11, 1181, 11, 27506, 11, 256, 11, 40379, 11, 17365, 11, 1312, 8, 628, 220, 220, 220, 1303, 314, 716, 26387, 428, 503, 329, 783, 11, 284, 787, 1654, 612, 318, 645, 35621, 994, 198, 220, 220, 220, 7377, 249, 62, 86, 796, 2352, 7, 138, 242, 65, 1220, 37455, 86, 8, 198, 220, 220, 220, 7377, 249, 62, 83, 365, 796, 24481, 13, 66, 62, 39377, 1635, 2352, 7, 138, 242, 65, 1220, 357, 9806, 7, 268, 13, 33643, 265, 365, 1635, 18074, 223, 62, 16340, 11, 657, 8, 1343, 266, 62, 1084, 4008, 198, 220, 220, 220, 7377, 119, 796, 19343, 62, 5796, 5226, 62, 39504, 7, 198, 220, 220, 220, 220, 220, 220, 220, 20546, 9250, 7, 138, 249, 62, 86, 11, 7377, 249, 62, 83, 365, 828, 198, 220, 220, 220, 220, 220, 220, 220, 285, 13, 83, 5945, 42946, 13, 19816, 62, 11925, 13, 82, 1084, 62, 549, 11, 198, 220, 220, 220, 220, 220, 220, 220, 285, 13, 83, 5945, 42946, 13, 19816, 62, 11925, 13, 82, 1084, 62, 26224, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 24061, 4179, 364, 198, 220, 220, 220, 7377, 113, 83, 62, 2475, 796, 7377, 113, 83, 62, 2475, 2676, 7, 86, 62, 929, 62, 72, 11, 1761, 62, 139, 113, 11, 1761, 62, 696, 8, 198, 220, 220, 220, 7377, 113, 62, 2475, 796, 7377, 113, 62, 2475, 2676, 7, 64, 62, 929, 62, 72, 11, 1761, 62, 139, 113, 11, 1761, 62, 696, 8, 198, 220, 220, 220, 7377, 112, 62, 2475, 796, 7377, 112, 62, 2475, 2676, 7, 64, 62, 929, 62, 72, 11, 1761, 62, 139, 113, 11, 1761, 62, 696, 8, 198, 220, 220, 220, 1303, 24061, 920, 3201, 434, 14, 15255, 3201, 434, 6805, 198, 220, 220, 220, 7377, 113, 62, 2213, 65, 796, 198, 220, 220, 220, 220, 220, 220, 220, 362, 1635, 257, 62, 929, 62, 72, 1635, 24481, 13, 66, 62, 83, 1635, 19862, 17034, 62, 83, 365, 1220, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 19510, 86, 62, 929, 62, 72, 1635, 257, 62, 929, 62, 72, 1635, 285, 13, 83, 5945, 42946, 13, 36151, 13, 39, 62, 929, 828, 24481, 13, 30950, 83, 62, 1084, 8, 198, 220, 220, 220, 7377, 113, 62, 67, 2047, 796, 7377, 119, 1220, 266, 62, 929, 62, 72, 1635, 357, 35, 62, 30950, 1343, 337, 62, 30950, 8, 1635, 7377, 113, 62, 2475, 198, 220, 220, 220, 7377, 112, 62, 67, 2047, 796, 7377, 119, 1220, 266, 62, 929, 62, 72, 1635, 357, 35, 62, 138, 112, 1343, 337, 62, 138, 112, 8, 1635, 7377, 112, 62, 2475, 628, 220, 220, 220, 7377, 113, 62, 67, 2047, 796, 949, 7, 9806, 7, 30950, 62, 67, 2047, 11, 19446, 7, 15, 36911, 19446, 7, 16, 4008, 198, 220, 220, 220, 7377, 112, 62, 67, 2047, 796, 949, 7, 9806, 7, 138, 112, 62, 67, 2047, 11, 19446, 7, 15, 36911, 19446, 7, 16, 4008, 198, 220, 220, 220, 7377, 113, 62, 2213, 65, 796, 949, 7, 9806, 7, 30950, 62, 2213, 65, 11, 19446, 7, 15, 36911, 19446, 7, 16, 4008, 628, 220, 220, 220, 1441, 7377, 113, 62, 67, 2047, 11, 7377, 112, 62, 67, 2047, 11, 7377, 113, 62, 2213, 65, 198, 437, 26, 198, 198, 37811, 198, 220, 220, 220, 7377, 113, 62, 2475, 2676, 7, 64, 62, 929, 3712, 9792, 11, 18074, 113, 3712, 9792, 8, 810, 1391, 9792, 92, 198, 35561, 262, 355, 4948, 457, 6210, 1988, 286, 920, 3201, 434, 198, 27938, 284, 4155, 49948, 1108, 286, 262, 2325, 1617, 198, 20337, 13390, 1022, 657, 290, 352, 11, 1813, 198, 532, 4600, 64, 62, 929, 47671, 262, 2325, 1617, 1989, 13390, 198, 532, 4600, 139, 113, 47671, 257, 5288, 11387, 1988, 198, 37811, 198, 30950, 62, 2475, 2676, 7, 64, 62, 929, 3712, 9792, 11, 18074, 113, 3712, 9792, 11, 1761, 62, 696, 3712, 9792, 8, 810, 1391, 9792, 92, 796, 198, 220, 220, 220, 19446, 7, 16, 8, 1343, 1761, 62, 696, 1635, 1033, 32590, 64, 62, 929, 61, 17, 1220, 357, 17, 1635, 18074, 113, 4008, 532, 1033, 7, 30420, 9792, 7, 16, 8, 532, 257, 62, 929, 8, 61, 17, 1220, 357, 17, 1635, 18074, 113, 4008, 198, 198, 37811, 198, 220, 220, 220, 7377, 112, 62, 2475, 2676, 7, 64, 62, 929, 3712, 9792, 11, 18074, 113, 3712, 9792, 8, 810, 1391, 9792, 92, 198, 35561, 262, 355, 4948, 457, 6210, 1988, 286, 1062, 3201, 434, 198, 27938, 284, 4155, 49948, 1108, 286, 262, 2325, 1617, 198, 20337, 13390, 1022, 657, 290, 352, 11, 1813, 198, 532, 4600, 64, 62, 929, 47671, 262, 2325, 1617, 1989, 13390, 198, 532, 4600, 139, 113, 47671, 257, 5288, 11387, 1988, 198, 37811, 198, 138, 112, 62, 2475, 2676, 7, 64, 62, 929, 3712, 9792, 11, 18074, 113, 3712, 9792, 11, 1761, 62, 696, 3712, 9792, 8, 810, 1391, 9792, 92, 796, 198, 220, 220, 220, 19446, 7, 16, 8, 532, 1033, 32590, 64, 62, 929, 61, 17, 1220, 357, 17, 1635, 18074, 113, 4008, 1343, 1761, 62, 696, 1635, 1033, 7, 30420, 9792, 7, 16, 8, 532, 257, 62, 929, 8, 61, 17, 1220, 357, 17, 1635, 18074, 113, 4008, 198, 198, 37811, 198, 220, 220, 220, 7377, 113, 83, 62, 2475, 2676, 7, 86, 62, 929, 62, 72, 3712, 9792, 11, 18074, 113, 3712, 9792, 8, 810, 1391, 9792, 92, 198, 35561, 262, 355, 4948, 457, 6210, 1988, 286, 42291, 198, 298, 3201, 434, 2622, 284, 4155, 1426, 31366, 198, 1659, 262, 2325, 1617, 11723, 15432, 11, 1813, 198, 532, 4600, 86, 62, 929, 62, 72, 47671, 262, 2325, 1617, 11723, 15432, 198, 532, 4600, 139, 113, 47671, 257, 5288, 11387, 1988, 198, 37811, 198, 30950, 83, 62, 2475, 2676, 7, 86, 62, 929, 62, 72, 3712, 9792, 11, 18074, 113, 3712, 9792, 11, 1761, 62, 696, 3712, 9792, 8, 810, 1391, 9792, 92, 796, 198, 220, 220, 220, 19446, 7, 16, 8, 1343, 1761, 62, 696, 1635, 1033, 32590, 86, 62, 929, 62, 72, 61, 17, 1220, 357, 17, 1635, 18074, 113, 4008, 198 ]
2.056593
1,714
# Get status of the registration function status(r::HTTP.Request) r.method == "GET" || return json(405; error="Method not allowed") # Only allow authenticated users state = getcookie(r, "state") if isempty(state) || !haskey(USERS, state) return json(400; error="Missing or invalid state cookie") end id = getquery(r, "id") haskey(REGISTRATIONS, id) || return json(404; state="unknown") regstate = REGISTRATIONS[id] regstate.state === :pending || delete!(REGISTRATIONS, id) return json(; state=regstate.state, message=regstate.msg) end
[ 2, 3497, 3722, 286, 262, 9352, 198, 8818, 3722, 7, 81, 3712, 40717, 13, 18453, 8, 198, 220, 220, 220, 374, 13, 24396, 6624, 366, 18851, 1, 8614, 1441, 33918, 7, 26598, 26, 4049, 2625, 17410, 407, 3142, 4943, 628, 220, 220, 220, 1303, 5514, 1249, 44529, 2985, 198, 220, 220, 220, 1181, 796, 651, 44453, 7, 81, 11, 366, 5219, 4943, 198, 220, 220, 220, 611, 318, 28920, 7, 5219, 8, 8614, 5145, 10134, 2539, 7, 2937, 4877, 11, 1181, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 33918, 7, 7029, 26, 4049, 2625, 43730, 393, 12515, 1181, 19751, 4943, 198, 220, 220, 220, 886, 628, 220, 220, 220, 4686, 796, 651, 22766, 7, 81, 11, 366, 312, 4943, 198, 220, 220, 220, 468, 2539, 7, 31553, 1797, 5446, 18421, 11, 4686, 8, 8614, 1441, 33918, 7, 26429, 26, 1181, 2625, 34680, 4943, 198, 220, 220, 220, 842, 5219, 796, 23337, 1797, 5446, 18421, 58, 312, 60, 198, 220, 220, 220, 842, 5219, 13, 5219, 24844, 1058, 79, 1571, 8614, 12233, 0, 7, 31553, 1797, 5446, 18421, 11, 4686, 8, 198, 220, 220, 220, 1441, 33918, 7, 26, 1181, 28, 2301, 5219, 13, 5219, 11, 3275, 28, 2301, 5219, 13, 19662, 8, 198, 437, 198 ]
2.8125
208
@testset "Capillary pressure" begin # Struct sys = Swalbe.SysConst(Lx=5, Ly=5, n=3, m=2, γ=1.0, hmin=0.1, hcrit=0.1) state = Swalbe.Sys(sys, "CPU") state.height .= reshape(collect(1.0:25),5,5) # With arguments struct f = reshape(collect(1.0:25),5,5) f_float = reshape(collect(1.0f0:25.0f0),5,5) res = zeros(5,5) @testset "No contact angle" begin Swalbe.filmpressure!(res, f, 1.0, 0.0, 3, 2, 0.1, 0.1) Swalbe.filmpressure!(state, sys, 0.0) sol = [-30.0 -5.0 -5.0 -5.0 20; -25.0 0.0 0.0 0.0 25.0; -25.0 0.0 0.0 0.0 25.0; -25.0 0.0 0.0 0.0 25.0; -20.0 5.0 5.0 5.0 30.0; ] @test all(isapprox.(res, sol; atol=1e-10)) @test all(isapprox.(state.pressure, sol; atol=1e-10)) Swalbe.filmpressure!(res, f, 0.0) @test all(isapprox.(res, 0.01 .* sol; atol=1e-10)) end @testset "No height gradient" begin nograd = ones(5,5) state.height .= 1.0 sys2 = Swalbe.SysConst(Lx=5, Ly=5, n=3, m=2, γ=1.0, hmin=0.1, hcrit=0.0, θ=1/2) Swalbe.filmpressure!(res, nograd, 1.0, 1/2, 3, 2, 0.1, 0.0) Swalbe.filmpressure!(state, sys2, 1/2) @test all(isapprox.(res, -2(0.1^2-0.1); atol=1e-10)) @test all(isapprox.(state.pressure, -2(0.1^2-0.1); atol=1e-10)) Swalbe.filmpressure!(state, sys2) @test all(isapprox.(state.pressure, -2(0.1^2-0.1); atol=1e-10)) end @testset "Gradient and contact angle" begin state.height .= reshape(collect(1.0:25),5,5) sys2 = Swalbe.SysConst(Lx=5, Ly=5, n=3, m=2, γ=1.0, hmin=0.1, hcrit=0.0) Swalbe.filmpressure!(state, sys2, 1/2) Swalbe.filmpressure!(res, f, 1.0, 1/2, 3, 2, 0.1, 0.0) sol = [30.0 5.0 5.0 5.0 -20; 25.0 0.0 0.0 0.0 -25.0; 25.0 0.0 0.0 0.0 -25.0; 25.0 0.0 0.0 0.0 -25.0; 20.0 -5.0 -5.0 -5.0 -30.0] @test all(isapprox.(res, -1 .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) @test all(isapprox.(state.pressure, -1 .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) end @testset "Gradient and contact angle Float32" begin Swalbe.filmpressure!(res, f_float, 1.0f0, 0.5f0, 3, 2, 0.1f0, 0.0f0) sol = [30.0f0 5.0f0 5.0f0 5.0f0 -20f0; 25.0f0 0.0f0 0.0f0 0.0f0 -25.0f0; 25.0f0 0.0f0 0.0f0 0.0f0 -25.0f0; 25.0f0 0.0f0 0.0f0 0.0f0 -25.0f0; 20.0f0 -5.0f0 -5.0f0 -5.0f0 -30.0f0] @test all(isapprox.(res, -1 .* (sol .+ 20 .* ((0.1f0 ./ f_float).^3 .- (0.1f0 ./ f_float).^2)); atol=1e-6)) end dgrad = zeros(5,5,8) @testset "No contact angle circshift!" begin state.height .= reshape(collect(1.0:25),5,5) Swalbe.filmpressure!(state, sys, 0.0) Swalbe.filmpressure!(res, f, dgrad, 1.0, 0.0, 3, 2, 0.1, 0.1) sol = [-30.0 -5.0 -5.0 -5.0 20; -25.0 0.0 0.0 0.0 25.0; -25.0 0.0 0.0 0.0 25.0; -25.0 0.0 0.0 0.0 25.0; -20.0 5.0 5.0 5.0 30.0; ] @test all(isapprox.(res, sol; atol=1e-10)) @test all(isapprox.(state.pressure, sol; atol=1e-10)) end end @testset "Capillary pressure 1D" begin # Struct sys = Swalbe.SysConst_1D(L=30, n=3, m=2, γ=1.0, hmin=0.1, hcrit=0.1) state = Swalbe.Sys(sys) state.height .= collect(1.0:30) sys2 = Swalbe.SysConst_1D(L=30, n=3, m=2, γ=1.0, hmin=0.1, hcrit=0.0, θ=1/2) state2 = Swalbe.Sys(sys2) # Without the struct f = collect(1.0:30) f_float = collect(1.0f0:30.0f0) res = zeros(30) dummy = zeros(30,3) @testset "No contact angle" begin Swalbe.filmpressure!(res, f, dummy, 1.0, 0.0, 3, 2, 0.1, 0.1) Swalbe.filmpressure!(state, sys, 0.0) # println("My result: $res") sol = zeros(30) sol[1] = 30 sol[end] = -30 @test all(res .== -sol) @test all(state.pressure .== -sol) end @testset "No height gradient" begin nograd = ones(30) state2.height .= 1.0 Swalbe.filmpressure!(res, nograd, dummy, 1.0, 1/2, 3, 2, 0.1, 0.0) Swalbe.filmpressure!(state2, sys2, 1/2) @test all(isapprox.(res, -2(0.1^2-0.1); atol=1e-10)) @test all(isapprox.(state2.pressure, -2(0.1^2-0.1); atol=1e-10)) end @testset "Gradient and contact angle" begin Swalbe.filmpressure!(res, f, dummy, 1.0, 1/2, 3, 2, 0.1, 0.0) Swalbe.filmpressure!(state, sys2, 1/2) sol = zeros(30) sol[1] = 30 sol[end] = -30 @test all(isapprox.(res, -1 .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) @test all(isapprox.(state.pressure, -1 .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) # TODO: Fix me # state2.height .= sol # Swalbe.filmpressure!(state2, sys2) # @test all(isapprox.(state2.pressure, -1 .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) end end @testset "Capillary pressure 1D with Gamma" begin f = collect(1.0:30) res = zeros(30) rho = fill(0.1, 30) dummy = zeros(30,2) @testset "No Gamma no theta" begin Swalbe.filmpressure!(res, f, dummy, rho, 1.0, 0.0, 3, 2, 0.1, 0.1) # println("My result: $res") sol = zeros(30) sol[1] = 30 sol[end] = -30 @test all(res .== -sol) end @testset "No Gamma no laplacian" begin nograd = ones(30) Swalbe.filmpressure!(res, nograd, dummy, rho, 1.0, 1/2, 3, 2, 0.1, 0.0) @test all(isapprox.(res, -2(0.1^2-0.1); atol=1e-10)) end @testset "Gamma but rho=0 no laplacian" begin nograd = ones(30) Swalbe.filmpressure!(res, nograd, dummy, zeros(30), 1.0, 1/2, 3, 2, 0.1, 0.0) @test all(isapprox.(res, -2(0.1^2-0.1); atol=1e-10)) end @testset "Gamma, rho, gradient and contact angle" begin rho = fill(0.1, 30) Swalbe.filmpressure!(res, f, dummy, rho, 1.0, 1/2, 3, 2, 0.1, 0.0, Gamma=0.1) sol = zeros(30) sol[1] = 30 sol[end] = -30 @test all(isapprox.(res, -(1 + 0.01) .* (sol .+ 20 .* ((0.1 ./ f).^3 .- (0.1 ./ f).^2)); atol=1e-10)) end end @testset "Power function" begin arg = 2 argsimple = 5.0 argsimplefp32 = 5.0f0 argvec = [2.0 3.0 4.0] n = [3 6] r = [8 64] r1 = [125.0 15625.0] r2 = [125.0f0 15625.0f0] r3 = [8.0 27.0 64.0; 64.0 729.0 4096.0] for i in 1:2 res0 = Swalbe.power_broad(arg, n[i]) @test res0 == r[i] res0 = Swalbe.power_broad(argsimple, n[i]) @test res0 == r1[i] res1 = Swalbe.power_broad(argsimplefp32, n[i]) @test res1 == r2[i] res2 = Swalbe.power_broad.(argvec, n[i]) for j in 1:3 @test res2[j] .== r3[i,j] end end end
[ 31, 9288, 2617, 366, 15610, 15856, 3833, 1, 2221, 201, 198, 220, 220, 220, 1303, 32112, 201, 198, 220, 220, 220, 25064, 796, 2451, 282, 1350, 13, 44387, 34184, 7, 43, 87, 28, 20, 11, 9334, 28, 20, 11, 299, 28, 18, 11, 285, 28, 17, 11, 7377, 111, 28, 16, 13, 15, 11, 289, 1084, 28, 15, 13, 16, 11, 289, 22213, 28, 15, 13, 16, 8, 201, 198, 220, 220, 220, 1181, 796, 2451, 282, 1350, 13, 44387, 7, 17597, 11, 366, 36037, 4943, 201, 198, 220, 220, 220, 1181, 13, 17015, 764, 28, 27179, 1758, 7, 33327, 7, 16, 13, 15, 25, 1495, 828, 20, 11, 20, 8, 201, 198, 220, 220, 220, 1303, 2080, 7159, 2878, 201, 198, 220, 220, 220, 277, 796, 27179, 1758, 7, 33327, 7, 16, 13, 15, 25, 1495, 828, 20, 11, 20, 8, 201, 198, 220, 220, 220, 277, 62, 22468, 796, 27179, 1758, 7, 33327, 7, 16, 13, 15, 69, 15, 25, 1495, 13, 15, 69, 15, 828, 20, 11, 20, 8, 201, 198, 220, 220, 220, 581, 796, 1976, 27498, 7, 20, 11, 20, 8, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 2800, 9848, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 352, 13, 15, 11, 657, 13, 15, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 25915, 1270, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 1160, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1238, 13, 15, 642, 13, 15, 642, 13, 15, 642, 13, 15, 1542, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 1540, 26, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 1540, 26, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 657, 13, 486, 764, 9, 1540, 26, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 6001, 31312, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 299, 519, 6335, 796, 3392, 7, 20, 11, 20, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 13, 17015, 764, 28, 352, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 17, 796, 2451, 282, 1350, 13, 44387, 34184, 7, 43, 87, 28, 20, 11, 9334, 28, 20, 11, 299, 28, 18, 11, 285, 28, 17, 11, 7377, 111, 28, 16, 13, 15, 11, 289, 1084, 28, 15, 13, 16, 11, 289, 22213, 28, 15, 13, 15, 11, 7377, 116, 28, 16, 14, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 299, 519, 6335, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 17, 11, 352, 14, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 42731, 1153, 290, 2800, 9848, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 13, 17015, 764, 28, 27179, 1758, 7, 33327, 7, 16, 13, 15, 25, 1495, 828, 20, 11, 20, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 17, 796, 2451, 282, 1350, 13, 44387, 34184, 7, 43, 87, 28, 20, 11, 9334, 28, 20, 11, 299, 28, 18, 11, 285, 28, 17, 11, 7377, 111, 28, 16, 13, 15, 11, 289, 1084, 28, 15, 13, 16, 11, 289, 22213, 28, 15, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 17, 11, 352, 14, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 685, 1270, 13, 15, 642, 13, 15, 642, 13, 15, 642, 13, 15, 532, 1238, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 532, 1495, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 532, 1495, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 532, 1495, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1160, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 532, 1270, 13, 15, 60, 201, 198, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 42731, 1153, 290, 2800, 9848, 48436, 2624, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 62, 22468, 11, 352, 13, 15, 69, 15, 11, 657, 13, 20, 69, 15, 11, 513, 11, 362, 11, 657, 13, 16, 69, 15, 11, 657, 13, 15, 69, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 685, 1270, 13, 15, 69, 15, 642, 13, 15, 69, 15, 642, 13, 15, 69, 15, 642, 13, 15, 69, 15, 532, 1238, 69, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 532, 1495, 13, 15, 69, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 532, 1495, 13, 15, 69, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1679, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 657, 13, 15, 69, 15, 532, 1495, 13, 15, 69, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1160, 13, 15, 69, 15, 532, 20, 13, 15, 69, 15, 532, 20, 13, 15, 69, 15, 532, 20, 13, 15, 69, 15, 532, 1270, 13, 15, 69, 15, 60, 201, 198, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 69, 15, 24457, 277, 62, 22468, 737, 61, 18, 764, 12, 357, 15, 13, 16, 69, 15, 24457, 277, 62, 22468, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 21, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 288, 9744, 796, 1976, 27498, 7, 20, 11, 20, 11, 23, 8, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 2800, 9848, 2498, 30846, 2474, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 13, 17015, 764, 28, 27179, 1758, 7, 33327, 7, 16, 13, 15, 25, 1495, 828, 20, 11, 20, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 288, 9744, 11, 352, 13, 15, 11, 657, 13, 15, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 25915, 1270, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 532, 20, 13, 15, 1160, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1495, 13, 15, 657, 13, 15, 657, 13, 15, 657, 13, 15, 1679, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 1238, 13, 15, 642, 13, 15, 642, 13, 15, 642, 13, 15, 1542, 13, 15, 26, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 1540, 26, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 1540, 26, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 437, 201, 198, 201, 198, 31, 9288, 2617, 366, 15610, 15856, 3833, 352, 35, 1, 2221, 201, 198, 220, 220, 220, 1303, 32112, 201, 198, 220, 220, 220, 25064, 796, 2451, 282, 1350, 13, 44387, 34184, 62, 16, 35, 7, 43, 28, 1270, 11, 299, 28, 18, 11, 285, 28, 17, 11, 7377, 111, 28, 16, 13, 15, 11, 289, 1084, 28, 15, 13, 16, 11, 289, 22213, 28, 15, 13, 16, 8, 201, 198, 220, 220, 220, 1181, 796, 2451, 282, 1350, 13, 44387, 7, 17597, 8, 201, 198, 220, 220, 220, 1181, 13, 17015, 764, 28, 2824, 7, 16, 13, 15, 25, 1270, 8, 201, 198, 220, 220, 220, 25064, 17, 796, 2451, 282, 1350, 13, 44387, 34184, 62, 16, 35, 7, 43, 28, 1270, 11, 299, 28, 18, 11, 285, 28, 17, 11, 7377, 111, 28, 16, 13, 15, 11, 289, 1084, 28, 15, 13, 16, 11, 289, 22213, 28, 15, 13, 15, 11, 7377, 116, 28, 16, 14, 17, 8, 201, 198, 220, 220, 220, 1181, 17, 796, 2451, 282, 1350, 13, 44387, 7, 17597, 17, 8, 201, 198, 220, 220, 220, 1303, 9170, 262, 2878, 201, 198, 220, 220, 220, 277, 796, 2824, 7, 16, 13, 15, 25, 1270, 8, 201, 198, 220, 220, 220, 277, 62, 22468, 796, 2824, 7, 16, 13, 15, 69, 15, 25, 1270, 13, 15, 69, 15, 8, 201, 198, 220, 220, 220, 581, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 31548, 796, 1976, 27498, 7, 1270, 11, 18, 8, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 2800, 9848, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 31548, 11, 352, 13, 15, 11, 657, 13, 15, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7203, 3666, 1255, 25, 720, 411, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 16, 60, 796, 1542, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 437, 60, 796, 532, 1270, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 411, 764, 855, 532, 34453, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 5219, 13, 36151, 764, 855, 532, 34453, 8, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 6001, 31312, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 299, 519, 6335, 796, 3392, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1181, 17, 13, 17015, 764, 28, 352, 13, 15, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 299, 519, 6335, 11, 31548, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 17, 11, 25064, 17, 11, 352, 14, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 17, 13, 36151, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 42731, 1153, 290, 2800, 9848, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 31548, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 11, 25064, 17, 11, 352, 14, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 16, 60, 796, 1542, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 437, 60, 796, 532, 1270, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 13, 36151, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 16926, 46, 25, 13268, 502, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1181, 17, 13, 17015, 764, 28, 1540, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 5219, 17, 11, 25064, 17, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 5219, 17, 13, 36151, 11, 532, 16, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 201, 198, 220, 220, 220, 886, 201, 198, 437, 201, 198, 201, 198, 31, 9288, 2617, 366, 15610, 15856, 3833, 352, 35, 351, 43595, 1, 2221, 201, 198, 220, 220, 220, 277, 796, 2824, 7, 16, 13, 15, 25, 1270, 8, 201, 198, 220, 220, 220, 581, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 374, 8873, 796, 6070, 7, 15, 13, 16, 11, 1542, 8, 201, 198, 220, 220, 220, 31548, 796, 1976, 27498, 7, 1270, 11, 17, 8, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 43595, 645, 262, 8326, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 31548, 11, 374, 8873, 11, 352, 13, 15, 11, 657, 13, 15, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7203, 3666, 1255, 25, 720, 411, 4943, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 16, 60, 796, 1542, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 437, 60, 796, 532, 1270, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 411, 764, 855, 532, 34453, 8, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 2949, 43595, 645, 8591, 489, 330, 666, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 299, 519, 6335, 796, 3392, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 299, 519, 6335, 11, 31548, 11, 374, 8873, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 34777, 2611, 475, 374, 8873, 28, 15, 645, 8591, 489, 330, 666, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 299, 519, 6335, 796, 3392, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 299, 519, 6335, 11, 31548, 11, 1976, 27498, 7, 1270, 828, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 17, 7, 15, 13, 16, 61, 17, 12, 15, 13, 16, 1776, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 220, 220, 220, 2488, 9288, 2617, 366, 34777, 2611, 11, 374, 8873, 11, 31312, 290, 2800, 9848, 1, 2221, 201, 198, 220, 220, 220, 220, 220, 220, 220, 374, 8873, 796, 6070, 7, 15, 13, 16, 11, 1542, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2451, 282, 1350, 13, 10379, 3149, 601, 495, 0, 7, 411, 11, 277, 11, 31548, 11, 374, 8873, 11, 352, 13, 15, 11, 352, 14, 17, 11, 513, 11, 362, 11, 657, 13, 16, 11, 657, 13, 15, 11, 43595, 28, 15, 13, 16, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 796, 1976, 27498, 7, 1270, 8, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 16, 60, 796, 1542, 201, 198, 220, 220, 220, 220, 220, 220, 220, 1540, 58, 437, 60, 796, 532, 1270, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 477, 7, 271, 1324, 13907, 12195, 411, 11, 532, 7, 16, 1343, 657, 13, 486, 8, 764, 9, 357, 34453, 764, 10, 1160, 764, 9, 14808, 15, 13, 16, 24457, 277, 737, 61, 18, 764, 12, 357, 15, 13, 16, 24457, 277, 737, 61, 17, 18125, 379, 349, 28, 16, 68, 12, 940, 4008, 201, 198, 220, 220, 220, 886, 201, 198, 437, 201, 198, 201, 198, 31, 9288, 2617, 366, 13434, 2163, 1, 2221, 201, 198, 220, 220, 220, 1822, 796, 362, 201, 198, 220, 220, 220, 1822, 36439, 796, 642, 13, 15, 201, 198, 220, 220, 220, 1822, 36439, 46428, 2624, 796, 642, 13, 15, 69, 15, 201, 198, 220, 220, 220, 1822, 35138, 796, 685, 17, 13, 15, 513, 13, 15, 604, 13, 15, 60, 201, 198, 220, 220, 220, 299, 796, 685, 18, 718, 60, 201, 198, 220, 220, 220, 374, 796, 685, 23, 5598, 60, 201, 198, 220, 220, 220, 374, 16, 796, 685, 11623, 13, 15, 23871, 1495, 13, 15, 60, 201, 198, 220, 220, 220, 374, 17, 796, 685, 11623, 13, 15, 69, 15, 23871, 1495, 13, 15, 69, 15, 60, 201, 198, 220, 220, 220, 374, 18, 796, 685, 23, 13, 15, 2681, 13, 15, 5598, 13, 15, 26, 5598, 13, 15, 767, 1959, 13, 15, 42479, 13, 15, 60, 201, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 17, 201, 198, 220, 220, 220, 220, 220, 220, 220, 581, 15, 796, 2451, 282, 1350, 13, 6477, 62, 36654, 7, 853, 11, 299, 58, 72, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 15, 6624, 374, 58, 72, 60, 220, 201, 198, 220, 220, 220, 220, 220, 220, 220, 581, 15, 796, 2451, 282, 1350, 13, 6477, 62, 36654, 7, 853, 36439, 11, 299, 58, 72, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 15, 6624, 374, 16, 58, 72, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 581, 16, 796, 2451, 282, 1350, 13, 6477, 62, 36654, 7, 853, 36439, 46428, 2624, 11, 299, 58, 72, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 16, 6624, 374, 17, 58, 72, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 581, 17, 796, 2451, 282, 1350, 13, 6477, 62, 36654, 12195, 853, 35138, 11, 299, 58, 72, 12962, 201, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 352, 25, 18, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 17, 58, 73, 60, 764, 855, 374, 18, 58, 72, 11, 73, 60, 201, 198, 220, 220, 220, 220, 220, 220, 220, 886, 201, 198, 220, 220, 220, 886, 201, 198, 437 ]
1.649885
4,330
using Documenter, Konig makedocs(; modules=[Konig], format=:html, pages=[ "Introduction" => "index.md", ], repo="https://github.com/SyxP/Konig.jl/blob/{commit}{path}#L{line}", sitename="Konig.jl", authors="Syx Pek", assets=[], ) deploydocs( repo = "github.com/SyxP/Konig.jl.git", )
[ 3500, 16854, 263, 11, 17431, 328, 198, 198, 76, 4335, 420, 82, 7, 26, 198, 220, 220, 220, 13103, 41888, 42, 261, 328, 4357, 198, 220, 220, 220, 5794, 28, 25, 6494, 11, 198, 220, 220, 220, 5468, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 366, 21906, 1, 5218, 366, 9630, 13, 9132, 1600, 198, 220, 220, 220, 16589, 198, 220, 220, 220, 29924, 2625, 5450, 1378, 12567, 13, 785, 14, 13940, 87, 47, 14, 42, 261, 328, 13, 20362, 14, 2436, 672, 14, 90, 41509, 18477, 6978, 92, 2, 43, 90, 1370, 92, 1600, 198, 220, 220, 220, 1650, 12453, 2625, 42, 261, 328, 13, 20362, 1600, 198, 220, 220, 220, 7035, 2625, 13940, 87, 350, 988, 1600, 198, 220, 220, 220, 6798, 41888, 4357, 198, 8, 198, 198, 2934, 1420, 31628, 7, 198, 220, 220, 220, 29924, 796, 366, 12567, 13, 785, 14, 13940, 87, 47, 14, 42, 261, 328, 13, 20362, 13, 18300, 1600, 198, 8, 198 ]
2.024691
162
let part1 = 0, part2 = 1 # This reads the input in a transposed format — rows here are columns in # the file. chart = hcat(map(collect, readlines("input.txt"))...) nrow, ncol = size(chart) for (run, rise) in [(1, 1), (3, 1), (5, 1), (7, 1), (1, 2)] trees, row = 0, 1 for col in 1:rise:ncol if chart[row, col] == '#' # only count the tree for part1 if the slope is (3, 1) part1 += (run == 3 && rise == 1) # For part2 trees += 1 end # # We could use the following if statement which doesn't require # # as much mental overhead. # row += run # # # This is the only place where we have to think about the indexing. # # If we were using 0-indexing, we'd need `row ≥ nrow`. # if row > nrow # row -= nrow # end # By default, Julia arrays are 1-indexed, so we have to subtract 1 # before we `%` and add one after. I like this better because its # short, fairly clear if you know how `%` works, and doesn't # require the overhead of an if-statement. row = (row + run - 1) % nrow + 1 end part2 *= trees end @info "Solution" part1 part2 end
[ 1616, 636, 16, 796, 657, 11, 636, 17, 796, 352, 198, 220, 220, 220, 1303, 770, 9743, 262, 5128, 287, 257, 1007, 29813, 5794, 851, 15274, 994, 389, 15180, 287, 198, 220, 220, 220, 1303, 262, 2393, 13, 198, 220, 220, 220, 8262, 796, 289, 9246, 7, 8899, 7, 33327, 11, 1100, 6615, 7203, 15414, 13, 14116, 48774, 23029, 628, 220, 220, 220, 299, 808, 11, 299, 4033, 796, 2546, 7, 40926, 8, 628, 220, 220, 220, 329, 357, 5143, 11, 4485, 8, 287, 47527, 16, 11, 352, 828, 357, 18, 11, 352, 828, 357, 20, 11, 352, 828, 357, 22, 11, 352, 828, 357, 16, 11, 362, 15437, 198, 220, 220, 220, 220, 220, 220, 220, 7150, 11, 5752, 796, 657, 11, 352, 628, 220, 220, 220, 220, 220, 220, 220, 329, 951, 287, 352, 25, 17163, 25, 77, 4033, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 8262, 58, 808, 11, 951, 60, 6624, 705, 2, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 691, 954, 262, 5509, 329, 636, 16, 611, 262, 22638, 318, 357, 18, 11, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 16, 15853, 357, 5143, 6624, 513, 11405, 4485, 6624, 352, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1114, 636, 17, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7150, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1303, 775, 714, 779, 262, 1708, 611, 2643, 543, 1595, 470, 2421, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1303, 355, 881, 5110, 16965, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5752, 15853, 1057, 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, 1303, 770, 318, 262, 691, 1295, 810, 356, 423, 284, 892, 546, 262, 6376, 278, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1303, 1002, 356, 547, 1262, 657, 12, 9630, 278, 11, 356, 1549, 761, 4600, 808, 26870, 299, 808, 44646, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 5752, 1875, 299, 808, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 5752, 48185, 299, 808, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2750, 4277, 11, 22300, 26515, 389, 352, 12, 9630, 276, 11, 523, 356, 423, 284, 34128, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 878, 356, 4600, 4, 63, 290, 751, 530, 706, 13, 314, 588, 428, 1365, 780, 663, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1790, 11, 6547, 1598, 611, 345, 760, 703, 4600, 4, 63, 2499, 11, 290, 1595, 470, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2421, 262, 16965, 286, 281, 611, 12, 26090, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5752, 796, 357, 808, 1343, 1057, 532, 352, 8, 4064, 299, 808, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 636, 17, 1635, 28, 7150, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 10951, 366, 46344, 1, 636, 16, 636, 17, 198, 437, 198 ]
2.06577
669
module RocketBuilder const datadir = joinpath(@__DIR__, "..", "data") include("db.jl") include("tank-editor.jl") include("engine-editor.jl") end
[ 21412, 16920, 32875, 198, 198, 9979, 4818, 324, 343, 796, 4654, 6978, 7, 31, 834, 34720, 834, 11, 366, 492, 1600, 366, 7890, 4943, 198, 198, 17256, 7203, 9945, 13, 20362, 4943, 198, 17256, 7203, 28451, 12, 35352, 13, 20362, 4943, 198, 17256, 7203, 18392, 12, 35352, 13, 20362, 4943, 198, 198, 437, 198 ]
2.740741
54
export gpu,cpu, NodalCorr mutable struct NodalCorr <: NoiseData n::Int64 id::Array{String,1} # id name::Array{String,1} # name loc::Array{<:InstrumentPosition,1} # loc fs::Float64 # fs src::String # src t::Array{Array{Int64,2},1} # time corr::AbstractArray{Float32, 2} # actual data function NodalCorr( n ::Int64, id ::Array{String,1}, name ::Array{String,1}, loc ::Array{<:InstrumentPosition,1}, fs ::Float64, src ::String, t ::Array{Array{Int64,2},1} , corr ::AbstractArray{<:AbstractFloat,2}, ) return new(n, id, name, loc, fs, src, t, corr) end end NodalCorr(; n ::Int64 = 0, id ::Array{String,1} = Array{String}(undef,0), name ::Array{String,1} = Array{String}(undef,0), loc ::Array{InstrumentPosition,1} = Array{InstrumentPosition}(undef,0), fs ::Float64 = zero(Float64), src ::String = "", t ::Array{Array{Int64,2},1} = Array{Array{Int64,2},1}(undef,0), corr ::AbstractArray{<:AbstractFloat,2} = Array{Float32,2}(undef, 0, 2), ) = CorrData(n, id, name, loc, fs, src, t, corr) # functions for adapting NodalData to GPU cpu(m::NodalData) = adapt(Array,m) gpu(x::NodalData) = use_cuda[] ? cu(x) : x # function for adapting NodalCorr to GPU cpu(m::NodalCorr) = adapt(Array,m) gpu(x::NodalCorr) = use_cuda[] ? cu(x) : x Adapt.adapt_structure(to, N::NodalData) = NodalData( N.n, N.ox, N.oy, N.oz, N.info, N.id, N.name, N.loc, N.fs, N.gain, N.resp, N.units, N.src, N.misc, N.notes, N.t, adapt(to,N.data), ) Adapt.adapt_structure(to, N::NodalCorr) = NodalCorr( N.n, N.id, N.name, N.loc, N.fs, N.gain, N.resp, N.units, N.src, N.t, adapt(to,N.corr), )
[ 39344, 308, 19944, 11, 36166, 11, 399, 375, 282, 10606, 81, 198, 198, 76, 18187, 2878, 399, 375, 282, 10606, 81, 1279, 25, 30964, 6601, 198, 220, 220, 220, 299, 3712, 5317, 2414, 198, 220, 220, 220, 4686, 3712, 19182, 90, 10100, 11, 16, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4686, 198, 220, 220, 220, 1438, 3712, 19182, 90, 10100, 11, 16, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1438, 198, 220, 220, 220, 1179, 3712, 19182, 90, 27, 25, 818, 43872, 26545, 11, 16, 92, 220, 1303, 1179, 198, 220, 220, 220, 43458, 3712, 43879, 2414, 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, 43458, 198, 220, 220, 220, 12351, 3712, 10100, 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, 12351, 198, 220, 220, 220, 256, 3712, 19182, 90, 19182, 90, 5317, 2414, 11, 17, 5512, 16, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 640, 198, 220, 220, 220, 1162, 81, 3712, 23839, 19182, 90, 43879, 2624, 11, 362, 92, 220, 220, 220, 220, 1303, 4036, 1366, 628, 220, 220, 220, 2163, 399, 375, 282, 10606, 81, 7, 198, 220, 220, 220, 220, 220, 220, 220, 299, 220, 220, 220, 220, 220, 220, 220, 7904, 5317, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 220, 220, 220, 220, 220, 7904, 19182, 90, 10100, 11, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 7904, 19182, 90, 10100, 11, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1179, 220, 220, 220, 220, 220, 7904, 19182, 90, 27, 25, 818, 43872, 26545, 11, 16, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 43458, 220, 220, 220, 220, 220, 220, 7904, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 12351, 220, 220, 220, 220, 220, 7904, 10100, 11, 198, 220, 220, 220, 220, 220, 220, 220, 256, 220, 220, 220, 220, 220, 220, 220, 7904, 19182, 90, 19182, 90, 5317, 2414, 11, 17, 5512, 16, 92, 837, 198, 220, 220, 220, 220, 220, 220, 220, 1162, 81, 220, 220, 220, 220, 7904, 23839, 19182, 90, 27, 25, 23839, 43879, 11, 17, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 649, 7, 77, 11, 4686, 11, 1438, 11, 1179, 11, 43458, 11, 12351, 11, 256, 11, 1162, 81, 8, 198, 220, 220, 220, 886, 198, 437, 198, 198, 45, 375, 282, 10606, 81, 7, 26, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 220, 220, 220, 220, 220, 220, 220, 7904, 5317, 2414, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 220, 220, 220, 220, 220, 7904, 19182, 90, 10100, 11, 16, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 15690, 90, 10100, 92, 7, 917, 891, 11, 15, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 7904, 19182, 90, 10100, 11, 16, 92, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 15690, 90, 10100, 92, 7, 917, 891, 11, 15, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1179, 220, 220, 220, 220, 220, 7904, 19182, 90, 818, 43872, 26545, 11, 16, 92, 796, 15690, 90, 818, 43872, 26545, 92, 7, 917, 891, 11, 15, 828, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43458, 220, 220, 220, 220, 220, 220, 7904, 43879, 2414, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 6632, 7, 43879, 2414, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12351, 220, 220, 220, 220, 220, 7904, 10100, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 366, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 220, 220, 220, 220, 220, 220, 220, 7904, 19182, 90, 19182, 90, 5317, 2414, 11, 17, 5512, 16, 92, 220, 220, 220, 220, 796, 15690, 90, 19182, 90, 5317, 2414, 11, 17, 5512, 16, 92, 7, 917, 891, 11, 15, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1162, 81, 220, 220, 220, 220, 7904, 23839, 19182, 90, 27, 25, 23839, 43879, 11, 17, 92, 796, 15690, 90, 43879, 2624, 11, 17, 92, 7, 917, 891, 11, 657, 11, 362, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 796, 2744, 81, 6601, 7, 77, 11, 4686, 11, 1438, 11, 1179, 11, 43458, 11, 12351, 11, 256, 11, 1162, 81, 8, 628, 198, 2, 5499, 329, 35135, 399, 375, 282, 6601, 284, 11362, 220, 198, 36166, 7, 76, 3712, 45, 375, 282, 6601, 8, 796, 6068, 7, 19182, 11, 76, 8, 198, 46999, 7, 87, 3712, 45, 375, 282, 6601, 8, 796, 779, 62, 66, 15339, 21737, 5633, 18912, 7, 87, 8, 1058, 2124, 198, 198, 2, 2163, 329, 35135, 399, 375, 282, 10606, 81, 284, 11362, 220, 198, 36166, 7, 76, 3712, 45, 375, 282, 10606, 81, 8, 796, 6068, 7, 19182, 11, 76, 8, 198, 46999, 7, 87, 3712, 45, 375, 282, 10606, 81, 8, 796, 779, 62, 66, 15339, 21737, 5633, 18912, 7, 87, 8, 1058, 2124, 198, 198, 48003, 13, 42552, 62, 301, 5620, 7, 1462, 11, 399, 3712, 45, 375, 282, 6601, 8, 796, 399, 375, 282, 6601, 7, 198, 220, 220, 220, 399, 13, 77, 11, 198, 220, 220, 220, 399, 13, 1140, 11, 198, 220, 220, 220, 399, 13, 726, 11, 198, 220, 220, 220, 399, 13, 8590, 11, 198, 220, 220, 220, 399, 13, 10951, 11, 198, 220, 220, 220, 399, 13, 312, 11, 198, 220, 220, 220, 399, 13, 3672, 11, 198, 220, 220, 220, 399, 13, 17946, 11, 198, 220, 220, 220, 399, 13, 9501, 11, 198, 220, 220, 220, 399, 13, 48544, 11, 198, 220, 220, 220, 399, 13, 4363, 11, 198, 220, 220, 220, 399, 13, 41667, 11, 198, 220, 220, 220, 399, 13, 10677, 11, 198, 220, 220, 220, 399, 13, 44374, 11, 198, 220, 220, 220, 399, 13, 17815, 11, 198, 220, 220, 220, 399, 13, 83, 11, 198, 220, 220, 220, 6068, 7, 1462, 11, 45, 13, 7890, 828, 198, 8, 198, 198, 48003, 13, 42552, 62, 301, 5620, 7, 1462, 11, 399, 3712, 45, 375, 282, 10606, 81, 8, 796, 399, 375, 282, 10606, 81, 7, 198, 220, 220, 220, 399, 13, 77, 11, 198, 220, 220, 220, 399, 13, 312, 11, 198, 220, 220, 220, 399, 13, 3672, 11, 198, 220, 220, 220, 399, 13, 17946, 11, 198, 220, 220, 220, 399, 13, 9501, 11, 198, 220, 220, 220, 399, 13, 48544, 11, 198, 220, 220, 220, 399, 13, 4363, 11, 198, 220, 220, 220, 399, 13, 41667, 11, 198, 220, 220, 220, 399, 13, 10677, 11, 198, 220, 220, 220, 399, 13, 83, 11, 198, 220, 220, 220, 6068, 7, 1462, 11, 45, 13, 10215, 81, 828, 198, 8, 198 ]
1.709754
1,261
using Markdown # hide # ## All-KNN # By Eric S. Téllez # ENV["GKSwstype"] = "nul" # hide using SimilaritySearch # Computing the $k$ nearest neighbors of a dataset (all vs all) is a useful task to take knowledge # of a given dataset. This is a core task for some clustering algorithms and non-linear dimensional reduction # algorithms. # # Given a metric database $(X, dist)$ and a relatively small $k$ value, the goal is # to compute $\{ knn(x) \mid x \in X \}$ taking into account that each $x_i \in X$, and therefore, $x_i$ should be # removed from the $i$-th $knn$ result set. # # Solving `allknn` fast and accuratelly is the goal of this example. const dim = 16 k = 15 db = MatrixDatabase(randn(Float32, dim, 10^5)) dist = SqL2Distance() G = SearchGraph(; dist, db) opt = OptimizeParameters(kind=MinRecall(0.9)) itime = @elapsed (index!(G); optimize!(G, opt)) nothing # hide # Now we can solve all $k$nn allknntime = @elapsed knns, dists = allknn(G, k; parallel=true) nothing # hide # ## Differences between `allknn(G, k)` and `searchbatch(G, X, k)` # # We can solve similarly with `searchbatch` but self-references should be removed later, and more important, # `allknn` use special pivoting/boosting strategies that yields to faster searches. searchtime = @elapsed sknns, sdists = searchbatch(G, db, k; parallel=true) nothing # hide # ## About the cost of construction + `allknn` instead of a brute force computation. # `allknn` for `ExhaustiveSearch` doesn't perform any optimization but removes self references. etime = @elapsed eknns, edists = allknn(ExhaustiveSearch(; db, dist), k; parallel=true) nothing # hide # ## Comparing solution times # # indexing, allknn, and searchbatch times itime, allknntime, searchtime # full cost `allknn` itime + allknntime # full cost `searchbatch` itime + searchtime # exhaustive `allknn` etime # ## Quality # macro recall of `allknn` macrorecall(eknns, knns) # macro recall of `searchbatch` macrorecall(eknns, sknns) # ## Final notes: # Exhaustive search will fetch the exact solution but it has a higher cost and this could be more # notorious as dataset's size increases. # Also note that even when we pass `parallel=true` it runs in a single thread due to the html generation pipeline. # #- Using BeutifulMakie style # ## Dependencies using Pkg # hide Pkg.status(["SimilaritySearch"]) # hide
[ 3500, 2940, 2902, 1303, 7808, 198, 198, 2, 22492, 1439, 12, 42, 6144, 198, 2, 2750, 7651, 311, 13, 309, 2634, 75, 36858, 198, 2, 198, 198, 1677, 53, 14692, 38, 42, 10462, 301, 2981, 8973, 796, 366, 77, 377, 1, 1303, 7808, 198, 198, 3500, 11014, 414, 18243, 198, 2, 38589, 262, 720, 74, 3, 16936, 12020, 286, 257, 27039, 357, 439, 3691, 477, 8, 318, 257, 4465, 4876, 284, 1011, 3725, 220, 198, 2, 286, 257, 1813, 27039, 13, 770, 318, 257, 4755, 4876, 329, 617, 32966, 1586, 16113, 290, 1729, 12, 29127, 38517, 7741, 198, 2, 16113, 13, 198, 2, 220, 198, 2, 11259, 257, 18663, 6831, 29568, 55, 11, 1233, 8, 3, 220, 290, 257, 5365, 1402, 720, 74, 3, 1988, 11, 262, 3061, 318, 198, 2, 284, 24061, 39280, 90, 638, 77, 7, 87, 8, 3467, 13602, 2124, 3467, 259, 1395, 3467, 92, 3, 2263, 656, 1848, 326, 1123, 720, 87, 62, 72, 3467, 259, 1395, 47113, 290, 4361, 11, 720, 87, 62, 72, 3, 815, 307, 198, 2, 4615, 422, 262, 720, 72, 3, 12, 400, 720, 15418, 77, 3, 1255, 900, 13, 198, 2, 220, 198, 2, 4294, 1075, 4600, 439, 15418, 77, 63, 3049, 290, 7187, 12810, 318, 262, 3061, 286, 428, 1672, 13, 198, 198, 9979, 5391, 796, 1467, 198, 74, 796, 1315, 198, 9945, 796, 24936, 38105, 7, 25192, 77, 7, 43879, 2624, 11, 5391, 11, 838, 61, 20, 4008, 198, 17080, 796, 311, 80, 43, 17, 45767, 3419, 198, 38, 796, 11140, 37065, 7, 26, 1233, 11, 20613, 8, 198, 8738, 796, 30011, 1096, 48944, 7, 11031, 28, 9452, 6690, 439, 7, 15, 13, 24, 4008, 198, 22552, 796, 2488, 417, 28361, 357, 9630, 0, 7, 38, 1776, 27183, 0, 7, 38, 11, 2172, 4008, 198, 22366, 1303, 7808, 198, 2, 2735, 356, 460, 8494, 477, 720, 74, 3, 20471, 198, 198, 439, 15418, 429, 524, 796, 2488, 417, 28361, 638, 5907, 11, 288, 1023, 796, 477, 15418, 77, 7, 38, 11, 479, 26, 10730, 28, 7942, 8, 198, 22366, 1303, 7808, 198, 2, 22492, 41937, 1022, 4600, 439, 15418, 77, 7, 38, 11, 479, 8, 63, 290, 4600, 12947, 43501, 7, 38, 11, 1395, 11, 479, 8, 63, 198, 2, 198, 2, 775, 460, 8494, 12470, 351, 4600, 12947, 43501, 63, 475, 2116, 12, 5420, 4972, 815, 307, 4615, 1568, 11, 290, 517, 1593, 11, 198, 2, 4600, 439, 15418, 77, 63, 779, 2041, 16767, 10720, 14, 39521, 278, 10064, 326, 19299, 284, 5443, 15455, 13, 198, 198, 12947, 2435, 796, 2488, 417, 28361, 1341, 77, 5907, 11, 45647, 1023, 796, 2989, 43501, 7, 38, 11, 20613, 11, 479, 26, 10730, 28, 7942, 8, 198, 22366, 1303, 7808, 198, 198, 2, 22492, 7994, 262, 1575, 286, 5103, 1343, 4600, 439, 15418, 77, 63, 2427, 286, 257, 33908, 2700, 29964, 13, 198, 2, 4600, 439, 15418, 77, 63, 329, 4600, 3109, 42456, 425, 18243, 63, 1595, 470, 1620, 597, 23989, 475, 20694, 2116, 10288, 13, 198, 8079, 796, 2488, 417, 28361, 304, 15418, 5907, 11, 1225, 1023, 796, 477, 15418, 77, 7, 3109, 42456, 425, 18243, 7, 26, 20613, 11, 1233, 828, 479, 26, 10730, 28, 7942, 8, 198, 22366, 1303, 7808, 198, 198, 2, 22492, 3082, 1723, 4610, 1661, 198, 2, 198, 2, 6376, 278, 11, 477, 15418, 77, 11, 290, 2989, 43501, 1661, 198, 22552, 11, 477, 15418, 429, 524, 11, 2989, 2435, 198, 198, 2, 1336, 1575, 4600, 439, 15418, 77, 63, 198, 22552, 1343, 477, 15418, 429, 524, 198, 2, 1336, 1575, 4600, 12947, 43501, 63, 198, 22552, 1343, 2989, 2435, 198, 2, 36049, 4600, 439, 15418, 77, 63, 198, 8079, 198, 198, 2, 22492, 14156, 198, 2, 15021, 10014, 286, 4600, 439, 15418, 77, 63, 198, 20285, 305, 8344, 439, 7, 988, 77, 5907, 11, 638, 5907, 8, 198, 2, 15021, 10014, 286, 4600, 12947, 43501, 63, 198, 20285, 305, 8344, 439, 7, 988, 77, 5907, 11, 1341, 77, 5907, 8, 198, 198, 2, 22492, 8125, 4710, 25, 198, 2, 1475, 42456, 425, 2989, 481, 21207, 262, 2748, 4610, 475, 340, 468, 257, 2440, 1575, 290, 428, 714, 307, 517, 198, 2, 18192, 355, 27039, 338, 2546, 5732, 13, 198, 2, 4418, 3465, 326, 772, 618, 356, 1208, 4600, 1845, 29363, 28, 7942, 63, 340, 4539, 287, 257, 2060, 4704, 2233, 284, 262, 27711, 5270, 11523, 13, 198, 2, 198, 198, 2, 12, 8554, 1355, 315, 4135, 44, 461, 494, 3918, 198, 2, 22492, 37947, 3976, 198, 3500, 350, 10025, 1303, 7808, 198, 47, 10025, 13, 13376, 7, 14692, 18925, 414, 18243, 8973, 8, 1303, 7808, 198 ]
3.089122
763
using VennABERS using Test @testset "VennABERS.jl" begin # Write your tests here. end
[ 3500, 569, 1697, 6242, 4877, 198, 3500, 6208, 198, 198, 31, 9288, 2617, 366, 53, 1697, 6242, 4877, 13, 20362, 1, 2221, 198, 220, 220, 220, 1303, 19430, 534, 5254, 994, 13, 198, 437, 198 ]
2.6
35
function ConfidenceInterval(arg0::jdouble, arg1::jdouble, arg2::jdouble) return ConfidenceInterval((jdouble, jdouble, jdouble), arg0, arg1, arg2) end function get_confidence_level(obj::ConfidenceInterval) return jcall(obj, "getConfidenceLevel", jdouble, ()) end function get_lower_bound(obj::ConfidenceInterval) return jcall(obj, "getLowerBound", jdouble, ()) end function get_upper_bound(obj::ConfidenceInterval) return jcall(obj, "getUpperBound", jdouble, ()) end function to_string(obj::ConfidenceInterval) return jcall(obj, "toString", JString, ()) end
[ 8818, 7326, 1704, 9492, 2100, 7, 853, 15, 3712, 73, 23352, 11, 1822, 16, 3712, 73, 23352, 11, 1822, 17, 3712, 73, 23352, 8, 198, 220, 220, 220, 1441, 7326, 1704, 9492, 2100, 19510, 73, 23352, 11, 474, 23352, 11, 474, 23352, 828, 1822, 15, 11, 1822, 16, 11, 1822, 17, 8, 198, 437, 198, 198, 8818, 651, 62, 39745, 62, 5715, 7, 26801, 3712, 18546, 1704, 9492, 2100, 8, 198, 220, 220, 220, 1441, 474, 13345, 7, 26801, 11, 366, 1136, 18546, 1704, 4971, 1600, 474, 23352, 11, 32865, 198, 437, 198, 198, 8818, 651, 62, 21037, 62, 7784, 7, 26801, 3712, 18546, 1704, 9492, 2100, 8, 198, 220, 220, 220, 1441, 474, 13345, 7, 26801, 11, 366, 1136, 31426, 49646, 1600, 474, 23352, 11, 32865, 198, 437, 198, 198, 8818, 651, 62, 45828, 62, 7784, 7, 26801, 3712, 18546, 1704, 9492, 2100, 8, 198, 220, 220, 220, 1441, 474, 13345, 7, 26801, 11, 366, 1136, 52, 2848, 49646, 1600, 474, 23352, 11, 32865, 198, 437, 198, 198, 8818, 284, 62, 8841, 7, 26801, 3712, 18546, 1704, 9492, 2100, 8, 198, 220, 220, 220, 1441, 474, 13345, 7, 26801, 11, 366, 1462, 10100, 1600, 449, 10100, 11, 32865, 198, 437, 628 ]
2.881188
202
#!/usr/bin/env julia # This file is a part of SIS3316.jl, licensed under the MIT License (MIT). using ArgParse using SIS3316 using ROOTFramework function sis3316_to_root end export sis3316_to_root mktemp_custom(parent=tempdir(), format="tmpXXXXXX") = begin b = joinpath(parent, format) p = ccall(:mkstemp, Int32, (Ptr{UInt8},), b) # modifies b systemerror(:mktemp, p == -1) return (b, fdio(p, true)) end sis3316_to_root(input_io::IO, output_tfile::TFile; evt_merge_window::AbstractFloat = 100e-9, waveform_format = :none) = begin _time(x::Pair{Int64, SIS3316.RawChEvent}) = time(x.second) bindings = TTreeBindings() const info_idx = bindings[:info_idx] = Ref{Int32}(0) const info_time = bindings[:info_time] = Ref{Float64}(0) const raw_pp_ch = bindings[:raw_pp_ch] = Int32[] const raw_pp_mca = bindings[:raw_pp_mca] = Int32[] const raw_pp_trig_max = bindings[:raw_pp_trig_max] = Int32[] const raw_pp_peak_pos = bindings[:raw_pp_peak_pos] = Int32[] const raw_pp_peak_height = bindings[:raw_pp_peak_height] = Int32[] const raw_pp_acc = map(i -> bindings[Symbol("raw_pp_acc_$i")] = Int32[], 1:8) const raw_trig_ch = bindings[:raw_trig_ch] = Int32[] const raw_trig_trel = bindings[:raw_trig_trel] = Float64[] const raw_trig_pileup = bindings[:raw_trig_pileup] = Int32[] const raw_trig_overflow = bindings[:raw_trig_overflow] = Int32[] const raw_wf_ch = Int32[] const raw_wf_smpl_n = Int32[] const raw_wf_smpl_v = Int32[] if waveform_format == :none elseif waveform_format == :integers bindings[:raw_wf_ch] = raw_wf_ch bindings[:raw_wf_smpl_n] = raw_wf_smpl_n bindings[:raw_wf_smpl_v] = raw_wf_smpl_v else error("Unknown waveform format $waveform_format.") end const ch_sized_vecs = Vector[raw_pp_ch, raw_pp_mca, raw_pp_trig_max, raw_pp_peak_pos, raw_pp_peak_height, raw_trig_ch, raw_trig_trel, raw_trig_pileup, raw_trig_overflow ] append!(ch_sized_vecs, raw_pp_acc) for v in ch_sized_vecs sizehint!(v, 16) end ttree = create_ttree!(output_tfile, "data", "Data") ttoutput = TTreeOutput(ttree, bindings) const reader = eachchunk(input_io, SIS3316.UnsortedEvents) local evtno = 0 for unsorted in reader const sorted = sortevents(unsorted, merge_window = evt_merge_window) const evtv = Vector{Pair{Int64, SIS3316.RawChEvent}}() const timestamps = Vector{Float64}() const energynull = SIS3316.EnergyValues(0, 0) const mawnull = SIS3316.MAWValues(0, 0, 0) const psanull = SIS3316.PSAValue(0, 0) const flagsnull = SIS3316.EvtFlags(false,false,false,false) for evt in sorted evtno += 1 resize!(evtv, length(evt)) copy!(evtv, evt) sort!(evtv, by = first) resize!(timestamps, length(evtv)) map!(_time, timestamps, evtv) const starttime = isempty(timestamps) ? zero(Float64) : minimum(timestamps) info_idx.x = evtno info_time.x = starttime for v in ch_sized_vecs empty!(v) end empty!(raw_wf_ch) empty!(raw_wf_smpl_n) empty!(raw_wf_smpl_v) for (ch, chevt) in evtv push!(raw_pp_ch, ch) push!(raw_pp_mca, get(chevt.energy, energynull).maximum) push!(raw_pp_trig_max, get(chevt.trig_maw, mawnull).maximum) push!(raw_pp_peak_pos, get(chevt.peak_height, psanull).index) push!(raw_pp_peak_height, get(chevt.peak_height, psanull).value) for i in eachindex(raw_pp_acc) push!(raw_pp_acc[i], get(chevt.accsums, i, 0)) end push!(raw_trig_ch, ch) push!(raw_trig_trel, time(chevt) - starttime) push!(raw_trig_pileup, chevt.pileup_flag + 2 * get(chevt.flags, flagsnull).pileup + 4 * get(chevt.flags, flagsnull).repileup) push!(raw_trig_overflow, 1 * get(chevt.flags, flagsnull).overflow + 2 * get(chevt.flags, flagsnull).underflow) if !isempty(chevt.samples) if waveform_format == :integers push!(raw_wf_ch, ch) push!(raw_wf_smpl_n, length(chevt.samples)) append!(raw_wf_smpl_v, chevt.samples) end end end push!(ttoutput) end end end sis3316_to_root(input_fname::AbstractString; evt_merge_window::AbstractFloat = 100e-9, waveform_format = :none) = begin const fnexpr = r"(.*)\.dat(\.[^.]+)?" const fnbase = match(fnexpr, basename(input_fname))[1] const output_fname = "$(fnbase).root" if !ispath(output_fname) output_tmpname, tmpio = mktemp_custom(pwd(), "$(output_fname).tmp-XXXXXX") close(tmpio) open(SIS3316.DecompessIO, input_fname) do input_io open(TFile, output_tmpname, "recreate") do output_tfile sis3316_to_root(input_io, output_tfile, evt_merge_window = evt_merge_window, waveform_format = waveform_format) end end mv(output_tmpname, output_fname, remove_destination = false) else info("Output file \"$(output_fname)\" already exists, skipping \"$(input_fname)\".") end end sis3316_to_root() = begin argsettings = ArgParseSettings() @add_arg_table argsettings begin "--merge-within", "-m" help = "time window for merging events (no merging for negative values)" arg_type = Float64 default = 100e-9 "--waveform-format", "-w" help = "waveform format (\"none\" or \"integers\")" arg_type = AbstractString default = "integers" "inputs" help = "input files" nargs = '*' end const parsed_args = parse_args(argsettings) for input_fname in parsed_args["inputs"] try info("Converting \"$(input_fname)\"") @time sis3316_to_root( input_fname, evt_merge_window = parsed_args["merge-within"], waveform_format = Symbol(parsed_args["waveform-format"]) ) catch err print_with_color(:red, STDERR, "ERROR: $err\n") end end end
[ 2, 48443, 14629, 14, 8800, 14, 24330, 474, 43640, 198, 198, 2, 770, 2393, 318, 257, 636, 286, 311, 1797, 2091, 1433, 13, 20362, 11, 11971, 739, 262, 17168, 13789, 357, 36393, 737, 628, 198, 3500, 20559, 10044, 325, 198, 3500, 311, 1797, 2091, 1433, 198, 3500, 15107, 2394, 21055, 6433, 628, 198, 8818, 264, 271, 2091, 1433, 62, 1462, 62, 15763, 886, 198, 39344, 264, 271, 2091, 1433, 62, 1462, 62, 15763, 628, 198, 28015, 29510, 62, 23144, 7, 8000, 28, 29510, 15908, 22784, 5794, 2625, 22065, 24376, 8051, 4943, 796, 2221, 198, 220, 220, 220, 275, 796, 4654, 6978, 7, 8000, 11, 5794, 8, 198, 220, 220, 220, 279, 796, 269, 13345, 7, 25, 28015, 927, 79, 11, 2558, 2624, 11, 357, 46745, 90, 52, 5317, 23, 5512, 828, 275, 8, 1303, 953, 6945, 275, 198, 220, 220, 220, 1080, 18224, 7, 25, 28015, 29510, 11, 279, 6624, 532, 16, 8, 198, 220, 220, 220, 1441, 357, 65, 11, 277, 67, 952, 7, 79, 11, 2081, 4008, 198, 437, 628, 198, 13429, 2091, 1433, 62, 1462, 62, 15763, 7, 15414, 62, 952, 3712, 9399, 11, 5072, 62, 83, 7753, 3712, 51, 8979, 26, 819, 83, 62, 647, 469, 62, 17497, 3712, 23839, 43879, 796, 1802, 68, 12, 24, 11, 6769, 687, 62, 18982, 796, 1058, 23108, 8, 796, 2221, 198, 220, 220, 220, 4808, 2435, 7, 87, 3712, 47, 958, 90, 5317, 2414, 11, 311, 1797, 2091, 1433, 13, 27369, 1925, 9237, 30072, 796, 640, 7, 87, 13, 12227, 8, 628, 220, 220, 220, 34111, 796, 26653, 631, 36180, 654, 3419, 628, 220, 220, 220, 1500, 7508, 62, 312, 87, 796, 34111, 58, 25, 10951, 62, 312, 87, 60, 796, 6524, 90, 5317, 2624, 92, 7, 15, 8, 198, 220, 220, 220, 1500, 7508, 62, 2435, 796, 34111, 58, 25, 10951, 62, 2435, 60, 796, 6524, 90, 43879, 2414, 92, 7, 15, 8, 628, 220, 220, 220, 1500, 8246, 62, 381, 62, 354, 796, 34111, 58, 25, 1831, 62, 381, 62, 354, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 381, 62, 76, 6888, 796, 34111, 58, 25, 1831, 62, 381, 62, 76, 6888, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 381, 62, 2213, 328, 62, 9806, 796, 34111, 58, 25, 1831, 62, 381, 62, 2213, 328, 62, 9806, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 381, 62, 36729, 62, 1930, 796, 34111, 58, 25, 1831, 62, 381, 62, 36729, 62, 1930, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 381, 62, 36729, 62, 17015, 796, 34111, 58, 25, 1831, 62, 381, 62, 36729, 62, 17015, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 381, 62, 4134, 796, 3975, 7, 72, 4613, 34111, 58, 13940, 23650, 7203, 1831, 62, 381, 62, 4134, 62, 3, 72, 4943, 60, 796, 2558, 2624, 58, 4357, 352, 25, 23, 8, 628, 220, 220, 220, 1500, 8246, 62, 2213, 328, 62, 354, 796, 34111, 58, 25, 1831, 62, 2213, 328, 62, 354, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 2213, 328, 62, 83, 2411, 796, 34111, 58, 25, 1831, 62, 2213, 328, 62, 83, 2411, 60, 796, 48436, 2414, 21737, 198, 220, 220, 220, 1500, 8246, 62, 2213, 328, 62, 79, 576, 929, 796, 34111, 58, 25, 1831, 62, 2213, 328, 62, 79, 576, 929, 60, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 2213, 328, 62, 2502, 11125, 796, 34111, 58, 25, 1831, 62, 2213, 328, 62, 2502, 11125, 60, 796, 2558, 2624, 21737, 628, 220, 220, 220, 1500, 8246, 62, 86, 69, 62, 354, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 86, 69, 62, 5796, 489, 62, 77, 796, 2558, 2624, 21737, 198, 220, 220, 220, 1500, 8246, 62, 86, 69, 62, 5796, 489, 62, 85, 796, 2558, 2624, 21737, 628, 220, 220, 220, 611, 6769, 687, 62, 18982, 6624, 1058, 23108, 198, 220, 220, 220, 2073, 361, 6769, 687, 62, 18982, 6624, 1058, 18908, 364, 198, 220, 220, 220, 220, 220, 220, 220, 34111, 58, 25, 1831, 62, 86, 69, 62, 354, 60, 796, 8246, 62, 86, 69, 62, 354, 198, 220, 220, 220, 220, 220, 220, 220, 34111, 58, 25, 1831, 62, 86, 69, 62, 5796, 489, 62, 77, 60, 796, 8246, 62, 86, 69, 62, 5796, 489, 62, 77, 198, 220, 220, 220, 220, 220, 220, 220, 34111, 58, 25, 1831, 62, 86, 69, 62, 5796, 489, 62, 85, 60, 796, 8246, 62, 86, 69, 62, 5796, 489, 62, 85, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 4049, 7203, 20035, 6769, 687, 5794, 720, 19204, 687, 62, 18982, 19570, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1500, 442, 62, 13982, 62, 303, 6359, 796, 20650, 58, 1831, 62, 381, 62, 354, 11, 8246, 62, 381, 62, 76, 6888, 11, 8246, 62, 381, 62, 2213, 328, 62, 9806, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8246, 62, 381, 62, 36729, 62, 1930, 11, 8246, 62, 381, 62, 36729, 62, 17015, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8246, 62, 2213, 328, 62, 354, 11, 8246, 62, 2213, 328, 62, 83, 2411, 11, 8246, 62, 2213, 328, 62, 79, 576, 929, 11, 8246, 62, 2213, 328, 62, 2502, 11125, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 24443, 0, 7, 354, 62, 13982, 62, 303, 6359, 11, 8246, 62, 381, 62, 4134, 8, 628, 220, 220, 220, 329, 410, 287, 442, 62, 13982, 62, 303, 6359, 2546, 71, 600, 0, 7, 85, 11, 1467, 8, 886, 628, 220, 220, 220, 256, 21048, 796, 2251, 62, 926, 631, 0, 7, 22915, 62, 83, 7753, 11, 366, 7890, 1600, 366, 6601, 4943, 198, 220, 220, 220, 256, 83, 22915, 796, 26653, 631, 26410, 7, 926, 631, 11, 34111, 8, 628, 220, 220, 220, 1500, 9173, 796, 1123, 354, 2954, 7, 15414, 62, 952, 11, 311, 1797, 2091, 1433, 13, 3118, 82, 9741, 37103, 8, 628, 220, 220, 220, 1957, 819, 83, 3919, 796, 657, 628, 220, 220, 220, 329, 5576, 9741, 287, 9173, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 23243, 796, 3297, 31534, 7, 13271, 9741, 11, 20121, 62, 17497, 796, 819, 83, 62, 647, 469, 62, 17497, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 819, 14981, 796, 20650, 90, 47, 958, 90, 5317, 2414, 11, 311, 1797, 2091, 1433, 13, 27369, 1925, 9237, 11709, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 4628, 395, 9430, 796, 20650, 90, 43879, 2414, 92, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1500, 2568, 8423, 796, 311, 1797, 2091, 1433, 13, 28925, 40161, 7, 15, 11, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 285, 3832, 724, 796, 311, 1797, 2091, 1433, 13, 5673, 54, 40161, 7, 15, 11, 657, 11, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 279, 12807, 724, 796, 311, 1797, 2091, 1433, 13, 3705, 32, 11395, 7, 15, 11, 657, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1500, 9701, 8423, 796, 311, 1797, 2091, 1433, 13, 15200, 83, 40053, 7, 9562, 11, 9562, 11, 9562, 11, 9562, 8, 628, 220, 220, 220, 220, 220, 220, 220, 329, 819, 83, 287, 23243, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 819, 83, 3919, 15853, 352, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47558, 0, 7, 1990, 14981, 11, 4129, 7, 1990, 83, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4866, 0, 7, 1990, 14981, 11, 819, 83, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3297, 0, 7, 1990, 14981, 11, 416, 796, 717, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 47558, 0, 7, 16514, 395, 9430, 11, 4129, 7, 1990, 14981, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3975, 0, 28264, 2435, 11, 4628, 395, 9430, 11, 819, 14981, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1500, 923, 2435, 796, 318, 28920, 7, 16514, 395, 9430, 8, 5633, 6632, 7, 43879, 2414, 8, 1058, 5288, 7, 16514, 395, 9430, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 62, 312, 87, 13, 87, 796, 819, 83, 3919, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 62, 2435, 13, 87, 796, 923, 2435, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 410, 287, 442, 62, 13982, 62, 303, 6359, 6565, 0, 7, 85, 8, 886, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6565, 0, 7, 1831, 62, 86, 69, 62, 354, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6565, 0, 7, 1831, 62, 86, 69, 62, 5796, 489, 62, 77, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6565, 0, 7, 1831, 62, 86, 69, 62, 5796, 489, 62, 85, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 357, 354, 11, 1125, 36540, 8, 287, 819, 14981, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 354, 11, 442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 76, 6888, 11, 651, 7, 2395, 36540, 13, 22554, 11, 2568, 8423, 737, 47033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 2213, 328, 62, 9806, 11, 651, 7, 2395, 36540, 13, 2213, 328, 62, 76, 707, 11, 285, 3832, 724, 737, 47033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 36729, 62, 1930, 11, 651, 7, 2395, 36540, 13, 36729, 62, 17015, 11, 279, 12807, 724, 737, 9630, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 36729, 62, 17015, 11, 651, 7, 2395, 36540, 13, 36729, 62, 17015, 11, 279, 12807, 724, 737, 8367, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 1123, 9630, 7, 1831, 62, 381, 62, 4134, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 381, 62, 4134, 58, 72, 4357, 651, 7, 2395, 36540, 13, 4134, 82, 5700, 11, 1312, 11, 657, 4008, 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, 4574, 0, 7, 1831, 62, 2213, 328, 62, 354, 11, 442, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 2213, 328, 62, 83, 2411, 11, 640, 7, 2395, 36540, 8, 532, 923, 2435, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 2213, 328, 62, 79, 576, 929, 11, 1125, 36540, 13, 79, 576, 929, 62, 32109, 1343, 362, 1635, 651, 7, 2395, 36540, 13, 33152, 11, 9701, 8423, 737, 79, 576, 929, 1343, 220, 604, 1635, 651, 7, 2395, 36540, 13, 33152, 11, 9701, 8423, 737, 7856, 576, 929, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1831, 62, 2213, 328, 62, 2502, 11125, 11, 352, 1635, 651, 7, 2395, 36540, 13, 33152, 11, 9701, 8423, 737, 2502, 11125, 1343, 220, 362, 1635, 651, 7, 2395, 36540, 13, 33152, 11, 9701, 8423, 737, 4625, 11125, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 271, 28920, 7, 2395, 36540, 13, 82, 12629, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 6769, 687, 62, 18982, 6624, 1058, 18908, 364, 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, 1831, 62, 86, 69, 62, 354, 11, 442, 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, 4574, 0, 7, 1831, 62, 86, 69, 62, 5796, 489, 62, 77, 11, 4129, 7, 2395, 36540, 13, 82, 12629, 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, 24443, 0, 7, 1831, 62, 86, 69, 62, 5796, 489, 62, 85, 11, 1125, 36540, 13, 82, 12629, 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, 220, 220, 220, 220, 4574, 0, 7, 926, 22915, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 628, 198, 13429, 2091, 1433, 62, 1462, 62, 15763, 7, 15414, 62, 69, 3672, 3712, 23839, 10100, 26, 819, 83, 62, 647, 469, 62, 17497, 3712, 23839, 43879, 796, 1802, 68, 12, 24, 11, 6769, 687, 62, 18982, 796, 1058, 23108, 8, 796, 2221, 198, 220, 220, 220, 1500, 277, 12413, 1050, 796, 374, 18109, 15885, 8, 17405, 19608, 38016, 3693, 61, 8183, 28988, 1701, 198, 220, 220, 220, 1500, 24714, 8692, 796, 2872, 7, 69, 12413, 1050, 11, 1615, 12453, 7, 15414, 62, 69, 3672, 4008, 58, 16, 60, 198, 220, 220, 220, 1500, 5072, 62, 69, 3672, 796, 17971, 7, 22184, 8692, 737, 15763, 1, 628, 220, 220, 220, 611, 5145, 271, 6978, 7, 22915, 62, 69, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 22065, 3672, 11, 45218, 952, 796, 33480, 29510, 62, 23144, 7, 79, 16993, 22784, 17971, 7, 22915, 62, 69, 3672, 737, 22065, 12, 24376, 8051, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1969, 7, 22065, 952, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1280, 7, 50, 1797, 2091, 1433, 13, 10707, 3361, 408, 9399, 11, 5128, 62, 69, 3672, 8, 466, 5128, 62, 952, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1280, 7, 51, 8979, 11, 5072, 62, 22065, 3672, 11, 366, 260, 17953, 4943, 466, 5072, 62, 83, 7753, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 271, 2091, 1433, 62, 1462, 62, 15763, 7, 15414, 62, 952, 11, 5072, 62, 83, 7753, 11, 819, 83, 62, 647, 469, 62, 17497, 796, 819, 83, 62, 647, 469, 62, 17497, 11, 6769, 687, 62, 18982, 796, 6769, 687, 62, 18982, 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, 285, 85, 7, 22915, 62, 22065, 3672, 11, 5072, 62, 69, 3672, 11, 4781, 62, 16520, 1883, 796, 3991, 8, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 7508, 7203, 26410, 2393, 19990, 3, 7, 22915, 62, 69, 3672, 8, 7879, 1541, 7160, 11, 31017, 19990, 3, 7, 15414, 62, 69, 3672, 8, 7879, 19570, 198, 220, 220, 220, 886, 198, 437, 628, 198, 198, 13429, 2091, 1433, 62, 1462, 62, 15763, 3419, 796, 2221, 198, 220, 220, 220, 1822, 33692, 796, 20559, 10044, 325, 26232, 3419, 628, 220, 220, 220, 2488, 2860, 62, 853, 62, 11487, 1822, 33692, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 647, 469, 12, 33479, 1600, 27444, 76, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 796, 366, 2435, 4324, 329, 35981, 2995, 357, 3919, 35981, 329, 4633, 3815, 16725, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 4906, 796, 48436, 2414, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 796, 1802, 68, 12, 24, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 19204, 687, 12, 18982, 1600, 27444, 86, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 796, 366, 19204, 687, 5794, 357, 7879, 23108, 7879, 393, 19990, 18908, 364, 59, 4943, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1822, 62, 4906, 796, 27741, 10100, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 796, 366, 18908, 364, 1, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15414, 82, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 796, 366, 15414, 3696, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 22046, 796, 705, 9, 6, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1500, 44267, 62, 22046, 796, 21136, 62, 22046, 7, 853, 33692, 8, 628, 220, 220, 220, 329, 5128, 62, 69, 3672, 287, 44267, 62, 22046, 14692, 15414, 82, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 7203, 3103, 48820, 19990, 3, 7, 15414, 62, 69, 3672, 8, 7879, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 2435, 264, 271, 2091, 1433, 62, 1462, 62, 15763, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5128, 62, 69, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 819, 83, 62, 647, 469, 62, 17497, 796, 44267, 62, 22046, 14692, 647, 469, 12, 33479, 33116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6769, 687, 62, 18982, 796, 38357, 7, 79, 945, 276, 62, 22046, 14692, 19204, 687, 12, 18982, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 4929, 11454, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 62, 4480, 62, 8043, 7, 25, 445, 11, 3563, 49643, 11, 366, 24908, 25, 720, 8056, 59, 77, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 198 ]
2.006897
3,190
using LightGraphs using MatrixDepot function symmetrize(A) println("Symmetrizing ") tic() if !issymmetric(A) println(STDERR, "the matrix is not symmetric using A+A'") A = A + A' end if isa(A, Base.LinAlg.Symmetric) A.data.nzval = abs(A.data.nzval) else A.nzval = abs(A.nzval) end #= spA = abs(sparse(A)) =# toc() return A end function loadmat(matname) println("Reading MTX for $matname") tic() try info = matrixdepot(matname, :get) end A = matrixdepot(matname, :read) A = symmetrize(A) g = Graph(A) toc() println(STDERR, "size(A) = $(size(A))") return g end function vec2tree(v::Vector{Int}) nv = length(v) I = Vector{Int}() J = Vector{Int}() for i in 1:nv if v[i] > 0 push!(I, i) push!(J, v[i]) end end #= @assert length(I) == length(J) =# ncolumns = max(maximum(J), maximum(I)) nentries = length(J) n = ncolumns return sparse(I,J, fill(1, nentries), n,n) end names = ["Newman/football" , "Newman/cond-mat-2003", "SNAP/amazon0302", "SNAP/roadNet-CA"] for matname in names g = loadmat(matname) seed = 1 println("bfs_tree original") # woah bfs_tree allocates a lot of memory @time tdg = LightGraphs.bfs_tree(g, seed) println(tdg) # preallocating the output tree reduces the number of allocations. # much faster println("bfs_tree!(vector)") visitor = LightGraphs.TreeBFSVisitorVector(zeros(Int, nv(g))) @time tvec = LightGraphs.bfs_tree!(visitor, g, seed) println("converting to Sparse") @time m = vec2tree(visitor.tree) println("converting to DiGraph") @time h = DiGraph(m) end
[ 3500, 4401, 37065, 82, 198, 3500, 24936, 12156, 313, 198, 8818, 23606, 316, 380, 2736, 7, 32, 8, 198, 220, 220, 220, 44872, 7203, 13940, 3020, 316, 380, 9510, 366, 8, 198, 220, 220, 220, 256, 291, 3419, 198, 220, 220, 220, 611, 5145, 747, 26621, 19482, 7, 32, 8, 220, 198, 220, 220, 220, 220, 220, 220, 220, 44872, 7, 2257, 49643, 11, 366, 1169, 17593, 318, 407, 23606, 19482, 1262, 317, 10, 32, 6, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 317, 796, 317, 1343, 317, 6, 198, 220, 220, 220, 886, 198, 220, 220, 220, 611, 318, 64, 7, 32, 11, 7308, 13, 14993, 2348, 70, 13, 13940, 3020, 19482, 8, 198, 220, 220, 220, 220, 220, 220, 220, 317, 13, 7890, 13, 27305, 2100, 796, 2352, 7, 32, 13, 7890, 13, 27305, 2100, 8, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 317, 13, 27305, 2100, 796, 2352, 7, 32, 13, 27305, 2100, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 28, 599, 32, 796, 2352, 7, 82, 29572, 7, 32, 4008, 796, 2, 198, 220, 220, 220, 284, 66, 3419, 198, 220, 220, 220, 1441, 317, 198, 437, 198, 198, 8818, 3440, 6759, 7, 6759, 3672, 8, 198, 220, 220, 220, 44872, 7203, 36120, 19308, 55, 329, 720, 6759, 3672, 4943, 198, 220, 220, 220, 256, 291, 3419, 198, 220, 220, 220, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 7508, 796, 17593, 10378, 313, 7, 6759, 3672, 11, 1058, 1136, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 317, 796, 17593, 10378, 313, 7, 6759, 3672, 11, 1058, 961, 8, 198, 220, 220, 220, 317, 796, 23606, 316, 380, 2736, 7, 32, 8, 198, 220, 220, 220, 308, 796, 29681, 7, 32, 8, 198, 220, 220, 220, 284, 66, 3419, 198, 220, 220, 220, 44872, 7, 2257, 49643, 11, 366, 7857, 7, 32, 8, 796, 29568, 7857, 7, 32, 4008, 4943, 198, 220, 220, 220, 1441, 308, 198, 437, 198, 198, 8818, 43030, 17, 21048, 7, 85, 3712, 38469, 90, 5317, 30072, 198, 220, 220, 220, 299, 85, 796, 4129, 7, 85, 8, 198, 220, 220, 220, 314, 796, 20650, 90, 5317, 92, 3419, 198, 220, 220, 220, 449, 796, 20650, 90, 5317, 92, 3419, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 48005, 198, 220, 220, 220, 220, 220, 220, 220, 611, 410, 58, 72, 60, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 40, 11, 1312, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 41, 11, 410, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 28, 2488, 30493, 4129, 7, 40, 8, 6624, 4129, 7, 41, 8, 796, 2, 198, 220, 220, 220, 299, 28665, 82, 796, 3509, 7, 47033, 7, 41, 828, 5415, 7, 40, 4008, 198, 220, 220, 220, 299, 298, 1678, 796, 4129, 7, 41, 8, 198, 220, 220, 220, 299, 796, 299, 28665, 82, 198, 220, 220, 220, 1441, 29877, 7, 40, 11, 41, 11, 6070, 7, 16, 11, 299, 298, 1678, 828, 299, 11, 77, 8, 198, 437, 628, 198, 14933, 796, 14631, 3791, 805, 14, 15914, 1, 837, 366, 3791, 805, 14, 17561, 12, 6759, 12, 16088, 1600, 366, 15571, 2969, 14, 33103, 15, 22709, 1600, 366, 15571, 2969, 14, 6344, 7934, 12, 8141, 8973, 198, 1640, 2603, 3672, 287, 3891, 198, 220, 220, 220, 308, 796, 3440, 6759, 7, 6759, 3672, 8, 198, 220, 220, 220, 9403, 796, 352, 198, 220, 220, 220, 44872, 7203, 65, 9501, 62, 21048, 2656, 4943, 198, 220, 220, 220, 1303, 24486, 993, 275, 9501, 62, 21048, 36836, 689, 257, 1256, 286, 4088, 198, 220, 220, 220, 2488, 2435, 41560, 70, 796, 4401, 37065, 82, 13, 65, 9501, 62, 21048, 7, 70, 11, 9403, 8, 198, 220, 220, 220, 44872, 7, 8671, 70, 8, 198, 220, 220, 220, 1303, 662, 439, 27123, 262, 5072, 5509, 12850, 262, 1271, 286, 49157, 13, 198, 220, 220, 220, 1303, 881, 5443, 198, 220, 220, 220, 44872, 7203, 65, 9501, 62, 21048, 0, 7, 31364, 8, 4943, 198, 220, 220, 220, 21493, 796, 4401, 37065, 82, 13, 27660, 33, 10652, 15854, 2072, 38469, 7, 9107, 418, 7, 5317, 11, 299, 85, 7, 70, 22305, 198, 220, 220, 220, 2488, 2435, 256, 35138, 796, 4401, 37065, 82, 13, 65, 9501, 62, 21048, 0, 7, 4703, 2072, 11, 308, 11, 9403, 8, 198, 220, 220, 220, 44872, 7203, 1102, 48820, 284, 1338, 17208, 4943, 198, 220, 220, 220, 2488, 2435, 285, 796, 43030, 17, 21048, 7, 4703, 2072, 13, 21048, 8, 198, 220, 220, 220, 44872, 7203, 1102, 48820, 284, 6031, 37065, 4943, 198, 220, 220, 220, 2488, 2435, 289, 796, 6031, 37065, 7, 76, 8, 198, 437, 198 ]
2.129584
818
apply(ψ::Vector{<:Complex}, m::AbstractMatrix) = m*ψ """Tailored apply for XGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,XGate}, N::Int) i = cg.iwire[1] χ = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = χ[:, [2, 1], :] return reshape(χ, :) end """Tailored apply for YGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,YGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= -im.*ψs[:, 2, :] χ[:, 2, :] .= im.*ψs[:, 1, :] return reshape(χ, :) end """Tailored apply for ZGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,ZGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= .-ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for HadamardGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,HadamardGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= (ψs[:, 1, :] .+ ψs[:, 2, :]) ./ sqrt(2) χ[:, 2, :] .= (ψs[:, 1, :] .- ψs[:, 2, :]) ./ sqrt(2) return reshape(χ, :) end """Tailored apply for SGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,SGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= im .* ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for SdagGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,SdagGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= -im .* ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for TGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,TGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= Base.exp(im*π/4) .* ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for TdagGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,TdagGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= Base.exp(-im*π/4) .* ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for RzGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,RzGate}, N::Int) i = cg.iwire[1] θ = cg.gate.θ[] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= Base.exp(-im*θ/2).*ψs[:, 1, :] χ[:, 2, :] .= Base.exp( im*θ/2).*ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for PhaseShiftGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,PhaseShiftGate}, N::Int) i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) χ[:, 1, :] .= ψs[:, 1, :] χ[:, 2, :] .= Base.exp(im*cg.gate.ϕ[]) .* ψs[:, 2, :] return reshape(χ, :) end """Tailored apply for a general single qubit gate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{1,T}, N::Int) where {T<:AbstractGate} i = cg.iwire[1] ψs = reshape(ψ, 2^(i-1), 2, 2^(N-i)) χ = similar(ψs) U = matrix(cg.gate) χ[:, 1, :] .= U[1, 1] .* ψs[:, 1, :] .+ U[1, 2] .* ψs[:, 2, :] χ[:, 2, :] .= U[2, 1] .* ψs[:, 1, :] .+ U[2, 2] .* ψs[:, 2, :] return reshape(χ, :) end # """Tailored apply for SwapGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{2,SwapGate}, N::Int) i, j = cg.iwire i, j = i < j ? (i, j) : (j, i) # sort them ψs = reshape(ψ, 2^(i-1), 2, 2^(j-i-1), 2, 2^(N-j)) χ = similar(ψs) χ[:, 1, :, 1, :] .= ψs[:, 1, :, 1, :] χ[:, 2, :, 2, :] .= ψs[:, 2, :, 2, :] χ[:, 1, :, 2, :] .= ψs[:, 2, :, 1, :] χ[:, 2, :, 1, :] .= ψs[:, 1, :, 2, :] return reshape(χ, :) end """Tailored apply for a general ControlledGate""" function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{M,ControlledGate{G}}, N::Int) where {M,G} χ = copy(ψ) # TODO: copy only what's needed χ = reshape(χ, fill(2, N)...) T = target_wires(cg.gate) itarget = cg.iwire[1:T] icontrol = cg.iwire[T+1:M] new_iwire = Tuple(i - sum(icontrol .< i) for i in itarget) slice_target = Tuple(i in icontrol ? 2 : Colon() for i in 1:N) new_cg = CircuitGate(new_iwire, cg.gate.U) χ[slice_target...] = reshape(apply(reshape(χ[slice_target...], :), new_cg), fill(2, N-M+T)...) return reshape(χ, :) end """ apply(ψ::Vector{<:Complex}, cg::CircuitGate{M,G}) where {M,G} Apply a [`CircuitGate`](@ref) to a quantum state vector `ψ`. # Examples ```jldoctest julia> cg = circuit_gate(1, HadamardGate()); julia> ψ = [1 0]; julia> apply(ψ, cg) 2-element Array{Complex{Float64},1}: 0.7071067811865475 + 0.0im 0.7071067811865475 + 0.0im ``` """ function apply(ψ::Vector{<:Complex}, cg::CircuitGate{M,G}) where {M,G} l = length(ψ)::Int N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") req_wires(cg) <= N || error("CircuitGate requires a minimum of $(req_wires(cg)) qubits, input vector `ψ` has $N qubits") _apply(ψ, cg, N) end function _apply(ψ::Vector{<:Complex}, cg::CircuitGate{M,G}, N::Int) where {M,G} U = matrix(cg.gate) ψs = reshape(ψ, fill(2, N)...) χ = similar(ψs) it = binary_digits(M, 0) m = binary_digits(M, 0) for i in 1:2^M binary_digits!(it, i - 1) # cannot use .= here since broadcasting fails for scalar numbers χ[sliced_index(it, cg.iwire, N)...] = sum(U[i, j] .* ψs[sliced_index(binary_digits!(m, j - 1), cg.iwire, N)...] for j in 1:2^M) end return reshape(χ, :) end """ apply(ψ::Vector{<:Complex}, cgs::Vector{<:CircuitGate}) Apply a sequence of [`CircuitGate`](@ref)(s) to a quantum state vector `ψ`. # Examples ```jldoctest julia> cgs = [circuit_gate(1, HadamardGate()), circuit_gate(1, X), circuit_gate(1, Y)]; julia> ψ = [1 0]; julia> apply(ψ, cgs) 2-element Array{Complex{Float64},1}: 0.0 - 0.7071067811865475im 0.0 + 0.7071067811865475im ``` """ function apply(ψ::Vector{<:Complex}, cgs::Vector{<:CircuitGate}) length(cgs) != 0 || error("Vector of length 0 cannot be applied") l = length(ψ) N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") req = maximum(req_wires.(cgs)) req <= N || error("CircuitGates require a minimum of $req qubits, input vector `ψ` has $N qubits") for cg in cgs ψ = _apply(ψ, cg, N) end return ψ end """ apply(ψ::Vector{<:Complex}, m::Moment) returns state vector of `N` qubits after applying a `Moment{N}` object to a quantum state vector of `N` qubits `ψ` """ function apply(ψ::Vector{<:Complex}, m::Moment) Nmoment = req_wires(m) l = length(ψ) N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") Nmoment <= N || error("Moment affecting $Nmoment qubits applied to $N qubits") _apply(ψ, m, N) end function _apply(ψ::Vector{<:Complex}, m::Moment, N::Int) for gate in m ψ = _apply(ψ, gate, N) end return ψ end function apply(ψ::Vector{<:Complex}, m::Vector{Moment}) length(m) != 0 || error("Vector of length 0 cannot be applied") Nmoment = maximum(req_wires.(m)) l = length(ψ) N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") Nmoment <= N || error("Moment affecting $Nmoment qubits applied to $N qubits") for moment in m ψ = _apply(ψ, moment, N) end return ψ end """ apply(ψ::Vector{<:Complex}, m::MeasurementOperator{M,G}) where {M,G<:AbstractGate} returns state vector of `N` qubits after applying a `Moment{N}` object to a quantum state vector of `N` qubits `ψ` """ function apply(ψ::Vector{<:Complex}, m::MeasurementOperator{M,G}) where {M,G<:AbstractGate} Nmoment = num_wires(m) l = length(ψ)::Int N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") Nmoment <= N || error("MeasurementOperator affecting $Nmoment qubits applied to $N qubits") c = circuit_gate((m.iwire...), m.operator) _apply(ψ, c, N) end function apply(ψ::Vector{<:Complex}, m::MeasurementOperator{M,G}) where {M,G<:AbstractMatrix} Nmoment = num_wires(m) l = length(ψ)::Int N = Qaintessent.intlog2(l) l == 2^N || error("Vector length must be a power of 2") Nmoment <= N || error("MeasurementOperator affecting $Nmoment qubits applied to $N qubits") apply(ψ, m.operator) end """ apply(ψ::Vector{<:Complex}, c::Circuit{N}) where {N} returns list of expectation values from measurement operators in `c.meas` after applying circuit gates in `c.cgc` on state vector of `N` qubits `ψ` """ function apply(ψ::Vector{<:Complex}, c::Circuit{N}) where {N} length(ψ)::Int == 2^N || error("Size of vector `ψ` must match Circuit size of $(2^N)") length(c) != 0 || error("Circuit does not contain any gates") length(c.meas) != 0 || error("Circuit does not contain any measurement operators") ψl = copy(ψ) for moment in c.moments ψl = _apply(ψl, moment, N) end ψr = apply.((ψl,), c.meas) return real.(dot.((ψl,), ψr)) end (c::Circuit)(ψ) = apply(ψ, c)
[ 198, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 23839, 46912, 8, 796, 285, 9, 139, 230, 628, 198, 37811, 51, 603, 1850, 4174, 329, 1395, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 55, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 229, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 18074, 229, 58, 45299, 685, 17, 11, 352, 4357, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 575, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 56, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 532, 320, 15885, 139, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 220, 545, 15885, 139, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 1168, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 57, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 220, 220, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 764, 12, 139, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 11161, 321, 446, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 25383, 321, 446, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 357, 139, 230, 82, 58, 45299, 352, 11, 1058, 60, 764, 10, 18074, 230, 82, 58, 45299, 362, 11, 1058, 12962, 24457, 19862, 17034, 7, 17, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 357, 139, 230, 82, 58, 45299, 352, 11, 1058, 60, 764, 12, 18074, 230, 82, 58, 45299, 362, 11, 1058, 12962, 24457, 19862, 17034, 7, 17, 8, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 311, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 50, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 545, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 311, 67, 363, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 50, 67, 363, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 532, 320, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 309, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 51, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 7308, 13, 11201, 7, 320, 9, 46582, 14, 19, 8, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 309, 67, 363, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 51, 67, 363, 22628, 5512, 399, 3712, 5317, 8, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 7308, 13, 11201, 32590, 320, 9, 46582, 14, 19, 8, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 371, 89, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 49, 89, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 7377, 116, 796, 269, 70, 13, 10494, 13, 138, 116, 21737, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 7308, 13, 11201, 32590, 320, 9, 138, 116, 14, 17, 737, 9, 139, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 7308, 13, 11201, 7, 545, 9, 138, 116, 14, 17, 737, 9, 139, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 18983, 33377, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 35645, 33377, 22628, 5512, 399, 3712, 5317, 8, 220, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 7308, 13, 11201, 7, 320, 9, 66, 70, 13, 10494, 13, 139, 243, 58, 12962, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 257, 2276, 2060, 627, 2545, 8946, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 16, 11, 51, 5512, 399, 3712, 5317, 8, 810, 1391, 51, 27, 25, 23839, 22628, 92, 198, 220, 220, 220, 1312, 796, 269, 70, 13, 14246, 557, 58, 16, 60, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 72, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 471, 796, 17593, 7, 66, 70, 13, 10494, 8, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 60, 764, 28, 471, 58, 16, 11, 352, 60, 764, 9, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 764, 10, 471, 58, 16, 11, 362, 60, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 60, 764, 28, 471, 58, 17, 11, 352, 60, 764, 9, 18074, 230, 82, 58, 45299, 352, 11, 1058, 60, 764, 10, 471, 58, 17, 11, 362, 60, 764, 9, 18074, 230, 82, 58, 45299, 362, 11, 1058, 60, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 198, 2, 198, 198, 37811, 51, 603, 1850, 4174, 329, 48408, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 17, 11, 10462, 499, 22628, 5512, 399, 3712, 5317, 8, 198, 220, 220, 220, 1312, 11, 474, 796, 269, 70, 13, 14246, 557, 198, 220, 220, 220, 1312, 11, 474, 796, 1312, 1279, 474, 5633, 357, 72, 11, 474, 8, 1058, 357, 73, 11, 1312, 8, 1303, 3297, 606, 628, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 362, 61, 7, 72, 12, 16, 828, 362, 11, 362, 61, 7, 73, 12, 72, 12, 16, 828, 362, 11, 362, 61, 7, 45, 12, 73, 4008, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 628, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 11, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 11, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 11, 362, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 362, 11, 1058, 11, 362, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 352, 11, 1058, 11, 362, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 362, 11, 1058, 11, 352, 11, 1058, 60, 198, 220, 220, 220, 18074, 229, 58, 45299, 362, 11, 1058, 11, 352, 11, 1058, 60, 764, 28, 18074, 230, 82, 58, 45299, 352, 11, 1058, 11, 362, 11, 1058, 60, 628, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 51, 603, 1850, 4174, 329, 257, 2276, 43253, 22628, 37811, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 44, 11, 4264, 8375, 22628, 90, 38, 92, 5512, 399, 3712, 5317, 8, 810, 1391, 44, 11, 38, 92, 198, 220, 220, 220, 18074, 229, 796, 4866, 7, 139, 230, 8, 1303, 16926, 46, 25, 4866, 691, 644, 338, 2622, 198, 220, 220, 220, 18074, 229, 796, 27179, 1758, 7, 139, 229, 11, 6070, 7, 17, 11, 399, 8, 23029, 198, 220, 220, 220, 309, 796, 2496, 62, 86, 2387, 7, 66, 70, 13, 10494, 8, 198, 220, 220, 220, 340, 7641, 220, 796, 269, 70, 13, 14246, 557, 58, 16, 25, 51, 60, 198, 220, 220, 220, 14158, 756, 3225, 796, 269, 70, 13, 14246, 557, 58, 51, 10, 16, 25, 44, 60, 628, 220, 220, 220, 649, 62, 14246, 557, 796, 309, 29291, 7, 72, 532, 2160, 7, 291, 756, 3225, 764, 27, 1312, 8, 329, 1312, 287, 340, 7641, 8, 628, 220, 220, 220, 16416, 62, 16793, 796, 309, 29291, 7, 72, 287, 14158, 756, 3225, 5633, 362, 1058, 14049, 3419, 329, 1312, 287, 352, 25, 45, 8, 198, 220, 220, 220, 649, 62, 66, 70, 796, 13588, 22628, 7, 3605, 62, 14246, 557, 11, 269, 70, 13, 10494, 13, 52, 8, 628, 220, 220, 220, 18074, 229, 58, 48369, 62, 16793, 22345, 796, 27179, 1758, 7, 39014, 7, 3447, 1758, 7, 139, 229, 58, 48369, 62, 16793, 986, 4357, 1058, 828, 649, 62, 66, 70, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6070, 7, 17, 11, 399, 12, 44, 10, 51, 8, 23029, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 44, 11, 38, 30072, 810, 1391, 44, 11, 38, 92, 198, 198, 44836, 257, 685, 63, 31560, 5013, 22628, 63, 16151, 31, 5420, 8, 284, 257, 14821, 1181, 15879, 4600, 139, 230, 44646, 198, 2, 21066, 198, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 269, 70, 796, 10349, 62, 10494, 7, 16, 11, 11161, 321, 446, 22628, 35430, 198, 73, 43640, 29, 18074, 230, 796, 685, 16, 657, 11208, 198, 73, 43640, 29, 4174, 7, 139, 230, 11, 269, 70, 8, 198, 17, 12, 30854, 15690, 90, 5377, 11141, 90, 43879, 2414, 5512, 16, 38362, 198, 657, 13, 42877, 30924, 16817, 2996, 32576, 1343, 657, 13, 15, 320, 198, 657, 13, 42877, 30924, 16817, 2996, 32576, 1343, 657, 13, 15, 320, 198, 15506, 63, 198, 37811, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 44, 11, 38, 30072, 810, 1391, 44, 11, 38, 92, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 2599, 25, 5317, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 43089, 62, 86, 2387, 7, 66, 70, 8, 19841, 399, 8614, 4049, 7203, 31560, 5013, 22628, 4433, 257, 5288, 286, 29568, 42180, 62, 86, 2387, 7, 66, 70, 4008, 627, 9895, 11, 5128, 15879, 4600, 139, 230, 63, 468, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 4808, 39014, 7, 139, 230, 11, 269, 70, 11, 399, 8, 198, 437, 198, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 70, 3712, 31560, 5013, 22628, 90, 44, 11, 38, 5512, 399, 3712, 5317, 8, 810, 1391, 44, 11, 38, 92, 198, 220, 220, 220, 471, 796, 17593, 7, 66, 70, 13, 10494, 8, 198, 220, 220, 220, 18074, 230, 82, 796, 27179, 1758, 7, 139, 230, 11, 6070, 7, 17, 11, 399, 8, 23029, 198, 220, 220, 220, 18074, 229, 796, 2092, 7, 139, 230, 82, 8, 198, 220, 220, 220, 340, 796, 13934, 62, 12894, 896, 7, 44, 11, 657, 8, 198, 220, 220, 220, 285, 796, 13934, 62, 12894, 896, 7, 44, 11, 657, 8, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 17, 61, 44, 198, 220, 220, 220, 220, 220, 220, 220, 13934, 62, 12894, 896, 0, 7, 270, 11, 1312, 532, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2314, 779, 764, 28, 994, 1201, 22978, 10143, 329, 16578, 283, 3146, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 229, 58, 82, 677, 276, 62, 9630, 7, 270, 11, 269, 70, 13, 14246, 557, 11, 399, 8, 22345, 796, 2160, 7, 52, 58, 72, 11, 474, 60, 764, 9, 18074, 230, 82, 58, 82, 677, 276, 62, 9630, 7, 39491, 62, 12894, 896, 0, 7, 76, 11, 474, 532, 352, 828, 269, 70, 13, 14246, 557, 11, 399, 8, 22345, 329, 474, 287, 352, 25, 17, 61, 44, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 27179, 1758, 7, 139, 229, 11, 14373, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 14542, 3712, 38469, 90, 27, 25, 31560, 5013, 22628, 30072, 198, 198, 44836, 257, 8379, 286, 685, 63, 31560, 5013, 22628, 63, 16151, 31, 5420, 5769, 82, 8, 284, 257, 14821, 1181, 15879, 4600, 139, 230, 44646, 198, 198, 2, 21066, 198, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 269, 14542, 796, 685, 21170, 5013, 62, 10494, 7, 16, 11, 11161, 321, 446, 22628, 3419, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10349, 62, 10494, 7, 16, 11, 1395, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10349, 62, 10494, 7, 16, 11, 575, 8, 11208, 198, 73, 43640, 29, 18074, 230, 796, 685, 16, 657, 11208, 198, 73, 43640, 29, 4174, 7, 139, 230, 11, 269, 14542, 8, 198, 17, 12, 30854, 15690, 90, 5377, 11141, 90, 43879, 2414, 5512, 16, 38362, 198, 657, 13, 15, 532, 657, 13, 42877, 30924, 16817, 2996, 32576, 320, 198, 657, 13, 15, 1343, 657, 13, 42877, 30924, 16817, 2996, 32576, 320, 198, 15506, 63, 198, 37811, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 14542, 3712, 38469, 90, 27, 25, 31560, 5013, 22628, 30072, 198, 220, 220, 220, 4129, 7, 66, 14542, 8, 14512, 657, 8614, 4049, 7203, 38469, 286, 4129, 657, 2314, 307, 5625, 4943, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 8, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 43089, 796, 5415, 7, 42180, 62, 86, 2387, 12195, 66, 14542, 4008, 198, 220, 220, 220, 43089, 19841, 399, 8614, 4049, 7203, 31560, 5013, 38, 689, 2421, 257, 5288, 286, 720, 42180, 627, 9895, 11, 5128, 15879, 4600, 139, 230, 63, 468, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 329, 269, 70, 287, 269, 14542, 220, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 230, 796, 4808, 39014, 7, 139, 230, 11, 269, 70, 11, 399, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 18074, 230, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 29252, 298, 8, 198, 198, 7783, 82, 1181, 15879, 286, 4600, 45, 63, 627, 9895, 706, 11524, 257, 4600, 29252, 298, 90, 45, 92, 63, 2134, 284, 257, 14821, 1181, 15879, 286, 4600, 45, 63, 627, 9895, 4600, 139, 230, 63, 198, 37811, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 29252, 298, 8, 220, 198, 220, 220, 220, 399, 32542, 298, 796, 43089, 62, 86, 2387, 7, 76, 8, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 8, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 399, 32542, 298, 19841, 399, 8614, 4049, 7203, 29252, 298, 13891, 720, 45, 32542, 298, 627, 9895, 5625, 284, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 4808, 39014, 7, 139, 230, 11, 285, 11, 399, 8, 220, 220, 220, 198, 437, 198, 198, 8818, 4808, 39014, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 29252, 298, 11, 399, 3712, 5317, 8, 198, 220, 220, 220, 329, 8946, 287, 285, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 230, 796, 4808, 39014, 7, 139, 230, 11, 8946, 11, 399, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 18074, 230, 198, 437, 628, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 38469, 90, 29252, 298, 30072, 198, 220, 220, 220, 4129, 7, 76, 8, 14512, 657, 8614, 4049, 7203, 38469, 286, 4129, 657, 2314, 307, 5625, 4943, 198, 220, 220, 220, 399, 32542, 298, 796, 5415, 7, 42180, 62, 86, 2387, 12195, 76, 4008, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 8, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 399, 32542, 298, 19841, 399, 8614, 4049, 7203, 29252, 298, 13891, 720, 45, 32542, 298, 627, 9895, 5625, 284, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 329, 2589, 287, 285, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 230, 796, 4808, 39014, 7, 139, 230, 11, 2589, 11, 399, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 18074, 230, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 47384, 434, 18843, 1352, 90, 44, 11, 38, 30072, 810, 1391, 44, 11, 38, 27, 25, 23839, 22628, 92, 198, 198, 7783, 82, 1181, 15879, 286, 4600, 45, 63, 627, 9895, 706, 11524, 257, 4600, 29252, 298, 90, 45, 92, 63, 2134, 284, 257, 14821, 1181, 15879, 286, 4600, 45, 63, 627, 9895, 4600, 139, 230, 63, 198, 37811, 198, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 47384, 434, 18843, 1352, 90, 44, 11, 38, 30072, 810, 1391, 44, 11, 38, 27, 25, 23839, 22628, 92, 198, 220, 220, 220, 399, 32542, 298, 796, 997, 62, 86, 2387, 7, 76, 8, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 2599, 25, 5317, 220, 220, 220, 220, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 399, 32542, 298, 19841, 399, 8614, 4049, 7203, 47384, 434, 18843, 1352, 13891, 720, 45, 32542, 298, 627, 9895, 5625, 284, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 269, 796, 10349, 62, 10494, 19510, 76, 13, 14246, 557, 986, 828, 285, 13, 46616, 8, 198, 220, 220, 220, 4808, 39014, 7, 139, 230, 11, 269, 11, 399, 8, 220, 220, 220, 198, 437, 198, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 285, 3712, 47384, 434, 18843, 1352, 90, 44, 11, 38, 30072, 810, 1391, 44, 11, 38, 27, 25, 23839, 46912, 92, 198, 220, 220, 220, 399, 32542, 298, 796, 997, 62, 86, 2387, 7, 76, 8, 198, 220, 220, 220, 300, 796, 4129, 7, 139, 230, 2599, 25, 5317, 220, 220, 220, 220, 198, 220, 220, 220, 399, 796, 1195, 2913, 408, 298, 13, 600, 6404, 17, 7, 75, 8, 198, 220, 220, 220, 300, 6624, 362, 61, 45, 8614, 4049, 7203, 38469, 4129, 1276, 307, 257, 1176, 286, 362, 4943, 198, 220, 220, 220, 399, 32542, 298, 19841, 399, 8614, 4049, 7203, 47384, 434, 18843, 1352, 13891, 720, 45, 32542, 298, 627, 9895, 5625, 284, 720, 45, 627, 9895, 4943, 198, 220, 220, 220, 4174, 7, 139, 230, 11, 285, 13, 46616, 8, 220, 220, 220, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 3712, 31560, 5013, 90, 45, 30072, 810, 1391, 45, 92, 198, 198, 7783, 82, 1351, 286, 17507, 3815, 422, 15558, 12879, 287, 4600, 66, 13, 1326, 292, 63, 706, 11524, 10349, 17435, 287, 4600, 66, 13, 66, 36484, 63, 319, 1181, 15879, 286, 4600, 45, 63, 627, 9895, 4600, 139, 230, 63, 198, 37811, 198, 8818, 4174, 7, 139, 230, 3712, 38469, 90, 27, 25, 5377, 11141, 5512, 269, 3712, 31560, 5013, 90, 45, 30072, 810, 1391, 45, 92, 198, 220, 220, 220, 4129, 7, 139, 230, 2599, 25, 5317, 6624, 362, 61, 45, 8614, 4049, 7203, 10699, 286, 15879, 4600, 139, 230, 63, 1276, 2872, 13588, 2546, 286, 29568, 17, 61, 45, 8, 4943, 198, 220, 220, 220, 4129, 7, 66, 8, 14512, 657, 8614, 4049, 7203, 31560, 5013, 857, 407, 3994, 597, 17435, 4943, 198, 220, 220, 220, 4129, 7, 66, 13, 1326, 292, 8, 14512, 657, 8614, 4049, 7203, 31560, 5013, 857, 407, 3994, 597, 15558, 12879, 4943, 198, 220, 220, 220, 18074, 230, 75, 796, 4866, 7, 139, 230, 8, 198, 220, 220, 220, 329, 2589, 287, 269, 13, 32542, 658, 198, 220, 220, 220, 220, 220, 220, 220, 18074, 230, 75, 796, 4808, 39014, 7, 139, 230, 75, 11, 2589, 11, 399, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 18074, 230, 81, 796, 4174, 12195, 7, 139, 230, 75, 11, 828, 269, 13, 1326, 292, 8, 220, 198, 220, 220, 220, 1441, 1103, 12195, 26518, 12195, 7, 139, 230, 75, 11, 828, 18074, 230, 81, 4008, 198, 437, 628, 198, 7, 66, 3712, 31560, 5013, 5769, 139, 230, 8, 796, 4174, 7, 139, 230, 11, 269, 8, 198 ]
1.99701
4,682
module BSplineKit export Derivative using Reexport include("BandedTensors/BandedTensors.jl") @reexport using .BandedTensors include("DifferentialOps/DifferentialOps.jl") using .DifferentialOps include("BoundaryConditions/BoundaryConditions.jl") @reexport using .BoundaryConditions include("BSplines/BSplines.jl") @reexport using .BSplines include("Splines/Splines.jl") @reexport using .Splines include("Recombinations/Recombinations.jl") @reexport using .Recombinations include("Collocation/Collocation.jl") @reexport using .Collocation include("Galerkin/Galerkin.jl") @reexport using .Galerkin include("SplineInterpolations/SplineInterpolations.jl") @reexport using .SplineInterpolations include("SplineApproximations/SplineApproximations.jl") @reexport using .SplineApproximations end
[ 21412, 24218, 489, 500, 20827, 198, 198, 39344, 9626, 452, 876, 198, 198, 3500, 797, 39344, 198, 198, 17256, 7203, 33, 12249, 51, 641, 669, 14, 33, 12249, 51, 641, 669, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 33, 12249, 51, 641, 669, 198, 198, 17256, 7203, 40341, 498, 41472, 14, 40341, 498, 41472, 13, 20362, 4943, 198, 3500, 764, 40341, 498, 41472, 198, 198, 17256, 7203, 49646, 560, 25559, 1756, 14, 49646, 560, 25559, 1756, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 49646, 560, 25559, 1756, 198, 198, 17256, 7203, 4462, 489, 1127, 14, 4462, 489, 1127, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 4462, 489, 1127, 198, 198, 17256, 7203, 26568, 1127, 14, 26568, 1127, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 26568, 1127, 198, 198, 17256, 7203, 6690, 2381, 7352, 14, 6690, 2381, 7352, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 6690, 2381, 7352, 198, 198, 17256, 7203, 22667, 5040, 14, 22667, 5040, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 22667, 5040, 198, 198, 17256, 7203, 26552, 263, 5116, 14, 26552, 263, 5116, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 26552, 263, 5116, 198, 198, 17256, 7203, 26568, 500, 9492, 16104, 602, 14, 26568, 500, 9492, 16104, 602, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 26568, 500, 9492, 16104, 602, 198, 198, 17256, 7203, 26568, 500, 4677, 13907, 320, 602, 14, 26568, 500, 4677, 13907, 320, 602, 13, 20362, 4943, 198, 31, 631, 87, 634, 1262, 764, 26568, 500, 4677, 13907, 320, 602, 198, 198, 437, 198 ]
2.919708
274
n = rand(1:10) @test matrixdepot("parter", n) == matrixdepot("parter", Float64, n) A = matrixdepot("cauchy", [1.:n;] + 0.5, -[1.:n;]) @test_approx_eq matrixdepot("parter", n) A println("'parter' passed test...")
[ 77, 796, 43720, 7, 16, 25, 940, 8, 198, 31, 9288, 17593, 10378, 313, 7203, 1845, 353, 1600, 299, 8, 6624, 17593, 10378, 313, 7203, 1845, 353, 1600, 48436, 2414, 11, 299, 8, 198, 198, 32, 796, 17593, 10378, 313, 7203, 66, 559, 29658, 1600, 685, 16, 11207, 77, 26, 60, 1343, 657, 13, 20, 11, 532, 58, 16, 11207, 77, 26, 12962, 198, 198, 31, 9288, 62, 1324, 13907, 62, 27363, 17593, 10378, 313, 7203, 1845, 353, 1600, 299, 8, 317, 198, 35235, 7203, 6, 1845, 353, 6, 3804, 1332, 9313, 8, 198 ]
2.276596
94
module scordelis_lo_dsg3_verification using Test using LinearAlgebra using FinEtools using FinEtoolsDeforLinear using FinEtoolsFlexStructures.FESetShellT3Module: FESetShellT3 using FinEtoolsFlexStructures.FEMMShellT3FFModule using FinEtoolsFlexStructures.RotUtilModule: initial_Rfield, update_rotation_field! function _execute(n = 8, visualize = true) # analytical solution for the vertical deflection and the midpoint of the # free edge analyt_sol=-0.3024; # Parameters: E=4.32e8; nu=0.0; thickness = 0.25; # geometrical dimensions are in feet R = 25.0; L = 50.0; formul = FEMMShellT3FFModule tolerance = R/n/1000 fens, fes = T3block(40/360*2*pi,L/2,n,n); fens.xyz = xyz3(fens) for i in 1:count(fens) a=fens.xyz[i, 1]; y=fens.xyz[i, 2]; fens.xyz[i, :] .= (R*sin(a), y, R*(cos(a)-1)) end mater = MatDeforElastIso(DeforModelRed3D, E, nu) sfes = FESetShellT3() accepttodelegate(fes, sfes) femm = formul.make(IntegDomain(fes, TriRule(1), thickness), mater) femm.mult_el_size = 0.2 femm.drilling_stiffness_scale = 1.0 stiffness = formul.stiffness associategeometry! = formul.associategeometry! # Construct the requisite fields, geometry and displacement # Initialize configuration variables geom0 = NodalField(fens.xyz) u0 = NodalField(zeros(size(fens.xyz,1), 3)) Rfield0 = initial_Rfield(fens) dchi = NodalField(zeros(size(fens.xyz,1), 6)) # Apply EBC's # rigid diaphragm l1 = selectnode(fens; box = Float64[-Inf Inf 0 0 -Inf Inf], inflate = tolerance) for i in [1,3,5] setebc!(dchi, l1, true, i) end # plane of symmetry perpendicular to Y l1 = selectnode(fens; box = Float64[-Inf Inf L/2 L/2 -Inf Inf], inflate = tolerance) for i in [2,4,6] setebc!(dchi, l1, true, i) end # plane of symmetry perpendicular to X l1 = selectnode(fens; box = Float64[0 0 -Inf Inf -Inf Inf], inflate = tolerance) for i in [1,5,6] setebc!(dchi, l1, true, i) end applyebc!(dchi) numberdofs!(dchi); # Assemble the system matrix associategeometry!(femm, geom0) K = stiffness(femm, geom0, u0, Rfield0, dchi); # Midpoint of the free edge nl = selectnode(fens; box = Float64[sin(40/360*2*pi)*25 sin(40/360*2*pi)*25 L/2 L/2 -Inf Inf], inflate = tolerance) lfemm = FEMMBase(IntegDomain(fes, TriRule(3))) fi = ForceIntensity(FFlt[0, 0, -90, 0, 0, 0]); F = distribloads(lfemm, geom0, dchi, fi, 3); # Solve U = K\F scattersysvec!(dchi, U[:]) resultpercent = dchi.values[nl, 3][1]/analyt_sol*100 return resultpercent end function test_convergence() formul = FEMMShellT3FFModule results = [ 66.54771615057949, 85.54615143134853, 89.85075281481419, 92.50616661644985, 95.40469210310079, 97.65376880486126 ] for (n, res) in zip([4, 8, 10, 12, 16, 24], results) v = _execute(n, false) @test isapprox(res, v, rtol = 1.0e-4) # @show v end return true end test_convergence() end # module """ The geometry consists of a “hook” in the form of a curved strip rigidly clamped at one end and loaded with a unit in-plane shear along the width at the other end. It has two circular segments that are connected at the tangent point. The smaller segment has a mean radius of 0.3556 m (14 inches) and spans 60° from the clamped end to the tangent point. The larger segment spans 150° from the tangent point to the free end and has a mean radius of 1.1684 m (46 inches). The hook is 0.0508 m (2 inches) thick and 0.508 m (20 inches) wide, modeled as linear elastic with an elastic modulus of 22.77 MPa (3300 psi) and a Poisson's ratio of 0.35. In most tests the shear force is applied through the use of a distributing coupling constraint. The coupling constraint provides coupling between a reference node on which the load is prescribed and the nodes located on the free end. The distributed nodal loads on the free end are equivalent to a uniformly distributed load of 8.7563 N/m (0.05 lb/in). In two of the tests an equivalent shear force is applied as a distributed shear traction instead. """ module raasch_dsg3_verification using Test using LinearAlgebra using FinEtools using FinEtoolsDeforLinear using FinEtoolsFlexStructures.FESetShellT3Module: FESetShellT3 using FinEtoolsFlexStructures.FEMMShellT3FFModule using FinEtoolsFlexStructures.RotUtilModule: initial_Rfield, update_rotation_field! function _execute(input = "raasch_s4_1x9.inp", visualize = true) E = 3300.0; nu = 0.35; thickness = 2.0; tolerance = thickness/2 # analytical solution for the vertical deflection under the load analyt_sol = 5.02; R = 46.0; formul = FEMMShellT3FFModule output = import_ABAQUS(joinpath(input)) fens = output["fens"] fes = output["fesets"][1] connected = findunconnnodes(fens, fes); fens, new_numbering = compactnodes(fens, connected); fes = renumberconn!(fes, new_numbering); fens, fes = Q4toT3(fens, fes) # plots = cat(plot_space_box([[0 0 -R/2]; [R/2 R/2 R/2]]), # plot_nodes(fens), # plot_midsurface(fens, fes); # dims = 1) # pl = render(plots) mater = MatDeforElastIso(DeforModelRed3D, E, nu) # Report # @info "Raasch hook, formulation=$(formul)" # @info "Mesh: $input" sfes = FESetShellT3() accepttodelegate(fes, sfes) femm = formul.make(IntegDomain(fes, TriRule(1), thickness), mater) femm.mult_el_size = 0.2 femm.drilling_stiffness_scale = 1.0 stiffness = formul.stiffness associategeometry! = formul.associategeometry! # Construct the requisite fields, geometry and displacement # Initialize configuration variables geom0 = NodalField(fens.xyz) u0 = NodalField(zeros(size(fens.xyz,1), 3)) Rfield0 = initial_Rfield(fens) dchi = NodalField(zeros(size(fens.xyz,1), 6)) # Apply EBC's # Clamped end l1 = selectnode(fens; box = Float64[0 0 -Inf Inf -Inf Inf], inflate = tolerance) for i in [1,2,3,4,5,6] setebc!(dchi, l1, true, i) end applyebc!(dchi) numberdofs!(dchi); # Assemble the system matrix associategeometry!(femm, geom0) K = stiffness(femm, geom0, u0, Rfield0, dchi); # Load bfes = meshboundary(fes) l1 = selectelem(fens, bfes, box = [97.9615 97.9615 -16 -16 0 20], inflate = tolerance) lfemm = FEMMBase(IntegDomain(subset(bfes, l1), GaussRule(1, 2))) fi = ForceIntensity(FFlt[0, 0, 0.05, 0, 0, 0]); F = distribloads(lfemm, geom0, dchi, fi, 3); # @infiltrate # Solve U = K\F scattersysvec!(dchi, U[:]) nl = selectnode(fens; box = Float64[97.9615 97.9615 -16 -16 0 0], inflate = tolerance) targetu = dchi.values[nl, 3][1] # @info "Target: $(round(targetu, digits=8)), $(round(targetu/analyt_sol, digits = 4)*100)%" return targetu/analyt_sol*100 end function test_convergence() formul = FEMMShellT3FFModule results = [ 91.7059961843231, 95.9355786538892, 97.19276899988246, 98.38896641657374 ] for (m, res) in zip(["1x9", "3x18", "5x36", "10x72"], results) v = _execute("raasch_s4_" * m * ".inp", false) @test isapprox(res, v, rtol = 1.0e-4) # @show v end return true end test_convergence() end # module """ The initially twisted cantilever beam is one of the standard test problems for verifying the finite-element accuracy [1]. The beam is clamped at one end and loaded either with unit in-plane or unit out-of-plane force at the other. The centroidal axis of the beam is straight at the undeformed configuration, while its cross-sections are twisted about the centroidal axis from 0 at the clamped end to pi/2 at the free end. Reference: Zupan D, Saje M (2004) On "A proposed standard set of problems to test finite element accuracy": the twisted beam. Finite Elements in Analysis and Design 40: 1445-1451. Thicker cross section (t = 0.32) # Loading in the Z direction dir = 3; uex = 0.005424534868469; # Harder: 5.424e-3; # Loading in the Y direction dir = 2; uex = 0.001753248285256; # Harder: 1.754e-3; Thinner cross section (t = 0.0032) # Loading in the Z direction dir = 3; uex = 0.005256; # Loading in the Y direction dir = 2; uex = 0.001294; MacNeal, R. H., and R. L. Harder, “A Proposed Standard Set of Problems to Test Finite Element Accuracy,” Finite Elements in Analysis Design, vol. 11, pp. 3–20, 1985. Simo, J. C., D. D. Fox, and M. S. Rifai, “On a Stress Resultant Geometrically Exact Shell Model. Part II: The Linear Theory; Computational Aspects,” Computational Methods in Applied Mechanical Engineering, vol. 73, pp. 53–92, 1989. """ module twisted_beam_dsg3_verification using Test using FinEtools using FinEtoolsDeforLinear using FinEtoolsFlexStructures.FESetShellT3Module: FESetShellT3 using FinEtoolsFlexStructures.FEMMShellT3FFModule using FinEtoolsFlexStructures.RotUtilModule: initial_Rfield, update_rotation_field! params_thicker_dir_3 = (t = 0.32, force = 1.0, dir = 3, uex = 0.005424534868469); params_thicker_dir_2 = (t = 0.32, force = 1.0, dir = 2, uex = 0.001753248285256); params_thinner_dir_3 = (t = 0.0032, force = 1.0e-6, dir = 3, uex = 0.005256); params_thinner_dir_2 = (t = 0.0032, force = 1.0e-6, dir = 2, uex = 0.001294); function _execute(t = 0.32, force = 1.0, dir = 3, uex = 0.005424534868469, nL = 8, nW = 2, visualize = true) E = 0.29e8; nu = 0.22; W = 1.1; L = 12.0; formul = FEMMShellT3FFModule tolerance = W/nW/100 fens, fes = T3block(L,W,nL,nW,:a); fens.xyz = xyz3(fens) for i in 1:count(fens) a=fens.xyz[i,1]/L*(pi/2); y=fens.xyz[i,2]-(W/2); z=fens.xyz[i,3]; fens.xyz[i,:]=[fens.xyz[i,1],y*cos(a)-z*sin(a),y*sin(a)+z*cos(a)]; end mater = MatDeforElastIso(DeforModelRed3D, E, nu) sfes = FESetShellT3() accepttodelegate(fes, sfes) femm = formul.make(IntegDomain(fes, TriRule(1), t), mater) # femm.mult_el_size = 0.2 # femm.drilling_stiffness_scale = 1.0 stiffness = formul.stiffness associategeometry! = formul.associategeometry! # Construct the requisite fields, geometry and displacement # Initialize configuration variables geom0 = NodalField(fens.xyz) u0 = NodalField(zeros(size(fens.xyz,1), 3)) Rfield0 = initial_Rfield(fens) dchi = NodalField(zeros(size(fens.xyz,1), 6)) # Apply EBC's # Clamped end l1 = selectnode(fens; box = Float64[0 0 -Inf Inf -Inf Inf], inflate = tolerance) for i in 1:6 setebc!(dchi, l1, true, i) end applyebc!(dchi) numberdofs!(dchi); # Assemble the system matrix associategeometry!(femm, geom0) K = stiffness(femm, geom0, u0, Rfield0, dchi); # Load nl = selectnode(fens; box = Float64[L L 0 0 0 0], tolerance = tolerance) loadbdry = FESetP1(reshape(nl, 1, 1)) lfemm = FEMMBase(IntegDomain(loadbdry, PointRule())) v = FFlt[0, 0, 0, 0, 0, 0] v[dir] = force fi = ForceIntensity(v); F = distribloads(lfemm, geom0, dchi, fi, 3); # Solve U = K\F scattersysvec!(dchi, U[:]) result = dchi.values[nl, dir][1]/uex*100 return result end function test_convergence() formul = FEMMShellT3FFModule results = [ 39.709921740907355, 68.87306876326497, 86.01944734315117, 95.04101960524827, 53.10262177376127, 83.8593790803426, 94.91359387874728, 98.21549248655576, 48.16757753755567, 79.43420077873479, 92.54464819755955, 96.85008269135751, 50.577029703967334, 80.34160167730624, 92.48675665271801, 96.7096641005938, ] for n in [2, 4, 8, 16, ] v = _execute(params_thicker_dir_2..., 2*n, n, false) # println(v, ",") @test isapprox(v, popat!(results, 1), rtol = 1.0e-3) end for n in [2, 4, 8, 16, ] v = _execute(params_thicker_dir_3..., 2*n, n, false) # println(v, ",") @test isapprox(v, popat!(results, 1), rtol = 1.0e-3) end for n in [2, 4, 8, 16, ] v = _execute(params_thinner_dir_2..., 2*n, n, false) # println(v, ",") @test isapprox(v, popat!(results, 1), rtol = 1.0e-3) end for n in [2, 4, 8, 16, ] v = _execute(params_thinner_dir_3..., 2*n, n, false) # println(v, ",") @test isapprox(v, popat!(results, 1), rtol = 1.0e-3) end return true end test_convergence() end # module """ MODEL DESCRIPTION Z-section cantilever under torsional loading. Linear elastic analysis, Young's modulus = 210 GPa, Poisson's ratio = 0.3. All displacements are fixed at X=0. Torque of 1.2 MN-m applied at X=10. The torque is applied by two uniformly distributed shear loads of 0.6 MN at each flange surface. Objective of the analysis is to compute the axial stress at X = 2.5 from fixed end. NAFEMS REFERENCE SOLUTION Axial stress at X = 2.5 from fixed end (point A) at the midsurface is -108 MPa. """ module LE5_Z_cantilever_dsg3_verification using Test using LinearAlgebra using FinEtools using FinEtoolsDeforLinear using FinEtoolsFlexStructures.FESetShellT3Module: FESetShellT3 using FinEtoolsFlexStructures.FEMMShellT3FFModule using FinEtoolsFlexStructures.RotUtilModule: initial_Rfield, update_rotation_field! function _execute(input = "nle5xf3c.inp", nrefs = 0, visualize = true) E = 210e9; nu = 0.3; L = 10.0; thickness = 0.1 formul = FEMMShellT3FFModule tolerance = thickness/1000 output = import_ABAQUS(joinpath(dirname(@__FILE__()), input)) fens = output["fens"] fes = output["fesets"][1] connected = findunconnnodes(fens, fes); fens, new_numbering = compactnodes(fens, connected); fes = renumberconn!(fes, new_numbering); for r in 1:nrefs fens, fes = T3refine(fens, fes) end mater = MatDeforElastIso(DeforModelRed3D, E, nu) # Report # @info "Mesh: $input, nrefs = $nrefs" sfes = FESetShellT3() accepttodelegate(fes, sfes) femm = formul.make(IntegDomain(fes, TriRule(1), thickness), mater) femm.mult_el_size = 0.2 femm.drilling_stiffness_scale = 1.0 stiffness = formul.stiffness associategeometry! = formul.associategeometry! # Construct the requisite fields, geometry and displacement # Initialize configuration variables geom0 = NodalField(fens.xyz) u0 = NodalField(zeros(size(fens.xyz,1), 3)) Rfield0 = initial_Rfield(fens) dchi = NodalField(zeros(size(fens.xyz,1), 6)) # plots = cat(plot_space_box([[0 0 -L/2]; [L/2 L/2 L/2]]), # plot_nodes(fens), # plot_midsurface(fens, fes); # dims = 1) # pl = render(plots) # Apply EBC's # plane of symmetry perpendicular to X l1 = selectnode(fens; box = Float64[0 0 -Inf Inf -Inf Inf], inflate = tolerance) for i in [1,2,3,] setebc!(dchi, l1, true, i) end applyebc!(dchi) numberdofs!(dchi); # @show dchi.nfreedofs # Assemble the system matrix associategeometry!(femm, geom0) K = stiffness(femm, geom0, u0, Rfield0, dchi); # Load nl = selectnode(fens; box = Float64[10.0 10.0 1.0 1.0 0 0], tolerance = tolerance) loadbdry1 = FESetP1(reshape(nl, 1, 1)) lfemm1 = FEMMBase(IntegDomain(loadbdry1, PointRule())) fi1 = ForceIntensity(FFlt[0, 0, +0.6e6, 0, 0, 0]); nl = selectnode(fens; box = Float64[10.0 10.0 -1.0 -1.0 0 0], tolerance = tolerance) loadbdry2 = FESetP1(reshape(nl, 1, 1)) lfemm2 = FEMMBase(IntegDomain(loadbdry2, PointRule())) fi2 = ForceIntensity(FFlt[0, 0, -0.6e6, 0, 0, 0]); F = distribloads(lfemm1, geom0, dchi, fi1, 3) + distribloads(lfemm2, geom0, dchi, fi2, 3); # @infiltrate # Solve U = K\F scattersysvec!(dchi, U[:]) return minimum(dchi.values[:, 3]), maximum(dchi.values[:, 3]) end function test_convergence() formul = FEMMShellT3FFModule # @info "LE5 Z-cantilever, formulation=$(formul)" for n in [0, ] res = _execute("nle5xf3c.inp", n, false) @test res[1] ≈ (-0.01568028415401719, 0.015401663810490641)[1] @test res[2] ≈ (-0.01568028415401719, 0.015401663810490641)[2] end return true end # res = test_st3dsg("nle5xf3c.inp", 0, false) # @test res[1] ≈ (-0.01568028415401719, 0.015401663810490641)[1] # @test res[2] ≈ (-0.01568028415401719, 0.015401663810490641)[2] test_convergence() end # module """ The barrel vault (Scordelis-Lo) roof is one of the benchmarks for linear elastic analysis of shells. The candidate element's usefulness in irregular geometries (and most practical cases involve a high degree of geometric irregularity) is tested. As would be expected,the irregular mesh results are not as good as those provided by a regular mesh with the same number of variables. Problem description The physical basis of the problem is a deeply arched roof supported only by diaphragms at its curved edges (an aircraft hanger), deforming under its own weight. It is interesting to observe that the geometry is such that the centerpoint of the roof moves upward under the self-weight (downwardly directed) load. Perhaps this is one reason why the problem is not straightforward numerically. """ module barrel_vault_test using Test using LinearAlgebra using FinEtools using FinEtoolsDeforLinear using FinEtoolsFlexStructures.FESetShellT3Module: FESetShellT3 using FinEtoolsFlexStructures.FESetShellQ4Module: FESetShellQ4 using FinEtoolsFlexStructures.FEMMShellT3FFModule using FinEtoolsFlexStructures.RotUtilModule: initial_Rfield, update_rotation_field! using FinEtools.MeshExportModule.VTKWrite: vtkwrite function _execute(input = "barrelvault_s3r_fineirreg.inp", visualize = true) E = 3.0e6; nu = 0.0; thickness = 3.0; tolerance = thickness/20 # analytical solution for the vertical deflection under the load analyt_sol = -0.3024*12; R = 25.0*12; L = 50.0*12; formul = FEMMShellT3FFModule output = import_ABAQUS(joinpath(dirname(@__FILE__()), input)) fens = output["fens"] fes = output["fesets"][1] # boundingbox(fens.xyz) connected = findunconnnodes(fens, fes); fens, new_numbering = compactnodes(fens, connected); fes = renumberconn!(fes, new_numbering); fens, fes = mergenodes(fens, fes, thickness/10) # plots = cat(plot_space_box([[0 0 -R/2]; [R/2 R/2 R/2]]), # plot_nodes(fens), # plot_midsurface(fens, fes); # dims = 1) # pl = render(plots) mater = MatDeforElastIso(DeforModelRed3D, E, nu) # @info "Mesh: $input" sfes = FESetShellT3() accepttodelegate(fes, sfes) femm = formul.make(IntegDomain(fes, TriRule(1), thickness), mater) femm.mult_el_size = 0.2 femm.drilling_stiffness_scale = 0.1 stiffness = formul.stiffness associategeometry! = formul.associategeometry! # Construct the requisite fields, geometry and displacement # Initialize configuration variables geom0 = NodalField(fens.xyz) u0 = NodalField(zeros(size(fens.xyz,1), 3)) Rfield0 = initial_Rfield(fens) dchi = NodalField(zeros(size(fens.xyz,1), 6)) # vtkwrite("barrel_vault_test-mesh.vtu", fens, fes) # bfes = meshboundary(fes) # vtkwrite("barrel_vault_test-boundary-mesh.vtu", fens, bfes) # Apply EBC's # Rigid diaphragm end l1 = selectnode(fens; box = Float64[-Inf Inf -Inf Inf 0 0], inflate = tolerance) for i in [1,2] setebc!(dchi, l1, true, i) end # plane of symmetry perpendicular to Z l1 = selectnode(fens; box = Float64[-Inf Inf -Inf Inf L/2 L/2], inflate = tolerance) for i in [3,4,5] setebc!(dchi, l1, true, i) end # plane of symmetry perpendicular to Y (apex) l1 = selectnode(fens; box = Float64[-Inf Inf 0 0 -Inf Inf], inflate = tolerance) for i in [2,4,6] setebc!(dchi, l1, true, i) end applyebc!(dchi) numberdofs!(dchi); # Assemble the system matrix associategeometry!(femm, geom0) K = stiffness(femm, geom0, u0, Rfield0, dchi); # Load # Midpoint of the free edge nl = selectnode(fens; box = Float64[-Inf Inf sin(40/360*2*pi)*R sin(40/360*2*pi)*R L/2 L/2], inflate = tolerance) lfemm = FEMMBase(IntegDomain(fes, TriRule(3))) fi = ForceIntensity(FFlt[-0.625, 0, 0, 0, 0, 0]); F = distribloads(lfemm, geom0, dchi, fi, 3); # @infiltrate # Solve U = K\F scattersysvec!(dchi, U[:]) targetu = dchi.values[nl, 1][1] # @info "Solution: $(round(targetu, digits=8)), $(round(targetu/analyt_sol, digits = 4)*100)%" # Generate a graphical display of resultants cylindrical!(csmatout::FFltMat, XYZ::FFltMat, tangents::FFltMat, fe_label::FInt) = begin r = -vec(XYZ); r[3] = 0.0 csmatout[:, 3] .= vec(r)/norm(vec(r)) csmatout[:, 2] .= (0.0, 0.0, 1.0) cross3!(view(csmatout, :, 1), view(csmatout, :, 2), view(csmatout, :, 3)) return csmatout end ocsys = CSys(3, 3, cylindrical!) test_results = [ (-1520.6449167366522, 14.067403309095397) (-73.8262145426215, 425.93651541819503) (-0.005341121492547284, 953.0929383629322) ] scalars = [] for nc in 1:3 fld = fieldfromintegpoints(femm, geom0, dchi, :moment, nc, outputcsys = ocsys) # fld = elemfieldfromintegpoints(femm, geom0, dchi, :moment, nc) push!(scalars, ("m$nc", fld.values)) @test isapprox(minimum(fld.values), test_results[nc][1], rtol = 0.01) @test isapprox(maximum(fld.values), test_results[nc][2], rtol = 0.01) end # vtkwrite("$(input)-m.vtu", fens, fes; scalars = scalars, vectors = [("u", dchi.values[:, 1:3])]) test_results = [ (-306.83173146926623, 309.5860993742647), (-1011.4832977998705, 2167.0403478574167), (-687.3500043290137, 69.38703021678862), ] scalars = [] for nc in 1:3 fld = fieldfromintegpoints(femm, geom0, dchi, :membrane, nc, outputcsys = ocsys) # fld = elemfieldfromintegpoints(femm, geom0, dchi, :moment, nc) push!(scalars, ("n$nc", fld.values)) @test isapprox(minimum(fld.values), test_results[nc][1], rtol = 0.01) @test isapprox(maximum(fld.values), test_results[nc][2], rtol = 0.01) end # vtkwrite("$(input)-n.vtu", fens, fes; scalars = scalars, vectors = [("u", dchi.values[:, 1:3])]) test_results = [ (-13.784764125688811, 21.165312065421237), (-7.4216963152916255, 25.679801383392967) ] scalars = [] for nc in 1:2 fld = fieldfromintegpoints(femm, geom0, dchi, :shear, nc, outputcsys = ocsys) # fld = elemfieldfromintegpoints(femm, geom0, dchi, :moment, nc) push!(scalars, ("q$nc", fld.values)) @test isapprox(minimum(fld.values), test_results[nc][1], rtol = 0.01) @test isapprox(maximum(fld.values), test_results[nc][2], rtol = 0.01) end # vtkwrite("$(input)-q.vtu", fens, fes; scalars = scalars, vectors = [("u", dchi.values[:, 1:3])]) # Visualization if !visualize return true end scattersysvec!(dchi, (R/2)/maximum(abs.(U)).*U) update_rotation_field!(Rfield0, dchi) plots = cat(plot_space_box([[0 0 -R]; [R R R]]), plot_nodes(fens), plot_midsurface(fens, fes; x = geom0.values, u = dchi.values[:, 1:3], R = Rfield0.values); dims = 1) pl = render(plots) return true end function test_convergence() # @info "Scordelis-Lo Abaqus model" _execute("barrelvault_stri3_irreg.inp", false) # _execute("barrelvault_s3r_fineirreg.inp", false) return true end test_convergence() end # module
[ 198, 21412, 629, 585, 417, 271, 62, 5439, 62, 9310, 70, 18, 62, 332, 2649, 198, 198, 3500, 6208, 198, 3500, 44800, 2348, 29230, 198, 3500, 4463, 36, 31391, 198, 3500, 4463, 36, 31391, 7469, 273, 14993, 451, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 51, 18, 26796, 25, 376, 1546, 316, 23248, 51, 18, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 24864, 18274, 346, 26796, 25, 4238, 62, 49, 3245, 11, 4296, 62, 10599, 341, 62, 3245, 0, 198, 198, 8818, 4808, 41049, 7, 77, 796, 807, 11, 38350, 796, 2081, 8, 198, 220, 220, 220, 1303, 30063, 4610, 329, 262, 11723, 825, 1564, 290, 262, 3095, 4122, 286, 262, 198, 220, 220, 220, 1303, 1479, 5743, 220, 198, 220, 220, 220, 4284, 83, 62, 34453, 10779, 15, 13, 1270, 1731, 26, 198, 220, 220, 220, 1303, 40117, 25, 198, 220, 220, 220, 412, 28, 19, 13, 2624, 68, 23, 26, 198, 220, 220, 220, 14364, 28, 15, 13, 15, 26, 198, 220, 220, 220, 20735, 796, 657, 13, 1495, 26, 1303, 4903, 908, 8143, 15225, 389, 287, 3625, 198, 220, 220, 220, 371, 796, 1679, 13, 15, 26, 198, 220, 220, 220, 406, 796, 2026, 13, 15, 26, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 220, 198, 220, 220, 220, 15621, 796, 371, 14, 77, 14, 12825, 198, 220, 220, 220, 277, 641, 11, 277, 274, 796, 309, 18, 9967, 7, 1821, 14, 15277, 9, 17, 9, 14415, 11, 43, 14, 17, 11, 77, 11, 77, 1776, 198, 220, 220, 220, 277, 641, 13, 5431, 89, 796, 2124, 45579, 18, 7, 69, 641, 8, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 9127, 7, 69, 641, 8, 198, 220, 220, 220, 220, 220, 220, 220, 257, 28, 69, 641, 13, 5431, 89, 58, 72, 11, 352, 11208, 331, 28, 69, 641, 13, 5431, 89, 58, 72, 11, 362, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 277, 641, 13, 5431, 89, 58, 72, 11, 1058, 60, 764, 28, 357, 49, 9, 31369, 7, 64, 828, 331, 11, 371, 9, 7, 6966, 7, 64, 13219, 16, 4008, 198, 220, 220, 220, 886, 628, 220, 220, 220, 26910, 796, 6550, 7469, 273, 9527, 459, 40, 568, 7, 7469, 273, 17633, 7738, 18, 35, 11, 412, 11, 14364, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 264, 69, 274, 796, 376, 1546, 316, 23248, 51, 18, 3419, 198, 220, 220, 220, 2453, 83, 1098, 34637, 7, 69, 274, 11, 264, 69, 274, 8, 198, 220, 220, 220, 2796, 76, 796, 1296, 377, 13, 15883, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 16, 828, 20735, 828, 26910, 8, 198, 220, 220, 220, 2796, 76, 13, 16680, 62, 417, 62, 7857, 796, 657, 13, 17, 198, 220, 220, 220, 2796, 76, 13, 7109, 4509, 62, 301, 733, 1108, 62, 9888, 796, 352, 13, 15, 198, 220, 220, 220, 49586, 796, 1296, 377, 13, 301, 733, 1108, 198, 220, 220, 220, 11602, 469, 15748, 0, 796, 1296, 377, 13, 562, 47615, 469, 15748, 0, 628, 220, 220, 220, 1303, 28407, 262, 37088, 7032, 11, 22939, 290, 29358, 198, 220, 220, 220, 1303, 20768, 1096, 8398, 9633, 198, 220, 220, 220, 4903, 296, 15, 796, 399, 375, 282, 15878, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 334, 15, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 513, 4008, 198, 220, 220, 220, 371, 3245, 15, 796, 4238, 62, 49, 3245, 7, 69, 641, 8, 198, 220, 220, 220, 288, 11072, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 718, 4008, 628, 220, 220, 220, 1303, 27967, 412, 2749, 338, 198, 220, 220, 220, 1303, 20831, 2566, 6570, 22562, 76, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 657, 657, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 16, 11, 18, 11, 20, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 6614, 286, 40686, 47190, 284, 575, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 406, 14, 17, 406, 14, 17, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 17, 11, 19, 11, 21, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 6614, 286, 40686, 47190, 284, 1395, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 15, 657, 532, 18943, 4806, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 16, 11, 20, 11, 21, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 4174, 1765, 66, 0, 7, 67, 11072, 8, 198, 220, 220, 220, 1271, 67, 1659, 82, 0, 7, 67, 11072, 1776, 628, 220, 220, 220, 1303, 1081, 15140, 262, 1080, 17593, 198, 220, 220, 220, 11602, 469, 15748, 0, 7, 69, 368, 76, 11, 4903, 296, 15, 8, 198, 220, 220, 220, 509, 796, 49586, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 334, 15, 11, 371, 3245, 15, 11, 288, 11072, 1776, 628, 220, 220, 220, 1303, 7215, 4122, 286, 262, 1479, 5743, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 31369, 7, 1821, 14, 15277, 9, 17, 9, 14415, 27493, 1495, 7813, 7, 1821, 14, 15277, 9, 17, 9, 14415, 27493, 1495, 406, 14, 17, 406, 14, 17, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 300, 69, 368, 76, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 18, 22305, 198, 220, 220, 220, 25912, 796, 5221, 5317, 6377, 7, 5777, 2528, 58, 15, 11, 657, 11, 532, 3829, 11, 657, 11, 657, 11, 657, 36563, 198, 220, 220, 220, 376, 796, 1233, 822, 46030, 7, 1652, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 11, 513, 1776, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 4294, 303, 198, 220, 220, 220, 471, 796, 509, 59, 37, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 471, 58, 25, 12962, 198, 220, 220, 220, 1255, 25067, 796, 288, 11072, 13, 27160, 58, 21283, 11, 513, 7131, 16, 60, 14, 38200, 83, 62, 34453, 9, 3064, 628, 220, 220, 220, 1441, 1255, 25067, 198, 437, 198, 198, 8818, 1332, 62, 1102, 332, 12745, 3419, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 2482, 796, 685, 198, 220, 220, 220, 7930, 13, 20, 32883, 1433, 8628, 41734, 2920, 11, 198, 220, 220, 220, 7600, 13, 49489, 1314, 21139, 1485, 2780, 4310, 11, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 9919, 13, 25764, 2425, 2078, 18294, 1415, 1129, 11, 198, 220, 220, 220, 10190, 13, 35638, 1433, 2791, 1433, 2598, 42250, 11, 198, 220, 220, 220, 6957, 13, 26429, 46589, 15197, 3064, 3720, 11, 198, 220, 220, 220, 10111, 13, 2996, 2718, 3104, 1795, 34251, 19420, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 329, 357, 77, 11, 581, 8, 287, 220, 19974, 26933, 19, 11, 807, 11, 838, 11, 1105, 11, 1467, 11, 1987, 4357, 2482, 8, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7, 77, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 411, 11, 410, 11, 374, 83, 349, 796, 352, 13, 15, 68, 12, 19, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 410, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 9288, 62, 1102, 332, 12745, 3419, 198, 198, 437, 1303, 8265, 198, 198, 37811, 198, 464, 22939, 10874, 286, 257, 564, 250, 25480, 447, 251, 287, 262, 1296, 286, 257, 26929, 10283, 20831, 306, 537, 13322, 198, 265, 530, 886, 290, 9639, 351, 257, 4326, 287, 12, 14382, 673, 283, 1863, 262, 9647, 379, 262, 584, 198, 437, 13, 632, 468, 734, 18620, 17894, 326, 389, 5884, 379, 262, 13875, 298, 966, 13, 383, 198, 17470, 263, 10618, 468, 257, 1612, 16874, 286, 657, 13, 2327, 3980, 285, 357, 1415, 8331, 8, 290, 32727, 3126, 7200, 422, 198, 1169, 537, 13322, 886, 284, 262, 13875, 298, 966, 13, 383, 4025, 10618, 32727, 6640, 7200, 422, 262, 198, 83, 648, 298, 966, 284, 262, 1479, 886, 290, 468, 257, 1612, 16874, 286, 352, 13, 1433, 5705, 285, 357, 3510, 8331, 737, 198, 464, 8011, 318, 657, 13, 28669, 23, 285, 357, 17, 8331, 8, 6546, 290, 657, 13, 33042, 285, 357, 1238, 8331, 8, 3094, 11, 29563, 355, 198, 29127, 27468, 351, 281, 27468, 953, 23515, 286, 2534, 13, 3324, 4904, 64, 357, 2091, 405, 46231, 8, 290, 257, 7695, 30927, 338, 198, 10366, 952, 286, 657, 13, 2327, 13, 554, 749, 5254, 262, 673, 283, 2700, 318, 5625, 832, 262, 779, 286, 257, 198, 17080, 2455, 278, 40204, 32315, 13, 383, 40204, 32315, 3769, 40204, 198, 23395, 257, 4941, 10139, 319, 543, 262, 3440, 318, 14798, 290, 262, 13760, 5140, 198, 261, 262, 1479, 886, 13, 383, 9387, 18666, 282, 15989, 319, 262, 1479, 886, 389, 7548, 284, 198, 64, 42096, 9387, 3440, 286, 807, 13, 2425, 5066, 399, 14, 76, 357, 15, 13, 2713, 18360, 14, 259, 737, 554, 734, 286, 262, 5254, 281, 198, 4853, 29540, 673, 283, 2700, 318, 5625, 355, 257, 9387, 673, 283, 23692, 2427, 13, 628, 198, 37811, 198, 21412, 2179, 292, 354, 62, 9310, 70, 18, 62, 332, 2649, 198, 198, 3500, 6208, 198, 3500, 44800, 2348, 29230, 198, 3500, 4463, 36, 31391, 198, 3500, 4463, 36, 31391, 7469, 273, 14993, 451, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 51, 18, 26796, 25, 376, 1546, 316, 23248, 51, 18, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 24864, 18274, 346, 26796, 25, 4238, 62, 49, 3245, 11, 4296, 62, 10599, 341, 62, 3245, 0, 198, 198, 8818, 4808, 41049, 7, 15414, 796, 366, 430, 292, 354, 62, 82, 19, 62, 16, 87, 24, 13, 259, 79, 1600, 38350, 796, 2081, 8, 198, 220, 220, 220, 412, 796, 4747, 405, 13, 15, 26, 198, 220, 220, 220, 14364, 796, 657, 13, 2327, 26, 198, 220, 220, 220, 20735, 220, 796, 220, 362, 13, 15, 26, 198, 220, 220, 220, 15621, 796, 20735, 14, 17, 198, 220, 220, 220, 1303, 30063, 4610, 329, 262, 11723, 825, 1564, 739, 262, 3440, 198, 220, 220, 220, 4284, 83, 62, 34453, 796, 642, 13, 2999, 26, 198, 220, 220, 220, 371, 796, 6337, 13, 15, 26, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 628, 220, 220, 220, 5072, 796, 1330, 62, 32, 4339, 48, 2937, 7, 22179, 6978, 7, 15414, 4008, 198, 220, 220, 220, 277, 641, 796, 5072, 14692, 69, 641, 8973, 198, 220, 220, 220, 277, 274, 796, 5072, 14692, 69, 274, 1039, 1, 7131, 16, 60, 628, 220, 220, 220, 5884, 796, 1064, 403, 1102, 20471, 4147, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 277, 641, 11, 649, 62, 17618, 278, 796, 16001, 77, 4147, 7, 69, 641, 11, 5884, 1776, 198, 220, 220, 220, 277, 274, 796, 8851, 4494, 37043, 0, 7, 69, 274, 11, 649, 62, 17618, 278, 1776, 628, 220, 220, 220, 277, 641, 11, 277, 274, 796, 1195, 19, 1462, 51, 18, 7, 69, 641, 11, 277, 274, 8, 628, 220, 220, 220, 1303, 21528, 796, 3797, 7, 29487, 62, 13200, 62, 3524, 26933, 58, 15, 657, 532, 49, 14, 17, 11208, 685, 49, 14, 17, 371, 14, 17, 371, 14, 17, 11907, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 77, 4147, 7, 69, 641, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 76, 2340, 333, 2550, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 1303, 5391, 82, 796, 352, 8, 198, 220, 220, 220, 1303, 458, 796, 8543, 7, 489, 1747, 8, 628, 220, 220, 220, 26910, 796, 6550, 7469, 273, 9527, 459, 40, 568, 7, 7469, 273, 17633, 7738, 18, 35, 11, 412, 11, 14364, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6358, 198, 220, 220, 220, 1303, 2488, 10951, 366, 21762, 292, 354, 8011, 11, 31760, 43641, 7, 687, 377, 16725, 198, 220, 220, 220, 1303, 2488, 10951, 366, 37031, 25, 720, 15414, 1, 628, 220, 220, 220, 264, 69, 274, 796, 376, 1546, 316, 23248, 51, 18, 3419, 198, 220, 220, 220, 2453, 83, 1098, 34637, 7, 69, 274, 11, 264, 69, 274, 8, 198, 220, 220, 220, 2796, 76, 796, 1296, 377, 13, 15883, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 16, 828, 20735, 828, 26910, 8, 198, 220, 220, 220, 2796, 76, 13, 16680, 62, 417, 62, 7857, 796, 657, 13, 17, 198, 220, 220, 220, 2796, 76, 13, 7109, 4509, 62, 301, 733, 1108, 62, 9888, 796, 352, 13, 15, 198, 220, 220, 220, 49586, 796, 1296, 377, 13, 301, 733, 1108, 198, 220, 220, 220, 11602, 469, 15748, 0, 796, 1296, 377, 13, 562, 47615, 469, 15748, 0, 628, 220, 220, 220, 1303, 28407, 262, 37088, 7032, 11, 22939, 290, 29358, 198, 220, 220, 220, 1303, 20768, 1096, 8398, 9633, 198, 220, 220, 220, 4903, 296, 15, 796, 399, 375, 282, 15878, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 334, 15, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 513, 4008, 198, 220, 220, 220, 371, 3245, 15, 796, 4238, 62, 49, 3245, 7, 69, 641, 8, 198, 220, 220, 220, 288, 11072, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 718, 4008, 628, 220, 220, 220, 1303, 27967, 412, 2749, 338, 198, 220, 220, 220, 1303, 1012, 13322, 886, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 15, 657, 532, 18943, 4806, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 16, 11, 17, 11, 18, 11, 19, 11, 20, 11, 21, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 4174, 1765, 66, 0, 7, 67, 11072, 8, 198, 220, 220, 220, 1271, 67, 1659, 82, 0, 7, 67, 11072, 1776, 628, 220, 220, 220, 1303, 1081, 15140, 262, 1080, 17593, 198, 220, 220, 220, 11602, 469, 15748, 0, 7, 69, 368, 76, 11, 4903, 296, 15, 8, 198, 220, 220, 220, 509, 796, 49586, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 334, 15, 11, 371, 3245, 15, 11, 288, 11072, 1776, 628, 220, 220, 220, 1303, 8778, 198, 220, 220, 220, 275, 69, 274, 796, 19609, 7784, 560, 7, 69, 274, 8, 198, 220, 220, 220, 300, 16, 796, 2922, 68, 10671, 7, 69, 641, 11, 275, 69, 274, 11, 3091, 796, 685, 5607, 13, 4846, 1314, 10111, 13, 4846, 1314, 532, 1433, 532, 1433, 657, 1160, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 300, 69, 368, 76, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 7266, 2617, 7, 19881, 274, 11, 300, 16, 828, 12822, 1046, 31929, 7, 16, 11, 362, 22305, 198, 220, 220, 220, 25912, 796, 5221, 5317, 6377, 7, 5777, 2528, 58, 15, 11, 657, 11, 657, 13, 2713, 11, 657, 11, 657, 11, 657, 36563, 198, 220, 220, 220, 376, 796, 1233, 822, 46030, 7, 1652, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 11, 513, 1776, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2488, 259, 10379, 2213, 378, 198, 220, 220, 220, 1303, 4294, 303, 198, 220, 220, 220, 471, 796, 509, 59, 37, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 471, 58, 25, 12962, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 5607, 13, 4846, 1314, 10111, 13, 4846, 1314, 532, 1433, 532, 1433, 657, 657, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 2496, 84, 796, 220, 288, 11072, 13, 27160, 58, 21283, 11, 513, 7131, 16, 60, 198, 220, 220, 220, 1303, 2488, 10951, 366, 21745, 25, 29568, 744, 7, 16793, 84, 11, 19561, 28, 23, 36911, 220, 29568, 744, 7, 16793, 84, 14, 38200, 83, 62, 34453, 11, 19561, 796, 604, 27493, 3064, 8, 39658, 628, 220, 220, 220, 1441, 2496, 84, 14, 38200, 83, 62, 34453, 9, 3064, 198, 437, 198, 220, 198, 8818, 1332, 62, 1102, 332, 12745, 3419, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 2482, 796, 685, 198, 220, 220, 220, 10495, 13, 34801, 38565, 1507, 3559, 25667, 11, 198, 220, 220, 220, 6957, 13, 24, 2327, 38907, 2996, 2548, 4531, 17, 11, 198, 220, 220, 220, 10111, 13, 1129, 1983, 3104, 17032, 3459, 26912, 11, 198, 220, 220, 220, 9661, 13, 2548, 48712, 2414, 1433, 3553, 31020, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 329, 357, 76, 11, 581, 8, 287, 19974, 7, 14692, 16, 87, 24, 1600, 366, 18, 87, 1507, 1600, 366, 20, 87, 2623, 1600, 366, 940, 87, 4761, 33116, 2482, 8, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7203, 430, 292, 354, 62, 82, 19, 62, 1, 1635, 285, 1635, 27071, 259, 79, 1600, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 411, 11, 410, 11, 374, 83, 349, 796, 352, 13, 15, 68, 12, 19, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 12860, 410, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 9288, 62, 1102, 332, 12745, 3419, 220, 198, 198, 437, 1303, 8265, 198, 198, 37811, 198, 464, 7317, 19074, 18548, 576, 332, 15584, 318, 530, 286, 262, 3210, 1332, 198, 1676, 22143, 329, 45505, 262, 27454, 12, 30854, 9922, 685, 16, 4083, 383, 15584, 318, 198, 565, 13322, 379, 530, 886, 290, 9639, 2035, 351, 4326, 287, 12, 14382, 393, 220, 198, 20850, 503, 12, 1659, 12, 14382, 2700, 379, 262, 584, 13, 383, 1247, 3882, 282, 16488, 286, 262, 15584, 318, 198, 42729, 379, 262, 44192, 12214, 220, 8398, 11, 981, 663, 3272, 12, 23946, 389, 198, 4246, 6347, 546, 262, 1247, 3882, 282, 16488, 422, 657, 379, 262, 537, 13322, 886, 284, 31028, 14, 17, 379, 198, 1169, 1479, 886, 13, 220, 198, 198, 26687, 25, 198, 57, 929, 272, 360, 11, 311, 1228, 68, 337, 357, 15724, 8, 1550, 366, 32, 5150, 3210, 900, 286, 2761, 284, 1332, 198, 69, 9504, 5002, 9922, 1298, 262, 19074, 15584, 13, 4463, 578, 26632, 287, 14691, 198, 392, 8495, 2319, 25, 1478, 2231, 12, 1415, 4349, 13, 220, 220, 198, 198, 817, 15799, 3272, 2665, 357, 83, 796, 657, 13, 2624, 8, 198, 2, 220, 220, 220, 220, 12320, 287, 262, 1168, 4571, 198, 15908, 796, 513, 26, 334, 1069, 796, 657, 13, 405, 4051, 22995, 28978, 41580, 3388, 26, 1303, 6912, 263, 25, 642, 13, 40090, 68, 12, 18, 26, 198, 2, 220, 220, 220, 220, 12320, 287, 262, 575, 4571, 198, 15908, 796, 362, 26, 334, 1069, 796, 657, 13, 405, 1558, 4310, 23045, 26279, 11645, 26, 1303, 6912, 263, 25, 352, 13, 41874, 68, 12, 18, 26, 198, 198, 817, 5083, 3272, 2665, 357, 83, 796, 657, 13, 405, 2624, 8, 198, 2, 220, 220, 220, 220, 12320, 287, 262, 1168, 4571, 198, 15908, 796, 513, 26, 334, 1069, 796, 657, 13, 22544, 11645, 26, 198, 2, 220, 220, 220, 220, 12320, 287, 262, 575, 4571, 198, 15908, 796, 362, 26, 334, 1069, 796, 657, 13, 405, 1065, 5824, 26, 198, 198, 14155, 40581, 11, 220, 371, 13, 367, 1539, 290, 371, 13, 406, 13, 6912, 263, 11, 564, 250, 32, 8772, 1335, 8997, 5345, 286, 32093, 284, 6208, 4463, 578, 11703, 33222, 11, 447, 251, 4463, 578, 26632, 287, 14691, 8495, 11, 2322, 13, 1367, 11, 9788, 13, 513, 1906, 1238, 11, 12863, 13, 198, 198, 8890, 78, 11, 220, 449, 13, 327, 1539, 360, 13, 360, 13, 5426, 11, 290, 337, 13, 311, 13, 371, 361, 1872, 11, 564, 250, 2202, 257, 36957, 25414, 415, 2269, 908, 81, 1146, 1475, 529, 17537, 9104, 13, 2142, 2873, 25, 383, 44800, 17003, 26, 22476, 864, 1081, 38046, 11, 447, 251, 22476, 864, 25458, 287, 27684, 19663, 14044, 11, 2322, 13, 8854, 11, 9788, 13, 7192, 1906, 5892, 11, 11104, 13, 628, 198, 37811, 198, 21412, 19074, 62, 40045, 62, 9310, 70, 18, 62, 332, 2649, 198, 198, 3500, 6208, 198, 3500, 4463, 36, 31391, 198, 3500, 4463, 36, 31391, 7469, 273, 14993, 451, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 51, 18, 26796, 25, 376, 1546, 316, 23248, 51, 18, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 24864, 18274, 346, 26796, 25, 4238, 62, 49, 3245, 11, 4296, 62, 10599, 341, 62, 3245, 0, 198, 198, 37266, 62, 400, 15799, 62, 15908, 62, 18, 796, 357, 83, 796, 220, 657, 13, 2624, 11, 2700, 796, 352, 13, 15, 11, 26672, 796, 513, 11, 334, 1069, 796, 657, 13, 405, 4051, 22995, 28978, 41580, 3388, 1776, 220, 198, 37266, 62, 400, 15799, 62, 15908, 62, 17, 796, 357, 83, 796, 220, 657, 13, 2624, 11, 2700, 796, 352, 13, 15, 11, 26672, 796, 362, 11, 334, 1069, 796, 657, 13, 405, 1558, 4310, 23045, 26279, 11645, 1776, 220, 198, 198, 37266, 62, 400, 5083, 62, 15908, 62, 18, 796, 357, 83, 796, 220, 657, 13, 405, 2624, 11, 2700, 796, 352, 13, 15, 68, 12, 21, 11, 26672, 796, 513, 11, 334, 1069, 796, 657, 13, 22544, 11645, 1776, 220, 198, 37266, 62, 400, 5083, 62, 15908, 62, 17, 796, 357, 83, 796, 220, 657, 13, 405, 2624, 11, 2700, 796, 352, 13, 15, 68, 12, 21, 11, 26672, 796, 362, 11, 334, 1069, 796, 657, 13, 405, 1065, 5824, 1776, 220, 628, 198, 8818, 4808, 41049, 7, 83, 796, 657, 13, 2624, 11, 2700, 796, 352, 13, 15, 11, 26672, 796, 513, 11, 334, 1069, 796, 657, 13, 405, 4051, 22995, 28978, 41580, 3388, 11, 299, 43, 796, 807, 11, 299, 54, 796, 362, 11, 38350, 796, 2081, 8, 198, 220, 220, 220, 412, 796, 657, 13, 1959, 68, 23, 26, 198, 220, 220, 220, 14364, 796, 657, 13, 1828, 26, 198, 220, 220, 220, 370, 796, 352, 13, 16, 26, 198, 220, 220, 220, 406, 796, 1105, 13, 15, 26, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 220, 198, 220, 220, 220, 15621, 796, 370, 14, 77, 54, 14, 3064, 198, 220, 220, 220, 277, 641, 11, 277, 274, 796, 309, 18, 9967, 7, 43, 11, 54, 11, 77, 43, 11, 77, 54, 11, 25, 64, 1776, 198, 220, 220, 220, 277, 641, 13, 5431, 89, 796, 2124, 45579, 18, 7, 69, 641, 8, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 9127, 7, 69, 641, 8, 198, 220, 220, 220, 220, 220, 220, 220, 257, 28, 69, 641, 13, 5431, 89, 58, 72, 11, 16, 60, 14, 43, 9, 7, 14415, 14, 17, 1776, 331, 28, 69, 641, 13, 5431, 89, 58, 72, 11, 17, 60, 30420, 54, 14, 17, 1776, 1976, 28, 69, 641, 13, 5431, 89, 58, 72, 11, 18, 11208, 198, 220, 220, 220, 220, 220, 220, 220, 277, 641, 13, 5431, 89, 58, 72, 11, 25, 22241, 58, 69, 641, 13, 5431, 89, 58, 72, 11, 16, 4357, 88, 9, 6966, 7, 64, 13219, 89, 9, 31369, 7, 64, 828, 88, 9, 31369, 7, 64, 47762, 89, 9, 6966, 7, 64, 8, 11208, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 26910, 796, 6550, 7469, 273, 9527, 459, 40, 568, 7, 7469, 273, 17633, 7738, 18, 35, 11, 412, 11, 14364, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 264, 69, 274, 796, 376, 1546, 316, 23248, 51, 18, 3419, 198, 220, 220, 220, 2453, 83, 1098, 34637, 7, 69, 274, 11, 264, 69, 274, 8, 198, 220, 220, 220, 2796, 76, 796, 1296, 377, 13, 15883, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 16, 828, 256, 828, 26910, 8, 198, 220, 220, 220, 1303, 2796, 76, 13, 16680, 62, 417, 62, 7857, 796, 657, 13, 17, 198, 220, 220, 220, 1303, 2796, 76, 13, 7109, 4509, 62, 301, 733, 1108, 62, 9888, 796, 352, 13, 15, 198, 220, 220, 220, 49586, 796, 1296, 377, 13, 301, 733, 1108, 198, 220, 220, 220, 11602, 469, 15748, 0, 796, 1296, 377, 13, 562, 47615, 469, 15748, 0, 628, 220, 220, 220, 1303, 28407, 262, 37088, 7032, 11, 22939, 290, 29358, 198, 220, 220, 220, 1303, 20768, 1096, 8398, 9633, 198, 220, 220, 220, 4903, 296, 15, 796, 399, 375, 282, 15878, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 334, 15, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 513, 4008, 198, 220, 220, 220, 371, 3245, 15, 796, 4238, 62, 49, 3245, 7, 69, 641, 8, 198, 220, 220, 220, 288, 11072, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 718, 4008, 628, 220, 220, 220, 1303, 27967, 412, 2749, 338, 198, 220, 220, 220, 1303, 1012, 13322, 886, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 15, 657, 532, 18943, 4806, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 21, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 4174, 1765, 66, 0, 7, 67, 11072, 8, 198, 220, 220, 220, 1271, 67, 1659, 82, 0, 7, 67, 11072, 1776, 628, 220, 220, 220, 1303, 1081, 15140, 262, 1080, 17593, 198, 220, 220, 220, 11602, 469, 15748, 0, 7, 69, 368, 76, 11, 4903, 296, 15, 8, 198, 220, 220, 220, 509, 796, 49586, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 334, 15, 11, 371, 3245, 15, 11, 288, 11072, 1776, 628, 220, 220, 220, 1303, 8778, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 43, 406, 657, 657, 657, 657, 4357, 15621, 796, 15621, 8, 198, 220, 220, 220, 3440, 17457, 563, 796, 376, 1546, 316, 47, 16, 7, 3447, 1758, 7, 21283, 11, 352, 11, 352, 4008, 198, 220, 220, 220, 300, 69, 368, 76, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 2220, 17457, 563, 11, 6252, 31929, 3419, 4008, 198, 220, 220, 220, 410, 796, 18402, 2528, 58, 15, 11, 657, 11, 657, 11, 657, 11, 657, 11, 657, 60, 198, 220, 220, 220, 410, 58, 15908, 60, 796, 2700, 198, 220, 220, 220, 25912, 796, 5221, 5317, 6377, 7, 85, 1776, 198, 220, 220, 220, 376, 796, 1233, 822, 46030, 7, 1652, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 11, 513, 1776, 628, 220, 220, 220, 1303, 4294, 303, 198, 220, 220, 220, 471, 796, 509, 59, 37, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 471, 58, 25, 12962, 198, 220, 220, 220, 1255, 796, 220, 288, 11072, 13, 27160, 58, 21283, 11, 26672, 7131, 16, 60, 14, 518, 87, 9, 3064, 198, 220, 220, 220, 1441, 1255, 198, 437, 198, 198, 8818, 1332, 62, 1102, 332, 12745, 3419, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 2482, 796, 685, 198, 220, 220, 220, 5014, 13, 2154, 2079, 24591, 29416, 2998, 28567, 11, 198, 220, 220, 220, 8257, 13, 5774, 1270, 3104, 4304, 39195, 38073, 11, 198, 220, 220, 220, 9849, 13, 30484, 34825, 2682, 27936, 17657, 11, 198, 220, 220, 220, 6957, 13, 3023, 8784, 24, 32417, 23045, 1983, 11, 198, 220, 220, 220, 7192, 13, 940, 29119, 22413, 32128, 16799, 11, 198, 220, 220, 220, 9698, 13, 23, 3270, 2718, 3829, 1795, 2682, 2075, 11, 198, 220, 220, 220, 10048, 13, 24, 1485, 3270, 2548, 41019, 2857, 2078, 11, 220, 220, 198, 220, 220, 220, 9661, 13, 23349, 2920, 1731, 4521, 2816, 37452, 11, 198, 220, 220, 220, 4764, 13, 1433, 2425, 34483, 22318, 2816, 3134, 11, 198, 220, 220, 220, 9225, 13, 47101, 2167, 3324, 5774, 2682, 3720, 11, 198, 220, 220, 220, 10190, 13, 47576, 34287, 38449, 3270, 2816, 11, 198, 220, 220, 220, 9907, 13, 23, 4059, 23, 26276, 17059, 48365, 11, 198, 220, 220, 220, 2026, 13, 3553, 2154, 1959, 2154, 2670, 3134, 31380, 11, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 4019, 13, 2682, 1433, 486, 40179, 20548, 1731, 11, 198, 220, 220, 220, 10190, 13, 34251, 2425, 36879, 1983, 1507, 486, 11, 198, 220, 220, 220, 9907, 13, 2154, 4846, 2414, 3064, 3270, 2548, 11, 220, 220, 220, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 329, 299, 287, 685, 17, 11, 604, 11, 807, 11, 1467, 11, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7, 37266, 62, 400, 15799, 62, 15908, 62, 17, 986, 11, 362, 9, 77, 11, 299, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 85, 11, 366, 553, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 85, 11, 1461, 265, 0, 7, 43420, 11, 352, 828, 374, 83, 349, 796, 352, 13, 15, 68, 12, 18, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 329, 299, 287, 685, 17, 11, 604, 11, 807, 11, 1467, 11, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7, 37266, 62, 400, 15799, 62, 15908, 62, 18, 986, 11, 362, 9, 77, 11, 299, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 85, 11, 366, 553, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 85, 11, 1461, 265, 0, 7, 43420, 11, 352, 828, 374, 83, 349, 796, 352, 13, 15, 68, 12, 18, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 329, 299, 287, 685, 17, 11, 604, 11, 807, 11, 1467, 11, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7, 37266, 62, 400, 5083, 62, 15908, 62, 17, 986, 11, 362, 9, 77, 11, 299, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 85, 11, 366, 553, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 85, 11, 1461, 265, 0, 7, 43420, 11, 352, 828, 374, 83, 349, 796, 352, 13, 15, 68, 12, 18, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 329, 299, 287, 685, 17, 11, 604, 11, 807, 11, 1467, 11, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 410, 796, 4808, 41049, 7, 37266, 62, 400, 5083, 62, 15908, 62, 18, 986, 11, 362, 9, 77, 11, 299, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 44872, 7, 85, 11, 366, 553, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 85, 11, 1461, 265, 0, 7, 43420, 11, 352, 828, 374, 83, 349, 796, 352, 13, 15, 68, 12, 18, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 9288, 62, 1102, 332, 12745, 3419, 198, 198, 437, 1303, 8265, 198, 198, 37811, 198, 33365, 3698, 22196, 40165, 198, 198, 57, 12, 5458, 18548, 576, 332, 739, 256, 669, 1538, 11046, 13, 198, 198, 14993, 451, 27468, 3781, 11, 6960, 338, 953, 23515, 796, 20064, 14714, 64, 11, 7695, 30927, 338, 8064, 796, 657, 13, 18, 13, 198, 198, 3237, 7845, 28613, 389, 5969, 379, 1395, 28, 15, 13, 198, 198, 15884, 4188, 286, 352, 13, 17, 29060, 12, 76, 5625, 379, 1395, 28, 940, 13, 383, 26415, 318, 5625, 416, 734, 220, 198, 403, 6933, 306, 9387, 673, 283, 15989, 286, 657, 13, 21, 29060, 379, 1123, 781, 858, 4417, 13, 198, 198, 10267, 425, 286, 262, 3781, 318, 284, 24061, 262, 7877, 498, 5503, 379, 1395, 796, 362, 13, 20, 422, 5969, 886, 13, 198, 198, 4535, 37, 39201, 4526, 24302, 18310, 36817, 35354, 198, 198, 31554, 498, 5503, 379, 1395, 796, 362, 13, 20, 422, 5969, 886, 357, 4122, 317, 8, 379, 262, 49304, 333, 2550, 318, 532, 15711, 4904, 64, 13, 198, 37811, 198, 21412, 12509, 20, 62, 57, 62, 66, 415, 576, 332, 62, 9310, 70, 18, 62, 332, 2649, 198, 198, 3500, 6208, 198, 3500, 44800, 2348, 29230, 198, 3500, 4463, 36, 31391, 198, 3500, 4463, 36, 31391, 7469, 273, 14993, 451, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 51, 18, 26796, 25, 376, 1546, 316, 23248, 51, 18, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 24864, 18274, 346, 26796, 25, 4238, 62, 49, 3245, 11, 4296, 62, 10599, 341, 62, 3245, 0, 628, 198, 8818, 4808, 41049, 7, 15414, 796, 366, 77, 293, 20, 26152, 18, 66, 13, 259, 79, 1600, 299, 5420, 82, 796, 657, 11, 38350, 796, 2081, 8, 198, 220, 220, 220, 412, 796, 20064, 68, 24, 26, 198, 220, 220, 220, 14364, 796, 657, 13, 18, 26, 198, 220, 220, 220, 406, 796, 838, 13, 15, 26, 198, 220, 220, 220, 20735, 796, 657, 13, 16, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 628, 220, 220, 220, 15621, 796, 20735, 14, 12825, 198, 220, 220, 220, 5072, 796, 1330, 62, 32, 4339, 48, 2937, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 3419, 828, 5128, 4008, 198, 220, 220, 220, 277, 641, 796, 5072, 14692, 69, 641, 8973, 198, 220, 220, 220, 277, 274, 796, 5072, 14692, 69, 274, 1039, 1, 7131, 16, 60, 628, 220, 220, 220, 5884, 796, 1064, 403, 1102, 20471, 4147, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 277, 641, 11, 649, 62, 17618, 278, 796, 16001, 77, 4147, 7, 69, 641, 11, 5884, 1776, 198, 220, 220, 220, 277, 274, 796, 8851, 4494, 37043, 0, 7, 69, 274, 11, 649, 62, 17618, 278, 1776, 628, 220, 220, 220, 329, 374, 287, 352, 25, 77, 5420, 82, 198, 220, 220, 220, 220, 220, 220, 220, 277, 641, 11, 277, 274, 796, 309, 18, 5420, 500, 7, 69, 641, 11, 277, 274, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 26910, 796, 6550, 7469, 273, 9527, 459, 40, 568, 7, 7469, 273, 17633, 7738, 18, 35, 11, 412, 11, 14364, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 6358, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 10951, 366, 37031, 25, 720, 15414, 11, 299, 5420, 82, 796, 720, 77, 5420, 82, 1, 628, 220, 220, 220, 264, 69, 274, 796, 376, 1546, 316, 23248, 51, 18, 3419, 198, 220, 220, 220, 2453, 83, 1098, 34637, 7, 69, 274, 11, 264, 69, 274, 8, 198, 220, 220, 220, 2796, 76, 796, 1296, 377, 13, 15883, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 16, 828, 20735, 828, 26910, 8, 198, 220, 220, 220, 2796, 76, 13, 16680, 62, 417, 62, 7857, 796, 657, 13, 17, 198, 220, 220, 220, 2796, 76, 13, 7109, 4509, 62, 301, 733, 1108, 62, 9888, 796, 352, 13, 15, 198, 220, 220, 220, 49586, 796, 1296, 377, 13, 301, 733, 1108, 198, 220, 220, 220, 11602, 469, 15748, 0, 796, 1296, 377, 13, 562, 47615, 469, 15748, 0, 628, 220, 220, 220, 1303, 28407, 262, 37088, 7032, 11, 22939, 290, 29358, 198, 220, 220, 220, 1303, 20768, 1096, 8398, 9633, 198, 220, 220, 220, 4903, 296, 15, 796, 399, 375, 282, 15878, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 334, 15, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 513, 4008, 198, 220, 220, 220, 371, 3245, 15, 796, 4238, 62, 49, 3245, 7, 69, 641, 8, 198, 220, 220, 220, 288, 11072, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 718, 4008, 628, 198, 220, 220, 220, 1303, 21528, 796, 3797, 7, 29487, 62, 13200, 62, 3524, 26933, 58, 15, 657, 532, 43, 14, 17, 11208, 685, 43, 14, 17, 406, 14, 17, 406, 14, 17, 11907, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 77, 4147, 7, 69, 641, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 76, 2340, 333, 2550, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 1303, 5391, 82, 796, 352, 8, 198, 220, 220, 220, 1303, 458, 796, 8543, 7, 489, 1747, 8, 628, 220, 220, 220, 1303, 27967, 412, 2749, 338, 198, 220, 220, 220, 1303, 6614, 286, 40686, 47190, 284, 1395, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 15, 657, 532, 18943, 4806, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 16, 11, 17, 11, 18, 11, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 4174, 1765, 66, 0, 7, 67, 11072, 8, 198, 220, 220, 220, 1271, 67, 1659, 82, 0, 7, 67, 11072, 1776, 198, 220, 220, 220, 1303, 2488, 12860, 288, 11072, 13, 77, 69, 15977, 1659, 82, 628, 220, 220, 220, 1303, 1081, 15140, 262, 1080, 17593, 198, 220, 220, 220, 11602, 469, 15748, 0, 7, 69, 368, 76, 11, 4903, 296, 15, 8, 198, 220, 220, 220, 509, 796, 49586, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 334, 15, 11, 371, 3245, 15, 11, 288, 11072, 1776, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 8778, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 940, 13, 15, 838, 13, 15, 352, 13, 15, 352, 13, 15, 657, 657, 4357, 15621, 796, 15621, 8, 198, 220, 220, 220, 3440, 17457, 563, 16, 796, 376, 1546, 316, 47, 16, 7, 3447, 1758, 7, 21283, 11, 352, 11, 352, 4008, 198, 220, 220, 220, 300, 69, 368, 76, 16, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 2220, 17457, 563, 16, 11, 6252, 31929, 3419, 4008, 198, 220, 220, 220, 25912, 16, 796, 5221, 5317, 6377, 7, 5777, 2528, 58, 15, 11, 657, 11, 1343, 15, 13, 21, 68, 21, 11, 657, 11, 657, 11, 657, 36563, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 940, 13, 15, 838, 13, 15, 532, 16, 13, 15, 532, 16, 13, 15, 657, 657, 4357, 15621, 796, 15621, 8, 198, 220, 220, 220, 3440, 17457, 563, 17, 796, 376, 1546, 316, 47, 16, 7, 3447, 1758, 7, 21283, 11, 352, 11, 352, 4008, 198, 220, 220, 220, 300, 69, 368, 76, 17, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 2220, 17457, 563, 17, 11, 6252, 31929, 3419, 4008, 198, 220, 220, 220, 25912, 17, 796, 5221, 5317, 6377, 7, 5777, 2528, 58, 15, 11, 657, 11, 532, 15, 13, 21, 68, 21, 11, 657, 11, 657, 11, 657, 36563, 198, 220, 220, 220, 376, 796, 1233, 822, 46030, 7, 1652, 368, 76, 16, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 16, 11, 513, 8, 1343, 1233, 822, 46030, 7, 1652, 368, 76, 17, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 17, 11, 513, 1776, 628, 220, 220, 220, 1303, 2488, 259, 10379, 2213, 378, 198, 220, 220, 220, 1303, 4294, 303, 198, 220, 220, 220, 471, 796, 509, 59, 37, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 471, 58, 25, 12962, 198, 220, 220, 220, 1441, 5288, 7, 67, 11072, 13, 27160, 58, 45299, 513, 46570, 5415, 7, 67, 11072, 13, 27160, 58, 45299, 513, 12962, 198, 437, 198, 198, 8818, 1332, 62, 1102, 332, 12745, 3419, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 1303, 2488, 10951, 366, 2538, 20, 1168, 12, 66, 415, 576, 332, 11, 31760, 43641, 7, 687, 377, 16725, 198, 220, 220, 220, 329, 299, 287, 685, 15, 11, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 581, 796, 4808, 41049, 7203, 77, 293, 20, 26152, 18, 66, 13, 259, 79, 1600, 299, 11, 3991, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 58, 16, 60, 15139, 230, 13841, 15, 13, 486, 3980, 1795, 30336, 21526, 29326, 1129, 11, 657, 13, 486, 4051, 486, 2791, 2548, 940, 31503, 42759, 38381, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 581, 58, 17, 60, 15139, 230, 13841, 15, 13, 486, 3980, 1795, 30336, 21526, 29326, 1129, 11, 657, 13, 486, 4051, 486, 2791, 2548, 940, 31503, 42759, 38381, 17, 60, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 2, 581, 796, 1332, 62, 301, 18, 9310, 70, 7203, 77, 293, 20, 26152, 18, 66, 13, 259, 79, 1600, 657, 11, 3991, 8, 198, 2, 2488, 9288, 581, 58, 16, 60, 15139, 230, 13841, 15, 13, 486, 3980, 1795, 30336, 21526, 29326, 1129, 11, 657, 13, 486, 4051, 486, 2791, 2548, 940, 31503, 42759, 38381, 16, 60, 198, 2, 2488, 9288, 581, 58, 17, 60, 15139, 230, 13841, 15, 13, 486, 3980, 1795, 30336, 21526, 29326, 1129, 11, 657, 13, 486, 4051, 486, 2791, 2548, 940, 31503, 42759, 38381, 17, 60, 198, 198, 9288, 62, 1102, 332, 12745, 3419, 198, 198, 437, 1303, 8265, 628, 220, 198, 37811, 198, 464, 9036, 22563, 357, 3351, 585, 417, 271, 12, 27654, 8, 9753, 318, 530, 286, 262, 31747, 329, 14174, 27468, 198, 20930, 286, 19679, 13, 220, 198, 198, 464, 4540, 5002, 338, 37496, 287, 21388, 4903, 908, 1678, 357, 392, 749, 8472, 198, 33964, 6211, 257, 1029, 4922, 286, 38445, 21388, 414, 8, 318, 6789, 13, 1081, 561, 307, 198, 40319, 11, 1169, 21388, 19609, 2482, 389, 407, 355, 922, 355, 883, 2810, 416, 257, 198, 16338, 19609, 351, 262, 976, 1271, 286, 9633, 13, 220, 198, 198, 40781, 6764, 198, 198, 464, 3518, 4308, 286, 262, 1917, 318, 257, 7744, 610, 1740, 9753, 4855, 691, 198, 1525, 2566, 6570, 22562, 907, 379, 663, 26929, 13015, 357, 272, 6215, 289, 2564, 828, 390, 15464, 739, 663, 898, 198, 6551, 13, 632, 318, 3499, 284, 12414, 326, 262, 22939, 318, 884, 326, 262, 198, 16159, 4122, 286, 262, 9753, 6100, 18644, 739, 262, 2116, 12, 6551, 357, 2902, 904, 306, 7924, 8, 198, 2220, 13, 8673, 428, 318, 530, 1738, 1521, 262, 1917, 318, 407, 15836, 198, 77, 6975, 1146, 13, 220, 198, 37811, 198, 21412, 9036, 62, 85, 1721, 62, 9288, 198, 198, 3500, 6208, 198, 3500, 44800, 2348, 29230, 198, 3500, 4463, 36, 31391, 198, 3500, 4463, 36, 31391, 7469, 273, 14993, 451, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 51, 18, 26796, 25, 376, 1546, 316, 23248, 51, 18, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 1546, 316, 23248, 48, 19, 26796, 25, 376, 1546, 316, 23248, 48, 19, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 37, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 3500, 4463, 36, 31391, 37, 2588, 44909, 942, 13, 24864, 18274, 346, 26796, 25, 4238, 62, 49, 3245, 11, 4296, 62, 10599, 341, 62, 3245, 0, 198, 3500, 4463, 36, 31391, 13, 37031, 43834, 26796, 13, 36392, 42, 16594, 25, 410, 30488, 13564, 198, 198, 8818, 4808, 41049, 7, 15414, 796, 366, 5657, 2411, 85, 1721, 62, 82, 18, 81, 62, 38125, 343, 2301, 13, 259, 79, 1600, 38350, 796, 2081, 8, 198, 220, 220, 220, 412, 796, 513, 13, 15, 68, 21, 26, 198, 220, 220, 220, 14364, 796, 657, 13, 15, 26, 198, 220, 220, 220, 20735, 796, 513, 13, 15, 26, 198, 220, 220, 220, 15621, 796, 20735, 14, 1238, 198, 220, 220, 220, 1303, 30063, 4610, 329, 262, 11723, 825, 1564, 739, 262, 3440, 198, 220, 220, 220, 4284, 83, 62, 34453, 796, 532, 15, 13, 1270, 1731, 9, 1065, 26, 198, 220, 220, 220, 371, 796, 1679, 13, 15, 9, 1065, 26, 198, 220, 220, 220, 406, 796, 2026, 13, 15, 9, 1065, 26, 198, 220, 220, 220, 1296, 377, 796, 376, 3620, 44, 23248, 51, 18, 5777, 26796, 198, 220, 220, 220, 220, 198, 220, 220, 220, 5072, 796, 1330, 62, 32, 4339, 48, 2937, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 3419, 828, 5128, 4008, 198, 220, 220, 220, 277, 641, 796, 5072, 14692, 69, 641, 8973, 198, 220, 220, 220, 277, 274, 796, 5072, 14692, 69, 274, 1039, 1, 7131, 16, 60, 628, 220, 220, 220, 220, 1303, 5421, 278, 3524, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 5884, 796, 1064, 403, 1102, 20471, 4147, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 277, 641, 11, 649, 62, 17618, 278, 796, 16001, 77, 4147, 7, 69, 641, 11, 5884, 1776, 198, 220, 220, 220, 277, 274, 796, 8851, 4494, 37043, 0, 7, 69, 274, 11, 649, 62, 17618, 278, 1776, 628, 220, 220, 220, 277, 641, 11, 277, 274, 796, 4017, 5235, 4147, 7, 69, 641, 11, 277, 274, 11, 20735, 14, 940, 8, 628, 220, 220, 220, 1303, 21528, 796, 3797, 7, 29487, 62, 13200, 62, 3524, 26933, 58, 15, 657, 532, 49, 14, 17, 11208, 685, 49, 14, 17, 371, 14, 17, 371, 14, 17, 11907, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 77, 4147, 7, 69, 641, 828, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 7110, 62, 76, 2340, 333, 2550, 7, 69, 641, 11, 277, 274, 1776, 198, 220, 220, 220, 1303, 5391, 82, 796, 352, 8, 198, 220, 220, 220, 1303, 458, 796, 8543, 7, 489, 1747, 8, 628, 220, 220, 220, 26910, 796, 6550, 7469, 273, 9527, 459, 40, 568, 7, 7469, 273, 17633, 7738, 18, 35, 11, 412, 11, 14364, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2488, 10951, 366, 37031, 25, 720, 15414, 1, 628, 220, 220, 220, 264, 69, 274, 796, 376, 1546, 316, 23248, 51, 18, 3419, 198, 220, 220, 220, 2453, 83, 1098, 34637, 7, 69, 274, 11, 264, 69, 274, 8, 198, 220, 220, 220, 2796, 76, 796, 1296, 377, 13, 15883, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 16, 828, 20735, 828, 26910, 8, 198, 220, 220, 220, 2796, 76, 13, 16680, 62, 417, 62, 7857, 796, 657, 13, 17, 198, 220, 220, 220, 2796, 76, 13, 7109, 4509, 62, 301, 733, 1108, 62, 9888, 796, 657, 13, 16, 198, 220, 220, 220, 49586, 796, 1296, 377, 13, 301, 733, 1108, 198, 220, 220, 220, 11602, 469, 15748, 0, 796, 1296, 377, 13, 562, 47615, 469, 15748, 0, 628, 220, 220, 220, 1303, 28407, 262, 37088, 7032, 11, 22939, 290, 29358, 198, 220, 220, 220, 1303, 20768, 1096, 8398, 9633, 198, 220, 220, 220, 4903, 296, 15, 796, 399, 375, 282, 15878, 7, 69, 641, 13, 5431, 89, 8, 198, 220, 220, 220, 334, 15, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 513, 4008, 198, 220, 220, 220, 371, 3245, 15, 796, 4238, 62, 49, 3245, 7, 69, 641, 8, 198, 220, 220, 220, 288, 11072, 796, 399, 375, 282, 15878, 7, 9107, 418, 7, 7857, 7, 69, 641, 13, 5431, 89, 11, 16, 828, 718, 4008, 628, 220, 220, 220, 1303, 410, 30488, 13564, 7203, 5657, 2411, 62, 85, 1721, 62, 9288, 12, 76, 5069, 13, 85, 28047, 1600, 277, 641, 11, 277, 274, 8, 198, 220, 220, 220, 1303, 275, 69, 274, 796, 19609, 7784, 560, 7, 69, 274, 8, 198, 220, 220, 220, 1303, 410, 30488, 13564, 7203, 5657, 2411, 62, 85, 1721, 62, 9288, 12, 7784, 560, 12, 76, 5069, 13, 85, 28047, 1600, 277, 641, 11, 275, 69, 274, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 27967, 412, 2749, 338, 198, 220, 220, 220, 1303, 24666, 312, 2566, 6570, 22562, 76, 886, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 532, 18943, 4806, 657, 657, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 16, 11, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 6614, 286, 40686, 47190, 284, 1168, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 532, 18943, 4806, 406, 14, 17, 406, 14, 17, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 18, 11, 19, 11, 20, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 6614, 286, 40686, 47190, 284, 575, 357, 1758, 87, 8, 198, 220, 220, 220, 300, 16, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 657, 657, 532, 18943, 4806, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 329, 1312, 287, 685, 17, 11, 19, 11, 21, 60, 198, 220, 220, 220, 220, 220, 220, 220, 900, 1765, 66, 0, 7, 67, 11072, 11, 300, 16, 11, 2081, 11, 1312, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 220, 198, 220, 220, 220, 4174, 1765, 66, 0, 7, 67, 11072, 8, 198, 220, 220, 220, 1271, 67, 1659, 82, 0, 7, 67, 11072, 1776, 628, 220, 220, 220, 1303, 1081, 15140, 262, 1080, 17593, 198, 220, 220, 220, 11602, 469, 15748, 0, 7, 69, 368, 76, 11, 4903, 296, 15, 8, 198, 220, 220, 220, 509, 796, 49586, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 334, 15, 11, 371, 3245, 15, 11, 288, 11072, 1776, 628, 220, 220, 220, 1303, 8778, 198, 220, 220, 220, 1303, 7215, 4122, 286, 262, 1479, 5743, 198, 220, 220, 220, 299, 75, 796, 2922, 17440, 7, 69, 641, 26, 3091, 796, 48436, 2414, 58, 12, 18943, 4806, 7813, 7, 1821, 14, 15277, 9, 17, 9, 14415, 27493, 49, 7813, 7, 1821, 14, 15277, 9, 17, 9, 14415, 27493, 49, 406, 14, 17, 406, 14, 17, 4357, 1167, 17660, 796, 15621, 8, 198, 220, 220, 220, 300, 69, 368, 76, 796, 376, 3620, 10744, 589, 7, 34500, 43961, 7, 69, 274, 11, 7563, 31929, 7, 18, 22305, 198, 220, 220, 220, 25912, 796, 5221, 5317, 6377, 7, 5777, 2528, 58, 12, 15, 13, 26704, 11, 657, 11, 657, 11, 657, 11, 657, 11, 657, 36563, 198, 220, 220, 220, 376, 796, 1233, 822, 46030, 7, 1652, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 25912, 11, 513, 1776, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2488, 259, 10379, 2213, 378, 198, 220, 220, 220, 1303, 4294, 303, 198, 220, 220, 220, 471, 796, 509, 59, 37, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 471, 58, 25, 12962, 628, 220, 220, 220, 2496, 84, 796, 220, 288, 11072, 13, 27160, 58, 21283, 11, 352, 7131, 16, 60, 198, 220, 220, 220, 1303, 2488, 10951, 366, 46344, 25, 29568, 744, 7, 16793, 84, 11, 19561, 28, 23, 36911, 220, 29568, 744, 7, 16793, 84, 14, 38200, 83, 62, 34453, 11, 19561, 796, 604, 27493, 3064, 8, 39658, 628, 220, 220, 220, 1303, 2980, 378, 257, 27831, 3359, 286, 1255, 1187, 198, 220, 220, 220, 17327, 521, 8143, 0, 7, 66, 5796, 265, 448, 3712, 5777, 2528, 19044, 11, 41420, 57, 3712, 5777, 2528, 19044, 11, 13875, 658, 3712, 5777, 2528, 19044, 11, 730, 62, 18242, 3712, 37, 5317, 8, 796, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 374, 796, 532, 35138, 7, 34278, 57, 1776, 374, 58, 18, 60, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 269, 5796, 265, 448, 58, 45299, 513, 60, 764, 28, 43030, 7, 81, 20679, 27237, 7, 35138, 7, 81, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 269, 5796, 265, 448, 58, 45299, 362, 60, 764, 28, 357, 15, 13, 15, 11, 657, 13, 15, 11, 352, 13, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3272, 18, 0, 7, 1177, 7, 66, 5796, 265, 448, 11, 1058, 11, 352, 828, 1570, 7, 66, 5796, 265, 448, 11, 1058, 11, 362, 828, 1570, 7, 66, 5796, 265, 448, 11, 1058, 11, 513, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 269, 5796, 265, 448, 198, 220, 220, 220, 886, 198, 220, 220, 220, 267, 6359, 893, 796, 9429, 893, 7, 18, 11, 513, 11, 17327, 521, 8143, 8133, 198, 220, 220, 220, 1332, 62, 43420, 796, 685, 198, 220, 220, 220, 13841, 1314, 1238, 13, 2414, 2920, 21940, 2623, 2996, 1828, 11, 1478, 13, 15, 3134, 1821, 26073, 44675, 20, 33372, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 4790, 13, 23, 2075, 22291, 4051, 2075, 23349, 11, 220, 220, 36959, 13, 24, 24760, 21526, 1507, 1129, 31938, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 15, 13, 22544, 2682, 14686, 19442, 1495, 2857, 30336, 11, 860, 4310, 13, 2931, 1959, 2548, 2623, 31675, 1828, 8, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 16578, 945, 796, 17635, 198, 220, 220, 220, 329, 299, 66, 287, 352, 25, 18, 198, 220, 220, 220, 220, 220, 220, 220, 277, 335, 796, 2214, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 32542, 298, 11, 299, 66, 11, 5072, 6359, 893, 796, 267, 6359, 893, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 277, 335, 796, 9766, 76, 3245, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 32542, 298, 11, 299, 66, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1416, 282, 945, 11, 5855, 76, 3, 10782, 1600, 277, 335, 13, 27160, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 39504, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 16, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 47033, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 17, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 410, 30488, 13564, 7203, 3, 7, 15414, 13219, 76, 13, 85, 28047, 1600, 277, 641, 11, 277, 274, 26, 16578, 945, 796, 16578, 945, 11, 30104, 796, 685, 7203, 84, 1600, 288, 11072, 13, 27160, 58, 45299, 352, 25, 18, 12962, 12962, 198, 220, 220, 220, 1332, 62, 43420, 796, 685, 198, 220, 220, 220, 13841, 20548, 13, 5999, 25399, 1415, 3388, 25540, 1954, 11, 220, 40286, 13, 3365, 1899, 2079, 31020, 2075, 2857, 828, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 8784, 16, 13, 2780, 37967, 3324, 34808, 34801, 11, 220, 362, 21940, 13, 36676, 2682, 3695, 46900, 21940, 828, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 39925, 13, 2327, 830, 3559, 1959, 486, 2718, 11, 220, 220, 8644, 13, 2548, 2154, 1270, 20666, 22, 3459, 5237, 828, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 16578, 945, 796, 17635, 198, 220, 220, 220, 329, 299, 66, 287, 352, 25, 18, 198, 220, 220, 220, 220, 220, 220, 220, 277, 335, 796, 2214, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 11883, 1671, 1531, 11, 299, 66, 11, 5072, 6359, 893, 796, 267, 6359, 893, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 277, 335, 796, 9766, 76, 3245, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 32542, 298, 11, 299, 66, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1416, 282, 945, 11, 5855, 77, 3, 10782, 1600, 277, 335, 13, 27160, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 39504, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 16, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 47033, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 17, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 410, 30488, 13564, 7203, 3, 7, 15414, 13219, 77, 13, 85, 28047, 1600, 277, 641, 11, 277, 274, 26, 16578, 945, 796, 16578, 945, 11, 30104, 796, 685, 7203, 84, 1600, 288, 11072, 13, 27160, 58, 45299, 352, 25, 18, 12962, 12962, 198, 220, 220, 220, 1332, 62, 43420, 796, 685, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 1485, 13, 3695, 2857, 2414, 11623, 3104, 3459, 1157, 11, 2310, 13, 1433, 4310, 10232, 2996, 3682, 1065, 2718, 828, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 13841, 22, 13, 3682, 1433, 4846, 27936, 1959, 1433, 13381, 11, 1679, 13, 3134, 4089, 486, 2548, 29626, 1959, 3134, 8, 220, 220, 198, 220, 220, 220, 2361, 198, 220, 220, 220, 16578, 945, 796, 17635, 198, 220, 220, 220, 329, 299, 66, 287, 352, 25, 17, 198, 220, 220, 220, 220, 220, 220, 220, 277, 335, 796, 2214, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 7091, 283, 11, 299, 66, 11, 5072, 6359, 893, 796, 267, 6359, 893, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 277, 335, 796, 9766, 76, 3245, 6738, 18908, 13033, 7, 69, 368, 76, 11, 4903, 296, 15, 11, 288, 11072, 11, 1058, 32542, 298, 11, 299, 66, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 1416, 282, 945, 11, 5855, 80, 3, 10782, 1600, 277, 335, 13, 27160, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 39504, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 16, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 318, 1324, 13907, 7, 47033, 7, 69, 335, 13, 27160, 828, 1332, 62, 43420, 58, 10782, 7131, 17, 4357, 374, 83, 349, 796, 657, 13, 486, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1303, 410, 30488, 13564, 7203, 3, 7, 15414, 13219, 80, 13, 85, 28047, 1600, 277, 641, 11, 277, 274, 26, 16578, 945, 796, 16578, 945, 11, 30104, 796, 685, 7203, 84, 1600, 288, 11072, 13, 27160, 58, 45299, 352, 25, 18, 12962, 12962, 628, 220, 220, 220, 1303, 15612, 1634, 198, 220, 220, 220, 611, 5145, 41464, 1096, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2081, 198, 220, 220, 220, 886, 198, 220, 220, 220, 629, 34387, 893, 35138, 0, 7, 67, 11072, 11, 357, 49, 14, 17, 20679, 47033, 7, 8937, 12195, 52, 29720, 9, 52, 8, 198, 220, 220, 220, 4296, 62, 10599, 341, 62, 3245, 0, 7, 49, 3245, 15, 11, 288, 11072, 8, 198, 220, 220, 220, 21528, 796, 3797, 7, 29487, 62, 13200, 62, 3524, 26933, 58, 15, 657, 532, 49, 11208, 685, 49, 371, 371, 11907, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7110, 62, 77, 4147, 7, 69, 641, 828, 198, 220, 220, 220, 220, 220, 220, 220, 7110, 62, 76, 2340, 333, 2550, 7, 69, 641, 11, 277, 274, 26, 2124, 796, 4903, 296, 15, 13, 27160, 11, 334, 796, 288, 11072, 13, 27160, 58, 45299, 352, 25, 18, 4357, 371, 796, 371, 3245, 15, 13, 27160, 1776, 198, 220, 220, 220, 5391, 82, 796, 352, 8, 198, 220, 220, 220, 458, 796, 8543, 7, 489, 1747, 8, 198, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 8818, 1332, 62, 1102, 332, 12745, 3419, 198, 220, 220, 220, 220, 198, 220, 220, 220, 1303, 2488, 10951, 366, 3351, 585, 417, 271, 12, 27654, 2275, 30188, 385, 2746, 1, 628, 220, 220, 220, 4808, 41049, 7203, 5657, 2411, 85, 1721, 62, 33565, 18, 62, 343, 2301, 13, 259, 79, 1600, 3991, 8, 628, 220, 220, 220, 1303, 4808, 41049, 7203, 5657, 2411, 85, 1721, 62, 82, 18, 81, 62, 38125, 343, 2301, 13, 259, 79, 1600, 3991, 8, 628, 220, 220, 220, 1441, 2081, 198, 437, 198, 198, 9288, 62, 1102, 332, 12745, 3419, 198, 198, 437, 1303, 8265, 628 ]
2.223299
10,730
# Predefined functions and values const ϵ = 0.5 const ξ = 0.01 invfun(x) = 1/x function rademacherDistribution!(v) o = one(eltype(v)) v .= Base.rand.(Ref(-o:2*o:o)) end
[ 2, 14322, 18156, 5499, 290, 3815, 198, 9979, 18074, 113, 796, 657, 13, 20, 198, 9979, 7377, 122, 796, 657, 13, 486, 198, 198, 16340, 12543, 7, 87, 8, 796, 352, 14, 87, 198, 198, 8818, 2511, 368, 3493, 20344, 3890, 0, 7, 85, 8, 198, 220, 220, 220, 267, 796, 530, 7, 417, 4906, 7, 85, 4008, 198, 220, 220, 220, 410, 764, 28, 7308, 13, 25192, 12195, 8134, 32590, 78, 25, 17, 9, 78, 25, 78, 4008, 198, 437, 198 ]
2.182927
82
export create_guild, get_guild, modify_guild, delete_guild, get_guild_channels, create_guild_channel, modify_guild_channel_positions, get_guild_member, list_guild_members, add_guild_member, modify_guild_member, modify_current_user_nick, add_guild_member_role, remove_guild_member_role, remove_guild_member, get_guild_bans, get_guild_ban, create_guild_ban, remove_guild_ban, get_guild_roles, create_guild_role, modify_guild_role_positions, modify_guild_role, delete_guild_role, get_guild_prune_count, begin_guild_prune, get_guild_voice_regions, get_guild_invites, get_guild_integrations, create_guild_integration, modify_guild_integration, delete_guild_integration, sync_guild_integration, get_guild_embed, modify_guild_embed, get_vanity_url, get_guild_widget_image """ create_guild_scheduled_event(c::Client, guild::Integer; kwargs...) Create a Guild Scheduled Event. More details [here](https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event) """ function create_guild_scheduled_event(c::Client, guild::Integer, s::ScheduledEvent; kwargs...) return Response{ScheduledEvent}(c, :POST, "/guilds/$(guild)/scheduled-events"; body=s) end """ modify_guild_scheduled_event(c::Client, guild::Integer; kwargs...) Modify a Guild Scheduled Event. More details [here](https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event) """ function modify_guild_scheduled_event(c::Client, guild::Integer, s::ScheduledEvent; kwargs...) return Response{ScheduledEvent}(c, :PATCH, "/guilds/$(guild)/scheduled-events/$(s.id)"; body=s) end """ delete_guild_scheduled_event(c::Client, guild::Integer; kwargs...) Delete a Guild Scheduled Event. More details [here](https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event) """ function delete_guild_scheduled_event(c::Client, guild::Integer, s::ScheduledEvent) return Response(c, :DELETE, "/guilds/$(guild)/scheduled-events/$(s.id)") end """ get_guild_scheduled_event(c::Client, guild::Integer; kwargs...) Get a Guild Scheduled Event. More details [here](https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event) """ function get_guild_scheduled_event(c::Client, guild::Integer, s::Integer; kwargs...) return Response{ScheduledEvent}(c, :GET, "/guilds/$(guild)/scheduled-events/$(s.id)", body=kwargs) end """ create_guild(c::Client; kwargs...) -> Guild Create a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#create-guild). """ function create_guild(c::Client; kwargs...) return Response{Guild}(c, :POST, "/guilds"; body=kwargs) end """ get_guild(c::Client, guild::Integer) -> Guild Get a [`Guild`](@ref). """ function get_guild(c::Client, guild::Integer) return Response{Guild}(c, :GET, "/guilds/$guild") end """ modify_guild(c::Client, guild::Integer; kwargs...) -> Guild Edit a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild). """ function modify_guild(c::Client, guild::Integer; kwargs...) return Response{Guild}(c, :PATCH, "/guilds/$guild"; body=kwargs) end """ delete_guild(c::Client, guild::Integer) Delete a [`Guild`](@ref). """ function delete_guild(c::Client, guild::Integer) return Response(c, :DELETE, "/guilds/$guild") end """ get_guild_channels(c::Client, guild::Integer) -> Vector{DiscordChannel} Get the [`DiscordChannel`](@ref)s in a [`Guild`](@ref). """ function get_guild_channels(c::Client, guild::Integer) return Response{Vector{DiscordChannel}}(c, :GET, "/guilds/$guild/channels") end """ create_guild_channel(c::Client, guild::Integer; kwargs...) -> DiscordChannel Create a [`DiscordChannel`](@ref) in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#create-guild-channel). """ function create_guild_channel(c::Client, guild::Integer; kwargs...) return Response{DiscordChannel}(c, :POST, "/guilds/$guild/channels"; body=kwargs) end """ modify_guild_channel_positions(c::Client, guild::Integer, positions...) Modify the positions of [`DiscordChannel`](@ref)s in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-channel-positions). """ function modify_guild_channel_positions(c::Client, guild::Integer, positions...) return Response(c, :PATCH, "/guilds/$guild/channels"; body=positions) end """ get_guild_member(c::Client, guild::Integer, user::Integer) -> Member Get a [`Member`](@ref) in a [`Guild`](@ref). """ function get_guild_member(c::Client, guild::Integer, user::Integer) return Response{Member}(c, :GET, "/guilds/$guild/members/$user") end """ list_guild_members(c::Client, guild::Integer; kwargs...) -> Vector{Member} Get a list of [`Member`](@ref)s in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#list-guild-members). """ function list_guild_members(c::Client, guild::Integer; kwargs...) return Response{Vector{Member}}(c, :GET, "/guilds/$guild/members"; kwargs...) end """ add_guild_member(c::Client; kwargs...) -> Member Add a [`User`](@ref) to a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#add-guild-member). """ function add_guild_member(c::Client, guild::Integer, user::Integer; kwargs...) return Response{Member}(c, :PUT, "/guilds/$guild/members/$user"; body=kwargs) end """ modify_guild__member(c::Client, guild::Integer, user::Integer; kwargs...) Modify a [`Member`](@ref) in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-member). """ function modify_guild_member(c::Client, guild::Integer, user::Integer; kwargs...) return Response(c, :PATCH, "/guilds/$guild/members/$user"; body=kwargs) end """ modify_current_user_nick(c::Client, guild::Intger; kwargs...) -> String Modify the [`Client`](@ref) user's nickname in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-current-user-nick). """ function modify_current_user_nick(c::Client, guild::Integer; kwargs...) return Response{String}(c, :PATCH, "/guilds/$guild/members/@me/nick"; body=kwargs) end """ add_guild_member_role(c::Client, guild::Integer, user::Integer, role::Integer) Add a [`Role`](@ref) to a [`Member`](@ref). """ function add_guild_member_role(c::Client, guild::Integer, user::Integer, role::Integer) return Response(c, :PUT, "/guilds/$guild/members/$user/roles/$role") end """ remove_guild_member_role(c::Client, guild::Integer, user::Integer, role::Integer) Remove a [`Role`](@ref) from a [`Member`](@ref). """ function remove_guild_member_role(c::Client, guild::Integer, user::Integer, role::Integer) return Response(c, :DELETE, "/guilds/$guild/members/$user/roles/$role") end """ remove_guild_member(c::Client, guild::Integer, user::Integer) Kick a [`Member`](@ref) from a [`Guild`](@ref). """ function remove_guild_member(c::Client, guild::Integer, user::Integer) return Response(c, :DELETE, "/guilds/$guild/members/$user") end """ get_guild_bans(c::Client, guild::Integer) -> Vector{Ban} Get a list of [`Ban`](@ref)s in a [`Guild`](@ref). """ function get_guild_bans(c::Client, guild::Integer) return Response{Vector{Ban}}(c, :GET, "/guilds/$guild/bans") end """ get_ban(c::Client, guild::Integer, user::Integer) -> Ban Get a [`Ban`](@ref) in a [`Guild`](@ref). """ function get_guild_ban(c::Client, guild::Integer, user::Integer) return Response{Ban}(c, :GET, "/guilds/$guild/bans/$user") end """ create_guild_ban(c::Client, guild::Integer, user::Integer; kwargs...) Ban a [`Member`](@ref) from a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#create-guild-ban). """ function create_guild_ban(c::Client, guild::Integer, user::Integer; kwargs...) return Response(c, :PUT, "/guilds/$guild/bans/$user"; kwargs...) end """ remove_guild_ban(c::Client, guild::Integer, user::Integer) Unban a [`User`](@ref) from a [`Guild`](@ref). """ function remove_guild_ban(c::Client, guild::Integer, user::Integer) return Response(c, :DELETE, "/guilds/$guild/bans/$user") end """ get_guild_roles(c::Client, guild::Integer) -> Vector{Role} Get a [`Guild`](@ref)'s [`Role`](@ref)s. """ function get_guild_roles(c::Client, guild::Integer) return Response{Vector{Role}}(c, :GET, "/guilds/$guild/roles") end """ create_guild_role(c::Client, guild::Integer; kwargs) -> Role Create a [`Role`](@ref) in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#create-guild-role). """ function create_guild_role(c::Client, guild::Integer; kwargs...) return Response{Role}(c, :POST, "/guilds/$guild/roles"; body=kwargs) end """ modify_guild_role_positions(c::Client, guild::Integer, positions...) -> Vector{Role} Modify the positions of [`Role`](@ref)s in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-role-positions). """ function modify_guild_role_positions(c::Client, guild::Integer, positions...) return Response{Vector{Role}}(c, :PATCH, "/guilds/$guild/roles"; body=positions) end """ modify_guild_role(c::Client, guild::Integer, role::Integer; kwargs) -> Role Modify a [`Role`](@ref) in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-role). """ function modify_guild_role(c::Client, guild::Integer, role::Integer; kwargs...) return Response{Role}(c, :PATCH, "/guilds/$guild/roles/$role"; body=kwargs) end """ delete_guild_role(c::Client, guild::Integer, role::Integer) Delete a [`Role`](@ref) from a [`Guild`](@ref). """ function delete_guild_role(c::Client, guild::Integer, role::Integer) return Response(c, :DELETE, "/guilds/$guild/roles/$role") end """ get_guild_prune_count(c::Client, guild::Integer; kwargs...) -> Dict Get the number of [`Member`](@ref)s that would be removed from a [`Guild`](@ref) in a prune. More details [here](https://discordapp.com/developers/docs/resources/guild#get-guild-prune-count). """ function get_guild_prune_count(c::Client, guild::Integer; kwargs...) return Response{Dict}(c, :GET, "/guilds/$guild/prune"; kwargs...) end """ begin_guild_prune(c::Client, guild::Integer; kwargs...) -> Dict Begin pruning [`Member`](@ref)s from a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#begin-guild-prune). """ function begin_guild_prune(c::Client, guild::Integer; kwargs...) return Response{Dict}(c, :POST, "/guilds/$guild/prune"; kwargs...) end """ get_guild_voice_regions(c::Client, guild::Integer) -> Vector{VoiceRegion} Get a list of [`VoiceRegion`](@ref)s for the [`Guild`](@ref). """ function get_guild_voice_regions(c::Client, guild::Integer) return Response{Vector{VoiceRegion}}(c, :GET, "/guilds/$guild/regions") end """ get_guild_invites(c::Client, guild::Integer) -> Vector{Invite} Get a list of [`Invite`](@ref)s to a [`Guild`](@ref). """ function get_guild_invites(c::Client, guild::Integer) return Response{Vector{Invite}}(c, :GET, "/guilds/$guild/invites") end """ get_guild_integrations(c::Client, guild::Integer) -> Vector{Integration} Get a list of [`Integration`](@ref)s for a [`Guild`](@ref). """ function get_guild_integrations(c::Client, guild::Integer) return Response{Vector{Integration}}(c, :GET, "/guilds/$guild/integrations") end """ create_guild_integration(c::Client, guild::Integer; kwargs...) Create/attach an [`Integration`](@ref) to a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#create-guild-integration). """ function create_guild_integration(c::Client, guild::Integer; kwargs...) return Response{Integration}(c, :POST, "/guilds/$guild/integrations"; body=kwargs) end """ modify_guild_integration(c::Client, guild::Integer, integration::Integer; kwargs...) Modify an [`Integration`](@ref) in a [`Guild`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-integration). """ function modify_guild_integration( c::Client, guild::Integer, integration::Integer; kwargs..., ) return Response(c, :PATCH, "/guilds/$guild/integrations/$integration"; body=kwargs) end """ delete_guild_integration(c::Client, guild::Integer, integration::Integer) Delete an [`Integration`](@ref) from a [`Guild`](@ref). """ function delete_guild_integration(c::Client, guild::Integer, integration::Integer) return Response(c, :DELETE, "/guilds/$guild/integrations/$integration") end """ sync_guild_integration(c::Client, guild::Integer, integration::Integer) Sync an [`Integration`](@ref) in a [`Guild`](@ref). """ function sync_guild_integration(c::Client, guild::Integer, integration::Integer) return Response(c, :POST, "/guilds/$guild/integrations/$integration/sync") end """ get_guild_embed(c::Client, guild::Integer) -> GuildEmbed Get a [`Guild`](@ref)'s [`GuildEmbed`](@ref). """ function get_guild_embed(c::Client, guild::Integer) return Response{GuildEmbed}(c, :GET, "/guilds/$guild/embed") end """ modify_guild_embed(c::Client, guild::Integer; kwargs...) -> GuildEmbed Modify a [`Guild`](@ref)'s [`GuildEmbed`](@ref). More details [here](https://discordapp.com/developers/docs/resources/guild#modify-guild-embed). """ function modify_guild_embed(c::Client, guild::Integer; kwargs...) return Response{GuildEmbed}(c, :PATCH, "/guilds/$guild/embed"; body=kwargs) end """ get_vanity_url(c::Client, guild::Integer) -> Invite Get a [`Guild`](@ref)'s vanity URL, if it supports that feature. """ function get_vanity_url(c::Client, guild::Integer) return Response{Invite}(c, :GET, "/guilds/$guild/vanity-url") end """ get_guild_widget_image(c::Client, guild::Integer; kwargs...) -> Vector{UInt8} Get a [`Guild`](@ref)'s widget image in PNG format. More details [here](https://discordapp.com/developers/docs/resources/guild#get-guild-widget-image). """ function get_guild_widget_image(c::Client, guild::Integer; kwargs...) return Response{Vector{UInt8}}(c, :GET, "/guilds/$guild/widget.png"; kwargs...) end
[ 39344, 2251, 62, 70, 3547, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 11, 198, 220, 220, 220, 12233, 62, 70, 3547, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 354, 8961, 11, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 17620, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 17620, 62, 1930, 1756, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 19522, 11, 198, 220, 220, 220, 1351, 62, 70, 3547, 62, 30814, 11, 198, 220, 220, 220, 751, 62, 70, 3547, 62, 19522, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 19522, 11, 198, 220, 220, 220, 13096, 62, 14421, 62, 7220, 62, 17172, 11, 198, 220, 220, 220, 751, 62, 70, 3547, 62, 19522, 62, 18090, 11, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 19522, 62, 18090, 11, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 19522, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 65, 504, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 3820, 11, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 3820, 11, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 3820, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 305, 829, 11, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 18090, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18090, 62, 1930, 1756, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18090, 11, 198, 220, 220, 220, 12233, 62, 70, 3547, 62, 18090, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 1050, 1726, 62, 9127, 11, 198, 220, 220, 220, 2221, 62, 70, 3547, 62, 1050, 1726, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 38888, 62, 2301, 507, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 16340, 2737, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 18908, 9143, 11, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 18908, 1358, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18908, 1358, 11, 198, 220, 220, 220, 12233, 62, 70, 3547, 62, 18908, 1358, 11, 198, 220, 220, 220, 17510, 62, 70, 3547, 62, 18908, 1358, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 20521, 11, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 20521, 11, 198, 220, 220, 220, 651, 62, 10438, 414, 62, 6371, 11, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 42655, 62, 9060, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 16447, 257, 16446, 27774, 6309, 8558, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 2, 17953, 12, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 8, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 264, 3712, 50, 1740, 6309, 9237, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 50, 1740, 6309, 9237, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 7, 70, 3547, 20679, 1416, 704, 6309, 12, 31534, 8172, 1767, 28, 82, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 5841, 1958, 257, 16446, 27774, 6309, 8558, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 2, 4666, 1958, 12, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 8, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 264, 3712, 50, 1740, 6309, 9237, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 50, 1740, 6309, 9237, 92, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 7, 70, 3547, 20679, 1416, 704, 6309, 12, 31534, 32624, 7, 82, 13, 312, 8, 8172, 1767, 28, 82, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 12233, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 38727, 257, 16446, 27774, 6309, 8558, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 2, 33678, 12, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 8, 198, 37811, 198, 8818, 12233, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 264, 3712, 50, 1740, 6309, 9237, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 7, 70, 3547, 20679, 1416, 704, 6309, 12, 31534, 32624, 7, 82, 13, 312, 8, 4943, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 3855, 257, 16446, 27774, 6309, 8558, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 2, 1136, 12, 70, 3547, 12, 1416, 704, 6309, 12, 15596, 8, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 1416, 704, 6309, 62, 15596, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 264, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 50, 1740, 6309, 9237, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 7, 70, 3547, 20679, 1416, 704, 6309, 12, 31534, 32624, 7, 82, 13, 312, 42501, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 7, 66, 3712, 11792, 26, 479, 86, 22046, 23029, 4613, 16446, 198, 198, 16447, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 17953, 12, 70, 3547, 737, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 7, 66, 3712, 11792, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38, 3547, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 16446, 198, 198, 3855, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38, 3547, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 16446, 198, 198, 18378, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38, 3547, 92, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 12233, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 198, 38727, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 12233, 62, 70, 3547, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 354, 8961, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 15642, 585, 29239, 92, 198, 198, 3855, 262, 685, 63, 15642, 585, 29239, 63, 16151, 31, 5420, 8, 82, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 354, 8961, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 15642, 585, 29239, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 354, 8961, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 17620, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 39462, 29239, 198, 198, 16447, 257, 685, 63, 15642, 585, 29239, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 17953, 12, 70, 3547, 12, 17620, 737, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 62, 17620, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 15642, 585, 29239, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 354, 8961, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 17620, 62, 1930, 1756, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 6116, 23029, 198, 198, 5841, 1958, 262, 6116, 286, 685, 63, 15642, 585, 29239, 63, 16151, 31, 5420, 8, 82, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 17620, 12, 1930, 1756, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 17620, 62, 1930, 1756, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 6116, 23029, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 354, 8961, 8172, 1767, 28, 1930, 1756, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 4613, 10239, 198, 198, 3855, 257, 685, 63, 27608, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 27608, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 1351, 62, 70, 3547, 62, 30814, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 20650, 90, 27608, 92, 198, 198, 3855, 257, 1351, 286, 685, 63, 27608, 63, 16151, 31, 5420, 8, 82, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4868, 12, 70, 3547, 12, 30814, 737, 198, 37811, 198, 8818, 1351, 62, 70, 3547, 62, 30814, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 27608, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 8172, 479, 86, 22046, 23029, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 751, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 26, 479, 86, 22046, 23029, 4613, 10239, 198, 198, 4550, 257, 685, 63, 12982, 63, 16151, 31, 5420, 8, 284, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 2860, 12, 70, 3547, 12, 19522, 737, 198, 37811, 198, 8818, 751, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 27608, 92, 7, 66, 11, 1058, 30076, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 834, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 5841, 1958, 257, 685, 63, 27608, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 19522, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 14421, 62, 7220, 62, 17172, 7, 66, 3712, 11792, 11, 19806, 3712, 5317, 1362, 26, 479, 86, 22046, 23029, 4613, 10903, 198, 198, 5841, 1958, 262, 685, 63, 11792, 63, 16151, 31, 5420, 8, 2836, 338, 21814, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 14421, 12, 7220, 12, 17172, 737, 198, 37811, 198, 8818, 13096, 62, 14421, 62, 7220, 62, 17172, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 10100, 92, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 14, 31, 1326, 14, 17172, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 751, 62, 70, 3547, 62, 19522, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 198, 4550, 257, 685, 63, 47445, 63, 16151, 31, 5420, 8, 284, 257, 685, 63, 27608, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 751, 62, 70, 3547, 62, 19522, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 30076, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 14, 305, 829, 32624, 18090, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 19522, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 198, 27914, 257, 685, 63, 47445, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 27608, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 4781, 62, 70, 3547, 62, 19522, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 14, 305, 829, 32624, 18090, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 198, 45390, 257, 685, 63, 27608, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 4781, 62, 70, 3547, 62, 19522, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 30814, 32624, 7220, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 65, 504, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 30457, 92, 198, 198, 3855, 257, 1351, 286, 685, 63, 30457, 63, 16151, 31, 5420, 8, 82, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 65, 504, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 30457, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 65, 504, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 220, 2836, 3712, 46541, 8, 4613, 10274, 198, 198, 3855, 257, 685, 63, 30457, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 30457, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 65, 504, 32624, 7220, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 30457, 257, 685, 63, 27608, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 17953, 12, 70, 3547, 12, 3820, 737, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 30076, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 65, 504, 32624, 7220, 8172, 479, 86, 22046, 23029, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 4781, 62, 70, 3547, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 198, 3118, 3820, 257, 685, 63, 12982, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 4781, 62, 70, 3547, 62, 3820, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2836, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 65, 504, 32624, 7220, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 305, 829, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 47445, 92, 198, 198, 3855, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 33047, 82, 685, 63, 47445, 63, 16151, 31, 5420, 8, 82, 13, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 305, 829, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 47445, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 305, 829, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 8, 4613, 20934, 198, 198, 16447, 257, 685, 63, 47445, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 17953, 12, 70, 3547, 12, 18090, 737, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 47445, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 305, 829, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18090, 62, 1930, 1756, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 6116, 23029, 4613, 20650, 90, 47445, 92, 198, 198, 5841, 1958, 262, 6116, 286, 685, 63, 47445, 63, 16151, 31, 5420, 8, 82, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 18090, 12, 1930, 1756, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 18090, 62, 1930, 1756, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 6116, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 47445, 11709, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 305, 829, 8172, 1767, 28, 1930, 1756, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2597, 3712, 46541, 26, 479, 86, 22046, 8, 4613, 20934, 198, 198, 5841, 1958, 257, 685, 63, 47445, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 18090, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2597, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 47445, 92, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 305, 829, 32624, 18090, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 12233, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 198, 38727, 257, 685, 63, 47445, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 12233, 62, 70, 3547, 62, 18090, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 2597, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 305, 829, 32624, 18090, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 1050, 1726, 62, 9127, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 360, 713, 198, 198, 3855, 262, 1271, 286, 685, 63, 27608, 63, 16151, 31, 5420, 8, 82, 326, 561, 307, 4615, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 8, 287, 257, 778, 1726, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 1136, 12, 70, 3547, 12, 1050, 1726, 12, 9127, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 1050, 1726, 62, 9127, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 35, 713, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 1050, 1726, 8172, 479, 86, 22046, 23029, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2221, 62, 70, 3547, 62, 1050, 1726, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 360, 713, 198, 198, 44140, 778, 46493, 685, 63, 27608, 63, 16151, 31, 5420, 8, 82, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 27471, 12, 70, 3547, 12, 1050, 1726, 737, 198, 37811, 198, 8818, 2221, 62, 70, 3547, 62, 1050, 1726, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 35, 713, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 1050, 1726, 8172, 479, 86, 22046, 23029, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 38888, 62, 2301, 507, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 35708, 47371, 92, 198, 198, 3855, 257, 1351, 286, 685, 63, 35708, 47371, 63, 16151, 31, 5420, 8, 82, 329, 262, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 38888, 62, 2301, 507, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 35708, 47371, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 2301, 507, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 16340, 2737, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 19904, 578, 92, 198, 198, 3855, 257, 1351, 286, 685, 63, 19904, 578, 63, 16151, 31, 5420, 8, 82, 284, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 16340, 2737, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 19904, 578, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 16340, 2737, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 18908, 9143, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 20650, 90, 34500, 1358, 92, 198, 198, 3855, 257, 1351, 286, 685, 63, 34500, 1358, 63, 16151, 31, 5420, 8, 82, 329, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 18908, 9143, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 34500, 1358, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 18908, 9143, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2251, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 16447, 14, 47348, 281, 685, 63, 34500, 1358, 63, 16151, 31, 5420, 8, 284, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 17953, 12, 70, 3547, 12, 18908, 1358, 737, 198, 37811, 198, 8818, 2251, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 34500, 1358, 92, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 18908, 9143, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 11812, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 198, 5841, 1958, 281, 685, 63, 34500, 1358, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 18908, 1358, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 18908, 1358, 7, 198, 220, 220, 220, 269, 3712, 11792, 11, 198, 220, 220, 220, 19806, 3712, 46541, 11, 198, 220, 220, 220, 11812, 3712, 46541, 26, 198, 220, 220, 220, 479, 86, 22046, 986, 11, 198, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 18908, 9143, 32624, 18908, 1358, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 12233, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 11812, 3712, 46541, 8, 198, 198, 38727, 281, 685, 63, 34500, 1358, 63, 16151, 31, 5420, 8, 422, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 12233, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 11812, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 7206, 2538, 9328, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 18908, 9143, 32624, 18908, 1358, 4943, 198, 437, 628, 198, 37811, 198, 220, 220, 220, 17510, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 11812, 3712, 46541, 8, 198, 198, 28985, 281, 685, 63, 34500, 1358, 63, 16151, 31, 5420, 8, 287, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 17510, 62, 70, 3547, 62, 18908, 1358, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 11, 11812, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 7, 66, 11, 1058, 32782, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 18908, 9143, 32624, 18908, 1358, 14, 27261, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 20521, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 16446, 31567, 276, 198, 198, 3855, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 33047, 82, 685, 63, 38, 3547, 31567, 276, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 20521, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 38, 3547, 31567, 276, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 20521, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 13096, 62, 70, 3547, 62, 20521, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 16446, 31567, 276, 198, 198, 5841, 1958, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 33047, 82, 685, 63, 38, 3547, 31567, 276, 63, 16151, 31, 5420, 737, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 4666, 1958, 12, 70, 3547, 12, 20521, 737, 198, 37811, 198, 8818, 13096, 62, 70, 3547, 62, 20521, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38, 3547, 31567, 276, 92, 7, 66, 11, 1058, 47, 11417, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 20521, 8172, 1767, 28, 46265, 22046, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 10438, 414, 62, 6371, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 4613, 10001, 578, 198, 198, 3855, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 33047, 82, 39609, 10289, 11, 611, 340, 6971, 326, 3895, 13, 198, 37811, 198, 8818, 651, 62, 10438, 414, 62, 6371, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 8, 198, 220, 220, 220, 1441, 18261, 90, 19904, 578, 92, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 10438, 414, 12, 6371, 4943, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 651, 62, 70, 3547, 62, 42655, 62, 9060, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 4613, 20650, 90, 52, 5317, 23, 92, 198, 198, 3855, 257, 685, 63, 38, 3547, 63, 16151, 31, 5420, 33047, 82, 26295, 2939, 287, 36182, 5794, 13, 198, 5167, 3307, 685, 1456, 16151, 5450, 1378, 15410, 585, 1324, 13, 785, 14, 16244, 364, 14, 31628, 14, 37540, 14, 70, 3547, 2, 1136, 12, 70, 3547, 12, 42655, 12, 9060, 737, 198, 37811, 198, 8818, 651, 62, 70, 3547, 62, 42655, 62, 9060, 7, 66, 3712, 11792, 11, 19806, 3712, 46541, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 1441, 18261, 90, 38469, 90, 52, 5317, 23, 11709, 7, 66, 11, 1058, 18851, 11, 12813, 70, 3547, 82, 32624, 70, 3547, 14, 42655, 13, 11134, 8172, 479, 86, 22046, 23029, 198, 437, 198 ]
2.60843
5,575
# SPDX-License-Identifier: X11 # 2020-12-07 # Day 1, Part 1 function main() input = parse.(Int, readlines()) nums = falses(2020) for x ∈ input nums[x] = true end for x ∈ input if 2020 - x > 0 && nums[2020 - x] println(x * (2020 - x)) return end end end main()
[ 2, 30628, 55, 12, 34156, 12, 33234, 7483, 25, 1395, 1157, 198, 2, 12131, 12, 1065, 12, 2998, 198, 2, 3596, 352, 11, 2142, 352, 198, 198, 8818, 1388, 3419, 198, 220, 5128, 796, 21136, 12195, 5317, 11, 1100, 6615, 28955, 198, 220, 997, 82, 796, 27807, 274, 7, 42334, 8, 628, 220, 329, 2124, 18872, 230, 5128, 198, 220, 220, 220, 997, 82, 58, 87, 60, 796, 2081, 198, 220, 886, 628, 220, 329, 2124, 18872, 230, 5128, 198, 220, 220, 220, 611, 12131, 532, 2124, 1875, 657, 11405, 997, 82, 58, 42334, 532, 2124, 60, 198, 220, 220, 220, 220, 220, 44872, 7, 87, 1635, 357, 42334, 532, 2124, 4008, 198, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 886, 198, 220, 886, 198, 437, 198, 198, 12417, 3419, 198 ]
2.238806
134
include(Pkg.dir("FinancialAnalytics/src/helpers.jl")) using MarketData r = percentchange(cl) facts("keyword checking is correct") do context("simple returns selected") do @fact sum(keyword_check(r,false,false).values) => -0.8392600357038683 end context("lsum(og returns selected") do @fact sum(keyword_check(percentchange(cl,method="log"),false,true).values) => -0.8392600357038683 end context("ssum(imple prices selected") do @fact sum(keyword_check(cl,true,false).values) => -0.8392600357038683 end context("lsum(og prices selected") do @fact sum(keyword_check(basecall(cl,log),true,true).values) => -0.8392600357038683 end end
[ 17256, 7, 47, 10025, 13, 15908, 7203, 43621, 37702, 14094, 14, 10677, 14, 16794, 364, 13, 20362, 48774, 198, 3500, 5991, 6601, 198, 198, 81, 796, 1411, 3803, 7, 565, 8, 198, 198, 37473, 7203, 2539, 4775, 10627, 318, 3376, 4943, 466, 628, 220, 4732, 7203, 36439, 5860, 6163, 4943, 466, 198, 220, 220, 220, 220, 220, 2488, 22584, 2160, 7, 2539, 4775, 62, 9122, 7, 81, 11, 9562, 11, 9562, 737, 27160, 8, 5218, 532, 15, 13, 23, 2670, 2075, 405, 2327, 2154, 2548, 47521, 198, 220, 886, 628, 220, 4732, 7203, 7278, 388, 7, 519, 5860, 6163, 4943, 466, 198, 220, 220, 220, 220, 220, 2488, 22584, 2160, 7, 2539, 4775, 62, 9122, 7, 25067, 3803, 7, 565, 11, 24396, 2625, 6404, 12340, 9562, 11, 7942, 737, 27160, 8, 5218, 532, 15, 13, 23, 2670, 2075, 405, 2327, 2154, 2548, 47521, 198, 220, 886, 628, 220, 4732, 7203, 824, 388, 7, 320, 1154, 4536, 6163, 4943, 466, 198, 220, 220, 220, 220, 220, 2488, 22584, 2160, 7, 2539, 4775, 62, 9122, 7, 565, 11, 7942, 11, 9562, 737, 27160, 8, 5218, 532, 15, 13, 23, 2670, 2075, 405, 2327, 2154, 2548, 47521, 198, 220, 886, 628, 220, 4732, 7203, 7278, 388, 7, 519, 4536, 6163, 4943, 466, 198, 220, 220, 220, 220, 220, 2488, 22584, 2160, 7, 2539, 4775, 62, 9122, 7, 8692, 13345, 7, 565, 11, 6404, 828, 7942, 11, 7942, 737, 27160, 8, 5218, 532, 15, 13, 23, 2670, 2075, 405, 2327, 2154, 2548, 47521, 198, 220, 886, 198, 437, 198 ]
2.65098
255
""" Parameters Abstract type representing a generic set of paramters for finding optimal two-stage designs. """ abstract type Parameters end # make parameters iterable for automatic broadcasting Base.size(::Parameters) = () Base.length(par::Parameters) = 1 Base.getindex(par::Parameters, i) = par """ label(par::Parameters) Return the label of a [`Parameters`](@ref)-object. """ label(par::Parameters) = try par.label catch error("not implemented") end """ null(par::Parameters) Return the response rate under the null hypothesis of a [`Parameters`](@ref)-object. """ null(par::Parameters) = try par.p0 catch error("not implemented") end """ mtoer(par::Parameters) Return the maximal type one error rate of a [`Parameters`](@ref)-object. """ mtoer(par::Parameters) = try par.mtoer catch error("not implemented") end """ mcrv(par::Parameters) Return the minimal clinically relevant response rate of a [`Parameters`](@ref)-object. """ mcrv(par::Parameters) = try par.pmcrv catch error("not implemented") end """ samplespace(par::Parameters) Return the [`SampleSpace`](@ref)-object of a [`Parameters`](@ref)-object. """ samplespace(par::Parameters) = try par.samplespace catch error("not implemeted") end """ maxsamplesize(par::Parameters) Return the maximal overall sample size of a [`Parameters`](@ref)-object. """ maxsamplesize(par::Parameters) = error("not implemented") """ isgroupsequential(par::Parameters)::Bool Returns `true` if the undrlying [`SampleSpace`](@ref) is constraint to group-sequential designs. """ isgroupsequential(par::Parameters)::Bool = error("not implemented") isunimodal(par::Parameters)::Bool = true """ allowsstoppingforfutility(par::Parameters)::Bool Returns `true` if the undrlying [`SampleSpace`](@ref) allows stopping-for-futlity. """ allowsstoppingforfutility(par::Parameters) = error("not implemented") """ NoParameters <: Parameters This dummy object is used is a [`Design`](@ref) is created manually without providing information on the respective optimality criterion. """ struct NoParameters <: Parameters end null(par::NoParameters) = error("NoParameters do not have null hypothesis") mtoer(par::NoParameters) = error("NoParameters do not have mtoer") samplespace(par::NoParameters) = error("NoParameters do not have sample space") maxsamplesize(par::NoParameters) = error("NoParameters do not have maximal sample size") Base.show(io::IO, object::NoParameters) = print("NoParameters") """ PointAlternative <: Parameters Abstract type representing a generic set of paramters for finding optimal two-stage designs which are characterized by a point alternative. """ abstract type PointAlternative <: Parameters end alternative(par::PointAlternative) = try par.p1 catch error("not implemented") end mcrv(par::PointAlternative) = try par.p1 catch error("not implemented") end mtter(par::PointAlternative) = try par.beta catch error("not implemented") end """ VagueAlternative <: Parameters Abstract type representing a generic set of paramters for finding optimal two-stage designs which are characterized by a prior distribution over the response probability. """ abstract type VagueAlternative <: Parameters end prior(par::VagueAlternative, p::T) where {T<:Real} = try par.prior(p) catch error("not implemented") end
[ 37811, 198, 220, 220, 220, 40117, 198, 198, 23839, 2099, 10200, 257, 14276, 900, 286, 5772, 1010, 329, 4917, 16586, 198, 11545, 12, 14247, 9824, 13, 220, 198, 37811, 198, 397, 8709, 2099, 40117, 886, 628, 198, 2, 787, 10007, 11629, 540, 329, 11353, 22978, 198, 14881, 13, 7857, 7, 3712, 48944, 8, 796, 7499, 198, 198, 14881, 13, 13664, 7, 1845, 3712, 48944, 8, 796, 352, 198, 198, 14881, 13, 1136, 9630, 7, 1845, 3712, 48944, 11, 1312, 8, 796, 1582, 628, 198, 37811, 198, 220, 220, 220, 6167, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 6167, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 18242, 7, 1845, 3712, 48944, 8, 796, 1949, 1582, 13, 18242, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 37811, 198, 220, 220, 220, 9242, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 2882, 2494, 739, 262, 9242, 14078, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 8423, 7, 1845, 3712, 48944, 8, 796, 1949, 1582, 13, 79, 15, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 37811, 198, 220, 220, 220, 285, 1462, 263, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 40708, 2099, 530, 4049, 2494, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 76, 1462, 263, 7, 1845, 3712, 48944, 8, 796, 1949, 1582, 13, 76, 1462, 263, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 37811, 198, 220, 220, 220, 285, 6098, 85, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 10926, 36688, 5981, 2882, 2494, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 76, 6098, 85, 7, 1845, 3712, 48944, 8, 796, 1949, 1582, 13, 4426, 6098, 85, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 37811, 198, 220, 220, 220, 8405, 10223, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 685, 63, 36674, 14106, 63, 16151, 31, 5420, 13219, 15252, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 82, 12629, 10223, 7, 1845, 3712, 48944, 8, 796, 1949, 1582, 13, 82, 12629, 10223, 4929, 4049, 7203, 1662, 848, 293, 4164, 276, 4943, 886, 198, 198, 37811, 198, 220, 220, 220, 3509, 82, 12629, 1096, 7, 1845, 3712, 48944, 8, 198, 198, 13615, 262, 40708, 4045, 6291, 2546, 286, 257, 685, 63, 48944, 63, 16151, 31, 5420, 13219, 15252, 13, 198, 37811, 198, 9806, 82, 12629, 1096, 7, 1845, 3712, 48944, 8, 796, 4049, 7203, 1662, 9177, 4943, 198, 198, 37811, 198, 220, 220, 220, 318, 8094, 3107, 1843, 7, 1845, 3712, 48944, 2599, 25, 33, 970, 198, 198, 35561, 4600, 7942, 63, 611, 262, 3318, 81, 3157, 685, 63, 36674, 14106, 63, 16151, 31, 5420, 8, 318, 32315, 284, 220, 198, 8094, 12, 3107, 1843, 9824, 13, 198, 37811, 198, 271, 8094, 3107, 1843, 7, 1845, 3712, 48944, 2599, 25, 33, 970, 796, 4049, 7203, 1662, 9177, 4943, 198, 198, 271, 403, 320, 375, 282, 7, 1845, 3712, 48944, 2599, 25, 33, 970, 796, 2081, 198, 198, 37811, 198, 220, 220, 220, 3578, 301, 33307, 1640, 69, 315, 879, 7, 1845, 3712, 48944, 2599, 25, 33, 970, 198, 198, 35561, 4600, 7942, 63, 611, 262, 3318, 81, 3157, 685, 63, 36674, 14106, 63, 16151, 31, 5420, 8, 3578, 12225, 12, 1640, 12, 69, 315, 75, 414, 13, 198, 37811, 198, 47205, 301, 33307, 1640, 69, 315, 879, 7, 1845, 3712, 48944, 8, 796, 4049, 7203, 1662, 9177, 4943, 628, 198, 37811, 198, 220, 220, 220, 1400, 48944, 1279, 25, 40117, 198, 198, 1212, 31548, 2134, 318, 973, 318, 257, 685, 63, 23067, 63, 16151, 31, 5420, 8, 318, 2727, 14500, 1231, 220, 198, 15234, 2530, 1321, 319, 262, 11756, 6436, 1483, 34054, 13, 198, 37811, 198, 7249, 1400, 48944, 1279, 25, 40117, 886, 198, 198, 8423, 7, 1845, 3712, 2949, 48944, 8, 796, 4049, 7203, 2949, 48944, 466, 407, 423, 9242, 14078, 4943, 198, 198, 76, 1462, 263, 7, 1845, 3712, 2949, 48944, 8, 796, 4049, 7203, 2949, 48944, 466, 407, 423, 285, 1462, 263, 4943, 198, 198, 82, 12629, 10223, 7, 1845, 3712, 2949, 48944, 8, 796, 4049, 7203, 2949, 48944, 466, 407, 423, 6291, 2272, 4943, 198, 198, 9806, 82, 12629, 1096, 7, 1845, 3712, 2949, 48944, 8, 796, 4049, 7203, 2949, 48944, 466, 407, 423, 40708, 6291, 2546, 4943, 198, 198, 14881, 13, 12860, 7, 952, 3712, 9399, 11, 2134, 3712, 2949, 48944, 8, 796, 3601, 7203, 2949, 48944, 4943, 628, 198, 37811, 198, 220, 220, 220, 6252, 49788, 1279, 25, 40117, 198, 198, 23839, 2099, 10200, 257, 14276, 900, 286, 5772, 1010, 329, 4917, 16586, 198, 11545, 12, 14247, 9824, 543, 389, 16264, 416, 257, 966, 5559, 13, 198, 37811, 198, 397, 8709, 2099, 6252, 49788, 1279, 25, 40117, 886, 198, 198, 33645, 876, 7, 1845, 3712, 12727, 49788, 8, 796, 1949, 1582, 13, 79, 16, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 76, 6098, 85, 7, 1845, 3712, 12727, 49788, 8, 796, 1949, 1582, 13, 79, 16, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198, 198, 16762, 353, 7, 1845, 3712, 12727, 49788, 8, 796, 1949, 1582, 13, 31361, 4929, 4049, 7203, 1662, 9177, 4943, 886, 628, 198, 37811, 198, 220, 220, 220, 569, 2064, 49788, 1279, 25, 40117, 198, 198, 23839, 2099, 10200, 257, 14276, 900, 286, 5772, 1010, 329, 4917, 16586, 198, 11545, 12, 14247, 9824, 543, 389, 16264, 416, 257, 3161, 6082, 625, 262, 220, 198, 26209, 12867, 13, 198, 37811, 198, 397, 8709, 2099, 569, 2064, 49788, 1279, 25, 40117, 886, 198, 198, 3448, 273, 7, 1845, 3712, 53, 2064, 49788, 11, 279, 3712, 51, 8, 810, 1391, 51, 27, 25, 15633, 92, 796, 1949, 1582, 13, 3448, 273, 7, 79, 8, 4929, 4049, 7203, 1662, 9177, 4943, 886, 198 ]
3.42229
978
# # This file is part of module # ModiaMedia (ModiaMedia/src/ModiaMedia.jl) # ### Data structures that are additionally available for media <: PartialMixtureMedium ----------------------- """ state = ThermodynamicState_pTX(p,T,X) Generate a `ThermodynamicState_pT <: MixtureThermodynamicState` object containing pressure `p` [Pa], temperature `T` [K], and a vector of mass fractions `X` as states. """ mutable struct ThermodynamicState_pTX <: MixtureThermodynamicState p::Float64 T::Float64 X::Vector{Float64} end "R = gas_constant(medium,state) - return gas constant for `medium` from `state` in [J/mol.K]" # should this be MixtureMedium? # should this take MixtureThermodynamicState? gas_constant(m::AbstractMedium, state::ThermodynamicState) = undefinedFunction("gas constant", m) # moleToMassFractions: use inner constructor with fluid information. # massToMoleFractions: use inner constructor with fluid information from abstract medium, since we have that type.
[ 2, 198, 2, 770, 2393, 318, 636, 286, 8265, 220, 198, 2, 220, 220, 3401, 544, 13152, 357, 5841, 544, 13152, 14, 10677, 14, 5841, 544, 13152, 13, 20362, 8, 198, 2, 198, 198, 21017, 6060, 8573, 326, 389, 36527, 1695, 329, 2056, 1279, 25, 43689, 44, 9602, 31205, 41436, 6329, 198, 198, 37811, 198, 220, 220, 220, 1181, 796, 12634, 76, 34743, 9012, 62, 79, 29551, 7, 79, 11, 51, 11, 55, 8, 198, 198, 8645, 378, 257, 4600, 35048, 76, 34743, 9012, 62, 79, 51, 1279, 25, 337, 9602, 35048, 76, 34743, 9012, 63, 2134, 7268, 198, 36151, 4600, 79, 63, 685, 28875, 4357, 5951, 4600, 51, 63, 685, 42, 4357, 290, 257, 15879, 286, 2347, 49876, 4600, 55, 63, 355, 2585, 13, 198, 37811, 198, 76, 18187, 2878, 12634, 76, 34743, 9012, 62, 79, 29551, 1279, 25, 337, 9602, 35048, 76, 34743, 9012, 198, 220, 220, 220, 279, 3712, 43879, 2414, 198, 220, 220, 220, 309, 3712, 43879, 2414, 198, 220, 220, 220, 1395, 3712, 38469, 90, 43879, 2414, 92, 198, 437, 198, 198, 1, 49, 796, 3623, 62, 9979, 415, 7, 24132, 11, 5219, 8, 532, 1441, 3623, 6937, 329, 4600, 24132, 63, 422, 4600, 5219, 63, 287, 685, 41, 14, 43132, 13, 42, 30866, 198, 2, 815, 428, 307, 337, 9602, 31205, 30, 198, 2, 815, 428, 1011, 337, 9602, 35048, 76, 34743, 9012, 30, 220, 198, 22649, 62, 9979, 415, 7, 76, 3712, 23839, 31205, 11, 1181, 3712, 35048, 76, 34743, 9012, 8, 796, 28721, 22203, 7203, 22649, 6937, 1600, 285, 8, 198, 198, 2, 9411, 2514, 20273, 37, 37810, 25, 779, 8434, 23772, 351, 11711, 1321, 13, 220, 198, 2, 2347, 2514, 44, 2305, 37, 37810, 25, 779, 8434, 23772, 351, 11711, 1321, 422, 12531, 7090, 11, 1201, 356, 423, 326, 2099, 13 ]
3.31
300
using Pkg const HOME = ENV["HOME"] using Printf Pkg.activate("$HOME/HelioseismicKernels") using MPI MPI.Init() using HelioseismicKernels const comm = MPI.COMM_WORLD const xobs1 = Point2D(pi/2, pi/3) const xobs2 = Point2D(pi/2, pi/2) const ℓ_range = 1:100 try HelioseismicKernels.kernel_uₛₜ(comm, TravelTimes(), xobs1, xobs2, los_radial(), save = false, ℓ_range = 1:1) HelioseismicKernels.kernel_uₛₜ(comm, TravelTimes(), xobs1, xobs2, los_earth(), save = false, ℓ_range = 1:1) s_max = 25 tstart = time() HelioseismicKernels.kernel_uₛₜ(comm, TravelTimes(), xobs1, xobs2, los_earth(), s_max = s_max, t_max = s_max, ℓ_range = ℓ_range) tend = time() Δt = round(Int, tend - tstart) if MPI.Comm_rank(comm) == 0 @printf "los\t%d\t%d\n" s_max Δt end tstart = time() HelioseismicKernels.kernel_uₛₜ(comm, TravelTimes(), xobs1, xobs2, los_radial(), s_max = s_max, t_max = s_max, ℓ_range = ℓ_range) tend = time() Δt = round(Int, tend - tstart) if MPI.Comm_rank(comm) == 0 @printf "rad\t%d\t%d\n" s_max Δt end finally MPI.Finalize() end
[ 3500, 350, 10025, 198, 9979, 41779, 796, 12964, 53, 14692, 39069, 8973, 198, 3500, 12578, 69, 198, 47, 10025, 13, 39022, 7203, 3, 39069, 14, 12621, 72, 577, 1042, 291, 42, 44930, 4943, 198, 198, 3500, 4904, 40, 198, 7378, 40, 13, 31768, 3419, 198, 3500, 5053, 72, 577, 1042, 291, 42, 44930, 198, 9979, 725, 796, 4904, 40, 13, 9858, 44, 62, 45359, 11163, 198, 198, 9979, 2124, 8158, 16, 796, 6252, 17, 35, 7, 14415, 14, 17, 11, 31028, 14, 18, 8, 198, 9979, 2124, 8158, 17, 796, 6252, 17, 35, 7, 14415, 14, 17, 11, 31028, 14, 17, 8, 198, 9979, 2343, 226, 241, 62, 9521, 796, 352, 25, 3064, 198, 198, 28311, 198, 220, 220, 220, 5053, 72, 577, 1042, 291, 42, 44930, 13, 33885, 62, 84, 158, 224, 249, 158, 224, 250, 7, 9503, 11, 13524, 28595, 22784, 2124, 8158, 16, 11, 2124, 8158, 17, 11, 22346, 62, 6335, 498, 22784, 3613, 796, 3991, 11, 2343, 226, 241, 62, 9521, 796, 352, 25, 16, 8, 198, 220, 220, 220, 5053, 72, 577, 1042, 291, 42, 44930, 13, 33885, 62, 84, 158, 224, 249, 158, 224, 250, 7, 9503, 11, 13524, 28595, 22784, 2124, 8158, 16, 11, 2124, 8158, 17, 11, 22346, 62, 16442, 22784, 3613, 796, 3991, 11, 2343, 226, 241, 62, 9521, 796, 352, 25, 16, 8, 628, 220, 220, 220, 264, 62, 9806, 796, 1679, 628, 220, 220, 220, 256, 9688, 796, 640, 3419, 198, 220, 220, 220, 5053, 72, 577, 1042, 291, 42, 44930, 13, 33885, 62, 84, 158, 224, 249, 158, 224, 250, 7, 9503, 11, 198, 220, 220, 220, 220, 220, 220, 220, 13524, 28595, 22784, 2124, 8158, 16, 11, 2124, 8158, 17, 11, 22346, 62, 16442, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 9806, 796, 264, 62, 9806, 11, 256, 62, 9806, 796, 264, 62, 9806, 11, 2343, 226, 241, 62, 9521, 796, 2343, 226, 241, 62, 9521, 8, 628, 220, 220, 220, 4327, 796, 640, 3419, 198, 220, 220, 220, 37455, 83, 796, 2835, 7, 5317, 11, 4327, 532, 256, 9688, 8, 198, 220, 220, 220, 611, 4904, 40, 13, 6935, 62, 43027, 7, 9503, 8, 6624, 657, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 37435, 366, 33280, 59, 83, 4, 67, 59, 83, 4, 67, 59, 77, 1, 264, 62, 9806, 37455, 83, 198, 220, 220, 220, 886, 628, 220, 220, 220, 256, 9688, 796, 640, 3419, 628, 220, 220, 220, 5053, 72, 577, 1042, 291, 42, 44930, 13, 33885, 62, 84, 158, 224, 249, 158, 224, 250, 7, 9503, 11, 198, 220, 220, 220, 220, 220, 220, 220, 13524, 28595, 22784, 2124, 8158, 16, 11, 2124, 8158, 17, 11, 22346, 62, 6335, 498, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 264, 62, 9806, 796, 264, 62, 9806, 11, 256, 62, 9806, 796, 264, 62, 9806, 11, 2343, 226, 241, 62, 9521, 796, 2343, 226, 241, 62, 9521, 8, 628, 220, 220, 220, 4327, 796, 640, 3419, 198, 220, 220, 220, 37455, 83, 796, 2835, 7, 5317, 11, 4327, 532, 256, 9688, 8, 198, 220, 220, 220, 611, 4904, 40, 13, 6935, 62, 43027, 7, 9503, 8, 6624, 657, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 37435, 366, 6335, 59, 83, 4, 67, 59, 83, 4, 67, 59, 77, 1, 264, 62, 9806, 37455, 83, 198, 220, 220, 220, 886, 198, 198, 69, 3289, 198, 220, 220, 220, 4904, 40, 13, 19006, 1096, 3419, 198, 437, 198 ]
1.974138
580
module TestDoctest import DataTools using Documenter: doctest using Test @testset "doctest" begin doctest(DataTools; manual = false) end end # module
[ 21412, 6208, 5211, 310, 395, 198, 198, 11748, 6060, 33637, 198, 3500, 16854, 263, 25, 10412, 395, 198, 3500, 6208, 198, 198, 31, 9288, 2617, 366, 4598, 310, 395, 1, 2221, 198, 220, 220, 220, 10412, 395, 7, 6601, 33637, 26, 10107, 796, 3991, 8, 198, 437, 198, 198, 437, 220, 1303, 8265, 198 ]
2.925926
54
################################################## # Component types abstract type UCComponentType end abstract type RequiredConstraints <: UCComponentType end abstract type SystemConstraints <: UCComponentType end abstract type GenerationLimits <: UCComponentType end abstract type PiecewiseProduction <: UCComponentType end abstract type UpDownTime <: UCComponentType end abstract type ReserveConstraints <: UCComponentType end abstract type RampLimits <: UCComponentType end abstract type StartupCosts <: UCComponentType end abstract type ShutdownCosts <: UCComponentType end ################################################## # Components """ Generic component of the unit commitment problem. Elements === * `name`: name of the component * `description`: gives a brief summary of what the component adds * `type`: reference back to the UCComponentType being modeled * `vars`: required variables * `constrs`: constraints that are created by this function * `add_component`: function to add constraints and update the objective to capture this component * `params`: extra parameters the component might use """ mutable struct UCComponent "Name of the component." name::String "Description of what the component adds." description::String "Which part of the unit commitment problem is modeled by this component." type::Type{<:UCComponentType} "Variables that are needed for the component (subset of `var_list`)." vars::Union{Array{Symbol},Nothing} "Equations that are modified for the component (subset of `constr_list`)." constrs::Union{Array{Symbol},Nothing} "Function to add constraints and objective coefficients needed for this component to the model. Signature should be (component, mip, model)." add_component::Union{Function,Nothing} "Extra parameters for the component." params::Any end # struct UCComponent export UCComponent
[ 29113, 14468, 2235, 198, 2, 35100, 3858, 198, 397, 8709, 2099, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 20906, 3103, 2536, 6003, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 4482, 3103, 2536, 6003, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 16588, 19352, 896, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 27053, 3083, 35027, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 3205, 8048, 7575, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 12224, 3103, 2536, 6003, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 26882, 19352, 896, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 40472, 13729, 82, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 397, 8709, 2099, 40411, 13729, 82, 1279, 25, 471, 4093, 3361, 3471, 6030, 886, 198, 198, 29113, 14468, 2235, 198, 2, 36109, 198, 37811, 198, 46189, 7515, 286, 262, 4326, 7901, 1917, 13, 198, 198, 36, 3639, 198, 18604, 198, 1635, 4600, 3672, 63, 25, 1438, 286, 262, 7515, 198, 1635, 4600, 11213, 63, 25, 3607, 257, 4506, 10638, 286, 644, 262, 7515, 6673, 198, 1635, 4600, 4906, 63, 25, 4941, 736, 284, 262, 471, 4093, 3361, 3471, 6030, 852, 29563, 198, 1635, 4600, 85, 945, 63, 25, 2672, 9633, 198, 1635, 4600, 1102, 2536, 82, 63, 25, 17778, 326, 389, 2727, 416, 428, 2163, 198, 1635, 4600, 2860, 62, 42895, 63, 25, 2163, 284, 751, 17778, 290, 4296, 262, 9432, 284, 8006, 428, 7515, 198, 1635, 4600, 37266, 63, 25, 3131, 10007, 262, 7515, 1244, 779, 198, 37811, 198, 76, 18187, 2878, 471, 4093, 3361, 3471, 198, 220, 366, 5376, 286, 262, 7515, 526, 198, 220, 1438, 3712, 10100, 198, 220, 366, 11828, 286, 644, 262, 7515, 6673, 526, 198, 220, 6764, 3712, 10100, 198, 220, 366, 13828, 636, 286, 262, 4326, 7901, 1917, 318, 29563, 416, 428, 7515, 526, 198, 220, 2099, 3712, 6030, 90, 27, 25, 52, 4093, 3361, 3471, 6030, 92, 198, 220, 366, 23907, 2977, 326, 389, 2622, 329, 262, 7515, 357, 7266, 2617, 286, 4600, 7785, 62, 4868, 63, 21387, 198, 220, 410, 945, 3712, 38176, 90, 19182, 90, 13940, 23650, 5512, 18465, 92, 198, 220, 366, 23588, 602, 326, 389, 9518, 329, 262, 7515, 357, 7266, 2617, 286, 4600, 1102, 2536, 62, 4868, 63, 21387, 198, 220, 1500, 3808, 3712, 38176, 90, 19182, 90, 13940, 23650, 5512, 18465, 92, 198, 220, 366, 22203, 284, 751, 17778, 290, 9432, 44036, 2622, 329, 428, 7515, 284, 262, 2746, 13, 34894, 815, 307, 357, 42895, 11, 285, 541, 11, 2746, 21387, 198, 220, 751, 62, 42895, 3712, 38176, 90, 22203, 11, 18465, 92, 198, 220, 366, 27726, 10007, 329, 262, 7515, 526, 198, 220, 42287, 3712, 7149, 198, 437, 1303, 2878, 471, 4093, 3361, 3471, 198, 198, 39344, 471, 4093, 3361, 3471, 198 ]
3.842213
488
""" This functions returns an AxisArray of project parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_parameter_vector( structs::Vector, id::Symbol, parameter::Symbol) ids = getproperty.(structs, id) vals = getproperty.(structs, parameter) return AxisArrays.AxisArray(vals, ids) end """ This functions returns an array of market parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_parameter_vector( structs::Vector{<:MarketCollection}, market::Symbol, parameter::Symbol) markets = getproperty.(structs, market) return getproperty.(markets, parameter) end """ This functions returns a matrix of demand parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_demand_matrix(structs::Vector{<:MarketCollection}, market::Symbol) markets = getproperty.(structs, market) matrix = hcat(getproperty.(markets, :demand)...) return permutedims(matrix) end """ This functions returns capacity market demand curve parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_capacity_demand_vectors(capmarkets::Vector{CapacityMarket}) break_points = getproperty.(capmarkets, :break_points) price_points = getproperty.(capmarkets, :price_points) num_segments = length.(break_points) .- 1 segment_size = [zeros(num_segments[i]) for i in 1:length(capmarkets)] segment_grad = [zeros(num_segments[i]) for i in 1:length(capmarkets)] for p in 1:length(capmarkets) for segment in 1:num_segments[p] segment_size[p][segment] = break_points[p][segment + 1] - break_points[p][segment] if segment_size[p][segment] != 0 segment_grad[p][segment] = (price_points[p][segment + 1] - price_points[p][segment]) / segment_size[p][segment] end end end return segment_size, segment_grad, price_points, num_segments end """ This functions returns operating reserve demand curve parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_ORDC_vectors(reserveup_markets::Vector{ReserveUpMarket}) break_points = getproperty.(reserveup_markets, :break_points) price_points_raw = getproperty.(reserveup_markets, :price_points) zones = AxisArrays.axisvalues(break_points[1])[1] num_segments = AxisArrays.AxisArray(Array{Int64, 2}(undef, length(zones), length(break_points)), zones, 1:length(break_points)) segment_size = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(zones), length(break_points)), zones, 1:length(break_points)) segment_grad = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(zones), length(break_points)), zones, 1:length(break_points)) price_points = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(zones), length(break_points)), zones, 1:length(break_points)) for z in zones for p in 1:length(break_points) num_segments[z, p] = length(break_points[p][z]) - 1 segment_size[z, p] = zeros(num_segments[z, p]) segment_grad[z, p] = zeros(num_segments[z, p]) price_points[z, p] = price_points_raw[p][z] for segment in 1:num_segments[z, p] segment_size[z, p][segment] = break_points[p][z][segment + 1] - break_points[p][z][segment] if segment_size[z, p][segment] != 0 segment_grad[z, p][segment] = (price_points[z, p][segment + 1] - price_points[z, p][segment]) / segment_size[z, p][segment] end end end end return segment_size, segment_grad, price_points, num_segments end """ This functions returns capacity market demand curve parameters included in the actual clearing of capacity markets. """ function make_capacity_demand(capmarket::CapacityMarket) break_points = getproperty(capmarket, :break_points) price_points = getproperty(capmarket, :price_points) num_segments = length(break_points) - 1 segment_size = zeros(num_segments) segment_grad = zeros(num_segments) for segment in 1:num_segments segment_size[segment] = break_points[segment + 1] - break_points[segment] segment_grad[segment] = (price_points[segment + 1] - price_points[segment]) / segment_size[segment] end return segment_size, segment_grad, price_points end """ This functions returns capital cost multiplier curve parameters included in CEM for price projection and endogeneous Economic Dispatch. """ function make_capital_cost_curve(options_by_type::Dict{String, Vector{String}}, annualized_cap_cost::AxisArrays.AxisArray{Float64, 2}, basecostunits::AxisArrays.AxisArray{Int64, 1}, maxnewoptions::AxisArrays.AxisArray{Int64, 1}, capital_cost_multiplier::Float64) invperiods = size(annualized_cap_cost, 2) types = collect(keys(options_by_type)) num_segments = AxisArrays.AxisArray(round.(Int, 2 * ones(length(types), invperiods)), types, 1:invperiods) segment_size = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(types), invperiods), types, 1:invperiods) segment_grad = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(types), invperiods), types, 1:invperiods) costpoints = AxisArrays.AxisArray(Array{Vector{Float64}, 2}(undef, length(types), invperiods), types, 1:invperiods) for t in types for p in 1:invperiods segment_size[t, p] = zeros(num_segments[t, p]) segment_grad[t, p] = zeros(num_segments[t, p]) costpoints[t, p] = zeros(num_segments[t, p]) if length(options_by_type[t]) >= 1 total_max_new_options = sum(maxnewoptions[g] for g in options_by_type[t]) g = options_by_type[t][1] segment_size[t, p][1] = basecostunits[g] segment_size[t, p][2] = total_max_new_options - basecostunits[g] costpoints[t, p] = [annualized_cap_cost[g, p], annualized_cap_cost[g, p]] segment_grad[t, p][1] = 0.0 segment_grad[t, p][2] = costpoints[t, p][2] * capital_cost_multiplier end end end return segment_size, segment_grad, costpoints, num_segments end """ This function updates the expected capacity factors of projects which are not in Option phase. """ function update_capacity_factors!(project::P, scenario_name::String, capacity_factors::Dict{String, Array{Float64, 2}}) where P <: Project{<: BuildPhase} for product in get_products(project) set_capacity_factors!(product, scenario_name, capacity_factors[get_name(project)]) end return end """ This function updates the expected capacity factors of Option projects. """ function update_capacity_factors!(project::P, scenario_name::String, capacity_factors::Dict{String, Array{Float64, 2}}) where P <: Project{Option} tech = get_tech(project) for product in get_products(project) set_capacity_factors!(product, scenario_name, capacity_factors["option_$(get_type(tech))_$(get_zone(tech))"]) end return end """ This function updates the expected accepted capacity percentage of projects which are not in Option phase. """ function update_capacity_accepted_perc!(project::P, scenario_name::String, capacity_accepted_perc::Dict{String, Array{Float64, 1}}) where P <: Project{<: BuildPhase} for product in get_products(project) set_accepted_perc!(product, scenario_name, capacity_accepted_perc[get_name(project)]) end return end """ This function updates the expected accepted capacity percentage of Option projects. """ function update_capacity_accepted_perc!(project::P, scenario_name::String, capacity_accepted_perc::Dict{String, Array{Float64, 1}}) where P <: Project{Option} tech = get_tech(project) for product in get_products(project) set_accepted_perc!(product, scenario_name, capacity_accepted_perc["option_$(get_type(tech))_$(get_zone(tech))"]) end return end """ This function does nothing if the product is not of Capacity type. """ function update_initial_capacity_revenues!(project::P, product::T, initial_capacity_prices::Vector{Float64}, year::Int64) where {P <: Project{<: BuildPhase}, T <: Product} return end """ This function updates the capacity market revenues of project at the start of the simulation. """ function update_initial_capacity_revenues!(project::P, product::Capacity, initial_capacity_prices::Vector{Float64}, year::Int64) where P <: Project{<: BuildPhase} capacity_revenue = initial_capacity_prices[year] * get_maxcap(project) * get_project_derating(project) finance_data = get_finance_data(project) set_realized_profit!(get_finance_data(project), get_name(product), year, capacity_revenue) for scenario_name in keys(get_scenario_profit(finance_data)) update_forward_profit!(product, finance_data, scenario_name, year, capacity_revenue) end return end """ This function does nothing if the product is not of Capacity or REC type. """ function update_bid!(product::T, capacity_market_bid::Float64, rec_market_bid::Float64, energy_production::Float64) where T <: Product return end """ This function updates the Capacity market bid of projects. """ function update_bid!(product::Capacity, capacity_market_bid::Float64, rec_market_bid::Float64, energy_production::Float64) set_capacity_bid!(product, capacity_market_bid) return end """ This function updates the REC market bid of projects. """ function update_bid!(product::REC, capacity_market_bid::Float64, rec_market_bid::Float64, energy_production::Float64) set_rec_bid!(product, rec_market_bid) set_rec_certificates!(product, energy_production) return end
[ 37811, 198, 1212, 5499, 5860, 281, 38349, 19182, 286, 1628, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 17143, 2357, 62, 31364, 7, 198, 220, 220, 220, 2878, 82, 3712, 38469, 11, 4686, 3712, 13940, 23650, 11, 11507, 3712, 13940, 23650, 8, 198, 220, 220, 220, 220, 2340, 796, 651, 26745, 12195, 7249, 82, 11, 4686, 8, 198, 220, 220, 220, 410, 874, 796, 651, 26745, 12195, 7249, 82, 11, 11507, 8, 198, 220, 220, 220, 1441, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 12786, 11, 220, 2340, 8, 198, 437, 198, 198, 37811, 198, 1212, 5499, 5860, 281, 7177, 286, 1910, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 17143, 2357, 62, 31364, 7, 198, 220, 220, 220, 2878, 82, 3712, 38469, 90, 27, 25, 27470, 36307, 5512, 1910, 3712, 13940, 23650, 11, 11507, 3712, 13940, 23650, 8, 198, 220, 220, 220, 5939, 796, 651, 26745, 12195, 7249, 82, 11, 1910, 8, 198, 220, 220, 220, 1441, 651, 26745, 12195, 34162, 11, 11507, 8, 198, 437, 198, 198, 37811, 198, 1212, 5499, 5860, 257, 17593, 286, 3512, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 28550, 62, 6759, 8609, 7, 7249, 82, 3712, 38469, 90, 27, 25, 27470, 36307, 5512, 1910, 3712, 13940, 23650, 8, 198, 220, 220, 220, 5939, 796, 651, 26745, 12195, 7249, 82, 11, 1910, 8, 198, 220, 220, 220, 17593, 796, 289, 9246, 7, 1136, 26745, 12195, 34162, 11, 1058, 28550, 8, 23029, 198, 220, 220, 220, 1441, 9943, 7241, 12078, 7, 6759, 8609, 8, 198, 437, 198, 198, 37811, 198, 1212, 5499, 5860, 5339, 1910, 3512, 12133, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 42404, 62, 28550, 62, 303, 5217, 7, 11128, 34162, 3712, 38469, 90, 15610, 4355, 27470, 30072, 198, 220, 220, 2270, 62, 13033, 796, 220, 651, 26745, 12195, 11128, 34162, 11, 1058, 9032, 62, 13033, 8, 198, 220, 220, 2756, 62, 13033, 796, 220, 651, 26745, 12195, 11128, 34162, 11, 1058, 20888, 62, 13033, 8, 198, 220, 220, 997, 62, 325, 11726, 796, 4129, 12195, 9032, 62, 13033, 8, 764, 12, 352, 198, 220, 220, 10618, 62, 7857, 796, 685, 9107, 418, 7, 22510, 62, 325, 11726, 58, 72, 12962, 329, 1312, 287, 352, 25, 13664, 7, 11128, 34162, 15437, 198, 220, 220, 10618, 62, 9744, 796, 685, 9107, 418, 7, 22510, 62, 325, 11726, 58, 72, 12962, 329, 1312, 287, 352, 25, 13664, 7, 11128, 34162, 15437, 198, 220, 220, 329, 279, 287, 352, 25, 13664, 7, 11128, 34162, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 10618, 287, 352, 25, 22510, 62, 325, 11726, 58, 79, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 79, 7131, 325, 5154, 60, 796, 2270, 62, 13033, 58, 79, 7131, 325, 5154, 1343, 352, 60, 532, 2270, 62, 13033, 58, 79, 7131, 325, 5154, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10618, 62, 7857, 58, 79, 7131, 325, 5154, 60, 14512, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 79, 7131, 325, 5154, 60, 796, 357, 20888, 62, 13033, 58, 79, 7131, 325, 5154, 1343, 352, 60, 532, 2756, 62, 13033, 58, 79, 7131, 325, 5154, 12962, 1220, 220, 10618, 62, 7857, 58, 79, 7131, 325, 5154, 60, 198, 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, 1441, 10618, 62, 7857, 11, 10618, 62, 9744, 11, 2756, 62, 13033, 11, 997, 62, 325, 11726, 198, 437, 198, 198, 37811, 198, 1212, 5499, 5860, 5361, 11515, 3512, 12133, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 1581, 9697, 62, 303, 5217, 7, 411, 3760, 929, 62, 34162, 3712, 38469, 90, 4965, 3760, 4933, 27470, 30072, 198, 220, 220, 220, 2270, 62, 13033, 796, 220, 651, 26745, 12195, 411, 3760, 929, 62, 34162, 11, 1058, 9032, 62, 13033, 8, 198, 220, 220, 220, 2756, 62, 13033, 62, 1831, 796, 220, 651, 26745, 12195, 411, 3760, 929, 62, 34162, 11, 1058, 20888, 62, 13033, 8, 628, 220, 220, 220, 14123, 796, 38349, 3163, 20477, 13, 22704, 27160, 7, 9032, 62, 13033, 58, 16, 12962, 58, 16, 60, 628, 220, 220, 220, 997, 62, 325, 11726, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 5317, 2414, 11, 362, 92, 7, 917, 891, 11, 4129, 7, 89, 1952, 828, 4129, 7, 9032, 62, 13033, 36911, 14123, 11, 352, 25, 13664, 7, 9032, 62, 13033, 4008, 198, 220, 220, 220, 10618, 62, 7857, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 89, 1952, 828, 4129, 7, 9032, 62, 13033, 36911, 14123, 11, 352, 25, 13664, 7, 9032, 62, 13033, 4008, 198, 220, 220, 220, 10618, 62, 9744, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 89, 1952, 828, 4129, 7, 9032, 62, 13033, 36911, 14123, 11, 352, 25, 13664, 7, 9032, 62, 13033, 4008, 198, 220, 220, 220, 2756, 62, 13033, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 89, 1952, 828, 4129, 7, 9032, 62, 13033, 36911, 14123, 11, 352, 25, 13664, 7, 9032, 62, 13033, 4008, 628, 220, 220, 220, 329, 1976, 287, 14123, 198, 220, 220, 220, 220, 220, 220, 220, 329, 279, 287, 352, 25, 13664, 7, 9032, 62, 13033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 325, 11726, 58, 89, 11, 279, 60, 796, 4129, 7, 9032, 62, 13033, 58, 79, 7131, 89, 12962, 532, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 89, 11, 279, 60, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 58, 89, 11, 279, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 89, 11, 279, 60, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 58, 89, 11, 279, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2756, 62, 13033, 58, 89, 11, 279, 60, 796, 2756, 62, 13033, 62, 1831, 58, 79, 7131, 89, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 10618, 287, 352, 25, 22510, 62, 325, 11726, 58, 89, 11, 279, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 89, 11, 279, 7131, 325, 5154, 60, 796, 2270, 62, 13033, 58, 79, 7131, 89, 7131, 325, 5154, 1343, 352, 60, 532, 2270, 62, 13033, 58, 79, 7131, 89, 7131, 325, 5154, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 10618, 62, 7857, 58, 89, 11, 279, 7131, 325, 5154, 60, 14512, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 89, 11, 279, 7131, 325, 5154, 60, 796, 357, 20888, 62, 13033, 58, 89, 11, 279, 7131, 325, 5154, 1343, 352, 60, 532, 2756, 62, 13033, 58, 89, 11, 279, 7131, 325, 5154, 12962, 1220, 220, 10618, 62, 7857, 58, 89, 11, 279, 7131, 325, 5154, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 10618, 62, 7857, 11, 10618, 62, 9744, 11, 2756, 62, 13033, 11, 997, 62, 325, 11726, 198, 886, 628, 37227, 198, 770, 5499, 5860, 5339, 1910, 3512, 12133, 10007, 198, 3017, 287, 262, 4036, 17304, 286, 5339, 5939, 13, 198, 37227, 198, 8818, 787, 62, 42404, 62, 28550, 7, 11128, 10728, 3712, 15610, 4355, 27470, 8, 198, 220, 220, 220, 2270, 62, 13033, 796, 220, 651, 26745, 7, 11128, 10728, 11, 1058, 9032, 62, 13033, 8, 198, 220, 220, 220, 2756, 62, 13033, 796, 220, 651, 26745, 7, 11128, 10728, 11, 1058, 20888, 62, 13033, 8, 198, 220, 220, 220, 997, 62, 325, 11726, 796, 4129, 7, 9032, 62, 13033, 8, 532, 352, 198, 220, 220, 220, 10618, 62, 7857, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 8, 198, 220, 220, 220, 10618, 62, 9744, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 329, 10618, 287, 352, 25, 22510, 62, 325, 11726, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 325, 5154, 60, 796, 2270, 62, 13033, 58, 325, 5154, 1343, 352, 60, 532, 2270, 62, 13033, 58, 325, 5154, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 325, 5154, 60, 796, 357, 20888, 62, 13033, 58, 325, 5154, 1343, 352, 60, 532, 2756, 62, 13033, 58, 325, 5154, 12962, 1220, 220, 10618, 62, 7857, 58, 325, 5154, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 10618, 62, 7857, 11, 10618, 62, 9744, 11, 2756, 62, 13033, 198, 886, 628, 37227, 198, 1212, 5499, 5860, 3139, 1575, 33090, 12133, 10007, 198, 259, 10341, 287, 327, 3620, 329, 2756, 20128, 290, 886, 32269, 11279, 35934, 13, 198, 37811, 198, 8818, 787, 62, 27544, 62, 15805, 62, 22019, 303, 7, 25811, 62, 1525, 62, 4906, 3712, 35, 713, 90, 10100, 11, 20650, 90, 10100, 92, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5079, 1143, 62, 11128, 62, 15805, 3712, 31554, 271, 3163, 20477, 13, 31554, 271, 19182, 90, 43879, 2414, 11, 362, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2779, 15805, 41667, 3712, 31554, 271, 3163, 20477, 13, 31554, 271, 19182, 90, 5317, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 3605, 25811, 3712, 31554, 271, 3163, 20477, 13, 31554, 271, 19182, 90, 5317, 2414, 11, 352, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3139, 62, 15805, 62, 47945, 959, 3712, 43879, 2414, 8, 628, 220, 220, 220, 800, 41007, 82, 796, 2546, 7, 1236, 723, 1143, 62, 11128, 62, 15805, 11, 362, 8, 198, 220, 220, 220, 3858, 796, 2824, 7, 13083, 7, 25811, 62, 1525, 62, 4906, 4008, 628, 220, 220, 220, 997, 62, 325, 11726, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 744, 12195, 5317, 11, 362, 1635, 3392, 7, 13664, 7, 19199, 828, 800, 41007, 82, 36911, 3858, 11, 352, 25, 16340, 41007, 82, 8, 628, 220, 220, 220, 10618, 62, 7857, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 19199, 828, 800, 41007, 82, 828, 3858, 11, 352, 25, 16340, 41007, 82, 8, 198, 220, 220, 220, 10618, 62, 9744, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 19199, 828, 800, 41007, 82, 828, 3858, 11, 352, 25, 16340, 41007, 82, 8, 198, 220, 220, 220, 1575, 13033, 796, 38349, 3163, 20477, 13, 31554, 271, 19182, 7, 19182, 90, 38469, 90, 43879, 2414, 5512, 362, 92, 7, 917, 891, 11, 4129, 7, 19199, 828, 800, 41007, 82, 828, 3858, 11, 352, 25, 16340, 41007, 82, 8, 628, 220, 220, 220, 329, 256, 287, 3858, 198, 220, 220, 220, 220, 220, 220, 220, 329, 279, 287, 352, 25, 16340, 41007, 82, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 83, 11, 279, 60, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 58, 83, 11, 279, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 83, 11, 279, 60, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 58, 83, 11, 279, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1575, 13033, 58, 83, 11, 279, 60, 796, 1976, 27498, 7, 22510, 62, 325, 11726, 58, 83, 11, 279, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4129, 7, 25811, 62, 1525, 62, 4906, 58, 83, 12962, 18189, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 62, 9806, 62, 3605, 62, 25811, 796, 2160, 7, 9806, 3605, 25811, 58, 70, 60, 329, 308, 287, 3689, 62, 1525, 62, 4906, 58, 83, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 796, 3689, 62, 1525, 62, 4906, 58, 83, 7131, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 83, 11, 279, 7131, 16, 60, 796, 2779, 15805, 41667, 58, 70, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 7857, 58, 83, 11, 279, 7131, 17, 60, 796, 2472, 62, 9806, 62, 3605, 62, 25811, 532, 2779, 15805, 41667, 58, 70, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1575, 13033, 58, 83, 11, 279, 60, 796, 685, 1236, 723, 1143, 62, 11128, 62, 15805, 58, 70, 11, 279, 4357, 5079, 1143, 62, 11128, 62, 15805, 58, 70, 11, 279, 11907, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 83, 11, 279, 7131, 16, 60, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10618, 62, 9744, 58, 83, 11, 279, 7131, 17, 60, 796, 1575, 13033, 58, 83, 11, 279, 7131, 17, 60, 1635, 3139, 62, 15805, 62, 47945, 959, 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, 1441, 10618, 62, 7857, 11, 10618, 62, 9744, 11, 1575, 13033, 11, 997, 62, 325, 11726, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 2938, 5339, 5087, 286, 4493, 543, 389, 407, 287, 16018, 7108, 13, 198, 37811, 198, 8818, 4296, 62, 42404, 62, 22584, 669, 0, 7, 16302, 3712, 47, 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, 8883, 62, 3672, 3712, 10100, 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, 5339, 62, 22584, 669, 3712, 35, 713, 90, 10100, 11, 15690, 90, 43879, 2414, 11, 362, 11709, 8, 810, 350, 1279, 25, 4935, 90, 27, 25, 10934, 35645, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1720, 287, 651, 62, 29498, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 42404, 62, 22584, 669, 0, 7, 11167, 11, 8883, 62, 3672, 11, 5339, 62, 22584, 669, 58, 1136, 62, 3672, 7, 16302, 8, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 2938, 5339, 5087, 286, 16018, 4493, 13, 198, 37811, 198, 8818, 4296, 62, 42404, 62, 22584, 669, 0, 7, 16302, 3712, 47, 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, 8883, 62, 3672, 3712, 10100, 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, 5339, 62, 22584, 669, 3712, 35, 713, 90, 10100, 11, 15690, 90, 43879, 2414, 11, 362, 11709, 8, 810, 350, 1279, 25, 4935, 90, 19722, 92, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7261, 796, 651, 62, 13670, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1720, 287, 651, 62, 29498, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 42404, 62, 22584, 669, 0, 7, 11167, 11, 8883, 62, 3672, 11, 5339, 62, 22584, 669, 14692, 18076, 62, 3, 7, 1136, 62, 4906, 7, 13670, 4008, 62, 3, 7, 1136, 62, 11340, 7, 13670, 4008, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 2938, 6292, 5339, 5873, 286, 4493, 543, 389, 407, 287, 16018, 7108, 13, 198, 37811, 198, 8818, 4296, 62, 42404, 62, 13635, 276, 62, 525, 66, 0, 7, 16302, 3712, 47, 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, 8883, 62, 3672, 3712, 10100, 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, 5339, 62, 13635, 276, 62, 525, 66, 3712, 35, 713, 90, 10100, 11, 15690, 90, 43879, 2414, 11, 352, 11709, 8, 810, 350, 1279, 25, 4935, 90, 27, 25, 10934, 35645, 92, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1720, 287, 651, 62, 29498, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 13635, 276, 62, 525, 66, 0, 7, 11167, 11, 8883, 62, 3672, 11, 5339, 62, 13635, 276, 62, 525, 66, 58, 1136, 62, 3672, 7, 16302, 8, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 2938, 6292, 5339, 5873, 286, 16018, 4493, 13, 198, 37811, 198, 8818, 4296, 62, 42404, 62, 13635, 276, 62, 525, 66, 0, 7, 16302, 3712, 47, 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, 8883, 62, 3672, 3712, 10100, 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, 5339, 62, 13635, 276, 62, 525, 66, 3712, 35, 713, 90, 10100, 11, 15690, 90, 43879, 2414, 11, 352, 11709, 8, 810, 350, 1279, 25, 4935, 90, 19722, 92, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7261, 796, 651, 62, 13670, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1720, 287, 651, 62, 29498, 7, 16302, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 13635, 276, 62, 525, 66, 0, 7, 11167, 11, 8883, 62, 3672, 11, 5339, 62, 13635, 276, 62, 525, 66, 14692, 18076, 62, 3, 7, 1136, 62, 4906, 7, 13670, 4008, 62, 3, 7, 1136, 62, 11340, 7, 13670, 4008, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 857, 2147, 611, 262, 1720, 318, 407, 286, 29765, 2099, 13, 198, 37811, 198, 8818, 4296, 62, 36733, 62, 42404, 62, 260, 574, 947, 0, 7, 16302, 3712, 47, 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, 1720, 3712, 51, 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, 4238, 62, 42404, 62, 1050, 1063, 3712, 38469, 90, 43879, 2414, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 614, 3712, 5317, 2414, 8, 810, 1391, 47, 1279, 25, 4935, 90, 27, 25, 10934, 35645, 5512, 309, 1279, 25, 8721, 92, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 5339, 1910, 13089, 286, 1628, 379, 262, 923, 286, 262, 18640, 13, 198, 37811, 198, 8818, 4296, 62, 36733, 62, 42404, 62, 260, 574, 947, 0, 7, 16302, 3712, 47, 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, 1720, 3712, 15610, 4355, 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, 4238, 62, 42404, 62, 1050, 1063, 3712, 38469, 90, 43879, 2414, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 614, 3712, 5317, 2414, 8, 810, 350, 1279, 25, 4935, 90, 27, 25, 10934, 35645, 92, 198, 220, 220, 220, 5339, 62, 260, 4080, 796, 4238, 62, 42404, 62, 1050, 1063, 58, 1941, 60, 1635, 651, 62, 9806, 11128, 7, 16302, 8, 1635, 651, 62, 16302, 62, 1082, 803, 7, 16302, 8, 628, 220, 220, 220, 9604, 62, 7890, 796, 651, 62, 69, 14149, 62, 7890, 7, 16302, 8, 198, 220, 220, 220, 900, 62, 5305, 1143, 62, 9183, 0, 7, 1136, 62, 69, 14149, 62, 7890, 7, 16302, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 651, 62, 3672, 7, 11167, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 614, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5339, 62, 260, 4080, 8, 628, 220, 220, 220, 329, 8883, 62, 3672, 287, 8251, 7, 1136, 62, 1416, 39055, 62, 9183, 7, 69, 14149, 62, 7890, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4296, 62, 11813, 62, 9183, 0, 7, 11167, 11, 9604, 62, 7890, 11, 8883, 62, 3672, 11, 614, 11, 5339, 62, 260, 4080, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 857, 2147, 611, 262, 1720, 318, 407, 286, 29765, 393, 19644, 2099, 13, 198, 37811, 198, 8818, 4296, 62, 14065, 0, 7, 11167, 3712, 51, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5339, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 664, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2568, 62, 25493, 3712, 43879, 2414, 8, 810, 309, 1279, 25, 8721, 198, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 29765, 1910, 8406, 286, 4493, 13, 198, 37811, 198, 8818, 4296, 62, 14065, 0, 7, 11167, 3712, 15610, 4355, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5339, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 664, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2568, 62, 25493, 3712, 43879, 2414, 8, 628, 220, 220, 220, 900, 62, 42404, 62, 14065, 0, 7, 11167, 11, 5339, 62, 10728, 62, 14065, 8, 628, 220, 220, 220, 1441, 198, 437, 198, 198, 37811, 198, 1212, 2163, 5992, 262, 19644, 1910, 8406, 286, 4493, 13, 198, 37811, 198, 8818, 4296, 62, 14065, 0, 7, 11167, 3712, 38827, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5339, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 664, 62, 10728, 62, 14065, 3712, 43879, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2568, 62, 25493, 3712, 43879, 2414, 8, 628, 220, 220, 220, 900, 62, 8344, 62, 14065, 0, 7, 11167, 11, 664, 62, 10728, 62, 14065, 8, 198, 220, 220, 220, 900, 62, 8344, 62, 22583, 811, 689, 0, 7, 11167, 11, 2568, 62, 25493, 8, 198, 220, 220, 220, 1441, 198, 437, 198 ]
2.383834
4,528
####################################################################################### # Tangent Dynamics (aka linearized dynamics) # ####################################################################################### # IIP Tangent Space dynamics function create_tangent(@nospecialize(f::F), @nospecialize(jacobian::JAC), J::JM, ::Val{true}, ::Val{k}) where {F, JAC, JM, k} J = deepcopy(J) tangentf = (du, u, p, t) -> begin uv = @view u[:, 1] f(view(du, :, 1), uv, p, t) jacobian(J, uv, p, t) mul!((@view du[:, 2:(k+1)]), J, (@view u[:, 2:(k+1)])) nothing end return tangentf end # for the case of autodiffed systems, a specialized version is created # so that f! is not called twice in ForwardDiff function create_tangent_iad(f::F, J::JM, u, p, t, ::Val{k}) where {F, JM, k} let J = deepcopy(J) cfg = ForwardDiff.JacobianConfig( (du, u) -> f(du, u, p, p), deepcopy(u), deepcopy(u) ) tangentf = (du, u, p, t) -> begin uv = @view u[:, 1] ForwardDiff.jacobian!( J, (du, u) -> f(du, u, p, t), view(du, :, 1), uv, cfg, Val{false}() ) mul!((@view du[:, 2:k+1]), J, (@view u[:, 2:k+1])) nothing end return tangentf end end # OOP Tangent Space dynamics function create_tangent(f::F, jacobian::JAC, J::JM, ::Val{false}, ::Val{k}) where {F, JAC, JM, k} ws_index = SVector{k, Int}(2:(k+1)...) tangentf = TangentOOP{F, JAC, k}(f, jacobian, ws_index) return tangentf end struct TangentOOP{F, JAC, k} <: Function f::F jacobian::JAC ws::SVector{k, Int} end function (tan::TangentOOP)(u, p, t) @inbounds s = u[:, 1] du = tan.f(s, p, t) J = tan.jacobian(s, p, t) @inbounds dW = J*u[:, tan.ws] return hcat(du, dW) end ####################################################################################### # Parallel Dynamics # ####################################################################################### # Create equations of motion of evolving states in parallel function create_parallel(ds::DS{true}, states) st = [Vector(s) for s in states] L = length(st) paralleleom = (du, u, p, t) -> begin for i in 1:L @inbounds ds.f(du[i], u[i], p, t) end end return paralleleom, st end function create_parallel(ds::DS{false}, states) D = dimension(ds) st = [SVector{D}(s) for s in states] L = length(st) # The following may be inneficient paralleleom = (du, u, p, t) -> begin for i in 1:L @inbounds du[i] = ds.f(u[i], p, t) end end return paralleleom, st end
[ 198, 29113, 29113, 14468, 4242, 21017, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18816, 298, 33806, 357, 8130, 14174, 1143, 17262, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 198, 29113, 29113, 14468, 4242, 21017, 198, 198, 2, 2873, 47, 18816, 298, 4687, 17262, 198, 8818, 2251, 62, 83, 648, 298, 7, 31, 39369, 431, 2413, 1096, 7, 69, 3712, 37, 828, 2488, 39369, 431, 2413, 1096, 7, 30482, 672, 666, 3712, 41, 2246, 828, 449, 3712, 50229, 11, 198, 220, 220, 220, 7904, 7762, 90, 7942, 5512, 7904, 7762, 90, 74, 30072, 810, 1391, 37, 11, 449, 2246, 11, 47726, 11, 479, 92, 198, 220, 220, 220, 449, 796, 2769, 30073, 7, 41, 8, 198, 220, 220, 220, 13875, 298, 69, 796, 357, 646, 11, 334, 11, 279, 11, 256, 8, 4613, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 334, 85, 796, 2488, 1177, 334, 58, 45299, 352, 60, 198, 220, 220, 220, 220, 220, 220, 220, 277, 7, 1177, 7, 646, 11, 1058, 11, 352, 828, 334, 85, 11, 279, 11, 256, 8, 198, 220, 220, 220, 220, 220, 220, 220, 474, 330, 672, 666, 7, 41, 11, 334, 85, 11, 279, 11, 256, 8, 198, 220, 220, 220, 220, 220, 220, 220, 35971, 0, 19510, 31, 1177, 7043, 58, 45299, 362, 37498, 74, 10, 16, 15437, 828, 449, 11, 4275, 1177, 334, 58, 45299, 362, 37498, 74, 10, 16, 15437, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2147, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 13875, 298, 69, 198, 437, 198, 2, 329, 262, 1339, 286, 1960, 375, 733, 276, 3341, 11, 257, 16976, 2196, 318, 2727, 198, 2, 523, 326, 277, 0, 318, 407, 1444, 5403, 287, 19530, 28813, 198, 8818, 2251, 62, 83, 648, 298, 62, 72, 324, 7, 69, 3712, 37, 11, 449, 3712, 50229, 11, 334, 11, 279, 11, 256, 11, 7904, 7762, 90, 74, 30072, 810, 1391, 37, 11, 47726, 11, 479, 92, 198, 220, 220, 220, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 449, 796, 2769, 30073, 7, 41, 8, 198, 220, 220, 220, 220, 220, 220, 220, 30218, 70, 796, 19530, 28813, 13, 46751, 666, 16934, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 646, 11, 334, 8, 4613, 277, 7, 646, 11, 334, 11, 279, 11, 279, 828, 2769, 30073, 7, 84, 828, 2769, 30073, 7, 84, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 13875, 298, 69, 796, 357, 646, 11, 334, 11, 279, 11, 256, 8, 4613, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 334, 85, 796, 2488, 1177, 334, 58, 45299, 352, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 19530, 28813, 13, 30482, 672, 666, 0, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 449, 11, 357, 646, 11, 334, 8, 4613, 277, 7, 646, 11, 334, 11, 279, 11, 256, 828, 1570, 7, 646, 11, 1058, 11, 352, 828, 334, 85, 11, 30218, 70, 11, 3254, 90, 9562, 92, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 35971, 0, 19510, 31, 1177, 7043, 58, 45299, 362, 25, 74, 10, 16, 46570, 449, 11, 4275, 1177, 334, 58, 45299, 362, 25, 74, 10, 16, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13875, 298, 69, 198, 220, 220, 220, 886, 198, 437, 628, 198, 2, 440, 3185, 18816, 298, 4687, 17262, 198, 8818, 2251, 62, 83, 648, 298, 7, 69, 3712, 37, 11, 474, 330, 672, 666, 3712, 41, 2246, 11, 449, 3712, 50229, 11, 198, 220, 220, 220, 7904, 7762, 90, 9562, 5512, 7904, 7762, 90, 74, 30072, 810, 1391, 37, 11, 449, 2246, 11, 47726, 11, 479, 92, 628, 220, 220, 220, 266, 82, 62, 9630, 796, 20546, 9250, 90, 74, 11, 2558, 92, 7, 17, 37498, 74, 10, 16, 8, 23029, 198, 220, 220, 220, 13875, 298, 69, 796, 18816, 298, 46, 3185, 90, 37, 11, 449, 2246, 11, 479, 92, 7, 69, 11, 474, 330, 672, 666, 11, 266, 82, 62, 9630, 8, 198, 220, 220, 220, 1441, 13875, 298, 69, 198, 437, 198, 7249, 18816, 298, 46, 3185, 90, 37, 11, 449, 2246, 11, 479, 92, 1279, 25, 15553, 198, 220, 220, 220, 277, 3712, 37, 198, 220, 220, 220, 474, 330, 672, 666, 3712, 41, 2246, 198, 220, 220, 220, 266, 82, 3712, 50, 38469, 90, 74, 11, 2558, 92, 198, 437, 198, 8818, 357, 38006, 3712, 43909, 298, 46, 3185, 5769, 84, 11, 279, 11, 256, 8, 198, 220, 220, 220, 2488, 259, 65, 3733, 264, 796, 334, 58, 45299, 352, 60, 198, 220, 220, 220, 7043, 796, 25706, 13, 69, 7, 82, 11, 279, 11, 256, 8, 198, 220, 220, 220, 449, 796, 25706, 13, 30482, 672, 666, 7, 82, 11, 279, 11, 256, 8, 198, 220, 220, 220, 2488, 259, 65, 3733, 288, 54, 796, 449, 9, 84, 58, 45299, 25706, 13, 18504, 60, 198, 220, 220, 220, 1441, 289, 9246, 7, 646, 11, 288, 54, 8, 198, 437, 628, 198, 29113, 29113, 14468, 4242, 21017, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42945, 33806, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 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, 4242, 21017, 198, 2, 13610, 27490, 286, 6268, 286, 21568, 2585, 287, 10730, 198, 8818, 2251, 62, 1845, 29363, 7, 9310, 3712, 5258, 90, 7942, 5512, 2585, 8, 198, 220, 220, 220, 336, 796, 685, 38469, 7, 82, 8, 329, 264, 287, 2585, 60, 198, 220, 220, 220, 406, 796, 4129, 7, 301, 8, 198, 220, 220, 220, 9315, 293, 296, 796, 357, 646, 11, 334, 11, 279, 11, 256, 8, 4613, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 25, 43, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 259, 65, 3733, 288, 82, 13, 69, 7, 646, 58, 72, 4357, 334, 58, 72, 4357, 279, 11, 256, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 9315, 293, 296, 11, 336, 198, 437, 198, 198, 8818, 2251, 62, 1845, 29363, 7, 9310, 3712, 5258, 90, 9562, 5512, 2585, 8, 198, 220, 220, 220, 360, 796, 15793, 7, 9310, 8, 198, 220, 220, 220, 336, 796, 685, 50, 38469, 90, 35, 92, 7, 82, 8, 329, 264, 287, 2585, 60, 198, 220, 220, 220, 406, 796, 4129, 7, 301, 8, 198, 220, 220, 220, 1303, 383, 1708, 743, 307, 287, 710, 69, 11373, 198, 220, 220, 220, 9315, 293, 296, 796, 357, 646, 11, 334, 11, 279, 11, 256, 8, 4613, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 25, 43, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 259, 65, 3733, 7043, 58, 72, 60, 796, 288, 82, 13, 69, 7, 84, 58, 72, 4357, 279, 11, 256, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 9315, 293, 296, 11, 336, 198, 437, 198 ]
2.134644
1,322
######################################################################################################################################### ######### knotvector.jl contains all basic functionality in order to construct and manipulate B-spline knotvectors ###################### ######################################################################################################################################### # # Functions: # buildvector() - construct a knotvector using a vector with increasing values of type T and a vector # specifying the knot multiplicity # uniqueknots() - decompose a knotvector into an increasing vector of Float64, the knotmultiplicity, and vectors specifying indexing into the knotvector # globalrefine() - put k new knots inside the non-zero knotspans of the knotvector # findspan() - determine the knot span index of a point 'u' in the knotvector 'kts' # findnonzerospan() - find span of all non-zero span elements in knotvector kts # getelementknotvectors() - determine the local knotvectors of each non-zero-span element in the knovector # ######################################################################################################################################### # # File part of the Julia IsoGeometric Analysis toolbox # R.R.Hiemstra # 14-09-2015 # ######################################################################################################################################## ######################################################################################################################################### # typealiases const Degree = Int const KnotVector = Vector{Float64} """ construct a knotvector using a vector with increasing values of type T and a vector specifying the knot multiplicity ## input: uvals :: Vector{T} - vector with increasing values of type T mult :: Vector{Int} - vector specifying the knot multiplicity ## output: kts :: Vector{T} - knotvector with knot values of type T """ function buildvector(uvals::Array{T,1},mult::Array{Int64,1}) where {T<:Number} # allocate space v = zeros(T,sum(mult)) # set values ind = 1 for i in 1:length(uvals) v[ind:ind+mult[i]-1] = fill(uvals[i],mult[i]) ind = ind + mult[i] end return v end """ decompose a knotvector into an increasing vector of Float64, the knotmultiplicity, and vectors specifying indexing into the knotvector ## input: kts :: Vector{Float64} - knotvector ## output: ukts :: Vector{Float64} - unique knot values in increasing order mult :: Vector{Int} - corresponding knot multiplicity inda :: Vector{Int} - indexing such that kts==ukts[inda] indb :: Vector{Int} - indexing such that kts[indb]==ukts """ function uniqueknots(knots::Array{Float64,1}) n = length(knots) mult = ones(Int64,n) uknots = zeros(Float64,n) inda = zeros(Int64,n) indc = zeros(Int64,n) j = 1; uknots[1] = knots[1]; inda[1] = 1; indc[1] = 1 for i in 2:n if knots[i]==knots[i-1] mult[j] += 1 else j+=1 uknots[j] = knots[i] indc[j] = i end inda[i] = j end return uknots[1:j], mult[1:j], inda, indc[1:j] end function uniqueknots(kts) n = length(kts) temp = ntuple(i -> uniqueknots(kts[i]), n) return ukts, umult, inda, indc = ntuple(j -> ntuple(i -> temp[i][j], n), 4) end """ global refine knotvector: put k new knots in non-zero knotspans ## input: kts :: Vector{Float64} - knotvector k :: Int - integer prescribing the number of new knots to put in current non-zero knot-spans ## output: newkts :: Vector{Float64} - refined knotvector """ function globalrefine(kts::Vector{Float64},k::Int) # get unique knots and multiplicity ukts, umult, inda, indc = uniqueknots(kts) n = length(kts); m = length(ukts) # compute new knotvector newkts = zeros(n + k*(m-1)); j = 1 for i in 1:m-1 newkts[j:j+umult[i]-1] = ukts[i] j += umult[i]-1 newkts[j:j+k+1] = linspace(ukts[i],ukts[i+1],k+2) j += k+1 end newkts[j:j+umult[m]-1] = ukts[m] return newkts end """ Determine the knot span index of a point 'u' in th knotvector 'kts' ## input: p :: Int - polynomial degree kts :: Vector{Float64} - knotvector u :: Float64 - evaluation point ## output: span :: Int - knot span index of a point 'u' in th knotvector 'kts' """ function findspan(p::Integer, kts::Vector{Float64}, u::Float64) if u<kts[1] || u>kts[end] error("Boundserror findspan(p::Integer, kts::Vector{Float64}, u::Float64)") end if u==kts[end] span = length(kts)-1 while kts[span]==kts[span+1] span+=-1 end else low = 0 high = length(kts) mid = round(Int64,(low + high)/2) while u < kts[mid] || u >= kts[mid + 1] if u < kts[mid] high = mid else low = mid end mid = round(Int64,(low + high)/2) end span = round(Int64,(low + high)/2) end return span end """ Determine the knot span index of a vector of points 'u' in the knotvector 'kts' ## input: p :: Int - polynomial degree kts :: Vector{Float64} - knotvector u :: Vector{Float64} - evaluation point ## output: span :: Vector{Int} - vector with knot span index of each point u[i] in the knotvector 'kts' """ function findspan(p::Integer, kts::Vector{Float64}, u::Vector{Float64}) # spline space dimension n = length(kts)-p-1 # allocate space for span m = length(u) span = zeros(Int64,m) span[1] = findspan(p,kts,u[1]) span[m] = findspan(p,kts,u[m]) # find span at u[i] for i in 2:m-1 span[i] = span[i-1] while u[i] > kts[span[i]+1] span[i] += 1 end end return span end function findfunswithcompactsupp(p::Int,kts::Vector{Float64},a::Float64,b::Float64) n = length(kts); k = 1 while a!=kts[k] && k<n k+=1 end a = k while b>=kts[k] && k<=n k+=1 end b = k-2-p return a:b end """ find span of all non-zero span elements in knotvector 'kts' ## input: p :: Int - polynomial degree kts :: Vector{Float64} - knotvector ## output: span :: Vector{Int} - vector with knot span index of each non-zero-span elements in the knotvector 'kts' """ function findnonzerospan(p::Int,kts::Vector{Float64}) m = length(kts) span = zeros(Int64,m) count = 1 for j in p+1:m-p-1 if kts[j]!=kts[j+1] span[count] = j count+=1 end end return span[1:count-1] end findnonzerospan(kts::NTuple{N,Vector{Float64}}) where {N} = ntuple(length(kts),(j)->findnonzerospan(kts[j])) "find the elements in support of basisfunctions" function findsupp(p::Int, kts::Vector{Float64}) span = findnonzerospan(p,kts) n = dimsplinespace(p,kts) m = length(span) graph = zeros(Bool,m,n) for k in 1:m graph[k,span[k]-p:span[k]] = true end return [[1:m][graph[:,k]] for k in 1:n] end """ get element knot vectors from global knot partition ## input: p :: Int - polynomial degree kts :: Vector{Float64} - knotvector span :: Vector{Int} - span-index of each non-zero knot-span in the knotvector ## output: ekts :: Vector{Vector{Float64}} - vector knotvectors local to each element in knotvector kts """ getelementknotvectors(p::Int, kts::Vector{Float64}, span::Vector{Int}) = [kts[span[i]-p:span[i]+1+p] for i in 1:length(span)] """ get element knot vectors from global knot partition ## input: p :: Int - polynomial degree kts :: Vector{Float64} - knotvector ## output: vkts :: Vector{Vector{Float64}} - vector knotvectors local to each element in knotvector kts """ getelementknotvectors(p::Int, kts::Vector{Float64}) = getelementknotvectors(p,kts,findnonzerospan(p,kts))
[ 29113, 29113, 29113, 29113, 7804, 2, 198, 7804, 2, 29654, 31364, 13, 20362, 4909, 477, 4096, 11244, 287, 1502, 284, 5678, 290, 18510, 347, 12, 22018, 500, 29654, 303, 5217, 1303, 14468, 4242, 2, 198, 29113, 29113, 29113, 29113, 7804, 2, 198, 2, 198, 2, 40480, 25, 198, 2, 220, 220, 220, 220, 220, 220, 1382, 31364, 3419, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 220, 5678, 257, 29654, 31364, 1262, 257, 15879, 351, 3649, 3815, 286, 2099, 309, 290, 257, 15879, 1303, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31577, 262, 29654, 15082, 8467, 198, 2, 220, 220, 220, 220, 220, 220, 555, 1557, 988, 1662, 82, 3419, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 220, 26969, 3455, 257, 29654, 31364, 656, 281, 3649, 15879, 286, 48436, 2414, 11, 262, 29654, 47945, 8467, 11, 290, 30104, 31577, 6376, 278, 656, 262, 29654, 31364, 198, 2, 220, 220, 220, 220, 220, 220, 3298, 5420, 500, 3419, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 220, 1234, 479, 649, 33620, 2641, 262, 1729, 12, 22570, 33620, 79, 504, 286, 262, 29654, 31364, 198, 2, 220, 220, 220, 220, 220, 220, 1064, 12626, 3419, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 220, 5004, 262, 29654, 11506, 6376, 286, 257, 966, 705, 84, 6, 287, 262, 29654, 31364, 705, 74, 912, 6, 198, 2, 220, 220, 220, 220, 220, 220, 1064, 13159, 9107, 2117, 272, 3419, 220, 220, 220, 220, 220, 220, 532, 220, 1064, 11506, 286, 477, 1729, 12, 22570, 11506, 4847, 287, 29654, 31364, 479, 912, 198, 2, 220, 220, 220, 220, 220, 220, 651, 30854, 74, 1662, 303, 5217, 3419, 532, 220, 5004, 262, 1957, 29654, 303, 5217, 286, 1123, 1729, 12, 22570, 12, 12626, 5002, 287, 262, 638, 659, 2715, 198, 2, 198, 29113, 29113, 29113, 29113, 7804, 2, 198, 2, 198, 2, 9220, 636, 286, 262, 22300, 314, 568, 10082, 16996, 14691, 2891, 3524, 198, 2, 371, 13, 49, 13, 17250, 368, 12044, 198, 2, 1478, 12, 2931, 12, 4626, 198, 2, 198, 29113, 29113, 29113, 29113, 7804, 198, 198, 29113, 29113, 29113, 29113, 7804, 2, 198, 198, 2, 2099, 7344, 1386, 198, 9979, 34486, 796, 2558, 198, 9979, 42572, 38469, 796, 20650, 90, 43879, 2414, 92, 198, 198, 37811, 198, 41571, 257, 29654, 31364, 1262, 257, 15879, 351, 3649, 3815, 286, 2099, 309, 290, 257, 15879, 31577, 262, 29654, 15082, 8467, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 334, 12786, 7904, 20650, 90, 51, 92, 220, 220, 532, 15879, 351, 3649, 3815, 286, 2099, 309, 198, 220, 220, 220, 1963, 220, 7904, 20650, 90, 5317, 92, 532, 15879, 31577, 262, 29654, 15082, 8467, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 479, 912, 220, 220, 7904, 20650, 90, 51, 92, 220, 220, 532, 29654, 31364, 351, 29654, 3815, 286, 2099, 309, 198, 37811, 198, 8818, 1382, 31364, 7, 84, 12786, 3712, 19182, 90, 51, 11, 16, 5512, 16680, 3712, 19182, 90, 5317, 2414, 11, 16, 30072, 810, 1391, 51, 27, 25, 15057, 92, 198, 220, 1303, 31935, 2272, 198, 220, 410, 796, 1976, 27498, 7, 51, 11, 16345, 7, 16680, 4008, 628, 220, 1303, 900, 3815, 198, 220, 773, 796, 352, 198, 220, 329, 1312, 287, 352, 25, 13664, 7, 84, 12786, 8, 198, 220, 220, 220, 220, 220, 410, 58, 521, 25, 521, 10, 16680, 58, 72, 45297, 16, 60, 796, 6070, 7, 84, 12786, 58, 72, 4357, 16680, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 773, 796, 773, 1343, 1963, 58, 72, 60, 198, 220, 886, 628, 220, 1441, 410, 198, 437, 198, 198, 37811, 198, 12501, 3361, 577, 257, 29654, 31364, 656, 281, 3649, 15879, 286, 48436, 2414, 11, 262, 29654, 47945, 8467, 11, 290, 30104, 31577, 6376, 278, 656, 262, 29654, 31364, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 479, 912, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 334, 74, 912, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 532, 3748, 29654, 3815, 287, 3649, 1502, 198, 220, 220, 220, 1963, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 532, 11188, 29654, 15082, 8467, 198, 220, 220, 220, 773, 64, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 532, 6376, 278, 884, 326, 479, 912, 855, 2724, 912, 58, 22261, 60, 198, 220, 220, 220, 773, 65, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 532, 6376, 278, 884, 326, 479, 912, 58, 521, 65, 60, 855, 2724, 912, 198, 37811, 198, 8818, 555, 1557, 988, 1662, 82, 7, 74, 1662, 82, 3712, 19182, 90, 43879, 2414, 11, 16, 30072, 198, 220, 220, 220, 299, 796, 4129, 7, 74, 1662, 82, 8, 198, 220, 220, 220, 1963, 796, 3392, 7, 5317, 2414, 11, 77, 8, 198, 220, 220, 220, 334, 74, 1662, 82, 796, 1976, 27498, 7, 43879, 2414, 11, 77, 8, 198, 220, 220, 220, 773, 64, 796, 1976, 27498, 7, 5317, 2414, 11, 77, 8, 198, 220, 220, 220, 773, 66, 796, 1976, 27498, 7, 5317, 2414, 11, 77, 8, 628, 220, 220, 220, 474, 796, 352, 26, 334, 74, 1662, 82, 58, 16, 60, 796, 33620, 58, 16, 11208, 773, 64, 58, 16, 60, 796, 352, 26, 773, 66, 58, 16, 60, 796, 352, 198, 220, 220, 220, 329, 1312, 287, 362, 25, 77, 198, 220, 220, 220, 220, 220, 220, 220, 611, 33620, 58, 72, 60, 855, 74, 1662, 82, 58, 72, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1963, 58, 73, 60, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 47932, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 334, 74, 1662, 82, 58, 73, 60, 796, 33620, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 66, 58, 73, 60, 796, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 773, 64, 58, 72, 60, 796, 474, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 334, 74, 1662, 82, 58, 16, 25, 73, 4357, 1963, 58, 16, 25, 73, 4357, 773, 64, 11, 773, 66, 58, 16, 25, 73, 60, 198, 437, 198, 198, 8818, 555, 1557, 988, 1662, 82, 7, 74, 912, 8, 198, 220, 299, 796, 4129, 7, 74, 912, 8, 198, 220, 20218, 796, 299, 83, 29291, 7, 72, 4613, 555, 1557, 988, 1662, 82, 7, 74, 912, 58, 72, 46570, 299, 8, 198, 220, 1441, 334, 74, 912, 11, 334, 16680, 11, 773, 64, 11, 773, 66, 796, 299, 83, 29291, 7, 73, 4613, 299, 83, 29291, 7, 72, 4613, 20218, 58, 72, 7131, 73, 4357, 299, 828, 604, 8, 198, 437, 198, 198, 37811, 198, 20541, 35139, 29654, 31364, 25, 1234, 479, 649, 33620, 287, 1729, 12, 22570, 33620, 79, 504, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 479, 912, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 220, 220, 532, 29654, 31364, 198, 220, 220, 220, 479, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 18253, 39973, 262, 1271, 286, 649, 33620, 284, 1234, 287, 1459, 1729, 12, 22570, 29654, 12, 2777, 504, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 649, 74, 912, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 20449, 29654, 31364, 198, 37811, 198, 8818, 3298, 5420, 500, 7, 74, 912, 3712, 38469, 90, 43879, 2414, 5512, 74, 3712, 5317, 8, 198, 220, 220, 220, 1303, 651, 3748, 33620, 290, 15082, 8467, 198, 220, 220, 220, 334, 74, 912, 11, 334, 16680, 11, 773, 64, 11, 773, 66, 796, 555, 1557, 988, 1662, 82, 7, 74, 912, 8, 198, 220, 220, 220, 299, 796, 4129, 7, 74, 912, 1776, 285, 796, 4129, 7, 2724, 912, 8, 628, 220, 220, 220, 1303, 24061, 649, 29654, 31364, 198, 220, 220, 220, 649, 74, 912, 796, 1976, 27498, 7, 77, 1343, 479, 9, 7, 76, 12, 16, 18125, 474, 796, 352, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 76, 12, 16, 198, 220, 220, 220, 220, 220, 220, 220, 649, 74, 912, 58, 73, 25, 73, 10, 388, 586, 58, 72, 45297, 16, 60, 796, 334, 74, 912, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 474, 15853, 334, 16680, 58, 72, 45297, 16, 198, 220, 220, 220, 220, 220, 220, 220, 649, 74, 912, 58, 73, 25, 73, 10, 74, 10, 16, 60, 796, 300, 1040, 10223, 7, 2724, 912, 58, 72, 4357, 2724, 912, 58, 72, 10, 16, 4357, 74, 10, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 474, 15853, 479, 10, 16, 198, 220, 220, 220, 886, 198, 220, 220, 220, 649, 74, 912, 58, 73, 25, 73, 10, 388, 586, 58, 76, 45297, 16, 60, 796, 334, 74, 912, 58, 76, 60, 198, 220, 220, 220, 1441, 649, 74, 912, 198, 437, 198, 198, 37811, 198, 35, 2357, 3810, 262, 29654, 11506, 6376, 286, 257, 966, 705, 84, 6, 287, 294, 29654, 31364, 705, 74, 912, 6, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 279, 220, 220, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 745, 6213, 49070, 4922, 198, 220, 220, 220, 479, 912, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 220, 220, 220, 334, 220, 220, 220, 220, 220, 7904, 48436, 2414, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 12660, 966, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 11506, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 29654, 11506, 6376, 286, 257, 966, 705, 84, 6, 287, 294, 29654, 31364, 705, 74, 912, 6, 198, 37811, 198, 8818, 1064, 12626, 7, 79, 3712, 46541, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 5512, 334, 3712, 43879, 2414, 8, 198, 220, 220, 220, 611, 334, 27, 74, 912, 58, 16, 60, 8614, 334, 29, 74, 912, 58, 437, 60, 198, 220, 220, 220, 220, 220, 220, 220, 4049, 7203, 49646, 2655, 1472, 1064, 12626, 7, 79, 3712, 46541, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 5512, 334, 3712, 43879, 2414, 8, 4943, 198, 220, 220, 220, 886, 628, 220, 220, 220, 611, 334, 855, 74, 912, 58, 437, 60, 198, 220, 220, 220, 220, 220, 220, 220, 11506, 796, 4129, 7, 74, 912, 13219, 16, 198, 220, 220, 220, 220, 220, 220, 220, 981, 479, 912, 58, 12626, 60, 855, 74, 912, 58, 12626, 10, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11506, 10, 10779, 16, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 1029, 796, 4129, 7, 74, 912, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3095, 796, 2835, 7, 5317, 2414, 11, 7, 9319, 1343, 1029, 20679, 17, 8, 628, 220, 220, 220, 220, 220, 220, 220, 981, 334, 1279, 479, 912, 58, 13602, 60, 8614, 334, 18189, 479, 912, 58, 13602, 1343, 352, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 334, 1279, 479, 912, 58, 13602, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1029, 796, 3095, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1877, 796, 3095, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3095, 796, 2835, 7, 5317, 2414, 11, 7, 9319, 1343, 1029, 20679, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 11506, 796, 2835, 7, 5317, 2414, 11, 7, 9319, 1343, 1029, 20679, 17, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 11506, 198, 437, 198, 198, 37811, 198, 35, 2357, 3810, 262, 29654, 11506, 6376, 286, 257, 15879, 286, 2173, 705, 84, 6, 287, 262, 29654, 31364, 705, 74, 912, 6, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 279, 220, 220, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 745, 6213, 49070, 4922, 198, 220, 220, 220, 479, 912, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 220, 220, 220, 334, 220, 220, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 12660, 966, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 11506, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 220, 532, 15879, 351, 29654, 11506, 6376, 286, 1123, 966, 334, 58, 72, 60, 287, 262, 29654, 31364, 705, 74, 912, 6, 198, 37811, 198, 8818, 1064, 12626, 7, 79, 3712, 46541, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 5512, 334, 3712, 38469, 90, 43879, 2414, 30072, 198, 220, 220, 220, 1303, 4328, 500, 2272, 15793, 198, 220, 220, 220, 299, 796, 4129, 7, 74, 912, 13219, 79, 12, 16, 628, 220, 220, 220, 1303, 31935, 2272, 329, 11506, 198, 220, 220, 220, 285, 796, 4129, 7, 84, 8, 198, 220, 220, 220, 11506, 796, 1976, 27498, 7, 5317, 2414, 11, 76, 8, 198, 220, 220, 220, 11506, 58, 16, 60, 796, 1064, 12626, 7, 79, 11, 74, 912, 11, 84, 58, 16, 12962, 198, 220, 220, 220, 11506, 58, 76, 60, 796, 1064, 12626, 7, 79, 11, 74, 912, 11, 84, 58, 76, 12962, 628, 220, 220, 220, 1303, 1064, 11506, 379, 334, 58, 72, 60, 198, 220, 220, 220, 329, 1312, 287, 362, 25, 76, 12, 16, 198, 220, 220, 220, 220, 220, 220, 220, 11506, 58, 72, 60, 796, 11506, 58, 72, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 981, 334, 58, 72, 60, 1875, 479, 912, 58, 12626, 58, 72, 48688, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11506, 58, 72, 60, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 11506, 198, 437, 198, 198, 8818, 1064, 12543, 2032, 342, 5589, 529, 18608, 7, 79, 3712, 5317, 11, 74, 912, 3712, 38469, 90, 43879, 2414, 5512, 64, 3712, 43879, 2414, 11, 65, 3712, 43879, 2414, 8, 198, 220, 220, 220, 299, 796, 4129, 7, 74, 912, 1776, 479, 796, 352, 198, 220, 220, 220, 981, 257, 0, 28, 74, 912, 58, 74, 60, 11405, 479, 27, 77, 198, 220, 220, 220, 220, 220, 220, 220, 479, 47932, 16, 198, 220, 220, 220, 886, 198, 220, 220, 220, 257, 796, 479, 198, 220, 220, 220, 981, 275, 29, 28, 74, 912, 58, 74, 60, 11405, 479, 27, 28, 77, 198, 220, 220, 220, 220, 220, 220, 220, 479, 47932, 16, 198, 220, 220, 220, 886, 198, 220, 220, 220, 275, 796, 479, 12, 17, 12, 79, 198, 220, 220, 220, 1441, 257, 25, 65, 198, 437, 198, 198, 37811, 198, 19796, 11506, 286, 477, 1729, 12, 22570, 11506, 4847, 287, 29654, 31364, 705, 74, 912, 6, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 279, 220, 220, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 745, 6213, 49070, 4922, 198, 220, 220, 220, 479, 912, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 11506, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 220, 532, 15879, 351, 29654, 11506, 6376, 286, 1123, 1729, 12, 22570, 12, 12626, 4847, 287, 262, 29654, 31364, 705, 74, 912, 6, 198, 37811, 198, 8818, 1064, 13159, 9107, 2117, 272, 7, 79, 3712, 5317, 11, 74, 912, 3712, 38469, 90, 43879, 2414, 30072, 198, 220, 220, 220, 285, 796, 4129, 7, 74, 912, 8, 198, 220, 220, 220, 11506, 796, 1976, 27498, 7, 5317, 2414, 11, 76, 8, 628, 220, 220, 220, 954, 796, 352, 198, 220, 220, 220, 329, 474, 287, 279, 10, 16, 25, 76, 12, 79, 12, 16, 198, 220, 220, 220, 220, 220, 220, 220, 611, 479, 912, 58, 73, 60, 0, 28, 74, 912, 58, 73, 10, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11506, 58, 9127, 60, 796, 474, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 47932, 16, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 11506, 58, 16, 25, 9127, 12, 16, 60, 198, 437, 198, 19796, 13159, 9107, 2117, 272, 7, 74, 912, 3712, 11251, 29291, 90, 45, 11, 38469, 90, 43879, 2414, 11709, 8, 810, 1391, 45, 92, 796, 299, 83, 29291, 7, 13664, 7, 74, 912, 828, 7, 73, 8, 3784, 19796, 13159, 9107, 2117, 272, 7, 74, 912, 58, 73, 60, 4008, 198, 198, 1, 19796, 262, 4847, 287, 1104, 286, 4308, 12543, 2733, 1, 198, 8818, 1064, 18608, 7, 79, 3712, 5317, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 30072, 198, 220, 220, 220, 11506, 796, 1064, 13159, 9107, 2117, 272, 7, 79, 11, 74, 912, 8, 198, 220, 220, 220, 299, 220, 220, 220, 796, 5391, 22018, 1127, 10223, 7, 79, 11, 74, 912, 8, 198, 220, 220, 220, 285, 220, 220, 220, 796, 4129, 7, 12626, 8, 628, 220, 220, 220, 4823, 796, 1976, 27498, 7, 33, 970, 11, 76, 11, 77, 8, 198, 220, 220, 220, 329, 479, 287, 352, 25, 76, 198, 220, 220, 220, 220, 220, 220, 220, 4823, 58, 74, 11, 12626, 58, 74, 45297, 79, 25, 12626, 58, 74, 11907, 796, 2081, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 16410, 16, 25, 76, 7131, 34960, 58, 45299, 74, 11907, 329, 479, 287, 352, 25, 77, 60, 198, 437, 198, 198, 37811, 198, 1136, 5002, 29654, 30104, 422, 3298, 29654, 18398, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 279, 220, 220, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 745, 6213, 49070, 4922, 198, 220, 220, 220, 479, 912, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 220, 220, 220, 11506, 220, 220, 7904, 20650, 90, 5317, 92, 220, 220, 220, 220, 220, 532, 11506, 12, 9630, 286, 1123, 1729, 12, 22570, 29654, 12, 12626, 287, 262, 29654, 31364, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 304, 74, 912, 220, 220, 7904, 20650, 90, 38469, 90, 43879, 2414, 11709, 532, 15879, 29654, 303, 5217, 1957, 284, 1123, 5002, 287, 29654, 31364, 479, 912, 198, 37811, 198, 1136, 30854, 74, 1662, 303, 5217, 7, 79, 3712, 5317, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 5512, 11506, 3712, 38469, 90, 5317, 30072, 796, 685, 74, 912, 58, 12626, 58, 72, 45297, 79, 25, 12626, 58, 72, 48688, 16, 10, 79, 60, 329, 1312, 287, 352, 25, 13664, 7, 12626, 15437, 198, 198, 37811, 198, 1136, 5002, 29654, 30104, 422, 3298, 29654, 18398, 198, 198, 2235, 5128, 25, 198, 220, 220, 220, 279, 220, 220, 220, 220, 220, 7904, 2558, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 745, 6213, 49070, 4922, 198, 220, 220, 220, 479, 912, 220, 220, 220, 7904, 20650, 90, 43879, 2414, 92, 220, 532, 29654, 31364, 198, 198, 2235, 5072, 25, 198, 220, 220, 220, 410, 74, 912, 220, 220, 7904, 20650, 90, 38469, 90, 43879, 2414, 11709, 532, 15879, 29654, 303, 5217, 1957, 284, 1123, 5002, 287, 29654, 31364, 479, 912, 198, 37811, 198, 1136, 30854, 74, 1662, 303, 5217, 7, 79, 3712, 5317, 11, 479, 912, 3712, 38469, 90, 43879, 2414, 30072, 796, 651, 30854, 74, 1662, 303, 5217, 7, 79, 11, 74, 912, 11, 19796, 13159, 9107, 2117, 272, 7, 79, 11, 74, 912, 4008, 198 ]
2.412777
3,428
module MechGluecode using Requires export value, ODE_DEFAULT_NORM, UNITLESS_ABS2, Unitfu, norm function __init__() @require MechanicalUnits = "e6be9192-89dc-11e9-36e6-5dbcb28f419e" begin @require Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" begin @info "Plots => using MechGluePlots" @eval using MechGluePlots end @require Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" begin @info "Interpolations => using MechGlueInterpolations" @eval using MechGlueInterpolations end @require ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" begin #@info "ModelingToolkit => using MechGlueModelingToolkit" #@eval using MechGlueModelingToolkit end @require RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd" begin # @info "RecursiveArrayTools => using MechGlueRecursiveArrayTools" # @eval using MechGlueDiffEqBase # @info "RecursiveArrayTools => using MechGlueRecursiveArrayTools" # @eval using MechGlueRecursiveArrayTools end @require DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e" begin @info "DiffEqBase => using MechGlueDiffEqBase" @eval using MechGlueDiffEqBase end end @info "MechGluecode init" end end
[ 21412, 18202, 9861, 518, 8189, 198, 3500, 26848, 198, 39344, 1988, 11, 440, 7206, 62, 7206, 38865, 62, 35510, 44, 11, 4725, 2043, 48481, 62, 32, 4462, 17, 11, 11801, 20942, 11, 2593, 198, 198, 8818, 11593, 15003, 834, 3419, 198, 220, 220, 220, 2488, 46115, 19663, 3118, 896, 796, 366, 68, 21, 1350, 24, 17477, 12, 4531, 17896, 12, 1157, 68, 24, 12, 2623, 68, 21, 12, 20, 9945, 21101, 2078, 69, 45068, 68, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 46115, 1345, 1747, 796, 366, 6420, 64, 20, 15630, 1860, 12, 2816, 67, 22, 12, 20, 66, 1878, 12, 24, 68, 15, 65, 12, 31211, 67, 23, 3270, 66, 3609, 1795, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 10951, 366, 3646, 1747, 5218, 1262, 18202, 9861, 518, 3646, 1747, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 18206, 1262, 18202, 9861, 518, 3646, 1747, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 46115, 4225, 16104, 602, 796, 366, 64, 4089, 67, 24, 64, 23, 65, 12, 64, 17, 397, 12, 3270, 68, 21, 12, 4531, 1860, 12, 2414, 64, 16, 66, 1507, 69, 6888, 3270, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 10951, 366, 9492, 16104, 602, 5218, 1262, 18202, 9861, 518, 9492, 16104, 602, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 18206, 1262, 18202, 9861, 518, 9492, 16104, 602, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 46115, 9104, 278, 25391, 15813, 796, 366, 4846, 16, 1453, 2931, 18, 12, 405, 1415, 12, 33548, 69, 12, 5824, 68, 18, 12, 21, 1157, 3695, 405, 68, 22, 64, 3695, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31, 10951, 366, 5841, 10809, 25391, 15813, 5218, 1262, 18202, 9861, 518, 5841, 10809, 25391, 15813, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 31, 18206, 1262, 18202, 9861, 518, 5841, 10809, 25391, 15813, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 46115, 3311, 30753, 19182, 33637, 796, 366, 4790, 1157, 4521, 6888, 12, 23, 67, 5237, 12, 3553, 344, 12, 65, 39226, 12, 69, 17457, 24, 2791, 67, 2998, 19, 10210, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 10951, 366, 6690, 30753, 19182, 33637, 5218, 1262, 18202, 9861, 518, 6690, 30753, 19182, 33637, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2488, 18206, 1262, 18202, 9861, 518, 28813, 36, 80, 14881, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 2488, 10951, 366, 6690, 30753, 19182, 33637, 5218, 1262, 18202, 9861, 518, 6690, 30753, 19182, 33637, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 2488, 18206, 1262, 18202, 9861, 518, 6690, 30753, 19182, 33637, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 46115, 10631, 36, 80, 14881, 796, 366, 17, 65, 20, 69, 48602, 67, 12, 67, 34427, 12, 20, 65, 3324, 12, 44821, 69, 12, 4761, 67, 2425, 66, 2425, 46900, 68, 1, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 10951, 366, 28813, 36, 80, 14881, 5218, 1262, 18202, 9861, 518, 28813, 36, 80, 14881, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 18206, 1262, 18202, 9861, 518, 28813, 36, 80, 14881, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2488, 10951, 366, 28452, 9861, 518, 8189, 2315, 1, 198, 437, 198, 437, 198 ]
2.074581
657
################################################################################# # Comparison of Zig-Zag for diffusion bridges with tailored Poisson rates # # and with adapted Poisson rate. Reference: https://arxiv.org/abs/2001.05889. # ################################################################################# using ZigZagBoomerang, SparseArrays, LinearAlgebra #using CairoMakie include("../../src/faberschauder.jl") include("../../src/asvar.jl") include("../../src/pdmp.jl") const ZZB = ZigZagBoomerang using CSV using DataFrames using Statistics # Drift b(x) = α * sin(x) # First derivative b′(x) = α * cos(x) # Second derivative b″(x) = -α * sin(x) #################################################################### # Overloading Poisson times in order to have tighter upperbounds # #################################################################### struct MyBound c::Float64 end function ZZB.adapt!(b::Vector{MyBound}, i, x) b[i] = MyBound(b[i].c * x) end """ poisson_time(a, b, c, u) Obtaining waiting time for inhomogeneous Poisson Process with rate of the form λ(t) = a + (b + c*t)^+, where `c`,`a`> 0 ,`b` ∈ R, `u` uniform random variable """ function ZZB.poisson_time((a, b, c)::NTuple{3}, u = rand()) # formula (22) if b > 0 return (-(b + a) + sqrt((b + a)^2 - 2.0 * c * log(u))) / c # positive solution of quadratic equation c*0.5 x^2 + (b + a) x + log(u) = 0 elseif a * b / c <= log(u) return -log(u) / a else return (-(a + b) + sqrt((a + b)^2 - 2.0 * c * (b * b * 0.5 / c + log(u)))) / c # positive solution of quadratic equation c*0.5 x^2 + (b + a) x + log(u) + b*b*0.5/c = 0 end end ZZB.sλ̄((a, b, c)::NTuple{3}, Δt) = a + ZZB.pos(b + c * Δt) """ abc(G, i, x, θ, c, Flow) Returns the constant term `a` and linear term `b` when computing the Poisson times from the upper upper bounding rates λᵢ(t) = max(a + b*t)^2. The factors `a` and `b` can be function of the current position `x`, velocity `θ`, tuning parameter `c` and the Graph `G` """ function ZZB.ab(G, i, x, θ, c::Vector{MyBound}, F::ZigZag) if i == 1 a = c[i].c + T^(1.5)*0.5*(α^2 + α) * abs(θ[i]) # initial point b1 = θ[i]*(x[i] - x[end]) b2 = θ[i]*(θ[i] - θ[end]) elseif i == (2 << L) + 1 a = c[i].c + T^(1.5)*0.5*(α^2 + α) * abs(θ[i]) # final point b1 = θ[i]*(x[i] - x[1]) b2 = θ[i]*(θ[i] - θ[1]) else l = lvl(i, L) a = c[i].c + T^(1.5) / 2^((L - l) * 1.5 + 2) * (α^2 + α) * abs(θ[i]) # formula (22) b1 = x[i] * θ[i] b2 = θ[i] * θ[i] end return a, b1, b2 end function ∇ϕmoving_var1(t, ξ, θ, i, t′, F, L, T) # formula (17) if i == (2 << L) + 1 # final point s = T * (rand()) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) return -b(ξ[end]*sqrt(T))*sqrt(T) + 0.5 * sqrt(T) * s * (2b(x) * b′(x) + b″(x)) + ξ[i] - ξ[1] elseif i == 1 # initial point s = T * (rand()) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) return 0.5 * T^(1.5) * (1 - s / T) * (2b(x) * b′(x) + b″(x)) + ξ[1] else l = lvl(i, L) k = (i - 1) ÷ (2 << l) δ = T / (1 << (L - l)) res = 0.0 ave_fact = 1/(l+1) for _ in 1:l+1 s = δ * (k + rand()) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) res += ave_fact * 0.5 * δ * Λ(s, L - l, T) * (2b(x) * b′(x) + b″(x)) end return res + ξ[i] end end function ∇ϕmoving_var2(t, ξ, θ, i, t′, F, L, T) # formula (17) if i == (2 << L) + 1 # final point s = T * (rand()) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) return -b(ξ[end]*sqrt(T))*sqrt(T) + 0.5 * sqrt(T) * s * (2b(x) * b′(x) + b″(x)) + ξ[i] - ξ[1] elseif i == 1 # initial point s = T * (rand()) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) return 0.5 * T^(1.5) * (1 - s / T) * (2b(x) * b′(x) + b″(x)) + ξ[1] else l = lvl(i, L) Δi = T / (1 << L) # subintervals k = (i - 1) ÷ (2 << l) δ = T / (1 << (L - l)) res = 0.0 ave_fact = 1/(l+1) for jj in 1:l+1 # number of points proportional to the length s = δ * k + Δi*(jj - 1 + rand()) # @assert δ * k < s < δ * (k+1) x = dotψmoving(t, ξ, θ, t′, s, F, L, T) res += ave_fact * 0.5 * δ * Λ(s, L - l, T) * (2b(x) * b′(x) + b″(x)) end return res + ξ[i] end end ## function run_zz(df, T′) println("zigzag var 1") n = (2 << L) + 1 ξ0 = 0randn(n) u, v = 0.0, 0.0 # initial and fianl point ξ0[1] = u / sqrt(T) ξ0[end] = v / sqrt(T) θ0 = rand((-1.0, 1.0), n) θ0[end] = θ0[1] = 0.0 # fix final point Γ = sparse(1.0I, n, n) c = [MyBound(0.0) for i in 1:n] #Improved algorithm zz_time = @elapsed((trace, (t, ξ, θ), (acc, num), c) = spdmp(∇ϕmoving_var1, 0.0, ξ0, θ0, T′, c, ZigZag(Γ, ξ0 * 0), SelfMoving(), L, T, adapt = false)) t_trace = getindex.(trace.events, 1) t_trace = [0.0, t_trace...] x_trace, v_trace = resize(trace) burn1 = 100.0 i1 = findfirst(x -> x > burn1, t_trace) xT_2 = sqrt(T)/2*getindex.(x_trace[i1:end], Int((length(ξ0)+1)/2)) ave_xT_2_var = cumsum(((xT_2[1:end-1] + xT_2[2:end])/2).*diff(t_trace[i1:end]))./(t_trace[i1+1:end] .- burn1) for batches in [50] ess = ess_pdmp_components(t_trace[i1:end] .- burn1, x_trace[i1:end], v_trace[i1:end], n_batches = batches) push!(df, Dict(:sampler => "ZZ_var", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_mean", :y => sum(ess[2:end-1])/(length(ess)-2), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_median", :y => median(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_min", :y => minimum(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_x_T2", :y => ess[Int((length(ξ0)+1)/2)], :runtime => zz_time)) end println("standard zigzag") n = (2 << L) + 1 ξ0 = 0randn(n) u, v = 0.0, 0.0 # initial and fianl point ξ0[1] = u / sqrt(T) ξ0[end] = v / sqrt(T) θ0 = rand((-1.0, 1.0), n) θ0[end] = θ0[1] = 0.0 # fix final point Γ = sparse(1.0I, n, n) c = [MyBound(0.0) for i in 1:n] #Improved algorithm zz_time = @elapsed((trace, (t, ξ, θ), (acc, num), c) = spdmp(∇ϕmoving, 0.0, ξ0, θ0, T′, c, ZigZag(Γ, ξ0 * 0), SelfMoving(), L, T, adapt = false)) t_trace1 = getindex.(trace.events, 1) t_trace1 = [0.0, t_trace1...] x_trace, v_trace = resize(trace) i1 = findfirst(x -> x > burn1, t_trace1) xT_2 = sqrt(T)/2*getindex.(x_trace[i1:end], Int((length(ξ0)+1)/2)) ave_xT_2 = cumsum(((xT_2[1:end-1] + xT_2[2:end])/2).*diff(t_trace1[i1:end]))./(t_trace1[i1+1:end] .- burn1) for batches in [50] ess = ess_pdmp_components(t_trace1[i1:end] .- burn1, x_trace[i1:end], v_trace[i1:end], n_batches = batches) push!(df, Dict(:sampler => "ZZ", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_mean", :y => sum(ess[2:end-1])/(length(ess)-2), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_median", :y => median(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_min", :y => minimum(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_x_T2", :y => ess[Int((length(ξ0)+1)/2)], :runtime => zz_time)) end println("zigzag var 2") n = (2 << L) + 1 ξ0 = 0randn(n) u, v = 0.0, 0.0 # initial and fianl point ξ0[1] = u / sqrt(T) ξ0[end] = v / sqrt(T) θ0 = rand((-1.0, 1.0), n) θ0[end] = θ0[1] = 0.0 # fix final point Γ = sparse(1.0I, n, n) c = [MyBound(0.0) for i in 1:n] #Improved algorithm zz_time = @elapsed((trace, (t, ξ, θ), (acc, num), c) = spdmp(∇ϕmoving_var2, 0.0, ξ0, θ0, T′, c, ZigZag(Γ, ξ0 * 0), SelfMoving(), L, T, adapt = false)) t_trace3 = getindex.(trace.events, 1) t_trace3 = [0.0, t_trace3...] x_trace3, v_trace3 = resize(trace) i1 = findfirst(x -> x > burn1, t_trace3) xT_3 = sqrt(T)/2*getindex.(x_trace3[i1:end], Int((length(ξ0)+1)/2)) ave_xT_3 = cumsum(((xT_3[1:end-1] + xT_3[2:end])/2).*diff(t_trace3[i1:end]))./(t_trace3[i1+1:end] .- burn1) for batches in [50] ess = ess_pdmp_components(t_trace3[i1:end] .- burn1, x_trace3[i1:end], v_trace3[i1:end], n_batches = batches) push!(df, Dict(:sampler => "ZZ_var2", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_mean", :y => sum(ess[2:end-1])/(length(ess)-2), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var2", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_median", :y => median(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var2", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_min", :y => minimum(ess[2:end-1]), :runtime => zz_time)) push!(df, Dict(:sampler => "ZZ_var2", :alpha => α, :T => T′, :nbatches => batches, :stat => "ess_x_T2", :y => ess[Int((length(ξ0)+1)/2)], :runtime => zz_time)) end return df, (ave_xT_2, t_trace1), (ave_xT_2_var, t_trace), (ave_xT_3, t_trace3) end function resize(zz_trace) x0 = zz_trace.x0 v0 = zz_trace.θ0 x_trace = [deepcopy(x0)] v_trace = [deepcopy(v0)] for i in eachindex(zz_trace.events) if i == 1 x0 = x0 + v0*zz_trace.events[i][1] else x0 = x0 + v0*(zz_trace.events[i][1] - zz_trace.events[i-1][1]) end v0[zz_trace.events[i][2]] = zz_trace.events[i][4] x0[zz_trace.events[i][2]] = zz_trace.events[i][3] # if !(v0[zz_trace.events[i][2]] == zz_trace.events[i][4]) # println("vel: $(v0[zz_trace.events[i][2]]) vs $(zz_trace.events[i][4])") # error("") # end # if !(|x0[zz_trace.events[i][2]]| zz_trace.events[i][4]) # println("pos: $(x0[zz_trace.events[i][2]]) vs $(zz_trace.events[i][3])") # error("") # end push!(x_trace, deepcopy(x0)) push!(v_trace, deepcopy(v0)) end x_trace, v_trace end using DataFrames, Random df = DataFrame(sampler = String[], alpha = Float64[], T = Float64[], nbatches = Int64[], stat = String[], y = Float64[], runtime = Float64[]) function data_collection(df) Random.seed!(0) T′ = 25000.0 zz_var = [] zz_var1 = [] zz = [] for α′ in [0.1, 0.3, 0.5] global α = α′ global L = 6 global T = 50.0 df, x1, x2, x3 = run_zz(df, T′) push!(zz, x1) push!(zz_var, x2) push!(zz_var1, x3) end return df, zz, zz_var, zz_var1 end using CSV, JLD2 df, zz, zz_var1, zz_var2 = data_collection(df) #CSV.write("./scripts/zz_diff_bridges/compare/benchamrk_zz_final.csv", df) @save "./scripts/compare/covenrgence_zz.jld2" zz @save "./scripts/compare/covenrgence_zz_var.jld2" zz_var1 @save "./scripts/compare/covenrgence_zz_var1.jld2" zz_var2 error("") # # using Makie # using CairoMakie # # T′ = 1000 # α =0.3 # n = (2 << L) + 1 # ξ0 = 0randn(n) # u, v = 0.0, 0.0 # initial and fianl point # ξ0[1] = u / sqrt(T) # ξ0[end] = v / sqrt(T) # θ0 = rand((-1.0, 1.0), n) # θ0[end] = θ0[1] = 0.0 # fix final point # Γ = sparse(1.0I, n, n) # c = [MyBound(0.0) for i in 1:n] # zz_time = @elapsed((trace, (t, ξ, θ), (acc, num), c) = spdmp(∇ϕmoving, 0.0, ξ0, θ0, T′, c, ZigZag(Γ, ξ0 * 0), # SelfMoving(), L, T, adapt = false)) # t_trace = getindex.(trace.events, 1) # t_trace = [0.0, t_trace...] # x_trace, v_trace = resize(trace) # ess = ess_pdmp_components(t_trace, x_trace, v_trace, n_batches = 50) # #plot # ts, ξs = splitpairs(discretize(trace, T′/n)) # S = T*(0:n)/(n+1) # p1 = lines(S, [dotψ(ξ, s, L, T) for s in S], linewidth=0.3) # for ξ in ξs[1:5:end] # lines!(p1, S, [dotψ(ξ, s, L, T) for s in S], linewidth=0.3) # end # display(p1)
[ 29113, 29113, 14468, 2, 198, 2, 34420, 286, 24992, 12, 57, 363, 329, 44258, 19432, 351, 27571, 7695, 30927, 3965, 220, 220, 220, 220, 220, 220, 1303, 198, 2, 290, 351, 16573, 7695, 30927, 2494, 13, 20984, 25, 3740, 1378, 283, 87, 452, 13, 2398, 14, 8937, 14, 14585, 13, 2713, 39121, 13, 220, 220, 1303, 198, 29113, 29113, 14468, 2, 198, 198, 3500, 24992, 57, 363, 33, 4207, 263, 648, 11, 1338, 17208, 3163, 20477, 11, 44800, 2348, 29230, 198, 2, 3500, 23732, 44, 461, 494, 198, 17256, 7203, 40720, 40720, 10677, 14, 36434, 364, 354, 29233, 13, 20362, 4943, 198, 17256, 7203, 40720, 40720, 10677, 14, 292, 7785, 13, 20362, 4943, 198, 17256, 7203, 40720, 40720, 10677, 14, 30094, 3149, 13, 20362, 4943, 628, 198, 9979, 1168, 57, 33, 796, 24992, 57, 363, 33, 4207, 263, 648, 198, 3500, 44189, 198, 3500, 6060, 35439, 198, 3500, 14370, 198, 2, 39819, 198, 65, 7, 87, 8, 796, 26367, 1635, 7813, 7, 87, 8, 198, 2, 3274, 27255, 198, 65, 17478, 7, 87, 8, 796, 26367, 1635, 8615, 7, 87, 8, 198, 2, 5498, 27255, 198, 65, 12237, 7, 87, 8, 796, 532, 17394, 1635, 7813, 7, 87, 8, 628, 198, 29113, 29113, 4242, 198, 2, 3827, 25138, 7695, 30927, 1661, 287, 1502, 284, 423, 28619, 6727, 65, 3733, 220, 220, 1303, 198, 29113, 29113, 4242, 198, 7249, 2011, 49646, 198, 220, 220, 220, 269, 3712, 43879, 2414, 198, 437, 198, 8818, 1168, 57, 33, 13, 42552, 0, 7, 65, 3712, 38469, 90, 3666, 49646, 5512, 1312, 11, 2124, 8, 198, 220, 220, 220, 275, 58, 72, 60, 796, 2011, 49646, 7, 65, 58, 72, 4083, 66, 1635, 2124, 8, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 745, 30927, 62, 2435, 7, 64, 11, 275, 11, 269, 11, 334, 8, 198, 5944, 7339, 4953, 640, 329, 25783, 296, 32269, 7695, 30927, 10854, 198, 4480, 2494, 286, 262, 1296, 7377, 119, 7, 83, 8, 796, 257, 1343, 357, 65, 1343, 269, 9, 83, 8, 61, 28200, 810, 4600, 66, 47671, 63, 64, 63, 29, 657, 837, 63, 65, 63, 18872, 230, 371, 11, 4600, 84, 63, 8187, 4738, 7885, 198, 37811, 198, 8818, 1168, 57, 33, 13, 7501, 30927, 62, 2435, 19510, 64, 11, 275, 11, 269, 2599, 25, 11251, 29291, 90, 18, 5512, 334, 796, 43720, 28955, 1303, 10451, 357, 1828, 8, 198, 220, 220, 220, 611, 275, 1875, 657, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13841, 7, 65, 1343, 257, 8, 1343, 19862, 17034, 19510, 65, 1343, 257, 8, 61, 17, 532, 362, 13, 15, 1635, 269, 1635, 2604, 7, 84, 22305, 1220, 269, 1303, 3967, 4610, 286, 15094, 81, 1512, 16022, 269, 9, 15, 13, 20, 2124, 61, 17, 1343, 357, 65, 1343, 257, 8, 2124, 1343, 2604, 7, 84, 8, 796, 657, 198, 220, 220, 220, 2073, 361, 257, 1635, 275, 1220, 269, 19841, 2604, 7, 84, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 532, 6404, 7, 84, 8, 1220, 257, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13841, 7, 64, 1343, 275, 8, 1343, 19862, 17034, 19510, 64, 1343, 275, 8, 61, 17, 532, 362, 13, 15, 1635, 269, 1635, 357, 65, 1635, 275, 1635, 657, 13, 20, 1220, 269, 1343, 2604, 7, 84, 35514, 1220, 269, 220, 220, 220, 1303, 3967, 4610, 286, 15094, 81, 1512, 16022, 269, 9, 15, 13, 20, 2124, 61, 17, 1343, 357, 65, 1343, 257, 8, 2124, 1343, 2604, 7, 84, 8, 1343, 275, 9, 65, 9, 15, 13, 20, 14, 66, 796, 657, 198, 220, 220, 220, 886, 198, 437, 198, 198, 30148, 33, 13, 82, 39377, 136, 226, 19510, 64, 11, 275, 11, 269, 2599, 25, 11251, 29291, 90, 18, 5512, 37455, 83, 8, 796, 257, 1343, 1168, 57, 33, 13, 1930, 7, 65, 1343, 269, 1635, 37455, 83, 8, 198, 37811, 198, 220, 220, 220, 450, 66, 7, 38, 11, 1312, 11, 2124, 11, 7377, 116, 11, 269, 11, 27782, 8, 198, 35561, 262, 6937, 3381, 4600, 64, 63, 290, 14174, 3381, 4600, 65, 63, 618, 14492, 262, 7695, 30927, 1661, 198, 6738, 262, 6727, 6727, 5421, 278, 3965, 7377, 119, 39611, 95, 7, 83, 8, 796, 3509, 7, 64, 1343, 275, 9, 83, 8, 61, 17, 13, 383, 5087, 4600, 64, 63, 290, 4600, 65, 63, 198, 5171, 307, 2163, 286, 262, 1459, 2292, 4600, 87, 47671, 15432, 4600, 138, 116, 47671, 24549, 11507, 4600, 66, 63, 290, 198, 1169, 29681, 4600, 38, 63, 198, 37811, 198, 8818, 1168, 57, 33, 13, 397, 7, 38, 11, 1312, 11, 2124, 11, 7377, 116, 11, 269, 3712, 38469, 90, 3666, 49646, 5512, 376, 3712, 57, 328, 57, 363, 8, 198, 220, 220, 220, 611, 1312, 6624, 352, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 269, 58, 72, 4083, 66, 1343, 309, 61, 7, 16, 13, 20, 27493, 15, 13, 20, 9, 7, 17394, 61, 17, 1343, 26367, 8, 1635, 2352, 7, 138, 116, 58, 72, 12962, 220, 1303, 4238, 966, 198, 220, 220, 220, 220, 220, 220, 220, 275, 16, 796, 7377, 116, 58, 72, 60, 9, 7, 87, 58, 72, 60, 532, 2124, 58, 437, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 275, 17, 796, 7377, 116, 58, 72, 60, 9, 7, 138, 116, 58, 72, 60, 532, 7377, 116, 58, 437, 12962, 198, 220, 220, 220, 2073, 361, 1312, 6624, 357, 17, 9959, 406, 8, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 269, 58, 72, 4083, 66, 1343, 309, 61, 7, 16, 13, 20, 27493, 15, 13, 20, 9, 7, 17394, 61, 17, 1343, 26367, 8, 1635, 2352, 7, 138, 116, 58, 72, 12962, 220, 1303, 2457, 966, 198, 220, 220, 220, 220, 220, 220, 220, 275, 16, 796, 7377, 116, 58, 72, 60, 9, 7, 87, 58, 72, 60, 532, 2124, 58, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 275, 17, 796, 7377, 116, 58, 72, 60, 9, 7, 138, 116, 58, 72, 60, 532, 7377, 116, 58, 16, 12962, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 300, 796, 33309, 7, 72, 11, 406, 8, 198, 220, 220, 220, 220, 220, 220, 220, 257, 796, 269, 58, 72, 4083, 66, 1343, 309, 61, 7, 16, 13, 20, 8, 1220, 362, 61, 19510, 43, 532, 300, 8, 1635, 352, 13, 20, 1343, 362, 8, 1635, 357, 17394, 61, 17, 1343, 26367, 8, 1635, 2352, 7, 138, 116, 58, 72, 12962, 1303, 10451, 357, 1828, 8, 198, 220, 220, 220, 220, 220, 220, 220, 275, 16, 796, 2124, 58, 72, 60, 1635, 7377, 116, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 275, 17, 796, 7377, 116, 58, 72, 60, 1635, 7377, 116, 58, 72, 60, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 257, 11, 275, 16, 11, 275, 17, 198, 437, 628, 198, 8818, 18872, 229, 139, 243, 31462, 62, 7785, 16, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 1312, 11, 256, 17478, 11, 376, 11, 406, 11, 309, 8, 1303, 10451, 357, 1558, 8, 198, 220, 220, 220, 611, 1312, 6624, 357, 17, 9959, 406, 8, 1343, 352, 220, 220, 220, 1303, 2457, 966, 198, 220, 220, 220, 220, 220, 220, 220, 264, 796, 309, 1635, 357, 25192, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 532, 65, 7, 138, 122, 58, 437, 60, 9, 31166, 17034, 7, 51, 4008, 9, 31166, 17034, 7, 51, 8, 1343, 657, 13, 20, 1635, 19862, 17034, 7, 51, 8, 1635, 264, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 1343, 7377, 122, 58, 72, 60, 532, 7377, 122, 58, 16, 60, 198, 220, 220, 220, 2073, 361, 1312, 6624, 352, 220, 220, 1303, 4238, 966, 198, 220, 220, 220, 220, 220, 220, 220, 264, 796, 309, 1635, 357, 25192, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 657, 13, 20, 1635, 309, 61, 7, 16, 13, 20, 8, 1635, 357, 16, 532, 264, 1220, 309, 8, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 1343, 7377, 122, 58, 16, 60, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 300, 796, 33309, 7, 72, 11, 406, 8, 198, 220, 220, 220, 220, 220, 220, 220, 479, 796, 357, 72, 532, 352, 8, 6184, 115, 357, 17, 9959, 300, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7377, 112, 796, 309, 1220, 357, 16, 9959, 357, 43, 532, 300, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 581, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 257, 303, 62, 22584, 796, 352, 29006, 75, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 4808, 287, 352, 25, 75, 10, 16, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 796, 7377, 112, 1635, 357, 74, 1343, 43720, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 15853, 257, 303, 62, 22584, 1635, 657, 13, 20, 1635, 7377, 112, 1635, 7377, 249, 7, 82, 11, 406, 532, 300, 11, 309, 8, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 198, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 1441, 581, 1343, 7377, 122, 58, 72, 60, 198, 220, 220, 220, 886, 198, 437, 628, 198, 8818, 18872, 229, 139, 243, 31462, 62, 7785, 17, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 1312, 11, 256, 17478, 11, 376, 11, 406, 11, 309, 8, 1303, 10451, 357, 1558, 8, 198, 220, 220, 220, 611, 1312, 6624, 357, 17, 9959, 406, 8, 1343, 352, 220, 220, 220, 1303, 2457, 966, 198, 220, 220, 220, 220, 220, 220, 220, 264, 796, 309, 1635, 357, 25192, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 532, 65, 7, 138, 122, 58, 437, 60, 9, 31166, 17034, 7, 51, 4008, 9, 31166, 17034, 7, 51, 8, 1343, 657, 13, 20, 1635, 19862, 17034, 7, 51, 8, 1635, 264, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 1343, 7377, 122, 58, 72, 60, 532, 7377, 122, 58, 16, 60, 198, 220, 220, 220, 2073, 361, 1312, 6624, 352, 220, 220, 1303, 4238, 966, 198, 220, 220, 220, 220, 220, 220, 220, 264, 796, 309, 1635, 357, 25192, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 657, 13, 20, 1635, 309, 61, 7, 16, 13, 20, 8, 1635, 357, 16, 532, 264, 1220, 309, 8, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 1343, 7377, 122, 58, 16, 60, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 300, 796, 33309, 7, 72, 11, 406, 8, 198, 220, 220, 220, 220, 220, 220, 220, 37455, 72, 796, 309, 1220, 357, 16, 9959, 406, 8, 1303, 850, 3849, 12786, 198, 220, 220, 220, 220, 220, 220, 220, 479, 796, 357, 72, 532, 352, 8, 6184, 115, 357, 17, 9959, 300, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7377, 112, 796, 309, 1220, 357, 16, 9959, 357, 43, 532, 300, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 581, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 257, 303, 62, 22584, 796, 352, 29006, 75, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 329, 474, 73, 287, 352, 25, 75, 10, 16, 1303, 1271, 286, 2173, 27111, 284, 262, 4129, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 796, 7377, 112, 1635, 479, 1343, 37455, 72, 9, 7, 41098, 532, 352, 1343, 43720, 28955, 1303, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 30493, 7377, 112, 1635, 479, 1279, 264, 1279, 7377, 112, 1635, 357, 74, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 16605, 139, 230, 31462, 7, 83, 11, 7377, 122, 11, 7377, 116, 11, 256, 17478, 11, 264, 11, 376, 11, 406, 11, 309, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 15853, 257, 303, 62, 22584, 1635, 657, 13, 20, 1635, 7377, 112, 1635, 7377, 249, 7, 82, 11, 406, 532, 300, 11, 309, 8, 1635, 357, 17, 65, 7, 87, 8, 1635, 275, 17478, 7, 87, 8, 1343, 275, 12237, 7, 87, 4008, 198, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 1441, 581, 1343, 7377, 122, 58, 72, 60, 198, 220, 220, 220, 886, 198, 437, 628, 198, 2235, 198, 8818, 1057, 62, 3019, 7, 7568, 11, 309, 17478, 8, 198, 220, 220, 220, 44872, 7203, 38262, 50183, 1401, 352, 4943, 198, 220, 220, 220, 299, 796, 357, 17, 9959, 406, 8, 1343, 352, 198, 220, 220, 220, 7377, 122, 15, 796, 657, 25192, 77, 7, 77, 8, 198, 220, 220, 220, 334, 11, 410, 796, 657, 13, 15, 11, 657, 13, 15, 220, 1303, 4238, 290, 41668, 75, 966, 198, 220, 220, 220, 7377, 122, 15, 58, 16, 60, 796, 334, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 122, 15, 58, 437, 60, 796, 410, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 116, 15, 796, 43720, 19510, 12, 16, 13, 15, 11, 352, 13, 15, 828, 299, 8, 198, 220, 220, 220, 7377, 116, 15, 58, 437, 60, 796, 7377, 116, 15, 58, 16, 60, 796, 657, 13, 15, 1303, 4259, 2457, 966, 198, 220, 220, 220, 7377, 241, 796, 29877, 7, 16, 13, 15, 40, 11, 299, 11, 299, 8, 198, 220, 220, 220, 269, 796, 685, 3666, 49646, 7, 15, 13, 15, 8, 329, 1312, 287, 352, 25, 77, 60, 198, 220, 220, 220, 1303, 35453, 11862, 198, 220, 220, 220, 1976, 89, 62, 2435, 796, 2488, 417, 28361, 19510, 40546, 11, 357, 83, 11, 7377, 122, 11, 7377, 116, 828, 357, 4134, 11, 997, 828, 269, 8, 796, 599, 67, 3149, 7, 24861, 229, 139, 243, 31462, 62, 7785, 16, 11, 657, 13, 15, 11, 7377, 122, 15, 11, 7377, 116, 15, 11, 309, 17478, 11, 269, 11, 24992, 57, 363, 7, 138, 241, 11, 7377, 122, 15, 1635, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 12189, 33622, 22784, 406, 11, 309, 11, 6068, 796, 3991, 4008, 198, 220, 220, 220, 256, 62, 40546, 796, 651, 9630, 12195, 40546, 13, 31534, 11, 352, 8, 198, 220, 220, 220, 256, 62, 40546, 796, 685, 15, 13, 15, 11, 256, 62, 40546, 22345, 198, 220, 220, 220, 2124, 62, 40546, 11, 410, 62, 40546, 796, 47558, 7, 40546, 8, 198, 220, 220, 220, 4245, 16, 796, 1802, 13, 15, 198, 220, 220, 220, 1312, 16, 796, 1064, 11085, 7, 87, 4613, 2124, 1875, 4245, 16, 11, 256, 62, 40546, 8, 198, 220, 220, 220, 2124, 51, 62, 17, 796, 19862, 17034, 7, 51, 20679, 17, 9, 1136, 9630, 12195, 87, 62, 40546, 58, 72, 16, 25, 437, 4357, 2558, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 4008, 198, 220, 220, 220, 257, 303, 62, 87, 51, 62, 17, 62, 7785, 796, 269, 5700, 388, 19510, 7, 87, 51, 62, 17, 58, 16, 25, 437, 12, 16, 60, 1343, 2124, 51, 62, 17, 58, 17, 25, 437, 12962, 14, 17, 737, 9, 26069, 7, 83, 62, 40546, 58, 72, 16, 25, 437, 12962, 737, 29006, 83, 62, 40546, 58, 72, 16, 10, 16, 25, 437, 60, 764, 12, 4245, 16, 8, 198, 220, 220, 220, 329, 37830, 287, 685, 1120, 60, 198, 220, 220, 220, 220, 220, 220, 220, 3209, 796, 3209, 62, 30094, 3149, 62, 5589, 3906, 7, 83, 62, 40546, 58, 72, 16, 25, 437, 60, 764, 12, 4245, 16, 11, 2124, 62, 40546, 58, 72, 16, 25, 437, 4357, 410, 62, 40546, 58, 72, 16, 25, 437, 4357, 299, 62, 8664, 2052, 796, 37830, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 32604, 1600, 1058, 88, 5218, 2160, 7, 408, 58, 17, 25, 437, 12, 16, 12962, 29006, 13664, 7, 408, 13219, 17, 828, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1150, 666, 1600, 1058, 88, 5218, 14288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1084, 1600, 1058, 88, 5218, 5288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 87, 62, 51, 17, 1600, 1058, 88, 5218, 3209, 58, 5317, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 8, 4357, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 44872, 7203, 20307, 1976, 328, 50183, 4943, 198, 220, 220, 220, 299, 796, 357, 17, 9959, 406, 8, 1343, 352, 198, 220, 220, 220, 7377, 122, 15, 796, 657, 25192, 77, 7, 77, 8, 198, 220, 220, 220, 334, 11, 410, 796, 657, 13, 15, 11, 657, 13, 15, 220, 1303, 4238, 290, 41668, 75, 966, 198, 220, 220, 220, 7377, 122, 15, 58, 16, 60, 796, 334, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 122, 15, 58, 437, 60, 796, 410, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 116, 15, 796, 43720, 19510, 12, 16, 13, 15, 11, 352, 13, 15, 828, 299, 8, 198, 220, 220, 220, 7377, 116, 15, 58, 437, 60, 796, 7377, 116, 15, 58, 16, 60, 796, 657, 13, 15, 1303, 4259, 2457, 966, 198, 220, 220, 220, 7377, 241, 796, 29877, 7, 16, 13, 15, 40, 11, 299, 11, 299, 8, 198, 220, 220, 220, 269, 796, 685, 3666, 49646, 7, 15, 13, 15, 8, 329, 1312, 287, 352, 25, 77, 60, 198, 220, 220, 220, 1303, 35453, 11862, 198, 220, 220, 220, 1976, 89, 62, 2435, 796, 2488, 417, 28361, 19510, 40546, 11, 357, 83, 11, 7377, 122, 11, 7377, 116, 828, 357, 4134, 11, 997, 828, 269, 8, 796, 599, 67, 3149, 7, 24861, 229, 139, 243, 31462, 11, 657, 13, 15, 11, 7377, 122, 15, 11, 7377, 116, 15, 11, 309, 17478, 11, 269, 11, 24992, 57, 363, 7, 138, 241, 11, 7377, 122, 15, 1635, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 12189, 33622, 22784, 406, 11, 309, 11, 6068, 796, 3991, 4008, 198, 220, 220, 220, 256, 62, 40546, 16, 796, 651, 9630, 12195, 40546, 13, 31534, 11, 352, 8, 198, 220, 220, 220, 256, 62, 40546, 16, 796, 685, 15, 13, 15, 11, 256, 62, 40546, 16, 22345, 198, 220, 220, 220, 2124, 62, 40546, 11, 410, 62, 40546, 796, 47558, 7, 40546, 8, 198, 220, 220, 220, 1312, 16, 796, 1064, 11085, 7, 87, 4613, 2124, 1875, 4245, 16, 11, 256, 62, 40546, 16, 8, 198, 220, 220, 220, 2124, 51, 62, 17, 796, 19862, 17034, 7, 51, 20679, 17, 9, 1136, 9630, 12195, 87, 62, 40546, 58, 72, 16, 25, 437, 4357, 2558, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 4008, 198, 220, 220, 220, 257, 303, 62, 87, 51, 62, 17, 796, 269, 5700, 388, 19510, 7, 87, 51, 62, 17, 58, 16, 25, 437, 12, 16, 60, 1343, 2124, 51, 62, 17, 58, 17, 25, 437, 12962, 14, 17, 737, 9, 26069, 7, 83, 62, 40546, 16, 58, 72, 16, 25, 437, 12962, 737, 29006, 83, 62, 40546, 16, 58, 72, 16, 10, 16, 25, 437, 60, 764, 12, 4245, 16, 8, 198, 220, 220, 220, 329, 37830, 287, 685, 1120, 60, 198, 220, 220, 220, 220, 220, 220, 220, 3209, 796, 3209, 62, 30094, 3149, 62, 5589, 3906, 7, 83, 62, 40546, 16, 58, 72, 16, 25, 437, 60, 764, 12, 4245, 16, 11, 2124, 62, 40546, 58, 72, 16, 25, 437, 4357, 410, 62, 40546, 58, 72, 16, 25, 437, 4357, 299, 62, 8664, 2052, 796, 37830, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 32604, 1600, 1058, 88, 5218, 2160, 7, 408, 58, 17, 25, 437, 12, 16, 12962, 29006, 13664, 7, 408, 13219, 17, 828, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1150, 666, 1600, 1058, 88, 5218, 14288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1084, 1600, 1058, 88, 5218, 5288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 87, 62, 51, 17, 1600, 1058, 88, 5218, 3209, 58, 5317, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 8, 4357, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 44872, 7203, 38262, 50183, 1401, 362, 4943, 198, 220, 220, 220, 299, 796, 357, 17, 9959, 406, 8, 1343, 352, 198, 220, 220, 220, 7377, 122, 15, 796, 657, 25192, 77, 7, 77, 8, 198, 220, 220, 220, 334, 11, 410, 796, 657, 13, 15, 11, 657, 13, 15, 220, 1303, 4238, 290, 41668, 75, 966, 198, 220, 220, 220, 7377, 122, 15, 58, 16, 60, 796, 334, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 122, 15, 58, 437, 60, 796, 410, 1220, 19862, 17034, 7, 51, 8, 198, 220, 220, 220, 7377, 116, 15, 796, 43720, 19510, 12, 16, 13, 15, 11, 352, 13, 15, 828, 299, 8, 198, 220, 220, 220, 7377, 116, 15, 58, 437, 60, 796, 7377, 116, 15, 58, 16, 60, 796, 657, 13, 15, 1303, 4259, 2457, 966, 198, 220, 220, 220, 7377, 241, 796, 29877, 7, 16, 13, 15, 40, 11, 299, 11, 299, 8, 198, 220, 220, 220, 269, 796, 685, 3666, 49646, 7, 15, 13, 15, 8, 329, 1312, 287, 352, 25, 77, 60, 198, 220, 220, 220, 1303, 35453, 11862, 198, 220, 220, 220, 1976, 89, 62, 2435, 796, 2488, 417, 28361, 19510, 40546, 11, 357, 83, 11, 7377, 122, 11, 7377, 116, 828, 357, 4134, 11, 997, 828, 269, 8, 796, 599, 67, 3149, 7, 24861, 229, 139, 243, 31462, 62, 7785, 17, 11, 657, 13, 15, 11, 7377, 122, 15, 11, 7377, 116, 15, 11, 309, 17478, 11, 269, 11, 24992, 57, 363, 7, 138, 241, 11, 7377, 122, 15, 1635, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 12189, 33622, 22784, 406, 11, 309, 11, 6068, 796, 3991, 4008, 198, 220, 220, 220, 256, 62, 40546, 18, 796, 651, 9630, 12195, 40546, 13, 31534, 11, 352, 8, 198, 220, 220, 220, 256, 62, 40546, 18, 796, 685, 15, 13, 15, 11, 256, 62, 40546, 18, 22345, 198, 220, 220, 220, 2124, 62, 40546, 18, 11, 410, 62, 40546, 18, 796, 47558, 7, 40546, 8, 198, 220, 220, 220, 1312, 16, 796, 1064, 11085, 7, 87, 4613, 2124, 1875, 4245, 16, 11, 256, 62, 40546, 18, 8, 198, 220, 220, 220, 2124, 51, 62, 18, 796, 19862, 17034, 7, 51, 20679, 17, 9, 1136, 9630, 12195, 87, 62, 40546, 18, 58, 72, 16, 25, 437, 4357, 2558, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 4008, 198, 220, 220, 220, 257, 303, 62, 87, 51, 62, 18, 796, 269, 5700, 388, 19510, 7, 87, 51, 62, 18, 58, 16, 25, 437, 12, 16, 60, 1343, 2124, 51, 62, 18, 58, 17, 25, 437, 12962, 14, 17, 737, 9, 26069, 7, 83, 62, 40546, 18, 58, 72, 16, 25, 437, 12962, 737, 29006, 83, 62, 40546, 18, 58, 72, 16, 10, 16, 25, 437, 60, 764, 12, 4245, 16, 8, 198, 220, 220, 220, 329, 37830, 287, 685, 1120, 60, 198, 220, 220, 220, 220, 220, 220, 220, 3209, 796, 3209, 62, 30094, 3149, 62, 5589, 3906, 7, 83, 62, 40546, 18, 58, 72, 16, 25, 437, 60, 764, 12, 4245, 16, 11, 2124, 62, 40546, 18, 58, 72, 16, 25, 437, 4357, 410, 62, 40546, 18, 58, 72, 16, 25, 437, 4357, 299, 62, 8664, 2052, 796, 37830, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 17, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 32604, 1600, 1058, 88, 5218, 2160, 7, 408, 58, 17, 25, 437, 12, 16, 12962, 29006, 13664, 7, 408, 13219, 17, 828, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 17, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1150, 666, 1600, 1058, 88, 5218, 14288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 17, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 1084, 1600, 1058, 88, 5218, 5288, 7, 408, 58, 17, 25, 437, 12, 16, 46570, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 7568, 11, 360, 713, 7, 25, 37687, 20053, 5218, 366, 30148, 62, 7785, 17, 1600, 1058, 26591, 5218, 26367, 11, 1058, 51, 5218, 309, 17478, 11, 1058, 77, 8664, 2052, 5218, 37830, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 14269, 5218, 366, 408, 62, 87, 62, 51, 17, 1600, 1058, 88, 5218, 3209, 58, 5317, 19510, 13664, 7, 138, 122, 15, 47762, 16, 20679, 17, 8, 4357, 1058, 43282, 5218, 1976, 89, 62, 2435, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 47764, 11, 357, 1015, 62, 87, 51, 62, 17, 11, 256, 62, 40546, 16, 828, 357, 1015, 62, 87, 51, 62, 17, 62, 7785, 11, 256, 62, 40546, 828, 357, 1015, 62, 87, 51, 62, 18, 11, 256, 62, 40546, 18, 8, 198, 437, 628, 198, 8818, 47558, 7, 3019, 62, 40546, 8, 198, 220, 220, 220, 2124, 15, 796, 1976, 89, 62, 40546, 13, 87, 15, 198, 220, 220, 220, 410, 15, 796, 1976, 89, 62, 40546, 13, 138, 116, 15, 198, 220, 220, 220, 2124, 62, 40546, 796, 685, 22089, 30073, 7, 87, 15, 15437, 198, 220, 220, 220, 410, 62, 40546, 796, 685, 22089, 30073, 7, 85, 15, 15437, 198, 220, 220, 220, 329, 1312, 287, 1123, 9630, 7, 3019, 62, 40546, 13, 31534, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 6624, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 15, 796, 2124, 15, 1343, 410, 15, 9, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 15, 796, 2124, 15, 1343, 410, 15, 9, 7, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 16, 60, 532, 1976, 89, 62, 40546, 13, 31534, 58, 72, 12, 16, 7131, 16, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 410, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 796, 1976, 89, 62, 40546, 13, 31534, 58, 72, 7131, 19, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 796, 1976, 89, 62, 40546, 13, 31534, 58, 72, 7131, 18, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 5145, 7, 85, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 6624, 1976, 89, 62, 40546, 13, 31534, 58, 72, 7131, 19, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 44872, 7203, 626, 25, 29568, 85, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 8, 3691, 29568, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 19, 12962, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 4049, 7203, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 886, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 5145, 7, 91, 87, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 91, 1976, 89, 62, 40546, 13, 31534, 58, 72, 7131, 19, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 44872, 7203, 1930, 25, 29568, 87, 15, 58, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 17, 11907, 8, 3691, 29568, 3019, 62, 40546, 13, 31534, 58, 72, 7131, 18, 12962, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 220, 220, 220, 220, 4049, 7203, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 886, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 87, 62, 40546, 11, 2769, 30073, 7, 87, 15, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 85, 62, 40546, 11, 2769, 30073, 7, 85, 15, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2124, 62, 40546, 11, 410, 62, 40546, 198, 437, 198, 198, 3500, 6060, 35439, 11, 14534, 198, 7568, 796, 6060, 19778, 7, 37687, 20053, 796, 10903, 58, 4357, 17130, 796, 48436, 2414, 58, 4357, 309, 796, 48436, 2414, 58, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 299, 8664, 2052, 796, 2558, 2414, 58, 4357, 1185, 796, 10903, 58, 4357, 331, 796, 48436, 2414, 58, 4357, 19124, 796, 48436, 2414, 58, 12962, 198, 8818, 1366, 62, 43681, 7, 7568, 8, 198, 220, 220, 220, 14534, 13, 28826, 0, 7, 15, 8, 198, 220, 220, 220, 309, 17478, 796, 1679, 830, 13, 15, 198, 220, 220, 220, 1976, 89, 62, 7785, 796, 17635, 198, 220, 220, 220, 1976, 89, 62, 7785, 16, 796, 17635, 198, 220, 220, 220, 1976, 89, 796, 17635, 198, 220, 220, 220, 329, 26367, 17478, 287, 685, 15, 13, 16, 11, 657, 13, 18, 11, 657, 13, 20, 60, 198, 220, 220, 220, 220, 220, 220, 220, 3298, 26367, 796, 26367, 17478, 198, 220, 220, 220, 220, 220, 220, 220, 3298, 406, 796, 718, 198, 220, 220, 220, 220, 220, 220, 220, 3298, 309, 796, 2026, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 47764, 11, 2124, 16, 11, 2124, 17, 11, 2124, 18, 796, 1057, 62, 3019, 7, 7568, 11, 309, 17478, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 3019, 11, 2124, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 3019, 62, 7785, 11, 2124, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 3019, 62, 7785, 16, 11, 2124, 18, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 47764, 11, 1976, 89, 11, 1976, 89, 62, 7785, 11, 1976, 89, 62, 7785, 16, 198, 437, 198, 3500, 44189, 11, 449, 11163, 17, 198, 7568, 11, 1976, 89, 11, 1976, 89, 62, 7785, 16, 11, 1976, 89, 62, 7785, 17, 796, 1366, 62, 43681, 7, 7568, 8, 198, 2, 7902, 53, 13, 13564, 7, 1911, 14, 46521, 14, 3019, 62, 26069, 62, 10236, 3212, 14, 5589, 533, 14, 26968, 321, 81, 74, 62, 3019, 62, 20311, 13, 40664, 1600, 47764, 8, 198, 31, 21928, 366, 19571, 46521, 14, 5589, 533, 14, 1073, 574, 81, 12745, 62, 3019, 13, 73, 335, 17, 1, 1976, 89, 198, 31, 21928, 366, 19571, 46521, 14, 5589, 533, 14, 1073, 574, 81, 12745, 62, 3019, 62, 7785, 13, 73, 335, 17, 1, 1976, 89, 62, 7785, 16, 198, 31, 21928, 366, 19571, 46521, 14, 5589, 533, 14, 1073, 574, 81, 12745, 62, 3019, 62, 7785, 16, 13, 73, 335, 17, 1, 1976, 89, 62, 7785, 17, 198, 18224, 7203, 4943, 198, 198, 2, 198, 2, 1262, 15841, 494, 198, 2, 1262, 23732, 44, 461, 494, 198, 2, 198, 2, 309, 17478, 796, 8576, 198, 2, 26367, 796, 15, 13, 18, 198, 2, 299, 796, 357, 17, 9959, 406, 8, 1343, 352, 198, 2, 7377, 122, 15, 796, 657, 25192, 77, 7, 77, 8, 198, 2, 334, 11, 410, 796, 657, 13, 15, 11, 657, 13, 15, 220, 1303, 4238, 290, 41668, 75, 966, 198, 2, 7377, 122, 15, 58, 16, 60, 796, 334, 1220, 19862, 17034, 7, 51, 8, 198, 2, 7377, 122, 15, 58, 437, 60, 796, 410, 1220, 19862, 17034, 7, 51, 8, 198, 2, 7377, 116, 15, 796, 43720, 19510, 12, 16, 13, 15, 11, 352, 13, 15, 828, 299, 8, 198, 2, 7377, 116, 15, 58, 437, 60, 796, 7377, 116, 15, 58, 16, 60, 796, 657, 13, 15, 1303, 4259, 2457, 966, 198, 2, 7377, 241, 796, 29877, 7, 16, 13, 15, 40, 11, 299, 11, 299, 8, 198, 2, 269, 796, 685, 3666, 49646, 7, 15, 13, 15, 8, 329, 1312, 287, 352, 25, 77, 60, 198, 2, 1976, 89, 62, 2435, 796, 2488, 417, 28361, 19510, 40546, 11, 357, 83, 11, 7377, 122, 11, 7377, 116, 828, 357, 4134, 11, 997, 828, 269, 8, 796, 599, 67, 3149, 7, 24861, 229, 139, 243, 31462, 11, 657, 13, 15, 11, 7377, 122, 15, 11, 7377, 116, 15, 11, 309, 17478, 11, 269, 11, 24992, 57, 363, 7, 138, 241, 11, 7377, 122, 15, 1635, 657, 828, 198, 2, 220, 220, 220, 220, 12189, 33622, 22784, 406, 11, 309, 11, 6068, 796, 3991, 4008, 198, 2, 256, 62, 40546, 796, 651, 9630, 12195, 40546, 13, 31534, 11, 352, 8, 198, 2, 256, 62, 40546, 796, 685, 15, 13, 15, 11, 256, 62, 40546, 22345, 198, 2, 2124, 62, 40546, 11, 410, 62, 40546, 796, 47558, 7, 40546, 8, 198, 2, 3209, 796, 3209, 62, 30094, 3149, 62, 5589, 3906, 7, 83, 62, 40546, 11, 2124, 62, 40546, 11, 410, 62, 40546, 11, 299, 62, 8664, 2052, 796, 2026, 8, 198, 2, 1303, 29487, 198, 2, 40379, 11, 7377, 122, 82, 796, 6626, 79, 3468, 7, 15410, 1186, 1096, 7, 40546, 11, 309, 17478, 14, 77, 4008, 198, 2, 311, 796, 309, 9, 7, 15, 25, 77, 20679, 7, 77, 10, 16, 8, 198, 2, 279, 16, 796, 3951, 7, 50, 11, 685, 26518, 139, 230, 7, 138, 122, 11, 264, 11, 406, 11, 309, 8, 329, 264, 287, 311, 4357, 9493, 413, 5649, 28, 15, 13, 18, 8, 198, 2, 329, 7377, 122, 287, 7377, 122, 82, 58, 16, 25, 20, 25, 437, 60, 198, 2, 220, 220, 220, 220, 3951, 0, 7, 79, 16, 11, 311, 11, 685, 26518, 139, 230, 7, 138, 122, 11, 264, 11, 406, 11, 309, 8, 329, 264, 287, 311, 4357, 9493, 413, 5649, 28, 15, 13, 18, 8, 198, 2, 886, 198, 2, 3359, 7, 79, 16, 8, 198 ]
1.886291
6,543
module FHColoredLightbeam using ..Ahorn, Maple using Random @mapdef Entity "FrostHelper/ColoredLightbeam" ColoredLightbeam(x::Integer, y::Integer, width::Integer=32, height::Integer=24, flag::String="", rotation::Integer=0, color::String="ccffff") const colors = sort(collect(keys(Ahorn.XNAColors.colors))) function lightbeamFinalizer(entity::ColoredLightbeam) x, y = Ahorn.position(entity) nx, ny = Int.(entity.nodes[1]) theta = atan(y - ny, x - nx) + pi / 2 magnitude = sqrt((y - ny)^2 + (x - nx)^2) entity.rotation = round(Int, rad2deg(theta)) entity.height = round(Int, max(24, magnitude)) end Ahorn.editingOptions(entity::ColoredLightbeam) = Dict{String, Any}( "color" => colors ) const placements = Ahorn.PlacementDict( "Colored Lightbeam (Frost Helper)" => Ahorn.EntityPlacement( ColoredLightbeam, "line", Dict{String, Any}(), lightbeamFinalizer ) ) Ahorn.minimumSize(entity::ColoredLightbeam) = 32, 24 Ahorn.resizable(entity::ColoredLightbeam) = true, true function rotate(point::Tuple{Number, Number}, theta::Number) res = [ cos(theta) -sin(theta); sin(theta) cos(theta) ] * [point[1]; point[2]] return (res[1], res[2]) end function getSelectionRect(entity::ColoredLightbeam) x, y = Ahorn.position(entity) theta = deg2rad(get(entity.data, "rotation", 0)) width = round(Int, get(entity.data, "width", 32)) height = round(Int, get(entity.data, "height", 24)) points = Tuple{Number, Number}[ (-width / 2, 0), (width / 2, 0), (-width / 2, height - 4), (width / 2, height - 4) ] rotated = rotate.(points, theta) tlx, tly = minimum(p -> p[1], rotated), minimum(p -> p[2], rotated) brx, bry = maximum(p -> p[1], rotated), maximum(p -> p[2], rotated) return Ahorn.Rectangle(x + tlx, y + tly, brx - tlx, bry - tly) end function Ahorn.selection(entity::ColoredLightbeam) return getSelectionRect(entity) end texture = "util/lightbeam" function renderLightbeam(ctx::Ahorn.Cairo.CairoContext, entity::ColoredLightbeam) x, y = Ahorn.position(entity) lightbeam = Ahorn.getSprite(texture, "Gameplay") theta = deg2rad(get(entity.data, "rotation", 0)) width = round(Int, get(entity.data, "width", 32)) height = round(Int, get(entity.data, "height", 24)) rng = Ahorn.getSimpleEntityRng(entity) Ahorn.Cairo.save(ctx) Ahorn.translate(ctx, x, y) Ahorn.rotate(ctx, theta) Ahorn.translate(ctx, width / 2, 0) Ahorn.rotate(ctx, pi / 2) Ahorn.scale(ctx, (height - 4) / lightbeam.width, 1) Ahorn.set_antialias(ctx, 1) Ahorn.Cairo.save(ctx) for i in 0:width - 1 Ahorn.drawImage(ctx, texture, 0, i, alpha=0.3) end for i in 0:4:width - 1 num = i * 0.6 lineWidth = 4.0 + sin(num * 0.5 + 1.2) * 4.0 length = height + sin(num * 0.25) * 8 alpha = 0.6 + sin(num + 0.8) * 0.3 offset = sin((num + i * 32) * 0.1 + sin(num * 0.05 + i * 0.1) * 0.25) * (width / 2.0 - lineWidth / 2.0) # Not part of official calculations, but makes the render a bit less boring offsetMultiplier = (rand(rng) - 0.5) * 2 for j in 0:3 Ahorn.drawImage(ctx, texture, 0, offset * offsetMultiplier + width / 2 + j, alpha=alpha / 1.5) end end Ahorn.Cairo.restore(ctx) end Ahorn.renderAbs(ctx::Ahorn.Cairo.CairoContext, entity::ColoredLightbeam, room::Maple.Room) = renderLightbeam(ctx, entity) end
[ 21412, 376, 39, 5216, 1850, 15047, 40045, 198, 198, 3500, 11485, 10910, 1211, 11, 21249, 198, 3500, 14534, 198, 198, 31, 8899, 4299, 20885, 366, 37, 23341, 47429, 14, 5216, 1850, 15047, 40045, 1, 1623, 1850, 15047, 40045, 7, 87, 3712, 46541, 11, 331, 3712, 46541, 11, 9647, 3712, 46541, 28, 2624, 11, 6001, 3712, 46541, 28, 1731, 11, 6056, 3712, 10100, 2625, 1600, 13179, 3712, 46541, 28, 15, 11, 3124, 3712, 10100, 2625, 535, 12927, 4943, 198, 198, 9979, 7577, 796, 3297, 7, 33327, 7, 13083, 7, 10910, 1211, 13, 55, 45, 2246, 349, 669, 13, 4033, 669, 22305, 198, 198, 8818, 1657, 40045, 19006, 7509, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 198, 220, 220, 220, 2124, 11, 331, 796, 7900, 1211, 13, 9150, 7, 26858, 8, 198, 220, 220, 220, 299, 87, 11, 299, 88, 796, 2558, 12195, 26858, 13, 77, 4147, 58, 16, 12962, 628, 220, 220, 220, 262, 8326, 796, 379, 272, 7, 88, 532, 299, 88, 11, 2124, 532, 299, 87, 8, 1343, 31028, 1220, 362, 198, 220, 220, 220, 14735, 796, 19862, 17034, 19510, 88, 532, 299, 88, 8, 61, 17, 1343, 357, 87, 532, 299, 87, 8, 61, 17, 8, 628, 220, 220, 220, 9312, 13, 10599, 341, 796, 2835, 7, 5317, 11, 2511, 17, 13500, 7, 1169, 8326, 4008, 198, 220, 220, 220, 9312, 13, 17015, 796, 2835, 7, 5317, 11, 3509, 7, 1731, 11, 14735, 4008, 198, 437, 198, 198, 10910, 1211, 13, 276, 1780, 29046, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 796, 360, 713, 90, 10100, 11, 4377, 92, 7, 198, 220, 220, 220, 366, 8043, 1, 5218, 7577, 198, 8, 198, 198, 9979, 21957, 3196, 796, 7900, 1211, 13, 3646, 5592, 35, 713, 7, 198, 220, 220, 220, 366, 5216, 1850, 4401, 40045, 357, 37, 23341, 5053, 525, 16725, 5218, 7900, 1211, 13, 32398, 3646, 5592, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1623, 1850, 15047, 40045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 1370, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 360, 713, 90, 10100, 11, 4377, 92, 22784, 198, 220, 220, 220, 220, 220, 220, 220, 1657, 40045, 19006, 7509, 198, 220, 220, 220, 1267, 198, 8, 198, 198, 10910, 1211, 13, 39504, 10699, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 796, 3933, 11, 1987, 198, 10910, 1211, 13, 411, 13821, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 796, 2081, 11, 2081, 198, 198, 8818, 23064, 7, 4122, 3712, 51, 29291, 90, 15057, 11, 7913, 5512, 262, 8326, 3712, 15057, 8, 198, 220, 220, 220, 581, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 8615, 7, 1169, 8326, 8, 220, 532, 31369, 7, 1169, 8326, 1776, 198, 220, 220, 220, 220, 220, 220, 220, 7813, 7, 1169, 8326, 8, 8615, 7, 1169, 8326, 8, 198, 220, 220, 220, 2361, 1635, 685, 4122, 58, 16, 11208, 966, 58, 17, 11907, 628, 220, 220, 220, 1441, 357, 411, 58, 16, 4357, 581, 58, 17, 12962, 198, 437, 198, 198, 8818, 651, 4653, 1564, 45474, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 198, 220, 220, 220, 2124, 11, 331, 796, 7900, 1211, 13, 9150, 7, 26858, 8, 628, 220, 220, 220, 262, 8326, 796, 3396, 17, 6335, 7, 1136, 7, 26858, 13, 7890, 11, 366, 10599, 341, 1600, 657, 4008, 198, 220, 220, 220, 9647, 796, 2835, 7, 5317, 11, 651, 7, 26858, 13, 7890, 11, 366, 10394, 1600, 3933, 4008, 198, 220, 220, 220, 6001, 796, 2835, 7, 5317, 11, 651, 7, 26858, 13, 7890, 11, 366, 17015, 1600, 1987, 4008, 628, 220, 220, 220, 2173, 796, 309, 29291, 90, 15057, 11, 7913, 92, 58, 198, 220, 220, 220, 220, 220, 220, 220, 13841, 10394, 1220, 362, 11, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 357, 10394, 1220, 362, 11, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 13841, 10394, 1220, 362, 11, 6001, 532, 604, 828, 198, 220, 220, 220, 220, 220, 220, 220, 357, 10394, 1220, 362, 11, 6001, 532, 604, 8, 198, 220, 220, 220, 2361, 628, 220, 220, 220, 38375, 796, 23064, 12195, 13033, 11, 262, 8326, 8, 628, 220, 220, 220, 256, 75, 87, 11, 256, 306, 796, 5288, 7, 79, 4613, 279, 58, 16, 4357, 38375, 828, 5288, 7, 79, 4613, 279, 58, 17, 4357, 38375, 8, 198, 220, 220, 220, 865, 87, 11, 275, 563, 796, 5415, 7, 79, 4613, 279, 58, 16, 4357, 38375, 828, 5415, 7, 79, 4613, 279, 58, 17, 4357, 38375, 8, 628, 220, 220, 220, 1441, 7900, 1211, 13, 45474, 9248, 7, 87, 1343, 256, 75, 87, 11, 331, 1343, 256, 306, 11, 865, 87, 532, 256, 75, 87, 11, 275, 563, 532, 256, 306, 8, 198, 437, 198, 198, 8818, 7900, 1211, 13, 49283, 7, 26858, 3712, 5216, 1850, 15047, 40045, 8, 198, 220, 220, 220, 1441, 651, 4653, 1564, 45474, 7, 26858, 8, 198, 437, 198, 198, 41293, 796, 366, 22602, 14, 2971, 40045, 1, 198, 198, 8818, 8543, 15047, 40045, 7, 49464, 3712, 10910, 1211, 13, 34, 18131, 13, 34, 18131, 21947, 11, 9312, 3712, 5216, 1850, 15047, 40045, 8, 198, 220, 220, 220, 2124, 11, 331, 796, 7900, 1211, 13, 9150, 7, 26858, 8, 628, 220, 220, 220, 1657, 40045, 796, 7900, 1211, 13, 1136, 38454, 578, 7, 41293, 11, 366, 43241, 4943, 628, 220, 220, 220, 262, 8326, 796, 3396, 17, 6335, 7, 1136, 7, 26858, 13, 7890, 11, 366, 10599, 341, 1600, 657, 4008, 198, 220, 220, 220, 9647, 796, 2835, 7, 5317, 11, 651, 7, 26858, 13, 7890, 11, 366, 10394, 1600, 3933, 4008, 198, 220, 220, 220, 6001, 796, 2835, 7, 5317, 11, 651, 7, 26858, 13, 7890, 11, 366, 17015, 1600, 1987, 4008, 628, 220, 220, 220, 374, 782, 796, 7900, 1211, 13, 1136, 26437, 32398, 49, 782, 7, 26858, 8, 628, 220, 220, 220, 7900, 1211, 13, 34, 18131, 13, 21928, 7, 49464, 8, 628, 220, 220, 220, 7900, 1211, 13, 7645, 17660, 7, 49464, 11, 2124, 11, 331, 8, 198, 220, 220, 220, 7900, 1211, 13, 10599, 378, 7, 49464, 11, 262, 8326, 8, 198, 220, 220, 220, 7900, 1211, 13, 7645, 17660, 7, 49464, 11, 9647, 1220, 362, 11, 657, 8, 198, 220, 220, 220, 7900, 1211, 13, 10599, 378, 7, 49464, 11, 31028, 1220, 362, 8, 198, 220, 220, 220, 7900, 1211, 13, 9888, 7, 49464, 11, 357, 17015, 532, 604, 8, 1220, 1657, 40045, 13, 10394, 11, 352, 8, 198, 220, 220, 220, 7900, 1211, 13, 2617, 62, 415, 498, 4448, 7, 49464, 11, 352, 8, 628, 220, 220, 220, 7900, 1211, 13, 34, 18131, 13, 21928, 7, 49464, 8, 628, 220, 220, 220, 329, 1312, 287, 657, 25, 10394, 532, 352, 198, 220, 220, 220, 220, 220, 220, 220, 7900, 1211, 13, 19334, 5159, 7, 49464, 11, 11743, 11, 657, 11, 1312, 11, 17130, 28, 15, 13, 18, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 329, 1312, 287, 657, 25, 19, 25, 10394, 532, 352, 198, 220, 220, 220, 220, 220, 220, 220, 997, 796, 1312, 1635, 657, 13, 21, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 30916, 796, 604, 13, 15, 1343, 7813, 7, 22510, 1635, 657, 13, 20, 1343, 352, 13, 17, 8, 1635, 604, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 4129, 796, 6001, 1343, 7813, 7, 22510, 1635, 657, 13, 1495, 8, 1635, 807, 198, 220, 220, 220, 220, 220, 220, 220, 17130, 796, 657, 13, 21, 1343, 7813, 7, 22510, 1343, 657, 13, 23, 8, 1635, 657, 13, 18, 198, 220, 220, 220, 220, 220, 220, 220, 11677, 796, 7813, 19510, 22510, 1343, 1312, 1635, 3933, 8, 1635, 657, 13, 16, 1343, 7813, 7, 22510, 1635, 657, 13, 2713, 1343, 1312, 1635, 657, 13, 16, 8, 1635, 657, 13, 1495, 8, 1635, 357, 10394, 1220, 362, 13, 15, 532, 1627, 30916, 1220, 362, 13, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1892, 636, 286, 1743, 16765, 11, 475, 1838, 262, 8543, 257, 1643, 1342, 14262, 198, 220, 220, 220, 220, 220, 220, 220, 11677, 15205, 24705, 959, 796, 357, 25192, 7, 81, 782, 8, 532, 657, 13, 20, 8, 1635, 362, 628, 220, 220, 220, 220, 220, 220, 220, 329, 474, 287, 657, 25, 18, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7900, 1211, 13, 19334, 5159, 7, 49464, 11, 11743, 11, 657, 11, 11677, 1635, 11677, 15205, 24705, 959, 1343, 9647, 1220, 362, 1343, 474, 11, 17130, 28, 26591, 1220, 352, 13, 20, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 7900, 1211, 13, 34, 18131, 13, 2118, 382, 7, 49464, 8, 198, 437, 198, 198, 10910, 1211, 13, 13287, 24849, 7, 49464, 3712, 10910, 1211, 13, 34, 18131, 13, 34, 18131, 21947, 11, 9312, 3712, 5216, 1850, 15047, 40045, 11, 2119, 3712, 13912, 293, 13, 41178, 8, 796, 8543, 15047, 40045, 7, 49464, 11, 9312, 8, 198, 198, 437 ]
2.328704
1,512
# Alias of Model{K,Kₑ,Kₘ, K², K₊₁,K₊₂, AK₊₁,AK₊₂} for full 3D Maxwell's equations. # The type parameters AK₊₁ and AK₊₂ specify device-specific arrays types (e.g., CuArray) and # are user-defined in the constructor. const ModelFull{AK₊₁,AK₊₂} = Model{3,3,3, 9, 4,5, AK₊₁,AK₊₂} # Convenience constructor function ModelFull(grid::Grid; Atype::Type=Array) cmpₛ = SInt(1,2,3) # shapes in 3D space cmpₑ = SInt(1,2,3) # E-field with x-, y-, and y-components cmpₘ = SInt(1,2,3) # H-field with x-, y-, and y-components return ModelFull{Atype{ComplexF,4},Atype{ComplexF,5}}(;grid, cmpₛ, cmpₑ, cmpₘ) end # Assign the material parameters on the grid and smooth them. function calc_matparams!(mdl::ModelFull) # Take necessary fields of mdl. grid = mdl.grid isbloch = grid.isbloch N = grid.N l = grid.l σ = grid.σ lg = grid.ghosted.l τl = grid.ghosted.τl ∆τ = grid.ghosted.∆τ boundft = mdl.boundft gₑ = ft2gt.(EE,boundft) gₘ = ft2gt.(HH,boundft) εarr = mdl.εarr µarr = mdl.μarr oind2shp = mdl.oind2shp oind2εind = mdl.oind2εind oind2μind = mdl.oind2μind cmpₑ = mdl.cmpₑ cmpₘ = mdl.cmpₘ εind2ε = sub_pind2matprm(mdl.εind2ε, cmpₑ) μind2μ = sub_pind2matprm(mdl.μind2μ, cmpₘ) # Create temporary storages. εxx_oind3d = create_oind_array(N) εyy_oind3d = create_oind_array(N) εzz_oind3d = create_oind_array(N) εoo_oind3d = create_oind_array(N) μxx_oind3d = create_oind_array(N) μyy_oind3d = create_oind_array(N) μzz_oind3d = create_oind_array(N) μoo_oind3d = create_oind_array(N) # Assign the material parameters. assign_param!(εarr, (μxx_oind3d,μyy_oind3d,μzz_oind3d), oind2shp, oind2εind, εind2ε, gₑ, τl, isbloch) # diagonal entries of ε tensors assign_param!(εarr, tuple(μoo_oind3d), oind2shp, oind2εind, εind2ε, gₑ, τl, isbloch) # off-diagonal entries of ε tensors assign_param!(μarr, (εxx_oind3d,εyy_oind3d,εzz_oind3d), oind2shp, oind2μind, μind2μ, gₘ, τl, isbloch) # diagonal entries of μ tensors assign_param!(μarr, tuple(εoo_oind3d), oind2shp, oind2μind, μind2μ, gₘ, τl, isbloch) # off-diagonal entries of μ tensors # Smooth the material parameters. smooth_param!(εarr, (εxx_oind3d,εyy_oind3d,εzz_oind3d), oind2shp, oind2εind, εind2ε, gₑ, l, lg, σ, ∆τ, mdl.ise˔shp) # diagonal entries of ε tensors smooth_param!(εarr, tuple(εoo_oind3d), oind2shp, oind2εind, εind2ε, gₑ, l, lg, σ, ∆τ, mdl.ise˔shp) # off-diagonal entries of ε tensors smooth_param!(μarr, (μxx_oind3d,μyy_oind3d,μzz_oind3d), oind2shp, oind2μind, μind2μ, gₘ, l, lg, σ, ∆τ, mdl.ish˔shp) # diagonal entries of μ tensors smooth_param!(μarr, tuple(μoo_oind3d), oind2shp, oind2μind, μind2μ, gₘ, l, lg, σ, ∆τ, mdl.ish˔shp) # off-diagonal entries of μ tensors return nothing end
[ 2, 978, 4448, 286, 9104, 90, 42, 11, 42, 158, 224, 239, 11, 42, 158, 224, 246, 11, 509, 31185, 11, 509, 158, 224, 232, 158, 224, 223, 11, 42, 158, 224, 232, 158, 224, 224, 11, 15837, 158, 224, 232, 158, 224, 223, 11, 10206, 158, 224, 232, 158, 224, 224, 92, 329, 1336, 513, 35, 28276, 338, 27490, 13, 198, 2, 383, 2099, 10007, 15837, 158, 224, 232, 158, 224, 223, 290, 15837, 158, 224, 232, 158, 224, 224, 11986, 3335, 12, 11423, 26515, 3858, 357, 68, 13, 70, 1539, 14496, 19182, 8, 290, 198, 2, 389, 2836, 12, 23211, 287, 262, 23772, 13, 198, 9979, 9104, 13295, 90, 10206, 158, 224, 232, 158, 224, 223, 11, 10206, 158, 224, 232, 158, 224, 224, 92, 796, 9104, 90, 18, 11, 18, 11, 18, 11, 860, 11, 604, 11, 20, 11, 15837, 158, 224, 232, 158, 224, 223, 11, 10206, 158, 224, 232, 158, 224, 224, 92, 198, 198, 2, 1482, 574, 1240, 23772, 198, 8818, 9104, 13295, 7, 25928, 3712, 41339, 26, 317, 4906, 3712, 6030, 28, 19182, 8, 198, 220, 220, 220, 269, 3149, 158, 224, 249, 796, 311, 5317, 7, 16, 11, 17, 11, 18, 8, 220, 1303, 15268, 287, 513, 35, 2272, 198, 220, 220, 220, 269, 3149, 158, 224, 239, 796, 311, 5317, 7, 16, 11, 17, 11, 18, 8, 220, 1303, 412, 12, 3245, 351, 2124, 20995, 331, 20995, 290, 331, 12, 5589, 3906, 198, 220, 220, 220, 269, 3149, 158, 224, 246, 796, 311, 5317, 7, 16, 11, 17, 11, 18, 8, 220, 1303, 367, 12, 3245, 351, 2124, 20995, 331, 20995, 290, 331, 12, 5589, 3906, 628, 220, 220, 220, 1441, 9104, 13295, 90, 32, 4906, 90, 5377, 11141, 37, 11, 19, 5512, 32, 4906, 90, 5377, 11141, 37, 11, 20, 11709, 7, 26, 25928, 11, 269, 3149, 158, 224, 249, 11, 269, 3149, 158, 224, 239, 11, 269, 3149, 158, 224, 246, 8, 198, 437, 198, 198, 2, 2195, 570, 262, 2587, 10007, 319, 262, 10706, 290, 7209, 606, 13, 198, 8818, 42302, 62, 6759, 37266, 0, 7, 9132, 75, 3712, 17633, 13295, 8, 198, 220, 220, 220, 1303, 7214, 3306, 7032, 286, 285, 25404, 13, 198, 220, 220, 220, 10706, 796, 285, 25404, 13, 25928, 628, 220, 220, 220, 318, 2436, 5374, 796, 10706, 13, 271, 2436, 5374, 198, 220, 220, 220, 399, 796, 10706, 13, 45, 198, 220, 220, 220, 300, 796, 10706, 13, 75, 198, 220, 220, 220, 18074, 225, 796, 10706, 13, 38392, 628, 220, 220, 220, 300, 70, 796, 10706, 13, 38933, 276, 13, 75, 198, 220, 220, 220, 46651, 75, 796, 10706, 13, 38933, 276, 13, 32830, 75, 198, 220, 220, 220, 18872, 228, 32830, 796, 10706, 13, 38933, 276, 13, 24861, 228, 32830, 628, 220, 220, 220, 5421, 701, 796, 285, 25404, 13, 7784, 701, 198, 220, 220, 220, 308, 158, 224, 239, 796, 10117, 17, 13655, 12195, 6500, 11, 7784, 701, 8, 198, 220, 220, 220, 308, 158, 224, 246, 796, 10117, 17, 13655, 12195, 16768, 11, 7784, 701, 8, 628, 220, 220, 220, 7377, 113, 3258, 796, 285, 25404, 13, 30950, 3258, 198, 220, 220, 220, 31324, 3258, 796, 285, 25404, 13, 34703, 3258, 628, 220, 220, 220, 267, 521, 17, 1477, 79, 796, 285, 25404, 13, 78, 521, 17, 1477, 79, 198, 220, 220, 220, 267, 521, 17, 30950, 521, 796, 285, 25404, 13, 78, 521, 17, 30950, 521, 198, 220, 220, 220, 267, 521, 17, 34703, 521, 796, 285, 25404, 13, 78, 521, 17, 34703, 521, 628, 220, 220, 220, 269, 3149, 158, 224, 239, 796, 285, 25404, 13, 48991, 158, 224, 239, 198, 220, 220, 220, 269, 3149, 158, 224, 246, 796, 285, 25404, 13, 48991, 158, 224, 246, 628, 220, 220, 220, 7377, 113, 521, 17, 30950, 796, 850, 62, 79, 521, 17, 6759, 1050, 76, 7, 9132, 75, 13, 30950, 521, 17, 30950, 11, 269, 3149, 158, 224, 239, 8, 198, 220, 220, 220, 18919, 521, 17, 34703, 796, 850, 62, 79, 521, 17, 6759, 1050, 76, 7, 9132, 75, 13, 34703, 521, 17, 34703, 11, 269, 3149, 158, 224, 246, 8, 628, 220, 220, 220, 1303, 13610, 8584, 336, 273, 1095, 13, 198, 220, 220, 220, 7377, 113, 5324, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 7377, 113, 22556, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 7377, 113, 3019, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 7377, 113, 2238, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 628, 220, 220, 220, 18919, 5324, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 18919, 22556, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 18919, 3019, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 198, 220, 220, 220, 18919, 2238, 62, 78, 521, 18, 67, 796, 2251, 62, 78, 521, 62, 18747, 7, 45, 8, 628, 220, 220, 220, 1303, 2195, 570, 262, 2587, 10007, 13, 198, 220, 220, 220, 8333, 62, 17143, 0, 7, 30950, 3258, 11, 357, 34703, 5324, 62, 78, 521, 18, 67, 11, 34703, 22556, 62, 78, 521, 18, 67, 11, 34703, 3019, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 30950, 521, 11, 7377, 113, 521, 17, 30950, 11, 308, 158, 224, 239, 11, 46651, 75, 11, 318, 2436, 5374, 8, 220, 1303, 40039, 12784, 286, 7377, 113, 11192, 669, 198, 220, 220, 220, 8333, 62, 17143, 0, 7, 30950, 3258, 11, 46545, 7, 34703, 2238, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 30950, 521, 11, 7377, 113, 521, 17, 30950, 11, 308, 158, 224, 239, 11, 46651, 75, 11, 318, 2436, 5374, 8, 220, 1303, 572, 12, 10989, 27923, 12784, 286, 7377, 113, 11192, 669, 198, 220, 220, 220, 8333, 62, 17143, 0, 7, 34703, 3258, 11, 357, 30950, 5324, 62, 78, 521, 18, 67, 11, 30950, 22556, 62, 78, 521, 18, 67, 11, 30950, 3019, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 34703, 521, 11, 18919, 521, 17, 34703, 11, 308, 158, 224, 246, 11, 46651, 75, 11, 318, 2436, 5374, 8, 220, 1303, 40039, 12784, 286, 18919, 11192, 669, 198, 220, 220, 220, 8333, 62, 17143, 0, 7, 34703, 3258, 11, 46545, 7, 30950, 2238, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 34703, 521, 11, 18919, 521, 17, 34703, 11, 308, 158, 224, 246, 11, 46651, 75, 11, 318, 2436, 5374, 8, 220, 1303, 572, 12, 10989, 27923, 12784, 286, 18919, 11192, 669, 628, 220, 220, 220, 1303, 37002, 262, 2587, 10007, 13, 198, 220, 220, 220, 7209, 62, 17143, 0, 7, 30950, 3258, 11, 357, 30950, 5324, 62, 78, 521, 18, 67, 11, 30950, 22556, 62, 78, 521, 18, 67, 11, 30950, 3019, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 30950, 521, 11, 7377, 113, 521, 17, 30950, 11, 308, 158, 224, 239, 11, 300, 11, 300, 70, 11, 18074, 225, 11, 18872, 228, 32830, 11, 285, 25404, 13, 786, 135, 242, 1477, 79, 8, 220, 1303, 40039, 12784, 286, 7377, 113, 11192, 669, 198, 220, 220, 220, 7209, 62, 17143, 0, 7, 30950, 3258, 11, 46545, 7, 30950, 2238, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 30950, 521, 11, 7377, 113, 521, 17, 30950, 11, 308, 158, 224, 239, 11, 300, 11, 300, 70, 11, 18074, 225, 11, 18872, 228, 32830, 11, 285, 25404, 13, 786, 135, 242, 1477, 79, 8, 220, 1303, 572, 12, 10989, 27923, 12784, 286, 7377, 113, 11192, 669, 198, 220, 220, 220, 7209, 62, 17143, 0, 7, 34703, 3258, 11, 357, 34703, 5324, 62, 78, 521, 18, 67, 11, 34703, 22556, 62, 78, 521, 18, 67, 11, 34703, 3019, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 34703, 521, 11, 18919, 521, 17, 34703, 11, 308, 158, 224, 246, 11, 300, 11, 300, 70, 11, 18074, 225, 11, 18872, 228, 32830, 11, 285, 25404, 13, 680, 135, 242, 1477, 79, 8, 220, 1303, 40039, 12784, 286, 18919, 11192, 669, 198, 220, 220, 220, 7209, 62, 17143, 0, 7, 34703, 3258, 11, 46545, 7, 34703, 2238, 62, 78, 521, 18, 67, 828, 267, 521, 17, 1477, 79, 11, 267, 521, 17, 34703, 521, 11, 18919, 521, 17, 34703, 11, 308, 158, 224, 246, 11, 300, 11, 300, 70, 11, 18074, 225, 11, 18872, 228, 32830, 11, 285, 25404, 13, 680, 135, 242, 1477, 79, 8, 220, 1303, 572, 12, 10989, 27923, 12784, 286, 18919, 11192, 669, 628, 220, 220, 220, 1441, 2147, 198, 437, 198 ]
1.876576
1,507
@inline function always_assert(condition::Bool, message::String) if !condition throw(AlwaysAssertionError(message)) end return nothing end
[ 31, 45145, 2163, 1464, 62, 30493, 7, 31448, 3712, 33, 970, 11, 3275, 3712, 10100, 8, 198, 220, 220, 220, 611, 5145, 31448, 198, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 30374, 8021, 861, 295, 12331, 7, 20500, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 2147, 198, 437, 198 ]
2.890909
55
using Test, ModelConstructors include(joinpath(dirname(@__FILE__), "../../src/includeall.jl")) # TEST USING SLM OBJECT THAT IT MATCHES THE DESIRED OUTPUT rp = joinpath(dirname(@__FILE__), "../reference/SLM") in_inc = load(joinpath(rp, "eval.jld2")) in_dec = load(joinpath(rp, "eval_decrease.jld2")) in_sin = load(joinpath(rp, "eval_sine.jld2")) in_sinnoineq = load(joinpath(rp, "eval_sinnoineq.jld2")) slms = Vector{AbstractSLM}(undef, 0) for (i, in_data) in zip(1:4, [in_inc, in_dec, in_sin, in_sinnoineq]) if i == 1 push!(slms, SLM(vec(in_data["w"]), vec(in_data["p_sol"]); knots = Int(in_data["knots"]), increasing = true, concave_down = true, left_value = in_data["p0_norun"], right_value = in_data["p1_norun"], min_value = in_data["p0_norun"] - 1e-3, max_value = in_data["p1_norun"] + 1e-3)) elseif i == 2 push!(slms, SLM(vec(in_data["w"]), vec(in_data["rev_p_sol"]); knots = Int(in_data["knots"]), decreasing = true, concave_up = true, right_value = in_data["p0_norun"], left_value = in_data["p1_norun"], min_value = in_data["p0_norun"] - 1e-3, max_value = in_data["p1_norun"] + 1e-3)) elseif i == 3 push!(slms, SLM(vec(in_data["x"]), vec(in_data["y"]); knots = Int(in_data["knots"]), increasing_intervals = in_data["inc_int"], decreasing_intervals = in_data["dec_int"], concave_up_intervals = in_data["cu_int"], concave_down_intervals = in_data["cd_int"], right_value = in_data["rightvalue"], left_value = in_data["leftvalue"])) else push!(slms, SLM(vec(in_data["x"]), vec(in_data["y"]); knots = Int(in_data["knots"]), right_value = in_data["rightvalue"], left_value = in_data["leftvalue"])) end end @testset "eval of SLM" begin for (i, in_data) in zip(1:4, [in_inc, in_dec, in_sin, in_sinnoineq]) if i == 1 @test @test_matrix_approx_eq eval(slms[i], vec(in_data["w"])) in_data["phat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["w"]), 0) in_data["phat"] elseif i == 2 @test @test_matrix_approx_eq eval(slms[i], vec(in_data["w"])) in_data["phat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["w"]), 0) in_data["phat"] elseif i == 3 @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"])) in_data["yhat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"]), 0) in_data["yhat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"]), 1) in_data["yphat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"]), 2) in_data["ypphat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"]), 3) in_data["yppphat"] else @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"])) in_data["yhat"] @test @test_matrix_approx_eq eval(slms[i], vec(in_data["xhat"]), 0) in_data["yhat"] end end end
[ 3500, 6208, 11, 9104, 42316, 669, 198, 17256, 7, 22179, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 40720, 40720, 10677, 14, 17256, 439, 13, 20362, 48774, 198, 198, 2, 43001, 1294, 2751, 12419, 44, 25334, 23680, 14603, 7283, 337, 11417, 1546, 3336, 22196, 37819, 16289, 30076, 198, 81, 79, 796, 4654, 6978, 7, 15908, 3672, 7, 31, 834, 25664, 834, 828, 366, 40720, 35790, 14, 8634, 44, 4943, 198, 259, 62, 1939, 796, 3440, 7, 22179, 6978, 7, 81, 79, 11, 366, 18206, 13, 73, 335, 17, 48774, 198, 259, 62, 12501, 796, 3440, 7, 22179, 6978, 7, 81, 79, 11, 366, 18206, 62, 12501, 260, 589, 13, 73, 335, 17, 48774, 198, 259, 62, 31369, 796, 3440, 7, 22179, 6978, 7, 81, 79, 11, 366, 18206, 62, 82, 500, 13, 73, 335, 17, 48774, 198, 259, 62, 82, 3732, 42722, 80, 796, 3440, 7, 22179, 6978, 7, 81, 79, 11, 366, 18206, 62, 82, 3732, 42722, 80, 13, 73, 335, 17, 48774, 198, 198, 6649, 907, 796, 20650, 90, 23839, 8634, 44, 92, 7, 917, 891, 11, 657, 8, 198, 198, 1640, 357, 72, 11, 287, 62, 7890, 8, 287, 19974, 7, 16, 25, 19, 11, 685, 259, 62, 1939, 11, 287, 62, 12501, 11, 287, 62, 31369, 11, 287, 62, 82, 3732, 42722, 80, 12962, 198, 220, 220, 220, 611, 1312, 6624, 352, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 6649, 907, 11, 12419, 44, 7, 35138, 7, 259, 62, 7890, 14692, 86, 8973, 828, 43030, 7, 259, 62, 7890, 14692, 79, 62, 34453, 8973, 1776, 33620, 796, 2558, 7, 259, 62, 7890, 14692, 74, 1662, 82, 8973, 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, 3649, 796, 2081, 11, 1673, 1015, 62, 2902, 796, 2081, 11, 1364, 62, 8367, 796, 287, 62, 7890, 14692, 79, 15, 62, 13099, 403, 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, 826, 62, 8367, 796, 287, 62, 7890, 14692, 79, 16, 62, 13099, 403, 33116, 949, 62, 8367, 796, 287, 62, 7890, 14692, 79, 15, 62, 13099, 403, 8973, 532, 352, 68, 12, 18, 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, 3509, 62, 8367, 796, 287, 62, 7890, 14692, 79, 16, 62, 13099, 403, 8973, 1343, 352, 68, 12, 18, 4008, 198, 220, 220, 220, 2073, 361, 1312, 6624, 362, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 6649, 907, 11, 12419, 44, 7, 35138, 7, 259, 62, 7890, 14692, 86, 8973, 828, 43030, 7, 259, 62, 7890, 14692, 18218, 62, 79, 62, 34453, 8973, 1776, 33620, 796, 2558, 7, 259, 62, 7890, 14692, 74, 1662, 82, 8973, 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, 24030, 796, 2081, 11, 1673, 1015, 62, 929, 796, 2081, 11, 826, 62, 8367, 796, 287, 62, 7890, 14692, 79, 15, 62, 13099, 403, 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, 1364, 62, 8367, 796, 287, 62, 7890, 14692, 79, 16, 62, 13099, 403, 33116, 949, 62, 8367, 796, 287, 62, 7890, 14692, 79, 15, 62, 13099, 403, 8973, 532, 352, 68, 12, 18, 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, 3509, 62, 8367, 796, 287, 62, 7890, 14692, 79, 16, 62, 13099, 403, 8973, 1343, 352, 68, 12, 18, 4008, 198, 220, 220, 220, 2073, 361, 1312, 6624, 513, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 6649, 907, 11, 12419, 44, 7, 35138, 7, 259, 62, 7890, 14692, 87, 8973, 828, 43030, 7, 259, 62, 7890, 14692, 88, 8973, 1776, 33620, 796, 2558, 7, 259, 62, 7890, 14692, 74, 1662, 82, 8973, 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, 3649, 62, 3849, 12786, 796, 287, 62, 7890, 14692, 1939, 62, 600, 33116, 24030, 62, 3849, 12786, 796, 287, 62, 7890, 14692, 12501, 62, 600, 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, 1673, 1015, 62, 929, 62, 3849, 12786, 796, 287, 62, 7890, 14692, 27399, 62, 600, 33116, 1673, 1015, 62, 2902, 62, 3849, 12786, 796, 287, 62, 7890, 14692, 10210, 62, 600, 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, 826, 62, 8367, 796, 287, 62, 7890, 14692, 3506, 8367, 33116, 1364, 62, 8367, 796, 287, 62, 7890, 14692, 9464, 8367, 8973, 4008, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 6649, 907, 11, 12419, 44, 7, 35138, 7, 259, 62, 7890, 14692, 87, 8973, 828, 43030, 7, 259, 62, 7890, 14692, 88, 8973, 1776, 33620, 796, 2558, 7, 259, 62, 7890, 14692, 74, 1662, 82, 8973, 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, 826, 62, 8367, 796, 287, 62, 7890, 14692, 3506, 8367, 33116, 1364, 62, 8367, 796, 287, 62, 7890, 14692, 9464, 8367, 8973, 4008, 198, 220, 220, 220, 886, 198, 437, 198, 198, 31, 9288, 2617, 366, 18206, 286, 12419, 44, 1, 2221, 198, 220, 220, 220, 329, 357, 72, 11, 287, 62, 7890, 8, 287, 19974, 7, 16, 25, 19, 11, 685, 259, 62, 1939, 11, 287, 62, 12501, 11, 287, 62, 31369, 11, 287, 62, 82, 3732, 42722, 80, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1312, 6624, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 86, 8973, 4008, 287, 62, 7890, 14692, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 86, 8973, 828, 657, 8, 287, 62, 7890, 14692, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 1312, 6624, 362, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 86, 8973, 4008, 287, 62, 7890, 14692, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 86, 8973, 828, 657, 8, 287, 62, 7890, 14692, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 361, 1312, 6624, 513, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 4008, 287, 62, 7890, 14692, 88, 5183, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 828, 657, 8, 287, 62, 7890, 14692, 88, 5183, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 828, 352, 8, 287, 62, 7890, 14692, 88, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 828, 362, 8, 287, 62, 7890, 14692, 88, 381, 5183, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 828, 513, 8, 287, 62, 7890, 14692, 88, 381, 746, 265, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 4008, 287, 62, 7890, 14692, 88, 5183, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 2488, 9288, 62, 6759, 8609, 62, 1324, 13907, 62, 27363, 5418, 7, 6649, 907, 58, 72, 4357, 43030, 7, 259, 62, 7890, 14692, 87, 5183, 8973, 828, 657, 8, 287, 62, 7890, 14692, 88, 5183, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 198 ]
1.944307
1,616
using Test using FluxRM if !haskey(ENV, "FLUX_URI") flux_available = try success(`flux env`) catch false end if !flux_available @error "flux-core is not installed, skipping further tests" exit() end @info "relaunching under Flux" current_file = @__FILE__ # bug in 1.5 can't be directly interpolated jlcmd = `$(Base.julia_cmd()) $(current_file)` cmd = `flux start -o,-Slog-forward-level=7 -- $jlcmd` @test success(pipeline(cmd, stdout=stdout, stderr=stderr)) exit() end
[ 3500, 6208, 198, 3500, 1610, 2821, 29138, 198, 198, 361, 5145, 10134, 2539, 7, 1677, 53, 11, 366, 3697, 31235, 62, 47269, 4943, 198, 220, 220, 220, 28462, 62, 15182, 796, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 1943, 7, 63, 69, 22564, 17365, 63, 8, 198, 220, 220, 220, 4929, 198, 220, 220, 220, 220, 220, 220, 220, 3991, 198, 220, 220, 220, 886, 628, 220, 220, 220, 611, 5145, 69, 22564, 62, 15182, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 18224, 366, 69, 22564, 12, 7295, 318, 407, 6589, 11, 31017, 2252, 5254, 1, 198, 220, 220, 220, 220, 220, 220, 220, 8420, 3419, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2488, 10951, 366, 2411, 1942, 10813, 739, 1610, 2821, 1, 198, 220, 220, 220, 1459, 62, 7753, 796, 2488, 834, 25664, 834, 1303, 5434, 287, 352, 13, 20, 460, 470, 307, 3264, 39555, 515, 198, 220, 220, 220, 474, 75, 28758, 796, 4600, 3, 7, 14881, 13, 73, 43640, 62, 28758, 28955, 29568, 14421, 62, 7753, 8, 63, 198, 220, 220, 220, 23991, 796, 4600, 69, 22564, 923, 532, 78, 12095, 50, 6404, 12, 11813, 12, 5715, 28, 22, 1377, 720, 20362, 28758, 63, 198, 220, 220, 220, 2488, 9288, 1943, 7, 79, 541, 4470, 7, 28758, 11, 14367, 448, 28, 19282, 448, 11, 336, 1082, 81, 28, 301, 1082, 81, 4008, 198, 220, 220, 220, 8420, 3419, 198, 437, 628 ]
2.2875
240
using MAGMA using Test, LinearAlgebra, Random @testset "singular_value_decomposition" begin include("svds/runtests.jl") end
[ 3500, 28263, 5673, 198, 3500, 6208, 11, 44800, 2348, 29230, 11, 14534, 198, 198, 31, 9288, 2617, 366, 12215, 934, 62, 8367, 62, 12501, 296, 9150, 1, 2221, 198, 220, 220, 220, 2291, 7203, 21370, 9310, 14, 81, 2797, 3558, 13, 20362, 4943, 198, 437, 198 ]
2.804348
46
function is_isymata_mode() Symata.is_loaded_IJulia() && _is_isymata_mode() end ## `set_jupyter_input_prompt_color` is not very useful now because ## it changes the color for the entire notebook, rather than the current ## cell. """ set_jupyter_input_prompt_color(c) Set the color of the Jupyter prompt. """ function set_jupyter_input_prompt_color(c) display("text/javascript",string("\$(\"div.input_prompt\").css({\"color\": \"", c, "\"})")) end """ isymata() Enter Symata mode from within Jupyter (IPython). From within Symata, `Julia()` exits Symata and returns to Julia mode. """ function isymata() if Symata.isymata_inited() invokelatest(set_isymata_mode) else init_isymata() if Symata.isymata_inited() invokelatest(set_isymata_mode) else error("Unable to initialize isymata in IJulia") end end # set_jupyter_input_prompt_color("blue") # This now applies to all cells. So we can't switch between nothing end """ init_isymata() Check if `IJulia` is loaded. If so, install an "execute_request" handler that will translate input and output for `Symata`. See `isymata`. """ function init_isymata() if isdefined(Main, :IJulia) try _init_isymata() Symata._set_historylength(10) # IJulia stores history, as well. Core.eval(Symata, :(do_we_print_Out_label = false)) # prevents symataevaluate from printing results. catch e @warn("Initializing isymata failed") rethrow(e) return end else @warn("IJulia not loaded. Try 'using IJulia'. Try 'Pkg.add(\"IJulia\") if IJulia is not installed.") return end Symata.isymata_inited(true) Symata.setkerneloptions(:output_style, :JupyterForm) # this is only set when initing. The user can change it return nothing end function import_IJulia() eval(:(const IJulia = Main.IJulia)) end function _symata_code_hook(code::AbstractString) if Symata.iscomment(code) return "" else return "@Symata.symfull " * " begin\n" * code * "\nend" end end function _init_isymata() Symata.populate_builtins() load_ijulia_handlers() import_IJulia() # create struct with hooks used in modal handlers symata_mode = invokelatest(IJulia.JupyterMode, :symata, # language mode name _symata_code_hook, # to transform input helpcode -> Symata.print_doc(strip(helpcode)), symata_format_output, # to transform output Symata.symata_completions # to choose symbols for completion ) ## install Symata-language hooks, switch to Symata mode, install modal handlers. invokelatest(IJulia.install_ijulia_mode, :symata, symata_mode) invokelatest(IJulia.set_ijulia_mode, :symata) invokelatest(IJulia.set_handler, "execute_request", IJulia.execute_request_modal) invokelatest(IJulia.set_handler, "complete_request", IJulia.complete_request_modal) eval(quote set_isymata_mode() = IJulia.set_ijulia_mode(:symata) set_julia_mode() = IJulia.set_ijulia_mode(:julia) _is_isymata_mode() = IJulia.get_current_ijulia_modename() == :symata end) return nothing end function symata_format_output(ex) if Symata.isymata_mma_mode() if Symata.using_ijulia_output() newex = Symata.mxpr(:TeXForm, ex) return try str = Symata.symata_expr_to_mma_string(newex) Symata.MyLaTeXString("\$\$ " * str * " \$\$") catch @warn("Unable to format expression in Mathematic syntax.") Symata.using_ijulia_output() ? Symata.latex_display(Symata.wrapout(ex)) : Symata.wrapout(ex) end else # SymataSyntax.MmaOutString(symata_expr_to_mma_string(ex)) end else return Symata.using_ijulia_output() ? Symata.latex_display(Symata.wrapout(ex)) : Symata.wrapout(ex) end end
[ 8818, 318, 62, 271, 4948, 1045, 62, 14171, 3419, 198, 220, 220, 220, 15845, 1045, 13, 271, 62, 14578, 62, 40, 16980, 544, 3419, 11405, 4808, 271, 62, 271, 4948, 1045, 62, 14171, 3419, 198, 437, 198, 198, 2235, 4600, 2617, 62, 73, 929, 88, 353, 62, 15414, 62, 16963, 457, 62, 8043, 63, 318, 407, 845, 4465, 783, 780, 198, 2235, 340, 2458, 262, 3124, 329, 262, 2104, 20922, 11, 2138, 621, 262, 1459, 198, 2235, 2685, 13, 198, 37811, 198, 220, 220, 220, 900, 62, 73, 929, 88, 353, 62, 15414, 62, 16963, 457, 62, 8043, 7, 66, 8, 198, 198, 7248, 262, 3124, 286, 262, 449, 929, 88, 353, 6152, 13, 198, 37811, 198, 8818, 900, 62, 73, 929, 88, 353, 62, 15414, 62, 16963, 457, 62, 8043, 7, 66, 8, 198, 220, 220, 220, 3359, 7203, 5239, 14, 37495, 1600, 8841, 7203, 59, 3, 7, 7879, 7146, 13, 15414, 62, 16963, 457, 7879, 737, 25471, 15090, 7879, 8043, 30478, 19990, 1600, 269, 11, 366, 7879, 92, 16725, 4008, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 318, 4948, 1045, 3419, 198, 198, 17469, 15845, 1045, 4235, 422, 1626, 449, 929, 88, 353, 357, 4061, 7535, 737, 198, 4863, 1626, 15845, 1045, 11, 4600, 16980, 544, 3419, 63, 30151, 15845, 1045, 198, 392, 5860, 284, 22300, 4235, 13, 198, 37811, 198, 8818, 318, 4948, 1045, 3419, 198, 220, 220, 220, 611, 15845, 1045, 13, 271, 4948, 1045, 62, 259, 863, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 26342, 42861, 7, 2617, 62, 271, 4948, 1045, 62, 14171, 8, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 2315, 62, 271, 4948, 1045, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 15845, 1045, 13, 271, 4948, 1045, 62, 259, 863, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26342, 42861, 7, 2617, 62, 271, 4948, 1045, 62, 14171, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 7203, 3118, 540, 284, 41216, 318, 4948, 1045, 287, 314, 16980, 544, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 2, 220, 220, 220, 900, 62, 73, 929, 88, 353, 62, 15414, 62, 16963, 457, 62, 8043, 7203, 17585, 4943, 1303, 770, 783, 8991, 284, 477, 4778, 13, 1406, 356, 460, 470, 5078, 1022, 198, 220, 220, 220, 2147, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 2315, 62, 271, 4948, 1045, 3419, 198, 198, 9787, 611, 4600, 40, 16980, 544, 63, 318, 9639, 13, 1002, 523, 11, 2721, 281, 366, 41049, 62, 25927, 1, 21360, 326, 198, 10594, 15772, 5128, 290, 5072, 329, 4600, 43094, 1045, 44646, 4091, 4600, 271, 4948, 1045, 44646, 198, 37811, 198, 8818, 2315, 62, 271, 4948, 1045, 3419, 198, 220, 220, 220, 611, 318, 23211, 7, 13383, 11, 1058, 40, 16980, 544, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 15003, 62, 271, 4948, 1045, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15845, 1045, 13557, 2617, 62, 23569, 13664, 7, 940, 8, 220, 1303, 314, 16980, 544, 7000, 2106, 11, 355, 880, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7231, 13, 18206, 7, 43094, 1045, 11, 36147, 4598, 62, 732, 62, 4798, 62, 7975, 62, 18242, 796, 3991, 4008, 1303, 15174, 5659, 1045, 49786, 422, 13570, 2482, 13, 198, 220, 220, 220, 220, 220, 220, 220, 4929, 304, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 40539, 7203, 24243, 2890, 318, 4948, 1045, 4054, 4943, 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, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 2488, 40539, 7203, 40, 16980, 544, 407, 9639, 13, 9993, 705, 3500, 314, 16980, 544, 4458, 9993, 705, 47, 10025, 13, 2860, 7, 7879, 40, 16980, 544, 59, 4943, 611, 314, 16980, 544, 318, 407, 6589, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 886, 198, 220, 220, 220, 15845, 1045, 13, 271, 4948, 1045, 62, 259, 863, 7, 7942, 8, 198, 220, 220, 220, 15845, 1045, 13, 2617, 33885, 25811, 7, 25, 22915, 62, 7635, 11, 1058, 41, 929, 88, 353, 8479, 8, 1303, 428, 318, 691, 900, 618, 287, 1780, 13, 383, 2836, 460, 1487, 340, 198, 220, 220, 220, 1441, 2147, 198, 437, 198, 198, 8818, 1330, 62, 40, 16980, 544, 3419, 198, 220, 220, 220, 5418, 7, 37498, 9979, 314, 16980, 544, 796, 8774, 13, 40, 16980, 544, 4008, 198, 437, 198, 198, 8818, 4808, 37047, 1045, 62, 8189, 62, 25480, 7, 8189, 3712, 23839, 10100, 8, 198, 220, 220, 220, 611, 15845, 1045, 13, 271, 23893, 7, 8189, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 13538, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 44212, 43094, 1045, 13, 37047, 12853, 366, 1635, 366, 2221, 59, 77, 1, 1635, 2438, 1635, 37082, 77, 437, 1, 198, 220, 220, 220, 886, 198, 437, 198, 198, 8818, 4808, 15003, 62, 271, 4948, 1045, 3419, 198, 220, 220, 220, 15845, 1045, 13, 12924, 5039, 62, 18780, 1040, 3419, 198, 220, 220, 220, 3440, 62, 2926, 43640, 62, 4993, 8116, 3419, 198, 220, 220, 220, 1330, 62, 40, 16980, 544, 3419, 198, 220, 220, 220, 1303, 2251, 2878, 351, 26569, 973, 287, 953, 282, 32847, 198, 220, 220, 220, 5659, 1045, 62, 14171, 796, 26342, 42861, 7, 40, 16980, 544, 13, 41, 929, 88, 353, 19076, 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, 1058, 37047, 1045, 11, 220, 220, 1303, 3303, 4235, 1438, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 37047, 1045, 62, 8189, 62, 25480, 11, 1303, 284, 6121, 5128, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1037, 8189, 4613, 15845, 1045, 13, 4798, 62, 15390, 7, 36311, 7, 16794, 8189, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5659, 1045, 62, 18982, 62, 22915, 11, 1303, 284, 6121, 5072, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15845, 1045, 13, 37047, 1045, 62, 785, 37069, 507, 1303, 284, 3853, 14354, 329, 11939, 198, 220, 220, 220, 220, 220, 220, 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, 2235, 220, 2721, 15845, 1045, 12, 16129, 26569, 11, 5078, 284, 15845, 1045, 4235, 11, 2721, 953, 282, 32847, 13, 198, 220, 220, 220, 26342, 42861, 7, 40, 16980, 544, 13, 17350, 62, 2926, 43640, 62, 14171, 11, 1058, 37047, 1045, 11, 5659, 1045, 62, 14171, 8, 198, 220, 220, 220, 26342, 42861, 7, 40, 16980, 544, 13, 2617, 62, 2926, 43640, 62, 14171, 11, 1058, 37047, 1045, 8, 198, 220, 220, 220, 26342, 42861, 7, 40, 16980, 544, 13, 2617, 62, 30281, 11, 366, 41049, 62, 25927, 1600, 314, 16980, 544, 13, 41049, 62, 25927, 62, 4666, 282, 8, 198, 220, 220, 220, 26342, 42861, 7, 40, 16980, 544, 13, 2617, 62, 30281, 11, 366, 20751, 62, 25927, 1600, 314, 16980, 544, 13, 20751, 62, 25927, 62, 4666, 282, 8, 198, 220, 220, 220, 5418, 7, 22708, 198, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 271, 4948, 1045, 62, 14171, 3419, 796, 314, 16980, 544, 13, 2617, 62, 2926, 43640, 62, 14171, 7, 25, 37047, 1045, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 900, 62, 73, 43640, 62, 14171, 3419, 796, 314, 16980, 544, 13, 2617, 62, 2926, 43640, 62, 14171, 7, 25, 73, 43640, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 271, 62, 271, 4948, 1045, 62, 14171, 3419, 796, 314, 16980, 544, 13, 1136, 62, 14421, 62, 2926, 43640, 62, 4666, 12453, 3419, 6624, 1058, 37047, 1045, 198, 220, 220, 220, 220, 220, 220, 220, 220, 886, 8, 198, 220, 220, 220, 1441, 2147, 198, 437, 198, 198, 8818, 5659, 1045, 62, 18982, 62, 22915, 7, 1069, 8, 198, 220, 220, 220, 611, 15845, 1045, 13, 271, 4948, 1045, 62, 21672, 62, 14171, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 611, 15845, 1045, 13, 3500, 62, 2926, 43640, 62, 22915, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 1069, 796, 15845, 1045, 13, 36802, 1050, 7, 25, 49568, 8479, 11, 409, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 965, 796, 15845, 1045, 13, 37047, 1045, 62, 31937, 62, 1462, 62, 21672, 62, 8841, 7, 3605, 1069, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15845, 1045, 13, 3666, 14772, 49568, 10100, 7203, 59, 3, 59, 3, 366, 1635, 965, 1635, 220, 366, 3467, 3, 59, 3, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4929, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 40539, 7203, 3118, 540, 284, 5794, 5408, 287, 6550, 23380, 15582, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15845, 1045, 13, 3500, 62, 2926, 43640, 62, 22915, 3419, 5633, 15845, 1045, 13, 17660, 87, 62, 13812, 7, 43094, 1045, 13, 37150, 448, 7, 1069, 4008, 1058, 15845, 1045, 13, 37150, 448, 7, 1069, 8, 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, 1303, 15845, 1045, 13940, 41641, 13, 44, 2611, 7975, 10100, 7, 37047, 1045, 62, 31937, 62, 1462, 62, 21672, 62, 8841, 7, 1069, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 15845, 1045, 13, 3500, 62, 2926, 43640, 62, 22915, 3419, 5633, 15845, 1045, 13, 17660, 87, 62, 13812, 7, 43094, 1045, 13, 37150, 448, 7, 1069, 4008, 1058, 15845, 1045, 13, 37150, 448, 7, 1069, 8, 198, 220, 220, 220, 886, 198, 437, 198 ]
2.209178
1,874
using TcpInstruments using Test m = initialize(KeysightDMM34465A) V = get_voltage(m) @info get_voltage V @test V isa Float64 A = get_current(m) @info get_current A @test A isa Float64 Ω = get_resistance(m; wire=2) @info "get_resistance(; wire=2)" Ω @test Ω isa Float64 Ω = get_resistance(m; wire=4) @info "get_resistance(; wire=4)" Ω @test Ω isa Float64 channel = get_channel(m) @info get_channel channel @test channel in ["FRON", "REAR"] @info "°" get_tc_temperature(m) get_temp_unit(m) set_temp_unit_kelvin(m) @info get_tc_temperature(m) get_temp_unit(m) # set_tc_type(m; type="K") set_temp_unit_farenheit(m) @info get_tc_temperature(m) get_temp_unit(m) set_temp_unit_celsius(m) @info get_tc_temperature(m) get_temp_unit(m) terminate(m)
[ 3500, 309, 13155, 818, 2536, 2886, 198, 3500, 6208, 198, 198, 76, 796, 41216, 7, 40729, 432, 35, 12038, 33535, 2996, 32, 8, 198, 198, 53, 796, 651, 62, 37764, 496, 7, 76, 8, 198, 31, 10951, 651, 62, 37764, 496, 569, 198, 31, 9288, 569, 318, 64, 48436, 2414, 198, 198, 32, 796, 651, 62, 14421, 7, 76, 8, 198, 31, 10951, 651, 62, 14421, 317, 198, 31, 9288, 317, 318, 64, 48436, 2414, 198, 198, 158, 226, 99, 796, 651, 62, 411, 9311, 7, 76, 26, 6503, 28, 17, 8, 198, 31, 10951, 366, 1136, 62, 411, 9311, 7, 26, 6503, 28, 17, 16725, 2343, 226, 99, 198, 31, 9288, 2343, 226, 99, 318, 64, 48436, 2414, 198, 198, 158, 226, 99, 796, 651, 62, 411, 9311, 7, 76, 26, 6503, 28, 19, 8, 198, 31, 10951, 366, 1136, 62, 411, 9311, 7, 26, 6503, 28, 19, 16725, 2343, 226, 99, 198, 31, 9288, 2343, 226, 99, 318, 64, 48436, 2414, 198, 198, 17620, 796, 651, 62, 17620, 7, 76, 8, 198, 31, 10951, 651, 62, 17620, 6518, 198, 31, 9288, 6518, 287, 14631, 10913, 1340, 1600, 366, 2200, 1503, 8973, 198, 198, 31, 10951, 366, 7200, 1, 651, 62, 23047, 62, 11498, 21069, 7, 76, 8, 651, 62, 29510, 62, 20850, 7, 76, 8, 198, 198, 2617, 62, 29510, 62, 20850, 62, 365, 6780, 259, 7, 76, 8, 198, 198, 31, 10951, 651, 62, 23047, 62, 11498, 21069, 7, 76, 8, 651, 62, 29510, 62, 20850, 7, 76, 8, 198, 198, 2, 900, 62, 23047, 62, 4906, 7, 76, 26, 2099, 2625, 42, 4943, 198, 198, 2617, 62, 29510, 62, 20850, 62, 69, 5757, 29361, 7, 76, 8, 198, 198, 31, 10951, 651, 62, 23047, 62, 11498, 21069, 7, 76, 8, 651, 62, 29510, 62, 20850, 7, 76, 8, 198, 198, 2617, 62, 29510, 62, 20850, 62, 5276, 82, 3754, 7, 76, 8, 198, 198, 31, 10951, 651, 62, 23047, 62, 11498, 21069, 7, 76, 8, 651, 62, 29510, 62, 20850, 7, 76, 8, 198, 198, 23705, 378, 7, 76, 8, 198 ]
2.185507
345
export Lens, set, get, modify export @lens export set, get, modify export setproperties import Base: get using Base: setindex, getproperty """ Lens A `Lens` allows to access or replace deeply nested parts of complicated objects. # Example ```jldoctest julia> using Setfield julia> struct T;a;b; end julia> obj = T("AA", "BB") T("AA", "BB") julia> lens = @lens _.a (@lens _.a) julia> get(obj, lens) "AA" julia> set(obj, lens, 2) T(2, "BB") julia> obj T("AA", "BB") julia> modify(lowercase, obj, lens) T("aa", "BB") ``` # Interface Concrete subtypes of `Lens` have to implement * `set(obj, lens, val)` * `get(obj, lens)` These must be pure functions, that satisfy the three lens laws: ```jldoctest; output = false, setup = :(using Setfield; obj = (a="A", b="B"); lens = @lens _.a; val = 2; val1 = 10; val2 = 20) @assert get(set(obj, lens, val), lens) == val # You get what you set. @assert set(obj, lens, get(obj, lens)) == obj # Setting what was already there changes nothing. @assert set(set(obj, lens, val1), lens, val2) == set(obj, lens, val2) # The last set wins. # output ``` See also [`@lens`](@ref), [`set`](@ref), [`get`](@ref), [`modify`](@ref). """ abstract type Lens end """ modify(f, obj, l::Lens) Replace a deeply nested part `x` of `obj` by `f(x)`. See also [`Lens`](@ref). """ function modify end """ get(obj, l::Lens) Access a deeply nested part of `obj`. See also [`Lens`](@ref). """ function get end """ set(obj, l::Lens, val) Replace a deeply nested part of `obj` by `val`. See also [`Lens`](@ref). """ function set end @inline function modify(f, obj, l::Lens) old_val = get(obj, l) new_val = f(old_val) set(obj, l, new_val) end struct IdentityLens <: Lens end get(obj, ::IdentityLens) = obj set(obj, ::IdentityLens, val) = val struct PropertyLens{fieldname} <: Lens end function get(obj, l::PropertyLens{field}) where {field} getproperty(obj, field) end @generated function set(obj, l::PropertyLens{field}, val) where {field} Expr(:block, Expr(:meta, :inline), :(setproperties(obj, ($field=val,))) ) end @generated constructor_of(::Type{T}) where T = getfield(parentmodule(T), nameof(T)) function assert_hasfields(T, fnames) for fname in fnames if !(fname in fieldnames(T)) msg = "$T has no field $fname" throw(ArgumentError(msg)) end end end """ setproperties(obj, patch) Return a copy of `obj` with attributes updates accoring to `patch`. # Examples ```jldoctest julia> using Setfield julia> struct S;a;b;c; end julia> s = S(1,2,3) S(1, 2, 3) julia> setproperties(s, (a=10,c=4)) S(10, 2, 4) julia> setproperties((a=1,c=2,b=3), (a=10,c=4)) (a = 10, c = 4, b = 3) ``` """ function setproperties end @generated function setproperties(obj, patch) assert_hasfields(obj, fieldnames(patch)) args = map(fieldnames(obj)) do fn if fn in fieldnames(patch) :(patch.$fn) else :(obj.$fn) end end Expr(:block, Expr(:meta, :inline), Expr(:call,:(constructor_of($obj)), args...) ) end @generated function setproperties(obj::NamedTuple, patch) # this function is only generated to force the following check # at compile time assert_hasfields(obj, fieldnames(patch)) Expr(:block, Expr(:meta, :inline), :(merge(obj, patch)) ) end struct ComposedLens{LO, LI} <: Lens outer::LO inner::LI end compose() = IdentityLens() compose(l::Lens) = l compose(::IdentityLens, ::IdentityLens) = IdentityLens() compose(::IdentityLens, l::Lens) = l compose(l::Lens, ::IdentityLens) = l compose(outer::Lens, inner::Lens) = ComposedLens(outer, inner) function compose(l1::Lens, ls::Lens...) # We can build _.a.b.c as (_.a.b).c or _.a.(b.c) # The compiler prefers (_.a.b).c compose(l1, compose(ls...)) end """ lens₁ ∘ lens₂ compose([lens₁, [lens₂, [lens₃, ...]]]) Compose lenses `lens₁`, `lens₂`, ..., `lensₙ` to access nested objects. # Example ```jldoctest julia> using Setfield julia> obj = (a = (b = (c = 1,),),); julia> la = @lens _.a lb = @lens _.b lc = @lens _.c lens = la ∘ lb ∘ lc (@lens _.a.b.c) julia> get(obj, lens) 1 ``` """ Base.:∘(l1::Lens, l2::Lens) = compose(l1, l2) function get(obj, l::ComposedLens) inner_obj = get(obj, l.outer) get(inner_obj, l.inner) end function set(obj,l::ComposedLens, val) inner_obj = get(obj, l.outer) inner_val = set(inner_obj, l.inner, val) set(obj, l.outer, inner_val) end struct IndexLens{I <: Tuple} <: Lens indices::I end Base.@propagate_inbounds function get(obj, l::IndexLens) getindex(obj, l.indices...) end Base.@propagate_inbounds function set(obj, l::IndexLens, val) setindex(obj, val, l.indices...) end """ ConstIndexLens{I} Lens with index stored in type parameter. This is useful for type-stable [`get`](@ref) and [`set`](@ref) operations on tuples and named tuples. This lens can be constructed by, e.g., `@lens _[\$1]`. Complex expression must be wrapped with `\$(...)` like `@lens _[\$(length(xs))]`. # Examples ```jldoctest julia> using Setfield julia> get((1, 2.0), @lens _[\$1]) 1 julia> Base.promote_op(get, typeof.(((1, 2.0), @lens _[\$1]))...) Int64 julia> Base.promote_op(get, typeof.(((1, 2.0), @lens _[1]))...) !== Int true ``` """ struct ConstIndexLens{I} <: Lens end Base.@propagate_inbounds get(obj, ::ConstIndexLens{I}) where I = obj[I...] Base.@propagate_inbounds set(obj, ::ConstIndexLens{I}, val) where I = setindex(obj, val, I...) @generated function set(obj::Union{Tuple, NamedTuple}, ::ConstIndexLens{I}, val) where I if length(I) == 1 n, = I args = map(1:length(obj.types)) do i i == n ? :val : :(obj[$i]) end quote $(Expr(:meta, :inline)) ($(args...),) end else quote throw(ArgumentError($(string( "A `Tuple` and `NamedTuple` can only be indexed with one ", "integer. Given: $I")))) end end end Base.@deprecate get(lens::Lens, obj) get(obj, lens) Base.@deprecate set(lens::Lens, obj, val) set(obj, lens, val) Base.@deprecate modify(f, lens::Lens, obj) modify(f, obj, lens)
[ 39344, 30092, 11, 900, 11, 651, 11, 13096, 198, 39344, 2488, 75, 641, 198, 39344, 900, 11, 651, 11, 13096, 198, 39344, 900, 48310, 198, 198, 11748, 7308, 25, 651, 198, 3500, 7308, 25, 900, 9630, 11, 651, 26745, 198, 198, 37811, 198, 220, 220, 220, 30092, 198, 198, 32, 4600, 49479, 63, 3578, 284, 1895, 393, 6330, 7744, 28376, 3354, 286, 8253, 5563, 13, 198, 198, 2, 17934, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 1262, 5345, 3245, 198, 198, 73, 43640, 29, 2878, 309, 26, 64, 26, 65, 26, 886, 198, 198, 73, 43640, 29, 26181, 796, 309, 7203, 3838, 1600, 366, 15199, 4943, 198, 51, 7203, 3838, 1600, 366, 15199, 4943, 198, 198, 73, 43640, 29, 10317, 796, 2488, 75, 641, 4808, 13, 64, 198, 7, 31, 75, 641, 4808, 13, 64, 8, 198, 198, 73, 43640, 29, 651, 7, 26801, 11, 10317, 8, 198, 1, 3838, 1, 198, 198, 73, 43640, 29, 900, 7, 26801, 11, 10317, 11, 362, 8, 198, 51, 7, 17, 11, 366, 15199, 4943, 198, 198, 73, 43640, 29, 26181, 198, 51, 7203, 3838, 1600, 366, 15199, 4943, 198, 198, 73, 43640, 29, 13096, 7, 21037, 7442, 11, 26181, 11, 10317, 8, 198, 51, 7203, 7252, 1600, 366, 15199, 4943, 198, 15506, 63, 198, 198, 2, 26491, 198, 3103, 38669, 850, 19199, 286, 4600, 49479, 63, 423, 284, 3494, 198, 9, 4600, 2617, 7, 26801, 11, 10317, 11, 1188, 8, 63, 198, 9, 4600, 1136, 7, 26801, 11, 10317, 8, 63, 198, 198, 4711, 1276, 307, 5899, 5499, 11, 326, 15959, 262, 1115, 10317, 3657, 25, 198, 198, 15506, 63, 73, 335, 38441, 395, 26, 5072, 796, 3991, 11, 9058, 796, 36147, 3500, 5345, 3245, 26, 26181, 796, 357, 64, 2625, 32, 1600, 275, 2625, 33, 15341, 10317, 796, 2488, 75, 641, 4808, 13, 64, 26, 1188, 796, 362, 26, 1188, 16, 796, 838, 26, 1188, 17, 796, 1160, 8, 198, 31, 30493, 651, 7, 2617, 7, 26801, 11, 10317, 11, 1188, 828, 10317, 8, 6624, 1188, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 921, 651, 644, 345, 900, 13, 198, 31, 30493, 900, 7, 26801, 11, 10317, 11, 651, 7, 26801, 11, 10317, 4008, 6624, 26181, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 25700, 644, 373, 1541, 612, 2458, 2147, 13, 198, 31, 30493, 900, 7, 2617, 7, 26801, 11, 10317, 11, 1188, 16, 828, 10317, 11, 1188, 17, 8, 6624, 900, 7, 26801, 11, 10317, 11, 1188, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 938, 900, 7864, 13, 198, 198, 2, 5072, 198, 198, 15506, 63, 198, 198, 6214, 635, 685, 63, 31, 75, 641, 63, 16151, 31, 5420, 828, 685, 63, 2617, 63, 16151, 31, 5420, 828, 685, 63, 1136, 63, 16151, 31, 5420, 828, 685, 63, 4666, 1958, 63, 16151, 31, 5420, 737, 198, 37811, 198, 397, 8709, 2099, 30092, 886, 198, 198, 37811, 198, 220, 220, 220, 13096, 7, 69, 11, 26181, 11, 300, 3712, 49479, 8, 198, 198, 3041, 5372, 257, 7744, 28376, 636, 4600, 87, 63, 286, 4600, 26801, 63, 416, 4600, 69, 7, 87, 8, 44646, 4091, 635, 685, 63, 49479, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 13096, 886, 628, 198, 37811, 198, 220, 220, 220, 651, 7, 26801, 11, 300, 3712, 49479, 8, 198, 198, 15457, 257, 7744, 28376, 636, 286, 4600, 26801, 44646, 4091, 635, 685, 63, 49479, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 651, 886, 198, 198, 37811, 198, 220, 220, 220, 900, 7, 26801, 11, 300, 3712, 49479, 11, 1188, 8, 198, 198, 3041, 5372, 257, 7744, 28376, 636, 286, 4600, 26801, 63, 416, 4600, 2100, 44646, 4091, 635, 685, 63, 49479, 63, 16151, 31, 5420, 737, 198, 37811, 198, 8818, 900, 886, 198, 198, 31, 45145, 2163, 13096, 7, 69, 11, 26181, 11, 300, 3712, 49479, 8, 198, 220, 220, 220, 1468, 62, 2100, 796, 651, 7, 26801, 11, 300, 8, 198, 220, 220, 220, 649, 62, 2100, 796, 277, 7, 727, 62, 2100, 8, 198, 220, 220, 220, 900, 7, 26801, 11, 300, 11, 649, 62, 2100, 8, 198, 437, 198, 198, 7249, 27207, 49479, 1279, 25, 30092, 886, 198, 1136, 7, 26801, 11, 7904, 7390, 26858, 49479, 8, 796, 26181, 198, 2617, 7, 26801, 11, 7904, 7390, 26858, 49479, 11, 1188, 8, 796, 1188, 198, 198, 7249, 14161, 49479, 90, 3245, 3672, 92, 1279, 25, 30092, 886, 198, 198, 8818, 651, 7, 26801, 11, 300, 3712, 21746, 49479, 90, 3245, 30072, 810, 1391, 3245, 92, 198, 220, 220, 220, 651, 26745, 7, 26801, 11, 2214, 8, 198, 437, 198, 198, 31, 27568, 2163, 900, 7, 26801, 11, 300, 3712, 21746, 49479, 90, 3245, 5512, 1188, 8, 810, 1391, 3245, 92, 198, 220, 220, 220, 1475, 1050, 7, 25, 9967, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 1475, 1050, 7, 25, 28961, 11, 1058, 45145, 828, 198, 220, 220, 220, 220, 220, 220, 220, 36147, 2617, 48310, 7, 26801, 11, 7198, 3245, 28, 2100, 11, 22305, 198, 220, 220, 220, 220, 220, 220, 1267, 198, 437, 198, 198, 31, 27568, 23772, 62, 1659, 7, 3712, 6030, 90, 51, 30072, 810, 309, 796, 198, 220, 220, 220, 651, 3245, 7, 8000, 21412, 7, 51, 828, 1438, 1659, 7, 51, 4008, 198, 198, 8818, 6818, 62, 10134, 25747, 7, 51, 11, 277, 14933, 8, 198, 220, 220, 220, 329, 277, 3672, 287, 277, 14933, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 7, 69, 3672, 287, 2214, 14933, 7, 51, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 796, 17971, 51, 468, 645, 2214, 720, 69, 3672, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 28100, 1713, 12331, 7, 19662, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 900, 48310, 7, 26801, 11, 8529, 8, 198, 198, 13615, 257, 4866, 286, 4600, 26801, 63, 351, 12608, 5992, 697, 3255, 284, 4600, 17147, 44646, 198, 198, 2, 21066, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 1262, 5345, 3245, 198, 198, 73, 43640, 29, 2878, 311, 26, 64, 26, 65, 26, 66, 26, 886, 198, 198, 73, 43640, 29, 264, 796, 311, 7, 16, 11, 17, 11, 18, 8, 198, 50, 7, 16, 11, 362, 11, 513, 8, 198, 198, 73, 43640, 29, 900, 48310, 7, 82, 11, 357, 64, 28, 940, 11, 66, 28, 19, 4008, 198, 50, 7, 940, 11, 362, 11, 604, 8, 198, 198, 73, 43640, 29, 900, 48310, 19510, 64, 28, 16, 11, 66, 28, 17, 11, 65, 28, 18, 828, 357, 64, 28, 940, 11, 66, 28, 19, 4008, 198, 7, 64, 796, 838, 11, 269, 796, 604, 11, 275, 796, 513, 8, 198, 15506, 63, 198, 37811, 198, 8818, 900, 48310, 886, 198, 198, 31, 27568, 2163, 900, 48310, 7, 26801, 11, 8529, 8, 198, 220, 220, 220, 6818, 62, 10134, 25747, 7, 26801, 11, 2214, 14933, 7, 17147, 4008, 198, 220, 220, 220, 26498, 796, 3975, 7, 3245, 14933, 7, 26801, 4008, 466, 24714, 198, 220, 220, 220, 220, 220, 220, 220, 611, 24714, 287, 2214, 14933, 7, 17147, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36147, 17147, 48082, 22184, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36147, 26801, 48082, 22184, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1475, 1050, 7, 25, 9967, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1475, 1050, 7, 25, 28961, 11, 1058, 45145, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1475, 1050, 7, 25, 13345, 11, 37498, 41571, 273, 62, 1659, 16763, 26801, 36911, 26498, 23029, 198, 220, 220, 220, 1267, 198, 437, 198, 198, 31, 27568, 2163, 900, 48310, 7, 26801, 3712, 45, 2434, 51, 29291, 11, 8529, 8, 198, 220, 220, 220, 1303, 428, 2163, 318, 691, 7560, 284, 2700, 262, 1708, 2198, 198, 220, 220, 220, 1303, 379, 17632, 640, 198, 220, 220, 220, 6818, 62, 10134, 25747, 7, 26801, 11, 2214, 14933, 7, 17147, 4008, 198, 220, 220, 220, 1475, 1050, 7, 25, 9967, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1475, 1050, 7, 25, 28961, 11, 1058, 45145, 828, 198, 220, 220, 220, 220, 220, 220, 220, 36147, 647, 469, 7, 26801, 11, 8529, 4008, 198, 220, 220, 220, 1267, 198, 437, 198, 198, 7249, 3082, 1335, 49479, 90, 21982, 11, 24653, 92, 1279, 25, 30092, 198, 220, 220, 220, 12076, 3712, 21982, 198, 220, 220, 220, 8434, 3712, 31271, 198, 437, 198, 198, 785, 3455, 3419, 796, 27207, 49479, 3419, 198, 785, 3455, 7, 75, 3712, 49479, 8, 796, 300, 198, 785, 3455, 7, 3712, 7390, 26858, 49479, 11, 7904, 7390, 26858, 49479, 8, 796, 27207, 49479, 3419, 198, 785, 3455, 7, 3712, 7390, 26858, 49479, 11, 300, 3712, 49479, 8, 796, 300, 198, 785, 3455, 7, 75, 3712, 49479, 11, 7904, 7390, 26858, 49479, 8, 796, 300, 198, 785, 3455, 7, 39605, 3712, 49479, 11, 8434, 3712, 49479, 8, 796, 3082, 1335, 49479, 7, 39605, 11, 8434, 8, 198, 8818, 36664, 7, 75, 16, 3712, 49479, 11, 43979, 3712, 49479, 23029, 198, 220, 220, 220, 1303, 775, 460, 1382, 4808, 13, 64, 13, 65, 13, 66, 355, 44104, 13, 64, 13, 65, 737, 66, 393, 4808, 13, 64, 12195, 65, 13, 66, 8, 198, 220, 220, 220, 1303, 383, 17050, 26237, 44104, 13, 64, 13, 65, 737, 66, 198, 220, 220, 220, 36664, 7, 75, 16, 11, 36664, 7, 7278, 986, 4008, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 10317, 158, 224, 223, 18872, 246, 10317, 158, 224, 224, 198, 220, 220, 220, 36664, 26933, 75, 641, 158, 224, 223, 11, 685, 75, 641, 158, 224, 224, 11, 685, 75, 641, 158, 224, 225, 11, 2644, 11907, 12962, 198, 198, 7293, 577, 18405, 4600, 75, 641, 158, 224, 223, 47671, 4600, 75, 641, 158, 224, 224, 47671, 2644, 11, 4600, 75, 641, 158, 224, 247, 63, 284, 1895, 28376, 5563, 13, 198, 198, 2, 17934, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 1262, 5345, 3245, 198, 198, 73, 43640, 29, 26181, 796, 357, 64, 796, 357, 65, 796, 357, 66, 796, 352, 11, 828, 828, 1776, 198, 198, 73, 43640, 29, 8591, 796, 2488, 75, 641, 4808, 13, 64, 198, 220, 220, 220, 220, 220, 220, 18360, 796, 2488, 75, 641, 4808, 13, 65, 198, 220, 220, 220, 220, 220, 220, 300, 66, 796, 2488, 75, 641, 4808, 13, 66, 198, 220, 220, 220, 220, 220, 220, 10317, 796, 8591, 18872, 246, 18360, 18872, 246, 300, 66, 198, 7, 31, 75, 641, 4808, 13, 64, 13, 65, 13, 66, 8, 198, 198, 73, 43640, 29, 651, 7, 26801, 11, 10317, 8, 198, 16, 198, 15506, 63, 198, 37811, 198, 14881, 11207, 24861, 246, 7, 75, 16, 3712, 49479, 11, 300, 17, 3712, 49479, 8, 796, 36664, 7, 75, 16, 11, 300, 17, 8, 198, 198, 8818, 651, 7, 26801, 11, 300, 3712, 7293, 1335, 49479, 8, 198, 220, 220, 220, 8434, 62, 26801, 796, 651, 7, 26801, 11, 300, 13, 39605, 8, 198, 220, 220, 220, 651, 7, 5083, 62, 26801, 11, 300, 13, 5083, 8, 198, 437, 198, 198, 8818, 900, 7, 26801, 11, 75, 3712, 7293, 1335, 49479, 11, 1188, 8, 198, 220, 220, 220, 8434, 62, 26801, 796, 651, 7, 26801, 11, 300, 13, 39605, 8, 198, 220, 220, 220, 8434, 62, 2100, 796, 900, 7, 5083, 62, 26801, 11, 300, 13, 5083, 11, 1188, 8, 198, 220, 220, 220, 900, 7, 26801, 11, 300, 13, 39605, 11, 8434, 62, 2100, 8, 198, 437, 198, 198, 7249, 12901, 49479, 90, 40, 1279, 25, 309, 29291, 92, 1279, 25, 30092, 198, 220, 220, 220, 36525, 3712, 40, 198, 437, 198, 198, 14881, 13, 31, 22930, 37861, 62, 259, 65, 3733, 2163, 651, 7, 26801, 11, 300, 3712, 15732, 49479, 8, 198, 220, 220, 220, 651, 9630, 7, 26801, 11, 300, 13, 521, 1063, 23029, 198, 437, 198, 14881, 13, 31, 22930, 37861, 62, 259, 65, 3733, 2163, 900, 7, 26801, 11, 300, 3712, 15732, 49479, 11, 1188, 8, 198, 220, 220, 220, 900, 9630, 7, 26801, 11, 1188, 11, 300, 13, 521, 1063, 23029, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 4757, 15732, 49479, 90, 40, 92, 198, 198, 49479, 351, 6376, 8574, 287, 2099, 11507, 13, 220, 770, 318, 4465, 329, 2099, 12, 31284, 198, 58, 63, 1136, 63, 16151, 31, 5420, 8, 290, 685, 63, 2617, 63, 16151, 31, 5420, 8, 4560, 319, 12777, 2374, 290, 3706, 12777, 2374, 13, 198, 198, 1212, 10317, 460, 307, 12006, 416, 11, 304, 13, 70, 1539, 4600, 31, 75, 641, 4808, 58, 59, 3, 16, 60, 44646, 220, 19157, 5408, 198, 27238, 307, 12908, 351, 4600, 59, 3, 7, 23029, 63, 588, 4600, 31, 75, 641, 4808, 58, 59, 3, 7, 13664, 7, 34223, 4008, 60, 44646, 198, 198, 2, 21066, 198, 15506, 63, 73, 335, 38441, 395, 198, 73, 43640, 29, 1262, 5345, 3245, 198, 198, 73, 43640, 29, 651, 19510, 16, 11, 362, 13, 15, 828, 2488, 75, 641, 4808, 58, 59, 3, 16, 12962, 198, 16, 198, 198, 73, 43640, 29, 7308, 13, 16963, 1258, 62, 404, 7, 1136, 11, 2099, 1659, 12195, 19510, 16, 11, 362, 13, 15, 828, 2488, 75, 641, 4808, 58, 59, 3, 16, 60, 4008, 23029, 198, 5317, 2414, 198, 198, 73, 43640, 29, 7308, 13, 16963, 1258, 62, 404, 7, 1136, 11, 2099, 1659, 12195, 19510, 16, 11, 362, 13, 15, 828, 2488, 75, 641, 4808, 58, 16, 60, 4008, 23029, 5145, 855, 2558, 198, 7942, 198, 15506, 63, 198, 37811, 198, 7249, 4757, 15732, 49479, 90, 40, 92, 1279, 25, 30092, 886, 198, 198, 14881, 13, 31, 22930, 37861, 62, 259, 65, 3733, 651, 7, 26801, 11, 7904, 34184, 15732, 49479, 90, 40, 30072, 810, 314, 796, 26181, 58, 40, 22345, 198, 198, 14881, 13, 31, 22930, 37861, 62, 259, 65, 3733, 900, 7, 26801, 11, 7904, 34184, 15732, 49479, 90, 40, 5512, 1188, 8, 810, 314, 796, 198, 220, 220, 220, 900, 9630, 7, 26801, 11, 1188, 11, 314, 23029, 198, 198, 31, 27568, 2163, 900, 7, 26801, 3712, 38176, 90, 51, 29291, 11, 34441, 51, 29291, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7904, 34184, 15732, 49479, 90, 40, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1188, 8, 810, 314, 198, 220, 220, 220, 611, 4129, 7, 40, 8, 6624, 352, 198, 220, 220, 220, 220, 220, 220, 220, 299, 11, 796, 314, 198, 220, 220, 220, 220, 220, 220, 220, 26498, 796, 3975, 7, 16, 25, 13664, 7, 26801, 13, 19199, 4008, 466, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 6624, 299, 5633, 1058, 2100, 1058, 36147, 26801, 58, 3, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 9577, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29568, 3109, 1050, 7, 25, 28961, 11, 1058, 45145, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7198, 7, 22046, 986, 828, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 9577, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 28100, 1713, 12331, 16763, 7, 8841, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 32, 4600, 51, 29291, 63, 290, 4600, 45, 2434, 51, 29291, 63, 460, 691, 307, 41497, 351, 530, 33172, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 41433, 13, 220, 11259, 25, 720, 40, 1, 35514, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437, 198, 198, 14881, 13, 31, 10378, 8344, 378, 651, 7, 75, 641, 3712, 49479, 11, 26181, 8, 220, 220, 220, 220, 220, 220, 651, 7, 26801, 11, 10317, 8, 198, 14881, 13, 31, 10378, 8344, 378, 900, 7, 75, 641, 3712, 49479, 11, 26181, 11, 1188, 8, 220, 900, 7, 26801, 11, 10317, 11, 1188, 8, 198, 14881, 13, 31, 10378, 8344, 378, 13096, 7, 69, 11, 10317, 3712, 49479, 11, 26181, 8, 13096, 7, 69, 11, 26181, 11, 10317, 8, 198 ]
2.267214
2,803
# BED Reader # ========== mutable struct Reader <: BioCore.IO.AbstractReader state::BioCore.Ragel.State index::Union{GenomicFeatures.Indexes.Tabix,Nothing} function Reader(input::BufferedStreams.BufferedInputStream, index=nothing) return new(BioCore.Ragel.State(file_machine.start_state, input), index) end end """ BED.Reader(input::IO; index=nothing) BED.Reader(input::AbstractString; index=:auto) Create a data reader of the BED file format. The first argument specifies the data source. When it is a filepath that ends with *.bgz*, it is considered to be block compression file format (BGZF) and the function will try to find a tabix index file (<filename>.tbi) and read it if any. See <http://www.htslib.org/doc/tabix.html> for bgzip and tabix tools. Arguments --------- - `input`: data source - `index`: path to a tabix file """ function Reader(input::IO; index=nothing) if isa(index, AbstractString) index = GenomicFeatures.Indexes.Tabix(index) end return Reader(BufferedStreams.BufferedInputStream(input), index) end function Reader(filepath::AbstractString; index=:auto) if isa(index, Symbol) && index != :auto throw(ArgumentError("invalid index argument: ':$(index)'")) end if endswith(filepath, ".bgz") input = BGZFStreams.BGZFStream(filepath) if index == :auto index = GenomicFeatures.Indexes.findtabix(filepath) end else input = open(filepath) end return Reader(input, index=index) end function Base.eltype(::Type{Reader}) return Record end function BioCore.IO.stream(reader::Reader) return reader.state.stream end function GenomicFeatures.eachoverlap(reader::Reader, interval::GenomicFeatures.Interval) if reader.index === nothing throw(ArgumentError("index is null")) end return GenomicFeatures.Indexes.TabixOverlapIterator(reader, interval) end const record_machine, file_machine = (function () cat = Automa.RegExp.cat rep = Automa.RegExp.rep opt = Automa.RegExp.opt record = let chrom = re"[ -~]*" chrom.actions[:enter] = [:mark] chrom.actions[:exit] = [:record_chrom] chromstart = re"[0-9]+" chromstart.actions[:enter] = [:mark] chromstart.actions[:exit] = [:record_chromstart] chromend = re"[0-9]+" chromend.actions[:enter] = [:mark] chromend.actions[:exit] = [:record_chromend] name = re"[ -~]*" name.actions[:enter] = [:mark] name.actions[:exit] = [:record_name] score = re"[0-9]+" score.actions[:enter] = [:mark] score.actions[:exit] = [:record_score] strand = re"[+\-.?]" strand.actions[:enter] = [:record_strand] thickstart = re"[0-9]+" thickstart.actions[:enter] = [:mark] thickstart.actions[:exit] = [:record_thickstart] thickend = re"[0-9]+" thickend.actions[:enter] = [:mark] thickend.actions[:exit] = [:record_thickend] itemrgb = cat(re"[0-9]+", opt(cat(',', re"[0-9]+", ',', re"[0-9]+"))) itemrgb.actions[:enter] = [:mark] itemrgb.actions[:exit] = [:record_itemrgb] blockcount = re"[0-9]+" blockcount.actions[:enter] = [:mark] blockcount.actions[:exit] = [:record_blockcount] # comma-separated values csv(x) = cat(rep(cat(x, ',')), opt(x)) blocksizes = let blocksize = re"[0-9]+" blocksize.actions[:enter] = [:mark] blocksize.actions[:exit] = [:record_blocksizes_blocksize] csv(blocksize) end blocksizes.actions[:exit] = [:record_blocksizes] blockstarts = let blockstart = re"[0-9]+" blockstart.actions[:enter] = [:mark] blockstart.actions[:exit] = [:record_blockstarts_blockstart] csv(blockstart) end blockstarts.actions[:exit] = [:record_blockstarts] cat( chrom, '\t', chromstart, '\t', chromend, opt(cat('\t', name, opt(cat('\t', score, opt(cat('\t', strand, opt(cat('\t', thickstart, opt(cat('\t', thickend, opt(cat('\t', itemrgb, opt(cat('\t', blockcount, opt(cat('\t', blocksizes, opt(cat('\t', blockstarts))))))))))))))))))) end record.actions[:enter] = [:anchor] record.actions[:exit] = [:record] newline = let lf = re"\n" lf.actions[:enter] = [:countline] cat(opt('\r'), lf) end file = rep(cat(record, newline)) return map(Automa.compile, (record, file)) end)() #= write("bed.dot", Automa.machine2dot(file_machine)) run(`dot -Tsvg -o bed.svg bed.dot`) =# const record_actions = Dict( :record_chrom => :(record.chrom = (mark:p-1) .- offset; record.ncols += 1), :record_chromstart => :(record.chromstart = (mark:p-1) .- offset; record.ncols += 1), :record_chromend => :(record.chromend = (mark:p-1) .- offset; record.ncols += 1), :record_name => :(record.name = (mark:p-1) .- offset; record.ncols += 1), :record_score => :(record.score = (mark:p-1) .- offset; record.ncols += 1), :record_strand => :(record.strand = p - offset; record.ncols += 1), :record_thickstart => :(record.thickstart = (mark:p-1) .- offset; record.ncols += 1), :record_thickend => :(record.thickend = (mark:p-1) .- offset; record.ncols += 1), :record_itemrgb => :(record.itemrgb = (mark:p-1) .- offset; record.ncols += 1), :record_blockcount => :(record.blockcount = (mark:p-1) .- offset; record.ncols += 1), :record_blocksizes_blocksize => :(push!(record.blocksizes, (mark:p-1) .- offset)), :record_blocksizes => :(record.ncols += 1), :record_blockstarts_blockstart => :(push!(record.blockstarts, (mark:p-1) .- offset)), :record_blockstarts => :(record.ncols += 1), :record => :(record.filled = 1:p-1), :countline => :(), :mark => :(mark = p), :anchor => :()) eval( BioCore.ReaderHelper.generate_index_function( Record, record_machine, :(offset = mark = 0), record_actions)) eval( BioCore.ReaderHelper.generate_read_function( Reader, file_machine, :(offset = mark = 0), merge(record_actions, Dict( :record => quote BioCore.ReaderHelper.resize_and_copy!(record.data, data, BioCore.ReaderHelper.upanchor!(stream):p-1) record.filled = (offset+1:p-1) .- offset found_record = true @escape end, :countline => :(linenum += 1), :anchor => :(BioCore.ReaderHelper.anchor!(stream, p); offset = p - 1)))))
[ 2, 347, 1961, 25342, 198, 2, 796, 2559, 28, 198, 198, 76, 18187, 2878, 25342, 1279, 25, 16024, 14055, 13, 9399, 13, 23839, 33634, 198, 220, 220, 220, 1181, 3712, 42787, 14055, 13, 49, 363, 417, 13, 9012, 198, 220, 220, 220, 6376, 3712, 38176, 90, 13746, 10179, 23595, 13, 15732, 274, 13, 33349, 844, 11, 18465, 92, 628, 220, 220, 220, 2163, 25342, 7, 15414, 3712, 36474, 1068, 12124, 82, 13, 36474, 1068, 20560, 12124, 11, 6376, 28, 22366, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 649, 7, 42787, 14055, 13, 49, 363, 417, 13, 9012, 7, 7753, 62, 30243, 13, 9688, 62, 5219, 11, 5128, 828, 6376, 8, 198, 220, 220, 220, 886, 198, 437, 198, 198, 37811, 198, 220, 220, 220, 347, 1961, 13, 33634, 7, 15414, 3712, 9399, 26, 6376, 28, 22366, 8, 198, 220, 220, 220, 347, 1961, 13, 33634, 7, 15414, 3712, 23839, 10100, 26, 6376, 28, 25, 23736, 8, 198, 198, 16447, 257, 1366, 9173, 286, 262, 347, 1961, 2393, 5794, 13, 198, 198, 464, 717, 4578, 26052, 262, 1366, 2723, 13, 1649, 340, 318, 257, 2393, 6978, 326, 5645, 198, 4480, 46866, 65, 34586, 25666, 340, 318, 3177, 284, 307, 2512, 19794, 2393, 5794, 357, 40469, 57, 37, 8, 290, 262, 198, 8818, 481, 1949, 284, 1064, 257, 7400, 844, 6376, 2393, 38155, 34345, 28401, 83, 8482, 8, 290, 1100, 340, 611, 198, 1092, 13, 4091, 1279, 4023, 1378, 2503, 13, 71, 912, 8019, 13, 2398, 14, 15390, 14, 8658, 844, 13, 6494, 29, 329, 275, 70, 13344, 290, 7400, 844, 4899, 13, 198, 198, 28100, 2886, 198, 45537, 198, 12, 4600, 15414, 63, 25, 1366, 2723, 198, 12, 4600, 9630, 63, 25, 3108, 284, 257, 7400, 844, 2393, 198, 37811, 198, 8818, 25342, 7, 15414, 3712, 9399, 26, 6376, 28, 22366, 8, 198, 220, 220, 220, 611, 318, 64, 7, 9630, 11, 27741, 10100, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6376, 796, 5215, 10179, 23595, 13, 15732, 274, 13, 33349, 844, 7, 9630, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 25342, 7, 36474, 1068, 12124, 82, 13, 36474, 1068, 20560, 12124, 7, 15414, 828, 6376, 8, 198, 437, 198, 198, 8818, 25342, 7, 7753, 6978, 3712, 23839, 10100, 26, 6376, 28, 25, 23736, 8, 198, 220, 220, 220, 611, 318, 64, 7, 9630, 11, 38357, 8, 11405, 6376, 14512, 1058, 23736, 198, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 28100, 1713, 12331, 7203, 259, 12102, 6376, 4578, 25, 705, 25, 3, 7, 9630, 8, 29653, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 611, 886, 2032, 342, 7, 7753, 6978, 11, 27071, 65, 34586, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 796, 34839, 57, 37, 12124, 82, 13, 40469, 57, 37, 12124, 7, 7753, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 6376, 6624, 1058, 23736, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6376, 796, 5215, 10179, 23595, 13, 15732, 274, 13, 19796, 8658, 844, 7, 7753, 6978, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 5128, 796, 1280, 7, 7753, 6978, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 25342, 7, 15414, 11, 6376, 28, 9630, 8, 198, 437, 198, 198, 8818, 7308, 13, 417, 4906, 7, 3712, 6030, 90, 33634, 30072, 198, 220, 220, 220, 1441, 13266, 198, 437, 198, 198, 8818, 16024, 14055, 13, 9399, 13, 5532, 7, 46862, 3712, 33634, 8, 198, 220, 220, 220, 1441, 9173, 13, 5219, 13, 5532, 198, 437, 198, 198, 8818, 5215, 10179, 23595, 13, 27379, 2502, 37796, 7, 46862, 3712, 33634, 11, 16654, 3712, 13746, 10179, 23595, 13, 9492, 2100, 8, 198, 220, 220, 220, 611, 9173, 13, 9630, 24844, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 3714, 7, 28100, 1713, 12331, 7203, 9630, 318, 9242, 48774, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1441, 5215, 10179, 23595, 13, 15732, 274, 13, 33349, 844, 5886, 37796, 37787, 7, 46862, 11, 16654, 8, 198, 437, 198, 198, 9979, 1700, 62, 30243, 11, 2393, 62, 30243, 796, 357, 8818, 7499, 198, 220, 220, 220, 3797, 796, 5231, 6086, 13, 8081, 16870, 13, 9246, 198, 220, 220, 220, 1128, 796, 5231, 6086, 13, 8081, 16870, 13, 7856, 198, 220, 220, 220, 2172, 796, 5231, 6086, 13, 8081, 16870, 13, 8738, 628, 220, 220, 220, 1700, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 796, 302, 17912, 532, 93, 60, 9, 1, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 28663, 60, 628, 220, 220, 220, 220, 220, 220, 220, 15358, 9688, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 9688, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 9688, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 28663, 9688, 60, 628, 220, 220, 220, 220, 220, 220, 220, 15358, 437, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 437, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 15358, 437, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 28663, 437, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 302, 17912, 532, 93, 60, 9, 1, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 3672, 60, 628, 220, 220, 220, 220, 220, 220, 220, 4776, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 4776, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 4776, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 26675, 60, 628, 220, 220, 220, 220, 220, 220, 220, 37923, 796, 302, 17912, 10, 59, 34507, 26398, 1, 198, 220, 220, 220, 220, 220, 220, 220, 37923, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 22105, 62, 2536, 392, 60, 628, 220, 220, 220, 220, 220, 220, 220, 6546, 9688, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 6546, 9688, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 6546, 9688, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 400, 624, 9688, 60, 628, 220, 220, 220, 220, 220, 220, 220, 6546, 437, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 6546, 437, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 6546, 437, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 400, 624, 437, 60, 628, 220, 220, 220, 220, 220, 220, 220, 2378, 81, 22296, 796, 3797, 7, 260, 17912, 15, 12, 24, 48688, 1600, 2172, 7, 9246, 7, 3256, 3256, 302, 17912, 15, 12, 24, 48688, 1600, 46083, 3256, 302, 17912, 15, 12, 24, 48688, 1, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 81, 22296, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 81, 22296, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 9186, 81, 22296, 60, 628, 220, 220, 220, 220, 220, 220, 220, 2512, 9127, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 9127, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 9127, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 9967, 9127, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 39650, 12, 25512, 515, 3815, 198, 220, 220, 220, 220, 220, 220, 220, 269, 21370, 7, 87, 8, 796, 3797, 7, 7856, 7, 9246, 7, 87, 11, 705, 4032, 36911, 2172, 7, 87, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 7021, 4340, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7021, 1096, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7021, 1096, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7021, 1096, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 27372, 4340, 62, 27372, 1096, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 21370, 7, 27372, 1096, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 7021, 4340, 13, 4658, 58, 25, 37023, 60, 796, 685, 25, 22105, 62, 27372, 4340, 60, 628, 220, 220, 220, 220, 220, 220, 220, 2512, 301, 5889, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 9688, 796, 302, 17912, 15, 12, 24, 48688, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 9688, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 4102, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2512, 9688, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 62, 9967, 301, 5889, 62, 9967, 9688, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 21370, 7, 9967, 9688, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 2512, 301, 5889, 13, 4658, 58, 25, 37023, 60, 796, 685, 25, 22105, 62, 9967, 301, 5889, 60, 628, 220, 220, 220, 220, 220, 220, 220, 3797, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15358, 11, 705, 59, 83, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15358, 9688, 11, 705, 59, 83, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15358, 437, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 1438, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 4776, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 37923, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 6546, 9688, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 6546, 437, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 2378, 81, 22296, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 2512, 9127, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 7021, 4340, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 7, 9246, 10786, 59, 83, 3256, 2512, 301, 5889, 35514, 35514, 35514, 35514, 22305, 198, 220, 220, 220, 886, 198, 220, 220, 220, 1700, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 3702, 273, 60, 198, 220, 220, 220, 1700, 13, 4658, 58, 25, 37023, 60, 220, 796, 685, 25, 22105, 60, 628, 220, 220, 220, 649, 1370, 796, 1309, 198, 220, 220, 220, 220, 220, 220, 220, 300, 69, 796, 302, 1, 59, 77, 1, 198, 220, 220, 220, 220, 220, 220, 220, 300, 69, 13, 4658, 58, 25, 9255, 60, 796, 685, 25, 9127, 1370, 60, 628, 220, 220, 220, 220, 220, 220, 220, 3797, 7, 8738, 10786, 59, 81, 33809, 300, 69, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2393, 796, 1128, 7, 9246, 7, 22105, 11, 649, 1370, 4008, 628, 220, 220, 220, 1441, 3975, 7, 16541, 6086, 13, 5589, 576, 11, 357, 22105, 11, 2393, 4008, 198, 437, 8, 3419, 198, 198, 2, 28, 198, 13564, 7203, 3077, 13, 26518, 1600, 5231, 6086, 13, 30243, 17, 26518, 7, 7753, 62, 30243, 4008, 198, 5143, 7, 63, 26518, 532, 51, 21370, 70, 532, 78, 3996, 13, 21370, 70, 3996, 13, 26518, 63, 8, 198, 46249, 198, 198, 9979, 1700, 62, 4658, 796, 360, 713, 7, 198, 220, 220, 220, 1058, 22105, 62, 28663, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 28663, 220, 220, 220, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 28663, 9688, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 28663, 9688, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 28663, 437, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 28663, 437, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 3672, 220, 220, 220, 220, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 26675, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 26675, 220, 220, 220, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 2536, 392, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 2536, 392, 220, 220, 220, 220, 796, 220, 220, 220, 220, 220, 220, 279, 220, 220, 220, 220, 532, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 400, 624, 9688, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 400, 624, 9688, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 400, 624, 437, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 400, 624, 437, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 9186, 81, 22296, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 9186, 81, 22296, 220, 220, 220, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 9967, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 9967, 9127, 796, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 26, 1700, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 27372, 4340, 62, 27372, 1096, 220, 220, 5218, 36147, 14689, 0, 7, 22105, 13, 27372, 4340, 11, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 36911, 198, 220, 220, 220, 1058, 22105, 62, 27372, 4340, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 62, 9967, 301, 5889, 62, 9967, 9688, 5218, 36147, 14689, 0, 7, 22105, 13, 9967, 301, 5889, 11, 357, 4102, 25, 79, 12, 16, 8, 764, 12, 11677, 36911, 198, 220, 220, 220, 1058, 22105, 62, 9967, 301, 5889, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5218, 36147, 22105, 13, 77, 4033, 82, 15853, 352, 828, 198, 220, 220, 220, 1058, 22105, 5218, 36147, 22105, 13, 20286, 796, 352, 25, 79, 12, 16, 828, 198, 220, 220, 220, 1058, 9127, 1370, 5218, 1058, 22784, 198, 220, 220, 220, 1058, 4102, 5218, 36147, 4102, 796, 279, 828, 198, 220, 220, 220, 1058, 3702, 273, 5218, 1058, 28955, 198, 18206, 7, 198, 220, 220, 220, 16024, 14055, 13, 33634, 47429, 13, 8612, 378, 62, 9630, 62, 8818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 13266, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 62, 30243, 11, 198, 220, 220, 220, 220, 220, 220, 220, 36147, 28968, 796, 1317, 796, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 62, 4658, 4008, 198, 18206, 7, 198, 220, 220, 220, 16024, 14055, 13, 33634, 47429, 13, 8612, 378, 62, 961, 62, 8818, 7, 198, 220, 220, 220, 220, 220, 220, 220, 25342, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2393, 62, 30243, 11, 198, 220, 220, 220, 220, 220, 220, 220, 36147, 28968, 796, 1317, 796, 657, 828, 198, 220, 220, 220, 220, 220, 220, 220, 20121, 7, 22105, 62, 4658, 11, 360, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 22105, 5218, 9577, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16024, 14055, 13, 33634, 47429, 13, 411, 1096, 62, 392, 62, 30073, 0, 7, 22105, 13, 7890, 11, 1366, 11, 16024, 14055, 13, 33634, 47429, 13, 929, 3702, 273, 0, 7, 5532, 2599, 79, 12, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20286, 796, 357, 28968, 10, 16, 25, 79, 12, 16, 8, 764, 12, 11677, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1043, 62, 22105, 796, 2081, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 41915, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 9127, 1370, 5218, 36147, 2815, 44709, 15853, 352, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 3702, 273, 5218, 36147, 42787, 14055, 13, 33634, 47429, 13, 3702, 273, 0, 7, 5532, 11, 279, 1776, 11677, 796, 279, 532, 352, 4008, 22305, 198 ]
2.151926
3,245
using AsciiDocTools using Test @testset "AsciiDocTools.jl" begin # Write your tests here. end
[ 3500, 1081, 979, 72, 23579, 33637, 198, 3500, 6208, 198, 198, 31, 9288, 2617, 366, 1722, 979, 72, 23579, 33637, 13, 20362, 1, 2221, 198, 220, 220, 220, 1303, 19430, 534, 5254, 994, 13, 198, 437, 198 ]
2.675676
37
using Weave path = "C:\\Users\\Jasmine\\.julia\\dev\\DCDC\\doc" weave(joinpath(path,"BandwidthSelection.jmd"),doctype="pandoc",out_path=path)
[ 3500, 775, 1015, 198, 198, 6978, 796, 366, 34, 25, 6852, 14490, 6852, 41, 292, 3810, 6852, 13, 73, 43640, 6852, 7959, 6852, 35, 47667, 6852, 15390, 1, 198, 732, 1015, 7, 22179, 6978, 7, 6978, 553, 31407, 10394, 4653, 1564, 13, 73, 9132, 12340, 4598, 310, 2981, 2625, 79, 392, 420, 1600, 448, 62, 6978, 28, 6978, 8, 198 ]
2.383333
60
include("run_sim.jl") T = 100000 p_E_range = 0.5 p_H_range = 0.02 λ_E_range = 0.5:0.5:(10-0.5) λ_H_range = 2 transitions_list = [tr_chains_d1, tr_chains_d10, tr_chains_d50, tr_chains_d100] table1 = run_multiple_sim(λ_E_range, λ_H_range, p_E_range, p_H_range, transitions_list); writetable("csv/fig_4.1.csv", table1) T = 100000 p_E_range = 0.5 p_H_range = 0.02 λ_H_range = 0.5:0.5:(10-0.5) λ_E_range = 2 transitions_list = [tr_chains_d1, tr_chains_d10, tr_chains_d50, tr_chains_d100] table2 = run_multiple_sim(λ_E_range, λ_H_range, p_E_range, p_H_range, transitions_list); writetable("csv/fig_4.2.csv", table2) T = 1000000 p_E_range = 0.5 p_H_range = [0.1, 0.05, 0.01, 0.005, 0.001, 0.0005, 0.0001, 0.00005, 0.00001] λ_E_range = 1 λ_H_range = 2 transitions_list = [tr_chains_d1, tr_chains_d10, tr_chains_d50, tr_chains_d100] table3 = run_multiple_sim(λ_E_range, λ_H_range, p_E_range, p_H_range, transitions_list); table3[:norm_d1] = table3[:tr_chains_d1] .* table3[:p_H] table3[:norm_d10] = table3[:tr_chains_d10] .* table3[:p_H] table3[:norm_d50] = table3[:tr_chains_d50] .* table3[:p_H] table3[:norm_d100] = table3[:tr_chains_d100] .* table3[:p_H] table3[:log_p_H] = - log(table3[:p_H]) writetable("csv/fig_4.3.csv", table3) T = 1000000 p_E_range = 0.1:0.1:1 p_H_range = 0.01 λ_E_range = 1 λ_H_range = 2 transitions_list = [tr_chains_d1, tr_chains_d10, tr_chains_d50, tr_chains_d100] table4 = run_multiple_sim(λ_E_range, λ_H_range, p_E_range, p_H_range, transitions_list); writetable("csv/fig_4.4.csv", table4)
[ 17256, 7203, 5143, 62, 14323, 13, 20362, 4943, 198, 198, 51, 796, 1802, 830, 198, 79, 62, 36, 62, 9521, 796, 657, 13, 20, 198, 79, 62, 39, 62, 9521, 796, 657, 13, 2999, 198, 39377, 62, 36, 62, 9521, 796, 657, 13, 20, 25, 15, 13, 20, 37498, 940, 12, 15, 13, 20, 8, 198, 39377, 62, 39, 62, 9521, 796, 362, 198, 7645, 1756, 62, 4868, 796, 685, 2213, 62, 38861, 62, 67, 16, 11, 491, 62, 38861, 62, 67, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 491, 62, 38861, 62, 67, 1120, 11, 491, 62, 38861, 62, 67, 3064, 60, 198, 11487, 16, 796, 1057, 62, 48101, 62, 14323, 7, 39377, 62, 36, 62, 9521, 11, 7377, 119, 62, 39, 62, 9521, 11, 279, 62, 36, 62, 9521, 11, 279, 62, 39, 62, 9521, 11, 27188, 62, 4868, 1776, 198, 8933, 316, 540, 7203, 40664, 14, 5647, 62, 19, 13, 16, 13, 40664, 1600, 3084, 16, 8, 198, 198, 51, 796, 1802, 830, 198, 79, 62, 36, 62, 9521, 796, 657, 13, 20, 198, 79, 62, 39, 62, 9521, 796, 657, 13, 2999, 198, 39377, 62, 39, 62, 9521, 796, 657, 13, 20, 25, 15, 13, 20, 37498, 940, 12, 15, 13, 20, 8, 198, 39377, 62, 36, 62, 9521, 796, 362, 198, 7645, 1756, 62, 4868, 796, 685, 2213, 62, 38861, 62, 67, 16, 11, 491, 62, 38861, 62, 67, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 491, 62, 38861, 62, 67, 1120, 11, 491, 62, 38861, 62, 67, 3064, 60, 198, 11487, 17, 796, 1057, 62, 48101, 62, 14323, 7, 39377, 62, 36, 62, 9521, 11, 7377, 119, 62, 39, 62, 9521, 11, 279, 62, 36, 62, 9521, 11, 279, 62, 39, 62, 9521, 11, 27188, 62, 4868, 1776, 198, 8933, 316, 540, 7203, 40664, 14, 5647, 62, 19, 13, 17, 13, 40664, 1600, 3084, 17, 8, 198, 198, 51, 796, 1802, 2388, 198, 79, 62, 36, 62, 9521, 796, 657, 13, 20, 198, 79, 62, 39, 62, 9521, 796, 685, 15, 13, 16, 11, 657, 13, 2713, 11, 657, 13, 486, 11, 657, 13, 22544, 11, 657, 13, 8298, 11, 657, 13, 830, 20, 11, 657, 13, 18005, 11, 657, 13, 2388, 20, 11, 657, 13, 2388, 16, 60, 198, 39377, 62, 36, 62, 9521, 796, 352, 198, 39377, 62, 39, 62, 9521, 796, 362, 198, 7645, 1756, 62, 4868, 796, 685, 2213, 62, 38861, 62, 67, 16, 11, 491, 62, 38861, 62, 67, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 491, 62, 38861, 62, 67, 1120, 11, 491, 62, 38861, 62, 67, 3064, 60, 198, 11487, 18, 796, 1057, 62, 48101, 62, 14323, 7, 39377, 62, 36, 62, 9521, 11, 7377, 119, 62, 39, 62, 9521, 11, 279, 62, 36, 62, 9521, 11, 279, 62, 39, 62, 9521, 11, 27188, 62, 4868, 1776, 198, 198, 11487, 18, 58, 25, 27237, 62, 67, 16, 60, 796, 3084, 18, 58, 25, 2213, 62, 38861, 62, 67, 16, 60, 764, 9, 3084, 18, 58, 25, 79, 62, 39, 60, 198, 11487, 18, 58, 25, 27237, 62, 67, 940, 60, 796, 3084, 18, 58, 25, 2213, 62, 38861, 62, 67, 940, 60, 764, 9, 3084, 18, 58, 25, 79, 62, 39, 60, 198, 11487, 18, 58, 25, 27237, 62, 67, 1120, 60, 796, 3084, 18, 58, 25, 2213, 62, 38861, 62, 67, 1120, 60, 764, 9, 3084, 18, 58, 25, 79, 62, 39, 60, 198, 11487, 18, 58, 25, 27237, 62, 67, 3064, 60, 796, 3084, 18, 58, 25, 2213, 62, 38861, 62, 67, 3064, 60, 764, 9, 3084, 18, 58, 25, 79, 62, 39, 60, 198, 11487, 18, 58, 25, 6404, 62, 79, 62, 39, 60, 796, 532, 2604, 7, 11487, 18, 58, 25, 79, 62, 39, 12962, 198, 198, 8933, 316, 540, 7203, 40664, 14, 5647, 62, 19, 13, 18, 13, 40664, 1600, 3084, 18, 8, 198, 198, 51, 796, 1802, 2388, 198, 79, 62, 36, 62, 9521, 796, 657, 13, 16, 25, 15, 13, 16, 25, 16, 198, 79, 62, 39, 62, 9521, 796, 657, 13, 486, 198, 39377, 62, 36, 62, 9521, 796, 352, 198, 39377, 62, 39, 62, 9521, 796, 362, 198, 7645, 1756, 62, 4868, 796, 685, 2213, 62, 38861, 62, 67, 16, 11, 491, 62, 38861, 62, 67, 940, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 491, 62, 38861, 62, 67, 1120, 11, 491, 62, 38861, 62, 67, 3064, 60, 198, 11487, 19, 796, 1057, 62, 48101, 62, 14323, 7, 39377, 62, 36, 62, 9521, 11, 7377, 119, 62, 39, 62, 9521, 11, 279, 62, 36, 62, 9521, 11, 279, 62, 39, 62, 9521, 11, 27188, 62, 4868, 1776, 198, 198, 8933, 316, 540, 7203, 40664, 14, 5647, 62, 19, 13, 19, 13, 40664, 1600, 3084, 19, 8, 198 ]
1.885613
848
module BPlot export plotb using PyPlot import Main.BMath function plotb(points::Vector; precision=10, Title="Math Plot", xlbl="X", ylbl="Y") xvals = Float64[] yvals = Float64[] for point in points if BMath.dim_count(point) != 1 error("Cannot Plot Due to way to many dimensions! Needs to be 1") end c = BMath.cartesian(point) push!(xvals, round(c[1], digits=precision)) push!(yvals, round(c[2], digits=precision)) end pygui(true) scatter(xvals, yvals, 1) title(Title) xlabel(xlbl) ylabel(ylbl) end function plotb(inputs::Vector, points::Vector; precision=10, Title="Math Plot", xlbl="Variable", ylbl="X_Comp", zlbl="Y_Comp") xvals = Float64[] yvals = Float64[] zvals = Float64[] for i in 1:length(points) point = points[i] if BMath.dim_count(point) != 1 error("Cannot Plot Due to way to many dimensions! Needs to be 1") end c = BMath.cartesian(point) push!(xvals, round(inputs[i], digits=precision)) push!(yvals, round(c[1], digits=precision)) push!(zvals, round(c[2], digits=precision)) end pygui(true) using3D() fig = plt.figure() ax = fig.add_subplot(projection="3d") ax.set_title(Title) ax.set_xlabel(xlbl) ax.set_ylabel(ylbl) ax.set_zlabel(zlbl) ax.scatter(xvals, yvals, zvals, s=1) end end
[ 21412, 347, 43328, 198, 220, 220, 220, 10784, 7110, 65, 628, 220, 220, 220, 1262, 9485, 43328, 198, 220, 220, 220, 1330, 8774, 13, 12261, 776, 628, 198, 220, 220, 220, 2163, 7110, 65, 7, 13033, 3712, 38469, 26, 15440, 28, 940, 11, 11851, 2625, 37372, 28114, 1600, 2124, 75, 2436, 2625, 55, 1600, 331, 75, 2436, 2625, 56, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 12786, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 331, 12786, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 329, 966, 287, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 29944, 776, 13, 27740, 62, 9127, 7, 4122, 8, 14512, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 7203, 34, 34574, 28114, 14444, 284, 835, 284, 867, 15225, 0, 36557, 284, 307, 352, 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, 269, 796, 29944, 776, 13, 26674, 35610, 7, 4122, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 87, 12786, 11, 2835, 7, 66, 58, 16, 4357, 19561, 28, 3866, 16005, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 88, 12786, 11, 2835, 7, 66, 58, 17, 4357, 19561, 28, 3866, 16005, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 12972, 48317, 7, 7942, 8, 198, 220, 220, 220, 220, 220, 220, 220, 41058, 7, 87, 12786, 11, 331, 12786, 11, 352, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3670, 7, 19160, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 18242, 7, 87, 75, 2436, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 18242, 7, 2645, 2436, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 2163, 7110, 65, 7, 15414, 82, 3712, 38469, 11, 2173, 3712, 38469, 26, 15440, 28, 940, 11, 11851, 2625, 37372, 28114, 1600, 2124, 75, 2436, 2625, 43015, 1600, 331, 75, 2436, 2625, 55, 62, 7293, 1600, 1976, 75, 2436, 2625, 56, 62, 7293, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 12786, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 331, 12786, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 12786, 796, 48436, 2414, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 352, 25, 13664, 7, 13033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 966, 796, 2173, 58, 72, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 29944, 776, 13, 27740, 62, 9127, 7, 4122, 8, 14512, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4049, 7203, 34, 34574, 28114, 14444, 284, 835, 284, 867, 15225, 0, 36557, 284, 307, 352, 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, 269, 796, 29944, 776, 13, 26674, 35610, 7, 4122, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 87, 12786, 11, 2835, 7, 15414, 82, 58, 72, 4357, 19561, 28, 3866, 16005, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 88, 12786, 11, 2835, 7, 66, 58, 16, 4357, 19561, 28, 3866, 16005, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 89, 12786, 11, 2835, 7, 66, 58, 17, 4357, 19561, 28, 3866, 16005, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 12972, 48317, 7, 7942, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1262, 18, 35, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2336, 796, 458, 83, 13, 26875, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 796, 2336, 13, 2860, 62, 7266, 29487, 7, 16302, 295, 2625, 18, 67, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 13, 2617, 62, 7839, 7, 19160, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 13, 2617, 62, 87, 18242, 7, 87, 75, 2436, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 13, 2617, 62, 2645, 9608, 7, 2645, 2436, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 13, 2617, 62, 89, 18242, 7, 48274, 2436, 8, 198, 220, 220, 220, 220, 220, 220, 220, 7877, 13, 1416, 1436, 7, 87, 12786, 11, 331, 12786, 11, 1976, 12786, 11, 264, 28, 16, 8, 198, 220, 220, 220, 886, 198, 437, 198 ]
1.942543
818
struct Connection weight::AbstractArray adjacency::AbstractArray end function randomConnection(n_source::Int, n_target::Int, p::AbstractFloat; min_weight=0, max_weight=1, amplitude=nothing, seed=nothing) if !isnothing(seed) Random.seed!(seed) end adjacency = rand(n_source, n_target) .< p if isnothing(amplitude) weights = rand(n_source, n_target) .* (max_weight - min_weight) .+ min_weight else weights = ones(n_source, n_target) .* amplitude end weights .*= adjacency return Connection(weights, adjacency) end function randomConnection(n::Int, p::AbstractFloat; min_weight=0, max_weight=1, amplitude=nothing, seed=nothing) randomConnection(n, n, p; min_weight, max_weight, amplitude, seed) end function EI(Nₑ::Integer, Nᵢ::Integer; E_E::Tuple=(0, 1), E_I::Tuple=(0, 1), I_E::Tuple=(0, 1), I_I::Tuple=(0, 1), adjacency::Union{Nothing,AbstractMatrix}=nothing, shuffle::Bool=false, seed=nothing ) excitatory = [ones(Bool, Nₑ); zeros(Bool, Nᵢ)] if shuffle if !isnothing(seed) Random.seed!(seed) end shuffle!(excitatory) end inhibitory = .!excitatory min_weight = (excitatory * transpose(excitatory)) .* E_E[1] min_weight += (excitatory * transpose(inhibitory)) .* E_I[1] min_weight -= (inhibitory * transpose(excitatory)) .* abs(I_E[2]) min_weight -= (inhibitory * transpose(inhibitory)) .* abs(I_I[2]) max_weight = (excitatory * transpose(excitatory)) .* E_E[2] max_weight += (excitatory * transpose(inhibitory)) .* E_I[2] max_weight -= (inhibitory * transpose(excitatory)) .* abs(I_E[1]) max_weight -= (inhibitory * transpose(inhibitory)) .* abs(I_I[1]) if !isnothing(adjacency) min_weight .*= adjacency max_weight .*= adjacency end return excitatory, inhibitory, min_weight, max_weight end function EI(n::Integer, EI_rate::AbstractFloat; E_E::Tuple=(0, 1), E_I::Tuple=(0, 1), I_E::Tuple=(0, 1), I_I::Tuple=(0, 1), adjacency::Union{Nothing,AbstractMatrix}=nothing, shuffle::Bool=false, seed=nothing ) if EI_rate > 1 Nₑ = Int(ceil(EI_rate * n / (EI_rate + 1))) else Nₑ = Int(ceil(EI_rate * n)) end Nᵢ = n - Nₑ return EI(Nₑ, Nᵢ; E_E, E_I, I_E, I_I, adjacency, shuffle, seed) end
[ 7249, 26923, 198, 220, 220, 220, 3463, 3712, 23839, 19182, 198, 220, 220, 220, 9224, 330, 1387, 3712, 23839, 19182, 198, 437, 198, 198, 8818, 4738, 32048, 7, 77, 62, 10459, 3712, 5317, 11, 299, 62, 16793, 3712, 5317, 11, 279, 3712, 23839, 43879, 26, 198, 220, 220, 220, 949, 62, 6551, 28, 15, 11, 3509, 62, 6551, 28, 16, 11, 37188, 28, 22366, 11, 9403, 28, 22366, 8, 198, 220, 220, 220, 611, 5145, 271, 22366, 7, 28826, 8, 198, 220, 220, 220, 220, 220, 220, 220, 14534, 13, 28826, 0, 7, 28826, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 9224, 330, 1387, 796, 43720, 7, 77, 62, 10459, 11, 299, 62, 16793, 8, 764, 27, 279, 198, 220, 220, 220, 611, 318, 22366, 7, 321, 489, 3984, 8, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 796, 43720, 7, 77, 62, 10459, 11, 299, 62, 16793, 8, 764, 9, 357, 9806, 62, 6551, 532, 949, 62, 6551, 8, 764, 10, 949, 62, 6551, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 19590, 796, 3392, 7, 77, 62, 10459, 11, 299, 62, 16793, 8, 764, 9, 37188, 198, 220, 220, 220, 886, 198, 220, 220, 220, 19590, 764, 9, 28, 9224, 330, 1387, 198, 220, 220, 220, 1441, 26923, 7, 43775, 11, 9224, 330, 1387, 8, 198, 437, 198, 198, 8818, 4738, 32048, 7, 77, 3712, 5317, 11, 279, 3712, 23839, 43879, 26, 949, 62, 6551, 28, 15, 11, 3509, 62, 6551, 28, 16, 11, 198, 220, 220, 220, 37188, 28, 22366, 11, 9403, 28, 22366, 8, 198, 220, 220, 220, 4738, 32048, 7, 77, 11, 299, 11, 279, 26, 949, 62, 6551, 11, 3509, 62, 6551, 11, 37188, 11, 9403, 8, 198, 437, 628, 198, 198, 8818, 412, 40, 7, 45, 158, 224, 239, 3712, 46541, 11, 399, 39611, 95, 3712, 46541, 26, 198, 220, 220, 220, 412, 62, 36, 3712, 51, 29291, 16193, 15, 11, 352, 828, 412, 62, 40, 3712, 51, 29291, 16193, 15, 11, 352, 828, 314, 62, 36, 3712, 51, 29291, 16193, 15, 11, 352, 828, 314, 62, 40, 3712, 51, 29291, 16193, 15, 11, 352, 828, 198, 220, 220, 220, 9224, 330, 1387, 3712, 38176, 90, 18465, 11, 23839, 46912, 92, 28, 22366, 11, 36273, 3712, 33, 970, 28, 9562, 11, 9403, 28, 22366, 198, 8, 198, 220, 220, 220, 2859, 270, 2870, 796, 685, 1952, 7, 33, 970, 11, 399, 158, 224, 239, 1776, 1976, 27498, 7, 33, 970, 11, 399, 39611, 95, 15437, 198, 220, 220, 220, 611, 36273, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5145, 271, 22366, 7, 28826, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14534, 13, 28826, 0, 7, 28826, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 220, 220, 220, 220, 36273, 0, 7, 41194, 270, 2870, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 26776, 652, 796, 764, 0, 41194, 270, 2870, 628, 220, 220, 220, 949, 62, 6551, 796, 357, 41194, 270, 2870, 1635, 1007, 3455, 7, 41194, 270, 2870, 4008, 764, 9, 412, 62, 36, 58, 16, 60, 198, 220, 220, 220, 949, 62, 6551, 15853, 357, 41194, 270, 2870, 1635, 1007, 3455, 7, 259, 26964, 652, 4008, 764, 9, 412, 62, 40, 58, 16, 60, 198, 220, 220, 220, 949, 62, 6551, 48185, 357, 259, 26964, 652, 1635, 1007, 3455, 7, 41194, 270, 2870, 4008, 764, 9, 2352, 7, 40, 62, 36, 58, 17, 12962, 198, 220, 220, 220, 949, 62, 6551, 48185, 357, 259, 26964, 652, 1635, 1007, 3455, 7, 259, 26964, 652, 4008, 764, 9, 2352, 7, 40, 62, 40, 58, 17, 12962, 628, 220, 220, 220, 3509, 62, 6551, 796, 357, 41194, 270, 2870, 1635, 1007, 3455, 7, 41194, 270, 2870, 4008, 764, 9, 412, 62, 36, 58, 17, 60, 198, 220, 220, 220, 3509, 62, 6551, 15853, 357, 41194, 270, 2870, 1635, 1007, 3455, 7, 259, 26964, 652, 4008, 764, 9, 412, 62, 40, 58, 17, 60, 198, 220, 220, 220, 3509, 62, 6551, 48185, 357, 259, 26964, 652, 1635, 1007, 3455, 7, 41194, 270, 2870, 4008, 764, 9, 2352, 7, 40, 62, 36, 58, 16, 12962, 198, 220, 220, 220, 3509, 62, 6551, 48185, 357, 259, 26964, 652, 1635, 1007, 3455, 7, 259, 26964, 652, 4008, 764, 9, 2352, 7, 40, 62, 40, 58, 16, 12962, 628, 220, 220, 220, 611, 5145, 271, 22366, 7, 324, 30482, 1387, 8, 198, 220, 220, 220, 220, 220, 220, 220, 949, 62, 6551, 764, 9, 28, 9224, 330, 1387, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 6551, 764, 9, 28, 9224, 330, 1387, 198, 220, 220, 220, 886, 628, 220, 220, 220, 1441, 2859, 270, 2870, 11, 26776, 652, 11, 949, 62, 6551, 11, 3509, 62, 6551, 198, 437, 628, 198, 8818, 412, 40, 7, 77, 3712, 46541, 11, 412, 40, 62, 4873, 3712, 23839, 43879, 26, 198, 220, 220, 220, 412, 62, 36, 3712, 51, 29291, 16193, 15, 11, 352, 828, 412, 62, 40, 3712, 51, 29291, 16193, 15, 11, 352, 828, 314, 62, 36, 3712, 51, 29291, 16193, 15, 11, 352, 828, 314, 62, 40, 3712, 51, 29291, 16193, 15, 11, 352, 828, 198, 220, 220, 220, 9224, 330, 1387, 3712, 38176, 90, 18465, 11, 23839, 46912, 92, 28, 22366, 11, 36273, 3712, 33, 970, 28, 9562, 11, 9403, 28, 22366, 198, 8, 198, 220, 220, 220, 611, 412, 40, 62, 4873, 1875, 352, 198, 220, 220, 220, 220, 220, 220, 220, 399, 158, 224, 239, 796, 2558, 7, 344, 346, 7, 36, 40, 62, 4873, 1635, 299, 1220, 357, 36, 40, 62, 4873, 1343, 352, 22305, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 399, 158, 224, 239, 796, 2558, 7, 344, 346, 7, 36, 40, 62, 4873, 1635, 299, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 399, 39611, 95, 796, 299, 532, 399, 158, 224, 239, 198, 220, 220, 220, 1441, 412, 40, 7, 45, 158, 224, 239, 11, 399, 39611, 95, 26, 412, 62, 36, 11, 412, 62, 40, 11, 314, 62, 36, 11, 314, 62, 40, 11, 9224, 330, 1387, 11, 36273, 11, 9403, 8, 198, 437, 198 ]
2.238462
1,040
function solve() a, b = [parse(Int, x) for x in split(readline())] c, d = [parse(Int, x) for x in split(readline())] a*d - b*c end println(solve())
[ 8818, 8494, 3419, 198, 220, 220, 220, 257, 11, 275, 796, 685, 29572, 7, 5317, 11, 2124, 8, 329, 2124, 287, 6626, 7, 961, 1370, 3419, 15437, 198, 220, 220, 220, 269, 11, 288, 796, 685, 29572, 7, 5317, 11, 2124, 8, 329, 2124, 287, 6626, 7, 961, 1370, 3419, 15437, 628, 220, 220, 220, 257, 9, 67, 532, 275, 9, 66, 198, 437, 198, 198, 35235, 7, 82, 6442, 28955, 198 ]
2.25
72
@testset "Multiple Drivers" begin println("VITUIX MULTIPLE DRIVER TESTS") Hs = load_vituix_FIRs((joinpath(test_dir, "FIR", wav) for wav in ["T.wav", "M.wav", "W.wav"])...; Δt=-371.519ms, names=[:FIR_T, :FIR_M, :FIR_W]) template_hor = Regex(raw"VituixCAD_PolarFR hor (.*)\.frd") template_ver = Regex(raw"VituixCAD_PolarFR ver (.*)\.frd") matchFIR = true test_set = [ (src=[ Dict(:name => "T", :spinorama => "T/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_T], :y => 0.0)), Dict(:name => "M", :spinorama => "M/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_M], :y => -0.118)), Dict(:name => "W", :spinorama => "W/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_W], :y => -0.348)), ], target="total/polar", freqrange=(0Hz, 20kHz), T=Dict(), max_mag=14, mae_mag=0.2, max_phi=180.0, mae_phi=2.5), (src=[ Dict(:name => "T", :spinorama => "T/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_T], :r => 10.0, :t => 15.0)), Dict(:name => "M", :spinorama => "M/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_M], :x => 0.095, :y => -0.118, :z => 0.150, :r => 12.0, :t => -15.0)), Dict(:name => "W", :spinorama => "W/polar_noXO", :transform => Dict(:H => Hs[:, :FIR_W], :x => -0.15, :y => -0.348, :z => -0.035, :r => -90.0, :t => 3.0)), ], target="total_rotated_tilted2/polar", freqrange=(0Hz, 20kHz), T=Dict(), max_mag=21.0, mae_mag=0.7, max_phi=180.0, mae_phi=10.5), ] for matchFIR in [true, false] println("match FIR: $matchFIR") for e in test_set sources = String[] drivers = [] for s in e.src push!(sources, s[:spinorama]) push!(drivers, Dict( :spinorama => load_spinorama_from_FRDs(joinpath(test_dir, s[:spinorama]), template_hor=template_hor, template_ver=template_ver), :transform => s[:transform] )) end println(" \"$(sources)\" -> \"$(e.target)\"") target_spinorama = load_spinorama_from_FRDs(joinpath(test_dir, e.target), template_hor=template_hor, template_ver=template_ver) print("\tA:") @test test_transform(drivers, target_spinorama, e.freqrange, compare_magdb, e.max_mag, e.mae_mag, matchFIR) print("\tΦ:") @test test_transform(drivers, target_spinorama, e.freqrange, compare_phasedeg, e.max_phi, e.mae_phi, matchFIR) end end end
[ 31, 9288, 2617, 366, 31217, 36577, 1, 2221, 198, 220, 220, 220, 44872, 7203, 53, 2043, 10080, 55, 337, 16724, 4061, 2538, 10560, 38757, 309, 1546, 4694, 4943, 628, 220, 220, 220, 367, 82, 796, 3440, 62, 85, 34272, 844, 62, 39776, 82, 19510, 22179, 6978, 7, 9288, 62, 15908, 11, 366, 39776, 1600, 266, 615, 8, 329, 266, 615, 287, 14631, 51, 13, 45137, 1600, 366, 44, 13, 45137, 1600, 366, 54, 13, 45137, 8973, 26513, 26, 37455, 83, 10779, 38056, 13, 47785, 907, 11, 3891, 41888, 25, 39776, 62, 51, 11, 1058, 39776, 62, 44, 11, 1058, 39776, 62, 54, 12962, 628, 220, 220, 220, 11055, 62, 17899, 796, 797, 25636, 7, 1831, 1, 53, 34272, 844, 34, 2885, 62, 47, 6192, 10913, 3076, 357, 15885, 8, 17405, 69, 4372, 4943, 198, 220, 220, 220, 11055, 62, 332, 796, 797, 25636, 7, 1831, 1, 53, 34272, 844, 34, 2885, 62, 47, 6192, 10913, 3326, 357, 15885, 8, 17405, 69, 4372, 4943, 198, 220, 220, 220, 220, 198, 220, 220, 220, 2872, 39776, 796, 2081, 628, 220, 220, 220, 1332, 62, 2617, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 10677, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 51, 1600, 1058, 39706, 36161, 5218, 366, 51, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 51, 4357, 1058, 88, 5218, 657, 13, 15, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 44, 1600, 1058, 39706, 36161, 5218, 366, 44, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 44, 4357, 1058, 88, 5218, 532, 15, 13, 16817, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 54, 1600, 1058, 39706, 36161, 5218, 366, 54, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 54, 4357, 1058, 88, 5218, 532, 15, 13, 28978, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 2496, 2625, 23350, 14, 79, 6192, 1600, 2030, 80, 9521, 16193, 15, 7399, 11, 1160, 44191, 828, 309, 28, 35, 713, 22784, 3509, 62, 19726, 28, 1415, 11, 285, 3609, 62, 19726, 28, 15, 13, 17, 11, 3509, 62, 34846, 28, 15259, 13, 15, 11, 285, 3609, 62, 34846, 28, 17, 13, 20, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 10677, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 51, 1600, 1058, 39706, 36161, 5218, 366, 51, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 51, 4357, 1058, 81, 5218, 838, 13, 15, 11, 1058, 83, 5218, 1315, 13, 15, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 44, 1600, 1058, 39706, 36161, 5218, 366, 44, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 44, 4357, 1058, 87, 5218, 657, 13, 2931, 20, 11, 1058, 88, 5218, 532, 15, 13, 16817, 11, 1058, 89, 5218, 657, 13, 8628, 11, 1058, 81, 5218, 1105, 13, 15, 11, 1058, 83, 5218, 532, 1314, 13, 15, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 713, 7, 25, 3672, 5218, 366, 54, 1600, 1058, 39706, 36161, 5218, 366, 54, 14, 79, 6192, 62, 3919, 55, 46, 1600, 1058, 35636, 5218, 360, 713, 7, 25, 39, 5218, 367, 82, 58, 45299, 1058, 39776, 62, 54, 4357, 1058, 87, 5218, 532, 15, 13, 1314, 11, 1058, 88, 5218, 532, 15, 13, 28978, 11, 1058, 89, 5218, 532, 15, 13, 44215, 11, 1058, 81, 5218, 532, 3829, 13, 15, 11, 1058, 83, 5218, 513, 13, 15, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16589, 2496, 2625, 23350, 62, 10599, 515, 62, 47163, 1513, 17, 14, 79, 6192, 1600, 2030, 80, 9521, 16193, 15, 7399, 11, 1160, 44191, 828, 309, 28, 35, 713, 22784, 3509, 62, 19726, 28, 2481, 13, 15, 11, 285, 3609, 62, 19726, 28, 15, 13, 22, 11, 3509, 62, 34846, 28, 15259, 13, 15, 11, 285, 3609, 62, 34846, 28, 940, 13, 20, 828, 198, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 198, 220, 220, 220, 329, 2872, 39776, 287, 685, 7942, 11, 3991, 60, 198, 220, 220, 220, 220, 220, 220, 220, 44872, 7203, 15699, 23703, 25, 720, 15699, 39776, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 329, 304, 287, 1332, 62, 2617, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4237, 796, 10903, 21737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6643, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 264, 287, 304, 13, 10677, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 82, 2203, 11, 264, 58, 25, 39706, 36161, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4574, 0, 7, 36702, 11, 360, 713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 39706, 36161, 5218, 3440, 62, 39706, 36161, 62, 6738, 62, 10913, 30832, 7, 22179, 6978, 7, 9288, 62, 15908, 11, 264, 58, 25, 39706, 36161, 46570, 11055, 62, 17899, 28, 28243, 62, 17899, 11, 11055, 62, 332, 28, 28243, 62, 332, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 35636, 5218, 264, 58, 25, 35636, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15306, 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, 44872, 7203, 220, 19990, 3, 7, 82, 2203, 8, 7879, 4613, 19990, 3, 7, 68, 13, 16793, 8, 7879, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2496, 62, 39706, 36161, 796, 3440, 62, 39706, 36161, 62, 6738, 62, 10913, 30832, 7, 22179, 6978, 7, 9288, 62, 15908, 11, 304, 13, 16793, 828, 11055, 62, 17899, 28, 28243, 62, 17899, 11, 11055, 62, 332, 28, 28243, 62, 332, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 83, 32, 25, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 1332, 62, 35636, 7, 36702, 11, 2496, 62, 39706, 36161, 11, 304, 13, 19503, 80, 9521, 11, 8996, 62, 19726, 9945, 11, 304, 13, 9806, 62, 19726, 11, 304, 13, 2611, 68, 62, 19726, 11, 2872, 39776, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 59, 83, 138, 99, 25, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2488, 9288, 1332, 62, 35636, 7, 36702, 11, 2496, 62, 39706, 36161, 11, 304, 13, 19503, 80, 9521, 11, 8996, 62, 746, 839, 1533, 11, 304, 13, 9806, 62, 34846, 11, 304, 13, 2611, 68, 62, 34846, 11, 2872, 39776, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 198, 437 ]
1.911243
1,352
function registerdrivers(f::Function) GDAL.allregister() try f() finally GDAL.destroydrivermanager() end end "Fetch driver by index" getdriver(i::Integer) = GDAL.getdriver(i-1) "Fetch a driver based on the short name (such as `GTiff`)." getdriver(name::AbstractString) = GDAL.getdriverbyname(name) """ Destroy a `GDALDriver`. This is roughly equivelent to deleting the driver, but is guaranteed to take place in the GDAL heap. It is important this that function not be called on a driver that is registered with the `GDALDriverManager`. """ destroy(drv::Driver) = GDAL.destroydriver(drv) "Register a driver for use." register(drv::Driver) = GDAL.registerdriver(drv) "Deregister the passed drv." deregister(drv::Driver) = GDAL.deregisterdriver(drv) "Return the list of creation options of the driver [an XML string]" options(drv::Driver) = GDAL.getdrivercreationoptionlist(drv) "Return the short name of a driver (e.g. `GTiff`)" getshortname(drv::Driver) = GDAL.getdrivershortname(drv) "Return the long name of a driver (e.g. `GeoTIFF`), or empty string." getlongname(drv::Driver) = GDAL.getdriverlongname(drv) "Fetch the number of registered drivers." ndriver() = GDAL.getdrivercount() "Returns a listing of all registered drivers" function drivers() dlist = Dict{ASCIIString,ASCIIString}() for i in 1:ndriver() dlist[shortname(getdriver(i))] = longname(getdriver(i)) end dlist end """ Identify the driver that can open a raster file. This function will try to identify the driver that can open the passed filename by invoking the Identify method of each registered `GDALDriver` in turn. The first driver that successful identifies the file name will be returned. If all drivers fail then `NULL` is returned. """ identifydriver(filename::AbstractString) = GDAL.identifydriver(filename, C_NULL) """ Validate the list of creation options that are handled by a drv. This is a helper method primarily used by `Create()` and `CreateCopy()` to validate that the passed in list of creation options is compatible with the `GDAL_DMD_CREATIONOPTIONLIST` metadata item defined by some drivers. See also: `GDALGetDriverCreationOptionList()` If the `GDAL_DMD_CREATIONOPTIONLIST` metadata item is not defined, this function will return `TRUE`. Otherwise it will check that the keys and values in the list of creation options are compatible with the capabilities declared by the `GDAL_DMD_CREATIONOPTIONLIST` metadata item. In case of incompatibility a (non fatal) warning will be emited and `FALSE` will be returned. ### Parameters * `hDriver` the handle of the driver with whom the lists of creation option must be validated * `options` the list of creation options. An array of strings, whose last element is a `NULL` pointer ### Returns `TRUE` if the list of creation options is compatible with the `Create()` and `CreateCopy()` method of the driver, `FALSE` otherwise. """ function validate{T <: AbstractString}(drv::Driver, options::Vector{T}) Bool(GDAL.validatecreationoptions(drv, Ptr{Ptr{UInt8}}(pointer(options)))) end
[ 198, 8818, 7881, 36702, 7, 69, 3712, 22203, 8, 198, 220, 220, 220, 27044, 1847, 13, 439, 30238, 3419, 198, 220, 220, 220, 1949, 198, 220, 220, 220, 220, 220, 220, 220, 277, 3419, 198, 220, 220, 220, 3443, 198, 220, 220, 220, 220, 220, 220, 220, 27044, 1847, 13, 41659, 26230, 37153, 3419, 198, 220, 220, 220, 886, 198, 437, 198, 198, 1, 37, 7569, 4639, 416, 6376, 1, 198, 1136, 26230, 7, 72, 3712, 46541, 8, 796, 27044, 1847, 13, 1136, 26230, 7, 72, 12, 16, 8, 198, 198, 1, 37, 7569, 257, 4639, 1912, 319, 262, 1790, 1438, 357, 10508, 355, 4600, 19555, 733, 63, 21387, 198, 1136, 26230, 7, 3672, 3712, 23839, 10100, 8, 796, 27044, 1847, 13, 1136, 26230, 1525, 3672, 7, 3672, 8, 198, 198, 37811, 198, 49174, 257, 4600, 45113, 1847, 32103, 44646, 198, 198, 1212, 318, 7323, 1602, 425, 75, 298, 284, 34817, 262, 4639, 11, 475, 318, 11462, 284, 1011, 198, 5372, 287, 262, 27044, 1847, 24575, 13, 632, 318, 1593, 428, 326, 2163, 407, 307, 1444, 319, 257, 198, 26230, 326, 318, 6823, 351, 262, 4600, 45113, 1847, 32103, 13511, 44646, 198, 37811, 198, 41659, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 41659, 26230, 7, 7109, 85, 8, 198, 198, 1, 38804, 257, 4639, 329, 779, 526, 198, 30238, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 30238, 26230, 7, 7109, 85, 8, 198, 198, 1, 35, 567, 70, 1694, 262, 3804, 1553, 85, 526, 198, 67, 567, 70, 1694, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 67, 567, 70, 1694, 26230, 7, 7109, 85, 8, 198, 198, 1, 13615, 262, 1351, 286, 6282, 3689, 286, 262, 4639, 685, 272, 23735, 4731, 30866, 198, 25811, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 1136, 26230, 38793, 18076, 4868, 7, 7109, 85, 8, 198, 198, 1, 13615, 262, 1790, 1438, 286, 257, 4639, 357, 68, 13, 70, 13, 4600, 19555, 733, 63, 16725, 198, 11407, 71, 419, 3672, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 1136, 36702, 71, 419, 3672, 7, 7109, 85, 8, 198, 198, 1, 13615, 262, 890, 1438, 286, 257, 4639, 357, 68, 13, 70, 13, 4600, 10082, 78, 51, 29267, 63, 828, 393, 6565, 4731, 526, 198, 1136, 6511, 3672, 7, 7109, 85, 3712, 32103, 8, 796, 27044, 1847, 13, 1136, 26230, 6511, 3672, 7, 7109, 85, 8, 198, 198, 1, 37, 7569, 262, 1271, 286, 6823, 6643, 526, 198, 358, 38291, 3419, 796, 27044, 1847, 13, 1136, 26230, 9127, 3419, 198, 198, 1, 35561, 257, 13487, 286, 477, 6823, 6643, 1, 198, 8818, 6643, 3419, 198, 220, 220, 220, 288, 4868, 796, 360, 713, 90, 42643, 3978, 10100, 11, 42643, 3978, 10100, 92, 3419, 198, 220, 220, 220, 329, 1312, 287, 352, 25, 358, 38291, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 288, 4868, 58, 19509, 3672, 7, 1136, 26230, 7, 72, 4008, 60, 796, 890, 3672, 7, 1136, 26230, 7, 72, 4008, 198, 220, 220, 220, 886, 198, 220, 220, 220, 288, 4868, 198, 437, 198, 198, 37811, 198, 33234, 1958, 262, 4639, 326, 460, 1280, 257, 374, 1603, 2393, 13, 198, 198, 1212, 2163, 481, 1949, 284, 5911, 262, 4639, 326, 460, 1280, 262, 3804, 29472, 198, 1525, 39744, 262, 11440, 1958, 2446, 286, 1123, 6823, 4600, 45113, 1847, 32103, 63, 287, 1210, 13, 383, 198, 11085, 4639, 326, 4388, 21079, 262, 2393, 1438, 481, 307, 4504, 13, 1002, 477, 198, 36702, 2038, 788, 4600, 33991, 63, 318, 4504, 13, 198, 37811, 198, 738, 1958, 26230, 7, 34345, 3712, 23839, 10100, 8, 796, 27044, 1847, 13, 738, 1958, 26230, 7, 34345, 11, 327, 62, 33991, 8, 198, 198, 37811, 198, 7762, 20540, 262, 1351, 286, 6282, 3689, 326, 389, 12118, 416, 257, 1553, 85, 13, 198, 198, 1212, 318, 257, 31904, 2446, 7525, 973, 416, 4600, 16447, 3419, 63, 290, 4600, 16447, 29881, 3419, 63, 284, 198, 12102, 378, 326, 262, 3804, 287, 1351, 286, 6282, 3689, 318, 11670, 351, 262, 198, 63, 45113, 1847, 62, 35, 12740, 62, 43387, 6234, 3185, 24131, 45849, 63, 20150, 2378, 5447, 416, 617, 6643, 13, 198, 198, 6214, 635, 25, 4600, 45113, 1847, 3855, 32103, 12443, 341, 19722, 8053, 3419, 63, 198, 198, 1532, 262, 4600, 45113, 1847, 62, 35, 12740, 62, 43387, 6234, 3185, 24131, 45849, 63, 20150, 2378, 318, 407, 5447, 11, 428, 198, 8818, 481, 1441, 4600, 5446, 8924, 44646, 15323, 340, 481, 2198, 326, 262, 8251, 290, 3815, 198, 259, 262, 1351, 286, 6282, 3689, 389, 11670, 351, 262, 9889, 6875, 198, 1525, 262, 4600, 45113, 1847, 62, 35, 12740, 62, 43387, 6234, 3185, 24131, 45849, 63, 20150, 2378, 13, 554, 1339, 286, 13352, 25901, 198, 64, 357, 13159, 10800, 8, 6509, 481, 307, 795, 863, 290, 4600, 37, 23719, 63, 481, 307, 4504, 13, 198, 198, 21017, 40117, 198, 9, 4600, 71, 32103, 63, 220, 220, 220, 220, 262, 5412, 286, 262, 4639, 351, 4150, 262, 8341, 286, 6282, 3038, 198, 27238, 307, 31031, 198, 9, 4600, 25811, 63, 220, 220, 220, 220, 262, 1351, 286, 6282, 3689, 13, 1052, 7177, 286, 13042, 11, 3025, 938, 198, 30854, 318, 257, 4600, 33991, 63, 17562, 198, 198, 21017, 16409, 198, 63, 5446, 8924, 63, 611, 262, 1351, 286, 6282, 3689, 318, 11670, 351, 262, 4600, 16447, 3419, 63, 290, 198, 63, 16447, 29881, 3419, 63, 2446, 286, 262, 4639, 11, 4600, 37, 23719, 63, 4306, 13, 198, 37811, 198, 8818, 26571, 90, 51, 1279, 25, 27741, 10100, 92, 7, 7109, 85, 3712, 32103, 11, 3689, 3712, 38469, 90, 51, 30072, 198, 220, 220, 220, 347, 970, 7, 45113, 1847, 13, 12102, 378, 38793, 25811, 7, 7109, 85, 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, 350, 2213, 90, 46745, 90, 52, 5317, 23, 11709, 7, 29536, 7, 25811, 35514, 198, 437, 198 ]
3.124378
1,005
# Consider creating Source module in source.jl under source/ directory. Such a module can # be used by # include("source/source.jl") # importall (or using?) .Source # See "importall .LinAlg" in julia-0.6/base/sysimg.jl. # When we discretize a source, a source located in the interval that begins or ends with a # ghost point is cumbersome. In such a case, we have to assign current density at the ghost # point, which is impossible because there is no entry in the current density array that # is assigned to ghost points. # # Depending on the boundary condition, we have to handle such a case differently. Suppose # we are assiging a point source of the primal field type in the direction parallel to (but # slightly away from) the boundary. We assign a portion of the source current at the # nonghost point adjacent to the ghost point. The question is how to handle the portion of # the source current to be assigned to the ghost point. # # - For Bloch, we have to assign a point source at the nonghost point corresponding to the # ghost point. Note that this should be additive to any existing current density at the # nonghost point. (The same situation as two point sources in neighboring grid intervals: # at the shared grid point, the contributions from the two point sources are added. The # first and last grid intervals are adjacent through the Bloch boundary condition.) # # - For the symmetry boundary, putting current density component parallel to the boundary # effectively puts another anti-symmetric current density component at the mirror symmetry # position. Usually these two current density components are sufficiently well-separated # and their contributions do not overlap. However, in the situation considered here, they # are actually in neighboring cell intervals that share a point on the symmetry boundary. # # If a point source is in a cell interval between two grid points A and B, the method to # assign current densities to A and B is the "sliding" method. In this method, imagine the # point source location changes gradually from A to B. When it is exactly at A, current # density is assigned only to A, and the magnitude J_A of the current density is determined # by dividing the current of the point source by the grid cell area occupied by A. We can # similarly calculate the current density J_B to assign to B in the case where the point # source is exactly at B. (Note that J_A ≠ J_B in general even though the current of the # point source is the same, because the area occupied by A and B can be different if the # grid is nonuniform.) Now, if the point source location changes gradually from A to B, the # current density to assign to A should decrease linearly from J_A to 0, and the current # density to assign to B should increase linearly from 0 to J_B. Therefore, if the point # source is located between A and B such that the ratio of the distances to A and B is # x:(1-x), then the current densities to assign to A and B should be J_A * (1-x) and J_B * x, # respectively. Note that these becomes J_A and 0 for x = 0 (when the point source is at A) # and 0 and J_B for x = 1 (when the point source is at B). # # The situation of the symmetry boundary condition discussed earlier, where the two point # sources with opposite directions are placed at the mirror symmetry locations around the # symmetry boundary, can be thought of as assigning the current densities for the two # individual point sources using the above described recipe. Note that as the two point # sources approach to the symmetry boundary, the portions of the two point sources' currents # assigned at the shared point on the boundary exactly cancel each other. Therefore, we # always assign zero current density on the ghost point, which is at the symmetry boundary. # This makes us to simply ignore assiging current density to the point on the symmetry # boundary. The portion of the total current to assign to the grid point adjacent # to the symmetry boundary is as usual, and this portion becomes zero as the point source # approaches the symmetry boundary. This makes sense, because if the point source is # exactly on the symmetry boundary, being parallel to the boundary, then there must be no # current in the system at all. # # # # Now, consider assignment of a point source corresponding to the dual field parallel to the # boundary. For Bloch, we proceed similarly. For the symmetry boundary, now the image # source put behind the boundary is in the same direction as the original source in the # domain. Also, when the source is sufficiently close to the boundary, the actual and # image sources are in a single dual grid cell interval, whose the middle point is the # boundary point and the end points are dual grid points, which are referred to as A and B # as before for convenience below, instead of the two adjacent cell intervals. Suppose A is # within the domain and B is outside the domain. We don't have to assign a portion of the # total current of the real point source to B ourselves, which is behind the symmetry # boundary: this is something automatically done by imposing symmetry. However, if the # image point source existing behind the symmetry boundary assigns some portion of its total # current to A, which is within the domain, that must be assigned ourselves. # # Because the two point sources are at mirror-symmetric locations, the reduction in the # amount of the current assigned to A by the point source moving away from A towards the # symmetry boundary is exactly compensated by the increase in the amount of the current # assigned to A by the image point source to the symmetry boundary from behind the boundary. # Therefore, the net effect is the constant amount of current assigend to the dual grid # point, no matter where the point source is located inside this cell interval containing # the symmetry boundary. # Note that we need to support both Je and Jm to realize unidirectional sources. export Source export add_src! abstract type Source{K,Kf} end # K: shape dimension; Kf: field dimension add_src!(jKd::AbsArrNumber, gt₀::AbsVec{GridType}, bounds::Tuple2{AbsVecReal}, l::Tuple2{NTuple{K,AbsVecReal}}, ∆l::Tuple2{NTuple{K,AbsVecReal}}, isbloch::AbsVecBool, srcs::Source...) where {K} = add_src!(jKd, SVec{K}(gt₀), (float.(l[nPR]),float.(l[nDL])), (float.(∆l[nPR]), float.(∆l[nDL])), SVec{K}(isbloch), srcs...) # About the determination of gt_cmp # In the concrete implementation of add_src!() for each concrete Source type, gt_cmp, which # is the grid type of the J field component to set up (typically indicated by the # nw-component) is determined by # # gt_cmp = src.isfield˔shp ? gt₀ : gt_w(nw, gt₀) # # gt_cmp is used to obtain the locations of the field by # # lcmp = t_ind(l, gt_cmp) # # So, why do we choose gt₀ when the field subspace is orthogonal to the shape subspace? # # gt₀ represents the grid type of the corners of Yee's voxel whose edges are composed of the # field lines. The w-component of the field is located a half grid point away from these # voxel corners along the w-direction. This picture describes how to determine gt_cmp when # the field subspace is equal to the shape subspace. # # However, when the field subspace is orthogonal to the shape subspace, the half grid point # shift to apply to the w-component occurs in the direction normal to the shape subspace. # Along that direction, the grid lines are not defined, because l is defined in the shape # subspace. Therefore, the half grid point shift does not have any effect in determining # the locations of the w-component, and we can use gt₀ as the grid type in determining the # field locations. # # For example, In the TE equation, the field subspace for the H-field is the z-direction and # the shape subspace is the xy-plane. When the boundary field types are the E-field type # for both the x- and y-directions, gt₀ for the H-field (Hz) is [DUAL,DUAL]. We can use # [DUAL,DUAL] in determining the xy-locations of the H-field, as the half grid point shift # along the z-direction for the H-field does not affect the locations of the H-field. function add_src!(jKd::AbsArrNumber{K₊₁}, # (K+1)-dimensional array of Je (electric) or Jm (magnetic); first K dimensions specify location; last 1 dimension specify field component gt₀::SVec{K,GridType}, # grid type of voxel corners; generated by ft2gt.(ft, boundft) bounds::Tuple2{SFloat{K}}, # bounds[NEG][k] = boundary of domain at negative end in k-direction l::Tuple2{NTuple{K,VecFloat}}, # l[PRIM][k] = primal vertex locations in k-direction ∆l::Tuple2{NTuple{K,VecFloat}}, # ∆l[PRIM][k] = (∆l at primal vertices in w) == diff(l[DUAL][k] including ghost point) isbloch::SBool{K}, # Bloch boundary conditions src::Source{K,Kf}... # sources ) where {K,K₊₁,Kf} for src = srcs add_src!(j3d, ft, boundft, bounds, l, ∆l, isbloch, src) end end # I could have defined distweights with more abstractly typed arguments, such as c::Real, # bounds::AbsVecReal, l::AbsVecReal, ∆l::AbsVecReal, and have let the type inference system # create distweights for each distinct set of types. However, then I cannot control the # behavior of the function perfectly, because the two numbers used in division could be # integer or float. Therefore, I implement the kernel for a specific type later, and here I # define a wrapper that converts the arguments into those specific type. # # Another advantage of this approach is that even though several different versions of the # wrapper will be generated, the kernel will be generated only once for the specific type. # This makes the amount of compiled code minimal. # # Note that the situation here is a bit different from create_curl. There, I wanted to # create a curl operator of differnt types, such as Float, ComplexF, and even Int. Therefore, # I had to allow generation of different kernel code for different argument types. distweights(c::Real, gt::GridType, bounds::AbsVecReal, l::AbsVecReal, ∆l::AbsVecReal, isbloch::Bool) = distweights(float(c), gt, SFloat{2}(bounds), float(l), float(∆l), isbloch) # In a given Cartesian direction, if the source is located between two grid points, # calculate the weights to distribute over the two points. The output is in the form of # ([ind₁, ind₂], [wt₁, wt₂]), where wtₖ is the weight assigned to the grid point at indₖ. # Note that the physical dimension of the weight is 1/(length). # # If the source is placed exactly at one grid point, weight distribution is unnecessary and # the output satisfies ind₂ = ind₁ and wt₂ = 0. Note that the output type remains the same # as before, which is a useful feature for achieving type stability of the function calling # this function. # # This function works for both longitudinal and transversal discretization with respect to # polarization. Luckily, the consideration of the boundary conditions discussed at the # beginning of this file works for both cases. For example, suppose we are distributing # along the x-grid an electric current source. For Bloch, it is obvious that both # polarizations are treated equally. For the symmetry boundary condition, we can handle # both polarization with the same code by determining whether the boundary condition is # "zeroing" the source on the boundary or not. Specifically, the zeroing boundary condition # is defined as follows (see the definition of `zeroing_bc` in the function definition as # well): # - if the boundary condition is zeroing the source, the source put beyond the boundary is # antisymmetric to the source put within the boundary, so the two sources are superposed # destructively on the boundary (note the two sources are in adjacent cells), and # - if the boundary condition is not zeroing the source, the source put beyond the boundary # is symmetric to the source put within the boundary, so the two sources are superposed # constructively on the boundary (note the two sources are in the same cell). # # Therefore, # - For Jy and Jz (parallel to the x-boundary), the zeroing boundary condition is the # symmetric E-field boundary condition. Because the x-location of Jy and Jz is the E-field # grid location, we know that a symmetric boundary is the E-field boundary if the x-location # of Jy and Jz are primal. # - For Jx (normal to the x-boundary), the zeroing boundary condition is the symmetric # H-field boundary condition. Because the x-location of Jx is the H-field grid location, we # know again that a symmetric boundary is the H-field boundary if the x-location of Jx is # primal. # # Note that regardless of the polarization of the source, the boundary condition is zeroing # if the location type is primal. # # In the implementation, assume that the source "value" to distribute is something that does # not change with discretization (e.g., Id of a point source and K of a plane source). The # returned weights are the factors to multiply to this source value. # # When distributing a source between two points on the opposite sides of the Bloch boundary, # the Bloch phase factor is not multiplied. The source we are trying to distribute by this # function is a delta-function-like source in the axis of consideration (e.g., axis normal # to a plane source). It feels a bit strange to impose phase difference between what were # originally a single point. Also, I think it would be much easier to multiply the Bloch # phase factors to the entire 3D array of source when all the sources are assigned and # properly distributed with weight factors. That way, we don't have to implement # multiplication of the Bloch phase factors in every source type. However, this decision # can change later if needed. function distweights(c::Float, # location of point (c means center) gt::GridType, # type of the grid planes bounds::SFloat{2}, # [lneg, lpos]: negative- and positive-end boundaries of domain l::AbsVecFloat, # location of grid planes without ghost points ∆l::AbsVecFloat, # size of grid cell centered at l (not lg) isbloch::Bool) # boundary condition bounds[1]≤c≤bounds[2] || throw(ArgumentError("c = $c must be within bounds = $bounds.")) L = bounds[2] - bounds[1] N = length(l) # Below, what if N = 1? I think N = 1 will work fine for Bloch, for which indn = indp # = 1 and therefore the contribution from indn and indp will be added in source array # construction, and for the symmetry boundary that is incongruent with the field type, # for which indn = indp = 1 again but only indn will be considered and the current # density to set will remain constant regardless of the source position... Wait, we have # contribution from both boundaries in this case, so maybe we should consider one real # point source and two imaginary point sources... # # Anyway, I think the main reason to use N = 1 is for 2D simulation, and in that case # we use Bloch in that direction. So, I think it should be OK to allow N = 1 only for # Bloch. N > 1 || isbloch || throw(ArgumentError("length(l) = $N must be > 1 for symmetry boundary (= non-Bloch).")) # Test if c is in the range where the result is not affected by the boundary. # - For l[1:end] being the primal grid locations except for the ghost point, # - for Bloch, l[1] ≤ c < l[end], and # - for symmetry, l[2] ≤ c < l[end]. (Note the minimum boundary beng l[2], not l[1].) # - For l[1:end] being the dual grid locations except for the ghost point, # - for Bloch, l[1] ≤ c < l[end], and # - for symmetry, l[1] ≤ c < l[end]. # Therefore, only the case with the primal field type and symmetry boundary condition is # different from other cases. I will call this a case with a boundary condition # "congruent" with the field type, because it is the boundary that is effective for the # field type of interest. zeroing_bc = gt==PRIM && !isbloch indn = zeroing_bc ? 2 : 1 indp = N # Below, note that c < l[indp] is used rather than c ≤ l[indp]. If c = l[indp], then # ind₁ = findlast(x->x≤0, l.-c) is indp, and ind₂ = ind₁ + 1 is not well-defined when # indp = N. The use of c < l[indp] avoids such a case. bc_!eff = l[indn] ≤ c < l[indp] # boundary condition does not affect result if bc_!eff ind₁ = findlast(x->x≤0, l.-c) # because l is sorted and c ≥ l[1], l[1]-c ≤ 0 and thus ind₁ ≠ nothing ind₂ = ind₁ + 1 ∆c1 = c - l[ind₁] ∆lc = l[ind₂] - l[ind₁] else # boundary affects result if c < l[indn] # cannot happen for PRIM && Bloch ind₁ = indn ind₂ = N bnd = bounds[1] else # c ≥ l[indp] (not >) ind₁ = indp ind₂ = 1 bnd = bounds[2] end ∆c1 = abs(l[ind₁] - c) if gt == PRIM ∆lc = abs(l[ind₁] - bnd) else # gt == DUAL ∆lc = isbloch ? L-abs(l[ind₁]-l[ind₂]) : 2abs(l[ind₁]-bnd) end end r = ∆c1 / ∆lc # Below, scale wt₁ and wt₂ with 1-r and r, respectively, # - if c is in the region where the result is not affected by the boundary (bc_!eff), or # - even if c is in the region where the result is affected by the boundary, # - if the boundary is Bloch, or # - if the boundary is symmetry it is congruent with field type (zeroing_bc = true). wt₁ = 1.0 / ∆l[ind₁] (bc_!eff || isbloch || zeroing_bc) && (wt₁ *= 1.0-r) # Return only one weight factor # - if c is exactly at a grid point, or # - even if c is not exactly at a grid point, if it is in the region where the result is # affected by the boundary but the boundary is non-Bloch (= symmetry). if c==l[ind₁] || (!bc_!eff && !isbloch) # We want to return only one weight factor in this case, but in order to keep the # output SVec type the same (SVec{2} rather than SVec{1}), introduce a # dummy second weight factor. ind₂ = ind₁ wt₂ = 0.0 else # Return two weight factors. Make sure all the cases handled by this else block # have ind₂ defined already. wt₂ = 1.0 / ∆l[ind₂] (bc_!eff || isbloch) && (wt₂ *= r) end ind = SVec(ind₁, ind₂) wt = SVec(wt₁, wt₂) return (ind, wt) end # funciton calc_blochphase() # function j3d2j() # When defining concrete source types below, try to use the following order of arguments in # the constructor: # - geometry (e.g., direction normal to a plane) # - location (e.g., location for a point, intercept for a plane) # - polarization # - strength (e.g., current dipole, current, sheet current density) # I think I can define a "uniform source" that populates a uniform current inside a given # geometrical object specified with a GeometryPrimitives type. This can cover various # primitive source types, such as a point source, line source, and a plane source. The # source assignment function will accept a vector of sources, assign these sources similarly # as assign_param! in assignment.jl (i.e., iterate over a vector of shapes and assign points # included in each shape). A main difference is that I have to find voxels that overlap with # the shape, instead of points in the shape. Once such voxels are found, I need to assign # source current density to the edges of the voxels. (I have to think about subvoxel # smoothing in a voxel that is partially included in the shape.) # # Even more generally, I think I can create a single source that accepts a geometry and # source strength function. The uniform sources are a special case with a constant # source strength. include("pointsrc.jl") include("planesrc.jl")
[ 2, 12642, 4441, 8090, 8265, 287, 2723, 13, 20362, 739, 2723, 14, 8619, 13, 220, 8013, 257, 8265, 460, 198, 2, 307, 973, 416, 198, 2, 220, 220, 220, 2291, 7203, 10459, 14, 10459, 13, 20362, 4943, 198, 2, 220, 220, 220, 1330, 439, 357, 273, 1262, 10091, 764, 7416, 198, 2, 4091, 366, 11748, 439, 764, 14993, 2348, 70, 1, 287, 474, 43640, 12, 15, 13, 21, 14, 8692, 14, 17597, 9600, 13, 20362, 13, 198, 198, 2, 1649, 356, 1221, 1186, 1096, 257, 2723, 11, 257, 2723, 5140, 287, 262, 16654, 326, 6140, 393, 5645, 351, 257, 198, 2, 10905, 966, 318, 44491, 13, 220, 554, 884, 257, 1339, 11, 356, 423, 284, 8333, 1459, 12109, 379, 262, 10905, 198, 2, 966, 11, 543, 318, 5340, 780, 612, 318, 645, 5726, 287, 262, 1459, 12109, 7177, 326, 198, 2, 318, 8686, 284, 10905, 2173, 13, 198, 2, 198, 2, 23591, 319, 262, 18645, 4006, 11, 356, 423, 284, 5412, 884, 257, 1339, 10338, 13, 220, 39200, 198, 2, 356, 389, 840, 328, 278, 257, 966, 2723, 286, 262, 43750, 2214, 2099, 287, 262, 4571, 10730, 284, 357, 4360, 198, 2, 4622, 1497, 422, 8, 262, 18645, 13, 220, 775, 8333, 257, 6903, 286, 262, 2723, 1459, 379, 262, 198, 2, 1729, 38933, 966, 15909, 284, 262, 10905, 966, 13, 220, 383, 1808, 318, 703, 284, 5412, 262, 6903, 286, 198, 2, 262, 2723, 1459, 284, 307, 8686, 284, 262, 10905, 966, 13, 198, 2, 198, 2, 532, 1114, 1086, 5374, 11, 356, 423, 284, 8333, 257, 966, 2723, 379, 262, 1729, 38933, 966, 11188, 284, 262, 198, 2, 10905, 966, 13, 220, 5740, 326, 428, 815, 307, 38298, 284, 597, 4683, 1459, 12109, 379, 262, 198, 2, 1729, 38933, 966, 13, 220, 357, 464, 976, 3074, 355, 734, 966, 4237, 287, 19651, 10706, 20016, 25, 198, 2, 379, 262, 4888, 10706, 966, 11, 262, 9284, 422, 262, 734, 966, 4237, 389, 2087, 13, 220, 383, 198, 2, 717, 290, 938, 10706, 20016, 389, 15909, 832, 262, 1086, 5374, 18645, 4006, 2014, 198, 2, 198, 2, 532, 1114, 262, 40686, 18645, 11, 5137, 1459, 12109, 7515, 10730, 284, 262, 18645, 198, 2, 6840, 7584, 1194, 3098, 12, 1837, 3020, 19482, 1459, 12109, 7515, 379, 262, 10162, 40686, 198, 2, 2292, 13, 220, 19672, 777, 734, 1459, 12109, 6805, 389, 17338, 880, 12, 25512, 515, 198, 2, 290, 511, 9284, 466, 407, 21721, 13, 220, 2102, 11, 287, 262, 3074, 3177, 994, 11, 484, 198, 2, 389, 1682, 287, 19651, 2685, 20016, 326, 2648, 257, 966, 319, 262, 40686, 18645, 13, 198, 2, 198, 2, 1002, 257, 966, 2723, 318, 287, 257, 2685, 16654, 1022, 734, 10706, 2173, 317, 290, 347, 11, 262, 2446, 284, 198, 2, 8333, 1459, 29509, 871, 284, 317, 290, 347, 318, 262, 366, 6649, 2530, 1, 2446, 13, 220, 554, 428, 2446, 11, 5967, 262, 198, 2, 966, 2723, 4067, 2458, 11835, 422, 317, 284, 347, 13, 220, 1649, 340, 318, 3446, 379, 317, 11, 1459, 198, 2, 12109, 318, 8686, 691, 284, 317, 11, 290, 262, 14735, 449, 62, 32, 286, 262, 1459, 12109, 318, 5295, 198, 2, 416, 27241, 262, 1459, 286, 262, 966, 2723, 416, 262, 10706, 2685, 1989, 12030, 416, 317, 13, 220, 775, 460, 198, 2, 12470, 15284, 262, 1459, 12109, 449, 62, 33, 284, 8333, 284, 347, 287, 262, 1339, 810, 262, 966, 198, 2, 2723, 318, 3446, 379, 347, 13, 220, 357, 6425, 326, 449, 62, 32, 15139, 254, 449, 62, 33, 287, 2276, 772, 996, 262, 1459, 286, 262, 198, 2, 966, 2723, 318, 262, 976, 11, 780, 262, 1989, 12030, 416, 317, 290, 347, 460, 307, 1180, 611, 262, 198, 2, 10706, 318, 1729, 403, 6933, 2014, 220, 2735, 11, 611, 262, 966, 2723, 4067, 2458, 11835, 422, 317, 284, 347, 11, 262, 198, 2, 1459, 12109, 284, 8333, 284, 317, 815, 10070, 9493, 11458, 422, 449, 62, 32, 284, 657, 11, 290, 262, 1459, 198, 2, 12109, 284, 8333, 284, 347, 815, 2620, 9493, 11458, 422, 657, 284, 449, 62, 33, 13, 220, 8447, 11, 611, 262, 966, 198, 2, 2723, 318, 5140, 1022, 317, 290, 347, 884, 326, 262, 8064, 286, 262, 18868, 284, 317, 290, 347, 318, 198, 2, 2124, 37498, 16, 12, 87, 828, 788, 262, 1459, 29509, 871, 284, 8333, 284, 317, 290, 347, 815, 307, 449, 62, 32, 1635, 357, 16, 12, 87, 8, 290, 449, 62, 33, 1635, 2124, 11, 198, 2, 8148, 13, 220, 5740, 326, 777, 4329, 449, 62, 32, 290, 657, 329, 2124, 796, 657, 357, 12518, 262, 966, 2723, 318, 379, 317, 8, 198, 2, 290, 657, 290, 449, 62, 33, 329, 2124, 796, 352, 357, 12518, 262, 966, 2723, 318, 379, 347, 737, 198, 2, 198, 2, 383, 3074, 286, 262, 40686, 18645, 4006, 6693, 2961, 11, 810, 262, 734, 966, 198, 2, 4237, 351, 6697, 11678, 389, 4624, 379, 262, 10162, 40686, 7064, 1088, 262, 198, 2, 40686, 18645, 11, 460, 307, 1807, 286, 355, 38875, 262, 1459, 29509, 871, 329, 262, 734, 198, 2, 1981, 966, 4237, 1262, 262, 2029, 3417, 8364, 13, 220, 5740, 326, 355, 262, 734, 966, 198, 2, 4237, 3164, 284, 262, 40686, 18645, 11, 262, 16690, 286, 262, 734, 966, 4237, 6, 28629, 198, 2, 8686, 379, 262, 4888, 966, 319, 262, 18645, 3446, 14241, 1123, 584, 13, 220, 8447, 11, 356, 198, 2, 1464, 8333, 6632, 1459, 12109, 319, 262, 10905, 966, 11, 543, 318, 379, 262, 40686, 18645, 13, 198, 2, 770, 1838, 514, 284, 2391, 8856, 840, 328, 278, 1459, 12109, 284, 262, 966, 319, 262, 40686, 198, 2, 18645, 13, 220, 383, 6903, 286, 262, 2472, 1459, 284, 8333, 284, 262, 10706, 966, 15909, 198, 2, 284, 262, 40686, 18645, 318, 355, 6678, 11, 290, 428, 6903, 4329, 6632, 355, 262, 966, 2723, 198, 2, 10581, 262, 40686, 18645, 13, 220, 770, 1838, 2565, 11, 780, 611, 262, 966, 2723, 318, 198, 2, 3446, 319, 262, 40686, 18645, 11, 852, 10730, 284, 262, 18645, 11, 788, 612, 1276, 307, 645, 198, 2, 1459, 287, 262, 1080, 379, 477, 13, 198, 2, 198, 2, 198, 2, 198, 2, 2735, 11, 2074, 16237, 286, 257, 966, 2723, 11188, 284, 262, 10668, 2214, 10730, 284, 262, 198, 2, 18645, 13, 220, 1114, 1086, 5374, 11, 356, 5120, 12470, 13, 220, 1114, 262, 40686, 18645, 11, 783, 262, 2939, 198, 2, 2723, 1234, 2157, 262, 18645, 318, 287, 262, 976, 4571, 355, 262, 2656, 2723, 287, 262, 198, 2, 7386, 13, 220, 4418, 11, 618, 262, 2723, 318, 17338, 1969, 284, 262, 18645, 11, 262, 4036, 290, 198, 2, 2939, 4237, 389, 287, 257, 2060, 10668, 10706, 2685, 16654, 11, 3025, 220, 262, 3504, 966, 318, 262, 198, 2, 18645, 966, 290, 262, 886, 2173, 389, 10668, 10706, 2173, 11, 543, 389, 6412, 284, 355, 317, 290, 347, 198, 2, 355, 878, 329, 15607, 2174, 11, 2427, 286, 262, 734, 15909, 2685, 20016, 13, 220, 39200, 317, 318, 198, 2, 1626, 262, 7386, 290, 347, 318, 2354, 262, 7386, 13, 220, 775, 836, 470, 423, 284, 8333, 257, 6903, 286, 262, 198, 2, 2472, 1459, 286, 262, 1103, 966, 2723, 284, 347, 6731, 11, 543, 318, 2157, 262, 40686, 198, 2, 18645, 25, 428, 318, 1223, 6338, 1760, 416, 20814, 40686, 13, 220, 2102, 11, 611, 262, 198, 2, 2939, 966, 2723, 4683, 2157, 262, 40686, 18645, 46974, 617, 6903, 286, 663, 2472, 198, 2, 1459, 284, 317, 11, 543, 318, 1626, 262, 7386, 11, 326, 1276, 307, 8686, 6731, 13, 198, 2, 198, 2, 4362, 262, 734, 966, 4237, 389, 379, 10162, 12, 1837, 3020, 19482, 7064, 11, 262, 7741, 287, 262, 198, 2, 2033, 286, 262, 1459, 8686, 284, 317, 416, 262, 966, 2723, 3867, 1497, 422, 317, 3371, 262, 198, 2, 40686, 18645, 318, 3446, 34304, 416, 262, 2620, 287, 262, 2033, 286, 262, 1459, 198, 2, 8686, 284, 317, 416, 262, 2939, 966, 2723, 284, 262, 40686, 18645, 422, 2157, 262, 18645, 13, 198, 2, 8447, 11, 262, 2010, 1245, 318, 262, 6937, 2033, 286, 1459, 840, 328, 437, 284, 262, 10668, 10706, 198, 2, 966, 11, 645, 2300, 810, 262, 966, 2723, 318, 5140, 2641, 428, 2685, 16654, 7268, 198, 2, 262, 40686, 18645, 13, 628, 198, 2, 5740, 326, 356, 761, 284, 1104, 1111, 3852, 290, 449, 76, 284, 6537, 555, 312, 4154, 282, 4237, 13, 198, 198, 39344, 8090, 198, 39344, 751, 62, 10677, 0, 198, 198, 397, 8709, 2099, 8090, 90, 42, 11, 42, 69, 92, 886, 220, 1303, 509, 25, 5485, 15793, 26, 509, 69, 25, 2214, 15793, 198, 198, 2860, 62, 10677, 0, 7, 73, 42, 67, 3712, 24849, 3163, 81, 15057, 11, 308, 83, 158, 224, 222, 3712, 24849, 53, 721, 90, 41339, 6030, 5512, 22303, 3712, 51, 29291, 17, 90, 24849, 53, 721, 15633, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 300, 3712, 51, 29291, 17, 90, 11251, 29291, 90, 42, 11, 24849, 53, 721, 15633, 92, 5512, 18872, 228, 75, 3712, 51, 29291, 17, 90, 11251, 29291, 90, 42, 11, 24849, 53, 721, 15633, 92, 5512, 198, 220, 220, 220, 220, 220, 220, 220, 220, 318, 2436, 5374, 3712, 24849, 53, 721, 33, 970, 11, 12351, 82, 3712, 7416, 23029, 810, 1391, 42, 92, 796, 198, 220, 220, 220, 751, 62, 10677, 0, 7, 73, 42, 67, 11, 20546, 721, 90, 42, 92, 7, 13655, 158, 224, 222, 828, 357, 22468, 12195, 75, 58, 77, 4805, 46570, 22468, 12195, 75, 58, 77, 19260, 12962, 828, 357, 22468, 12195, 24861, 228, 75, 58, 77, 4805, 46570, 12178, 12195, 24861, 228, 75, 58, 77, 19260, 12962, 828, 20546, 721, 90, 42, 92, 7, 271, 2436, 5374, 828, 12351, 82, 23029, 198, 198, 2, 7994, 262, 12123, 286, 308, 83, 62, 48991, 198, 2, 554, 262, 10017, 7822, 286, 751, 62, 10677, 0, 3419, 329, 1123, 10017, 8090, 2099, 11, 308, 83, 62, 48991, 11, 543, 198, 2, 318, 262, 10706, 2099, 286, 262, 449, 2214, 7515, 284, 900, 510, 357, 48126, 8203, 416, 262, 198, 2, 299, 86, 12, 42895, 8, 318, 5295, 416, 198, 2, 198, 2, 220, 220, 220, 220, 308, 83, 62, 48991, 796, 12351, 13, 271, 3245, 135, 242, 1477, 79, 5633, 308, 83, 158, 224, 222, 1058, 308, 83, 62, 86, 7, 47516, 11, 308, 83, 158, 224, 222, 8, 198, 2, 198, 2, 308, 83, 62, 48991, 318, 973, 284, 7330, 262, 7064, 286, 262, 2214, 416, 198, 2, 198, 2, 220, 220, 220, 220, 300, 48991, 796, 256, 62, 521, 7, 75, 11, 308, 83, 62, 48991, 8, 198, 2, 198, 2, 1406, 11, 1521, 466, 356, 3853, 308, 83, 158, 224, 222, 618, 262, 2214, 850, 13200, 318, 29617, 519, 20996, 284, 262, 5485, 850, 13200, 30, 198, 2, 198, 2, 308, 83, 158, 224, 222, 6870, 262, 10706, 2099, 286, 262, 14371, 286, 575, 1453, 338, 410, 1140, 417, 3025, 13015, 389, 13160, 286, 262, 198, 2, 2214, 3951, 13, 220, 383, 266, 12, 42895, 286, 262, 2214, 318, 5140, 257, 2063, 10706, 966, 1497, 422, 777, 198, 2, 410, 1140, 417, 14371, 1863, 262, 266, 12, 37295, 13, 220, 770, 4286, 8477, 703, 284, 5004, 308, 83, 62, 48991, 618, 198, 2, 262, 2214, 850, 13200, 318, 4961, 284, 262, 5485, 850, 13200, 13, 198, 2, 198, 2, 2102, 11, 618, 262, 2214, 850, 13200, 318, 29617, 519, 20996, 284, 262, 5485, 850, 13200, 11, 262, 2063, 10706, 966, 198, 2, 6482, 284, 4174, 284, 262, 266, 12, 42895, 8833, 287, 262, 4571, 3487, 284, 262, 5485, 850, 13200, 13, 198, 2, 17159, 326, 4571, 11, 262, 10706, 3951, 389, 407, 5447, 11, 780, 300, 318, 5447, 287, 262, 5485, 198, 2, 850, 13200, 13, 220, 8447, 11, 262, 2063, 10706, 966, 6482, 857, 407, 423, 597, 1245, 287, 13213, 198, 2, 262, 7064, 286, 262, 266, 12, 42895, 11, 290, 356, 460, 779, 308, 83, 158, 224, 222, 355, 262, 10706, 2099, 287, 13213, 262, 198, 2, 2214, 7064, 13, 198, 2, 198, 2, 1114, 1672, 11, 554, 262, 13368, 16022, 11, 262, 2214, 850, 13200, 329, 262, 367, 12, 3245, 318, 262, 1976, 12, 37295, 290, 198, 2, 262, 5485, 850, 13200, 318, 262, 2124, 88, 12, 14382, 13, 220, 1649, 262, 18645, 2214, 3858, 389, 262, 412, 12, 3245, 2099, 198, 2, 329, 1111, 262, 2124, 12, 290, 331, 12, 12942, 507, 11, 308, 83, 158, 224, 222, 329, 262, 367, 12, 3245, 357, 7399, 8, 318, 685, 35, 25620, 11, 35, 25620, 4083, 220, 775, 460, 779, 198, 2, 685, 35, 25620, 11, 35, 25620, 60, 287, 13213, 262, 2124, 88, 12, 17946, 602, 286, 262, 367, 12, 3245, 11, 355, 262, 2063, 10706, 966, 6482, 198, 2, 1863, 262, 1976, 12, 37295, 329, 262, 367, 12, 3245, 857, 407, 2689, 262, 7064, 286, 262, 367, 12, 3245, 13, 198, 8818, 751, 62, 10677, 0, 7, 73, 42, 67, 3712, 24849, 3163, 81, 15057, 90, 42, 158, 224, 232, 158, 224, 223, 5512, 220, 1303, 357, 42, 10, 16, 13219, 19577, 7177, 286, 3852, 357, 31067, 8, 393, 449, 76, 357, 19726, 9833, 1776, 717, 509, 15225, 11986, 4067, 26, 938, 352, 15793, 11986, 2214, 7515, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 83, 158, 224, 222, 3712, 50, 53, 721, 90, 42, 11, 41339, 6030, 5512, 220, 1303, 10706, 2099, 286, 410, 1140, 417, 14371, 26, 7560, 416, 10117, 17, 13655, 12195, 701, 11, 5421, 701, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22303, 3712, 51, 29291, 17, 90, 20802, 5439, 265, 90, 42, 92, 5512, 220, 1303, 22303, 58, 45, 7156, 7131, 74, 60, 796, 18645, 286, 7386, 379, 4633, 886, 287, 479, 12, 37295, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 3712, 51, 29291, 17, 90, 11251, 29291, 90, 42, 11, 53, 721, 43879, 92, 5512, 220, 1303, 300, 58, 4805, 3955, 7131, 74, 60, 796, 43750, 37423, 7064, 287, 479, 12, 37295, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 75, 3712, 51, 29291, 17, 90, 11251, 29291, 90, 42, 11, 53, 721, 43879, 92, 5512, 220, 1303, 18872, 228, 75, 58, 4805, 3955, 7131, 74, 60, 796, 357, 24861, 228, 75, 379, 43750, 9421, 1063, 287, 266, 8, 6624, 814, 7, 75, 58, 35, 25620, 7131, 74, 60, 1390, 10905, 966, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 2436, 5374, 3712, 16811, 970, 90, 42, 5512, 220, 1303, 1086, 5374, 18645, 3403, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12351, 3712, 7416, 90, 42, 11, 42, 69, 92, 986, 220, 1303, 4237, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 810, 1391, 42, 11, 42, 158, 224, 232, 158, 224, 223, 11, 42, 69, 92, 198, 220, 220, 220, 329, 12351, 796, 12351, 82, 198, 220, 220, 220, 220, 220, 220, 220, 751, 62, 10677, 0, 7, 73, 18, 67, 11, 10117, 11, 5421, 701, 11, 22303, 11, 300, 11, 18872, 228, 75, 11, 318, 2436, 5374, 11, 12351, 8, 198, 220, 220, 220, 886, 198, 437, 198, 198, 2, 314, 714, 423, 5447, 1233, 43775, 351, 517, 12531, 306, 25683, 7159, 11, 884, 355, 269, 3712, 15633, 11, 198, 2, 22303, 3712, 24849, 53, 721, 15633, 11, 300, 3712, 24849, 53, 721, 15633, 11, 18872, 228, 75, 3712, 24849, 53, 721, 15633, 11, 290, 423, 1309, 262, 2099, 32278, 1080, 198, 2, 2251, 1233, 43775, 329, 1123, 7310, 900, 286, 3858, 13, 220, 2102, 11, 788, 314, 2314, 1630, 262, 198, 2, 4069, 286, 262, 2163, 7138, 11, 780, 262, 734, 3146, 973, 287, 7297, 714, 307, 198, 2, 18253, 393, 12178, 13, 220, 8447, 11, 314, 3494, 262, 9720, 329, 257, 2176, 2099, 1568, 11, 290, 994, 314, 198, 2, 8160, 257, 29908, 326, 26161, 262, 7159, 656, 883, 2176, 2099, 13, 198, 2, 198, 2, 6023, 4621, 286, 428, 3164, 318, 326, 772, 996, 1811, 1180, 6300, 286, 262, 198, 2, 29908, 481, 307, 7560, 11, 262, 9720, 481, 307, 7560, 691, 1752, 329, 262, 2176, 2099, 13, 198, 2, 770, 1838, 262, 2033, 286, 14102, 2438, 10926, 13, 198, 2, 198, 2, 5740, 326, 262, 3074, 994, 318, 257, 1643, 1180, 422, 2251, 62, 66, 6371, 13, 220, 1318, 11, 314, 2227, 284, 198, 2, 2251, 257, 29249, 10088, 286, 13238, 429, 3858, 11, 884, 355, 48436, 11, 19157, 37, 11, 290, 772, 2558, 13, 220, 8447, 11, 198, 2, 314, 550, 284, 1249, 5270, 286, 1180, 9720, 2438, 329, 1180, 4578, 3858, 13, 198, 17080, 43775, 7, 66, 3712, 15633, 11, 308, 83, 3712, 41339, 6030, 11, 22303, 3712, 24849, 53, 721, 15633, 11, 300, 3712, 24849, 53, 721, 15633, 11, 18872, 228, 75, 3712, 24849, 53, 721, 15633, 11, 318, 2436, 5374, 3712, 33, 970, 8, 796, 198, 220, 220, 220, 1233, 43775, 7, 22468, 7, 66, 828, 308, 83, 11, 14362, 5439, 265, 90, 17, 92, 7, 65, 3733, 828, 12178, 7, 75, 828, 12178, 7, 24861, 228, 75, 828, 318, 2436, 5374, 8, 198, 198, 2, 554, 257, 1813, 13690, 35610, 4571, 11, 611, 262, 2723, 318, 5140, 1022, 734, 10706, 2173, 11, 198, 2, 15284, 262, 19590, 284, 14983, 625, 262, 734, 2173, 13, 220, 383, 5072, 318, 287, 262, 1296, 286, 198, 2, 29565, 521, 158, 224, 223, 11, 773, 158, 224, 224, 4357, 685, 46569, 158, 224, 223, 11, 266, 83, 158, 224, 224, 46570, 810, 266, 83, 158, 224, 244, 318, 262, 3463, 8686, 284, 262, 10706, 966, 379, 773, 158, 224, 244, 13, 198, 2, 5740, 326, 262, 3518, 15793, 286, 262, 3463, 318, 352, 29006, 13664, 737, 198, 2, 198, 2, 1002, 262, 2723, 318, 4624, 3446, 379, 530, 10706, 966, 11, 3463, 6082, 318, 13114, 290, 198, 2, 262, 5072, 45104, 773, 158, 224, 224, 796, 773, 158, 224, 223, 290, 266, 83, 158, 224, 224, 796, 657, 13, 220, 5740, 326, 262, 5072, 2099, 3793, 262, 976, 198, 2, 355, 878, 11, 543, 318, 257, 4465, 3895, 329, 16937, 2099, 10159, 286, 262, 2163, 4585, 198, 2, 428, 2163, 13, 198, 2, 198, 2, 770, 2163, 2499, 329, 1111, 36211, 290, 1007, 690, 282, 1221, 1186, 1634, 351, 2461, 284, 198, 2, 42704, 13, 220, 24262, 11, 262, 9110, 286, 262, 18645, 3403, 6693, 379, 262, 198, 2, 3726, 286, 428, 2393, 2499, 329, 1111, 2663, 13, 220, 1114, 1672, 11, 11691, 356, 389, 25950, 198, 2, 1863, 262, 2124, 12, 25928, 281, 5186, 1459, 2723, 13, 220, 1114, 1086, 5374, 11, 340, 318, 3489, 326, 1111, 198, 2, 13559, 4582, 389, 5716, 8603, 13, 220, 1114, 262, 40686, 18645, 4006, 11, 356, 460, 5412, 198, 2, 1111, 42704, 351, 262, 976, 2438, 416, 13213, 1771, 262, 18645, 4006, 318, 198, 2, 366, 22570, 278, 1, 262, 2723, 319, 262, 18645, 393, 407, 13, 220, 22426, 11, 262, 6632, 278, 18645, 4006, 198, 2, 318, 5447, 355, 5679, 357, 3826, 262, 6770, 286, 4600, 22570, 278, 62, 15630, 63, 287, 262, 2163, 6770, 355, 198, 2, 880, 2599, 198, 2, 532, 611, 262, 18645, 4006, 318, 6632, 278, 262, 2723, 11, 262, 2723, 1234, 3675, 262, 18645, 318, 198, 2, 1885, 13560, 3020, 19482, 284, 262, 2723, 1234, 1626, 262, 18645, 11, 523, 262, 734, 4237, 389, 2208, 29813, 198, 2, 15256, 2280, 319, 262, 18645, 357, 11295, 262, 734, 4237, 389, 287, 15909, 4778, 828, 290, 198, 2, 532, 611, 262, 18645, 4006, 318, 407, 6632, 278, 262, 2723, 11, 262, 2723, 1234, 3675, 262, 18645, 198, 2, 318, 23606, 19482, 284, 262, 2723, 1234, 1626, 262, 18645, 11, 523, 262, 734, 4237, 389, 2208, 29813, 198, 2, 5678, 2280, 319, 262, 18645, 357, 11295, 262, 734, 4237, 389, 287, 262, 976, 2685, 737, 198, 2, 198, 2, 8447, 11, 198, 2, 532, 1114, 449, 88, 290, 449, 89, 357, 1845, 29363, 284, 262, 2124, 12, 7784, 560, 828, 262, 6632, 278, 18645, 4006, 318, 262, 198, 2, 23606, 19482, 412, 12, 3245, 18645, 4006, 13, 220, 4362, 262, 2124, 12, 24886, 286, 449, 88, 290, 449, 89, 318, 262, 412, 12, 3245, 198, 2, 10706, 4067, 11, 356, 760, 326, 257, 23606, 19482, 18645, 318, 262, 412, 12, 3245, 18645, 611, 262, 2124, 12, 24886, 198, 2, 286, 449, 88, 290, 449, 89, 389, 43750, 13, 198, 2, 532, 1114, 449, 87, 357, 11265, 284, 262, 2124, 12, 7784, 560, 828, 262, 6632, 278, 18645, 4006, 318, 262, 23606, 19482, 198, 2, 367, 12, 3245, 18645, 4006, 13, 220, 4362, 262, 2124, 12, 24886, 286, 449, 87, 318, 262, 367, 12, 3245, 10706, 4067, 11, 356, 198, 2, 760, 757, 326, 257, 23606, 19482, 18645, 318, 262, 367, 12, 3245, 18645, 611, 262, 2124, 12, 24886, 286, 449, 87, 318, 198, 2, 43750, 13, 198, 2, 198, 2, 5740, 326, 7692, 286, 262, 42704, 286, 262, 2723, 11, 262, 18645, 4006, 318, 6632, 278, 198, 2, 611, 262, 4067, 2099, 318, 43750, 13, 198, 2, 198, 2, 554, 262, 7822, 11, 7048, 326, 262, 2723, 366, 8367, 1, 284, 14983, 318, 1223, 326, 857, 198, 2, 407, 1487, 351, 1221, 1186, 1634, 357, 68, 13, 70, 1539, 5121, 286, 257, 966, 2723, 290, 509, 286, 257, 6614, 2723, 737, 220, 383, 198, 2, 4504, 19590, 389, 262, 5087, 284, 29162, 284, 428, 2723, 1988, 13, 198, 2, 198, 2, 1649, 25950, 257, 2723, 1022, 734, 2173, 319, 262, 6697, 5389, 286, 262, 1086, 5374, 18645, 11, 198, 2, 262, 1086, 5374, 7108, 5766, 318, 407, 33096, 13, 383, 2723, 356, 389, 2111, 284, 14983, 416, 428, 198, 2, 2163, 318, 257, 25979, 12, 8818, 12, 2339, 2723, 287, 262, 16488, 286, 9110, 357, 68, 13, 70, 1539, 16488, 3487, 198, 2, 284, 257, 6614, 2723, 737, 220, 632, 5300, 257, 1643, 6283, 284, 13551, 7108, 3580, 1022, 644, 547, 198, 2, 6198, 257, 2060, 966, 13, 220, 4418, 11, 314, 892, 340, 561, 307, 881, 4577, 284, 29162, 262, 1086, 5374, 198, 2, 7108, 5087, 284, 262, 2104, 513, 35, 7177, 286, 2723, 618, 477, 262, 4237, 389, 8686, 290, 198, 2, 6105, 9387, 351, 3463, 5087, 13, 220, 1320, 835, 11, 356, 836, 470, 423, 284, 3494, 198, 2, 48473, 286, 262, 1086, 5374, 7108, 5087, 287, 790, 2723, 2099, 13, 220, 2102, 11, 428, 2551, 198, 2, 460, 1487, 1568, 611, 2622, 13, 198, 8818, 1233, 43775, 7, 66, 3712, 43879, 11, 220, 1303, 4067, 286, 966, 357, 66, 1724, 3641, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 83, 3712, 41339, 6030, 11, 220, 1303, 2099, 286, 262, 10706, 13016, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22303, 3712, 20802, 5439, 265, 90, 17, 5512, 220, 1303, 685, 75, 12480, 11, 300, 1930, 5974, 4633, 12, 290, 3967, 12, 437, 13215, 286, 7386, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 3712, 24849, 53, 721, 43879, 11, 220, 1303, 4067, 286, 10706, 13016, 1231, 10905, 2173, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 75, 3712, 24849, 53, 721, 43879, 11, 220, 1303, 2546, 286, 10706, 2685, 19254, 379, 300, 357, 1662, 300, 70, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 2436, 5374, 3712, 33, 970, 8, 220, 1303, 18645, 4006, 198, 220, 220, 220, 22303, 58, 16, 60, 35705, 97, 66, 35705, 97, 65, 3733, 58, 17, 60, 8614, 3714, 7, 28100, 1713, 12331, 7203, 66, 796, 720, 66, 1276, 307, 1626, 22303, 796, 720, 65, 3733, 526, 4008, 628, 220, 220, 220, 406, 796, 22303, 58, 17, 60, 532, 22303, 58, 16, 60, 198, 220, 220, 220, 399, 796, 4129, 7, 75, 8, 628, 220, 220, 220, 1303, 10383, 11, 644, 611, 399, 796, 352, 30, 220, 314, 892, 399, 796, 352, 481, 670, 3734, 329, 1086, 5374, 11, 329, 543, 773, 77, 796, 773, 79, 198, 220, 220, 220, 1303, 796, 352, 290, 4361, 262, 10156, 422, 773, 77, 290, 773, 79, 481, 307, 2087, 287, 2723, 7177, 198, 220, 220, 220, 1303, 5103, 11, 290, 329, 262, 40686, 18645, 326, 318, 753, 506, 622, 298, 351, 262, 2214, 2099, 11, 198, 220, 220, 220, 1303, 329, 543, 773, 77, 796, 773, 79, 796, 352, 757, 475, 691, 773, 77, 481, 307, 3177, 290, 262, 1459, 198, 220, 220, 220, 1303, 12109, 284, 900, 481, 3520, 6937, 7692, 286, 262, 2723, 2292, 986, 16314, 11, 356, 423, 198, 220, 220, 220, 1303, 10156, 422, 1111, 13215, 287, 428, 1339, 11, 523, 3863, 356, 815, 2074, 530, 1103, 198, 220, 220, 220, 1303, 966, 2723, 290, 734, 26726, 966, 4237, 986, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 21836, 11, 314, 892, 262, 1388, 1738, 284, 779, 399, 796, 352, 318, 329, 362, 35, 18640, 11, 290, 287, 326, 1339, 198, 220, 220, 220, 1303, 356, 779, 1086, 5374, 287, 326, 4571, 13, 220, 1406, 11, 314, 892, 340, 815, 307, 7477, 284, 1249, 399, 796, 352, 691, 329, 198, 220, 220, 220, 1303, 1086, 5374, 13, 198, 220, 220, 220, 399, 1875, 352, 8614, 318, 2436, 5374, 8614, 3714, 7, 28100, 1713, 12331, 7203, 13664, 7, 75, 8, 796, 720, 45, 1276, 307, 1875, 352, 329, 40686, 18645, 46121, 1729, 12, 3629, 5374, 21387, 4008, 628, 220, 220, 220, 1303, 6208, 611, 269, 318, 287, 262, 2837, 810, 262, 1255, 318, 407, 5676, 416, 262, 18645, 13, 198, 220, 220, 220, 1303, 532, 1114, 300, 58, 16, 25, 437, 60, 852, 262, 43750, 10706, 7064, 2845, 329, 262, 10905, 966, 11, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 329, 1086, 5374, 11, 300, 58, 16, 60, 41305, 269, 1279, 300, 58, 437, 4357, 290, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 329, 40686, 11, 300, 58, 17, 60, 41305, 269, 1279, 300, 58, 437, 4083, 220, 357, 6425, 262, 5288, 18645, 275, 1516, 300, 58, 17, 4357, 407, 300, 58, 16, 60, 2014, 198, 220, 220, 220, 1303, 532, 1114, 300, 58, 16, 25, 437, 60, 852, 262, 10668, 10706, 7064, 2845, 329, 262, 10905, 966, 11, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 329, 1086, 5374, 11, 300, 58, 16, 60, 41305, 269, 1279, 300, 58, 437, 4357, 290, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 329, 40686, 11, 300, 58, 16, 60, 41305, 269, 1279, 300, 58, 437, 4083, 198, 220, 220, 220, 1303, 8447, 11, 691, 262, 1339, 351, 262, 43750, 2214, 2099, 290, 40686, 18645, 4006, 318, 198, 220, 220, 220, 1303, 1180, 422, 584, 2663, 13, 220, 314, 481, 869, 428, 257, 1339, 351, 257, 18645, 4006, 198, 220, 220, 220, 1303, 366, 36801, 622, 298, 1, 351, 262, 2214, 2099, 11, 780, 340, 318, 262, 18645, 326, 318, 4050, 329, 262, 198, 220, 220, 220, 1303, 2214, 2099, 286, 1393, 13, 198, 220, 220, 220, 6632, 278, 62, 15630, 796, 308, 83, 855, 4805, 3955, 11405, 5145, 271, 2436, 5374, 198, 220, 220, 220, 773, 77, 796, 6632, 278, 62, 15630, 5633, 362, 1058, 352, 198, 220, 220, 220, 773, 79, 796, 399, 628, 220, 220, 220, 1303, 10383, 11, 3465, 326, 269, 1279, 300, 58, 521, 79, 60, 318, 973, 2138, 621, 269, 41305, 300, 58, 521, 79, 4083, 220, 1002, 269, 796, 300, 58, 521, 79, 4357, 788, 198, 220, 220, 220, 1303, 773, 158, 224, 223, 796, 1064, 12957, 7, 87, 3784, 87, 35705, 97, 15, 11, 300, 7874, 66, 8, 318, 773, 79, 11, 290, 773, 158, 224, 224, 796, 773, 158, 224, 223, 1343, 352, 318, 407, 880, 12, 23211, 618, 198, 220, 220, 220, 1303, 773, 79, 796, 399, 13, 220, 383, 779, 286, 269, 1279, 300, 58, 521, 79, 60, 30940, 884, 257, 1339, 13, 198, 220, 220, 220, 47125, 62, 0, 14822, 796, 300, 58, 521, 77, 60, 41305, 269, 1279, 300, 58, 521, 79, 60, 220, 1303, 18645, 4006, 857, 407, 2689, 1255, 198, 220, 220, 220, 611, 47125, 62, 0, 14822, 198, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 223, 796, 1064, 12957, 7, 87, 3784, 87, 35705, 97, 15, 11, 300, 7874, 66, 8, 220, 1303, 780, 300, 318, 23243, 290, 269, 26870, 300, 58, 16, 4357, 300, 58, 16, 45297, 66, 41305, 657, 290, 4145, 773, 158, 224, 223, 15139, 254, 2147, 198, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 224, 796, 773, 158, 224, 223, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 66, 16, 796, 269, 532, 300, 58, 521, 158, 224, 223, 60, 198, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 44601, 796, 300, 58, 521, 158, 224, 224, 60, 532, 300, 58, 521, 158, 224, 223, 60, 198, 220, 220, 220, 2073, 220, 1303, 18645, 10975, 1255, 198, 220, 220, 220, 220, 220, 220, 220, 611, 269, 1279, 300, 58, 521, 77, 60, 220, 1303, 2314, 1645, 329, 4810, 3955, 11405, 1086, 5374, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 223, 796, 773, 77, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 224, 796, 399, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 358, 796, 22303, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 1303, 269, 26870, 300, 58, 521, 79, 60, 357, 1662, 1875, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 223, 796, 773, 79, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 224, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 358, 796, 22303, 58, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 886, 628, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 66, 16, 796, 2352, 7, 75, 58, 521, 158, 224, 223, 60, 532, 269, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 308, 83, 6624, 4810, 3955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 44601, 796, 2352, 7, 75, 58, 521, 158, 224, 223, 60, 532, 275, 358, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 220, 1303, 308, 83, 6624, 360, 25620, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18872, 228, 44601, 796, 318, 2436, 5374, 5633, 406, 12, 8937, 7, 75, 58, 521, 158, 224, 223, 45297, 75, 58, 521, 158, 224, 224, 12962, 1058, 362, 8937, 7, 75, 58, 521, 158, 224, 223, 45297, 65, 358, 8, 198, 220, 220, 220, 220, 220, 220, 220, 886, 198, 220, 220, 220, 886, 628, 220, 220, 220, 374, 796, 18872, 228, 66, 16, 1220, 18872, 228, 44601, 628, 220, 220, 220, 1303, 10383, 11, 5046, 266, 83, 158, 224, 223, 290, 266, 83, 158, 224, 224, 351, 352, 12, 81, 290, 374, 11, 8148, 11, 198, 220, 220, 220, 1303, 532, 611, 269, 318, 287, 262, 3814, 810, 262, 1255, 318, 407, 5676, 416, 262, 18645, 357, 15630, 62, 0, 14822, 828, 393, 198, 220, 220, 220, 1303, 532, 772, 611, 269, 318, 287, 262, 3814, 810, 262, 1255, 318, 5676, 416, 262, 18645, 11, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 611, 262, 18645, 318, 1086, 5374, 11, 393, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 220, 220, 532, 611, 262, 18645, 318, 40686, 340, 318, 369, 48929, 298, 351, 2214, 2099, 357, 22570, 278, 62, 15630, 796, 2081, 737, 198, 220, 220, 220, 266, 83, 158, 224, 223, 796, 352, 13, 15, 1220, 18872, 228, 75, 58, 521, 158, 224, 223, 60, 198, 220, 220, 220, 357, 15630, 62, 0, 14822, 8614, 318, 2436, 5374, 8614, 6632, 278, 62, 15630, 8, 11405, 357, 46569, 158, 224, 223, 1635, 28, 352, 13, 15, 12, 81, 8, 628, 220, 220, 220, 1303, 8229, 691, 530, 3463, 5766, 198, 220, 220, 220, 1303, 532, 611, 269, 318, 3446, 379, 257, 10706, 966, 11, 393, 198, 220, 220, 220, 1303, 532, 772, 611, 269, 318, 407, 3446, 379, 257, 10706, 966, 11, 611, 340, 318, 287, 262, 3814, 810, 262, 1255, 318, 198, 220, 220, 220, 1303, 5676, 416, 262, 18645, 475, 262, 18645, 318, 1729, 12, 3629, 5374, 46121, 40686, 737, 198, 220, 220, 220, 611, 269, 855, 75, 58, 521, 158, 224, 223, 60, 8614, 22759, 15630, 62, 0, 14822, 11405, 5145, 271, 2436, 5374, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 765, 284, 1441, 691, 530, 3463, 5766, 287, 428, 1339, 11, 475, 287, 1502, 284, 1394, 262, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5072, 20546, 721, 2099, 262, 976, 357, 50, 53, 721, 90, 17, 92, 2138, 621, 20546, 721, 90, 16, 92, 828, 10400, 257, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 31548, 1218, 3463, 5766, 13, 198, 220, 220, 220, 220, 220, 220, 220, 773, 158, 224, 224, 796, 773, 158, 224, 223, 198, 220, 220, 220, 220, 220, 220, 220, 266, 83, 158, 224, 224, 796, 657, 13, 15, 198, 220, 220, 220, 2073, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8229, 734, 3463, 5087, 13, 220, 6889, 1654, 477, 262, 2663, 12118, 416, 428, 2073, 2512, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 423, 773, 158, 224, 224, 5447, 1541, 13, 198, 220, 220, 220, 220, 220, 220, 220, 266, 83, 158, 224, 224, 796, 352, 13, 15, 1220, 18872, 228, 75, 58, 521, 158, 224, 224, 60, 198, 220, 220, 220, 220, 220, 220, 220, 357, 15630, 62, 0, 14822, 8614, 318, 2436, 5374, 8, 11405, 357, 46569, 158, 224, 224, 1635, 28, 374, 8, 198, 220, 220, 220, 886, 628, 220, 220, 220, 773, 796, 20546, 721, 7, 521, 158, 224, 223, 11, 773, 158, 224, 224, 8, 198, 220, 220, 220, 266, 83, 796, 20546, 721, 7, 46569, 158, 224, 223, 11, 266, 83, 158, 224, 224, 8, 628, 220, 220, 220, 1441, 357, 521, 11, 266, 83, 8, 198, 437, 198, 198, 2, 25439, 37752, 42302, 62, 2436, 5374, 40715, 3419, 198, 2, 2163, 474, 18, 67, 17, 73, 3419, 198, 198, 2, 1649, 16215, 10017, 2723, 3858, 2174, 11, 1949, 284, 779, 262, 1708, 1502, 286, 7159, 287, 198, 2, 262, 23772, 25, 198, 2, 532, 22939, 357, 68, 13, 70, 1539, 4571, 3487, 284, 257, 6614, 8, 198, 2, 532, 4067, 357, 68, 13, 70, 1539, 4067, 329, 257, 966, 11, 15788, 329, 257, 6614, 8, 198, 2, 532, 42704, 198, 2, 532, 4202, 357, 68, 13, 70, 1539, 1459, 19550, 2305, 11, 1459, 11, 9629, 1459, 12109, 8, 198, 198, 2, 314, 892, 314, 460, 8160, 257, 366, 403, 6933, 2723, 1, 326, 1461, 15968, 257, 8187, 1459, 2641, 257, 1813, 198, 2, 4903, 908, 8143, 2134, 7368, 351, 257, 2269, 15748, 23828, 20288, 2099, 13, 220, 770, 460, 3002, 2972, 198, 2, 20049, 2723, 3858, 11, 884, 355, 257, 966, 2723, 11, 1627, 2723, 11, 290, 257, 6614, 2723, 13, 220, 383, 198, 2, 2723, 16237, 2163, 481, 2453, 257, 15879, 286, 4237, 11, 8333, 777, 4237, 12470, 198, 2, 355, 8333, 62, 17143, 0, 287, 16237, 13, 20362, 357, 72, 13, 68, 1539, 11629, 378, 625, 257, 15879, 286, 15268, 290, 8333, 2173, 198, 2, 3017, 287, 1123, 5485, 737, 220, 317, 1388, 3580, 318, 326, 314, 423, 284, 1064, 410, 1140, 1424, 326, 21721, 351, 198, 2, 262, 5485, 11, 2427, 286, 2173, 287, 262, 5485, 13, 220, 4874, 884, 410, 1140, 1424, 389, 1043, 11, 314, 761, 284, 8333, 198, 2, 2723, 1459, 12109, 284, 262, 13015, 286, 262, 410, 1140, 1424, 13, 220, 357, 40, 423, 284, 892, 546, 850, 85, 1140, 417, 198, 2, 32746, 722, 287, 257, 410, 1140, 417, 326, 318, 12387, 3017, 287, 262, 5485, 2014, 198, 2, 198, 2, 3412, 517, 4143, 11, 314, 892, 314, 460, 2251, 257, 2060, 2723, 326, 18178, 257, 22939, 290, 198, 2, 2723, 4202, 2163, 13, 220, 383, 8187, 4237, 389, 257, 2041, 1339, 351, 257, 6937, 198, 2, 2723, 4202, 13, 198, 198, 17256, 7203, 4122, 10677, 13, 20362, 4943, 198, 17256, 7203, 22587, 6015, 13, 20362, 4943, 198 ]
3.238281
6,165
function format(x) io = IOBuffer() show(IOContext(io, :compact => true, :typeinfo => typeof(x)), x) String(take!(io)) end function row(r, i; format = TableWidgets.format) fields = propertynames(r) node("tr", node("th", format(i)), (node("td", format(getproperty(r, field))) for field in fields)...) end rendertable(t; kwargs...) = render_row_iterator(Tables.rows(t); kwargs...) rendertable(t, r::Integer; kwargs...) = render_row_iterator(Iterators.take(Tables.rows(t), r); kwargs...) function render_row_iterator(t; format = TableWidgets.format, className = "is-striped is-hoverable", row = TableWidgets.row) fr, lr = Iterators.peel(t) names = propertynames(fr) headers = node("tr", node("th", ""), (node("th", string(n)) for n in names)...) |> node("thead") first_row = row(fr, 1; format = format) body = node("tbody", first_row, (row(r, i+1; format = format) for (i, r) in enumerate(lr))...) className = "table interact-widget $className" n = slap_design!(node("table", headers, body, className = className)) end """ `head(t, r=6)` Show first `r` rows of table `t` as HTML table. """ function head(t, r = 6; kwargs...) t isa AbstractObservable || (t = Observable{Any}(t)) r isa AbstractObservable || (r = Observable{Int}(r)) h = @map rendertable(&t, &r; kwargs...) Widget{:head}([:rows => r, :head => h], output = t, layout = i -> i[:head]) end function toggled(wdg::AbstractWidget; readout = true, label = "Show") toggled_wdg = togglecontent(wdg, label = label, value = readout) Widget{:toggled}([:toggle => toggled_wdg], output = observe(wdg), layout = i -> i[:toggle]) end """ `dataeditor(t, rows; label = "Show table")` Create a textbox to preprocess a table: displays the result using `toggled(head(t, rows))`. """ function dataeditor(t, args...; readout = true, label = "Show table", kwargs...) (t isa AbstractObservable) || (t = Observable{Any}(t)) output = Observable{Any}(t[]) wdg = Widget{:dataeditor}(output = output) wdg[:input] = t wdg[:display] = toggled(head(observe(wdg), args...; kwargs...); readout = readout, label = label) wdg[:text] = textarea(placeholder = "Write transformation to apply to the table") parsetext!(wdg; text = observe(wdg, :text), on = (observe(wdg, :text)), default = identity) wdg[:apply] = button("Apply") wdg[:reset] = button("Reset", className = "is-danger") @map! observe(wdg) begin &wdg[:apply] (wdg[:function][])(&t) end @on begin &wdg[:reset] wdg[:text][] = "" observe(wdg)[] = t[] end @layout! wdg Widgets.div(:text, hbox(:apply, hskip(1em), :reset), :display) end
[ 8818, 5794, 7, 87, 8, 198, 220, 220, 220, 33245, 796, 314, 9864, 13712, 3419, 198, 220, 220, 220, 905, 7, 9399, 21947, 7, 952, 11, 1058, 5589, 529, 5218, 2081, 11, 1058, 4906, 10951, 5218, 2099, 1659, 7, 87, 36911, 2124, 8, 198, 220, 220, 220, 10903, 7, 20657, 0, 7, 952, 4008, 198, 437, 198, 198, 8818, 5752, 7, 81, 11, 1312, 26, 5794, 796, 8655, 54, 312, 11407, 13, 18982, 8, 198, 197, 25747, 796, 3119, 14933, 7, 81, 8, 628, 220, 220, 220, 10139, 7203, 2213, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 10139, 7203, 400, 1600, 5794, 7, 72, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 357, 17440, 7203, 8671, 1600, 5794, 7, 1136, 26745, 7, 81, 11, 2214, 22305, 329, 2214, 287, 7032, 8, 23029, 198, 437, 198, 198, 13287, 11487, 7, 83, 26, 479, 86, 22046, 23029, 796, 8543, 62, 808, 62, 48727, 7, 51, 2977, 13, 8516, 7, 83, 1776, 479, 86, 22046, 23029, 198, 13287, 11487, 7, 83, 11, 374, 3712, 46541, 26, 479, 86, 22046, 23029, 796, 8543, 62, 808, 62, 48727, 7, 29993, 2024, 13, 20657, 7, 51, 2977, 13, 8516, 7, 83, 828, 374, 1776, 479, 86, 22046, 23029, 198, 198, 8818, 8543, 62, 808, 62, 48727, 7, 83, 26, 198, 220, 220, 220, 5794, 796, 8655, 54, 312, 11407, 13, 18982, 11, 1398, 5376, 796, 366, 271, 12, 36311, 276, 318, 12, 43753, 540, 1600, 5752, 796, 8655, 54, 312, 11407, 13, 808, 8, 628, 220, 220, 220, 1216, 11, 300, 81, 796, 40806, 2024, 13, 431, 417, 7, 83, 8, 628, 220, 220, 220, 3891, 796, 3119, 14933, 7, 8310, 8, 198, 220, 220, 220, 24697, 796, 10139, 7203, 2213, 1600, 10139, 7203, 400, 1600, 366, 12340, 357, 17440, 7203, 400, 1600, 4731, 7, 77, 4008, 329, 299, 287, 3891, 8, 23029, 930, 29, 10139, 7203, 1169, 324, 4943, 628, 220, 220, 220, 717, 62, 808, 796, 5752, 7, 8310, 11, 352, 26, 5794, 796, 5794, 8, 198, 220, 220, 220, 1767, 796, 10139, 7203, 83, 2618, 1600, 717, 62, 808, 11, 357, 808, 7, 81, 11, 1312, 10, 16, 26, 5794, 796, 5794, 8, 329, 357, 72, 11, 374, 8, 287, 27056, 378, 7, 14050, 4008, 23029, 198, 220, 220, 220, 1398, 5376, 796, 366, 11487, 9427, 12, 42655, 720, 4871, 5376, 1, 198, 220, 220, 220, 299, 796, 23905, 62, 26124, 0, 7, 17440, 7203, 11487, 1600, 24697, 11, 1767, 11, 1398, 5376, 796, 1398, 5376, 4008, 198, 437, 198, 198, 37811, 198, 63, 2256, 7, 83, 11, 374, 28, 21, 8, 63, 198, 198, 15307, 717, 4600, 81, 63, 15274, 286, 3084, 4600, 83, 63, 355, 11532, 3084, 13, 198, 37811, 198, 8818, 1182, 7, 83, 11, 374, 796, 718, 26, 479, 86, 22046, 23029, 198, 220, 220, 220, 256, 318, 64, 27741, 31310, 712, 540, 8614, 357, 83, 796, 19243, 540, 90, 7149, 92, 7, 83, 4008, 198, 220, 220, 220, 374, 318, 64, 27741, 31310, 712, 540, 8614, 357, 81, 796, 19243, 540, 90, 5317, 92, 7, 81, 4008, 198, 220, 220, 220, 289, 796, 2488, 8899, 8543, 11487, 39434, 83, 11, 1222, 81, 26, 479, 86, 22046, 23029, 628, 220, 220, 220, 370, 17484, 90, 25, 2256, 92, 26933, 25, 8516, 5218, 374, 11, 1058, 2256, 5218, 289, 4357, 5072, 796, 256, 11, 12461, 796, 1312, 4613, 1312, 58, 25, 2256, 12962, 198, 437, 198, 198, 8818, 284, 1130, 992, 7, 16993, 70, 3712, 23839, 38300, 26, 1100, 448, 796, 2081, 11, 6167, 796, 366, 15307, 4943, 198, 220, 220, 220, 284, 1130, 992, 62, 16993, 70, 796, 19846, 11299, 7, 16993, 70, 11, 6167, 796, 6167, 11, 1988, 796, 1100, 448, 8, 198, 220, 220, 220, 370, 17484, 90, 25, 83, 10332, 992, 92, 26933, 25, 44256, 5218, 284, 1130, 992, 62, 16993, 70, 4357, 5072, 796, 12414, 7, 16993, 70, 828, 12461, 796, 1312, 4613, 1312, 58, 25, 44256, 12962, 198, 437, 198, 198, 37811, 198, 63, 7890, 35352, 7, 83, 11, 15274, 26, 6167, 796, 366, 15307, 3084, 4943, 63, 198, 198, 16447, 257, 2420, 3524, 284, 662, 14681, 257, 3084, 25, 11298, 262, 1255, 1262, 4600, 83, 10332, 992, 7, 2256, 7, 83, 11, 15274, 4008, 44646, 198, 37811, 198, 8818, 1366, 35352, 7, 83, 11, 26498, 986, 26, 1100, 448, 796, 2081, 11, 6167, 796, 366, 15307, 3084, 1600, 479, 86, 22046, 23029, 198, 220, 220, 220, 357, 83, 318, 64, 27741, 31310, 712, 540, 8, 8614, 357, 83, 796, 19243, 540, 90, 7149, 92, 7, 83, 4008, 198, 220, 220, 220, 5072, 796, 19243, 540, 90, 7149, 92, 7, 83, 58, 12962, 198, 220, 220, 220, 266, 67, 70, 796, 370, 17484, 90, 25, 7890, 35352, 92, 7, 22915, 796, 5072, 8, 198, 220, 220, 220, 266, 67, 70, 58, 25, 15414, 60, 796, 256, 198, 220, 220, 220, 266, 67, 70, 58, 25, 13812, 60, 796, 284, 1130, 992, 7, 2256, 7, 672, 2655, 303, 7, 16993, 70, 828, 26498, 986, 26, 479, 86, 22046, 986, 1776, 1100, 448, 796, 1100, 448, 11, 6167, 796, 6167, 8, 198, 220, 220, 220, 266, 67, 70, 58, 25, 5239, 60, 796, 2420, 20337, 7, 5372, 13829, 796, 366, 16594, 13389, 284, 4174, 284, 262, 3084, 4943, 198, 220, 220, 220, 13544, 316, 2302, 0, 7, 16993, 70, 26, 2420, 796, 12414, 7, 16993, 70, 11, 1058, 5239, 828, 319, 796, 357, 672, 2655, 303, 7, 16993, 70, 11, 1058, 5239, 36911, 4277, 796, 5369, 8, 198, 220, 220, 220, 266, 67, 70, 58, 25, 39014, 60, 796, 4936, 7203, 44836, 4943, 198, 220, 220, 220, 266, 67, 70, 58, 25, 42503, 60, 796, 4936, 7203, 4965, 316, 1600, 1398, 5376, 796, 366, 271, 12, 38537, 4943, 198, 220, 220, 220, 2488, 8899, 0, 12414, 7, 16993, 70, 8, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 1222, 16993, 70, 58, 25, 39014, 60, 198, 220, 220, 220, 220, 220, 220, 220, 357, 16993, 70, 58, 25, 8818, 7131, 60, 5769, 5, 83, 8, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2488, 261, 2221, 198, 220, 220, 220, 220, 220, 220, 220, 1222, 16993, 70, 58, 25, 42503, 60, 198, 220, 220, 220, 220, 220, 220, 220, 266, 67, 70, 58, 25, 5239, 7131, 60, 796, 13538, 198, 220, 220, 220, 220, 220, 220, 220, 12414, 7, 16993, 70, 8, 21737, 796, 256, 21737, 198, 220, 220, 220, 886, 198, 220, 220, 220, 2488, 39786, 0, 266, 67, 70, 24801, 11407, 13, 7146, 7, 25, 5239, 11, 289, 3524, 7, 25, 39014, 11, 289, 48267, 7, 16, 368, 828, 1058, 42503, 828, 1058, 13812, 8, 198, 437, 198 ]
2.446348
1,109
using Pkg packages = [ "IJulia", "Plots", "PyPlot"] for package=packages println("installing $package") Pkg.add(package) end Pkg.update() Pkg.precompile()
[ 3500, 350, 10025, 198, 198, 43789, 796, 685, 198, 220, 220, 220, 366, 40, 16980, 544, 1600, 198, 220, 220, 220, 366, 3646, 1747, 1600, 198, 220, 220, 220, 366, 20519, 43328, 8973, 198, 198, 1640, 5301, 28, 43789, 198, 220, 220, 220, 44872, 7203, 8625, 9221, 720, 26495, 4943, 198, 220, 220, 220, 350, 10025, 13, 2860, 7, 26495, 8, 198, 437, 198, 198, 47, 10025, 13, 19119, 3419, 198, 47, 10025, 13, 3866, 5589, 576, 3419 ]
2.269231
78
using StatsPlots using IndexedTables # This demonstrates the PROCESS by plotting a correlation matrix I THINK. include(joinpath(WATERFALL_DIR,"src","includes.jl")) begin value=:Value; label=:Label; sample=:Sample end distribution=:normal fuzziness=(0.01,0.3) numsample=1000 ncor=2 kwargs = (label=label, distribution=distribution, fuzziness=fuzziness, numsample=numsample, ncor=ncor, ) df = CSV.read(joinpath(DATA_DIR,"pvrd2-investment-metrics.csv"), DataFrames.DataFrame) df[!,:Label] .= string.(titlecase.(df[:,:Process])," (",df[:,:Step],")") df[!,:Units] .= "Efficiency (%)" label=:Process df = DataFrames.transform(fuzzify(df; kwargs...)) dfw = DataFrames.unstack(DataFrames.select(df, [sample,label,value]), label, value) steps = size(dfw,2)-1 cols = propertynames(dfw)[2:end] vcorr = random_correlation(steps, ncor) # @df iris corrplot(cols(1:4), grid = false) StatsPlots.gr(size=(800,800)) iis = sum(hcat([vcat(sum(LinearAlgebra.UnitLowerTriangular(vcorr); dims=ii)...) for ii in 1:2]...); dims=2).!==2.0 iis = unique([[ii for ii in collect(2:steps+1) .* iis if ii!==0]; steps+1]) @df dfw StatsPlots.corrplot(cols(iis), grid=false, compact=true, label =["$i" for i=iis], ) # using StatsPlots # using IndexedTables # import RDatasets # df = DataFrames.DataFrame(a = 1:10, b = 10 .* rand(10), c = 10 .* rand(10)) # @df df plot(:a, [:b :c], colour = [:red :blue]) # @df df scatter(:a, :b, markersize = 4 .* log.(:c .+ 0.1)) # t = table(1:10, rand(10), names = [:a, :b]) # IndexedTable # @df t scatter(2 .* :b) # @df df plot(:a, cols(2:3), colour = [:red :blue]) # # SCHOOL # # school = RDatasets.dataset("mlmRev","Hsb82") # # @df school density(:MAch, group = (:Sx, :Sector), legend = :topleft)
[ 3500, 20595, 3646, 1747, 198, 3500, 12901, 276, 51, 2977, 198, 198, 2, 770, 15687, 262, 41755, 7597, 416, 29353, 257, 16096, 17593, 314, 2320, 17248, 13, 198, 17256, 7, 22179, 6978, 7, 54, 23261, 37, 7036, 62, 34720, 553, 10677, 2430, 42813, 13, 20362, 48774, 198, 198, 27471, 1988, 28, 25, 11395, 26, 6167, 28, 25, 33986, 26, 6291, 28, 25, 36674, 886, 198, 17080, 3890, 28, 25, 11265, 198, 69, 4715, 1272, 16193, 15, 13, 486, 11, 15, 13, 18, 8, 198, 77, 5700, 1403, 28, 12825, 198, 77, 10215, 28, 17, 198, 46265, 22046, 796, 357, 18242, 28, 18242, 11, 6082, 28, 17080, 3890, 11, 26080, 1272, 28, 69, 4715, 1272, 11, 198, 220, 220, 220, 997, 39873, 28, 77, 5700, 1403, 11, 198, 220, 220, 220, 299, 10215, 28, 77, 10215, 11, 198, 8, 628, 198, 7568, 796, 44189, 13, 961, 7, 22179, 6978, 7, 26947, 62, 34720, 553, 79, 85, 4372, 17, 12, 24859, 434, 12, 4164, 10466, 13, 40664, 12340, 6060, 35439, 13, 6601, 19778, 8, 198, 7568, 58, 28265, 25, 33986, 60, 764, 28, 4731, 12195, 7839, 7442, 12195, 7568, 58, 45299, 25, 18709, 12962, 553, 357, 1600, 7568, 58, 45299, 25, 8600, 17241, 8, 4943, 198, 7568, 58, 28265, 25, 3118, 896, 60, 764, 28, 366, 36, 35590, 11509, 1, 198, 198, 18242, 28, 25, 18709, 198, 7568, 796, 6060, 35439, 13, 35636, 7, 69, 4715, 1958, 7, 7568, 26, 479, 86, 22046, 986, 4008, 198, 7568, 86, 796, 6060, 35439, 13, 403, 25558, 7, 6601, 35439, 13, 19738, 7, 7568, 11, 685, 39873, 11, 18242, 11, 8367, 46570, 6167, 11, 1988, 8, 198, 20214, 796, 2546, 7, 7568, 86, 11, 17, 13219, 16, 198, 198, 4033, 82, 796, 3119, 14933, 7, 7568, 86, 38381, 17, 25, 437, 60, 198, 85, 10215, 81, 796, 4738, 62, 10215, 49501, 7, 20214, 11, 299, 10215, 8, 198, 2, 2488, 7568, 4173, 271, 1162, 81, 29487, 7, 4033, 82, 7, 16, 25, 19, 828, 10706, 796, 3991, 8, 198, 198, 29668, 3646, 1747, 13, 2164, 7, 7857, 16193, 7410, 11, 7410, 4008, 198, 198, 72, 271, 796, 2160, 7, 71, 9246, 26933, 85, 9246, 7, 16345, 7, 14993, 451, 2348, 29230, 13, 26453, 31426, 14824, 21413, 7, 85, 10215, 81, 1776, 5391, 82, 28, 4178, 8, 23029, 329, 21065, 287, 352, 25, 17, 60, 986, 1776, 5391, 82, 28, 17, 737, 0, 855, 17, 13, 15, 198, 72, 271, 796, 3748, 26933, 58, 4178, 329, 21065, 287, 2824, 7, 17, 25, 20214, 10, 16, 8, 764, 9, 1312, 271, 611, 21065, 0, 855, 15, 11208, 4831, 10, 16, 12962, 198, 198, 31, 7568, 288, 44482, 20595, 3646, 1747, 13, 10215, 81, 29487, 7, 4033, 82, 7, 72, 271, 828, 198, 220, 220, 220, 10706, 28, 9562, 11, 198, 220, 220, 220, 16001, 28, 7942, 11, 198, 220, 220, 220, 6167, 796, 14692, 3, 72, 1, 329, 1312, 28, 72, 271, 4357, 198, 8, 198, 198, 2, 1262, 20595, 3646, 1747, 198, 2, 1262, 12901, 276, 51, 2977, 628, 198, 2, 1330, 371, 27354, 292, 1039, 628, 198, 2, 47764, 796, 6060, 35439, 13, 6601, 19778, 7, 64, 796, 352, 25, 940, 11, 275, 796, 838, 764, 9, 43720, 7, 940, 828, 269, 796, 838, 764, 9, 43720, 7, 940, 4008, 198, 2, 2488, 7568, 47764, 7110, 7, 25, 64, 11, 685, 25, 65, 1058, 66, 4357, 9568, 796, 685, 25, 445, 1058, 17585, 12962, 198, 2, 2488, 7568, 47764, 41058, 7, 25, 64, 11, 1058, 65, 11, 19736, 1096, 796, 604, 764, 9, 2604, 12195, 25, 66, 764, 10, 657, 13, 16, 4008, 198, 2, 256, 796, 3084, 7, 16, 25, 940, 11, 43720, 7, 940, 828, 3891, 796, 685, 25, 64, 11, 1058, 65, 12962, 1303, 12901, 276, 10962, 198, 2, 2488, 7568, 256, 41058, 7, 17, 764, 9, 1058, 65, 8, 198, 198, 2, 2488, 7568, 47764, 7110, 7, 25, 64, 11, 951, 82, 7, 17, 25, 18, 828, 9568, 796, 685, 25, 445, 1058, 17585, 12962, 198, 198, 2, 1303, 35883, 198, 2, 1303, 1524, 796, 371, 27354, 292, 1039, 13, 19608, 292, 316, 7203, 4029, 76, 18009, 2430, 39, 36299, 6469, 4943, 198, 2, 1303, 2488, 7568, 1524, 12109, 7, 25, 5673, 354, 11, 1448, 796, 357, 25, 50, 87, 11, 1058, 50, 9250, 828, 8177, 796, 1058, 83, 643, 701, 8 ]
2.40638
721