public class Sum
extends java.lang.Object
| Constructor and Description |
|---|
Sum(PetriNet pn1,
PetriNet pn2)
Creates a new Sum instance that allows to compute the synchronous or
asynchronous sum of the two given PN.
|
| Modifier and Type | Method and Description |
|---|---|
PetriNet |
getAsyncSum()
Computes the asynchronous sum of the two PN supplied to the
constructor.
|
PetriNet |
getSyncSum()
Computes the synchronous sum of the two PN supplied to the
constructor.
|
public PetriNet getAsyncSum()
public PetriNet getSyncSum() throws LabelMismatchException
LabelMismatchException - thrown, when there exists a transition in both PNs
with the same id but different labels