Header file for the Reflector class.
AlphabetIndex transformReverse(AlphabetIndex position) const override
Transforms the given position in reverse.
AlphabetIndex transformForward(AlphabetIndex position) const override
Transforms the given position forward.
AlphabetIndex transform(AlphabetIndex position, bool reverse=false) const override
Transforms the given position using the reflector's transformation lookup table (LUT).
Reflector(const ReflectorConfig &config)
Constructor for the Reflector class. Initializes the reflector with a configuration....
Configuration structure for a Reflector.
std::array< AlphabetIndex, TRANSFORMER_SIZE > wiring
The internal wiring permutation array (reflection map). Must be of size TRANSFORMER_SIZE.