Sim( C,C' )= 1 n i=1 n si m 2 ( A i , c i , c i ' ) ( 13.1 )

Example 46. For two 2-dimensional context instances C = (2010-10-1, New York) and C' = (2010-10-3, New York) in Figure 13.4, the similarity between C and C' is: Sim( C,C' )= 1 2 ×( 0.72 2 +1 ) =0.87.

Definition 41. Assume context is an n-dimensional vector (A1, A2, ⋅⋅ ⋅ , An). Let C = (c1, c2, ⋅⋅ ⋅ , cn) and C'=( c 1 ' , c 2 ' ,.., c n ' ) be two context instances.

C is equal to C', denoted as C' = C, if and only if ∀i ∈ {1, 2, ⋅⋅ ⋅ , n} ( c i ' = c i ).

C is more general than C', denoted as C' ≺ C, if and only if ...

Get Context-Aware Computing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.