{"title":"模拟树:在大规模并行微观交通模拟中索引移动对象","authors":"Yan Xu, Gary S. H. Tan","doi":"10.1145/2601381.2601388","DOIUrl":null,"url":null,"abstract":"Performance is one of the major concerns in large-scale parallel microscopic traffic simulations. This paper focuses on one of the most time-costly data structures: the two-dimensional spatial index. A drawback of using popular two-dimensional tree-based spatial indexes (e.g. the R*-Tree) in large-scale microscopic traffic simulation is the heavy cost to rebalance the tree structure when a large number of vehicles frequently update their locations. This heavy location update cost also reduces the scalability of parallel microscopic traffic simulations. We observe that in real-world traffic systems the road density during a short period is stable, which is not sensitive to an individual vehicle's location. Thus, why not build a balanced tree structure based on the average road density in a road network? Motivated by this observation, this paper proposes Sim-Tree. The key feature of the Sim-Tree is that there is no need to check or rebalance its tree structure when individual vehicles frequently update their locations. In addition, a rebalance function and a bottom-up region query function are designed to optimize Sim-Tree's region query operations. The results of experiments simulating a city-scale traffic scenario on a 6-core machine show that the Sim-Tree is scalable and performs significantly better than the R*-tree family of spatial indexes.","PeriodicalId":255272,"journal":{"name":"SIGSIM Principles of Advanced Discrete Simulation","volume":"2 9","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Sim-Tree: indexing moving objects in large-scale parallel microscopic traffic simulation\",\"authors\":\"Yan Xu, Gary S. H. Tan\",\"doi\":\"10.1145/2601381.2601388\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Performance is one of the major concerns in large-scale parallel microscopic traffic simulations. This paper focuses on one of the most time-costly data structures: the two-dimensional spatial index. A drawback of using popular two-dimensional tree-based spatial indexes (e.g. the R*-Tree) in large-scale microscopic traffic simulation is the heavy cost to rebalance the tree structure when a large number of vehicles frequently update their locations. This heavy location update cost also reduces the scalability of parallel microscopic traffic simulations. We observe that in real-world traffic systems the road density during a short period is stable, which is not sensitive to an individual vehicle's location. Thus, why not build a balanced tree structure based on the average road density in a road network? Motivated by this observation, this paper proposes Sim-Tree. The key feature of the Sim-Tree is that there is no need to check or rebalance its tree structure when individual vehicles frequently update their locations. In addition, a rebalance function and a bottom-up region query function are designed to optimize Sim-Tree's region query operations. The results of experiments simulating a city-scale traffic scenario on a 6-core machine show that the Sim-Tree is scalable and performs significantly better than the R*-tree family of spatial indexes.\",\"PeriodicalId\":255272,\"journal\":{\"name\":\"SIGSIM Principles of Advanced Discrete Simulation\",\"volume\":\"2 9\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-05-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"SIGSIM Principles of Advanced Discrete Simulation\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2601381.2601388\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"SIGSIM Principles of Advanced Discrete Simulation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2601381.2601388","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Sim-Tree: indexing moving objects in large-scale parallel microscopic traffic simulation
Performance is one of the major concerns in large-scale parallel microscopic traffic simulations. This paper focuses on one of the most time-costly data structures: the two-dimensional spatial index. A drawback of using popular two-dimensional tree-based spatial indexes (e.g. the R*-Tree) in large-scale microscopic traffic simulation is the heavy cost to rebalance the tree structure when a large number of vehicles frequently update their locations. This heavy location update cost also reduces the scalability of parallel microscopic traffic simulations. We observe that in real-world traffic systems the road density during a short period is stable, which is not sensitive to an individual vehicle's location. Thus, why not build a balanced tree structure based on the average road density in a road network? Motivated by this observation, this paper proposes Sim-Tree. The key feature of the Sim-Tree is that there is no need to check or rebalance its tree structure when individual vehicles frequently update their locations. In addition, a rebalance function and a bottom-up region query function are designed to optimize Sim-Tree's region query operations. The results of experiments simulating a city-scale traffic scenario on a 6-core machine show that the Sim-Tree is scalable and performs significantly better than the R*-tree family of spatial indexes.