A translation table that can also translate from the target to source alphabet.

Namespace:  BioSharp.Core.Bio.Symbol
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (


public interface IReversibleTranslationTable : ITranslationTable


I guess this is encapsulates an invertible function, and the untranslate method is the inverse operation to translate.

It is assumed that untranslate(translate(x)) = x for all x in the source alphabet, and that translate(untranslate(y)) = y for all y in the target alphabet. Note, one interesting sub-set of reversible transforms are of the form translate(x) = untranslate(x), and represent 'mirror image' transformations.

Original BioJava version by Matthew Pocock. Port to C# by Doug Swisher.

See Also