marking[1].setInitial(false);
marking[2].setInitial(true);
marking[2].setPredecessor(marking[1]);
marking[1].setPredecessor(marking[0]);
marking[2].addSuccessor(new Arc(marking[1], transitions[2]));
marking[1].addSuccessor(new Arc(marking[0], transitions[0]));
marking[1].addSuccessor(new Arc(marking[0], transitions[1]));
marking[0].addSuccessor(new Arc(marking[2], transitions[3]));
for(int i = 0; i < marking.length; i++)
markings.add(marking[i]);
}