}
@SuppressWarnings("unused")
private double calculateTM(){
double max = 0;
ReachabilityGraphModelUsingMarkingNet reach = new ReachabilityGraphModelUsingMarkingNet(editor);
IMarkingNet net = reach.getMarkingNet();
Set<Marking> markings = net.getMarkings();
for(Marking mark:markings){
Map<String, Integer> markingMap = mark.getMarking();
for(boolean infinite: mark.getPlaceUnlimited())
if(infinite) return Double.POSITIVE_INFINITY;