Interface NodeFactory<S>

A factory for the nodes of finite automata.

Type Parameters

  • S

Hierarchy

Implemented by

Properties

Properties

createNode: (() => S)

Type declaration

    • (): S
    • Creates a new state.

      Returns S

      Throws

      TooManyNodesError May be thrown if the number of created nodes exceeds some limit.