public class SimpleBitNetGenerator
extends java.lang.Object
| Constructor and Description |
|---|
SimpleBitNetGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected Bit |
addBitPTA(PetriNet pn,
int i)
Override point to generate places, transition and arcs for a bit
|
PetriNet |
generateNet(int n)
Method to generate a net of a given size.
|
protected Bit addBitPTA(PetriNet pn, int i)
pn - net which get generatedi - number of the bitpublic PetriNet generateNet(int n)
NetGeneratorgenerateNet in interface NetGeneratorn - Parameter for the size of the net.