Changes

307 bytes added ,  16:10, 30 September 2013
no edit summary
Line 1: Line 1: −
Inserts the named city into the spatial map.
+
Maps an isolated city that is not an endpoint of any roads, i.e., the city is not connected to any roads. An isolated city cannot be turned into a normal city and vice versa without being unmapped from the spatial structure first. Thus, when trying to map an isolated city to the endpoints of a road, cityAlreadyMapped error should be returned.
    
== Parameters ==
 
== Parameters ==
Line 15: Line 15:  
<code>
 
<code>
 
     <success>
 
     <success>
         <command name="mapCity"/>
+
         <command name="mapCity" id="4"/>
 
         <parameters>
 
         <parameters>
             <name value="Annapolis"/>
+
             <name value="Baltimore"/>
 
         </parameters>
 
         </parameters>
 
         <output/>
 
         <output/>
 
     </success>
 
     </success>
 
</code>
 
</code>
editor
68

edits