public abstract class AbstractOccurrenceNet<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>> extends AbstractPetriNet<F,N,P,T> implements IOccurrenceNet<BPN,C,E,F,N,P,T,M>
edges, vertices| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOccurrenceNet() |
protected |
AbstractOccurrenceNet(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu) |
| Modifier and Type | Method and Description |
|---|---|
F |
addFlow(N from,
N to)
Add flow to this net.
|
ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> |
getCompletePrefixUnfolding() |
C |
getCondition(P p) |
T |
getCorrespondingEvent(T t) |
Set<P> |
getCutInducedByLocalConfiguration(T t) |
Set<T> |
getCutoffEvents() |
E |
getEvent(T t) |
OrderingRelationType |
getOrderingRelation(N n1,
N n2) |
P |
getPlace(C c) |
Collection<P> |
getPlaces(Collection<C> conditions) |
Set<N> |
getSinkNodes()
Get sink nodes of this net.
|
Set<N> |
getSourceNodes()
Get source nodes of this net.
|
T |
getTransition(E e) |
Collection<T> |
getTransitions(Collection<E> events) |
BPN |
getUnfoldingNode(N n) |
boolean |
isCutoffEvent(T t) |
void |
setBranchingProcess(IBranchingProcess<BPN,C,E,F,N,P,T,M> bp) |
void |
setCompletePrefixUnfolding(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu) |
String |
toDOT() |
String |
toDOT(Collection<P> places,
Collection<T> transitions) |
addFlow, addFlow, addNode, addNodes, addPlace, addPlaces, addTransition, addTransitions, clear, clone, clone, createPlace, createTransition, getFlow, getMax, getMin, getNodes, getObservableTransitions, getPlaces, getPostset, getPostset, getPostset, getPostset, getPostsetPlaces, getPostsetTransitions, getPreset, getPreset, getPreset, getPreset, getPresetPlaces, getPresetTransitions, getSilentTransitions, getSinkPlaces, getSinkTransitions, getSourcePlaces, getSourceTransitions, getTransitions, removeFlow, removeFlow, removeNode, removeNodes, removePlace, removePlaces, removeTransition, removeTransitionsaddEdge, isMultiGraphaddEdge, areAdjacent, getDirectedEdge, getEdge, getEdges, getEdgesWithSources, getEdgesWithSourcesAndTargets, getEdgesWithTargets, removeVertex, removeVerticesaddEdge, addEdge, checkEdge, getDirectPredecessors, getDirectPredecessors, getDirectSuccessors, getDirectSuccessors, getEdgesWithSource, getEdgesWithSourceAndTarget, getEdgesWithTarget, getFirstDirectPredecessor, getFirstDirectSuccessor, getFirstIncomingEdge, getFirstOutgoingEdge, getIncomingEdges, getOutgoingEdgesaddVertex, addVertices, areAdjacent, checkEdge, contains, contains, contains, countEdges, countVertices, getAdjacent, getConnectedVertices, getDisconnectedVertices, getEdges, getEdges, getEdges, getEntities, getFreshVertex, getVertices, removeEdge, removeEdges, toStringaddIndex, addIndex, clearMembers, removeIndex, removeIndexcompareTo, equals, getDescription, getId, getLabel, getName, getTag, hashCode, setDescription, setId, setName, setTagfinalize, getClass, notify, notifyAll, wait, wait, waitaddFlow, addFlow, addNode, addNodes, addPlace, addPlaces, addTransition, addTransitions, clear, clone, clone, createPlace, createTransition, getFlow, getMax, getMin, getNodes, getObservableTransitions, getPlaces, getPostset, getPostset, getPostset, getPostset, getPostsetPlaces, getPostsetTransitions, getPreset, getPreset, getPreset, getPreset, getPresetPlaces, getPresetTransitions, getSilentTransitions, getSinkPlaces, getSinkTransitions, getSourcePlaces, getSourceTransitions, getTransitions, removeFlow, removeFlow, removeNode, removeNodes, removePlace, removePlaces, removeTransition, removeTransitionsgetDirectedEdgeaddEdge, addEdge, getDirectPredecessors, getDirectPredecessors, getDirectSuccessors, getDirectSuccessors, getEdgesWithSource, getEdgesWithSourceAndTarget, getEdgesWithSources, getEdgesWithSourcesAndTargets, getEdgesWithTarget, getEdgesWithTargets, getFirstDirectPredecessor, getFirstDirectSuccessor, getFirstIncomingEdge, getFirstOutgoingEdge, getIncomingEdges, getOutgoingEdgesareAdjacent, getEdge, getEdgesaddEdge, addEdge, addVertex, addVertices, areAdjacent, contains, contains, countEdges, countVertices, getAdjacent, getConnectedVertices, getDisconnectedVertices, getEdges, getEdges, getEdges, getFreshVertex, getVertices, isMultiGraph, removeEdge, removeEdges, removeVertex, removeVerticesgetDescription, getId, getName, getTag, setDescription, setId, setName, setTagcompareTogetEntitiespublic F addFlow(N from, N to)
IPetriNetpublic Set<N> getSourceNodes()
IPetriNetgetSourceNodes in interface IPetriNet<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition>getSourceNodes in class AbstractPetriNet<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition>public Set<N> getSinkNodes()
IPetriNetgetSinkNodes in interface IPetriNet<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition>getSinkNodes in class AbstractPetriNet<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition>public Collection<P> getPlaces(Collection<C> conditions)
public Collection<T> getTransitions(Collection<E> events)
public void setCompletePrefixUnfolding(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu)
public ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> getCompletePrefixUnfolding()
public OrderingRelationType getOrderingRelation(N n1, N n2)
public boolean isCutoffEvent(T t)
public String toDOT()
public String toDOT(Collection<P> places, Collection<T> transitions)
Copyright © 2017. All rights reserved.