forked from UNN/2026-rff_mp
9 lines
374 B
Python
9 lines
374 B
Python
from task2.strategyObjects.pathFindingStrategy import PathFindingStrategy
|
||
|
||
from task2.mazeObjects.maze import Maze
|
||
from task2.mazeObjects.cell import Cell
|
||
|
||
class DFS(PathFindingStrategy):
|
||
"""Поиск в глубину – быстрый, но не обязательно кратчайший."""
|
||
def findPath(self, maze: Maze, start: Cell, exit: Cell):
|
||
... |