public class MarkingIterable extends AbstractPetriNetIterableWrapper
| Constructor and Description |
|---|
MarkingIterable(java.lang.Iterable<PetriNet> iterable,
int tokenLimit)
Create a new instance that returns Petri nets for various initial markings for the given nets.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Iterator<PetriNet> |
newSubIterator(PetriNet pn)
Given a petri net, this function should return an iterator which provides new nets that should be returned.
|
iteratorpublic MarkingIterable(java.lang.Iterable<PetriNet> iterable, int tokenLimit)
iterable - the list of Petri nets that should be usedtokenLimit - the maximum number of token that should be added to the initial marking of the Petri nets.protected java.util.Iterator<PetriNet> newSubIterator(PetriNet pn)
AbstractPetriNetIterableWrappernewSubIterator in class AbstractPetriNetIterableWrapperpn - The petri net that 'feeds' the generator.