FSA

abstract class FSA : Iterable<ByteBuffer>

Top abstract class for handling finite state automata.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getArc(node: Int, label: Byte): Int
Link copied to clipboard
open fun getArcCount(node: Int): Int
Link copied to clipboard
abstract fun getArcLabel(arc: Int): Byte
Link copied to clipboard
abstract fun getEndNode(arc: Int): Int
Link copied to clipboard
abstract fun getFirstArc(node: Int): Int
Link copied to clipboard
abstract fun getFlags(): Set<FSAFlags>
Link copied to clipboard
abstract fun getNextArc(arc: Int): Int
Link copied to clipboard
open fun getRightLanguageCount(node: Int): Int
Link copied to clipboard
abstract fun getRootNode(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun isArcFinal(arc: Int): Boolean
Link copied to clipboard
abstract fun isArcTerminal(arc: Int): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<ByteBuffer>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : StateVisitor> visitInPreOrder(v: T, node: Int): T