https://secure.csse.uwa.edu.au/run/help4407?p=np&rss=y
help4407 - The direction for Q3help4407 - The direction for Q3help4407https://blogs.law.harvard.edu/tech/rssThe University of Western AustraliaThu, 25 Jun 2020 11:53:02 +0800Thu, 25 Jun 2020 11:53:02 +0800Re: The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=307
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=307Tue, 26 May 2020 07:23:21 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>
The simplest approach is to first determine 'today', using the date command,
and to then only consider trips running on that day.
While that work needs to run first (very early) in your script, you may wish to first assume that every day
is, say, Monday, and then work with those trips.
Re: The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=304
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=304Mon, 25 May 2020 15:47:17 +0800"Jichunyang Li" <22171034@student.uwa.edu.au>
Hi, Chirs,
For task 3, the schedule (workday, Saturday, and Sunday) and stopping patterns of each line should be
considered, right? Thanks.
Re: The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=295
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=295Mon, 25 May 2020 13:43:34 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>
Yes; and if have two possible directions, you follow the sequence information for each direction, seeing
if any other them arrive, or pass through, Fremantle
(something I've strangly done in Boston a few times, where the network maps are often so vandalised, you
have to catch a tram to find a non-vandalised one).
Re: The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=289
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=289Mon, 25 May 2020 08:56:36 +0800"Jichunyang Li" <22171034@student.uwa.edu.au>
Thanks!
Re: The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=288
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=288Mon, 25 May 2020 08:54:48 +0800"Lee de Byl" <10306807@student.uwa.edu.au>Stop_times.txt contains a stop_sequence number by trip_id that can be used to determine the
order of stops for a given route. This is what I used to determine the direction.
As far as I know, the direction_id flag in trips.txt is really for display purposes only and
canâ€™t realiably be used for trip planning purposes.
The direction for Q3
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=279
https://secure.csse.uwa.edu.au/run/help4407?p=np&a=279Sun, 24 May 2020 16:14:19 +0800"Jichunyang Li" <22171034@student.uwa.edu.au>Hi everyone,
I have identified a train station that I need to get on. But I don't know which
direction I should take. For example, if I get on a train at Cottesloe, I could take
a train to Mosman Park (this is the correct direction) or Grant Street(this is the
incorrect direction). Therefore, does anyone know which .txt document includes
information about the order of stations? Thanks.