Skip to content

FinleyLabUSC/Boolean-TME-ABM

Repository files navigation

Boolean-TME-ABM

This repository contains a C++ program that builds using CMake and Make.

Prerequisites

Before running the program, ensure you have the following installed on your system:

  • CMake (https://cmake.org/download/)
  • Make (Usually available by default on Unix-like systems)
  • C++ compiler (such as g++ for Linux or macOS, or Visual C++ for Windows)
  • A Python Interpreter

If you are using Apple silicon, please ensure you have libomp installed. You can install it via Homebrew:

$ brew install libomp

Build and Run Instructions

Follow these steps to build and run the program:

  1. Clone this repository to your local machine:
  2. If you are using Apple silicon please work with the model contained in _APPLE or _UNIX if you are using an alternative system.
$ git clone https://github.com/FinleyLabUSC/Boolean-TME-ABM.git
$ cd <_APPLE or _UNIX_>
$ cmake .
$ make 
$ pip install -r requirements.txt 
  1. This will build an executable runModel and install the necessary python packages to generate the parameter file. To run, you can call ./runModel as follows
$ ./runModel <SAVE_FLD> <SAVE_IDX> <P_TYPE_STATE_TRANSITION> <DEATH_PROBABILITY_FACTOR> <KILL_PROBABILITY_FACTOR>

As an example:

$ ./runModel modelPredictions 0 3 2 2

Notes

As of now, the entirety of the build is not seeded and, as such, running the model with the same parameter set will produce different results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published