1 #ifndef ELEMENTENCODING_H
2 #define ELEMENTENCODING_H
5 enum ElementEncodingType {
6 ONEHOT, UNARY, BINARYINDEX, ONEHOTBINARY, BINARYVAL
9 typedef enum ElementEncodingType ElementEncodingType;
11 struct ElementEncoding {
12 ElementEncodingType type;
16 ElementEncoding * allocElementEncoding(ElementEncodingType type, Element *element);
17 void deleteElementEncoding(ElementEncoding *this);