Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.gitignore
BranchingProcess.py
BranchingProcesses.iml
MathMod_BranchingProcesses.pdf
README.md

README.md

Simulation of Branching Process

Author: Thomas Wegmann (wegmatho@students.zhaw.ch)

Purpose

This project can be used to simulate a branching process (special-case of a Markov Chain) with discrete offspring distribution. The initial population, offspring distribution function and number of evolutions are configurable in the main method. Tree graphs are outputted in console as well as in a graphics image (.png)

Prerequisites

Before first compile/run following prereqs must be met.

Installed applications:

  1. graphviz: https://graphviz.gitlab.io/_pages/Download

Installed python packages:

  1. numpy https://github.com/numpy/numpy
  2. anytree https://github.com/c0fec0de/anytree
  3. matplotlib https://github.com/matplotlib/matplotlib

Acknowledgments

  • anytree for making treegraphs easy
You can’t perform that action at this time.