Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace SimSharp {
|
---|
4 | public class EventQueueNode {
|
---|
5 | /// <summary>
|
---|
6 | /// The Priority to insert this node at. Must be set BEFORE adding a node to the queue
|
---|
7 | /// </summary>
|
---|
8 | public DateTime Priority { get; set; }
|
---|
9 |
|
---|
10 | public Event Event { get; set; }
|
---|
11 |
|
---|
12 | /// <summary>
|
---|
13 | /// <b>Used by the priority queue - do not edit this value.</b>
|
---|
14 | /// Represents the order the node was inserted in
|
---|
15 | /// </summary>
|
---|
16 | public long InsertionIndex { get; set; }
|
---|
17 |
|
---|
18 | /// <summary>
|
---|
19 | /// <b>Used by the priority queue - do not edit this value.</b>
|
---|
20 | /// Represents the current position in the queue
|
---|
21 | /// </summary>
|
---|
22 | public int QueueIndex { get; set; }
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.