com.hankcs.hanlp.seg.Dijkstra.Path
类 State
java.lang.Object
com.hankcs.hanlp.seg.Dijkstra.Path.State
- 所有已实现的接口:
- Comparable<State>
public class State
- extends Object
- implements Comparable<State>
- 作者:
- hankcs
|
构造方法摘要 |
State(double cost,
int vertex)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cost
public double cost
- 路径花费
vertex
public int vertex
- 当前位置
State
public State(double cost,
int vertex)
compareTo
public int compareTo(State o)
- 指定者:
- 接口
Comparable<State> 中的 compareTo
Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.