Skip to main content
. 2026 Feb 13;26(4):1217. doi: 10.3390/s26041217
Algorithm 1: Real-Time Spatial Retrieval
Input: Query Q (MBR), DyGLIN Index
Output: Result Set R
1: Rfinal=
2: /* Index probe (top-level RMI probing) */
3: LeafNodesLset=Index.RMI_Probe(Q.Zinterval)
4: for each LeafNodeLLset do
5:    Ctotal=
6:    /* 1. HMBR filter */
7:    Chmbr=L.HMBR.Query(Q.MBR)
8:    Ctotal.add(Chmbr)
9:    /* 2. Incremental buffer filter */
10:    Cdb=L.DB.Scan(Q.MBR)
11:    Ctotal.add(Cdb)
12:    /* 3. CF filter */
13:    Cfiltered=
14:    for each PayloadPCtotal do
15:       if L.CF.Contains(P.ID)=false then
16:       Cfiltered.add(P)
17:       end if
18:    end for
19:    /* 4. Final refinement */
20:    Rrefined=Refine(Cfiltered,Q.Geometry)
21:    Rfinal.add(Rrefined)
22: end for
23: return Rfinal