Results 1 to 8 of 8
  1. #1
    manma is offline Member
    Join Date
    Nov 2016
    Posts
    3
    Rep Power
    0

    Default help with NFA(Nondeterministic finite automaton)

    hello guys,
    i need to make a java program accept input quintet that describing Nfa , and performs it using threads.
    can anyone help me please?
    how to start?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: help with NFA(Nondeterministic finite automaton)

    What have you tried?
    Where are you having problems?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: help with NFA(Nondeterministic finite automaton)

    First define a data (or class) model for the NFA given the textual representation of it; next, you can 'evaluate' it given some input string.

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

  4. #4
    manma is offline Member
    Join Date
    Nov 2016
    Posts
    3
    Rep Power
    0

    Default Re: help with NFA(Nondeterministic finite automaton)

    Quote Originally Posted by JosAH View Post
    First define a data (or class) model for the NFA given the textual representation of it; next, you can 'evaluate' it given some input string.

    kind regards,

    Jos
    u have maybe example for this code?

  5. #5
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: help with NFA(Nondeterministic finite automaton)

    Quote Originally Posted by manma View Post
    i need to make a java program accept input quintet that describing Nfa , and performs it using threads.
    This is a very general description and doesn't give much detail. Do you have a better description of the
    requirement?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  6. #6
    manma is offline Member
    Join Date
    Nov 2016
    Posts
    3
    Rep Power
    0

    Default Re: help with NFA(Nondeterministic finite automaton)

    Quote Originally Posted by Norm View Post
    What have you tried?
    Where are you having problems?

    can u help me and tell me how many class i need?
    and what is the role of each class?
    thanks alot!

  7. #7
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: help with NFA(Nondeterministic finite automaton)

    Sorry, I do not have source for a NFA

    How did you get this assignment? The instructor must have given you some lectures, reading or resources for it.
    If you don't understand my response, don't ignore it, ask a question.

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: help with NFA(Nondeterministic finite automaton)

    Quote Originally Posted by manma View Post
    u have maybe example for this code?
    And then what? Do you want to turn that code in as if it were yours? Please start thinking a bit first (it doesn't hurt, honest). e.g. what does that quintet represent? How can you transform it to a labeled graph (the actual NFA)?
    But please don't beg for 'teh codez', that's just silly.

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Would this be a Finite State Machine?
    By TheRealInjustice in forum New To Java
    Replies: 1
    Last Post: 04-24-2014, 10:44 PM
  2. Logic error in cellular automaton
    By Keesjuh in forum New To Java
    Replies: 1
    Last Post: 09-16-2013, 04:02 PM
  3. Question about dk.brics.automaton
    By kjkrum in forum Advanced Java
    Replies: 0
    Last Post: 03-29-2012, 02:22 AM
  4. cellular automaton (A 1D CA)
    By neshkid123 in forum New To Java
    Replies: 6
    Last Post: 10-14-2011, 10:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •