public class RandomTNetGenerator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PetriNet |
createRandomTNet(int g)
Creates a t-net with maximal g places.
|
static PetriNet |
createRandomTSystem(int g,
int k)
Creates a t-system with maximal g places and maximal k token on every place.
|
static PetriNet |
reservoirSampling(int g,
int k)
Creates a t-system with maximal g places and maximal k token on every place.
|
public static PetriNet createRandomTNet(int g)
g - the maximal number of places.public static PetriNet createRandomTSystem(int g, int k)
g - the maximal number of places.k - the maximal number of token on a place.public static PetriNet reservoirSampling(int g, int k)
g - the maximal number of places.k - the maximal number of token