Research Article

Human Mobility Modelling Based on Dense Transit Areas Detection with Opportunistic Sensing

Algorithm 1

DTA detection algorithm.
Input: A completed route’s abstraction
Output: Set of new generated DTAs
() 
() 
() 
() for each    do
()   if    then
()     
()   else
()     
()   if    then
()      new DTA()
()     
()   else if    then
()     
()     if    then
()        new DTA()
()       
() return  
() function  )
()
() ++
() ++
() ++
()
  
()
() if    then
()   return  true
() return  false