I'm new user of Jade framework and I want to solve an exercise that asks to create 4 agents (3 taxi and 1 client) then calculate the distance between the client and the 3 taxi agents then I take the closest taxi to the client and communicate with him
The exercise is not clear enough so I didn't understand how can I calculate the distance between the client agent and the 3 taxi agents.
I would be grateful if someone explains to me how can I calculate the distance between agents or provide me a link to a tutorial that shows how to do it