close
Warning:
Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
Mar 5, 2012, 4:06:11 PM (12 years ago)
- Author:
-
sissiok
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v12
|
v13
|
|
8 | 8 | |
9 | 9 | Update generation:[[BR]] |
10 | | 1. set parameters, such as the number of updates, grid number, longitude and latitude range[[BR]] |
11 | | 2. choose GUID/TAXIID randomly[[BR]] |
12 | | 3. find GUID/TAXIID's current location (longitude and latitude) and convert it to AS/gird number[[BR]] |
13 | | 4. compute destination AS/grid number through transition probability matrix (convert to probability CDF matrix) [[BR]] |
14 | | 5. find timestamp[[BR]] |
| 10 | 1. set parameters, such as time period (1 day / 1440 mins), GUID (from 1 to 4000), grid number, longitude and latitude range[[BR]] |
| 11 | 2. initialize the taxi matrix ( GUID | current grid | timestamp), assign current grid according to location matrix which keeps density information about the taxi location, set timestamp to 0 [[BR]] |
| 12 | 3. in every min (timestamp + 1), check every GUID whether it generates update[[BR]] |
| 13 | 4. compute destination grid number through transition probability matrix (convert to probability CDF matrix); if it is different from source grid number, then generate an update[[BR]] |
| 14 | 5. write | event type | GUID | source | destination | timestamp | into output file[[BR]] |
15 | 15 | |
16 | 16 | |