| Algorithm 2. Pseudo-code for bit-collision cases |
|
input: output: with the bit-collision cases in each internal node 1. compute in each node 2. 3. function 4. if ≠ leaf node then end if 5. if ≠ leaf node then end if 6. if || ≤ then 7. all combinations of n 8. for (i=1; i ≤ ||, i++) do 9. bit response of all tag IDs in //the collided bit is marked as “X”// 10. save a new case (, into 11. end for 12. end if 13. end function |