public Node(string word, Node parent) { Word = word; _parentNode = parent; Paths = Traveler.LegalMoves(word, ref _dict).Except(TraceAncestry()); }
public Node(string word) { Word = word; _dict = Dictionary.GetWordsOfLength(Word.Length); Paths = Traveler.LegalMoves(word, ref _dict); }