Interface ManyToOneTranslationTable

All Superinterfaces:
TranslationTable
All Known Implementing Classes:
AbstractManyToOneTranslationTable, SimpleGeneticCodeTable, SimpleManyToOneTranslationTable

A translation table that will handle the many-to-one mappings that you see, for example, with genetic codes.

It differs from a ReversibleTranslationTable in that the reverse translation returns a Set of Symbols in the source alphabet that translate to give that Symbol in the target Alphabet.

Author:
David Huen
  • Method Details

    • untranslate

      Translate a single symbol from target alphabet to the source alphabet.
      Parameters:
      sym - the Symbol to reverse-translate (member of target alphabet)
      Returns:
      a Set containing symbols that translate to the specified Symbol.
      Throws:
      IllegalSymbolException - if sym is not a member of the target alphabet