public class NAryTreeGenerator
extends java.lang.Object
Constructor and Description |
---|
NAryTreeGenerator() |
Modifier and Type | Method and Description |
---|---|
org.processmining.plugins.etm.model.narytree.NAryTree |
generate(int numLeafs) |
org.processmining.plugins.etm.model.narytree.NAryTree |
generateTreeWithRestrictedAlphabet(int numLeafs,
int alphabetSize)
Generates a random tree of size numLeafs and ensures that the alphabet is within the size (creates duplicates in this way)
|
public org.processmining.plugins.etm.model.narytree.NAryTree generateTreeWithRestrictedAlphabet(int numLeafs, int alphabetSize)
numLeafs
- number of leafsalphabetSize
- size of the alphabetpublic org.processmining.plugins.etm.model.narytree.NAryTree generate(int numLeafs)