de.uni.freiburg.iig.telematik.sepia.mg.pt.PTMarkingGraph Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SEPIA Show documentation
Show all versions of SEPIA Show documentation
SEPIA provides implementations for various types of Petri nets. Along Place/Transition-nets, it supports Petri nets with distinguishable token colors and defines coloured workflow nets, where coloured tokens are interpreted as data elements used during process execution. To support information flow analysis of processes, SEPIA defines so-called IF-Nets, tailored for security-oriented workflow modeling which enable users to assign security-levels (HIGH, LOW) to transitions, data elements and persons/agents participating in the process execution.
The newest version!
package de.uni.freiburg.iig.telematik.sepia.mg.pt;
import de.uni.freiburg.iig.telematik.jagal.ts.Event;
import de.uni.freiburg.iig.telematik.sepia.petrinet.pt.PTMarking;
public class PTMarkingGraph extends AbstractPTMarkingGraph {
private static final long serialVersionUID = -863349359704189513L;
public PTMarkingGraph() {
super();
}
public PTMarkingGraph(String name) {
super(name);
}
@Override
protected Event createNewEvent(String name, String label) {
return new Event(name, label);
}
@Override
public PTMarkingGraph createNewInstance() {
return new PTMarkingGraph();
}
@Override
protected PTMarkingGraphState createNewState(String name, PTMarking element) {
return new PTMarkingGraphState(name, element);
}
@Override
public PTMarkingGraphRelation createNewTransitionRelation(PTMarkingGraphState sourceState, PTMarkingGraphState targetState) {
return new PTMarkingGraphRelation(sourceState, targetState);
}
@Override
protected PTMarkingGraphRelation createNewTransitionRelation(String sourceStateName, String targetStateName, String eventName) throws Exception {
validateVertex(sourceStateName);
validateVertex(targetStateName);
validateEvent(eventName);
return new PTMarkingGraphRelation(getState(sourceStateName), getState(targetStateName), getEvent(eventName));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy