Research Article
Multiagent Cooperative Learning Strategies for Pursuit-Evasion Games
Algorithm 3
Counterclockwise movement algorithm.
(1) direction ← generates randomly a direction | (2) distance ← generates randomly a distance shorter than environment | (3) move ← 0 | (4) while true do | (7) if move equals to distance or next location has obstacle then | (8) evader turns left | (9) change direction to evader | (10) move ← 0 | (11) end if | (12) end while |
|