Skip to content

Instantly share code, notes, and snippets.

View Muhammad-Anees99's full-sized avatar
🎯
Focusing

Muhammad Anees Muhammad-Anees99

🎯
Focusing
View GitHub Profile
@Muhammad-Anees99
Muhammad-Anees99 / 2021_MC_03_CEP1.py
Created April 3, 2023 16:06
Maze problem solving using Genetic Algorithm
from pyamaze import *
from random import *
import csv
ROW_SIZE=15
COLUMN_SIZE=15
path,path_coordinates,infeasible_,Actual_Fitness=[],[],[],[]
Iteration_Num=0
fittest_found=0
weight_l,weight_f,weight_t=2,3,3
a=maze(ROW_SIZE,COLUMN_SIZE)