https://secure.csse.uwa.edu.au/run/help4407?p=np&rss=y
help4407 - question about route strategyhelp4407 - question about route strategyhelp4407https://blogs.law.harvard.edu/tech/rssThe University of Western AustraliaThu, 25 Jun 2020 11:53:02 +0800Thu, 25 Jun 2020 11:53:02 +0800Re: question about route strategy
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=186
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=186Fri, 15 May 2020 17:20:02 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>Thanks David.
Re: question about route strategy
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=181
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=181Fri, 15 May 2020 17:11:25 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>Hello Yue,
Yes. Just use either of the two Haversine function implementations to calculate the (straight
line) distance and divide by a typical walking speed.
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.
Re: question about route strategy
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=180
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=180Fri, 15 May 2020 17:09:20 +0800"David May" <17816277@student.uwa.edu.au>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
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=175
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=175Fri, 15 May 2020 15:02:24 +0800"Yue Lou" <22839079@student.uwa.edu.au>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,