2.4 Genetic Algorithm
Simple Genetic Algorithm (SGA) generates an initial
population through a random method. The poor
individual fitness of the beginning population will
limit the algorithm's pace of convergence to some
degree. Yu studied the genetic algorithm in light of
this (Yu, 2014). The heuristic crossover operator,
which is based on the greedy approach, is utilized to
maximize the crossover results. The greedy algorithm
is used to start the population on the basis of the basic
genetic algorithm. Studies and research demonstrate
that when the population size is modest, the enhanced
genetic algorithm may be applied to achieve more
dependable optimization capabilities.
An enhanced single-parent genetic algorithm was
suggested by Hu et al (Hu, 2019). This paper
developed a novel coding technique that, during
population initialization, may produce people with
random distribution centers by drawing inspiration
from the two-stage chromosomal coding method:
utilizing an enhanced Lastly, a mixed selection
operator is employed to retain and select the
population, keeping the algorithm from prematurely
convergent. The single-parent genetic operation is
utilized to optimize the route. According to the study,
the algorithm may be used to design trip routes and
find the shortest path with high performance.
In order to address the traveling salesman issue,
Chen et al. enhanced the evolutionary method using
pointer networks (Chen, 2020), a neural network that,
given a discrete input sequence, can ascertain the
conditional probability of an output sequence. Low-
and medium-level problems can be solved by it
successfully. High accuracy predictions may be made
on the solution to dimensional combination
optimization issues. The pointer network's basic idea
is to translate an input into a sequence of pointers that,
in accordance with probability, refer to the input
sequence elements. The improved genetic algorithm
will generate a high-quality initial population through
the pointer network. The initial population of the
pointer network is then combined with the random
initial population to determine the optimal individual.
The retention strategy retains excellent individuals on
both sides to form a new initial population. According
to experimental findings, the enhanced algorithm's
convergence speed and optimization capacity have
greatly increased. As a consequence, it is possible to
use genetic algorithms more successfully to the
traveling salesman issue.
3 DISCUSSIONS
3.1 The Application of Path Planning
Algorithms
The heuristic algorithms, collaborative filtering
algorithms, and genetic algorithms mentioned above
have demonstrated excellent performance in solving
various practical path planning problems. Travel apps
such as Ctrip, Gaode Maps, Uber, etc., have utilized
these algorithms to provide users convenient and
efficient services for everyday needs and travel
planning.
The A* algorithm, a heuristic algorithm widely
used in path planning, exhibits significant advantages
in practical scenarios due to its efficiency,
completeness, and robust adaptability. Navigation
systems, autonomous vehicle driving, and robot path
planning widely employ the A* algorithm. From our
perspective, the popularity of the A* algorithm stems
primarily from its ability to efficiently find the
optimal path while maintaining strong real-time
performance and adaptability. During the search
process, the A* algorithm utilizes heuristic
information to effectively reduce the search space,
thereby improving search efficiency. For instance,
Gaode Maps employs the A* algorithm combined
with straight-line distance estimation and cost
function design, comprehensively considering factors
such as road length, traffic conditions, and congestion,
to give consumers the best possible mix of path
planning from the starting point to the destination as
fast as feasible, and can provide users with better
solutions based on real-time conditions.
The genetic algorithm, which has strong global
search capabilities, is suitable for solving multimodal
optimization problems. In our view, the advantages of
genetic algorithms lie in their parallelism, ability to
handle high-dimensional, nonlinear, and non-
differentiable optimization problems, and strong
adaptability. They can also perform parallel
computations in distributed environments, exhibiting
good scalability and generalization ability to better
handle practical path planning problems with massive
data. Shivgan effectively solved the drone path
planning problem using genetic algorithms (Shivgan,
2020). Compared to greedy algorithms, genetic
algorithms are less likely to fall into local optima,
significantly reducing energy consumption and
improving the performance and efficiency of drone
operations.
Collaborative filtering algorithms enable path
planning models to better address user preference
issues and achieve personalized recommendations.