public WordGen(CharSet alphabet) { this.alphabet = alphabet; ALPHABET_SIZE = alphabet.GetSize(); DIM_SIZE = ALPHABET_SIZE + 2; usage = new SortedList<ulong, long>(); randgen = new Randomx(); }
public WordGenX(CharSet alphabet, int sample_x) { this.char_set = alphabet; this.SAMPLE_X = sample_x; SET_SIZE = alphabet.GetSize(); GRID_SIZE = SET_SIZE + 2; usage = new SortedList<Sample, int>(); randgen = new Randomx(); }