Changes between Version 1 and Version 2 of PTVS_Res


Ignore:
Timestamp:
Dec 27, 2009, 9:44:29 AM (14 years ago)
Author:
mihaela.teler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PTVS_Res

    v1 v2  
    1 Results
    2 We have tested our implementation with a map with 16 intersections. For each intersection there is an event processing thread assigned to handle the events coming from the surrounding area.
    3 [[Image()]]
    4 When an event is extracted from the queue, if and only if it is a send or receive event, the list of all intersections is iterated, the closest one in determined and the proper thread in instantiated and started. The intersection must be on the same road with the source or destination point of the event.
    5 We have tested using a scenario with one very short route near the intersection [Energetica Derdelus]. The results show that the closest intersection is computed and the proper thread started. In this particular example it is the thread 6 from the intersection [Energetica Derdelus].
    61
    7 Example of points around the interest intersection:
    8 Intersection 6:  name: [Energetica Derdelus] (26.046 809934238127, 44.437 560887805944)
     2== Results ==[[BR]]
     3
     4
     5We have tested our implementation with a map with 16 intersections. For each intersection there is an event processing thread assigned to handle the events coming from the surrounding area. [[BR]]
     6
     7[[Image()]][[BR]]
     8
     9When an event is extracted from the queue, if and only if it is a send or receive event, the list of all intersections is iterated, the closest one in determined and the proper thread in instantiated and started. The intersection must be on the same road with the source or destination point of the event. [[BR]]
     10
     11We have tested using a scenario with one very short route near the intersection [Energetica Derdelus]. The results show that the closest intersection is computed and the proper thread started. In this particular example it is the thread 6 from the intersection [Energetica Derdelus].[[BR]]
     12
     13
     14Example of points around the interest intersection:[[BR]]
     15
     16Intersection 6:  name: [Energetica Derdelus] (26.046 809934238127, 44.437 560887805944)[[BR]]
     17
    918p:(26.045079934242494, 44.435809887810365)
    1019p:(26.05040893422904, 44.43794988780496)
     
    1625
    1726What the thread does is to get the event from the queue and to call playEvent method. This method determines the processing of the event depending on its type, creation and planning of new events.
    18 Some piece of output:
     27Some piece of output:[[BR]]
     28
    1929--- no of events in the queue:28
    2030Processing thread 6 from intersection [ Energetica Derdelus ]