Skip to content

MRC-CSO-SPHSU/LoneParentsModel_V1.jl

 
 

Repository files navigation

LoneParentsModel.jl

An initial implementation of an ABM aiming at a social and child care simulation.

Releases

  • V0.1 (11-05-2022): Initial concepts of agents, ABMs and a dummy exmaple are realized. Basic interfaces of the Package Agents.jl are imitated in order to fully exploit Agents.jl in future.
    • V0.1.1: Improved concept for an ABM and data structure for a simulation
    • V0.1.2: Improved concepts for Social Simulation, Social ABMs, started translation of LPM & further unit tests
  • V0.2 (30-05-2022): improved unification potentials with Agents.jl, improved agents subtypes, SocialABM with a constructor with an argument as a declare function, First realization of a multiABM concept, Initialization of the demography model
    • V0.2.1: unnecessary code removed, additional functionalities, exception handling, Unit testing (Person & House)
    • V0.2.2: Distributing properties among smaller ABMs, Separation between declaration and initialisation, utilisation of built-in exceptions, Agent person tuning + unit tests
    • v0.2.3: re-structure of examples, improved printing
    • v0.2.4: simulation concept
  • V0.3 (23.06.2022): Improved simulation concep, Flexibility for simulating same example with different implementation (via type traits), Population simulation considering death probabilities
    • v0.3.1: The abstract conceptual part of the code moved to MultiAgents.jl
    • v0.3.2: Kinship & BasicInfo modules for the type Person
  • V0.4 (25.08.2022): A new module LPM containing generic implementation. In contrary, MALPM makes use of LPM & MultiAgents.jl
  • V0.5 (20.09.2022): Female agents giving birth, generic XAgents and flat Main simulation for agent-based modeling without other packages, re-architecturing Simulate module and implementation patterns of incldued functions, Agent Person improved declaration and implementation, DRY concept for struct fields of Agent Person, Employing Parameters.jl
  • V0.6 (7.11.2022) : marraiges, guardians for orphans, socio-economoic status, social transition, setting parameters from files / flags, gui
    • v0.6.1 (12.11.2022) : LPMVERSION referring to release, few functions for computing population pyramid index

Source code structure (not updated)

  • /src
    • XAgents.jl : Basic concept of an Agent
    • /agents/* : Examples of agents
    • MultiABMs.jl : Basic concept of elementary ABMs
    • /abms/* : Examples of abms and useful step functions
    • LoneParentsModel.jl : Main modules for realizing LPM.jl
    • /lpm submodules for declaring, initializing and simulating lpm
    • Utilities.jl : util routines used across the library
  • /tests
  • MainLPM.jl : Initial (empty) translation of LPM
  • loadLibsPath : load paths to internal libraries

Running the code

See the head documentation of RunTests.jl and Main*.jl

About

Old version of the LoneParentsModel as of 10/22

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%