User contributions
30 September 2013
NearestCity
no edit summary
+272
RangeRoads
Possible
RangeRoads
Created page with "Lists all the roads present in the spatial map that intersect the circle defined by the given radius and point (x, y). Roads which are tangent to the circle are considered in ..."
CreateCity
Example
+7
ClearAll
Example
+7
ListCities
Example
+7
SaveMap
Example
+7
RangeCities
Example
+7
SaveMap
no edit summary
+198
PrintPMQuadtree
Created page with "prints the PMQuadtree corresponding to the command parameter pmOrder. Because we have quadrants numbered as: (1) NW, (2) NE, (3) SW, (4) SE, the PM quadtrees are deterministic..."
MapCity
no edit summary
+307
ClearAll
no edit summary
Part 2
Commands
+458
MapRoad
Created page with "Inserts a road between the two cities (vertices) named by the '''start''' and '''end''' attributes in PM quadtree. The obvious error conditions follow: the '''start''' or '''e..."
17 September 2013
13 September 2013
12 September 2013
11 September 2013
SaveMap
no edit summary
+12
PrintPRQuadtree
no edit summary
+12
UnmapCity
no edit summary
+12
MapCity
no edit summary
+12
ListCities
no edit summary
+12
ClearAll
no edit summary
+12
DeleteCity
no edit summary
+12
CreateCity
no edit summary
+12
NearestCity
Created page with "Will return the name and location of the closest city to the specified point in space. To do this correctly, you may want to use an algorithm using a PriorityQueue, such as [..."
RangeCities
Created page with "Lists all the cities present in the map within a radius of a point x,y in the map. Cities on the boundary of the circle are included, and x,y are integer coordinates. That is,..."
10 September 2013
SaveMap
Created page with "Saves the current map to a file. The image file should be saved with the correct name. It should match our image file: same dimensions, same cities, same colors, same partitio..."
PrintPRQuadtree
Created page with "Prints the PR quadtree. Since PR quadtrees are deterministic, your XML should match exactly the primary input/output. == Parameters == * (None) == Possible <output> == A <qu..."
UnmapCity
Created page with "Removes the named city from the spatial map. == Parameters == * name == Possible <output> == * (None) == Possible <error> types == * nameNotInDictionary * cityNotMapped ==..."
MapCity
Created page with "Inserts the named city into the spatial map. == Parameters == * name == Possible <output> == * (None) == Possible <error> types == * nameNotInDictionary * cityAlreadyMapped..."
ListCities
Created page with "Prints all cities currently present in the dictionary. The order in which the attributes for the <city> tags are listed is unimportant. However, the city tags themselves must ..."
DeleteCity
Possible
+4
CreateCity
no edit summary
+4
ClearAll
Created page with "Resets all of the structures including the PR Quadtree, clearing them. This has the effect of removing every city. This command cannot fail, so it should unilaterally produce ..."
CreateCity
Possible
+2
CreateCity
no edit summary
m-41
DeleteCity
Created page with "Removes a city with the specified name from data dictionary and the adjacency list. The criteria for success here is simply that the city exists. Note that if the city has bee..."
CreateCity
Created page with "Creates a city (a vertex) with the specified name, coordinates, radius, and color (the last two attributes will be used in later project parts). A city can be successfully cre..."
Part 1
Data structures
-62
Part 1
Commands
-57