Calculation of Adjacency Matrix
RyYAO98 opened this issue · 2 comments
RyYAO98 commented
Hi, thanks for your impressive work! I'm studying the implementation you released, and now there's just one issue confusing me which is related to the calculation of the adjacency matrix in utils.py.
As mentioned in your paper, an element of the adjacency matrix is calculated using the observed locations of two nodes:
However, in line 45 of utils.py, it's calculated using displacement (relative position) instead of absolute position:
l2_norm = anorm(step_rel[h],step_rel[k])
Could you please explain the reason for the operation? Look forward to your reply!
abduallahmohamed commented
Hi,
Please refer to this: #15
TL:DR; the step_rel is a normalization for the trajectories.
Please let me know if the previous issue isn't enough
Best