forked from UNN/2026-rff_mp
classes
добавлены возможные необходимые классы в будущем
This commit is contained in:
parent
e14abb6194
commit
6db272487e
|
|
@ -0,0 +1,38 @@
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import csv
|
||||||
|
from collections import deque
|
||||||
|
from heapq import heappush, heappop
|
||||||
|
from abc import ABC, abstractmethod
|
||||||
|
from typing import List, Optional, Tuple, Dict, Any
|
||||||
|
import os
|
||||||
|
|
||||||
|
class Cell:
|
||||||
|
|
||||||
|
class Maze:
|
||||||
|
|
||||||
|
class MazeBuilder(ABC):
|
||||||
|
|
||||||
|
class TextFileMazeBuilder(MazeBuilder):
|
||||||
|
|
||||||
|
class PathFindingStrategy(ABC):
|
||||||
|
|
||||||
|
class BFSStrategy(PathFindingStrategy):
|
||||||
|
|
||||||
|
class DFSStrategy(PathFindingStrategy):
|
||||||
|
|
||||||
|
class AStarStrategy(PathFindingStrategy):
|
||||||
|
|
||||||
|
class SearchStats:
|
||||||
|
|
||||||
|
class MazeSolver:
|
||||||
|
|
||||||
|
class Observer(ABC):
|
||||||
|
|
||||||
|
class ConsoleView(Observer):
|
||||||
|
|
||||||
|
class MoveCommand(ABC):
|
||||||
|
|
||||||
|
class Player:
|
||||||
|
|
||||||
|
class MoveCommandImpl(MoveCommand):
|
||||||
Loading…
Reference in New Issue
Block a user