View full-text article in PMC Sensors (Basel). 2020 Nov 17;20(22):6566. doi: 10.3390/s20226566 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1. Proposed heuristic control policy. if∑k=1nxk<Aithen admit type-i packet to queue 1 end if if∑k=1nxk≥Ai and I(x)≥i and ∑k=1nxk≥RI(x) then admit type-i packet to queue 1 and route type-I(x) packet to queue 2 else do no admit type-i packet end if