Changes between Initial Version and Version 1 of PTVS_Res


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

--

Legend:

Unmodified
Added
Removed
Modified
  • PTVS_Res

    v1 v1  
     1Results
     2We 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()]]
     4When 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.
     5We 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].
     6
     7Example of points around the interest intersection:
     8Intersection 6:  name: [Energetica Derdelus] (26.046 809934238127, 44.437 560887805944)
     9p:(26.045079934242494, 44.435809887810365)
     10p:(26.05040893422904, 44.43794988780496)
     11p:(26.05040893422904, 44.43794988780496)
     12p:(26.05040893422904, 44.43794988780496)
     13p:(26.05040893422904, 44.43794988780496)
     14p:(26.05040893422904, 44.43794988780496)
     15p:(26.05040893422904, 44.43794988780496)
     16
     17What 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.
     18Some piece of output:
     19--- no of events in the queue:28
     20Processing thread 6 from intersection [ Energetica Derdelus ]
     21--- no of events in the queue:27
     22Processing thread 6 from intersection [ Energetica Derdelus ]
     23--- no of events in the queue:26
     24Processing thread 6 from intersection [ Energetica Derdelus ]
     25--- no of events in the queue:25
     26Processing thread 6 from intersection [ Energetica Derdelus ]
     27--- no of events in the queue:24
     28Processing thread 6 from intersection [ Energetica Derdelus ]
     29--- no of events in the queue:23
     30Processing thread 6 from intersection [ Energetica Derdelus ]
     31--- no of events in the queue:22
     32Processing thread 6 from intersection [ Energetica Derdelus ]
     33--- no of events in the queue:21
     34Processing thread 6 from intersection [ Energetica Derdelus ]
     35--- no of events in the queue:20
     36Processing thread 6 from intersection [ Energetica Derdelus ]
     37--- no of events in the queue:19
     38Processing thread 6 from intersection [ Energetica Derdelus]