MinCodonPrecision: Minimal precision of codon.

View source: R/xegaGeCodonPrecision.R

MinCodonPrecisionR 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 G.

...

Unused. Needed for the 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)

xegaGeGene documentation built on June 8, 2025, 1:09 p.m.