|
Algorithm 4 New node initialization |
|
Require:
cell positions of one frontier segment , the current node’s ID , a new frontier node’s ID
|
|
Ensure:
,
|
| 1: function
Initialize-New-Node(, , ) |
| 2:
|
| 3:
|
| 4:
|
| 5:
|
| 6:
|
| 7: for all
do
|
| 8:
|
| 9:
|
| 10: end for
|
| 11:
|
| 12: return
|
| 13:
end function
|