I. Introduction
Internet of Things (IoT) explains a network of linked individuals, tools, and services [1], [2]. It is a combined network, including different technologies such as large-scale wireless networks according to the interaction and linking (provided by the Internet) among individuals and things, all the time and everywhere [3]. IoT is an essential technology because of its capacity to montage, test, and distribute the data that can be turned into crucial information and knowledge [4]. Low-capacity batteries typically motorize the gadgets in the IoT, so increasing the lifetime of enduring applications like constant ecological checking is necessary [5]. In the IoT and other distributed services, service composition and allocation organize-related services to solve complex problems [6]. The IoT delivers smart objects employing its underlying technologies, such as pervasive computing, sensor networks, Internet protocols, and communication technologies [7]. The outcome is defined by the Quality-of-Service (QoS) criteria, benefiting the customers in assessing the QoS arrangement [8]. QoS can include service response time, energy, availability, reliability, credibility, etc. As an NP-hard problem, service composition has emerged as a wide-ranging technology for integrating several services into one service over the Internet to combine the required applications [5].