Converting Spatiotemporal Data Among Heterogeneous Granularity Systems
Muhao Chen 1, Shi Gao 1, X. Sean Wang 2 Department Of Computer Science, University Of California Los Angeles 1 School Of Computer Science, Fudan University 2
Heterogeneous Granularity Systems Muhao Chen 1 , Shi Gao 1 , X. Sean - - PowerPoint PPT Presentation
Converting Spatiotemporal Data Among Heterogeneous Granularity Systems Muhao Chen 1 , Shi Gao 1 , X. Sean Wang 2 Department Of Computer Science, University Of California Los Angeles 1 School Of Computer Science, Fudan University 2 Spatiotemporal
Muhao Chen 1, Shi Gao 1, X. Sean Wang 2 Department Of Computer Science, University Of California Los Angeles 1 School Of Computer Science, Fudan University 2
Partial-order relations Symetric relations
Relation Description Converse GroupsInto(G,H) Each granule of H is equal to the union of a set of granules of G. GroupedBy (H,G) FinerThan(G,H) Each granule of G is contained in one granule of H. CoarserThan(H,G) Partition(G,H) G groups into and is finer than H. PartitionedBy (H,G) CoveredBy(G,H) Each granule of G is covered by some granules of H. Covers(H,G) SubGranularity(G,H) For each granule of G, there exists a granule in H with the same extent. Relation Description Disjoint(G,H) Any granule of G is disjoint with any granule of H. Overlap(G,H) Some granules of G and H overlap.
Partial-order relations
GroupsPeriodicallyInto(G,H) G groups into H. ∃n, m ϵ N where n<m and n<|H|, s.t. iϵN, if and H(i + n) ≠∅ then . GroupsUniformlyInto(G,H) G groups periodically into H, as well as m=1 in the above definition of GroupsPeriodicallyInto.
( ) ( )
k r
H i G j r
( ) ( )
k r
H i n G j r m
Compositionality of granularity conversion
Only one partial-order granularity relation is used
Correctness of granular comparison
Existence of GLB (greatest lower bound) for any pair of granularities. (E. Camossi 2008)
ConvI H(I )Partition=H
I I H H G G
ConvH G(H )Partition=G ConvI G(I )Partition=H
I I G G
Compositionality of conversions in one GS
properties)
ConvI H(I )Partition=H
I I H H G G
ConvH G(H )Partition=G ConvI G(I )Partition=H
I I G G
ConvI H(I )Partition=H I I H H G G ConvH G(H )FinerThan=G ConvI G(I )FinerThan=H I I G G ConvI G(I )Partition=H I I Invalid! GS1 GS2 GS1 GS2 GS1 GS2
Definition 4.1 (Semantic Preservation): Let G1..Gn be n (n>2) granularities, and k be the linking relations s.t. ∀kϵ[1,n-1], GkkGk+1. Let G’ be a subgranularity of G1, the composed conversion from G1 to Gn is semantic preserved if Convn-
1 G1→…→Gn (G’)1=ConvG1→Gn(G’)1.
G1→…→Gn(G’)j=ConvG1→Gn(G’)j.
It exists an atom conversion whose semantics is the weakest
Definition 4.3 (Combinability): Two granularity systems can be combined to a single system iff
semantic consistent.
conditions for both combinabities
granularity relations in involved GSs
V21 V23 V22 V24 V12 V11
2 2 2 2 1 1
Vc
1 1
WG1 WG2
1 1 2 GroupsInto Partition
1. Result is still a lattice 2. Any path within the combined graph is semantic preserved 3. Any pair of granularities has a GLB 4. Edges are only created for atom relation (transitivity reduction)
for semantic consistent combination
V21 V23 V22 V24 V12 V11
2 2 2 2 1 1
Vc
1 1
WG1 WG2 V21 V23 V22 V24 V12 V11
2 2 2 2 1 1
Vc
1 1
WG1 WG2
1
V32 V33 V31
3 3
WG3
1 2 3 GroupsInto Partition FinerThan (a) (b)
V21 V23 V22 V24 V32 V33 V31
2 2 2 2 3 3
WG2 WG3
2 3 3
Vc
2
( ( ) ) H( ) ) , ( ( ) ) ( ( ( ( ), )) ( H( ) )
i N
i N
G i i U G H Ex i i p u G i H G
(( ( ) ) H( ) ( ) ( ( ( ), ) ) , (( ( ) ) ( ) ) H( ) )
i N
i N
G i i U G H G i i Exp u G i H
Property 5.1 (Transitivity): Given G,H,I s.t. GHI, U(I,H)·U(H,G)=U(I,G) and Uρ(I,H)·Uρ(H,G)=Uρ(I,G) are always satisfied.
G0 G2 G3 G1 G0 G2 G1
U U1 U2 U1 U2 U1*U2=U U1=U2
Property 5.2 (Path-independence): Given G,H,H’,I, s.t. GHI, GH’I and H≠H’. U(I,H)·U(H,G)=U(I,H’)·U(H’,G) and Uρ(I,H)·Uρ(H,G)=Uρ(I, H’)·Uρ (H’,G) always hold.
Applies to any conversion denoted by the directed paths in a combined granularity graph.
V21 V23 V22 V24 V12 V11
2 2 2 2 1 1
Vc
1 1
WG1 WG2
1 1 2 GroupsInto Partition
Algorithm 5.1 FindOCRG(u,v) 1: let w[] be the cumulative gain on vertexes initialized as 0 2: DFSCumulate(u,w) 3: orcg⟵NIL 4: maxGain⟵0 5: DFSFind(v,e,ocrg,maxGain) 6: return (ocrg,maxGain)
Algorithm 5.2 DFSCumulate(u,w[]) 1: if if succ(v)=∅ the then ret eturn 2: for
each vϵsucc(u) do do 3: if if w[v]=0 th then 4: w[v]⟵w[v]·W(E(u,v)) 5: DFSCumulate(v,w) Algorithm 5.3 DFSFind(v,w[],ocrg,maxGain) 1: for eac each uϵsucc(v) do do 2: if if w[u]=0 th then 3: w[u]⟵w[v]·W(E(v,u)) 4: DFSFind(u,w,ocrg,maxW) 5: els else totalGain⟵w[u]·w[v] 6: if if totalGain>maxGain th then 7:
8: maxGain⟵totalGain
Optimization techniques:
How our method may be applied to real-world applications:
176, Morgan Kaufmann (1992)
Elena Camossi, Michela Bertolotto, Elisa Bertino: Multigranular spatio-temporal models: implementation challenges. Procs. of the 16th SIGSPATIAL GIS, Article No. 63. ACM (2008)
Temporal Reasoning. Springer (2000)
SIGSPATIAL GIS’03, pp. 94-101. ACM (2003)
SIGSPATIAL GIS’11, pp. 429-432. ACM (2011)
Spatio-temporal Granularity Conversions. IJGIS, 20(5),pp. 511-534. Taylor & Francis, (2006)
Springer-Verlag, Berlin Heidelberg (2004)
875-879. ACM (2008)
ACM (2000)
ICDE’12, pp. 450~461. IEEE (2012)
(2001)
Research Directions. ICOODB'09, pp. 132-148. Springer (2009)
incremental anonymization. VLDB'07, pp. 746-757. ACM (2007)
expressions to minimal periodic sets. JAIR, 28: 299-348. AAAI (2007)
Semantic Web: Research and Applications, Volume 6088, pp 121-136. Springer (2010)