trs_current->next_rel = trs;
trs = trs_current;
- //REPAIR! Must be: Free Targagent -> Agent Target
+ //Must be: Free Targagent -> Agent Target
//(0 1 0 0 1 1 1 0 1 1 0 1)
relvars[0] = deltai*3;
relvars[1] = deltai*3+1;
bddvar = getxy(x + xgamma, y + ygamma, bm->f);
int gammai = bddvar->value.var[0];
+ //Free Agent -> 1 0 1 0 0 1 Agent Free
//(0 1 0 0 1 1 1 0 0 0 1 1)
BDDVAR relvars[12] = {deltai*3, deltai*3+1, deltai*3+2, deltai*3+3, deltai*3+4, deltai*3+5, i*3, i*3+1, i*3+2, i*3+3, i*3+4, i*3+5};
BDDSET relvarset = sylvan_set_fromarray(relvars, 12);
trs_current->next_rel = trs;
trs = trs_current;
- //(0 1 1 0 1 1 1 0 0 1 1 1)
+ //Target Agent -> Targagent Free
+ //(0 1 1 1 1 0 1 0 0 0 1 1)
relvars[0] = deltai*3;
relvars[1] = deltai*3+1;
relvars[2] = deltai*3+2;
rel_enc[0] = 0;
rel_enc[1] = 1;
rel_enc[2] = 1;
- rel_enc[3] = 0;
+ rel_enc[3] = 1;
rel_enc[4] = 1;
- rel_enc[5] = 1;
+ rel_enc[5] = 0;
rel_enc[6] = 1;
rel_enc[7] = 0;
rel_enc[8] = 0;
- rel_enc[9] = 1;
+ rel_enc[9] = 0;
rel_enc[10] = 1;
rel_enc[11] = 1;
trs_current = (trans_t *)malloc(sizeof(trans_t));
trs_current->next_rel = trs;
trs = trs_current;
- //(0 1 0 1 1 0 1 0 1 0 0 1)
+ //Free Targagent -> Agent Target
+ //(0 1 0 0 1 1 1 0 1 1 0 1)
relvars[0] = deltai*3;
relvars[1] = deltai*3+1;
relvars[2] = deltai*3+2;
rel_enc[0] = 0;
rel_enc[1] = 1;
rel_enc[2] = 0;
- rel_enc[3] = 1;
+ rel_enc[3] = 0;
rel_enc[4] = 1;
- rel_enc[5] = 0;
+ rel_enc[5] = 1;
rel_enc[6] = 1;
rel_enc[7] = 0;
rel_enc[8] = 1;
- rel_enc[9] = 0;
+ rel_enc[9] = 1;
rel_enc[10] = 0;
rel_enc[11] = 1;
trs_current = (trans_t *)malloc(sizeof(trans_t));
trs_current->next_rel = trs;
trs = trs_current;
+ //Target Targagent -> Targagent Target
//(0 1 1 1 1 0 1 0 1 1 0 1)
relvars[0] = deltai*3;
relvars[1] = deltai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
+ //Box Box Agent -> Box Box Agent
//(0 0 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1)
BDDVAR relvars1[18] = {gammai*3, gammai*3+1, gammai*3+2, gammai*3+3, gammai*3+4, gammai*3+5, deltai*3, deltai*3+1, deltai*3+2, deltai*3+3, deltai*3+4, deltai*3+5, i*3, i*3+1, i*3+2, i*3+3, i*3+4, i*3+5};
relvars1[0] = gammai*3;
relvars1[17] = i*3+5;
BDD relvarset1 = sylvan_set_fromarray(relvars1, 18);
uint8_t rel_enc1[18];
+ //(0 0 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1)
rel_enc1[0] = 0;
rel_enc1[1] = 0;
rel_enc1[2] = 1;
trs_current->next_rel = trs;
trs = trs_current;
+ //Targbox Box Agent -> Targbox Box Agent
//(1 1 0 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
relvars1[16] = i*3+4;
relvars1[17] = i*3+5;
relvarset1 = sylvan_set_fromarray(relvars1, 18);
+ //(1 1 0 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1)
rel_enc1[0] = 1;
rel_enc1[1] = 1;
rel_enc1[2] = 0;
trs_current->next_rel = trs;
trs = trs_current;
+ //Box Box Targagent -> Box Box Targagent
//(0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
relvars1[16] = i*3+4;
relvars1[17] = i*3+5;
relvarset1 = sylvan_set_fromarray(relvars1, 18);
- //(0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0)
+ //(0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0)
rel_enc1[0] = 0;
rel_enc1[1] = 0;
rel_enc1[2] = 1;
trs_current->next_rel = trs;
trs = trs_current;
+ //Targbox Box Targagent -> Targbox Box Targagent
//(1 1 0 0 0 0 0 0 1 1 0 0 1 1 1 1 0 0)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //free box agent -> box agent free
+ //Free Box Agent -> Box Agent Free
//(0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(free targbox agent -> box targagent free)
+ //Free Targbox Agent -> Box Targagent Free
//(0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(target box agent -> targbox agent free)
+ //Target Box Agent -> Targbox Agent Free
//(0 1 1 0 1 0 0 1 1 0 0 1 1 0 0 0 1 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(target targbox agent -> targbox targagent free)
+ //Target Targbox Agent -> Targbox Targagent Free
//(0 1 1 0 1 0 1 1 0 1 0 0 1 0 0 0 1 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(free box targagent -> box agent target)
+ //Free Box Targagent -> Box Agent Target
//(0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(free targbox targagent -> box targagent target)
+ //Free Targbox Targagent -> Box Targagent Target
//(0 0 0 1 1 0 1 1 0 1 0 0 1 0 1 1 0 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(target box targagent -> targbox agent target)
+ //Target Box Targagent -> Targbox Agent Target
//(0 1 1 0 1 0 0 1 1 0 0 1 1 0 1 1 0 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;
trs_current->next_rel = trs;
trs = trs_current;
- //(target targbox targagent -> targbox targagent target)
+ //Target Targbox Targagent -> Targbox Targagent Target
//(0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1)
relvars1[0] = gammai*3;
relvars1[1] = gammai*3+1;