This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: /* which Quad to inspect? */ } Letter; typedef Letter * PLetter; Letter alPhrase[ALPHABET]; /* statistics on the current phrase */ #define lPhrase(ch) alPhrase[ch2i(ch)] /* quick access to a letter */ int cchPhraseLength; /* number of letters in phrase */ Quad aqMainMask[MAX_QUADS];/* the bit field for the full phrase */ Quad aqMainSign[MAX_QUADS];/* where the sign bits are */ int cchMinLength = 3; /* auGlobalFrequency counts the number of times each letter appears, summed * over all candidate words. This is used to decide which letter to attack * first. */ unsigned auGlobalFrequency[ALPHABET]; char achByFrequency[ALPHABET]; /* for sorting */ char * pchDictionary; /* the dictionary is read here */ #define Zero(t) memset(t, 0, sizeof(t)) /* quickly zero out an integer array */...
View Full Document
- Fall '09
- Computer Architecture