Research Article

The Collaborative Search by Tag-Based User Profile in Social Media

Algorithm 1

Algorithm of on-line community discovery.
Input: The cluster set , their center set , the current
    user , issued query and the threshold and .
Output: The updated user profile and the on-line discovering community .
(1)   if      then
(2)    
(3)    
(4)    Update the degree of relevance by the selected paradigm.
(5)    if     then
(6)     for   to   do
(7)      Find the community by calculate
(8)    end  for
(9)    
(10) end  if
(11) else
(12)  
(13)  
(14) end  if