Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args){
- State e0 = new State(new String("e0"));
- State h1 = new State(new String("h1"));
- State h2 = new State(new String("h2"));
- State h = new State(new String("h"));
- State m1 = new State(new String("m1"));
- State m2 = new State(new String("m2"));
- State m = new State(new String("m"));
- Label v0 = new Label(new String("0"));
- Label v1 = new Label(new String("1"));
- Label v2 = new Label(new String("2"));
- Label v3 = new Label(new String("3"));
- Label v4 = new Label(new String("4"));
- Label v5 = new Label(new String("5"));
- Label v6 = new Label(new String("6"));
- Label v7 = new Label(new String("7"));
- Label v8 = new Label(new String("8"));
- Label v9 = new Label(new String("9"));
- Label v42 = new Label(new String(":"));
- e0.addTransition(v0, h1);
- e0.addTransition(v1, h1);
- e0.addTransition(v2, h2);
- h1.addTransition(v0, h);
- h1.addTransition(v1, h);
- h1.addTransition(v2, h);
- h1.addTransition(v3, h);
- h1.addTransition(v4, h);
- h1.addTransition(v5, h);
- h1.addTransition(v6, h);
- h1.addTransition(v7, h);
- h1.addTransition(v8, h);
- h1.addTransition(v9, h);
- h2.addTransition(v0, h);
- h2.addTransition(v1, h);
- h2.addTransition(v2, h);
- h2.addTransition(v3, h);
- h.addTransition(v42, m1);
- m1.addTransition(v0, m2);
- m1.addTransition(v1, m2);
- m1.addTransition(v2, m2);
- m1.addTransition(v3, m2);
- m1.addTransition(v4, m2);
- m1.addTransition(v5, m2);
- m2.addTransition(v0, m);
- m2.addTransition(v1, m);
- m2.addTransition(v2, m);
- m2.addTransition(v3, m);
- m2.addTransition(v4, m);
- m2.addTransition(v5, m);
- m2.addTransition(v6, m);
- m2.addTransition(v7, m);
- m2.addTransition(v8, m);
- m2.addTransition(v9, m);
- ArrayList<State> states = new ArrayList<>();
- states.add(e0);
- states.add(h1);
- states.add(h2);
- states.add(h);
- states.add(m1);
- states.add(m2);
- states.add(m);
- NierAuxTomates auxTomates = new NierAuxTomates(e0, m, states);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement