26#ifndef __BinaryGrayCode_h__
27#define __BinaryGrayCode_h__
73 virtual size_t Next();
#define MAXINPUTS
Maximum width, that is, number of inputs.
Binary reflected Gray code generator.
size_t m_nBit[MAXINPUTS+3]
Current code word.
virtual size_t Next()
Get next code word.
virtual void Initialize()
Get first code word.
size_t m_nStack[MAXINPUTS+3]
Stack to remove recursion.
The common variables class.