| Algorithm 3. Pseudo-code for action preparation |
|
input: T with the bit-collision cases in each internal node output: T with the bit-collision cases and their actions in each internal node 1. 2. function 3. if ≠ leaf node then end if 4. if ≠ leaf node then end if 5. for (i=1; i ≤ ||, i++) do 6. get the largest group of tag IDs in 7. for each do 8. if appears in all combinations, where combination j has then “READ” 9. else if disappears in all combinations, where combination j has then “ABSENCE” 10. else “COUPLING” end if 11. end if 12. d, , a) into 13. end for 14. if all actions in are “COUPLING,” then “SPLIT” end if 15. end for 16. end function |