VectorDef(Order, Order *, 4);
VectorDef(TableEntry, TableEntry *, 4);
VectorDef(ASTNode, ASTNode *, 4);
-VectorDef(FunctionEncoding, FunctionEncoding *, 4);
-VectorDef(ElementEncoding, ElementEncoding *, 4);
VectorDef(Int, uint64_t, 4);
}
void deleteFunctionEncoding(FunctionEncoding *This) {
- ourfree(This);
}
void setFunctionEncodingType(FunctionEncoding* encoding, FunctionEncodingType type){
#include "table.h"
#include <strings.h>
-void makeEncodingDecisions(CSolver* csolver){
+void naiveEncodingDecision(CSolver* csolver){
uint size = getSizeVectorElement(csolver->allElements);
for(uint i=0; i<size; i++){
Element* element = getVectorElement(csolver->allElements, i);
//For now, This function just simply goes through elements/functions and
//assigns a predefined Encoding to each of them
-void makeEncodingDecisions(CSolver* csolver);
+void naiveEncodingDecision(CSolver* csolver);
void encode(CSolver* csolver);
void baseBinaryIndexElementAssign(ElementEncoding *This);
void naiveEncodeFunctionPredicate( FunctionEncoding *This);