Nothing
#
# (c) 2021 Andreas Geyer-Schulz
# Simple Genetic Programming in R. V0.1
# Layer: Gene-Level Functions
# For gene representation of derivation trees.
# Package: xegaGpGene
#
#' Decode a derivation tree.
#'
#' @description \code{xegaGpDecodeGene()} decodes a derivation tree.
#'
#' @details The recursive algorithm for the decoder is imported
#' from the package \code{xegaDerivationTrees}.
#'
#' @param gene Derivation tree.
#' @param lF Local configuration of the genetic algorithm.
#'
#' @return Decoded gene.
#'
#' @family Decoder
#'
#' @examples
#' gene<-xegaGpInitGene(lFxegaGpGene)
#' xegaGpDecodeGene(gene, lFxegaGpGene)
#'
#' @importFrom xegaDerivationTrees decodeCDT
#' @export
xegaGpDecodeGene<-function(gene, lF)
{
xegaDerivationTrees::decodeCDT(gene$gene1, lF$Grammar$ST)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.