GithubHelp home page GithubHelp logo

gelmisb / cellularautomata Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 19 KB

Simulating the Spread of the Ebola Virus using a Cellular Automaton Framework in a Parallel Computing Environment

CMake 1.43% C 42.18% Java 56.38%

cellularautomata's Introduction

Introduction

The Ebola virus is one of the most deadly viruses known to man, its high mortality rate and high transmission rate make the virus difficult to contain. In recent years the world has been witness to a severe outbreak of the virus in Africa. At one point many countries had been put on high alert in an attempt to stop the spread of the virus outside of Africa.

Cellular automata

Cellular automaton consist of grid of cells (or an array), which changes through time due to rules that are pre-defined, as to its cell neighbours before the execution. Each cell will represent a person and their state of health (healthy, infected, recovered or dead). In a program designed to display the information in a graphical format colour will represent the state each person is currently in i.e. healthy, infected etc. In this case a two-dimensional automaton will be used in order to get data from a cells neighbour (Wolfram, 1994)[Figure 1]. Pfeifer (2008) uses the cellular automaton framework to design spread of infectious disease in the state Tyrol in Austria. Instead of programming the cellular automaton in C he uses Java, but still represents the data on a map. The set of rules that are going to be implemented on the single core program will be very narrow in order to not overcomplicate the task. After being successfully run on of the single core program a parallel version of this program will be implemented.

Our Work

The workload has been divided up and each member of the group has been given work best suited to them. Initially members have been allocated work such as implementing a C program which will create the cellular automaton and populate it with people in each cell. Once complete and functional the rules for the cellular automaton will be implemented, rules such as virus infectivity, mortality rate and probability of recovery. Another task was to implement a program which could render the data on screen in some sort of graphical interface. Java was the language which was chosen for this as it is a programming language all group members are familiar with. This program would read in files created by the C program, once read into the program data from these files would be saved to an array for use in a double for loop which would iterate through each cell of the automaton. Depending on the value saved to that position each cell would be colour accordingly, green for alive, yellow for infected, red for dead and finally black for recovered. The cells were displayed as pixels on screen inside a JPanel of a JFrame. Research and documentation was another task, it involved writing up of reports, research, keeping a log of references and creation of a power point presentation. Research involved obtaining information on the Ebola virus in order for the program to set the right variables within the cellular automaton. Information such as infection rate, mortality rate and recovery rate were all taken note of and then integrated into the program.

cellularautomata's People

Contributors

gelmisb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.