public class RandomTreeAutomaton extends Object
Constructor and Description |
---|
RandomTreeAutomaton(long seed,
double alpha)
Produces a new generator for random tree automata.
|
Modifier and Type | Method and Description |
---|---|
TreeAutomaton<Integer> |
getRandomAutomaton(int n)
Returns a new random tree automaton that is based on a decomposition automaton for the sequence '0 1 ...
|
public RandomTreeAutomaton(long seed, double alpha)
seed
- The random number seed that will be used.alpha
- The concentration parameter used for the Dirichlet distributions for the rule probabilities.public TreeAutomaton<Integer> getRandomAutomaton(int n)
n
- How many leaf the generated trees should have.Copyright © 2017. All rights reserved.