Method ShuffleWord
ShuffleWord(Word, int, IRandom)
Shuffle the letters of a word and ensure a minimum hamming distance
public static Word ShuffleWord(Word word, int minHammingDistance, IRandom random)Parameters
- wordWord
- The word to shuffle 
- minHammingDistanceint
- The minimum hamming distance to ensure 
- randomIRandom
- The random generator to use. 
Returns
- Word
- A shuffled string 
Exceptions
- ArgumentNullException
- wordis null
- ArgumentException
- Minimum hamming distance is greater than the length of the word