Coder Social home page Coder Social logo

lanecodes / crafty_brazil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamesdamillington/crafty_brazil

0.0 0.0 0.0 63.91 MB

CRAFTY-Brazil: An implementation of the CRAFTY ABM simulation model across a Brazilian study area

R 6.77% Python 0.68% Shell 1.19% Java 91.36%

crafty_brazil's Issues

Document details of entry point for simulation

James and I took screenshots of his Eclipse configuration on 2nd December (see attached). These confirm the following details are needed to run a simulation:

  • Entry point is main in org.volante.abm.serialization.ModelRunner
  • Program is run with arguments -f xml/Scenario.xml -n 1 -o 0 -r 1.

The command line options for ModelRunner are given in the legacy getting started instructions in the CRAFTY docs. Of those used above we have

  • -f is location of scenario file relative to the data directory. The data directory can be specified by the -d option, but apparently defaults to ./data.
  • -n is the number of runs
  • -o is random seed offset
  • -r is Number of runs of configuration with random seed

We should document how a user could initialise such a configuration from the command line. This supports running models from inside containers.

crafty_eclipse_run_arg
crafty_eclipse_run_common
crafty_eclipse_run_main

Document how to build CRAFTY Brazil

The CRAFTY docs are light on information about how to build CRAFTY. This is important because we will need to make changes to the CRAFTY code and it would be good to be able to do so without needing to check in additional binaries.

I have not been able to find a .pom or build.xml file, indicating CRAFTY is not normally built with Maven or Ant. I have, however, found some ant scripts in config/ant, though these seem to be about publishing models or running them on clusters rather than simply compiling changes to source code. There is also an Eclipse ./.project file present containing build configuration. I wonder if CRAFTY is traditionally built using Eclipse. If so we should document this and think of how to build on the command line as an alternative to facilitate containerisation and CI.

See resources

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.