Package io.jenetics.ext.grammar


package io.jenetics.ext.grammar
This package contains classes for doing Grammatical Evolution.
Since:
7.1
Version:
7.1
See Also:
  • Class
    Description
    This class contains methods for parsing and formatting context-free grammars in BNF format.
    Cfg<T>
    Represents a context-free grammar (CFG).
    Represents one expression (list of alternative symbols) a production rule consists of.
    Represents the non-terminal symbols of the grammar (NT).
    Represents a production rule of the grammar (R).
    Represents the symbols the BNF grammar consists.
    Represents a terminal symbols of the grammar (T).
    Represents a mapping of a finite set of integers to symbol indexes.
    Standard implementation of a derivation-tree generator.
    Generator interface for generating sentences/derivation trees from a given grammar.
    This class defines factories for different CFG ↔ Chromosome mappings (encodings).
    Standard implementation of a sentence generator.
    Defines the expansion strategy used when generating the sentences.
    Functional interface for selecting a Cfg.Symbol by its index within a rule.