finish the norm

This commit is contained in:
Maoake Teriierooiterai
2026-04-06 18:17:45 +02:00
parent 4d5662c248
commit f5131f0e01
5 changed files with 26 additions and 8 deletions
-1
View File
@@ -1,5 +1,4 @@
import os import os
import sys
from typing import Any from typing import Any
from numpy.typing import NDArray from numpy.typing import NDArray
from AMazeIng import AMazeIng from AMazeIng import AMazeIng
+19
View File
@@ -0,0 +1,19 @@
BD5155579139553
A93815556AC6916
C6A869513C152C3
95469696C383C3A
8391696956C292A
AC6AF856FFFC06A
8392FC5157F9296
86AAFFFAFFFAA83
856C53FAFD502AA
C39392FAFFFC2AA
96AC6C3A951386A
83C5516C696AA96
A8393C515692AC3
8686C53A956C692
C545556C4555546
2,1
3,5
EESSSWWWSESEN
+5 -5
View File
@@ -1,8 +1,8 @@
WIDTH=9 WIDTH=15
HEIGHT=7 HEIGHT=15
ENTRY=1,1 ENTRY=2,1
EXIT=4,5 EXIT=3,5
OUTPUT_FILE=con.txt OUTPUT_FILE=con.txt
PERFECT=False PERFECT=False
GENERATOR=Kruskal GENERATOR=DFS
Solver=AStar Solver=AStar
-1
View File
@@ -1,6 +1,5 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import Generator, Any from typing import Generator, Any
from mazegen import Maze
import numpy as np import numpy as np
from numpy.typing import NDArray from numpy.typing import NDArray
from mazegen.Cell import Cell from mazegen.Cell import Cell
+2 -1
View File
@@ -12,7 +12,8 @@ class DataMaze:
with open(name_file, "r"): with open(name_file, "r"):
while True: while True:
res = input( res = input(
f"{name_file} already exist. Data will be erased. Continue ? (y/n)" f"{name_file} already exist. Data will"
" be erased. Continue ? (y/n)"
) )
if res == "y": if res == "y":
break break