next up previous
Next: Friend and Enemy Data Up: Fault Tolerant Design Features Previous: Fault Tolerant Design Features

Encoding Site Types

In the remainder of the project, we will adopt the the method of encoding the type of the site in its name that was discussed in the newsgroup in glorious detail by Dr.  Hugue while everyone else was trying to understand the Part 1 specification. While this method makes it easy for my staff to update test data, it also gives the human one less parameter to think about.

For example, if all my ``Civilian sites'', Friendly or Enemy, have names beginning (or ending) with the letter ``C'', it's really hard to confuse one of them with an actual target name, such as ``military Base'', that begins with the letter B.

First Character Encoded SiteType
A Air Unit
B military Base
C Civilian territory
E, F Reserved-illegal site names
G Ground unit
H Hospital
other Unassigned

For this project, the SiteType, like site names, is also case insensitive. However, we retain the notation above to help you visualize the correct behavior, and decrease the probabilty of incorrect assignment of site names to types.


next up previous
Next: Friend and Enemy Data Up: Fault Tolerant Design Features Previous: Fault Tolerant Design Features
MM Hugue 2004-02-28

Web Accessibility