2026-rff_mp/stepushovgs/labyrinth/docs/data/main.ipynb
GordStep 7782d2e812 Добавлены все лабиринты
- Добавил все лабиринты и проверил корректность работы
- очистил выходные данные ipynb файлов
2026-05-23 01:22:42 +03:00

81 lines
1.6 KiB
Plaintext

{
"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
}