Professional Documents
Culture Documents
Introduction For Thesis
Introduction For Thesis
Lê Đức Việt
12/1/2024
Chương 1
1.1 Introduction
1.1.1 Problem
Pathfinding involves moving an object from its initial position to the final position. Pathfinding algorithms
(PFAs) find applications in various areas such as Games, Virtual Tours, Driverless Vehicles, Robot Motion, and
Navigation[6].
The objective of pathfinding is to find the shortest path between two points in a given environment. The
criteria for the optimal path may include imitating a person’s chosen path, minimizing fuel consumption, or
passing through an intermediate point[6]. Finding the shortest path is a challenging problem in navigation
systems, artificial intelligence, and computer simulations.
Shortest path algorithms are widely used in network flow problems, tree problems, and related domains[7].
They determine the minimum cost of travel, shortest path in an electric circuit, or the most reliable way. The
internet extensively uses shortest path algorithms for data package transmissions with minimal time or using
the most reliable path.
This research implements a shortest path algorithm using the A* algorithm and compares it with Dijkstra’s
algorithm based on criteria such as search time and distance[7]. The comparison aims to analyze their efficiency
in a 2-dimensional matrix environment.
The A* algorithm is commonly used in pathfinding and graph traversal[3]. It traverses the chart by following
the lowest known path, maintaining a sorted priority queue of alternate path sections. The heuristic function
plays a crucial role in controlling the behavior of A*.
Dijkstra’s algorithm, known as the single-source shortest path problem, computes the length of the shortest
path from the source to each vertex on the plot. The algorithm works on directed weighted graphs, where all
weights are non-negative.
1.1.5 Motivation
Dijkstra’s Algorithm and A* algorithm are both efficient in finding the shortest path, but they have different
characteristics. Dijkstra’s Algorithm explores all possible paths, while A* algorithm uses heuristics to guide the
1
search. The motivation for this research is to understand and compare the efficiency of these algorithms in
different scenarios.
2
Tài liệu tham khảo
[1] Cohen, H. (1993). , "A Course in Computational Algebraic Number Theory", New York: Springer-Verlag.
ISBN 0-387-55640-0.
[2] Cohn, H. (1962), "Advanced Number Theory", New York: Dover. ISBN 0-486-64023-X.
[3] Cox, D.; Little, J.; O’Shea, D. (1997), " Ideals, Varieties, and Algorithms: An Introduction to Computational
Algebraic Geometry and Commutative Algebra"
[4] Stillwell, J. (1997), "Numbers and Geometry"