| Function | Explanation |
|---|---|
| crowded(P,V,E) | If front region is crowded, then return true, else return false. |
| late(P,V,T,dst) | The node might be late for the estimated time of arrival, but in time if hurries up, then return true, else return false. |
| miss(P,V,T,dst) | Even if the node hurries up, it is not in the estimated time of arrival, then return trueC else return false. |
| reach(P,dst.p) | If arrived at destination, then return true, else return false. |
| receive_from_net(AO,temp) | If acquiring information from the system, then return true, else return false. |
| Function | Explanation |
|---|---|
| change_destination(new_dst) | Change destination to new_dst. |
| detour_path(P,E,dst.p) | Return sequence of shortest path from present location to next destination except the sequence the node keep now. |
| fast(V, val, dst) | Return velocity vector according to fast speed : one's normal speed added val. |
| norm(V, dst) | Return velocity vector according to one's normal speed (:when generated). |
| put(new_dst,Dlist) | Add new destination new_dst to Dlist. |
| send_to_net(AI,temp) | Input information to the system. |
| Function | Explanation |
|---|---|
| gen(P, V, Dlist) | Genarate node object of each Mobility class (Member Function of each Mobility class). |
| Function | Explanation |
|---|---|
| rand(min,max) | Return value of selected at random from min`max. |
| prob(val) | Return true with probability val%. If not return false. |
| req_time(p1, p2, V) | Return travel time from cross-point p1 (p2) to p2 (p1). |