| Algorithm 1 Least cost path recommendation algorithm. |
| INPUT: , |
| OUTPUT: The next node to visit |
| Initialize: O –> current location = , O–>request = 1, , next hop |
| Repeat |
| for all neighbor tables of do |
| Calculate: |
| if then |
| update: |
| end if |
| end for |
| return |
| Algorithm 1 Least cost path recommendation algorithm. |
| INPUT: , |
| OUTPUT: The next node to visit |
| Initialize: O –> current location = , O–>request = 1, , next hop |
| Repeat |
| for all neighbor tables of do |
| Calculate: |
| if then |
| update: |
| end if |
| end for |
| return |