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