Automaton

wvlet.airframe.http.router.Automaton$
object Automaton

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

class AutomatonGraph[Node, Token](val nodes: Set[Node], val edges: Set[Edge[Node, Token]])

Immutable Automaton implementation. Adding nodes or edges will create a new Automaton instance

Immutable Automaton implementation. Adding nodes or edges will create a new Automaton instance

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class DFA[Node, Token](nodeTable: Map[Node, Int], tokenTable: Map[Token, Int], edges: Set[Edge[Node, Token]], init: Node, defaultToken: Token)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Edge[Node, Token](src: Node, token: Token, dest: Node)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class NextNode[Node](node: Node, nodeId: Int)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def empty[Node, Token]: AutomatonGraph[Node, Token]