// Date: 2018-05-22 // Author: schaetzc@tf.uni-freiburg.de print(finitePrefix(n)); PetriNet n = ( alphabet = {a b c}, places = {p0 p1}, transitions = { ({p0} a {p0}) ({p0} b {p1}) ({p1} c {p0}) }, initialMarking = {p0}, acceptingPlaces = {p0} );