com.hankcs.hanlp.seg.NShort.Path
类 PathNode

java.lang.Object
  继承者 com.hankcs.hanlp.seg.NShort.Path.PathNode

public class PathNode
extends Object

路径上的节点

作者:
hankcs

字段摘要
 int from
          节点前驱
 int index
          节点在顶点数组中的下标
 
构造方法摘要
PathNode(int from, int index)
          构造一个节点
 
方法摘要
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

from

public int from
节点前驱


index

public int index
节点在顶点数组中的下标

构造方法详细信息

PathNode

public PathNode(int from,
                int index)
构造一个节点

参数:
from - 节点前驱
index - 节点在顶点数组中的下标
方法详细信息

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2014–2015 码农场. All rights reserved.