Help me with search problem

Правка en1, от Agrew, 2016-10-06 21:20:00

Two parcel delivery robots must carry packages from their starting locations to specific delivery locations. Each robot can move independently of the other robot but the two robots cannot occupy the same space at the same time. The area in which the robots operate may contain walls which block their progress. The area may also contain traps which the robots can pass through but at an additional cost. The goal is to find paths for the two robots to move from their starting locations to their assigned delivery locations.

Additional details: • The delivery area in which the robots operate is a grid of N × M spaces. Each robot occupies one space in the grid. The robots are blocked from moving outside the grid. • A robot can move to any grid space immediately adjacent to it that is not occupied by another robot or a wall. A robot cannot move diagonally. Robots are permitted to move through traps. • Moving to an adjacent space that is empty costs 1 unit of energy. Moving to a trap costs 5 units of energy.

Теги dfs, bfs, a*

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
ru2 Русский Agrew 2016-10-07 10:01:35 42
ru1 Русский Agrew 2016-10-06 21:26:01 1122 Первая редакция перевода на Русский
en1 Английский Agrew 2016-10-06 21:20:00 1053 Initial revision (published)