Discovering Moving Flock Patterns in Movement Data: A Reeb Graph-Based Approach
Abstract
:1. Introduction
2. Improved Definition of the Moving Flock
3. Taxonomy of Flock Patterns
4. Methodology
4.1. Generating Reeb Graphs Based on Movement Data
4.1.1. The Generation of Vertices
- Step 1: for each timestamp, calculate the centroid of the spatial locations of all objects;
- Step 2: find the object closest to the centroid in terms of spatial distance, and consider this object as a base object;
- Step 3: find all objects whose spatial distances to the base object are no larger than r, and group these objects with the base object in the same vertex;
- Step 4: for the remaining objects, repeat steps 1~3 until each object at every timestamp is assigned to a vertex.
4.1.2. The Deletion of Specific Vertices
- Step 1: for each vertex, calculate the number of objects involved in it;
- Step 2: if the number is less than m, delete the vertex;
- Step 3: repeat steps 1~2 until all vertices have been checked.
4.1.3. The Construction of Edges
4.2. Filtering Specific Reeb Graphs
- Step 1: for each Reeb graph, find its minimum timestamp and maximum timestamp , if , delete this Reeb graph;
- Step 2: repeat step 1 until all Reeb graphs have been checked.
4.3. Extracting Flock Patterns
- Step 1: for a vertex , find all subgroups (each of which consists of at least m objects) that can be formed by the objects involved in it;
- Step 2: start with the first subgroup; if this subgroup has not been processed, proceed to the next vertex connected to . If this subgroup can also be formed in , go to the next vertex connected to . Once the subgroup can no longer be maintained, record the timestamps for its start and end, and mark this subgroup as processed;
- Step 3: for any unprocessed subgroups formed by the objects involved in , repeat step 2 until all subgroups are processed, and discard the subgroups with time durations shorter than k;
- Step 4: for the vertex , repeat similar operations as shown in steps 1~3.
4.4. Discovering Moving Flock Patterns
- Step 1: for each flock pattern , assume the corresponding time interval of is , calculate the spatial extent of between and , if , the time interval is divided into two sub time intervals, i.e., and . Repeat this process until the spatial extent of between any two consecutive timestamps is checked. Thus, is divided into multiple sub flock patterns if there exist time intervals during which the objects involved in appear stationary.
- Step 2: repeat step 1 until all flock patterns have been checked.
4.5. Discovering the Four Distinct Types of Moving Flock Patterns
- Step 1: assume there are n moving flock patterns , for each moving flock pattern (), calculate the number of objects involved in it and the corresponding time duration. Assume that the results are and , respectively;
- Step 2: repeat step 1 until all moving flock patterns have been checked. The final results are stored in two collections N and T, respectively, where and ;
- Step 3: calculate the minimum and maximum values of N and T, denoted as min_N, max_N, min_T and max_T, respectively;
- Step 4: each of the four distinct types of moving flock patterns is discovered based on the following criteria.
- Type A: determine the moving flock patterns whose time duration is equal to min_T and the number of objects involved is equal to min_N in ;
- Type B: determine the moving flock patterns whose time duration is equal to max_T and the number of objects involved is equal to min_N in ;
- Type C: determine the moving flock patterns whose time duration is equal to min_T and the number of objects involved is equal to max_N in ;
- Type D: determine the moving flock patterns whose time duration is equal to max_T and the number of objects involved is equal to max_N in .
5. Case Study
5.1. Dataset
5.2. Results and Analysis
6. Discussion
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Wu, X.H.; Dong, W.H.; Wu, L.; Liu, Y. Research themes of geographical information science during 1991–2020: A retrospective bibliometric analysis. Int. J. Geogr. Inf. Sci. 2023, 37, 243–275. [Google Scholar] [CrossRef]
- Oueslati, W.; Tahri, S.; Limam, H.; Akaichi, J. A systematic review on moving objects’ trajectory data and trajectory data warehouse modeling. Comput. Sci. Rev. 2023, 47, 100516. [Google Scholar] [CrossRef]
- Liu, Q.L.; Zhu, S.C.; Deng, M.; Liu, W.K.; Wu, Z.H. A spatial scan statistic to detect spatial communities of vehicle movements on urban road networks. Geogr. Anal. 2022, 54, 124–148. [Google Scholar] [CrossRef]
- Yasuda, S.; Katayama, H.; Nakanishi, W.; Iryo, T. Trajectory data-driven network representation for traffic state prediction using deep learning. Int. J. Intell. Transp. Syst. Res. 2024, 22, 136–145. [Google Scholar] [CrossRef]
- Nathan, R.; Monk, C.T.; Arlinghaus, R.; Adam, T.; Alós, J.; Assaf, M.; Baktoft, H.; Beardsworth, C.E.; Bertram, M.G.; Bijleveld, A.I.; et al. Big-data approaches lead to an increased understanding of the ecology of animal movement. Science 2022, 375, eabg1780. [Google Scholar] [CrossRef] [PubMed]
- Yang, A.N.; Wilber, M.Q.; Manlove, K.R.; Miller, R.S.; Boughton, R.; Beasley, J.; Northrup, J.; VerCauteren, K.C.; Wittemyer, G.; Pepin, K. Deriving spatially explicit direct and indirect interaction networks from animal movement data. Ecol. Evol. 2023, 13, e9774. [Google Scholar] [CrossRef]
- Qin, W.T.; Tang, J.; Lu, C.; Lao, S.Y. Trajectory prediction based on long short-term memory network and Kalman filter using hurricanes as an example. Comput. Geosci. 2021, 25, 1005–1023. [Google Scholar] [CrossRef]
- Wang, J.P.; Hu, Y.J.; Duan, L.; Michailidis, G. Analysing and visualising mobility vulnerability and recovery across Florida neighbourhoods: A case study of Hurricane Ian. Reg. Stud. Reg. Sci. 2024, 11, 384–386. [Google Scholar] [CrossRef]
- Victor, B.; Nibali, A.; He, Z.; Carey, D.L. Enhancing trajectory prediction using sparse outputs: Application to team sports. Neural Comput. Appl. 2021, 33, 11951–11962. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Zhang, X.Y.; Yang, M.L.; Zhang, Q.C.; Li, J.; Lian, C.; Bi, C.B.; Wang, Z.P.; Zhang, G.L. Shooting prediction based on vision sensors and trajectory learning. Appl. Sci. 2022, 12, 10115. [Google Scholar] [CrossRef]
- Li, W.J. Analyzing the rotation trajectory in table tennis using deep learning. Soft Comput. 2023, 27, 12769–12785. [Google Scholar] [CrossRef]
- Su, R.X.; Dodge, S.; Goulias, K. A classification framework and computational methods for human interaction analysis using movement data. Trans. GIS 2022, 26, 1665–1682. [Google Scholar] [CrossRef]
- Benkert, M.; Gudmundsson, J.; Hübner, F.; Wolle, T. Reporting flock patterns. Comput. Geom. 2008, 41, 111–125. [Google Scholar] [CrossRef]
- Fort, M.; Sellarès, J.A.; Valladares, N. A parallel GPU-based approach for reporting flock patterns. Int. J. Geogr. Inf. Sci. 2014, 28, 1877–1903. [Google Scholar] [CrossRef]
- Han, W.; Wang, J.; Wang, Y.; Xu, B. Multi-UAV flocking control with a hierarchical collective behavior pattern inspired by sheep. IEEE Trans. Aerosp. Electron. Syst. 2024, 60, 2267–2276. [Google Scholar] [CrossRef]
- Yeoman, J.; Duckham, M. Decentralized detection and monitoring of convoy patterns. Int. J. Geogr. Inf. Sci. 2016, 30, 993–1011. [Google Scholar] [CrossRef]
- Liu, Y.Y.; Dai, H.; Li, J.W.; Chen, Y.; Yang, G.; Wang, J. BP-Model-based convoy mining algorithms for moving objects. Expert Syst. Appl. 2023, 213, 118860. [Google Scholar] [CrossRef]
- Amornbunchornvej, C.; Berger-Wolf, T.Y. Mining and modeling complex leadership-followership dynamics of movement data. Soc. Netw. Anal. Min. 2019, 9, 58. [Google Scholar] [CrossRef]
- Gao, J.; Gu, C.G.; Shen, C.S.; Yang, H.J. Tree structures may be the leadership structures employed by group motions exhibiting hierarchy. Phys. Rev. Res. 2024, 6, 043058. [Google Scholar] [CrossRef]
- Kalnis, P.; Mamoulis, N.; Bakiras, S. On discovering moving clusters in spatiotemporal data. In International Symposium on Spatial and Temporal Databases; Springer: Berlin/Heidelberg, Germany, 2005; pp. 364–381. [Google Scholar]
- Loglisci, C. Using interactions and dynamics for mining groups of moving objects from trajectory data. Int. J. Geogr. Inf. Sci. 2017, 32, 1436–1468. [Google Scholar] [CrossRef]
- Laube, P.; Imfeld, S. Analyzing relative motion within groups of trackable moving point objects. Lect. Notes Comput. Sci. 2002, 2478, 132–144. [Google Scholar]
- Laube, P.; van Kreveld, M.; Imfeld, S. Finding REMO—Detecting relative motion patterns in geospatial lifelines. In Proceedings of the 11th International Symposium on Spatial Data Handling, Leicester, UK, 23–25 August 2004; pp. 201–214. [Google Scholar]
- Eppstein, D.; Goodrich, M.; Sun, J. The skip quadtree: A simple dynamic data structure for multidimensional data. In Proceedings of the 21st ACM Symposium on Computational Geometry, Pisa, Italy, 6–8 June 2005; pp. 296–305. [Google Scholar]
- Gudmundsson, J.; van Kreveld, M. Computing longest duration flocks in trajectory data. In Proceedings of the 14th Annual ACM International Symposium on Advances in Geographic Information Systems, Arlington, VA, USA, 10–11 November 2006; pp. 35–42. [Google Scholar]
- Sanches, D.E.; Alvares, L.O.; Bogorny, V.; Vieira, M.R.; Kaster, D.S. A top-down algorithm with free distance parameter for mining top-k flock patterns. In Proceedings of the Annual International Conference on Geographic Information Science, Lund, Sweden, 12–15 June 2018; pp. 233–249. [Google Scholar]
- Mhatre, J.; Agrawal, H.; Sen, S. Efficient Algorithms for Flock Detection in Large Spatio-Temporal Data. In Proceedings of the Big Data Analytics (BDA 2019), Ahmedabad, India, 17–20 December 2019; pp. 307–323. [Google Scholar]
- Bouchard, K.; Lapalu, J.; Bouchard, B.; Bouzouane, A. Clustering of human activities from emerging movements A flocking based unsupervised mining approach. J. Ambient Intell. Humaniz. Comput. 2019, 10, 3505–3517. [Google Scholar] [CrossRef]
- Shein, T.T.; Puntheeranurak, S.; Imamura, M. Discovery of Loose Group Companion From Trajectory Data Streams. IEEE Access 2020, 8, 85856–85868. [Google Scholar] [CrossRef]
- Tritsarolis, A.; Theodoropoulos, G.S.; Theodoridis, Y. Online discovery of co-movement patterns in mobility data. Int. J. Geogr. Inf. Sci. 2021, 35, 819–845. [Google Scholar] [CrossRef]
- Ong, R.U. From Pattern Discovery to Pattern Interpretation of Semantically-Enriched Trajectory Data. Doctoral Dissertation, University of Pisa, Pisa, Italy, 2011. [Google Scholar]
- Wachowicz, M.; Ong, R.; Renso, C.; Nanni, M. Finding moving flock patterns among pedestrians through collective coherence. Int. J. Geogr. Inf. Sci. 2011, 25, 1849–1864. [Google Scholar] [CrossRef]
- Turdukulov, U.; Calderon Romero, A.O.; Huisman, O.; Retsios, V. Visual mining of moving flock patterns in large spatio-temporal data sets using a frequent pattern approach. Int. J. Geogr. Inf. Sci. 2014, 28, 2013–2029. [Google Scholar] [CrossRef]
- Cao, Y.; Zhu, J.; Gao, F. An algorithm for mining moving flock patterns from pedestrian trajectories. Lect. Notes Comput. Sci. 2016, 9865, 310–321. [Google Scholar]
- Zhang, T.; He, W.; Huang, J.; He, Z.; Li, J. Interactive visual analytics of moving passenger flocks using massive smart card data. Cartogr. Geogr. Inf. Sci. 2022, 49, 354–369. [Google Scholar] [CrossRef]
- Biasotti, S.; Giorgi, D.; Spagnuolo, M.; Falcidieno, B. Reeb graphs for shape analysis and applications. Theor. Comput. Sci. 2008, 392, 5–22. [Google Scholar] [CrossRef]
- Chen, F.; Obermaier, H.; Hagen, H.; Hamann, B.; Tierny, J.; Pascucci, V. Topology analysis of time-dependent multi-fluid data using the Reeb graph. Comput. Aided Geom. Des. 2013, 30, 557–566. [Google Scholar] [CrossRef]
- Fomenko, A.; Kunii, T. Topological Methods for Visualization; Springer: Tokyo, Japan, 1997. [Google Scholar]
- Edelsbrunner, H.; Harer, J.L. Computational topology: An introduction; American Mathematical Society: Providence, RI, USA, 2010. [Google Scholar]
- Buchin, K.; Buchin, M.; van Kreveld, M.; Speckmann, B.; Staals, F. Trajectory grouping structure. In Proceedings of the Workshop on Algorithms and Data Structure, London, ON, Canada, 12–14 August 2013; pp. 219–230. [Google Scholar]
- Xing, X.; Yuan, Y.; Huang, Z.; Peng, X.; Zhao, P.; Liu, Y. Flow trace: A novel representation of intra-urban movement dynamics. Comput. Environ. Urban Syst. 2022, 96, 101832. [Google Scholar] [CrossRef]
Number of Members | Time Duration | Displacement | Type ID |
---|---|---|---|
The minimum | The shortest | Smaller than | 1 |
Not smaller than | 2 | ||
Intermediate | Smaller than | 3 | |
Not smaller than | 4 | ||
The longest | Smaller than | 5 | |
Not smaller than | 6 | ||
Intermediate | The shortest | Smaller than | 7 |
Not smaller than | 8 | ||
Intermediate | Smaller than | 9 | |
Not smaller than | 10 | ||
The longest | Smaller than | 11 | |
Not smaller than | 12 | ||
The maximum | The shortest | Smaller than | 13 |
Not smaller than | 14 | ||
Intermediate | Smaller than | 15 | |
Not smaller than | 16 | ||
The longest | Smaller than | 17 | |
Not smaller than | 18 |
Types | Explanations |
---|---|
A | Moving flock patterns with the minimum number of members and the shortest time duration |
B | Moving flock patterns with the minimum number of members and the longest time duration |
C | Moving flock patterns with the maximum number of members and the shortest time duration |
D | Moving flock patterns with the maximum number of members and the longest time duration |
Types of Moving Flock Patterns | Moving Flock Patterns Being Discovered |
---|---|
A | {1, 3}|[t0, t2] {2, 4}|[t2, t4] {2, 5}|[t2, t4] |
B | {4, 5}|[t1, t4] |
C | {2, 4, 5}|[t2, t4] |
D | none |
The Parameters | The Default Values (Units) |
---|---|
r | 10 (meters) |
m | 3 (players) |
k | 3 (seconds) |
d | 0.5 (meters) |
Types of Moving Flock Patterns | Number of Moving Flock Patterns Being Discovered |
---|---|
A | 17 |
B | 3 |
C | 1 |
D | 0 |
Types of Moving Flock Patterns | Detailed Information of the Moving Flock Patterns Being Discovered |
---|---|
A | {1, 5, 8, 10}|[240, 243] {1, 3, 4, 5}|[249, 252] {1, 3, 4, 8}|[253, 256] |
B | {5, 8, 9, 10}|[244, 252] |
{4, 8, 9, 10}|[244, 252] | |
{3, 4, 9, 10}|[249, 257] | |
C | {1, 3, 4, 5, 8, 9, 10}|[249, 252] |
D | none |
Types of Moving Flock Patterns | Number of Moving Flock Patterns Being Discovered |
---|---|
A | 18 |
B | 1 |
C | 4 |
D | 0 |
Types of Moving Flock Patterns | Detailed Information of the Moving Flock Patterns Being Discovered |
---|---|
A | {1, 4, 5, 7}|[14, 17] {1, 4, 9, 10}|[131, 134] {2, 5, 6, 9}|[174, 177] |
B | {1, 2, 6, 7}|[175, 182] |
C | {1, 2, 4, 7, 8, 9}|[15, 18] {1, 4, 7, 8, 9, 10}|[15, 18] {1, 2, 5, 6, 7, 9}|[174, 177] |
D | none |
Group of Players Involved in the Same Moving Flock | Number of Appearances |
---|---|
{3, 4, 8, 10} | 13 |
{3, 4, 9, 10} | 12 |
{1, 3, 4, 10} | 12 |
{1, 3, 4, 9} | 12 |
{3, 4, 8, 9} | 11 |
Group of Players Involved in the Same Moving Flock | Number of Appearances |
---|---|
{4, 7, 9, 10} | 10 |
{4, 7, 8, 10} | 10 |
{4, 7, 8, 9} | 10 |
{2, 4, 7, 10} | 10 |
{2, 4, 7, 9} | 10 |
Aspect | This Study | Existing Studies |
---|---|---|
Definition | Proposes an improved definition of moving flock to more precisely distinguish it from stationary flock. | Struggle to accurately differentiate between stationary flock and moving flock. |
Classification | Develops a taxonomy of flock patterns to systematically classify flock patterns. | Lack a comprehensive taxonomy for categorizing flock patterns. |
Method | Proposes a Reeb graph-based approach for discovering desired moving flock patterns. | Have not yet applied Reeb graph to the discovery of moving flock patterns. |
Application | Expands the application of moving flock pattern discovery to the sports domain. | Extend their focus to diverse domains beyond sports. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, P.; Van de Weghe, N. Discovering Moving Flock Patterns in Movement Data: A Reeb Graph-Based Approach. Appl. Sci. 2024, 14, 11883. https://doi.org/10.3390/app142411883
Zhang P, Van de Weghe N. Discovering Moving Flock Patterns in Movement Data: A Reeb Graph-Based Approach. Applied Sciences. 2024; 14(24):11883. https://doi.org/10.3390/app142411883
Chicago/Turabian StyleZhang, Pengdong, and Nico Van de Weghe. 2024. "Discovering Moving Flock Patterns in Movement Data: A Reeb Graph-Based Approach" Applied Sciences 14, no. 24: 11883. https://doi.org/10.3390/app142411883
APA StyleZhang, P., & Van de Weghe, N. (2024). Discovering Moving Flock Patterns in Movement Data: A Reeb Graph-Based Approach. Applied Sciences, 14(24), 11883. https://doi.org/10.3390/app142411883