PLEASE NOTE: this server, secure.csse.uwa.edu.au, will be unavailable on Monday 5th December, from 1pm until 4pm.
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49

help3001

This forum is provided to promote discussion amongst students enrolled in CITS3001 Algorithms, Agents and Artificial Intelligence.

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 selected article
Showing 1 of 175 articles.
Currently 6 other people reading this forum.


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported

Login to reply
10:37am Thu 18th Aug, Ryan B.

This is something that is unclear based on the brief lab description, so do not blame yourself!

  1. The lab will run the tspnn(double[][] table) that you will fill out, with the 2d table provided to it (you don't need to generate it yourself).
  2. That 2d table is generated by (invisible) code elsewhere (by the lab runner code), using the 2d coordinate pairs provided in the 'inputs' that you see down at the bottom when you run the code.

It looks as if the inputs are given to you in case you want to test your code locally (by generating the double[][] table), but for the purpose of the lab you can assume that the input is a 2d table of distances between each city (with table[0][1] the distance between City 0 and City 1).

Hope this helps!

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  1:17AM Sep 14 2022
Privacy policy