| Constructor and Description |
|---|
MarkingNetGenerator(PetriNet pn,
int tokenLimit)
Create a new MarkingNetGenerator instance for the given arguments.
|
MarkingNetGenerator(PetriNet pn,
int tokenLimit,
boolean addToInitialMarking)
Create a new MarkingNetGenerator instance for the given arguments.
|
MarkingNetGenerator(PetriNet pn,
int tokenLimit,
boolean addToInitialMarking,
java.util.Collection<java.util.Set<Place>> requiredPlaces)
Create a new MarkingNetGenerator instance for the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<PetriNet> |
iterator() |
public MarkingNetGenerator(PetriNet pn, int tokenLimit)
pn - The Petri net for which all initial markings are generated.tokenLimit - The limit for the number of token on the net.public MarkingNetGenerator(PetriNet pn, int tokenLimit, boolean addToInitialMarking)
pn - The Petri net for which all initial markings are generated.tokenLimit - The limit for the number of token on the net.addToInitialMarking - if true, the initial marking of the Petri nets is only increased; otherwise the
initial marking is ignored and overwritten.public MarkingNetGenerator(PetriNet pn, int tokenLimit, boolean addToInitialMarking, java.util.Collection<java.util.Set<Place>> requiredPlaces)
pn - The Petri net for which all initial markings are generated.tokenLimit - The limit for the number of token on the net.addToInitialMarking - if true, the initial marking of the Petri nets is only increased; otherwise the
initial marking is ignored and overwritten.requiredPlaces - a collection of places which must get at least one token. For each element, all
markings which do not put at least one token on this nodes are ignored.