ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Public Attributes | List of all members
code Struct Reference

Gray codes. More...

#include <graycode.h>

Public Attributes

int * ord
 
int * inc
 

Detailed Description

Gray codes.

A codestruct represents one entry in the code book, i.e. it represents a Gray code of a given length.

For example the Gray code table of length $2^3$ is:

-------------------
|  i  | ord | inc |
-------------------
|  0  |  0  |  0  |
|  1  |  4  |  1  |
|  2  |  6  |  0  |
|  3  |  2  |  2  |
|  4  |  3  |  0  |
|  5  |  7  |  1  |
|  6  |  5  |  0  |
|  7  |  1  |  2  |
-------------------
* 

Member Data Documentation

int* code::inc

increment

int* code::ord

array of of Gray code entries


The documentation for this struct was generated from the following file: