public interface PTCFunctionSetForm
Modifier and Type | Method and Description |
---|---|
double[] |
nonterminalProbabilities(int type)
Returns an organized distribution (see ec.util.RandomChoice) of likelihoods
that various nonterminals in the function set will be chosen over other nonterminals
with the same return type.
|
double[] |
nonterminalSelectionProbabilities(int expectedTreeSize)
Returns an array (by return type) of the probability that PTC1 must pick a
nonterminal over a terminal in order to guarantee the expectedTreeSize.
|
double[] |
terminalProbabilities(int type)
Returns an organized distribution (see ec.util.RandomChoice) of likelihoods
that various terminals in the function set will be chosen over other terminals
with the same return type.
|
double[] terminalProbabilities(int type)
double[] nonterminalProbabilities(int type)
double[] nonterminalSelectionProbabilities(int expectedTreeSize)