CreateTransition Creates a transition for function σ(state,letter) = end.
(fromState int, overChar uint8, toState int, at map[int]map[uint8]int)
| 114 | |
| 115 | // CreateTransition Creates a transition for function σ(state,letter) = end. |
| 116 | func CreateTransition(fromState int, overChar uint8, toState int, at map[int]map[uint8]int) { |
| 117 | at[fromState][overChar] = toState |
| 118 | } |
| 119 | |
| 120 | // GetTransition Returns ending state for transition σ(fromState,overChar), '-1' if there is none. |
| 121 | func GetTransition(fromState int, overChar uint8, at map[int]map[uint8]int) (toState int) { |
no outgoing calls
no test coverage detected