| Algorithm 4. Pseudo-code for identification operation |
|
input: with the bit-collision cases and their actions in each internal node output: the identified tag IDs 1. ; 2. while empty do 3. pop the top node of 4. if ( is not leaf node) then 5. broadcast concatenated except if then broadcast “INITIALIZATION” 6. ← tags’ response 7. switch b 8. no signal: no tag //idle slot// 9. no “X”: identify tag ID=b //readable slot// 10. having “X”: //collision slot// 11. find (d, , a) in where //find a matched entry// 12. while finding any new entry 13. switch a 14. “READ”: identify d 15. “ABSENCE”: d disappears 16. “COPUING”: insert into 17. “SPLIT”: push and into ; break while 18. end switch //switch a// 19. end while 20. end switch //switch b// 21. end while |