A comprehensive examination of algorithmic behaviors in diverse grid settings is discussed.The authors propose a selection algorithm for choosing the appropriate search algorithm based on priorities and the environment characteristics.An example of execution is provided to showcase the efficiency of the selection algorithm.The study highlights the performance of RTAA*, ARA*, and D*Lite algorithms and their comparison with the suggested algorithm.