return;
}
CSolver *solver = new CSolver();
+ if(stype = ALLOY){
+ solver->setAlloyEncoder();
+ }
+
uint64_t domain[N];
for(int i=0; i<N; i++){
domain[i] = i;
// solver->printConstraints();
if(stype == DUMP){
solver->serialize();
- } else if(stype = ALLOY){
- solver->setAlloyEncoder();
- }
- if (solver->solve() != 1){
+ } if (solver->solve() != 1){
printf("Problem is Unsolvable ...\n");
}else {
int table[N*N];