Hw07Graphs1 - CSE 331 Section 001 Homework 7 V2 Spring 2008 Due by 11:59 AM Friday 14 March 2008 Submit data file via handin and rest by either

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 331: Section 001 H omework 7 V2 Spring 2008 Due by 11:59 AM Friday 14 March 2008 Submit data file via handin and rest by either handin or paper under the door of EB 3134. (1) Contribute about 10 edges to our class city-road connection of the US. Submit your work as a plain text file named <yourName>.<yourStates>.txt. The format of this text file is as follows. One line per edge. The following data items contain no blanks and are blank-separated: items are string string int string. CityX CityY distanceInMiles numberOrNameOfRoad EX: Detroit Chicago 280 94 Model the road as a string: this will allow annotations, such as “US-127”, “MI-63”, or even “Grand_River_Avenue”, as well as “127” or “63” or even “63_east”. (So far, there are no plans to do any computations with this field – just input and output – otherwise, we would have be to be very consistent across edges that continued a path.) Use underscores to connect multiple word names, such as “Fort_Wayne”, “New_York”. Whenever your state has a boundary with another state, give an edge crossing to a city in
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/25/2008 for the course CSE 331 taught by Professor M.mccullen during the Spring '08 term at Michigan State University.

Page1 / 2

Hw07Graphs1 - CSE 331 Section 001 Homework 7 V2 Spring 2008 Due by 11:59 AM Friday 14 March 2008 Submit data file via handin and rest by either

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online