Simulation code for my IEEE Trans. Mobile Comput. and WICON 2008 papers (main file being mm.cpp):
L.-H. Yen, Y.W. Law, and M. Palaniswami. Risk-Aware Distributed Beacon Scheduling for Tree-Based ZigBee Wireless Networks. IEEE Transactions on Mobile Computing, 11(4):692–703, April 2012.
L.-H. Yen, Y.W. Law, and M. Palaniswami. Risk-aware beacon scheduling for tree-based ZigBee/IEEE 802.15.4 wireless networks. In Proceedings of the 4th Annual International Conference on Wireless Internet, WICON '08, pages 79:1–79:9, ICST, Brussels, Belgium, 2008.