Journals
Publish with us
Publishing partnerships
About us
Blog
Mobile Information Systems
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Mobile Information Systems
/
2017
/
Article
/
Alg 4
/
Research Article
Recommending Locations Based on Users’ Periodic Behaviors
Algorithm 4
Dynamic change matrix.
Input:
matrix
t1
t2
p
T
Output: None
Begin
(1)
While
t2
max(
T
)
do
(2)
If
t1
in
and
t2
in
do
(3)
matrix[t1][t2]
= 0
(4)
t1
=
t2
(5)
t2
=
t2
+
p
(6)
end
(7)
end
End