26#ifndef __TernaryGrayCode_h__
27#define __TernaryGrayCode_h__
Interface for the binary reflected Gray code generator CBinaryGrayCode.
#define MAXINPUTS
Maximum width, that is, number of inputs.
Binary reflected Gray code generator.
Ternary reflected Gray code generator.
int m_nDirection[MAXINPUTS+3]
Direction of ternary change.
void Initialize()
Get first code word.
size_t Next()
Get next code word.