jdb官网中文版

    二维码

    jdb官网中文版品牌网手机版

    扫一扫关注

    jdb官网中文版品牌网微信
    当前位置: 首页 » 新闻资讯 » 品牌商机 » 正文

    代做FSA file java编程语言程序、java FSA作业代写代做

    放大字体  缩小字体 发布日期:2019-10-10 13:40:19    来源:jdb官网中文版品牌网     浏览次数:147    评论:0
    导读

    FSA file formatThe file describing an FSA is a series of records, structured as lines of text.RecordsThere are 4 different type of records to specify states, transitions, initial-states, final-states,

    FSA file format

    The file describing an FSA is a series of records, structured as lines of text.

    Records

    There are 4 different type of records to specify states, transitions, initial-states, final-states, as

    well as comments and empty lines.

    1 State record

    state stateName xPos yPos

    Where:

    state is the character string “state”.

    stateName is the name of the state, a string of characters beginning with a letter, followed

    by zero or more letter, digit, or underscore characters. (This is essentially the definition of

    “identifier” in Java.)

    xPos and yPos are integer values that gives the x- and y-position of the state on the

    computer’s display screen. Although you will not need these values for this stage of the

    project, you must store and reproduce them correctly.

    2 Transition record

    transition fromState event toState

    Where:

    transition is the character string “transition”.

    fromState is the name of the state from which this transition begins.

    event is the name of the event that causes this transition to occur.

    An event name is either character string consisting only of letters, or the character “?” that

    indicates an ε-transition.

    toState is the name of the state where the transition terminates.

    3 Initial record

    initial stateName

    Where:

    stateName specifies an initial state of the FSA. stateName must comply with the rules

    described earlier for state-names.

    4 Final record

    final stateName

    Where:

    stateName specifies a final state of the FSA. stateName must comply with the rules described

    earlier for state-names.

    5 Comment line

    A line that begins with the character # is a comment, and is ignored.

    6 Empty line

    A line containing no data is ignored by the system.

    Order of records

    Records can appear in any order in the file, with one restriction: a state name must have been

    defined via a state record before its name can be used in a transition record, initial record,

    or final record.

    Example

    This input file has two states, q0 (initial) and q1 (final) and a transition ev between them

    It is equivalent to the following FSA:

    # States

    state q0 10 10

    state q1 20 10

    # Transitions

    transition q0 ev q1

    # Initial

    initial q0

    # Final

    final q1

    因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

    微信:codehelp

    因为专业,所以值得信

    因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

    微信:codehelp赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

    微信:codehelp

    因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

    微信:codehelp

    因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

    微信:codehelp

     
    (文/小编)
    免责声明
    本文为小编原创作品,作者: 小编。欢迎转载,转载请注明原文出处:https://www.babescouts.com/news/pinpaishangji/81357.html 。本文仅代表作者个人观点,本站未对其内容进行核实,请读者仅做参考,如若文中涉及有违公德、触犯法律的内容,一经发现,立即删除,作者需自行承担相应责任。涉及到版权或其他问题,请及时联系我们2409157061@qq.com。
    0相关评论