## 4 The Principle of the Balanced Cross-Layer Fuzzy Logic Routing Algorithm
### The Calculation of the Utility of Each Node
Moreover, even the performance of BCFL is similar with the traditional fuzzy logic-based routing algorithm, however, when considering the fuzzy rules, the BCFL has greater advantage than the traditional fuzzy logic-based routing algorithm used in [19,20]. In Section 5.2, the simulation resultsdemonstrate the excellent capability of the BCFL on dealing with the multiple constrains, which is balanced, simple, and efficient. However, in this paper, we propose the routing algorithm and evaluate the algorithm performance by simulation without a real scenario. Therefore, in the future, we will propose the routing protocol based on this algorithm and investigate the performance in a real scenario. In addition, the performance-related parameters of the routing protocol, such as the energy consumption, the time delay, and the memory use, _etc._ will be evaluated in future work. Moreover, how the routing protocol can work with the IEEE standards (such as the 802.15.4, 802.15.1) also deserves to be investigated. As the BCFL has remarkable performance on adapting to the dynamic changing of the network conditions and topology, in the future the BCFL can be used in the dynamic topology network, such as the mobile wireless sensor network, the _ad hoc_ network, or the underwater wireless sensor network. Furthermore, this algorithm also can be used to select the cluster head in the cluster-based routing protocol. This work is supported by the European project \"Design, Monitoring and Operation of Adaptive Networked Embedded Systems\" (DEMANES) (project code ARTEMIS-JU: 295372). ## Author Contributions

[PERSON], [PERSON], and [PERSON] are responsible for the theoretical analysis of the routing algorithm. [PERSON] and [PERSON] design the simulation procedure and analyze the simulation results. ## Conflicts of Interest

The authors declare no conflict of interest. ## References

* [PERSON] and [PERSON] (1999) [PERSON]; [PERSON] Ad-hoc On-Demand Distance Vector Routing. In Proceedings of the Second IEEE Workshop on Mobile Computing System and Applications, New Orleans, LA, USA, 25-26 February 1999; pp. 90-100. * [PERSON] et al. (2001) [PERSON]; [PERSON]; [PERSON] _Ad Hoc Networking_; Addison-Wesley Longman Publishing: Boston, MA, USA, 2001; pp. 139-172. * [PERSON] and [PERSON] (1994) [PERSON]; [PERSON] Highly dynamic Destination-Sequenced Distance-Vector routing (DSDV) for mobile computers. _ACM SIGCOMM Comput. Commun. Rev._**1994**, _24_, 234-244. * [PERSON] et al. (2012) [PERSON]; [PERSON]; [PERSON]; [PERSON] Wireless Sensor Networks Applications and Routing Protocols: Survey and Research Challenges. In Proceedings of the 2012 International Symposium on Cloud and Services Computing, Mangalore, India, 17-18 December 2012; pp. 49-56. * [PERSON] and [PERSON] (2005) [PERSON]; [PERSON] [PERSON] Cross-layer design: A survey and the road ahead. _IEEE Commun. Mag._**2005**, _43_, 112-119. * [PERSON] and [PERSON] (2011) [PERSON]; [PERSON]. A survey on cross-layer solutions for wireless sensor networks. _J. Netw. Comput. Appl._**2011**, _34_, 523-534. * [PERSON] et al. (2011) [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON] Delay-Aware Cross-Layer Design for Network Utility Maximization in Multi-Hop Networks. _IEEE J. Sel. Areas Commun._**2011**, _29_, 951-959. * [PERSON] and [PERSON] (2004) [PERSON]; [PERSON] Joint Scheduling and Power Control for Wireless Ad Hoc Networks. _IEEE Trans. Wirel. Commun._**2004**, _30_, 74-85. * [PERSON] et al. (2006) [PERSON]; [PERSON]; [PERSON] A Tutorial on Cross-layer Optimization in Wireless Networks. _IEEE J. Sel. Areas Commun._**2006**, _24_, 1452-1463. * [PERSON] and [PERSON] (2014) [PERSON], [PERSON] Cross-Layer Contextual Interactions in Wireless Networks. _IEEE Commun. Surv. Tutor._**2014**, \(2\), 1114-1134. * [PERSON] et al. (2006) [PERSON]; [PERSON]; [PERSON]; [PERSON] Layering as Optimization Decomposition: Current Status and Open Issues. In Processing of the Annual Conference on Information Sciences and Systems, Princeton, NJ, USA, 22-24 March 2006; pp. 355-362. * [PERSON] et al.