Usage:

  1. Build bus network
  2. merge bus stops
  3. calculate shortest distance given target stop

Build bus network

python3 buildBusGraph.py <output_file_name> <start_time> <end_time>

ex: python3 buildBusGraph.py BusMessage/ graph_with_waiting 161201070000 161201090000

Merge bus stops

python3 merge.py <output_file_name>

ex: python3 merge.py graph_with_waiting GetSTOP merged_wait

Calculate shortest distance given target stop

python3 calculate.py <output_file_name>

ex: python3 calculate.py merged_wait_graph 142 北車