{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "688ee55a", "metadata": {}, "outputs": [], "source": [ "import os\n", "\n", "# Переходим из docs/data/ в корень lab/\n", "os.chdir('../../')\n", "\n", "from source import TextFileMazeBuilder\n", "from source.observer import ConsoleView, Event\n", "from source.strategy import MazeSolver, BFS, DFS, Dijkstra, AStar\n", "# from source.strategy.maze_solver import \n", "from source.classes import Cell, Maze" ] }, { "cell_type": "code", "execution_count": null, "id": "70b2bfca", "metadata": {}, "outputs": [], "source": [ "builder = TextFileMazeBuilder()" ] }, { "cell_type": "code", "execution_count": null, "id": "6700366a", "metadata": {}, "outputs": [], "source": [ "path_maze100x100 = 'mazes\\\\benchmarks\\\\maze_empty.txt'" ] }, { "cell_type": "code", "execution_count": null, "id": "72959083", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "a60c907a", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.6" } }, "nbformat": 4, "nbformat_minor": 5 }