MinCodonPrecision {xegaGeGene} | R Documentation |
Minimal precision of codon.
Description
The minimal precision of the codon needed for generating a working
decoder for a context-free grammar G
. However, the decoder
has some choice bias which reduces the efficiency of grammar evolution.
Usage
MinCodonPrecision(LHS, ...)
Arguments
LHS |
Vector of Integers. The left-hand side of a grammar object |
... |
Unused. Needed for common abstract interface of precision functions. |
Value
Integer. The Precision of a codon whose upper bound is the least power of 2 above the maximum number of rules for a non-terminal of a grammar.
See Also
Other Precision:
CodonPrecisionWithThreshold()
,
mLCMGCodonPrecision()
Examples
NT<-sample(5, 50, replace=TRUE)
MinCodonPrecision(NT)
[Package xegaGeGene version 1.0.0.0 Index]