Changeset 79 for proiecte


Ignore:
Timestamp:
Jan 7, 2010, 5:14:49 PM (14 years ago)
Author:
(none)
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • proiecte/ptvs/src/vnsim/core/Engine.java

    r78 r79  
    670670                        /**
    671671                         * PTVS Project
    672                          * vector de threaduri pt procesare evenimente in functie de locatie
    673                          * procesez folosind threaduri doar evenimentele send si receive
     672                         *
     673                         * we have an array of threads for processing events based on location (intersection)
     674                         * i process only receive and send messages
    674675                         */
    675676                       
     
    678679                                e = (Event)eventQueue.remove(0);
    679680                                /**
    680                                  * Mihaela Teler
    681                                  * aflu locatia evenimentului
     681                                 * PTVS Project
     682                                 * i should know the location of the event
    682683                                 */                     
    683684                                Road r = null;
     
    697698                               
    698699                                /**
    699                                  * Mihaela Teler
    700                                  * parcurg toate intersectiile si o gasesc pe cea mai apropiata
     700                                 * PTVS Project
     701                                 * from intersections array, i find the closest one
    701702                                 */
    702703                                double MIN_DIST=Double.MAX_VALUE;
     
    715716                                }
    716717                                /**
    717                                  * Mihaela Teler
    718                                  * acum trebuie sa asignez un thread sa proceseze
     718                                 * PTVS Project
     719                                 * i will assign a thread for the event
    719720                                 */
    720721                               
Note: See TracChangeset for help on using the changeset viewer.