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

字段摘要
 double cost
          路径花费
 int vertex
          当前位置
 
构造方法摘要
State(double cost, int vertex)
           
 
方法摘要
 int compareTo(State o)
           
 
从类 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 码农场. All rights reserved.