Automata Docs Automata Docs
Automata Docs Automata Docs

Search Results for

    Edit this page

    Class Converter

    Static class for conversion between different types of finite state automata.

    Inheritance
    object
    Converter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Automata.Core
    Assembly: Automata.Core.dll
    Syntax
    public static class Converter

    Methods

    | Edit this page View Source

    AsDeterministic(Fsa)

    Returns fsa as a deterministic automaton (FsaDet).

    Return the same instance if it already is of the desired type.

    Otherwise, a new object of the desired type is created.

    Declaration
    public static FsaDet AsDeterministic(this Fsa fsa)
    Parameters
    Type Name Description
    Fsa fsa

    Finite state automaton to convert.

    Returns
    Type Description
    FsaDet

    fsa as a FsaDet.

    Remarks

    Effective conversion: NFA → DFA, DFA → DFA, MFA → MFA.

    | Edit this page View Source

    AsMfa(Fsa)

    Returns fsa as a Mfa.

    Return the same instance if it already is of the desired type.

    Otherwise, a new object of the desired type is created.

    Declaration
    public static Mfa AsMfa(this Fsa fsa)
    Parameters
    Type Name Description
    Fsa fsa

    Finite state automaton to convert.

    Returns
    Type Description
    Mfa

    fsa as a Mfa.

    | Edit this page View Source

    AsNfa(Fsa)

    Returns fsa as a Nfa.

    Return the same instance if it already is of the desired type.

    Otherwise, a new object of the desired type is created.

    Declaration
    public static Nfa AsNfa(this Fsa fsa)
    Parameters
    Type Name Description
    Fsa fsa

    Finite state automaton to convert.

    Returns
    Type Description
    Nfa

    fsa as a Nfa.