|
Algorithm 1 Mapping into P
|
Input: The AOI: Output: The pheromone matrix:
-
1:
, , , , where
-
2:
-
3:
, , , , where ,
-
4:
-
5:
Scatter D into rectangles. Label them with where , and . Calculate the center of each rectangle, with the center of being :
,
.
-
6:
Create matrix
|