Commit graph

26 commits

Author SHA1 Message Date
1c82d1716a Use CartesianIndices instead of handmade tuples 2020-02-23 14:36:55 +01:00
af6eae89dc Log total cost during optimisation 2020-02-23 14:27:39 +01:00
839bc8a1df Initialise the garden with the correct plant counts 2020-02-23 11:23:02 +01:00
21170b4007 Compute costs between species and family 2020-02-23 10:55:41 +01:00
d0309486a4 Avoid loading plants names two times 2020-02-22 23:10:35 +01:00
3a2ba93595 Move MCMC tests to a separate file 2020-02-22 23:10:35 +01:00
2982cbf42c Fix garden output to CSV 2020-02-22 18:33:00 +01:00
2b4c21972d Fix test on Travis
`isnothing` requires at least Julia 1.1.
2020-02-22 17:36:53 +01:00
7eda1dc303 Move MCMC code to its own source file 2020-02-22 17:34:47 +01:00
28a79fdd8e Update readme 2020-02-22 17:32:04 +01:00
fa6c02dc6c Add tests for classifications 2020-02-22 17:28:47 +01:00
6d30b54570 Interpret correctly the signs in the affinity matrix 2020-02-22 17:28:23 +01:00
34d9cd000d Compute costs matrix from phylogenetic tree and reorganise sources 2020-02-22 16:41:25 +01:00
c117b9cccb Add phylogenetic tree and better cost computation 2020-02-21 20:45:16 +01:00
d3513c008a Add docstrings 2020-02-20 22:10:46 +01:00
bd97cffcc1 Add type signatures to functions 2020-02-20 21:47:45 +01:00
0837a30169 Adapt to true garden shape and constraints 2020-02-20 21:24:42 +01:00
62b7a97c5b Update data files 2020-02-20 21:23:32 +01:00
f0ae97dddb Add garden description 2020-02-20 18:56:52 +01:00
3bd21fd2db Compute the evolution of a random square garden 2020-02-19 18:41:20 +01:00
8b366f9457 Add data 2020-02-19 08:33:16 +01:00
e38f0a10fd Fix README 2020-02-18 22:47:48 +01:00
e9e7f927ab Read costs matrix and preprocess it 2020-02-18 22:43:37 +01:00
f7f1db9246 Add Metropolis-Hastings algorithm for Potts modelling 2020-02-18 22:37:32 +01:00
02281c49ee Files generated by PkgTemplates 2020-02-18 19:00:36 +01:00
d62999f46b Initial commit 2020-02-18 19:00:31 +01:00