Uses of Class
com.hankcs.algorithm.State
-
-
Uses of State in com.hankcs.algorithm
Methods in com.hankcs.algorithm that return State Modifier and Type Method Description State
State. addState(Character character)
State
State. failure()
获取failure状态State
State. nextState(Character character)
按照character转移,根节点转移失败会返回自己(永远不会返回null)State
State. nextStateIgnoreRootState(Character character)
按照character转移,任何节点转移失败会返回nullMethods in com.hankcs.algorithm that return types with arguments of type State Modifier and Type Method Description Collection<State>
State. getStates()
Map<Character,State>
State. getSuccess()
获取goto表Methods in com.hankcs.algorithm with parameters of type State Modifier and Type Method Description void
State. setFailure(State failState, int[] fail)
设置failure状态
-