public class IsolatedTransitionsIterable extends AbstractPetriNetIterableWrapper
| Constructor and Description |
|---|
IsolatedTransitionsIterable(java.lang.Iterable<PetriNet> iterable,
int maxTransitions)
Create a new instance that returns Petri nets for some variations in the number of isolated transitions for
the 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 IsolatedTransitionsIterable(java.lang.Iterable<PetriNet> iterable, int maxTransitions)
iterable - the list of Petri nets that should be usedmaxTransitions - The maximum number of transitions that the resulting Petri nets should have.protected java.util.Iterator<PetriNet> newSubIterator(PetriNet pn)
AbstractPetriNetIterableWrappernewSubIterator in class AbstractPetriNetIterableWrapperpn - The petri net that 'feeds' the generator.