// Create markings
Integer[][] tokens = { {1, 0, 0}, {0, 0, 1}, {0, 1, 0} };
Boolean[] placeUnlimited = {false, false, false};
Marking[] marking = new Marking[3];
marking[0] = new Marking(tokens[0], places, placeUnlimited);
marking[1] = new Marking(tokens[1], places, placeUnlimited);
marking[2] = new Marking(tokens[2], places, placeUnlimited);
marking[0].setInitial(false);
marking[1].setInitial(false);
marking[2].setInitial(true);
marking[2].setPredecessor(marking[1]);