In this repository you can find:
☺️ The source code/directories for our RailVision train challenge solution which uses a type of greedy algorithm coded in Python to efficiently compute the best schedule which can be made for a train transportation system given the rush hours to reduce the average passenger waiting time.☺️ The source code/directories for the visualization animation of the same problem given the input and output which uses Java.☺️ The source code/directories for our website made up using Django, HTML and CSS + using a .tech domain and google cloud!
1- To run the python file associated with the algorithm and see the csv file as an output, Make sure you have python3 installed
and hop in the pysrc directory. If you are on Windows, you have to change the '-'s to '#s' in the structure.py file lines 58 and 109. run solution.pyusing python3 HACK22/solution.py
in the Pywork directory using terminal(You can see the average wait time as the output).
Afterwards, you have to refer to the output.csv file (placed in the same directory) to see the most optimal schedule.
2- To check the visualization part of the project make sure you have the csv file outputted from the python app. You have to run the MainFrame file which is inside the /Jwork/src/application folder (You have to have java virtual machine associated with the Jwork directory) and run the application to see the animation!
3- To see the whole overview of the website built you can