ABMEv.jl 1.58 KB
Newer Older
1
2
3
4
__precompile__()

module ABMEv
    using Distributions,LinearAlgebra,Reexport,StatsBase
5
    using LightGraphs
Victor's avatar
Victor committed
6
    using UnPack
7
    using DocStringExtensions
8

Victor's avatar
Victor committed
9
    include("ABMEv_Space.jl")
10
11
12
    include("ABMEv_Agent.jl")
    include("ABMEv_world.jl")
    include("ABMEv_Sim.jl")
Victor's avatar
Victor committed
13
    include("ABMEv_metrics.jl")
14
    include("ABMEv_plot.jl")
Victor Boussange's avatar
Victor Boussange committed
15
    include("ABMEv_utils.jl")
16
17
18
19
    include("algo/ABMEv_WF.jl")
    include("algo/ABMEv_Gillepsie.jl")
    include("algo/ABMEv_CFM.jl")
    include("ABMEv_runworld.jl")
20
21


22
    @reexport using Distributions, DataFrames
23
24

    export GraphSpace,ContinuousSegment,DiscreteSegment,RealSpace,
Victor's avatar
Victor committed
25
        AbstractSpacesTuple,get_inc
26
    export update_rates!
27
28
    export AbstractAgent,Agent,get_fitness,get_x,get_t,get_dim,
        nancestors,get_xarray,get_xhist,
29
        get_thist,get_geo,get_b,get_d,increment_x!,get_inc_reflected,world2df,
30
        split_move,split_merge_move,tin,new_world_G
31
    export World,parameters,time,space,agents,size,maxsize,addAgent!,removeAgent!
Victor's avatar
Victor committed
32
    export run!,give_birth,updateWorld!,update_clock!,updateBirthEvent!,
33
        updateDeathEvent!#,runWorld_G!,runWorld_WF!,
34
    export Simulation,add_entry!,get_tend,get_size,get_tspan
Victor's avatar
Victor committed
35
36
37
38
    export H_discrete,findclusters,var,covgeo,hamming,get_beta_div, get_alpha_div,
        get_dist_hist,get_pairwise_average_isolation,
        get_local_pairwise_average_isolation,
        truncvar,get_xhist_mat
39
    export update_afterbirth_std!,update_afterdeath_std!
Victor's avatar
Victor committed
40
    export generalised_gaussian,gaussian,ma,geomsmooth,arithsmooth,eth_grad_std,
41
        DiversityFunction,geomsmooth2D,arithsmooth2D,interpolate_df,groupby
42
end