Code Monkey home page Code Monkey logo

cse6730airportsimu's Introduction

6730Project2

To compile the java code in this folder, start a terminal session, change directory to the Airport root directory, which should contain:

|---README |---src |---run.sh

To compile and run, simply run the 'run.sh' file.

If you want to run the simulation using different arguments, you can use the following command:

java -cp bin AirportSim args[]

  • args[]:
  • args[0] - number of airport;
  • args[1] - number of runways for each airport, default is 2;
  • args[2] - number of planes, default is 1000;
  • args[3] - total of minutes for simulation run, default is 2000;
  • args[4] - number of airwayCapacity between two airports, default is 0;
  • args[5] - random seed, default is 0.
  • args[6] - emergency event schedule flag 1 for yes, default is 0;
  • args[7] - emergency event scheduled airport index, default is 0;
  • args[8] - emergency event schedule start_time, default is 500;
  • args[9] - emergency event scheduled duration, default is 600; **/

for example:

java -cp bin AirportSim 20 3 300 1000 5 0 0 0 500 600

cse6730airportsimu's People

Contributors

jimmyxie123 avatar

Watchers

James Cloos 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.