Skip to content

Commit

Permalink
Merge pull request #31 from fabaindaiz/dev
Browse files Browse the repository at this point in the history
Dev: remove duplicated function
  • Loading branch information
fabaindaiz authored Oct 12, 2023
2 parents ac0b3ab + 1527c57 commit 69b0a4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 66 deletions.
14 changes: 0 additions & 14 deletions src/spellsolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,6 @@ def process_node(
swaps=swaps,
)

def process_path_aux(
self,
tile: GameTile,
node: TrieNode,
word: str,
path: List[GameTile],
swap: int,
letter: str,
) -> Generator[ResultWord, None, None]:
actual_node = node.get_letter(letter)
if actual_node:
actual_word = word + letter
yield from self.process_node(actual_node, actual_word, path)
yield from self.process_path(tile, actual_node, actual_word, path, swap)
def process_path_aux(
self,
tile: GameTile,
Expand Down
25 changes: 0 additions & 25 deletions src/utils/iteration.py

This file was deleted.

27 changes: 0 additions & 27 deletions src/utils/iteration_test.py

This file was deleted.

0 comments on commit 69b0a4e

Please sign in to comment.