de.uni.freiburg.iig.telematik.sepia.overlap.OverlapCallableGenerator Maven / Gradle / Ivy
Show all versions of SEPIA Show documentation
package de.uni.freiburg.iig.telematik.sepia.overlap;
import java.util.Map;
import de.uni.freiburg.iig.telematik.sepia.mg.abstr.AbstractMarkingGraph;
import de.uni.freiburg.iig.telematik.sepia.petrinet.abstr.AbstractFlowRelation;
import de.uni.freiburg.iig.telematik.sepia.petrinet.abstr.AbstractMarking;
import de.uni.freiburg.iig.telematik.sepia.petrinet.abstr.AbstractPetriNet;
import de.uni.freiburg.iig.telematik.sepia.petrinet.abstr.AbstractPlace;
import de.uni.freiburg.iig.telematik.sepia.petrinet.abstr.AbstractTransition;
import de.uni.freiburg.iig.telematik.sepia.petrinet.properties.sequences.SequenceGeneration;
import de.uni.freiburg.iig.telematik.sepia.petrinet.properties.threaded.AbstractCallableGenerator;
import de.uni.freiburg.iig.telematik.sepia.replay.Replay;
import de.uni.freiburg.iig.telematik.sepia.replay.ReplayCallable.TerminationCriteria;
import de.uni.freiburg.iig.telematik.sewol.log.LogEntry;
public class OverlapCallableGenerator< P extends AbstractPlace,
T extends AbstractTransition,
F extends AbstractFlowRelation,
M extends AbstractMarking,
S extends Object,
E extends LogEntry> extends AbstractCallableGenerator
{
private AbstractMarkingGraph markingGraph = null;
private boolean includeSilentTransitions = SequenceGeneration.DEFAULT_INCLUDE_SILENT_TRANSITIONS;
private Map transitionLabelRelation = null;
private TerminationCriteria terminationCriteria = null;
public OverlapCallableGenerator(AbstractPetriNet petriNet) {
super(petriNet);
this.transitionLabelRelation = Replay.getDefaultTransitionLabelRelation(petriNet);
}
public AbstractMarkingGraph getMarkingGraph() {
return markingGraph;
}
public void setMarkingGraph(AbstractMarkingGraph markingGraph) {
this.markingGraph = markingGraph;
}
public boolean isIncludeSilentTransitions() {
return includeSilentTransitions;
}
public void setIncludeSilentTransitions(boolean includeSilentTransitions) {
this.includeSilentTransitions = includeSilentTransitions;
}
public Map getTransitionLabelRelation() {
return transitionLabelRelation;
}
public void setTransitionLabelRelation(Map transitionLabelRelation) {
this.transitionLabelRelation = transitionLabelRelation;
}
public TerminationCriteria getTerminationCriteria() {
return terminationCriteria;
}
public void setTerminationCriteria(TerminationCriteria terminationCriteria) {
this.terminationCriteria = terminationCriteria;
}
}