An FA builder that uses Map objects as nodes. Each node is the map of its outgoing transitions.

Hierarchy

  • MapFABuilder

Implements

Constructors

Properties

Methods

Constructors

Properties

finals: Set<MapFABuilderNode> = ...
initial: MapFABuilderNode = ...

The initial state of the FA.

Methods

  • Returns whether the given state is a final state.

    This operation is assumed to be semantically equivalent to isFinal.

    Parameters

    Returns boolean

  • Makes the given state behave like a final state of this FA.

    This does not necessarily mean that the given state will be a final state. I.e. calling makeFinal(s) does not necessitate that isFinal(s) is true.

    The implementation has to guarantee that calling this method for the same state more than once is allowed.

    Parameters

    Returns void