Results 1 to 5 of 5
  1. #1
    ibroscomania is offline Member
    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    Default pushdown automata

    please how do i write a java program that simulates a pushdown automaton or language acceptor and can take any input string and determine whether the string is accepted by the language or not....thanks,please its very urgent!

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: pushdown automata


  3. #3
    ibroscomania is offline Member
    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    Default Re: pushdown automata

    Really dont know what to do thats why i need help so desperately..please!

  4. #4
    Ronin is offline Senior Member
    Join Date
    Oct 2010
    Posts
    335
    Rep Power
    4

    Default Re: pushdown automata

    Hi ibroscomania,

    When you say you don't know where to start, what is your understanding of Java?
    You may want to start with the Java tutorials. Or, assuming you are past the basics we would like to see code to point you in the right direction as nobody is going to spoonfeed.

    Regards.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,525
    Blog Entries
    7
    Rep Power
    20

    Default Re: pushdown automata

    A push down automaton has a stack and a tape; both can store characters; Java has a Stack<Character> type and the String type so you're already halfway there.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Reversible Cellular Automata
    By christopherx in forum Advanced Java
    Replies: 3
    Last Post: 07-05-2012, 10:59 AM
  2. Cellular Automata Update Problem
    By samanyu in forum New To Java
    Replies: 17
    Last Post: 06-17-2011, 07:21 AM
  3. 1-D Cellular Automata
    By cest.lavie16 in forum New To Java
    Replies: 1
    Last Post: 04-25-2011, 07:40 PM
  4. Some help needed: 2D Cellular Automata
    By markus-sukram in forum AWT / Swing
    Replies: 1
    Last Post: 04-27-2008, 08:02 PM
  5. Replies: 1
    Last Post: 03-17-2008, 12:59 AM

Posting Permissions

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