Research Article

Augmented Intention Model for Next-Location Prediction from Graphical Trajectory Context

Algorithm 1

Selection of candidate nodes.
Input: current trajectory for user u
Output: A dict for candidate nodes
(1) initialize: , ,
(2)for each node do
(3)  for each node adjacent nodes of do
(4)   if distance between and  < 
(5) and then
(6)    
(7)   end if
(8)  end for
(9)end for