This program is designed to simulate the effect of adding idle zones to a food courier delivery service. The software is developed by the P2-Project SW2 B2-14 team.
To get a local copy up and running, follow these steps.
- Clone the repository
git clone https://github.com/KarmaKamikaze/FCDS.git
- Navigate to the root folder and run
npm install
to install all dependencies
npm install
- While in the root folder, start the server by running
index.js
withNodeJS
node node/index.js
- The site can be visited in a browser at the address
localhost:3190
http://localhost:3190/
- Graph visualization
In graph visualization mode, the simulation runs visually and is updated in real-time. This mode does not provide as much in-depth statistics, but the behaviour of couriers, idle zone generation etc. can be studied closely.
Number of graphs:
The amount of simulations to show and run simultaneously.
Graph size:
Specifies which of the graph presets to use (see here).
Simulation algorithm:
Specifies which of the shortest-path algorithms to use.
Idle zones:
The maximum amount of idle zones to generate.
Order frequency:
The rate at which orders are generated in each restaurant.
Ticks per second:
The rate at which the simulation runs. 1 tick corresponds to one minute in simulation time.
Courier frequency:
The maximum amount of couriers to generate.
Obstruction level:
The number of edges to add random obstructions on (which affects the weight of an edge).
- Headless simulation
In headless simulation mode, the visual aspect of the simulation is removed entirely. This means that the simulation performs faster, and provides many useful statistics which are updated in real-time.
Distributed under the GNU General Public License v3.0 License. See LICENSE
for more information.
Project Link: https://github.com/KarmaKamikaze/FCDS