public class TNetGenerator extends java.lang.Object implements java.lang.Iterable<PetriNet>
TNetIterator implements the actual logic of this class.
This generator can get wrapped by the IsolatedTransitionsGenerator to get t-nets
which can contain isolated elements and by the {link uniol.apt.generator.marking.MarkingNetGenerator} to get
t-systems.| Constructor and Description |
|---|
TNetGenerator(int maxPlaces)
Create a TNetGenerator for all t-nets with at most maxPlaces places.
|
TNetGenerator(int maxPlaces,
boolean additionalTransitions)
Create a TNetGenerator for all t-nets with at most maxPlaces places.
|
TNetGenerator(int maxPlaces,
boolean additionalTransitions,
boolean exactTransitionCount)
Create a TNetGenerator for all t-nets with at most maxPlaces places.
|
TNetGenerator(int maxPlaces,
int maxTransitions)
Create a TNetGenerator which generates all t-nets smaller than the given size limits.
|
TNetGenerator(int maxPlaces,
int maxTransitions,
boolean additionalTransitions,
boolean exactTransitionCount)
Create a TNetGenerator which generates all t-nets smaller than the given size limits.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<PetriNet> |
iterator() |
public TNetGenerator(int maxPlaces)
maxPlaces - the limit for the number of places in the generated petri nets.public TNetGenerator(int maxPlaces,
boolean additionalTransitions)
maxPlaces - the limit for the number of places in the generated petri nets.additionalTransitions - should additional transitions get generated in the place preset generation part.public TNetGenerator(int maxPlaces,
boolean additionalTransitions,
boolean exactTransitionCount)
maxPlaces - the limit for the number of places in the generated petri nets.additionalTransitions - should additional transitions get generated in the place preset generation part.exactTransitionCount - Don't generate a list with fewer than maxTransitions transitions in the first
step.public TNetGenerator(int maxPlaces,
int maxTransitions)
maxPlaces - the maximum number of places in the generated nets.maxTransitions - the limit for the transition count for the generated nets.public TNetGenerator(int maxPlaces,
int maxTransitions,
boolean additionalTransitions,
boolean exactTransitionCount)
maxPlaces - the maximum number of places in the generated nets.maxTransitions - the limit for the transition count for the generated nets.additionalTransitions - should additional transitions get generated in the place preset generation part.exactTransitionCount - Don't generate a list with fewer than maxTransitions transitions in the first
step.