Hello, I am using MATSim Berlin events XML file to analyze the contact rate between agents. I include the coordinates of each agent and calculate their beeline distances. For example: sqrt((x1 - x2)^2 + (y1 - y2)^2). I am not sure whether this is correct to calculate the distance between two agents. If anyone could tell me, much appreciated.
--------- update ---------
I figure it out. Thank you.
Hello, I am using MATSim Berlin events XML file to analyze the contact rate between agents. I include the coordinates of each agent and calculate their beeline distances. For example: sqrt((x1 - x2)^2 + (y1 - y2)^2). I am not sure whether this is correct to calculate the distance between two agents. If anyone could tell me, much appreciated. --------- update --------- I figure it out. Thank you.