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.

Changes between Version 12 and Version 13 of Internal/StudentPages/XiruoLiu


Ignore:
Timestamp:
Mar 5, 2012, 4:06:11 PM (12 years ago)
Author:
sissiok
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internal/StudentPages/XiruoLiu

    v12 v13  
    88
    99Update 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]]
     101. set parameters, such as time period (1 day / 1440 mins), GUID (from 1 to 4000), grid number, longitude and latitude range[[BR]]
     112. 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]]
     123. in every min (timestamp + 1), check every GUID whether it generates update[[BR]]
     134. 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]]
     145. write | event type | GUID | source | destination | timestamp | into output file[[BR]]
    1515
    1616