Research Article

KaM_CRK: Clustering and Ranking Knowledge for Reasonable Results Based on Behaviors and Contexts

Algorithm 1

Prepare Set.
Input: user’s context attribute Ausers context attribute set and JANs’ attribute sets
    and . The number of elements in is .
Initialize: Select attribute to compare with elements of sets.
If ~ , put in Prepare Set  and .
If continue and Update Set  .
return
if
end if.
Output: Prepare Set  .