commit 4e193db5935de33d171db00c7baae2cc1cff568e Author: Laureηt Date: Wed Dec 15 10:29:12 2021 +0100 feat: ajout des sources diff --git a/Manifest.toml b/Manifest.toml new file mode 100644 index 0000000..4ff05ab --- /dev/null +++ b/Manifest.toml @@ -0,0 +1,1057 @@ +# This file is machine-generated - editing it directly is not advised + +[[AbstractFFTs]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "8ed9de2f1b1a9b1dee48582ad477c6e67b83eb2c" +uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" +version = "1.0.0" + +[[AbstractPlotting]] +deps = ["Animations", "ColorBrewer", "ColorSchemes", "ColorTypes", "Colors", "Contour", "Distributions", "DocStringExtensions", "FFMPEG", "FileIO", "FixedPointNumbers", "Formatting", "FreeType", "FreeTypeAbstraction", "GeometryBasics", "GridLayoutBase", "ImageIO", "IntervalSets", "Isoband", "KernelDensity", "LinearAlgebra", "Markdown", "Match", "Observables", "Packing", "PaddedViews", "PlotUtils", "PolygonOps", "Printf", "Random", "Serialization", "Showoff", "SignedDistanceFields", "SparseArrays", "StaticArrays", "Statistics", "StatsBase", "StructArrays", "UnicodeFun"] +git-tree-sha1 = "4e43f281c7b67da155d98904259ec3a40df9bc67" +uuid = "537997a7-5e4e-5d89-9595-2241ea00577e" +version = "0.13.11" + +[[Adapt]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "345a14764e43fe927d6f5c250fe4c8e4664e6ee8" +uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" +version = "2.4.0" + +[[Animations]] +deps = ["Colors"] +git-tree-sha1 = "e81c509d2c8e49592413bfb0bb3b08150056c79d" +uuid = "27a7e980-b3e6-11e9-2bcd-0b925532e340" +version = "0.4.1" + +[[ArnoldiMethod]] +deps = ["DelimitedFiles", "LinearAlgebra", "Random", "SparseArrays", "StaticArrays", "Test"] +git-tree-sha1 = "2b6845cea546604fb4dca4e31414a6a59d39ddcd" +uuid = "ec485272-7323-5ecc-a04f-4719b315124d" +version = "0.0.4" + +[[Artifacts]] +deps = ["Pkg"] +git-tree-sha1 = "c30985d8821e0cd73870b17b0ed0ce6dc44cb744" +uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" +version = "1.3.0" + +[[AxisAlgorithms]] +deps = ["LinearAlgebra", "Random", "SparseArrays", "WoodburyMatrices"] +git-tree-sha1 = "a4d07a1c313392a77042855df46c5f534076fab9" +uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950" +version = "1.0.0" + +[[Base64]] +uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" + +[[Blosc]] +deps = ["Blosc_jll"] +git-tree-sha1 = "84cf7d0f8fd46ca6f1b3e0305b4b4a37afe50fd6" +uuid = "a74b3585-a348-5f62-a45c-50e91977d574" +version = "0.7.0" + +[[Blosc_jll]] +deps = ["Libdl", "Lz4_jll", "Pkg", "Zlib_jll", "Zstd_jll"] +git-tree-sha1 = "aa9ef39b54a168c3df1b2911e7797e4feee50fbe" +uuid = "0b7ba130-8d10-5ba8-a3d6-c5182647fed9" +version = "1.14.3+1" + +[[Bzip2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "c3598e525718abcc440f69cc6d5f60dda0a1b61e" +uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" +version = "1.0.6+5" + +[[CEnum]] +git-tree-sha1 = "215a9aa4a1f23fbd05b92769fdd62559488d70e9" +uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82" +version = "0.4.1" + +[[Cairo]] +deps = ["Cairo_jll", "Colors", "Glib_jll", "Graphics", "Libdl", "Pango_jll"] +git-tree-sha1 = "d0b3f8b4ad16cb0a2988c6788646a5e6a17b6b1b" +uuid = "159f3aea-2a34-519c-b102-8c37f9878175" +version = "1.0.5" + +[[CairoMakie]] +deps = ["AbstractPlotting", "Cairo", "Colors", "FFTW", "FileIO", "FreeType", "GeometryBasics", "LinearAlgebra", "StaticArrays"] +git-tree-sha1 = "12d1b079f6a1c99f832668b866be57d707e04239" +uuid = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" +version = "0.3.7" + +[[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 = "e2f47f6d8337369411569fd45ae5753ca10394c6" +uuid = "83423d85-b0ee-5818-9007-b63ccbeb887a" +version = "1.16.0+6" + +[[ChainRulesCore]] +deps = ["Compat", "LinearAlgebra", "SparseArrays"] +git-tree-sha1 = "53fed426c9af1eb68e63b3999e96454c2db79757" +uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" +version = "0.9.27" + +[[CodecZlib]] +deps = ["TranscodingStreams", "Zlib_jll"] +git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da" +uuid = "944b1d66-785c-5afd-91f1-9de20f533193" +version = "0.7.0" + +[[ColorBrewer]] +deps = ["Colors", "JSON", "Test"] +git-tree-sha1 = "61c5334f33d91e570e1d0c3eb5465835242582c4" +uuid = "a2cac450-b92f-5266-8821-25eda20663c8" +version = "0.4.0" + +[[ColorSchemes]] +deps = ["ColorTypes", "Colors", "FixedPointNumbers", "Random", "StaticArrays"] +git-tree-sha1 = "3141757b5832ee7a0386db87997ee5a23ff20f4d" +uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" +version = "3.10.2" + +[[ColorTypes]] +deps = ["FixedPointNumbers", "Random"] +git-tree-sha1 = "4bffea7ed1a9f0f3d1a131bbcd4b925548d75288" +uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" +version = "0.10.9" + +[[ColorVectorSpace]] +deps = ["ColorTypes", "Colors", "FixedPointNumbers", "LinearAlgebra", "SpecialFunctions", "Statistics", "StatsBase"] +git-tree-sha1 = "4d17724e99f357bfd32afa0a9e2dda2af31a9aea" +uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" +version = "0.8.7" + +[[Colors]] +deps = ["ColorTypes", "FixedPointNumbers", "InteractiveUtils", "Reexport"] +git-tree-sha1 = "008d6bc68dea6beb6303fdc37188cb557391ebf2" +uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" +version = "0.12.4" + +[[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 = "919c7f3151e79ff196add81d7f4e45d91bbf420b" +uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "3.25.0" + +[[CompilerSupportLibraries_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "8e695f735fca77e9708e795eda62afdb869cbb70" +uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" +version = "0.3.4+0" + +[[Compose]] +deps = ["Base64", "Colors", "DataStructures", "Dates", "IterTools", "JSON", "LinearAlgebra", "Measures", "Printf", "Random", "Requires", "UUIDs"] +git-tree-sha1 = "034174e607d254b8ca0853a1a9029b265114bf6c" +uuid = "a81c6b42-2e10-5240-aca2-a61377ecd94b" +version = "0.8.2" + +[[Conda]] +deps = ["JSON", "VersionParsing"] +git-tree-sha1 = "c0647249d785f1d5139c0cc96db8f6b32f7ec416" +uuid = "8f4d0f93-b110-5947-807f-2305c1781a2d" +version = "1.5.0" + +[[Contour]] +deps = ["StaticArrays"] +git-tree-sha1 = "9f02045d934dc030edad45944ea80dbd1f0ebea7" +uuid = "d38c429a-6771-53c6-b99e-75d170b6e991" +version = "0.5.7" + +[[DataAPI]] +git-tree-sha1 = "25ccd31003243d2ce83e474cf11663dddf48035f" +uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" +version = "1.4.1" + +[[DataStructures]] +deps = ["InteractiveUtils", "OrderedCollections"] +git-tree-sha1 = "88d48e133e6d3dd68183309877eac74393daa7eb" +uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +version = "0.17.20" + +[[DataValueInterfaces]] +git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" +uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" +version = "1.0.0" + +[[Dates]] +deps = ["Printf"] +uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" + +[[DelimitedFiles]] +deps = ["Mmap"] +uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" + +[[Distributed]] +deps = ["Random", "Serialization", "Sockets"] +uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" + +[[Distributions]] +deps = ["FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns"] +git-tree-sha1 = "f0e06a5b5ccda38e2fb8f59d91316e657b67047d" +uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" +version = "0.24.12" + +[[DocStringExtensions]] +deps = ["LibGit2", "Markdown", "Pkg", "Test"] +git-tree-sha1 = "50ddf44c53698f5e784bbebb3f4b21c5807401b1" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.8.3" + +[[EarCut_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "92d8f9f208637e8d2d28c664051a00569c01493d" +uuid = "5ae413db-bbd1-5e63-b57d-d24a61df00f5" +version = "2.1.5+1" + +[[EllipsisNotation]] +git-tree-sha1 = "18ee049accec8763be17a933737c1dd0fdf8673a" +uuid = "da5c29d0-fa7d-589e-88eb-ea29b0a81949" +version = "1.0.0" + +[[Expat_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "1402e52fcda25064f51c77a9655ce8680b76acf0" +uuid = "2e619515-83b5-522b-bb60-26c02a35a201" +version = "2.2.7+6" + +[[FFMPEG]] +deps = ["FFMPEG_jll", "x264_jll"] +git-tree-sha1 = "9a73ffdc375be61b0e4516d83d880b265366fe1f" +uuid = "c87230d0-a227-11e9-1b43-d7ebe4e7570a" +version = "0.4.0" + +[[FFMPEG_jll]] +deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "LAME_jll", "LibVPX_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 = "3cc57ad0a213808473eafef4845a74766242e05f" +uuid = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5" +version = "4.3.1+4" + +[[FFTW]] +deps = ["AbstractFFTs", "FFTW_jll", "IntelOpenMP_jll", "Libdl", "LinearAlgebra", "MKL_jll", "Reexport"] +git-tree-sha1 = "c31e446bf3b12aad2ec8fc500fe19528c148d811" +uuid = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" +version = "1.3.1" + +[[FFTW_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "3676abafff7e4ff07bbd2c42b3d8201f31653dcc" +uuid = "f5851436-0d7a-5f13-b9de-f02708fd171a" +version = "3.3.9+8" + +[[FileIO]] +deps = ["Pkg"] +git-tree-sha1 = "fee8955b9dfa7bec67117ef48085fb2b559b9c22" +uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" +version = "1.4.5" + +[[FillArrays]] +deps = ["LinearAlgebra", "Random", "SparseArrays"] +git-tree-sha1 = "8bd8e47ff5d34b20f0aa9641988eb660590008bc" +uuid = "1a297f60-69ca-5386-bcde-b61e274b549b" +version = "0.11.0" + +[[FixedPointNumbers]] +deps = ["Statistics"] +git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" +uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" +version = "0.8.4" + +[[Fontconfig_jll]] +deps = ["Artifacts", "Bzip2_jll", "Expat_jll", "FreeType2_jll", "JLLWrappers", "Libdl", "Libuuid_jll", "Pkg", "Zlib_jll"] +git-tree-sha1 = "35895cf184ceaab11fd778b4590144034a167a2f" +uuid = "a3f928ae-7b40-5064-980b-68af3947d34b" +version = "2.13.1+14" + +[[Formatting]] +deps = ["Printf"] +git-tree-sha1 = "8339d61043228fdd3eb658d86c926cb282ae72a8" +uuid = "59287772-0a20-5a39-b81b-1366585eb4c0" +version = "0.4.2" + +[[FreeType]] +deps = ["CEnum", "FreeType2_jll"] +git-tree-sha1 = "d5e296dea44f9cfb8cc83681aa3db367e0cbfd4f" +uuid = "b38be410-82b0-50bf-ab77-7b57e271db43" +version = "3.0.1" + +[[FreeType2_jll]] +deps = ["Artifacts", "Bzip2_jll", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] +git-tree-sha1 = "cbd58c9deb1d304f5a245a0b7eb841a2560cfec6" +uuid = "d7e528f0-a631-5988-bf34-fe36492bcfd7" +version = "2.10.1+5" + +[[FreeTypeAbstraction]] +deps = ["ColorVectorSpace", "Colors", "FreeType", "GeometryBasics", "StaticArrays"] +git-tree-sha1 = "3d955cfbefd6645ced60091d8c9bfcc96fc32345" +uuid = "663a7486-cb36-511b-a19d-713bb74d65c9" +version = "0.8.4" + +[[FriBidi_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "0d20aed5b14dd4c9a2453c1b601d08e1149679cc" +uuid = "559328eb-81f9-559d-9380-de523a88c83c" +version = "1.0.5+6" + +[[GR]] +deps = ["Base64", "DelimitedFiles", "HTTP", "JSON", "LinearAlgebra", "Printf", "Random", "Serialization", "Sockets", "Test", "UUIDs"] +git-tree-sha1 = "cd0f34bd097d4d5eb6bbe01778cf8a7ed35f29d9" +uuid = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71" +version = "0.52.0" + +[[GeometryBasics]] +deps = ["EarCut_jll", "IterTools", "LinearAlgebra", "StaticArrays", "StructArrays", "Tables"] +git-tree-sha1 = "f574945bcabe9805b78292216279c1be910168bb" +uuid = "5c1252a2-5f33-56bf-86c9-59e7332b4326" +version = "0.3.8" + +[[GeometryTypes]] +deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "StaticArrays"] +git-tree-sha1 = "07194161fe4e181c6bf51ef2e329ec4e7d050fc4" +uuid = "4d00f742-c7ba-57c2-abde-4428a4b178cb" +version = "0.8.4" + +[[Gettext_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "XML2_jll"] +git-tree-sha1 = "8c14294a079216000a0bdca5ec5a447f073ddc9d" +uuid = "78b55507-aeef-58d4-861c-77aaff3498b1" +version = "0.20.1+7" + +[[Glib_jll]] +deps = ["Artifacts", "Gettext_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Libiconv_jll", "Libmount_jll", "PCRE_jll", "Pkg", "Zlib_jll"] +git-tree-sha1 = "04690cc5008b38ecbdfede949220bc7d9ba26397" +uuid = "7746bdde-850d-59dc-9ae8-88ece973131d" +version = "2.59.0+4" + +[[GraphPlot]] +deps = ["ArnoldiMethod", "ColorTypes", "Colors", "Compose", "DelimitedFiles", "LightGraphs", "LinearAlgebra", "Random", "SparseArrays"] +git-tree-sha1 = "88bf20a5d0bad67dd0b289efd19bf794837fa153" +uuid = "a2cc645c-3eea-5389-862e-a155d0052231" +version = "0.4.3" + +[[Graphics]] +deps = ["Colors", "LinearAlgebra", "NaNMath"] +git-tree-sha1 = "45d684ead5b65c043ad46bd5be750d61c39d7ef8" +uuid = "a2bd30eb-e257-5431-a919-1863eab51364" +version = "1.0.2" + +[[Graphite2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "42adbc6fd39ba41138f894b8ac711146a2b0d986" +uuid = "3b182d85-2403-5c21-9c21-1e1f0cc25472" +version = "1.3.13+4" + +[[GridLayoutBase]] +deps = ["GeometryBasics", "InteractiveUtils", "Match", "Observables"] +git-tree-sha1 = "0702ac06d05e653996a37fea1d631bc7e74512ee" +uuid = "3955a311-db13-416c-9275-1d80ed98e5e9" +version = "0.4.1" + +[[Grisu]] +git-tree-sha1 = "03d381f65183cb2d0af8b3425fde97263ce9a995" +uuid = "42e2da0e-8278-4e71-bc24-59509adca0fe" +version = "1.0.0" + +[[HDF5]] +deps = ["Blosc", "HDF5_jll", "Libdl", "Mmap", "Random"] +git-tree-sha1 = "0b812e7872e2199a5a04944f486b4048944f1ed8" +uuid = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" +version = "0.13.7" + +[[HDF5_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] +git-tree-sha1 = "bc9c3d43ffd4d8988bfa372b86d4bdbd26860e95" +uuid = "0234f1f7-429e-5d53-9886-15a909be8d59" +version = "1.10.5+7" + +[[HTTP]] +deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets"] +git-tree-sha1 = "c7ec02c4c6a039a98a15f955462cd7aea5df4508" +uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" +version = "0.8.19" + +[[HarfBuzz_jll]] +deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Gettext_jll", "Glib_jll", "Graphite2_jll", "ICU_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg"] +git-tree-sha1 = "90bed5fc61d12d10832ebf988988104888eebaca" +uuid = "2e76f6c2-a576-52d4-95c1-20adfe4de566" +version = "2.6.1+10" + +[[ICU_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "6ce9cf3c5490b045710d60ac3fd2fe48188846b3" +uuid = "a51ab1cf-af8e-5615-a023-bc2c838bba6b" +version = "67.1.0+3" + +[[ImageCore]] +deps = ["AbstractFFTs", "Colors", "FixedPointNumbers", "Graphics", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "Reexport"] +git-tree-sha1 = "79badd979fbee9b8980cd995cd5a86a9e93b8ad7" +uuid = "a09fc81d-aa75-5fe9-8630-4744c3626534" +version = "0.8.20" + +[[ImageIO]] +deps = ["FileIO", "PNGFiles"] +git-tree-sha1 = "5eb06178e68c139617fa7926fa0d73ddf9b80e2a" +uuid = "82e4d734-157c-48bb-816b-45c225c6df19" +version = "0.3.1" + +[[IndirectArrays]] +git-tree-sha1 = "c2a145a145dc03a7620af1444e0264ef907bd44f" +uuid = "9b13fd28-a010-5f03-acff-a1bbcff69959" +version = "0.5.1" + +[[Inflate]] +git-tree-sha1 = "f5fc07d4e706b84f72d54eedcc1c13d92fb0871c" +uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9" +version = "0.1.2" + +[[IniFile]] +deps = ["Test"] +git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8" +uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f" +version = "0.5.0" + +[[IntelOpenMP_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "d979e54b71da82f3a65b62553da4fc3d18c9004c" +uuid = "1d5cc7b8-4909-519e-a0f8-d0f5ad9712d0" +version = "2018.0.3+2" + +[[InteractiveUtils]] +deps = ["Markdown"] +uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" + +[[Interpolations]] +deps = ["AxisAlgorithms", "LinearAlgebra", "OffsetArrays", "Random", "Ratios", "SharedArrays", "SparseArrays", "StaticArrays", "WoodburyMatrices"] +git-tree-sha1 = "eb1dd6d5b2275faaaa18533e0fc5f9171cec25fa" +uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" +version = "0.13.1" + +[[IntervalSets]] +deps = ["Dates", "EllipsisNotation", "Statistics"] +git-tree-sha1 = "93a6d78525feb0d3ee2a2ae83a7d04db1db5663f" +uuid = "8197267c-284f-5f27-9208-e0e47529a953" +version = "0.5.2" + +[[Isoband]] +deps = ["isoband_jll"] +git-tree-sha1 = "f9b6d97355599074dc867318950adaa6f9946137" +uuid = "f1662d9f-8043-43de-a69a-05efc1cc6ff4" +version = "0.1.1" + +[[IterTools]] +git-tree-sha1 = "05110a2ab1fc5f932622ffea2a003221f4782c18" +uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e" +version = "1.3.0" + +[[IteratorInterfaceExtensions]] +git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" +uuid = "82899510-4779-5014-852e-03e436cf321d" +version = "1.0.0" + +[[JLD]] +deps = ["FileIO", "HDF5", "Printf"] +git-tree-sha1 = "f6cf928214ae7c0e7550b2424a57f11875d7e49a" +uuid = "4138dd39-2aa7-5051-a626-17a0bb65d9c8" +version = "0.10.0" + +[[JLD2]] +deps = ["CodecZlib", "DataStructures", "MacroTools", "Mmap", "Pkg", "Printf", "Requires", "UUIDs"] +git-tree-sha1 = "0fd0b0043cae454eed05bccd6dcfcdddc3f21f7e" +uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819" +version = "0.3.1" + +[[JLLWrappers]] +git-tree-sha1 = "a431f5f2ca3f4feef3bd7a5e94b8b8d4f2f647a0" +uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" +version = "1.2.0" + +[[JSON]] +deps = ["Dates", "Mmap", "Parsers", "Unicode"] +git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "0.21.1" + +[[KernelDensity]] +deps = ["Distributions", "DocStringExtensions", "FFTW", "Interpolations", "StatsBase"] +git-tree-sha1 = "09aeec87bdc9c1fa70d0b508dfa94a21acd280d9" +uuid = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b" +version = "0.6.2" + +[[LAME_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "df381151e871f41ee86cee4f5f6fd598b8a68826" +uuid = "c1c5ebd0-6772-5130-a774-d5fcae4a789d" +version = "3.100.0+3" + +[[LZO_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "f128cd6cd05ffd6d3df0523ed99b90ff6f9b349a" +uuid = "dd4b983a-f0e5-5f8d-a1b7-129d4a5fb1ac" +version = "2.10.0+3" + +[[LaTeXStrings]] +git-tree-sha1 = "c7aebfecb1a60d59c0fe023a68ec947a208b1e6b" +uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" +version = "1.2.0" + +[[Latexify]] +deps = ["Formatting", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "Printf", "Requires"] +git-tree-sha1 = "3a0084cec7bf157edcb45a67fac0647f88fe5eaf" +uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" +version = "0.14.7" + +[[LibGit2]] +deps = ["Printf"] +uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" + +[[LibVPX_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "85fcc80c3052be96619affa2fe2e6d2da3908e11" +uuid = "dd192d2f-8180-539f-9fb4-cc70b1dcf69a" +version = "1.9.0+1" + +[[Libdl]] +uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" + +[[Libffi_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "a2cd088a88c0d37eef7d209fd3d8712febce0d90" +uuid = "e9f186c6-92d2-5b65-8a66-fee21dc1b490" +version = "3.2.1+4" + +[[Libgcrypt_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgpg_error_jll", "Pkg"] +git-tree-sha1 = "b391a18ab1170a2e568f9fb8d83bc7c780cb9999" +uuid = "d4300ac3-e22c-5743-9152-c294e39db1e4" +version = "1.8.5+4" + +[[Libgpg_error_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "ec7f2e8ad5c9fa99fc773376cdbc86d9a5a23cb7" +uuid = "7add5ba3-2f88-524e-9cd5-f83b8a55f7b8" +version = "1.36.0+3" + +[[Libiconv_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "cba7b560fcc00f8cd770fa85a498cbc1d63ff618" +uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531" +version = "1.16.0+8" + +[[Libmount_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "51ad0c01c94c1ce48d5cad629425035ad030bfd5" +uuid = "4b2f31a3-9ecc-558c-b454-b3730dcb73e9" +version = "2.34.0+3" + +[[Libuuid_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "f879ae9edbaa2c74c922e8b85bb83cc84ea1450b" +uuid = "38a345b3-de98-5d2b-a5d3-14cd9215e700" +version = "2.34.0+7" + +[[LightGraphs]] +deps = ["ArnoldiMethod", "DataStructures", "Distributed", "Inflate", "LinearAlgebra", "Random", "SharedArrays", "SimpleTraits", "SparseArrays", "Statistics"] +git-tree-sha1 = "6f85a35d2377cb2db1bc448ed0d6340d2bb1ea64" +uuid = "093fc24a-ae57-5d10-9952-331d41423f4d" +version = "1.3.3" + +[[LinearAlgebra]] +deps = ["Libdl"] +uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" + +[[Logging]] +uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" + +[[Lz4_jll]] +deps = ["Libdl", "Pkg"] +git-tree-sha1 = "51b1db0732bbdcfabb60e36095cc3ed9c0016932" +uuid = "5ced341a-0733-55b8-9ab6-a4889d929147" +version = "1.9.2+2" + +[[MKL_jll]] +deps = ["IntelOpenMP_jll", "Libdl", "Pkg"] +git-tree-sha1 = "eb540ede3aabb8284cb482aa41d00d6ca850b1f8" +uuid = "856f044c-d86e-5d09-b602-aeab76dc8ba7" +version = "2020.2.254+0" + +[[MacroTools]] +deps = ["Markdown", "Random"] +git-tree-sha1 = "6a8a2a625ab0dea913aba95c11370589e0239ff0" +uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" +version = "0.5.6" + +[[MappedArrays]] +deps = ["FixedPointNumbers"] +git-tree-sha1 = "b92bd220c95a8bbe89af28f11201fd080e0e3fe7" +uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" +version = "0.3.0" + +[[Markdown]] +deps = ["Base64"] +uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" + +[[Match]] +git-tree-sha1 = "5cf525d97caf86d29307150fcba763a64eaa9cbe" +uuid = "7eb4fadd-790c-5f42-8a69-bfa0b872bfbf" +version = "1.1.0" + +[[MbedTLS]] +deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"] +git-tree-sha1 = "1c38e51c3d08ef2278062ebceade0e46cefc96fe" +uuid = "739be429-bea8-5141-9913-cc70e7f3736d" +version = "1.0.3" + +[[MbedTLS_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "0eef589dd1c26a3ac9d753fe1a8bcad63f956fa6" +uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" +version = "2.16.8+1" + +[[Measures]] +git-tree-sha1 = "e498ddeee6f9fdb4551ce855a46f54dbd900245f" +uuid = "442fdcdd-2543-5da2-b0f3-8c86c306513e" +version = "0.3.1" + +[[Missings]] +deps = ["DataAPI"] +git-tree-sha1 = "f8c673ccc215eb50fcadb285f522420e29e69e1c" +uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" +version = "0.4.5" + +[[Mmap]] +uuid = "a63ad114-7e13-5084-954f-fe012c677804" + +[[MosaicViews]] +deps = ["MappedArrays", "OffsetArrays", "PaddedViews"] +git-tree-sha1 = "614e8d77264d20c1db83661daadfab38e8e4b77e" +uuid = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389" +version = "0.2.4" + +[[NaNMath]] +git-tree-sha1 = "bfe47e760d60b82b66b61d2d44128b62e3a369fb" +uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" +version = "0.3.5" + +[[Observables]] +git-tree-sha1 = "3469ef96607a6b9a1e89e54e6f23401073ed3126" +uuid = "510215fc-4207-5dde-b226-833fc4488ee2" +version = "0.3.3" + +[[OffsetArrays]] +deps = ["Adapt"] +git-tree-sha1 = "8fe8860da7427b10b996deaf1c8b9a7e96c00d05" +uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" +version = "1.5.2" + +[[Ogg_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "a42c0f138b9ebe8b58eba2271c5053773bde52d0" +uuid = "e7412a2a-1a6e-54c0-be00-318e2571c051" +version = "1.3.4+2" + +[[OpenSSL_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "71bbbc616a1d710879f5a1021bcba65ffba6ce58" +uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" +version = "1.1.1+6" + +[[OpenSpecFun_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "9db77584158d0ab52307f8c04f8e7c08ca76b5b3" +uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" +version = "0.5.3+4" + +[[Opus_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "f9d57f4126c39565e05a2b0264df99f497fc6f37" +uuid = "91d4177d-7536-5919-b921-800302f37372" +version = "1.3.1+3" + +[[OrderedCollections]] +git-tree-sha1 = "cf59cfed2e2c12e8a2ff0a4f1e9b2cd8650da6db" +uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" +version = "1.3.2" + +[[PCRE_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "1b556ad51dceefdbf30e86ffa8f528b73c7df2bb" +uuid = "2f80f16e-611a-54ab-bc61-aa92de5b98fc" +version = "8.42.0+4" + +[[PDMats]] +deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse", "Test"] +git-tree-sha1 = "95a4038d1011dfdbde7cecd2ad0ac411e53ab1bc" +uuid = "90014a1f-27ba-587c-ab20-58faa44d9150" +version = "0.10.1" + +[[PNGFiles]] +deps = ["Base64", "CEnum", "ImageCore", "IndirectArrays", "OffsetArrays", "libpng_jll"] +git-tree-sha1 = "aa6e87a2361c2fe5a63b1a6a4b567f13aa108991" +uuid = "f57f5aa1-a3ce-4bc8-8ab9-96f992907883" +version = "0.3.5" + +[[Packing]] +deps = ["GeometryBasics"] +git-tree-sha1 = "f4049d379326c2c7aa875c702ad19346ecb2b004" +uuid = "19eb6ba3-879d-56ad-ad62-d5c202156566" +version = "0.4.1" + +[[PaddedViews]] +deps = ["OffsetArrays"] +git-tree-sha1 = "0fa5e78929aebc3f6b56e1a88cf505bb00a354c4" +uuid = "5432bcbf-9aad-5242-b902-cca2824c8663" +version = "0.5.8" + +[[Pango_jll]] +deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "FriBidi_jll", "Glib_jll", "HarfBuzz_jll", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "9a336dee51d20d1ed890c4a8dca636e86e2b76ca" +uuid = "36c8627f-9965-5494-a995-c6b170f724f3" +version = "1.42.4+10" + +[[Parsers]] +deps = ["Dates"] +git-tree-sha1 = "50c9a9ed8c714945e01cd53a21007ed3865ed714" +uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" +version = "1.0.15" + +[[Pixman_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "6a20a83c1ae86416f0a5de605eaea08a552844a3" +uuid = "30392449-352a-5448-841d-b1acce4e97dc" +version = "0.40.0+0" + +[[Pkg]] +deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] +uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" + +[[PlotThemes]] +deps = ["PlotUtils", "Requires", "Statistics"] +git-tree-sha1 = "c6f5ea535551b3b16835134697f0c65d06c94b91" +uuid = "ccf2f8ad-2431-5c83-bf29-c5338b663b6a" +version = "2.0.0" + +[[PlotUtils]] +deps = ["ColorSchemes", "Colors", "Dates", "Printf", "Random", "Reexport", "Statistics"] +git-tree-sha1 = "ae9a295ac761f64d8c2ec7f9f24d21eb4ffba34d" +uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043" +version = "1.0.10" + +[[Plots]] +deps = ["Base64", "Contour", "Dates", "FFMPEG", "FixedPointNumbers", "GR", "GeometryBasics", "GeometryTypes", "JSON", "Latexify", "LinearAlgebra", "Measures", "NaNMath", "Pkg", "PlotThemes", "PlotUtils", "Printf", "REPL", "Random", "RecipesBase", "RecipesPipeline", "Reexport", "Requires", "Showoff", "SparseArrays", "Statistics", "StatsBase", "UUIDs"] +git-tree-sha1 = "f4425bbd5f313b074d6ce3b86d80c0ad16bf7326" +uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +version = "1.6.12" + +[[PolygonOps]] +git-tree-sha1 = "c031d2332c9a8e1c90eca239385815dc271abb22" +uuid = "647866c9-e3ac-4575-94e7-e3d426903924" +version = "0.1.1" + +[[Printf]] +deps = ["Unicode"] +uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" + +[[PyCall]] +deps = ["Conda", "Dates", "Libdl", "LinearAlgebra", "MacroTools", "Serialization", "VersionParsing"] +git-tree-sha1 = "dd1a970b543bd02efce2984582e996af28cab27f" +uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" +version = "1.92.2" + +[[PyPlot]] +deps = ["Colors", "LaTeXStrings", "PyCall", "Sockets", "Test", "VersionParsing"] +git-tree-sha1 = "67dde2482fe1a72ef62ed93f8c239f947638e5a2" +uuid = "d330b81b-6aea-500a-939a-2ce795aea3ee" +version = "2.9.0" + +[[QuadGK]] +deps = ["DataStructures", "LinearAlgebra"] +git-tree-sha1 = "12fbe86da16df6679be7521dfb39fbc861e1dc7b" +uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" +version = "2.4.1" + +[[REPL]] +deps = ["InteractiveUtils", "Markdown", "Sockets"] +uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" + +[[Random]] +deps = ["Serialization"] +uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[[Ratios]] +git-tree-sha1 = "37d210f612d70f3f7d57d488cb3b6eff56ad4e41" +uuid = "c84ed2f1-dad5-54f0-aa8e-dbefe2724439" +version = "0.4.0" + +[[RecipesBase]] +git-tree-sha1 = "b3fb709f3c97bfc6e948be68beeecb55a0b340ae" +uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" +version = "1.1.1" + +[[RecipesPipeline]] +deps = ["Dates", "NaNMath", "PlotUtils", "RecipesBase"] +git-tree-sha1 = "4a325c9bcc2d8e62a8f975b9666d0251d53b63b9" +uuid = "01d81517-befc-4cb6-b9ec-a95719d0359c" +version = "0.1.13" + +[[Reexport]] +deps = ["Pkg"] +git-tree-sha1 = "7b1d07f411bc8ddb7977ec7f377b97b158514fe0" +uuid = "189a3867-3050-52da-a836-e630ba90ab69" +version = "0.2.0" + +[[Requires]] +deps = ["UUIDs"] +git-tree-sha1 = "cfbac6c1ed70c002ec6361e7fd334f02820d6419" +uuid = "ae029012-a4dd-5104-9daa-d747884805df" +version = "1.1.2" + +[[Rmath]] +deps = ["Random", "Rmath_jll"] +git-tree-sha1 = "86c5647b565873641538d8f812c04e4c9dbeb370" +uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa" +version = "0.6.1" + +[[Rmath_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "1b7bf41258f6c5c9c31df8c1ba34c1fc88674957" +uuid = "f50d1b31-88e8-58de-be2c-1cc44531875f" +version = "0.2.2+2" + +[[SHA]] +uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" + +[[Serialization]] +uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" + +[[SharedArrays]] +deps = ["Distributed", "Mmap", "Random", "Serialization"] +uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" + +[[Showoff]] +deps = ["Dates", "Grisu"] +git-tree-sha1 = "ee010d8f103468309b8afac4abb9be2e18ff1182" +uuid = "992d4aef-0814-514b-bc4d-f2e9a6c4116f" +version = "0.3.2" + +[[SignedDistanceFields]] +deps = ["Random", "Statistics", "Test"] +git-tree-sha1 = "d263a08ec505853a5ff1c1ebde2070419e3f28e9" +uuid = "73760f76-fbc4-59ce-8f25-708e95d2df96" +version = "0.4.0" + +[[SimpleTraits]] +deps = ["InteractiveUtils", "MacroTools"] +git-tree-sha1 = "daf7aec3fe3acb2131388f93a4c409b8c7f62226" +uuid = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" +version = "0.9.3" + +[[Sockets]] +uuid = "6462fe0b-24de-5631-8697-dd941f90decc" + +[[SortingAlgorithms]] +deps = ["DataStructures", "Random", "Test"] +git-tree-sha1 = "03f5898c9959f8115e30bc7226ada7d0df554ddd" +uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" +version = "0.3.1" + +[[SparseArrays]] +deps = ["LinearAlgebra", "Random"] +uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" + +[[SpecialFunctions]] +deps = ["ChainRulesCore", "OpenSpecFun_jll"] +git-tree-sha1 = "75394dbe2bd346beeed750fb02baa6445487b862" +uuid = "276daf66-3868-5448-9aa4-cd146d93841b" +version = "1.2.1" + +[[StaticArrays]] +deps = ["LinearAlgebra", "Random", "Statistics"] +git-tree-sha1 = "da4cf579416c81994afd6322365d00916c79b8ae" +uuid = "90137ffa-7385-5640-81b9-e52037218182" +version = "0.12.5" + +[[Statistics]] +deps = ["LinearAlgebra", "SparseArrays"] +uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" + +[[StatsBase]] +deps = ["DataAPI", "DataStructures", "LinearAlgebra", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics"] +git-tree-sha1 = "7bab7d4eb46b225b35179632852b595a3162cb61" +uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +version = "0.33.2" + +[[StatsFuns]] +deps = ["Rmath", "SpecialFunctions"] +git-tree-sha1 = "3b9f665c70712af3264b61c27a7e1d62055dafd1" +uuid = "4c63d2b9-4356-54db-8cca-17b64c39e42c" +version = "0.9.6" + +[[StructArrays]] +deps = ["Adapt", "DataAPI", "Tables"] +git-tree-sha1 = "8099ed9fb90b6e754d6ba8c6ed8670f010eadca0" +uuid = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" +version = "0.4.4" + +[[SuiteSparse]] +deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] +uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" + +[[TableTraits]] +deps = ["IteratorInterfaceExtensions"] +git-tree-sha1 = "b1ad568ba658d8cbb3b892ed5380a6f3e781a81e" +uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" +version = "1.0.0" + +[[Tables]] +deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "TableTraits", "Test"] +git-tree-sha1 = "8dc2bb7d3548e315d890706547b24502ed79504f" +uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" +version = "1.3.1" + +[[Test]] +deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] +uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[TranscodingStreams]] +deps = ["Random", "Test"] +git-tree-sha1 = "7c53c35547de1c5b9d46a4797cf6d8253807108c" +uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" +version = "0.9.5" + +[[UUIDs]] +deps = ["Random", "SHA"] +uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" + +[[Unicode]] +uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[[UnicodeFun]] +deps = ["REPL"] +git-tree-sha1 = "53915e50200959667e78a92a418594b428dffddf" +uuid = "1cfade01-22cf-5700-b092-accc4b62d6e1" +version = "0.4.1" + +[[VersionParsing]] +git-tree-sha1 = "80229be1f670524750d905f8fc8148e5a8c4537f" +uuid = "81def892-9a0e-5fdd-b105-ffc91e053289" +version = "1.2.0" + +[[WoodburyMatrices]] +deps = ["LinearAlgebra", "SparseArrays"] +git-tree-sha1 = "59e2ad8fd1591ea019a5259bd012d7aee15f995c" +uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6" +version = "0.5.3" + +[[XML2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"] +git-tree-sha1 = "be0db24f70aae7e2b89f2f3092e93b8606d659a6" +uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" +version = "2.9.10+3" + +[[XSLT_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgcrypt_jll", "Libgpg_error_jll", "Pkg", "XML2_jll"] +git-tree-sha1 = "2b3eac39df218762d2d005702d601cd44c997497" +uuid = "aed1982a-8fda-507f-9586-7b0439959a61" +version = "1.1.33+4" + +[[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" + +[[Xorg_libXau_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "4e490d5c960c314f33885790ed410ff3a94ce67e" +uuid = "0c0b7dd1-d40b-584c-a123-a41640f87eec" +version = "1.0.9+4" + +[[Xorg_libXdmcp_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "4fe47bd2247248125c428978740e18a681372dd4" +uuid = "a3789734-cfe1-5b06-b2d0-1dd0d9d62d05" +version = "1.1.3+4" + +[[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" + +[[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" + +[[Xorg_libpthread_stubs_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "6783737e45d3c59a4a4c4091f5f88cdcf0908cbb" +uuid = "14d82f49-176c-5ed1-bb49-ad3f5cbd8c74" +version = "0.1.0+3" + +[[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" + +[[Xorg_xtrans_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "79c31e7844f6ecf779705fbc12146eb190b7d845" +uuid = "c5fb5394-a638-5e4d-96e5-b29de1b5cf10" +version = "1.4.0+3" + +[[Zlib_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "320228915c8debb12cb434c59057290f0834dbf6" +uuid = "83775a58-1f1d-513f-b197-d71354ab007a" +version = "1.2.11+18" + +[[Zstd_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "6f1abcb0c44f184690912aa4b0ba861dd64f11b9" +uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" +version = "1.4.5+2" + +[[isoband_jll]] +deps = ["Libdl", "Pkg"] +git-tree-sha1 = "a1ac99674715995a536bbce674b068ec1b7d893d" +uuid = "9a68df92-36a6-505f-a73e-abb412b6bfb4" +version = "0.2.2+0" + +[[libass_jll]] +deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] +git-tree-sha1 = "acc685bcf777b2202a904cdcb49ad34c2fa1880c" +uuid = "0ac62f75-1d6f-5e53-bd7c-93b484bb37c0" +version = "0.14.0+4" + +[[libfdk_aac_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "7a5780a0d9c6864184b3a2eeeb833a0c871f00ab" +uuid = "f638f0a6-7fb0-5443-88ba-1cc74229b280" +version = "0.1.6+4" + +[[libpng_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] +git-tree-sha1 = "6abbc424248097d69c0c87ba50fcb0753f93e0ee" +uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" +version = "1.6.37+6" + +[[libvorbis_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Ogg_jll", "Pkg"] +git-tree-sha1 = "fa14ac25af7a4b8a7f61b287a124df7aab601bcd" +uuid = "f27f6e37-5d2b-51aa-960f-b287f2bc3b7a" +version = "1.3.6+6" + +[[x264_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "d713c1ce4deac133e3334ee12f4adff07f81778f" +uuid = "1270edf5-f2f9-52d2-97e9-ab00b5d0237a" +version = "2020.7.14+2" + +[[x265_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "487da2f8f2f0c8ee0e83f39d13037d6bbf0a45ab" +uuid = "dfaa095f-4041-5dcd-9319-2fabd8486b76" +version = "3.0.0+3" diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..c05e0c8 --- /dev/null +++ b/Project.toml @@ -0,0 +1,12 @@ +[deps] +Cairo = "159f3aea-2a34-519c-b102-8c37f9878175" +CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" +Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" +Compose = "a81c6b42-2e10-5240-aca2-a61377ecd94b" +GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231" +JLD = "4138dd39-2aa7-5051-a626-17a0bb65d9c8" +JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" +LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" +Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee" +StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" diff --git a/graph21-22.ipynb b/graph21-22.ipynb new file mode 100644 index 0000000..c344537 --- /dev/null +++ b/graph21-22.ipynb @@ -0,0 +1,1185 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Graph project: Epidemic spreading

\n", + "\n", + "

ENSEEIHT SN

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "## Introduction\n", + "\n", + " \n", + "

As you know, a new epidemic has overwhelmed the world, COVID-19 jeopardizes people and changes our habits. It is easy to realise that knowing how illnesses spread is vital to our own protection. How can we predict whether a disease will cause an epidemic, how many people it will infect, which people it will infect, and whether or not it is dangerous to society as a whole ? Also, how can we determine which techniques to use in fighting an epidemic once it begins ? One way to answer all of these questions is through mathematical modeling.

\n", + "\n", + "

In this work you will have to review different epidemic modelings relying all on the representation by graphs of a human network called a contact network. A vertex in a contact network represents an individual and an edge between two vertices represents a contact between two individuals. The disease only spread from individual to individual if they are in contact, so through the edges. This representation is actually really common in research, and a lot of state-of-the-art modeling are built over it. From these different models you will be asked to draw conclusions from experiments on varying contact networks

\n", + "\n", + "

For readability and ease of use, this project will be carried on a Jupyter Notebook, hence code and question answering have to be written in this unique file. This is a DUO project, no group of one person will be accepted, the duo has to be composed of same TD group students, if the number of students in the TD group is odd we will accept one group composed of three students. It will be coded in Julia using the LightGraphs package. BEWARE: \n", + " \n", + "- If the code does not provide good results, its readability as well as its comments are essential for the corrector to potentially find some notation points.\n", + "- The specifications of the functions have to be strictly respected.\n", + "- Do not neglect written questions they stand for an important part of the notation, you are not only evaluated on the coding. Also, even so a written question may not ask you directly to code or provide results from code, support your arguments when possible with a runable example is very welcome and sometimes even expected.\n", + "- Any initiatives and additional efforts bringing contents and thoughts out of the question scope may result in bonus points if pertinent.\n", + "

\n", + " \n", + "

Deliverable: You will deliver your work on moodle before 23.01.2022 in a .tar containing the notebook with your codes and your written answers, and the different graph figures in .png you will generate. The corrector will use the student N7 computers for running your code, so take care of verifying that your work is running as expected on these computers !

\n", + "\n", + "LightGraphs documentation: https://juliagraphs.org/LightGraphs.jl/v1.2/index.html\n", + " \n", + "" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "## Environment and packages installation\n", + "\n", + " \n", + "\n", + "

IMPORTANT: For evaluation, coding questions have to run with no additional packages ! Only the ones present here ! However if you want to use another package to go further in your answer and add bonus contents, take care of separating the cells and precising which packages you are using.

" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# TO RUN ONCE\n", + "using Pkg\n", + "Pkg.activate(\".\") # Path to Manifest.toml and Project.toml\n", + "Pkg.resolve()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "scrolled": true + }, + "outputs": [], + "source": [ + "# Import packages\n", + "using Pkg\n", + "Pkg.activate(\".\") # Path to Manifest.toml and Project.toml\n", + "using LightGraphs\n", + "using GraphPlot\n", + "using Colors\n", + "using CairoMakie\n", + "using StatsBase\n", + "using Plots\n", + "using JLD2\n", + "using Compose" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "## Part 1 - SIS model\n", + "\n", + "\n", + "

SIS is a compartmental model, ie a model where the population is divided into subgroups that represent the disease status of its members. SIS stands for Susceptible $\\rightarrow$ Infected $\\rightarrow$ Susceptible where the susceptible group contains those who remain susceptible to the infection, and the infected group consists of those who not only have the disease but are also in the contagious period of the disease.

\n", + " \n", + "

Combine with a contact network approach, this model can capture contact patterns (family, company, friends). Each vertex represents an individual in the host population, and contacts between two individuals are represented by an edge that connects the two. The probability of transmitting the disease from an infected to a susceptible individual along one of these edges or contacts is $\\beta$ (=infection rate). The probability to cure is $\\alpha$ (= curing rate).

\n", + "\n", + " \n", + "

In order for a disease to begin spreading through a network, the disease must be introduced into the population, either through infecting a proportion of the population or through infecting one individual. As time moves forward, the disease will spread away from those initially infected, and two things may occur simultaneously at each time step $t$. First, each infected individual will spread disease to each of its contacts with a probability $\\beta$. Secondly, each infectious individual will recover at a rate, $\\alpha$ , at which point the individual will then no longer infect any of its contacts. After the disease has run its course, we can determine how the disease affected the network by calculating various quantities that help us better understand the outbreak.\n", + "

\n", + "\n", + "
\n", + " \n", + "

P. Van Mieghem, J. Omic, R. E. Kooij, “Virus Spread in Networks”,\n", + "IEEE/ACM Transaction on Networking (2009)

\n", + "\n", + "\n", + "" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

\n", + "\n", + "### 1.1 Contact networks sample" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "\"\"\"karat7: A graph representing the karate club of N7 and the connections between the persons in this club.\n", + "There are 34 people in this network. It is actually inspired by one of the most famous problem in graph\n", + "theory: the Zachary's karate club.\n", + "\"\"\"\n", + "karat7 = smallgraph(:karate)\n", + "nodecolor = [colorant\"lightseagreen\"]\n", + "draw(PNG(\"karat7.png\", 100cm, 100cm), gplot(karat7,nodefillc=nodecolor))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "\"\"\"n7_2A: A graph representing the second year students at N7. Each department (SN, MF2E, 3EA) form a \n", + "community where connections are denser, connections between department are rarer.\n", + "\"\"\"\n", + "c=[[10,0,0] [0.1,10,0] [0.1,0.1,10]]\n", + "n=[100,70,50]\n", + "n7_2A = stochastic_block_model(c,n)\n", + "nodecolor = [colorant\"lightseagreen\"]\n", + "draw(PNG(\"n7_2A.png\", 100cm, 100cm), gplot(n7_2A,nodefillc=nodecolor))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "\"\"\"toulouse_neigh: A graph representing a neighborhood composed of 1000 people in Toulouse.\n", + "\"\"\"\n", + "toulouse_neigh = barabasi_albert(1000, 1)\n", + "nodecolor = [colorant\"lightseagreen\"]\n", + "draw(PNG(\"toulouse_neigh.png\", 100cm, 100cm), gplot(toulouse_neigh,nodefillc=nodecolor))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "### 1.2 Introduce the infection\n", + " \n", + "

We denote by state a vector containing the disease status of each vertex where Susceptible=0 and Infected=1. Then state is an Array{Int32,1} of length the number of vertices. This array in addition of a graph (represented internally by an adjacency matrix or an adjacency list) will be the data structure of our model.

\n", + " \n", + "In Array{Int32,1}, Int32 refers to the kind of data in the array, here 32 bits integers, 1 refers to the dimension of the array, here we have a 1-dimensional structure so a vector." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 1 (code): For each graph in the graph sample (karat7, n7_2A, toulouse_neigh) initialize the state array by assigning each vertex to susceptible and add randomly one or numerous infected people. Save the graph as a .png image using gplot and draw, infected should appear in a different color (colorant\"orange\").\n", + " \n", + "Due to a bug on certain version of Jupyter Notebook, the graph figures should be saved in a file and not plot inside the notebook !!!\n", + " \n", + "Gplot GitHub: https://github.com/JuliaGraphs/GraphPlot.jl\n", + " \n", + "Gplot examples: https://juliagraphs.org/GraphPlot.jl/" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Infect Karat7" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Infect N7_2A" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Infect Toulouse_neigh" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 2 (written): What do you think/predict about the influence of the initial number of infected people and their locations on the evolution of an SIS model epidemic ?\n", + "\n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "### 1.3 Spread the infection" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 3 (code): Implement the function SIS (respect the header and the specifications). You can use rand to translate the probabilities. Test your algorithm on karat7, n7_2A, and toulouse_neigh with arbitrary $\\beta$, $\\alpha$, and $t$.\n", + " \n", + "The corrector should be able to write new_state = SIS(net,state,beta,alpha,t) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function SIS(net,state,beta,alpha,t)\n", + " \"\"\"Take a contact network at a certain state and apply t time steps\n", + " of an SIS model.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " state (Array{Int32,1}): disease status of each vertex\n", + " beta (Float64): infection rate\n", + " alpha (Float64): curing rate\n", + " t (Int32): number of time step\n", + " \n", + " RETURNS\n", + " (Array{Int32,1}): The new state of the contact network after t time steps.\n", + " \"\"\" \n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Karat7" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on N7_2A" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Toulouse_neigh" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "### 1.4 Simulate and understand the epidemic\n", + " \n", + "

In the SIS model of this project, every disease is characterized by:\n", + " \n", + "* The infection rate $\\beta$ representing the chance of infection when being in contact with an infected individual.\n", + "* The curing rate $\\alpha$ representing the chance of being cured of the disease.\n", + "* The effective spreading rate $\\tau=\\frac{\\beta}{\\alpha}$ representing the capacity of the disease to spread. More the disease infect easily ($\\beta$ high) and less it is cured easily ($\\alpha$ low) more $\\tau$ can be high.\n", + "\n", + "We are now willing to understand what are the influences of these parameters as well as the contact network shape on an epidemic.

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 4 (written): The function SIS you implemented launches one run of an SIS model on a given contact network. As it makes use of randomness, one run of spreading is stochastic. Then what simple method can you propose to provide a prediction of the disease spreading on a given contact network ?\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 5 (code): Implement the function Simulation_SIS (respect the header and the specifications).\n", + " \n", + "The corrector should be able to write predictions, taus = Simulation_SIS(net,nbinf,betas,alphas,t,nbsimu) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function Simulation_SIS(net,nbinf,betas,alphas,t,nbsimu)\n", + " \"\"\"Take a contact network, different diseases (defined by \n", + " different parameters alpha and beta), a number of initial\n", + " infected people and process nbsimu simulations of SIS over\n", + " t time steps. You will provide the prediction of the \n", + " percentage of infected at each time t as well as the \n", + " spreading rate of each disease.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " nbinf (Int32): number of infected at the start of each \n", + " simulation\n", + " betas (Array{Float64,1}): array of infection rate on edges\n", + " alphas (Array{Float64,1}): array of curing rate on vertices\n", + " t (Int32): number of time step\n", + " nbsimu (Int32): number of simulations\n", + " \n", + " RETURNS\n", + " (Array{Float64,2}): the prediction of the percentage of \n", + " infected at each time step and for each disease. The \n", + " first dimension contains the time steps and the second\n", + " contains the diseases\n", + " (Array{Float64,1}): effective spreading rate for each \n", + " disease\n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 6 (written): Run the 2 scripts below and describe what you see. Conclude on the influence of $\\tau$, $\\beta$, and $\\alpha$ on an epidemic we can model with SIS.\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Script launching predictions on different diseases on karat7 and printing \n", + "# the precentage of infected at each time step.\n", + "betas=[0.05,0.1,0.01,0.4,0.04,0.05,0.005]\n", + "alphas=[0.05,0.1,0.01,0.1,0.01,0.1,0.01]\n", + "\n", + "predictions, taus = Simulation_SIS(karat7,2,betas,alphas,1000,1000)\n", + "\n", + "Plots.plot(predictions, label=taus',xlabel=\"Time\",ylabel=\"% of infected\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Same as before but applied on toulouse_neigh. May be a bit long to run.\n", + "betas = [0.05,0.1,0.15,0.25,0.35,0.45,0.55,0.65,0.75,0.85,0.95]\n", + "alphas = [0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2]\n", + "\n", + "predictions, taus = Simulation_SIS(toulouse_neigh,100,betas,alphas,1000,100)\n", + "\n", + "Plots.plot(predictions, label=taus',xlabel=\"Time\",ylabel=\"% of infected\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 7 (written): Change the initial number of infected in the scripts above, is it in accordance with your answer in Question 2 ?\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "scrolled": true + }, + "outputs": [], + "source": [ + "# Change the initial number of infected" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 8 (code): Implement a script plotting the maximum percentage of infected people according to $\\tau$ over 300 time steps for 3 contact networks:\n", + "\n", + "* A regular graph of 200 vertices with degree 2.\n", + "* A regular graph of 200 vertices with degree 5.\n", + "* A regular graph of 200 vertices with degree 10.\n", + "\n", + "You can use the function random_regular_graph(n,d) of LighGraphs. As you probably need to use a certain number of different values of $\\tau$ to visualize something interesting (the more there are the more the figure will be smooth) you should fix $\\alpha$ and make $\\beta$ vary. \n", + "\n", + "A regular graph is a graph where each vertex has the same degree." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Plots of the maximum percentage of infected people according to tau over 300 time \n", + "# steps for 3 contact networks." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 9 (written): Describe the figure and draw conclusions on the epidemic behavior for different degrees $d$ on regular graphs. Thus, in addition of the inner properties of the disease ($\\alpha$, $\\beta$, $\\tau$) what other parameter is essential in the spreading ? Finally, what analogy can be done with real life from this experiment ?\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "## Part 2 - SIR and SAIR model\n", + "\n", + " \n", + "

Unfortunately SIS model is valuable for diseases we can catch back since a cured person can get ill again. This is true for the flu, the cold, etc. However COVID-19 might create immunity for whom already got it and SIS can not take into account immune or dead persons. That is why we propose in this part to consider another model more adapted to COVID-19 called SIR. It stands for Susceptible $\\rightarrow$ Infected $\\rightarrow$ Recovered where the susceptible group contains those who remain susceptible to the infection, the infected group consists of those who not only have the disease but are also in the contagious period of the disease, and the recovered group contains those who were ill, got cured, are not contagious and can not get ill anymore.

\n", + "\n", + "
\n", + "\n", + "

M. Youssef and C. Scoglio, \"An individual-based approach to SIR epidemics in contact networks\", Journal of Theoretical Biology 283 (2011)

\n", + "\n", + "
\n", + " \n", + "

One limitation of SIR is that it does not model the reaction of humans when they feel the presence of the epidemic. Indeed, if feeling threaten or surrounded by infected, an individual may change its behaviors: wear mask, wash its hands, etc. This result in a smaller infection rate. That is why in this part we will also consider a variant of SIR called SAIR which stands for Susceptible $\\rightarrow$ Alert $\\rightarrow$ Infected $\\rightarrow$ Recovered. A susceptible individual becomes infected by the infection rate $\\beta_0$, an infected individual recovers and gets immune by the curing rate $\\alpha$, an individual can observe the states of its neighbors, then a susceptible individual might go to the alert state if surrounded by infected individuals with an alert rate $\\kappa$ on each contact with an infected, an alert inividual becomes infected by the infection rate $\\beta_1$ where $0<\\beta_1<\\beta_0$. In our simple SAIR model, an individual can not go back to a susceptible state when he got into the alert state.

\n", + " \n", + "
\n", + " \n", + "

F. Darabi Sahneh and C. Scoglio, \"Epidemic Spread in Human Networks\", 50th IEEE Conf. Decision and Contol, Orlando, Florida (2011)

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "### 2.1 SIR\n", + " \n", + "

The vector containing the disease status state has to change a bit since we added a new state. Hence it will be an Array{Int32,1} where Susceptible=0, Infected=1, and Recovered=2.

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 10 (code): Implement the function SIR (respect the header and the specifications). You can use rand to translate the probabilities. Test your algorithm on karat7, n7_2A, and toulouse_neigh with arbitrary $\\beta$, $\\alpha$, and $t$. Recovered vertices should appear in a different color (colorant\"purple\").\n", + " \n", + "The corrector should be able to write new_state = SIR(net,state,beta,alpha,t) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function SIR(net,state,beta,alpha,t)\n", + " \"\"\"Take a contact network at a certain state and apply t time steps\n", + " of an SIR model.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " state (Array{Int32,1}): disease status of each vertex\n", + " beta (Float64): infection rate\n", + " alpha (Float64): curing rate\n", + " t (Int32): number of time step\n", + " \n", + " RETURNS\n", + " (Array{Int32,1}): The new state of the contact network after t time steps.\n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Karat7" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on N7_2A" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Toulouse_neigh" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 11 (code): Implement the function Simulation_SIR (respect the header and the specifications).\n", + " \n", + "The corrector should be able to write predictions, taus = Simulation_SIR(net,nbinf,betas,alphas,t,nbsimu) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function Simulation_SIR(net,nbinf,betas,alphas,t,nbsimu)\n", + " \"\"\"Take a contact network, different diseases (defined by \n", + " different parameters alpha and beta), a number of initial\n", + " infected people and process nbsimu simulations of SIR over\n", + " t time steps. You will provide the prediction of the \n", + " percentage of infected at each time t as well as the \n", + " spreading rate of each disease.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " nbinf (Int32): number of infected at the start of each \n", + " simulation\n", + " betas (Array{Float64,1}): array of infection rate on edges\n", + " alphas (Array{Float64,1}): array of curing rate on vertices\n", + " t (Int32): number of time step\n", + " nbsimu (Int32): number of simulations\n", + " \n", + " RETURNS\n", + " (Array{Float64,3}): the prediction of the percentage of \n", + " infected, the percentage of susceptible and the \n", + " percentage of recovered at each time step and for each \n", + " disease. The first dimension contains the time steps,\n", + " the second contains the diseases, and the third the status\n", + " (Infected: [:,:,1], Recovered: [:,:,2], Susceptible: [:,:,3])\n", + " (Array{Float64,1}): effective spreading rate for each \n", + " disease\n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 12 (written): Run the script below and describe what you see. Why the infected curve does not behave the same as for SIS ? \n", + " \n", + "
\n", + "\n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Script launching prediction on one disease on n7_2A and plotting the percentage\n", + "# of infected, susceptible and recovered at each time step.\n", + "predictions, taus = Simulation_SIR(n7_2A,2,[0.3],[0.2],50,1000)\n", + "\n", + "Plots.plot([predictions[:,:,1] predictions[:,:,2] predictions[:,:,3]],\n", + " label=[\"Infected\" \"Recovered\" \"Susceptible\"],xlabel=\"t\",ylabel=\"%\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 13 (written): As for Question 6 script 2 plot the evolution of the percentage of infected for many $\\tau$. Describe what you see.\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Equivalent experiment as for Question 6 script 2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 14 (code): Implement a script plotting the number of infected over 75 time steps for $\\beta=0.3$ and $\\alpha=0.2$ fixed and on 3 contact networks:\n", + " \n", + "* A regular graph of 200 vertices with degree 2.\n", + "* A regular graph of 200 vertices with degree 5.\n", + "* A regular graph of 200 vertices with degree 10.\n", + " " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Plots of the number of infected people according to tau over 75 time \n", + "# steps for 3 contact networks." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 15 (written): From the previous figure, explain why lockdown can be interesting when hospital places are lacking ?\n", + "\n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "### 2.2 SAIR\n", + " \n", + "

The vector containing the disease status state has to change a bit since we added a new state. Hence it will be an Array{Int32,1} where Susceptible=0, Infected=1, Recovered=2, and Alert=3.

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 16 (code): Implement the function SAIR (respect the header and the specifications). You can use rand to translate the probabilities. Test your algorithm on karat7, n7_2A, and toulouse_neigh with arbitrary $\\beta$, $\\alpha$, and $t$. Alerted vertices should appear in a different color (colorant\"lightgreen\").\n", + " \n", + "The corrector should be able to write new_state = SAIR(net,state,beta0,beta1,alpha,kappa,t) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function SAIR(net,state,beta0,beta1,alpha,kappa,t)\n", + " \"\"\"Take a contact network at a certain state and apply t time steps\n", + " of an SAIR model.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " state (Array{Int32,1}): disease status of each vertex\n", + " beta0 (Float64): infection rate when not alert\n", + " beta1 (Float64): infection rate when alert\n", + " alpha (Float64): curing rate\n", + " kappa (Float64): alerting rate\n", + " t (Int32): number of time step\n", + " \n", + " RETURNS\n", + " (Array{Int32,1}): The new state of the contact network after t time steps.\n", + " \"\"\" \n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Karat7" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on N7_2A" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test on Toulouse_neigh" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 17 (code): Implement the function Simulation_SAIR (respect the header and the specifications).\n", + " \n", + "The corrector should be able to write predictions, taus = Simulation_SAIR(net,nbinf,betas0,betas1,alphas,kappas,t,nbsimu) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function Simulation_SAIR(net,nbinf,betas0,betas1,alphas,kappas,t,nbsimu)\n", + " \"\"\"Take a contact network, different diseases (defined by \n", + " different parameters alpha and beta), a number of initial\n", + " infected people and process nbsimu simulations of SAIR over\n", + " t time steps. You will provide the prediction of the \n", + " percentage of infected at each time t as well as the \n", + " spreading rate of each disease.\n", + " \n", + " PARAMS\n", + " net (LightGraph): graph representing the contact network\n", + " nbinf (Int32): number of infected at the start of each \n", + " simulation\n", + " betas0 (Array{Float64,1}): array of infection rate when not alert on edges\n", + " betas1 (Array{Float64,1}): array of infection rate when alert on edges\n", + " alphas (Array{Float64,1}): array of curing rate on vertices\n", + " kappas (Array{Float64,1}): array of alerting rate on edges\n", + " t (Int32): number of time step\n", + " nbsimu (Int32): number of simulations\n", + " \n", + " RETURNS\n", + " (Array{Float64,3}): the prediction of the percentage of \n", + " infected, the percentage of susceptible and the \n", + " percentage of recovered at each time step and for each \n", + " disease. The first dimension contains the time steps,\n", + " the second contains the diseases, and the third the status\n", + " (Infected: [:,:,1], Recovered: [:,:,2], Susceptible: [:,:,3])\n", + " (Array{Float64,1}): effective spreading rate for each \n", + " disease\n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 18 (written): Run the script below comparing the number of infected of SAIR and SIR and comment what you see.\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Script launching prediction on one disease on toulouse_neigh and plotting the percentage\n", + "# of infected at each time step for SIR and SAIR.\n", + "predictions1, taus1 = Simulation_SAIR(toulouse_neigh,2,[0.2],[0.1],[0.1],[0.4],100,1000)\n", + "predictions2, taus2 = Simulation_SIR(toulouse_neigh,2,[0.2],[0.1],100,1000)\n", + "\n", + "Plots.plot([predictions1[:,:,1] predictions2[:,:,1]],\n", + " label=[\"SAIR\" \"SIR\"],xlabel=\"t\",ylabel=\"%\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 19 (written): Of course the presented SIS, SIR, and SAIR models are limitated in their modelization of the reality. Formulate few of these limitations (at least 2). \n", + "Propose few algorithm addons/ideas (at least 2) which would make the models more complex and more accurate in regards to the reality.\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "## Part 3 - Discover patient zero\n", + " \n", + "

In the two previous parts you may have realised that understanding and controlling the spread of epidemics on contact networks is an important task. However, information about\n", + "the origin of the epidemic could be also extremely useful to reduce or prevent future outbreaks. Thus, in this part we will focus on algorithm solutions to answer this issue.

\n", + " \n", + "

The stochastic nature of infection propagation makes the estimation of the epidemic origin intrinsically hard: indeed, different initial conditions can lead to the same configuration at the observation time. Methods such as the distance centrality or the Jordan center try to approximate it. They both rely on spatial information by stating that the first infected is probably at the center of the cluster of infection. Mathematically:\n", + " \n", + "* The jordan center is expressed as $\\min_{v\\in \\mathcal{I}}\\max_{n\\in \\mathcal{I}}d(v,n)$ where $\\mathcal{I}$ is a connected component of the original contact network containing all infected and recovered vertices, and where $d(\\cdot,\\cdot)$ is the distance (= the shortest path) between 2 vertices (if not weighted graph each edge accounts for 1 unit). \n", + "* The distance centrality is expressed as $\\min_{v\\in \\mathcal{I}}\\sum_{n\\in \\mathcal{I}}d(v,n)(\\delta_{n,I} + \\delta_{n,R}/\\alpha)$, where $\\delta_{n,I}=1$ if the vertex n is infected ($=0$ otherwise), and where $\\delta_{n,R}=1$ if the vertex n is recovered ($=0$ otherwise). You may note that in distance centrality we increase the weight of the recovered vertices by a factor $1/\\alpha$, it translates the fact that recovered vertices tend to be closer to the origin of the epidemic since they probably got ill before.\n", + " \n", + " \n", + "We formulate the problem as follow: given a contact network and a snapshot of epidemic spread at a certain time, determine the infection source. A snapshot is a given state array for a contact network.

\n", + "\n", + "
\n", + " \n", + "

A. Y. Lokhov, M. Mézard, H. Ohta, and L. Zdeborová, \"Inferring the origin of an epidemic with a dynamic message-passing algorithm\", Physical Review (2014)

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 20 (code): Implement the function jordan (respect the header and the specifications). You will need to use the function dijkstra_shortest_paths of the LighGraphs library, refer to the doc for more information. If there are multiple minimal vertices, then return the first one.\n", + " \n", + "The corrector should be able to write zero = jordan(g,state,alpha) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function jordan(g,state)\n", + " \"\"\"Find patient zero by mean of the jordan center method.\n", + " \n", + " PARAMS\n", + " g (LightGraph): graph representing the contact network\n", + " state (Array{Int32,1}): disease status of each vertex\n", + " \n", + " RETURNS\n", + " (Int32): the patient zero vertex number \n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + " \n", + "Question 21 (code): Implement the function distance (respect the header and the specifications). You will need to use the function dijkstra_shortest_paths of the LighGraphs library, refer to the doc for more information. If there are multiple minimal vertices, then return the first one.\n", + " \n", + "The corrector should be able to write zero = distance(g,state,alpha) with your code." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "function distance(g,state,alpha=1.)\n", + " \"\"\"Find patient zero by mean of the distance centrality method.\n", + " \n", + " PARAMS\n", + " g (LightGraph): graph representing the contact network\n", + " state (Array{Int32,1}): disease status of each vertex\n", + " alpha (Float64): curing rate\n", + " \n", + " RETURNS\n", + " (Int32): the patient zero vertex number \n", + " \"\"\"\n", + " # TODO\n", + "end" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
\n", + "\n", + "Question 22 (written): Run the 3 following scripts using your functions jordan and distance and comment on the results.\n", + " \n", + "The contact network is karat7 for 2 different patient zero and a $50\\times 50$ grid. The real patient zero (\"Z\"), your jordan (\"J\") and distance (\"D\") approximations are appearing in colorant\"lightblue\".\n", + " \n", + "
\n", + " \n", + "
Answer:
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Loading a snapshot of karat7\n", + "@load \"karat7_Q22_1.jld2\" g state pat_zero alpha beta loc_x loc_y\n", + "\n", + "# Run the patient zero finding function\n", + "cent_pat_zero = distance(g,state,alpha)\n", + "jor_pat_zero = jordan(g,state)\n", + "\n", + "# Some display options \n", + "labels = Array{String, 1}(undef,nv(g))\n", + "for k=1:nv(g)\n", + " if state[k]==1\n", + " labels[k]=\"I\"\n", + " elseif state[k]==2\n", + " labels[k]=\"R\"\n", + " else\n", + " labels[k]=\"S\"\n", + " end\n", + "end\n", + "\n", + "if cent_pat_zero==jor_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+J+Z\"\n", + "elseif cent_pat_zero==jor_pat_zero\n", + " labels[cent_pat_zero]=\"C+J\"\n", + " labels[pat_zero]=\"Z\"\n", + "elseif cent_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+Z\"\n", + " labels[jor_pat_zero]=\"J\"\n", + "elseif jor_pat_zero==pat_zero\n", + " labels[jor_pat_zero]=\"J+Z\"\n", + " labels[cent_pat_zero]=\"C\"\n", + "else\n", + " labels[cent_pat_zero]=\"C\"\n", + " labels[jor_pat_zero]=\"J\"\n", + " labels[pat_zero]=\"Z\"\n", + "end\n", + "\n", + "nodecolor = [colorant\"lightseagreen\", colorant\"orange\", colorant\"purple\"]\n", + "colors = nodecolor[state + ones(Int32,nv(g))]\n", + "colors[pat_zero] = colorant\"lightblue\"\n", + "colors[cent_pat_zero] = colorant\"lightblue\"\n", + "colors[jor_pat_zero] = colorant\"lightblue\"\n", + "\n", + "# Display\n", + "draw(PNG(\"karat7_Q22_1.png\", 20cm, 20cm), gplot(g,loc_x,loc_y,nodefillc=colors,nodelabel=labels))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Loading a snapshot of karat7\n", + "@load \"karat7_Q22_2.jld2\" g state pat_zero alpha beta loc_x loc_y\n", + "\n", + "# Run the patient zero finding function\n", + "cent_pat_zero = distance(g,state,alpha)\n", + "jor_pat_zero = jordan(g,state)\n", + "\n", + "# Some display options \n", + "labels = Array{String, 1}(undef,nv(g))\n", + "for k=1:nv(g)\n", + " if state[k]==1\n", + " labels[k]=\"I\"\n", + " elseif state[k]==2\n", + " labels[k]=\"R\"\n", + " else\n", + " labels[k]=\"S\"\n", + " end\n", + "end\n", + "\n", + "if cent_pat_zero==jor_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+J+Z\"\n", + "elseif cent_pat_zero==jor_pat_zero\n", + " labels[cent_pat_zero]=\"C+J\"\n", + " labels[pat_zero]=\"Z\"\n", + "elseif cent_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+Z\"\n", + " labels[jor_pat_zero]=\"J\"\n", + "elseif jor_pat_zero==pat_zero\n", + " labels[jor_pat_zero]=\"J+Z\"\n", + " labels[cent_pat_zero]=\"C\"\n", + "else\n", + " labels[cent_pat_zero]=\"C\"\n", + " labels[jor_pat_zero]=\"J\"\n", + " labels[pat_zero]=\"Z\"\n", + "end\n", + "\n", + "nodecolor = [colorant\"lightseagreen\", colorant\"orange\", colorant\"purple\"]\n", + "colors = nodecolor[state + ones(Int32,nv(g))]\n", + "colors[pat_zero] = colorant\"lightblue\"\n", + "colors[cent_pat_zero] = colorant\"lightblue\"\n", + "colors[jor_pat_zero] = colorant\"lightblue\"\n", + "\n", + "# Display\n", + "draw(PNG(\"karat7_Q22_2.png\", 20cm, 20cm), gplot(g,loc_x,loc_y,nodefillc=colors,nodelabel=labels))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Loading a snapshot of grid50\n", + "@load \"grid50_Q22.jld2\" g state pat_zero alpha beta loc_x loc_y\n", + "\n", + "# Run the patient zero finding function\n", + "cent_pat_zero = distance(g,state,alpha)\n", + "jor_pat_zero = jordan(g,state)\n", + "\n", + "# Some display options \n", + "labels = Array{String, 1}(undef,nv(g))\n", + "for k=1:nv(g)\n", + " if state[k]==1\n", + " labels[k]=\"I\"\n", + " elseif state[k]==2\n", + " labels[k]=\"R\"\n", + " else\n", + " labels[k]=\"S\"\n", + " end\n", + "end\n", + "\n", + "if cent_pat_zero==jor_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+J+Z\"\n", + "elseif cent_pat_zero==jor_pat_zero\n", + " labels[cent_pat_zero]=\"C+J\"\n", + " labels[pat_zero]=\"Z\"\n", + "elseif cent_pat_zero==pat_zero\n", + " labels[cent_pat_zero]=\"C+Z\"\n", + " labels[jor_pat_zero]=\"J\"\n", + "elseif jor_pat_zero==pat_zero\n", + " labels[jor_pat_zero]=\"J+Z\"\n", + " labels[cent_pat_zero]=\"C\"\n", + "else\n", + " labels[cent_pat_zero]=\"C\"\n", + " labels[jor_pat_zero]=\"J\"\n", + " labels[pat_zero]=\"Z\"\n", + "end\n", + "\n", + "nodecolor = [colorant\"lightseagreen\", colorant\"orange\", colorant\"purple\"]\n", + "colors = nodecolor[state + ones(Int32,nv(g))]\n", + "colors[pat_zero] = colorant\"lightblue\"\n", + "colors[cent_pat_zero] = colorant\"lightblue\"\n", + "colors[jor_pat_zero] = colorant\"lightblue\"\n", + "\n", + "# Display\n", + "draw(PNG(\"grid50_Q22.png\", 100cm, 100cm), gplot(g,loc_x,loc_y,nodefillc=colors,nodelabel=labels))" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Julia 1.4.2", + "language": "julia", + "name": "julia-1.4" + }, + "language_info": { + "file_extension": ".jl", + "mimetype": "application/julia", + "name": "julia", + "version": "1.4.2" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/grid50_Q22.jld2 b/grid50_Q22.jld2 new file mode 100644 index 0000000..8635758 Binary files /dev/null and b/grid50_Q22.jld2 differ diff --git a/karat7.png b/karat7.png new file mode 100644 index 0000000..40024ae Binary files /dev/null and b/karat7.png differ diff --git a/karat7_Q22_1.jld2 b/karat7_Q22_1.jld2 new file mode 100644 index 0000000..db305e7 Binary files /dev/null and b/karat7_Q22_1.jld2 differ diff --git a/karat7_Q22_2.jld2 b/karat7_Q22_2.jld2 new file mode 100644 index 0000000..cd58fb6 Binary files /dev/null and b/karat7_Q22_2.jld2 differ diff --git a/n7_2A.png b/n7_2A.png new file mode 100644 index 0000000..7637042 Binary files /dev/null and b/n7_2A.png differ diff --git a/toulouse_neigh.png b/toulouse_neigh.png new file mode 100644 index 0000000..cdb8ab1 Binary files /dev/null and b/toulouse_neigh.png differ