FastPriorityQueueNode.cs 535 B

1234567891011121314151617181920
  1. namespace IFramework.Queue
  2. {
  3. /// <summary>
  4. /// 快速优先级队列节点
  5. /// </summary>
  6. public class FastPriorityQueueNode
  7. {
  8. /// <summary>
  9. /// 节点元素的优先级 <br />.
  10. /// 无法修改 - 请查阅 queue.Enqueue() 和 queue.UpdatePriority()
  11. /// </summary>
  12. public float priority { get; protected internal set; }
  13. /// <summary>
  14. /// 当前元素在队列里的位置
  15. /// </summary>
  16. public int position { get; internal set; }
  17. }
  18. }