This document provides a comprehensive comparative study of different maze-solving techniques, specifically those used for autonomous robots in the "Micro mouse" competition. It analyzes algorithms based on graph theory like Depth-First Search (DFS), Breadth-First Search (BFS), Flood Fill, and a Modified Flood Fill. It also examines a non-graph theory Wall Follower approach. Simulation results show that graph theory algorithms like Modified Flood Fill are more efficient by requiring fewer distance updates and cells traversed to find the shortest path through mazes. The document concludes the Modified Flood Fill algorithm may be best suited for the micro mouse competition due to its efficiency in solving mazes.
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGijfcstjournal
Path finding algorithm addresses problem of finding shortest path from source to destination avoiding
obstacles. There exist various search algorithms namely A*, Dijkstra's and ant colony optimization. Unlike
most path finding algorithms which require destination co-ordinates to compute path, the proposed
algorithm comprises of a new method which finds path using backtracking without requiring destination
co-ordinates. Moreover, in existing path finding algorithm, the number of iterations required to find path is
large. Hence, to overcome this, an algorithm is proposed which reduces number of iterations required to
traverse the path. The proposed algorithm is hybrid of backtracking and a new technique(modified 8-
neighbor approach). The proposed algorithm can become essential part in location based, network, gaming
applications. grid traversal, navigation, gaming applications, mobile robot and Artificial Intelligence.
Path finding algorithm addresses problem of finding shortest path from source to destination avoiding
obstacles. There exist various search algorithms namely A*, Dijkstra's and ant colony optimization. Unlike
most path finding algorithms which require destination co-ordinates to compute path, the proposed
algorithm comprises of a new method which finds path using backtracking without requiring destination
co-ordinates. Moreover, in existing path finding algorithm, the number of iterations required to find path is
large. Hence, to overcome this, an algorithm is proposed which reduces number of iterations required to
traverse the path. The proposed algorithm is hybrid of backtracking and a new technique(modified 8-
neighbor approach). The proposed algorithm can become essential part in location based, network, gaming
applications. grid traversal, navigation, gaming applications, mobile robot and Artificial Intelligence.
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGijfcstjournal
Path finding algorithm addresses problem of finding shortest path from source to destination avoiding
obstacles. There exist various search algorithms namely A*, Dijkstra's and ant colony optimization. Unlike
most path finding algorithms which require destination co-ordinates to compute path, the proposed
algorithm comprises of a new method which finds path using backtracking without requiring destination
co-ordinates. Moreover, in existing path finding algorithm, the number of iterations required to find path is
large. Hence, to overcome this, an algorithm is proposed which reduces number of iterations required to
traverse the path. The proposed algorithm is hybrid of backtracking and a new technique(modified 8-
neighbor approach). The proposed algorithm can become essential part in location based, network, gaming
applications. grid traversal, navigation, gaming applications, mobile robot and Artificial Intelligence.
Path finding algorithm addresses problem of finding shortest path from source to destination avoiding
obstacles. There exist various search algorithms namely A*, Dijkstra's and ant colony optimization. Unlike
most path finding algorithms which require destination co-ordinates to compute path, the proposed
algorithm comprises of a new method which finds path using backtracking without requiring destination
co-ordinates. Moreover, in existing path finding algorithm, the number of iterations required to find path is
large. Hence, to overcome this, an algorithm is proposed which reduces number of iterations required to
traverse the path. The proposed algorithm is hybrid of backtracking and a new technique(modified 8-
neighbor approach). The proposed algorithm can become essential part in location based, network, gaming
applications. grid traversal, navigation, gaming applications, mobile robot and Artificial Intelligence.
In order to achieve the wide range of the robotic application it is necessary to provide iterative motions
among points of the goals. For instance, in the industry mobile robots can replace any components between
a storehouse and an assembly department. Ammunition replacement is widely used in military services.
Working place is possible in ports, airports, waste site and etc. Mobile agents can be used for monitoring if
it is necessary to observe control points in the secret place. The paper deals with path planning programme
for mobile robots. The aim of the research paper is to analyse motion-planning algorithms that contain the
design of modelling programme. The programme is needed as environment modelling to obtain the
simulation data. The simulation data give the possibility to conduct the wide analyses for selected
algorithm. Analysis means the simulation data interpretation and comparison with other data obtained
using the motion-planning. The results of the careful analysis were considered for optimal path planning
algorithms. The experimental evidence was proposed to demonstrate the effectiveness of the algorithm for
steady covered space. The results described in this work can be extended in a number of directions, and
applied to other algorithms.
An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...ijsrd.com
Multi-Target Tracking for Sensor Networks using Ant Colony Optimization is proposed in this paper. The proposed approach uses ant colony optimization technique that composed of both dynamic and mobile nodes. While mobile nodes are used for optimizing the target tracking, dynamic nodes ensure the total coverage of the network. As a result, the performance of the Wireless Sensor Networks with multi-target tracking on mobility nodes will improve. While improving the performance of the wireless sensor networks, automatically minimum distance will be travelled by the nodes, thereby decreasing the energy consumption of the mobility nodes. This is achieved by selecting the optimal path by searching each path of the existing network. The software should check whether any chance of collision and if it is happening, then how to avoid it by providing a minimum delay for finding the optimal path. For finding the prediction of each node to reach the optimal path different methods should be applied, like k-means and random selection. The experimental results show that Object tracking with prediction mechanism is much better than without prediction mechanism.
This presentation proposes a novel nature-inspired algorithm called Multi-Verse Optimizer (MVO). The main inspirations of this algorithm are based on three concepts in cosmology: white hole, black hole, and wormhole.
This presentation is based on https://link.springer.com/article/10.1007%2Fs00521-015-1870-7
A NOVEL ANT COLONY ALGORITHM FOR MULTICAST ROUTING IN WIRELESS AD HOC NETWORKS cscpconf
The Steiner tree is the underlying model for multicast communication. This paper presents a
novel ant colony algorithm guided by problem relaxation for unconstrained Steiner tree in static
wireless ad hoc networks. The framework of the proposed algorithm is based on ant colony
system (ACS). In the first step, the ants probabilistically construct the path from the source tothe terminal nodes. These paths are then merged together to generate a Steiner tree rooted at the source. The problem is relaxed to incorporate the structural information into the heuristic value for the selection of nodes. The effectiveness of the algorithm is tested on the benchmark problems of the OR-library. Simulation results show that our algorithm can find optimal Steiner tree with high success rate.
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...ijaia
In this paper, an improved multimodal optimization (MMO) algorithm,calledLSEPSO,has been proposed. LSEPSO combinedElectrostatic Particle Swarm Optimization (EPSO) algorithm and a local search method and then madesome modification onthem. It has been shown to improve global and local optima finding ability of the algorithm. This algorithm useda modified local search to improve particle's personal best, which usedn-nearest-neighbour instead of nearest-neighbour. Then, by creating n new points among each particle and n nearest particles, it triedto find a point which could be the alternative of particle's personal best. This methodprevented particle's attenuation and following a specific particle by its neighbours. The performed tests on a number of benchmark functions clearly demonstratedthat the improved algorithm is able to solve MMO problems and outperform other tested algorithms in this article.
In order to achieve the wide range of the robotic application it is necessary to provide iterative motions
among points of the goals. For instance, in the industry mobile robots can replace any components between
a storehouse and an assembly department. Ammunition replacement is widely used in military services.
Working place is possible in ports, airports, waste site and etc. Mobile agents can be used for monitoring if
it is necessary to observe control points in the secret place. The paper deals with path planning programme
for mobile robots. The aim of the research paper is to analyse motion-planning algorithms that contain the
design of modelling programme. The programme is needed as environment modelling to obtain the
simulation data. The simulation data give the possibility to conduct the wide analyses for selected
algorithm. Analysis means the simulation data interpretation and comparison with other data obtained
using the motion-planning. The results of the careful analysis were considered for optimal path planning
algorithms. The experimental evidence was proposed to demonstrate the effectiveness of the algorithm for
steady covered space. The results described in this work can be extended in a number of directions, and
applied to other algorithms.
An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...ijsrd.com
Multi-Target Tracking for Sensor Networks using Ant Colony Optimization is proposed in this paper. The proposed approach uses ant colony optimization technique that composed of both dynamic and mobile nodes. While mobile nodes are used for optimizing the target tracking, dynamic nodes ensure the total coverage of the network. As a result, the performance of the Wireless Sensor Networks with multi-target tracking on mobility nodes will improve. While improving the performance of the wireless sensor networks, automatically minimum distance will be travelled by the nodes, thereby decreasing the energy consumption of the mobility nodes. This is achieved by selecting the optimal path by searching each path of the existing network. The software should check whether any chance of collision and if it is happening, then how to avoid it by providing a minimum delay for finding the optimal path. For finding the prediction of each node to reach the optimal path different methods should be applied, like k-means and random selection. The experimental results show that Object tracking with prediction mechanism is much better than without prediction mechanism.
This presentation proposes a novel nature-inspired algorithm called Multi-Verse Optimizer (MVO). The main inspirations of this algorithm are based on three concepts in cosmology: white hole, black hole, and wormhole.
This presentation is based on https://link.springer.com/article/10.1007%2Fs00521-015-1870-7
A NOVEL ANT COLONY ALGORITHM FOR MULTICAST ROUTING IN WIRELESS AD HOC NETWORKS cscpconf
The Steiner tree is the underlying model for multicast communication. This paper presents a
novel ant colony algorithm guided by problem relaxation for unconstrained Steiner tree in static
wireless ad hoc networks. The framework of the proposed algorithm is based on ant colony
system (ACS). In the first step, the ants probabilistically construct the path from the source tothe terminal nodes. These paths are then merged together to generate a Steiner tree rooted at the source. The problem is relaxed to incorporate the structural information into the heuristic value for the selection of nodes. The effectiveness of the algorithm is tested on the benchmark problems of the OR-library. Simulation results show that our algorithm can find optimal Steiner tree with high success rate.
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...ijaia
In this paper, an improved multimodal optimization (MMO) algorithm,calledLSEPSO,has been proposed. LSEPSO combinedElectrostatic Particle Swarm Optimization (EPSO) algorithm and a local search method and then madesome modification onthem. It has been shown to improve global and local optima finding ability of the algorithm. This algorithm useda modified local search to improve particle's personal best, which usedn-nearest-neighbour instead of nearest-neighbour. Then, by creating n new points among each particle and n nearest particles, it triedto find a point which could be the alternative of particle's personal best. This methodprevented particle's attenuation and following a specific particle by its neighbours. The performed tests on a number of benchmark functions clearly demonstratedthat the improved algorithm is able to solve MMO problems and outperform other tested algorithms in this article.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
A Comprehensive and Comparative Study Of Maze-Solving Techniques by Implementing Graph Theory
1. IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 1, Ver. IV (Jan – Feb. 2015), PP 24-29
www.iosrjournals.org
DOI: 10.9790/0661-17142429 www.iosrjournals.org 24 | Page
A Comprehensive and Comparative Study Of Maze-Solving
Techniques by Implementing Graph Theory
Keshav Sharma1
Chirag Munshi2
School of Computer Science and Engineering VIT University Vellore, India
School of Computer Science and Engineering VIT University Vellore, India
Abstract: This paper presents an efficient maze solving algorithm. IEEE has launched a competition named
“Micro mouse” where an autonomous robot or mice solves an unknown maze. The mouse find its way from the
starting position to the central area of the maze without any intervention. To solve the maze, the mice
implements one of many different searching algorithms such as the DFS, flood fill, BFS, modified flood fill.
Several algorithms which originate from graph theory (GT) and non-graph theory (NGT) are currently being
used to program the robot or mice. To compare the algorithms efficiency, they are simulated artificially and a
comprehensive study is done by interpreting the statistics of interest.
I. Introduction
A maze is a puzzled way which consists of different branch of passages where the aim of the micro
mouse is to reach the destination by finding the most efficient route within the shortest possible time. Micro
mouse is a small wheeled-robot that consisting infrared sensors, motors and controller and act. Artificial
Intelligence plays a vital role in defining the best possible way of solving any maze effectively. Graph theory
appears as an efficient tool while designing proficient maze solving techniques. Graph is a representation or
collection of sets of nodes and edges. This concept is deployed in solving unknown maze consisting of multiple
cells. Depending on the number of cells, maze dimension may be 8x8, 16x16 or 32x32. The IEEE standard
maze has 16×16 square cells, and each cell‟s length and width are both 18 centimeters. Each cell can be
considered as a node which is isolated
by walls or edges. By incorporating intelligent procedure with the existing graph theory algorithms,
some Micro mouse Algorithms have been developed i.e. flooding, DFS (Depth First Search) in Micro mouse.
Analytical approach is taken to evaluate BFS (Breadth First Search). To increase the efficiency of flood fill
algorithm, some changes have been made and eventually “modified flood-fill algorithm” appears. The
performance and outcome of these algorithms are also analyzed and compared. With adequate reference and
observation it is obvious that graph theory technique is the most efficient in solving Micro mouse mazes than
other techniques. A more generalized algorithm (not originated from graph theory) is described in section III.
Section IV is based on the simulation and analysis of these algorithms. Section V is based on comparison and
decision taking. Finally some conclusions have been drawn by interpreting the simulation result.
II. Related Work
I. Depth First Algorithm (DFS)
Depth- First search is an intuitive algorithm for searching a maze in which the mouse first starts moving forward
and randomly chooses a path when it comes to an intersection. If that path leads to a dead end, the mouse returns
to his intersection and choose another path. This algorithm forces the mouse to explore each possible path
within the maze, and by exploring every cell, the mouse eventually finds the center. It is called “depth first”
because if the maze is considered a spanning tree, the full depth of one branch is searched before moving onto
the next branch. The relative advantage of this method is that the micro mouse always finds the route.
Unfortunately the major drawback is that the mouse does not necessarily find the shortest or quickest route and
it wastes too much time exploring the entire maze.
II. Flood Fill algorithm
The speed of robot to find its path, affected by the applied algorithm, acts as the main part in the present
project. The flood-fill algorithm involves assigning values to each of the cells in the maze where these values
represent the distance from any cell on the maze to the destination cell. The destination cell, therefore, is
assigned a value of 0. If the mouse is standing in a cell with a value of 1, it is 1 cell away from the goal.
2. A Comprehensive and Comparative Study of Maze-Solving Techniques by Implementing…
DOI: 10.9790/0661-17142429 www.iosrjournals.org 25 | Page
Figure1: Flood Fill Algorithm
Figure2: Modified Flood Fill Algorithm
If the mouse is standing in a cell with a value of 3, it is 3 cells way from the goal. Assuming the robot
cannot move diagonally.
Problems Of The Flood Fill Algorithm
Although the robot using flood-fill algorithm can find the shortest path to destination, but some problems still
exist when using this flood fill algorithm in the process of maze solving. The problems are shown as follows.
First, in each cell the robot arrived, it must run the four steps: update walls, flood maze, turn determination
and move to next cell. That‟s the problem. Time is the key factor in this competition. This will affect the
robot searching speed extremely.
Second, flooding one time of a maze with 256 cells will costs the robot much time.
Third, in order to find the destination as soon as possible, which direction the robot should to make when it
gets to a cross cell which has two or more directions have the same value.
This algorithm is rather simple and provides a reliable method to finding the center of the maze;
however, the new proposed algorithm can find the center more quickly so we will introduce this algorithm.
Modified Flood Fill Algorithm
The modified flood fill algorithm is similar to the flood fill algorithm for it also uses distance values to
navigate the maze. The primary difference is that the modified flood fill algorithm does not “flood” the entire
maze with values. It modifies only the values that need to be changed. For example, if a wall is encountered and
the robot is not in the destination cell, it updates the value of that cell to 1 + the minimum value of its open
neighbors.
Examining Figure2, when the robot encounters a wall to the east and can only move north or south.
The north and south cells (open neighbors) are checked and we find that the current cell‟s new value is 1 + the
minimum value of its open neighbors or 1+3=4.
Once the robot has found the destination cell, it can return to the beginning of the maze using the
distance values. On return, it is often a good practice to double check the wall positions. Once the micro mouse
3. A Comprehensive and Comparative Study of Maze-Solving Techniques by Implementing…
DOI: 10.9790/0661-17142429 www.iosrjournals.org 26 | Page
has returned to the beginning, the maze is solved and the mouse can scamper off for a speed run to the center of
the maze.
So, the modified flood fill process for updating the distance values is:
Figure 3: Updating Distance Values with Modified Flood Fill Algorithm
Using the algorithm from Figure3, the modified flood fill algorithm now becomes the following and
should be executed every time the mouse enters a new cell.
1. Update the wall map
Is the cell to the North separated by a wall?
Yes -> Turn on the “North” bit for the cell we are
Standing on and No -> Do nothing
Is the cell to the East separated by a wall?
Yes -> Turn on the “East” bit for the cell we are standing on and
No -> do nothing
Is the cell to the South separated by a wall?
Yes -> Turn on the “South” bit for the cell we are standing on and
No -> do nothing
Is the cell to the West separated by a wall?
Yes -> Turn on the “West” bit for the cell we are standing on and
No -> do nothing
Now we need to call the modified flood fill to flood only that part of the maze which is required. The cell values
are updated according to the following rule,
If a cell is not the destination cell, its value should be one plus the minimum value of its open neighbors. When
the cell values violate the above rule, they need to be updated.
2. Update the distance values (only if necessary) (modified flood fill)
Make sure the stack is empty
Push the current cell (the one the robot is standing on) onto the stack
Repeat the following set of instructions until the stack is empty:
{
Pull a cell from the stack
Is the distance value of this cell = 1 + the minimum value of its open neighbors?
No -> Change the cell to 1 + the minimum value of its open neighbors and
Push all of the cell‟s open neighbors onto the stack to be checked
Yes -> do nothing
}
The stack empty check is not required in the program presented in this article.
The wall map is updated, required part of the maze is also flooded now what? Guess we need to make the right
move.
3. Determine which neighbor cell has the lowest distance value
Is the cell to the North separated by a wall? Yes -> Ignore the North cell
No -> Push the North cell onto the stack to be examined
4. A Comprehensive and Comparative Study of Maze-Solving Techniques by Implementing…
DOI: 10.9790/0661-17142429 www.iosrjournals.org 27 | Page
Is the cell to the East separated by a wall? Yes -> Ignore the East cell
No -> Push the East cell onto the stack to be examined
Is the cell to the South separated by a wall? Yes -> Ignore the South cell
No -> Push the South cell onto the stack to be examined
Is the cell to the West separated by a wall? Yes -> Ignore the West cell
No -> Push the West cell onto the stack to be examined
Pull all of the cells from the stack (The stack is now empty)
Sort the cells to determine which has the lowest distance value
4. Move to the neighboring cell with the lowest distance value.
After making the move, the above process is repeated again and again till the mouse reaches the center.
Breadth First Search Algorithm
Breadth First Search is a special case of Uniform Cost Searches (UCS). UCS is a weighted graph
search. It use cost storage to determine the order of nodes visited. In BFS, the job is to reach the goal vertex
from the source vertex. Starting from the source vertex, the entire layer of unvisited vertex is visited by some
Vertex in the visited set and recently visited vertexes are added with the visited set. The analogy of
BFS with Micro mouse maze is drawn by considering the vertexes as maze cells. In Micro mouse, the BFS
algorithm labels cells searching from the start cell to all the nearing neighbors. Start cell is marked as
„Zero‟ (0). The program keeps records of which cell are immediate neighbors of start cell. BFS is
capable to find the shortest path. The search continues until it finds the goal.
III. General Algorithm
Without applying graph theory, there are some methods which can be used to solve Micro mouse maze
with less efficiency and reliability.
Wall Follower Algorithm (NGT)
Here, we are developing the wall follower logic. This works on the rule of following either left wall or
right wall continuously until it leads to the center. The micro mouse senses the wall on the left or right, and
follows it to wherever it leads until the center is reached.
Fig4: Left wall follower: solvable maze
Fig5: Right wall follower: solvable maze
5. A Comprehensive and Comparative Study of Maze-Solving Techniques by Implementing…
DOI: 10.9790/0661-17142429 www.iosrjournals.org 28 | Page
The time taken by the robot can be calculated. If we assume the cell to cell movement time to be 2.5
sec. and the turning time to be 1 sec. then the total time taken by the robot is (140×2.5) + (27×1) = 377 sec. for
reaching the center of this maze.
The above maze is solved using the right wall follower logic. The total time taken by the robot is
(124×2.5) + (25×1) = 335 sec. for reaching the center of the maze.
The problem with both the wall follower algorithms is that all the mazes cannot be solved.
IV. Simulation Result, Analysis And Comparison
Upon interpreting the simulation outcomes, extensive comparison is done among GT algorithms which
lead towards a conclusion about their effectiveness.
Comparison between GT and NGT algorithms has also been done.
Fig6: Comparison of different algorithm
Fig7: Total Number of Distance Updates To Find The Best Runs
Theoretical investigation suggests that, Flood fill should traverse less number of cells than DFS in case
of DFS, it can‟t be guaranteed that it will always find the shortest path by traversing minimum number of cells.
Moreover it totally depends upon the maze configuration. But Flood fill is designed to find the minimum path
by traversing fewer amounts of cells.
V. Comparison And Decision
Breadth first search and Depth first search are quite similar. The choice is dependent upon the maze
structure. DFS may not provide the best solution as it tends to explore every possible path to reach the
destination. A vital problem with DFS is, it may stuck in a dead-end. But BFS doesn‟t stuck in a blind lane
within the maze and it will always find the shortest path. The summary between DFS and BFS can be drawn as
bellow:
In case of large mazes BFS is more appropriate than DFS.
Memory requirement for coding is higher in DFS than BFS.
If the maze contains several possible paths to reach the destination then DFS may be time consuming. So it
is suggested not to use DFS in those scenarios.
If the consideration point is to find the shortest path then BFS is preferred then DFS.
Following statements can be drawn to compare BFS and Flood fill.
If the maze is large then Flood fill should be avoided. BFS will give satisfactory performance in this
scenario.
For small mazes (i.e. 8x8) Flood fill is suggested to use. It will find the shortest path quickly than BFS.
6. A Comprehensive and Comparative Study of Maze-Solving Techniques by Implementing…
DOI: 10.9790/0661-17142429 www.iosrjournals.org 29 | Page
Compared to the Flood Fill algorithm, the Modified Flood Fill algorithm offers a significant reduction in cell
distance updates (Fig7). With a lesser number of distances to update, the micro mouse which uses the modified
flood fill can traverse from cell to cell in a higher speed. Furthermore, if the dead end cells are marked on the
first arrival, these marked cells will not be explored in subsequent runs, resulting in a reduced total number of
cells explore.
VI. Conclusion
Though it can be inferred from simulation results that the GT algorithms are far more proficient
compared to the NGT but NGT should not be completely excluded from the maze solving scenario. With less
demand for computation speed and with the assurance that the best run gives the smallest number of cells
traversed, the Modified Flood Fill algorithm may be the choice for micro mouse competitions.
References
[1]. Sadik A. M. J, Farid H. M. A. B., Rashid T. U., Syed A., Dhali M.A. “Performance analysis of micro mouse algorithms,” Proc. 25th
International Technical Conference on Circuits/Systems, Computers And Communications (ITC-CSCC), Pattaya, Thailand on 4-7
July, 2010; PID 0242, pp. 544–547.
[2]. "Micro mouse 2010 Competition Rules." IEEE Region 2 Student Activities Conference 2010 Web Page. Web. 21 Nov.
2009.[http://www.temple.edu/students/ieee/SAC/com petitions.html.]I . S. Jacobs and C. P. Bean, “Fine particles, thin films and
exchange anisotropy,” in Magnetism, vol. III, G. T. Rado and H. Suhl, Eds. New York: Academic, 1963, pp. 271–350.
[3]. Manoj Sharma,“Algorithms for Micro-mouse”, Proc. 2009 International Conference on Future Computer and Communication. DOI
10.1109/ICFCC.2009.38.