Đường dẫn của bảo hiểm hoàn thành được sản xuất bằng cách làm theo
sự gia tăng của chi phí g quanh nút C hiện hành bắt đầu
từ nút start S. Các nút C hiện tại được thiết lập để các
nút bắt đầu S và tất cả các nút xa từ nút C trong mặt nạ Robot MR được thiết lập để truy cập, và trong vòng
hai mặt nạ robot (2 · MR) được đặt chồng lên nhau. Các
bước đầu tiên của việc thực hiện thuật toán được hiển thị nếu hình. 4. (a).
Các nút truy cập được ghi nhận bởi các ô vuông nhỏ bên trong các
tế bào lưới, và chồng chéo nút được chú ý bởi màu điền
các ô lưới. Có bốn xung quanh các nút ứng cử viên
ghi nhận của dấu và có giá trị g tương ứng, tức là bốn
phi đã đến thăm và nút không chồng chéo xa từ
nút C hiện tại cho các kích thước Robot vuông (2 · MR + 1 tế bào)
trong bốn hướng thẳng với chi phí g <∞ (n). Tiếp theo
M nút trong con đường bảo hiểm hoàn thành là một với
g chi phí nhỏ nhất trong số các nút xung quanh ứng cử viên. Kể từ khi
tất cả các nút ứng cử viên xung quanh có cùng giá trị chi phí
(g = 70, sử dụng ecell = 10, √
2ecell ≈ 14), sau đó nút
M được chọn tùy ý. Các nút M được thiết lập để được mới
nút C hiện tại cho tới (thứ hai) thuật toán lặp
và cùng một thủ tục được thực hiện một lần nữa. Thứ tư
bước thực hiện thuật toán được hiển thị nếu hình. 4. (b), nơi
con đường bảo hiểm hoàn thành có đã được bốn điểm và một
diện tích mặt nạ bốn robot đã được truy cập. Chỉ có
hai xung quanh các nút ứng cử viên kể từ khi hai khác có thể
các nút ứng cử viên đã được chồng chéo và truy cập. Các
nút M là nút với giá trị nhỏ nhất g (g = 98).
Thủ tục này được lặp đi lặp lại cho đến khi không có xung quanh
các nút ứng cử viên
đang được dịch, vui lòng đợi..