主权项 |
1. A method for scheduling discrete event simulation, comprising:
extracting, by an extracting module implemented in at least one computer circuit, two or more event types in the discrete event simulation in response to having loaded the discrete event simulation, the two or more event types including a first event type and a second event type, events in the discrete event simulation initially ordered such that a second event of the second event type is targeted for processing after a first event of the first event type completes; constructing, by a constructing module implemented in the at least one computer circuit, a correlation graph used for the discrete event simulation based on the two or more event types, the correlation graph revealing that the first event type and the second event type have neither a creation relationship nor a dependency relationship, based upon a temporal correlation distance between the first event type and the second event type; and scheduling, by a scheduling module implemented in the at least one computer circuit, the events that are classified into the two or more event types, according to the correlation graph, wherein each node in the correlation graph describes one of the two or more event types, and an edge in the correlation graph describes the creation relationship or the dependency relationship between the two or more event types, the events reordered after the scheduling such that the second event is targeted for processing before the first event completes. |