It's UWAweek 47

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying the 2 articles in this topic
Showing 2 of 503 articles.
Currently 24 other people reading this forum.


 UWA week 18 (1st semester, week 9) ↓
SVG not supported

Login to reply

👍?
helpful
2:44pm Thu 2nd May, ANONYMOUS

Hello, I've made a python script that looks at the Transperth timetables and makes an adjacency file, similar to buildrandomtimetables.c, which I can then plug into assignports.sh. I've come across a problem where station A has a hop that goes to station B, but station B does not have any return hops. My group's protocol assumes that if you can go from A to B, you can also go from B to A, and so A and B are neighbours of each other. This is the true in buildrandomtimetables.c, but it's not true in Transperth's timetables. For example, Leederville_Stn has a single hop to Perth_Stn, but Perth_Stn has no hops back to Leederville_Stn. This is a contradiction of our assumption, and means that Leederville_Stn can send data to Perth_Stn, but Perth_Stn cannot send data to Leederville_Stn (as per the rules). So, should I change my python script to account for this case, by making both stations adjacent even if there's only a one-way hop, or is it intentional? Thanks


SVG not supported

Login to reply

👍?
helpful
9:13am Sun 5th May, Christopher M.

ANONYMOUS wrote:
> I've made a python script that looks at the Transperth timetables and makes an adjacency file, similar to buildrandomtimetables.c, which I can then plug into assignports.sh. I've come across a problem where station A has a hop that goes to station B, but station B does not have any return hops.
No, it's not intentional, just something that I hadn't spotted. ...still thinking on this one, with the goal of not making the project any more difficult (in terms of networking) than intended.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy