Research Article

Research on Global Path Planning of Robot Based on Ant Colony Algorithm and Gaussian Sampling

Table 1

Pseudocode.

StepInformation

1Begin
2Initialization parameters
3Gaussian sampling and initialization pheromone
4Repeat
5for N = 1 to Nmaxdo
6 Select next node and update heuristic function
7  If across regions then
8  Calculating the loss function
9  else update heuristic function
10  end if
11If satisfy the iteration break
12else continue
13end if
14end for
15If arriving the ending point then
16  Print: Succeed
17Else
18  Print: Fail
19end if
20End