Code Monkey home page Code Monkey logo

flare-release's Introduction

Flare

Flare is a simple propagation code. It is used to model the gradual geographical spread of certain events. These could include certain food conditions, knowledge, diseases, opinions or violent events.

Installation

Flare is installed simply by copying it to your favorite directory, or by using git clone.

Flare has one dependency, which is the Flee code. This code can be accessed at http://www.github.com/djgroen/flee-release.

Testing

Simply type python3 test_flare.py. This will run Flare with a default ruleset and the following input files:

  • test_input_csv/locations.csv for location data.
  • test_input_csv/links.csv for link data.

Note that Flare does not support reading in closures.csv files, while Flee does.

Output

Flare will produce CSV output in the terminal.

  • Column 1 will indicate number of days elapsed.
  • Other columns indicate the conflict state for each of the locations in Flare. (location names are in row 0)
    • state will be 1 if labelled as an affected area, or 0 if not.

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.