Journals
Publish with us
Publishing partnerships
About us
Blog
Journal of Advanced Transportation
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Journal of Advanced Transportation
/
2017
/
Article
/
Alg 1
/
Research Article
Spatial-Temporal Similarity Correlation between Public Transit Passengers Using Smart Card Data
Algorithm 1
Pseudo-code for calculating spatial similarity between passengers.
a
= 0;
for (
i
in 1:
m
)
;
for (
j
in 1:
n
)
if (
is spatially similar to
)
a
=
a
+
;