Giter Site home page Giter Site logo

stackelberg-flow-time's Introduction

Stackelberg-Flow-Time

An implementation of the paper "Stackelberg strategy for routing flow over time" in Java. The JGraphT library was used for graph structure and algorithms.

How to Run

To run this project in the correct environment, download the latest Java JDK and the latest Maven version. Here is a guide on how to download and setup Maven. It's imperative to have the correct environment or the program will not run.

Once the environment is set up, go to Main.java and run the main method. There are some control variables at the top to modify the program

  • visualize: toggle whether a visual should be outputted or not
  • simpleDebug: toggles whether print statements should be outputted while running or not
  • numberOfPlayers: determines how many players will be within the game
  • numberOfEpochs: determines after how many epochs the program will terminate at, if not all players have reached the end
  • extraPlayers: how many more players to enter per epoch. If this is set to 2, then 2 more players will enter every epoch
  • graphNumber: determines which graph file to use (1 - 4)

All 3 group members contributed to this project implementation, and the commit history does not refelct which player programmed a section. Since not everyone was well-versed with Git, Beder Rifai, handled version control

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.