|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.seg.NShort.Path.QueueElement
public class QueueElement
| 字段摘要 | |
|---|---|
int |
from
边的起点 |
int |
index
边的终点在顶点数组中的下标 |
QueueElement |
next
下一个,这是一个链表结构的最小堆 |
double |
weight
权重 |
| 构造方法摘要 | |
|---|---|
QueueElement(int from,
int index,
double weight)
构造一个边节点 |
|
| 方法摘要 | |
|---|---|
int |
compareTo(QueueElement other)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public int from
public int index
public double weight
public QueueElement next
| 构造方法详细信息 |
|---|
public QueueElement(int from,
int index,
double weight)
from - 边的起点index - 边的终点weight - 权重| 方法详细信息 |
|---|
public int compareTo(QueueElement other)
Comparable<QueueElement> 中的 compareTo
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||