public Balda(ILettersSet lettSer, int fieldSize = 5) { _commonTree = new TrieTree(lettSer); _invertedPrefixTree = new TrieTree(lettSer); _lettSet = lettSer; _fieldSize = fieldSize; _grid = GetEmptyGrid(fieldSize); _visited = new bool[fieldSize, fieldSize]; }
public TrieTree(ILettersSet set) { _lettSet = set; _next = new TrieTree[set.Count]; }