类 com.hankcs.hanlp.seg.NShort.Path.QueueElement
的使用

使用 QueueElement 的软件包
com.hankcs.hanlp.seg.NShort.Path   
 

com.hankcs.hanlp.seg.NShort.PathQueueElement 的使用
 

声明为 QueueElementcom.hankcs.hanlp.seg.NShort.Path 中的字段
 QueueElement QueueElement.next
          下一个,这是一个链表结构的最小堆
 

返回 QueueElementcom.hankcs.hanlp.seg.NShort.Path 中的方法
 QueueElement CQueue.deQueue()
          从队列中取出前面的一个元素
 QueueElement CQueue.GetFirst()
          读取第一个元素,但不执行DeQueue操作
 QueueElement CQueue.GetNext()
          读取上次读取后的下一个元素,不执行DeQueue操作
 

参数类型为 QueueElementcom.hankcs.hanlp.seg.NShort.Path 中的方法
 int QueueElement.compareTo(QueueElement other)
           
 void CQueue.enQueue(QueueElement newElement)
          将QueueElement根据eWeight由小到大的顺序插入队列
 



Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.