public class PDA1 extends PDA
Constructor and Description |
---|
PDA1() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String w)
Checks and prints the input string for acceptance.
|
java.lang.String |
delta(char c,
char p)
This method determines and returns the next state of automaton for given char inputs.
|
static void |
main(java.lang.String[] args)
This is the main method which makes use of test method.
|
public java.lang.String delta(char c, char p)
public boolean accept(java.lang.String w)
public static void main(java.lang.String[] args)
args
- Unused.