As before, assistance in fleshing these out will be rewarded.
<LocusDoesNotExist> error message (note that the startLocus erro message
takes precidence over the destinationLocus error message. If there is a track in
the spatial data structure that connects startLocus to destinationLocus, remove
the track from the spatial data structure and from the adjacency list and print
the <success> message. If there is not track connecting startLocus to
destinationLocus, print the <TrackDoesNotExist> error message. Remember
that you will need to ensure that your PM1 quadtree adheres to the minimal node
rule after each delete operation.
Output summary: <output>:=<success>|<error> <success>:=Removed track <Track><nl> <error>:=<LocusDoesNotExist>|<TrackDoesNotExist>
<SiteName> does not exist, print
the <SiteDoesNotExist> error message. If site <SiteName> has
not been mapped, print the <SiteNotMapped> error message.
If site <SiteName> has been mapped, remove it from the PM1 quadtree.
Remember
that you will need to ensure that your PM1 quadtree adheres to the minimal node
rule after each delete operation.
Output summary: <output>:=<success>|<error> <success>:=Removed site <SiteName><nl> <error>:=<SiteDoesNotExist>|<SiteNotMapped>
<success> message format.
If either locus is not in the dictionary, print the <LocusDoesNotExist>
error message. If either locus is not in the map, print the
<LocusNotMapped> error message. As with the INSERT_TRACK command,
startLocus error messages take precedence over destinationLocus error messages.
If there is no route to connect
the two sites, print the <NoRouteExists> error message using the
locus objects found from the data dictionary that match the specified locus
names. Note that this should be implemented using the Fibonacci heap
implementation of a priority queue for Dijkstra's algorithm.
Output summary: <output>:=<success>|<error> <success>:=<Route> <error>:=<StartAndDestinationSame>|<LocusDoesNotExist>|<LocusNotMapped>|<NoRouteExists>
Dear Anyone, Please feel free to write a BNF for this, too. Your aid will not go unnoticed.
<longitude,latitude>. The command
returns the name of the locus of the specified type in the map that
is closest to position <longitude,latitude>. If the LocusType
is not valid, output the <InvalidLocusType>.
Output summary: <output>:=<success>|<error> <success>:=<LocusName>| No Loci of <LocusType> Present<nl> <error>:=<InvalidLocusType>
Voluteers solicited to fill this one out, too. Description and BNF.