Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).

Assignment 2 and Clarifications.
 
Options:
RSS cloud
Jump to:

question about route strategy

4 of 390 articles shown, currently no other people reading this forum.
photo
From: Yue L.
Date: Fri 15th May, 3:02pm
Actions: 
        Login-to-reply
Hi Chris,
  After carefully reading your description of Q3, I propose my route strategy.

  I noticed that there are 17 stations in the Frementle Line Train. Therefore:

  1.Check whether there is any one of the 17 stations that is close to me (less than 
1km). If so, I will walk to that station and can reach the destination (i.e.99352) 
directly.

  2.If not so, I will check whether there is any train station that is close to 
me(also less than 1km) and can take me to the 99007 or 99601 station. If so, I will 
take the train to 99601 or 99007 and then transfer to one of the 17 stations. If not 
so, I will fail.

  If my strategy is right, there will be two questions.

  1.How to calculate the time of walk? You know, the transfer stations of two lines 
are not totally overlapped in most of the cases. I mean, sometimes I have to walk 
several hundred meters before transferring to one of the 17 stations. Can I calculate 
the time through dividing the distance between two stations by normal adult walking 
speed?

  2.Need I provide the optimal route which will take me the least amount of time? 
Because, sometimes, I can reach the 99352 station before 15:30 by many possible 
routes. 

Regards,

question about route strategy

photo
From: David M.
Date: Fri 15th May, 5:09pm
Actions: 
        Login-to-reply
The specifications for Assignment 2, Task 3 state: "less than a kilometre or twenty
minutes walk from a train station". I deduced the walking speed from this statement and
applied it to compute the time to walk to the nearest station.

In an earlier post Chris McDonald stated: "The walk from Fremantle Station to the Rottnest Ferry is (about) 5 minutes, so use that in your calculations."

Information on the time to transfer between two routes can be obtained by referring to the
GTFS documentation. 

question about route strategy

photo
From: Christopher M.
Date: Fri 15th May, 5:11pm
Actions: 
        Login-to-reply
Hello Yue,

"Yue Lou"                               wrote:

>   1.How to calculate the time of walk? You know, the transfer stations of two lines 
> are not totally overlapped in most of the cases. I mean, sometimes I have to walk 
> several hundred meters before transferring to one of the 17 stations. Can I calculate 
> the time through dividing the distance between two stations by normal adult walking 
> speed?

Yes. Just use either of the two Haversine function implementations to calculate the (straight 
line) distance and divide by a typical walking speed.

>   2.Need I provide the optimal route which will take me the least amount of time? 
> Because, sometimes, I can reach the 99352 station before 15:30 by many possible 

Yes;  you want to reach the Rottnest Ferry as quickly as possible, prior to 15:30.
Though, of course, trains will not overtake each other on the Fremantle Line,  so it's only the 
walking time that may be a factor.

question about route strategy

photo
From: Christopher M.
Date: Fri 15th May, 5:20pm
Actions: 
        Login-to-reply
Thanks David.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020