<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Sensors</journal-id>
<journal-title>Sensors</journal-title>
<issn pub-type="epub">1424-8220</issn>
<publisher>
<publisher-name>Molecular Diversity Preservation International (MDPI)</publisher-name></publisher></journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3390/s111009136</article-id>
<article-id pub-id-type="publisher-id">sensors-11-09136</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>An Architecture for Performance Optimization in a Collaborative Knowledge-Based Approach for Wireless Sensor Networks</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Gadeo-Martos</surname><given-names>Manuel Angel</given-names></name><xref ref-type="aff" rid="af1-sensors-11-09136"><sup>1</sup></xref><xref ref-type="corresp" rid="c1-sensors-11-09136"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Fernandez-Prieto</surname><given-names>Jose Angel</given-names></name><xref ref-type="aff" rid="af1-sensors-11-09136"><sup>1</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Canada-Bago</surname><given-names>Joaquin</given-names></name><xref ref-type="aff" rid="af1-sensors-11-09136"><sup>1</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Velasco</surname><given-names>Juan Ramon</given-names></name><xref ref-type="aff" rid="af2-sensors-11-09136"><sup>2</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-11-09136">
<label>1</label> Telecommunications Department, University of Jaen, Alfonso X El Sabio 28, Linares, Jaen 23700, Spain; E-Mails: <email>jan@ujaen.es</email> (J.A.F.-P.); <email>jcbago@ujaen.es</email> (J.C.-B.)</aff>
<aff id="af2-sensors-11-09136">
<label>2</label> Department of Automatic, University of Alcala, Alcala de Henares, Madrid 28801, Spain; E-Mail: <email>juanramon.velasco@uah.es</email></aff>
<author-notes>
<corresp id="c1-sensors-11-09136">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>gadeo@ujaen.es</email>; Tel.: +34-953-64-8617; Fax: +34-953-64-8508.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2011</year></pub-date>
<pub-date pub-type="epub">
<day>27</day>
<month>9</month>
<year>2011</year></pub-date>
<volume>11</volume>
<issue>10</issue>
<fpage>9136</fpage>
<lpage>9159</lpage>
<history>
<date date-type="received">
<day>12</day>
<month>8</month>
<year>2011</year></date>
<date date-type="rev-recd">
<day>13</day>
<month>9</month>
<year>2011</year></date>
<date date-type="accepted">
<day>20</day>
<month>9</month>
<year>2011</year></date></history>
<permissions>
<copyright-statement>© 2011 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2011</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>Over the past few years, Intelligent Spaces (ISs) have received the attention of many Wireless Sensor Network researchers. Recently, several studies have been devoted to identify their common capacities and to set up ISs over these networks. However, little attention has been paid to integrating Fuzzy Rule-Based Systems into collaborative Wireless Sensor Networks for the purpose of implementing ISs. This work presents a distributed architecture proposal for collaborative Fuzzy Rule-Based Systems embedded in Wireless Sensor Networks, which has been designed to optimize the implementation of ISs. This architecture includes the following: (a) an optimized design for the inference engine; (b) a visual interface; (c) a module to reduce the redundancy and complexity of the knowledge bases; (d) a module to evaluate the accuracy of the new knowledge base; (e) a module to adapt the format of the rules to the structure used by the inference engine; and (f) a communications protocol. As a real-world application of this architecture and the proposed methodologies, we show an application to the problem of modeling two plagues of the olive tree: prays (olive moth, <italic>Prays oleae</italic> Bern.) and repilo (caused by the fungus <italic>Spilocaea oleagina</italic>). The results show that the architecture presented in this paper significantly decreases the consumption of resources (memory, CPU and battery) without a substantial decrease in the accuracy of the inferred values.</p></abstract>
<kwd-group>
<kwd>intelligent spaces</kwd>
<kwd>wireless sensor networks</kwd>
<kwd>fuzzy rule-based systems</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Many recent studies have focused on various aspects of Intelligent Spaces (IS) [<xref ref-type="bibr" rid="b1-sensors-11-09136">1</xref>–<xref ref-type="bibr" rid="b3-sensors-11-09136">3</xref>]. The IS was proposed by Lee [<xref ref-type="bibr" rid="b2-sensors-11-09136">2</xref>] as an environmental system that is able to support humans in informative and physical ways, and as a space that contains human and artificial systems. Thus, an IS could utilize computer monitors to provide information to humans, and robots could be used to provide physical services to humans as physical agents.</p>
<p>Over the past few years, several definitions of ISs have been proposed; it is important to acknowledge the definitions that were presented in [<xref ref-type="bibr" rid="b4-sensors-11-09136">4</xref>,<xref ref-type="bibr" rid="b5-sensors-11-09136">5</xref>], in which ISs are described as spaces with many embedded and networked sensors and actuators. Their essential functions are the following: (a) to observe the space using distributed sensors; (b) to extract useful information from the obtained data; and (c) to fuse the information acquired by each sensor and to share it with other devices efficiently. Taking into account these properties, several studies [<xref ref-type="bibr" rid="b6-sensors-11-09136">6</xref>–<xref ref-type="bibr" rid="b8-sensors-11-09136">8</xref>] have been devoted to set up ISs over WSNs.</p>
<p>Over the past few years, Wireless Sensor Networks (WSNs) [<xref ref-type="bibr" rid="b9-sensors-11-09136">9</xref>,<xref ref-type="bibr" rid="b10-sensors-11-09136">10</xref>] have received the attention of many researchers. WSNs are defined [<xref ref-type="bibr" rid="b11-sensors-11-09136">11</xref>] as networks that are composed of a large number of sensor nodes, and they can be conceived of as small computers with extremely basic interfaces and components. Each node consists of a processing unit with limited computational capability and memory, sensors, a communication device and a limited power source, usually in the form of a battery.</p>
<p>WSNs provide perfect scenarios for sensor collaboration for a global purpose. In this context, the term collaborative involves communication of individual measurements among sensors to accomplish their tasks and to achieve a common goal.</p>
<p>Despite the wide interest in sensors and collaborative WSNs, little attention has been paid to optimizing the integration of collaborative Fuzzy Rule-Based Systems (FRBSs) into WSNs. FRBSs [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>] are considered an extension of classical rule-based systems because they deal with “IF-THEN” rules whose antecedents and consequents are composed of fuzzy logic statements (fuzzy rules) [<xref ref-type="bibr" rid="b13-sensors-11-09136">13</xref>] instead of classical logic statements. One of the main characteristics of these integrated systems is the capacity of each node to incorporate facilities for simple sensing, actuation, communication and computation; however, the full capabilities of such networks are reached only by the cooperation of all of the nodes. Because of these qualities, these networks can efficiently provide all of the services necessary to implement an IS.</p>
<p>To optimize the implementation of an IS by means of a WSN, this paper presents a distributed architecture proposal for collaborative FRBSs embedded in a WSN. The main contribution of the design that is presented is to make it possible to decrease the consumption of the required resources [(a) memory; (b) CPU; and (c) battery] by an FRBS embedded in a node of a WSN, without a substantial decrease in the accuracy of the inferred values.</p>
<p>To achieve this goal, we include the following in the proposed architecture:
<list list-type="alpha-lower">
<list-item>
<p>A design of the inference engine that is based on the approximate Mamdani-type [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>], to achieve a high level of accuracy in complex problem domains.</p></list-item>
<list-item>
<p>A visual interface, to facilitate the composition of the descriptive and approximate Knowledge Bases (KBs) [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>] and to achieve a high degree of interpretability of the linguistic rules and additionally, a high level of accuracy.</p></list-item>
<list-item>
<p>A module to reduce rules, which is used to decrease the redundancy and the complexity of the fuzzy rule set without a substantial decrease in their completeness and consistency.</p></list-item>
<list-item>
<p>A module to evaluate the accuracy of a new KB that was obtained by means of the application of the rule reduction algorithm proposed.</p></list-item>
<list-item>
<p>A module that makes possible the transformation of the base of rules that are descriptive into approximates [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>], to make the most out of approximate and descriptive FRBS advantages.</p></list-item>
<list-item>
<p>A communications protocol that is used for the distribution of an entire or partial KB among the sensor nodes, the collection of inferred data, the management of the sensor nodes, and the integration with other measurement applications.</p></list-item></list></p>
<p>The remainder of this paper is organized as follows. Section 2 addresses related work and motivation. Section 3 shows the modular architecture proposed to optimize the integration of collaborative FRBSs embedded in a WSN, which includes a description of the following: an inference engine design, visual interface facilities, algorithms proposed to make rule reduction in KBs and to evaluate KB performance, and the facilities that incorporate by a module of transformation of the basis of the rules and the communications protocol. Section 4 shows the experimental results that are obtained to evaluate the performances of the proposed architecture applied to the problem of modeling the two plagues of the olive tree: prays and repilo. Finally, conclusions are drawn in Section 5.</p></sec>
<sec>
<label>2.</label>
<title>Related Work and Motivation</title>
<p>Lee proposed the concept of the IS as an environmental system able to support humans in informative and physical ways and to contain human and artificial systems. These human and artificial systems become clients of the IS and, simultaneously, the artificial systems become agents of the IS. Because the whole space is an intelligent system, the IS, as a spatial system, is able to easily monitor and provide services to clients. Specific tasks that cannot be achieved by the IS alone are accomplished by utilizing its clients [<xref ref-type="bibr" rid="b2-sensors-11-09136">2</xref>].</p>
<p>Investigators [<xref ref-type="bibr" rid="b1-sensors-11-09136">1</xref>] have proposed that this research field is not necessarily closely related to robotics; however, they believe that robots under ISs have many interesting features. Thus, an IS could utilize computer monitors to provide information to humans, and robots could be used to provide physical services to humans acting as physical agents. If necessary, robots as well as humans are supported by an IS. When a robot lacks the sensors to navigate around an IS, the robot is treated as a client of the IS and the information lacked is provided to the robot by the IS.</p>
<p>As described in [<xref ref-type="bibr" rid="b2-sensors-11-09136">2</xref>], an IS has two roles with respect to a robot working in it. One role is the enlargement of ability, and the other role is resource sharing. Thus, an IS has a role as an extended sensor for the robot and enhances the ability of the robot to receive a request from a distant location. Further resource sharing occurs when more than one robot uses the resources of an IS, and robots can thus decrease their common resources. However, an IS does not aim to dispense with sensors or robots’ autonomy; rather, it supports a robot by providing the resources it lacks to act as a normal robot, while helping a robot with adequate resources to act as an even better robot.</p>
<p>Intelligent environments were described in [<xref ref-type="bibr" rid="b3-sensors-11-09136">3</xref>] as complex systems (<italic>i.e.</italic>, rooms) in which humans and machines collaborate to accomplish a task. From such a perspective, intelligent environments can also be considered as a novel human-machine interface, and the overall goal of the research will be to design and develop integrated sensor-based systems that allow natural and efficient mechanisms for human-computer interactions in places where humans work, learn, relax, and play.</p>
<p>To have a well-accepted definition of an IS, Mohan proposed four requirements that a physical space needs to possess in order to be called intelligent:
<list list-type="alpha-lower">
<list-item>
<p>ISs are designed for humans, and they should facilitate normal human activities taking place in these spaces.</p></list-item>
<list-item>
<p>ISs should automatically capture and dynamically maintain an awareness of the events and activities taking place in these spaces.</p></list-item>
<list-item>
<p>ISs should be responsive to specific events and triggers.</p></list-item>
<list-item>
<p>ISs should be robust and adaptive to various dynamic changes.</p></list-item></list></p>
<p>In [<xref ref-type="bibr" rid="b4-sensors-11-09136">4</xref>], smart environments that are also called ISs are described as spaces with many embedded and networked sensors and actuators, where the essential functions of these smart environments are the following:
<list list-type="alpha-lower">
<list-item>
<p>To observe the space using distributed sensors.</p></list-item>
<list-item>
<p>To extract useful information from the data obtained and to provide various services.</p></list-item></list></p>
<p>Other properties of the ISs are described in [<xref ref-type="bibr" rid="b4-sensors-11-09136">4</xref>,<xref ref-type="bibr" rid="b5-sensors-11-09136">5</xref>] as the following:
<list list-type="alpha-lower">
<list-item>
<p>The system must have a function that fuses the information acquired by each sensor and that shares it with other devices efficiently.</p></list-item>
<list-item>
<p>The system should have flexibility and scalability.</p></list-item></list></p>
<p>In this proposed concept of an IS, sensor nodes are also distributed in the space because it is necessary to reduce the network load in a large-scale network, and it can be built to process raw data at each sensor node before collecting the information. To realize detailed observation over the whole space, it is necessary for networked sensors to cooperate with each other.</p>
<p>The field of research on ISs that are based on distributed sensor systems has been expanding recently [<xref ref-type="bibr" rid="b14-sensors-11-09136">14</xref>], and many researchers have developed designs of systems for providing informative services to end users (e.g., support during a meeting [<xref ref-type="bibr" rid="b15-sensors-11-09136">15</xref>], health care [<xref ref-type="bibr" rid="b16-sensors-11-09136">16</xref>], support of the elderly [<xref ref-type="bibr" rid="b17-sensors-11-09136">17</xref>], information display using a pan-tilt projector [<xref ref-type="bibr" rid="b18-sensors-11-09136">18</xref>], support of human activities [<xref ref-type="bibr" rid="b19-sensors-11-09136">19</xref>] and robot localization [<xref ref-type="bibr" rid="b20-sensors-11-09136">20</xref>,<xref ref-type="bibr" rid="b21-sensors-11-09136">21</xref>]).</p>
<p>On the other hand, WSNs are defined [<xref ref-type="bibr" rid="b9-sensors-11-09136">9</xref>] as networks that are composed of a large number of sensor nodes and that can be conceived of as small computers with extremely basic interfaces and components. Each node consists of a processing unit with limited computational capability and memory, sensors, a communication device and a limited power source, usually in the form of a battery.</p>
<p>These properties of the sensor nodes of the WSNs allow them to take advantage of their process and communications capacities to implement the main characteristics of an IS, which are the following: to act as a server or client and to provide services to the clients; to fuse information; to share information and resources; to capture and dynamically maintain an awareness of the events; to be responsive to specific events and triggers; to be robust and adaptive to dynamic changes; and to have flexibility and scalability. On the other hand, the capacities of WSNs enable them to implement the distribution of a control algorithm of a rule-based system [<xref ref-type="bibr" rid="b22-sensors-11-09136">22</xref>].</p>
<p>Because of these qualities, several studies have recently been devoted to set up ISs over WSNs, such as the following:
<list list-type="alpha-lower">
<list-item>
<p>In [<xref ref-type="bibr" rid="b6-sensors-11-09136">6</xref>], an implementation example for setting up an IS concept is described; this method is implemented with several communications technologies, including WSNs. As indicated in [<xref ref-type="bibr" rid="b6-sensors-11-09136">6</xref>], WSNs are the foothold of the future generation of IS systems. They serve as acquisition tools in ambient circumstances to replace or upgrade users’ experiences. Successful ambient adaptation leads to automatic execution of users’ activities and needs.</p></list-item>
<list-item>
<p>In [<xref ref-type="bibr" rid="b7-sensors-11-09136">7</xref>], a ZigBee WSN-based detection and help system for elderly abnormal behaviors is presented with service robots in the IS.</p></list-item>
<list-item>
<p>In [<xref ref-type="bibr" rid="b8-sensors-11-09136">8</xref>], a novel model of a WSN for Smart Civil Structures and Intelligent Building has been presented. This proposed model aims to make civil structures and buildings “intelligent” by deploying WSNs to provide significant improvements in the areas of fire protection, safety, security, comfort, building automation, and communications.</p></list-item></list></p>
<p>As has been described above, an IS implementation, at minimum, requires the system to have a function that fuses the information acquired by each sensor and shares it with other devices efficiently. However, none of the schemes presented above describes the algorithm used to perform the tasks of information fusion and sharing.</p>
<p>The study in [<xref ref-type="bibr" rid="b23-sensors-11-09136">23</xref>] shows how FRBSs can control artificial and natural lighting automatically, in an intelligent residential lighting control system based on a ZigBee wireless sensor network.</p>
<p>To control artificial and natural lighting automatically, an intelligent residential lighting control system with a ZigBee wireless sensor network is used to collect the environmental data and transmit the data to a PC, where a fuzzy system is executed to generate the lighting control signal, which is transmitted through the WSN. The execution of these tasks requires a significant amount of resources in terms of wireless communications’ bandwidth and battery consumption.</p>
<p>To improve the above-mentioned problem, a choice to take into account is the use of a fuzzy rule-based collaborative and cooperative approach.</p>
<p>Next, the definitions of the terms collaborative and cooperative are presented:
<list list-type="alpha-lower">
<list-item>
<p>The term collaborative involves communication of individual measures among sensors to accomplish their tasks and to achieve a common goal [<xref ref-type="bibr" rid="b24-sensors-11-09136">24</xref>].</p></list-item>
<list-item>
<p>A cooperating object (CO) was defined as a single entity or a collection of entities consisting of sensors, controllers (information processors), actuators or cooperating objects that communicate with each other and are able to achieve, more or less autonomously, a common goal [<xref ref-type="bibr" rid="b25-sensors-11-09136">25</xref>,<xref ref-type="bibr" rid="b26-sensors-11-09136">26</xref>].</p></list-item></list></p>
<p>Therefore, the integration of FRBS into WSNs is typical in examples of such collaborative and cooperating objects. These networks consist of objects that are individually capable of simple sensing, actuation, communication and computation, but the full capabilities of such networks are reached only by the cooperation of all of these objects. Because of these qualities, these networks can efficiently provide all of the services necessary to implement an IS. To the best of our knowledge, two collaborative and cooperative approaches that integrate fuzzy rule-based systems into WSNs have been presented:
<list list-type="alpha-lower">
<list-item>
<p>The approach titled D-FLER has been presented in [<xref ref-type="bibr" rid="b27-sensors-11-09136">27</xref>]. This system incorporates distributed and embedded collaborative mechanisms for reasoning about the observed data and making decisions or taking actions in a coordinated manner. It uses two types of inputs: individual observations (sensor readings of the current node) and neighborhood observations (fuzzified sensor data from the neighboring nodes). However, D-FLER has some limitations, derived from the need to transmit a significant amount of data to neighboring nodes and to process a significant amount of data.</p></list-item>
<list-item>
<p>The approach presented in [<xref ref-type="bibr" rid="b11-sensors-11-09136">11</xref>] is a new scheme that fuses the following: the individual observations and the knowledge that was obtained from the neighboring nodes. The innovation presented involves the use of a FRBS to define collaborative knowledge. This approach allows the users to define the collaboration among sensors by means of a specific KB (variables, fuzzy sets and rules), which presents significant advantages:
<list list-type="order">
<list-item>
<p>The collaborative scheme may address uncertainty and imprecision.</p></list-item>
<list-item>
<p>It is possible to separate control or modeling knowledge from collaborative knowledge, using interpretable rules in both cases.</p></list-item>
<list-item>
<p>The collaborative approach may support sensor failures and communication errors because, in this case, the collaborative sensor would infer a proportional value to the number of failures between the control or modeling knowledge (local knowledge without a collaborative scheme) and the collaborative scheme.</p></list-item></list></p></list-item></list></p>
<p>In addition, this last proposal can achieve these mentioned advantages with a decrease in the amount of data to process and transmit.</p>
<p>Some scenarios that could benefit from the proposed approach are ISs that perform tasks of controlling or modeling in which sensor inferences may be affected by measures or inferences of neighboring sensors, e.g., event detections (fire detection, alarms), environmental monitoring (water quality, pest detection), industrial process control, and robotics.</p>
<p>However, these proposals also present some drawbacks associated with the following limitations:
<list list-type="alpha-lower">
<list-item>
<p>The scheme does not include a human-machine interface that makes it easy to obtain the necessary knowledge and the visualization of data.</p></list-item>
<list-item>
<p>The scheme does not describe a FRBS specifically adapted to the sensor limitations.</p></list-item></list></p>
<p>To make it easy and efficient to develop and set up an IS with WSNs and embedded FRBSs, in this work we propose the use of the following:
<list list-type="alpha-lower">
<list-item>
<p>A fuzzy rule-based collaborative and a cooperative approach.</p></list-item>
<list-item>
<p>A modified structure over the structure presented in [<xref ref-type="bibr" rid="b11-sensors-11-09136">11</xref>], which includes an interface to make possible the knowledge base (KB) edition and to obtain operation results, and a FRBS designed to increase sensor performance.</p></list-item></list></p>
<p>On the other hand, the use of an interface makes this work easy but does not guarantee an optimal KB generator. In addition, this new scheme introduces some additional modules proposed to optimize these KBs by means of rule redundancy reductions and rule adaptations to specific modeling problems.</p></sec>
<sec>
<label>3.</label>
<title>Distributed Architecture Proposal for a Collaborative Fuzzy Rule-Based System Embedded in a Wireless Sensor Network</title>
<p>A modular architecture has been proposed to implement the following tasks, which were mentioned above: KB construction, rule reduction, rule adaptation, KB transmission and obtaining the operations results.</p>
<p>This architecture (<xref ref-type="fig" rid="f1-sensors-11-09136">Figure 1</xref>) provides the following: (1) In the Personal Computer: (a) a visual interface for easy fuzzy rule development; (b) a module for rule reduction to optimize the generated KB; (c) a module for the analysis of error, to evaluate the accuracy reduction; (d) a module for rule transformation that facilitates the adaptation of rules to optimize the work of the FRBS inference engine; and (e) the communications protocol, which is being designed to manage multipurpose sensor networks, to transmit this KB to the desired nodes and to receive data from the sensor nodes. (2) In the sensor node: the basic elements of the FRBS (<xref ref-type="fig" rid="f2-sensors-11-09136">Figure 2</xref>).</p>
<sec sec-type="methods">
<label>3.1.</label>
<title>Design of the Inference Engine</title>
<p>The FRBS proposed in this paper is based on the model of Mamdani [<xref ref-type="bibr" rid="b28-sensors-11-09136">28</xref>] because it provides a highly flexible means of formulating knowledge while at the same time the knowledge remains interpretable. Two variants of Mamdani FRBSs have been proposed [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>]: (1) descriptive and (2) approximate [<xref ref-type="bibr" rid="b29-sensors-11-09136">29</xref>–<xref ref-type="bibr" rid="b32-sensors-11-09136">32</xref>]. The structures of these systems are similar, but each type of FRBS has different properties and presents complementary advantages and drawbacks. To improve embedded FRBS behavior, it is possible to use these advantages.</p>
<p>In descriptive FBRS (or linguistic Mamdani FRBS), rules carry a linguistic label that points to a specific fuzzy set of a linguistic partition of the underlying linguistic variable. In approximate FBRS rules, the input variables and the output variables are fuzzy variables instead of linguistic variables.</p>
<p>Approximate FRBSs demonstrate some specific advantages over linguistic FRBSs, making them especially useful for certain types of applications [<xref ref-type="bibr" rid="b31-sensors-11-09136">31</xref>]: (1) each rule employs its own distinct fuzzy sets, resulting in additional degrees of freedom and an increase in expressiveness and (2) the number of rules can be adapted to the complexity of the problem. These properties enable approximate FRBSs to achieve a better degree of accuracy than linguistic FRBS in complex problem domains. In descriptive FRBSs, the main advantage is the large degree of interpretability of the linguistic rules [<xref ref-type="bibr" rid="b33-sensors-11-09136">33</xref>–<xref ref-type="bibr" rid="b36-sensors-11-09136">36</xref>].</p>
<p>To make the most out of approximate and descriptive FRBS advantages, this approach enables the use of a visual interface to facilitate the composition of the descriptive and approximate KBs, while the inference engine of the embedded FRBS works as an approximate Mamdani-type.</p>
<p>To reduce the computational burden, this paper proposes the use of an FRBS in the mode B-FITA (First Infer, Then Aggregate) and with the operator center of gravity.</p></sec>
<sec sec-type="methods">
<label>3.2.</label>
<title>Design for the Base of Rules</title>
<p>As was proposed by Cordon <italic>et al</italic>. [<xref ref-type="bibr" rid="b12-sensors-11-09136">12</xref>], the performance of an FRBS depends on two aspects: (a) the way in which the fuzzy inference process is developed and (b) the composition of the fuzzy rule set. In this sense, the following properties of fuzzy rule sets are beneficial and improve their approximation accuracy:
<list list-type="alpha-lower">
<list-item>
<p>The completeness of the fuzzy rule set. An FRBS obeys the completeness property if for each conceivable system input it infers to a corresponding output, and for an arbitrary input at least one of the fuzzy rules has to trigger.</p></list-item>
<list-item>
<p>The consistency of the fuzzy rule set. A generic set of rules is consistent if it does not contain contradictory rules. Thus, two descriptive rules are inconsistent when they have the same antecedent and have mutually exclusive consequents.</p></list-item>
<list-item>
<p>The low complexity of a fuzzy rule set. This property is concerned with the number of fuzzy rules composing the rule base. Low complexity becomes important in control problems, as the main requirements are usually the process speed and the simplicity of the base rather than the accuracy response, and it is equally beneficial in linguistic modeling applications because the main goal is to obtain a human-readable description of the real system.</p></list-item>
<list-item>
<p>The redundancy of a fuzzy rule set. These If-Then rules have the property that a system state is covered by more than one rule because the fuzzy sets in the antecedents overlap. The existence of redundant rules may cause degradation in the performance of the FBRS. Therefore, it is important to take a closer look at redundancy for the purpose of removing unnecessary, detrimental rules from fuzzy rule sets.</p></list-item></list></p>
<sec>
<label>3.2.1.</label>
<title>Visual Interface to Compose the Base of Rules</title>
<p>In this paper, we propose the use of a visual interface as a method of KB composition. Using this interface, the human expert can specify the linguistic labels associated with each linguistic variable, the structure of the rules in the rule base (RB), and the meaning of each label. This method is the simplest method to be applied when the expert is able to express his knowledge in the form of linguistic rules. To improve the accuracy of this linguistic approach, this interface enables the specification of exact membership functions as well. When implementing earlier recommendations, the composed KB would have the following:
<list list-type="alpha-lower">
<list-item>
<p>It must cover all of the possible systems space of the input variables.</p></list-item>
<list-item>
<p>It must not have rules with the same antecedent and mutually exclusive consequents.</p></list-item>
<list-item>
<p>It must be composed by the minor number of rules possible, to decrease the memory and CPU consumption.</p></list-item>
<list-item>
<p>It must not have redundant rules, with the same antecedent and overlap in the fuzzy set of the consequents.</p></list-item></list></p></sec>
<sec>
<label>3.2.2.</label>
<title>Algorithm Proposed to Make Rule Reduction in the Base of Rules</title>
<p>In the approach proposed in this paper, after the KB is composed, a module to reduce rules is used, to decrease the redundancy and the complexity of the fuzzy rule set without a substantial decrease in their completeness and consistency.</p>
<p>Several methods have been proposed for optimizing the size of the rule base obtained with automated modeling techniques such as compatible cluster merging [<xref ref-type="bibr" rid="b37-sensors-11-09136">37</xref>], fuzzy binary box tree [<xref ref-type="bibr" rid="b38-sensors-11-09136">38</xref>], or membership function fusion and annihilation [<xref ref-type="bibr" rid="b39-sensors-11-09136">39</xref>]. In [<xref ref-type="bibr" rid="b40-sensors-11-09136">40</xref>], a fuzzy genetic algorithm is presented, and in [<xref ref-type="bibr" rid="b41-sensors-11-09136">41</xref>], a supervised inductive algorithm is presented; each of these algorithms has a procedure (based on different criteria) that extracts from the population the minimum number of rules required to formulate the final RB. The study in [<xref ref-type="bibr" rid="b29-sensors-11-09136">29</xref>] presents a measure of overlap that allows redundant rules to be identified, and a criterion based on this measure of overlap is then proposed to decide whether a rule should be discarded from the rule set. In other studies [<xref ref-type="bibr" rid="b42-sensors-11-09136">42</xref>–<xref ref-type="bibr" rid="b45-sensors-11-09136">45</xref>], a genetic process for removing redundant rules from fuzzy rule sets in classification and modeling has been proposed.</p>
<p>As has been defined in [<xref ref-type="bibr" rid="b46-sensors-11-09136">46</xref>], redundant rules include duplicate rules and more specific rules that are covered by more general rules within the rule base. From this last definition and the membership function fusion method presented in [<xref ref-type="bibr" rid="b39-sensors-11-09136">39</xref>], we propose a simple and efficient methodology (see experimental results) that searches rules that cover contiguous areas of their input variables associated with the same state of the output variable, and recently, it builds a new and more general rule that covers the contiguous states of the input variables and the same state of the output variable. These original rules will be redundant with the new rule, and then they can be substituted by this new more general rule.</p>
<p>To perform this task, we can apply an algorithm composed of the following steps:
<list list-type="alpha-lower">
<list-item>
<p>It searches for rules with overlap in the antecedent and consequent.</p></list-item>
<list-item>
<p>It makes groups of rules with only one difference in the same proposition of the antecedent.</p></list-item>
<list-item>
<p>For each of these groups, it selects the rules with adjacent fuzzy sets in this proposition. These redundant rules can be simplified into only one rule.</p></list-item></list></p>
<p>The new rule will be the same as the old rules except in their different proposition, and now, their new fuzzy set will be built by the composition of the involved adjacent fuzzy sets.</p></sec>
<sec>
<label>3.2.3.</label>
<title>Algorithm Proposed to Evaluate the Decrease in Performance</title>
<p>A reduction of rules can produce a lack of accuracy in modeling or control problems. Therefore, it is important to evaluate the utility of a rule by analyzing its impact on the global system behavior. To evaluate the accuracy of a new KB, this paper proposes the use of an algorithm that contains the following steps:
<list list-type="alpha-lower">
<list-item>
<p>Calculate the “Absolute Errors” for each element of a wide set of states in the space of “n” input variables, as follows:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">AE</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="italic">output</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">system</mml:mi>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="italic">output</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">system</mml:mi>
<mml:mo> </mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula>in which each individual error has been obtained by subtracting two FRBS outputs (output<sub>FRBSystem 1</sub> – output<sub>FRBSystem 2</sub>).</p></list-item>
<list-item>
<p>Calculate the “Sum of the Absolute Errors” (SAE), which must be obtained by considering a wide set of states in the space of “n” input variables.
<disp-formula id="FD2">
<label>(2)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">SAE</mml:mi>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mo>⋯</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>j</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mo>⋯</mml:mo>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:munderover>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mtext>output</mml:mtext></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mtext>FRBSystem</mml:mtext>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mtext>output</mml:mtext></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mtext>FRBSystem</mml:mtext>
<mml:mo> </mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:math></disp-formula>where L<sub>1</sub>, L<sub>j</sub>, L<sub>n</sub> point to the higher value of the space of the input variables first, jth and nth. According to this definition, this parameter reports the global difference between the outputs of two FRBSs.</p></list-item>
<list-item>
<p>Calculation of the “Relative Error” (RE), as follows:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="italic">SAE</mml:mi></mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi></mml:mrow>
<mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:msubsup>
<mml:mrow>
<mml:mo>⋯</mml:mo>
<mml:msubsup>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>j</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup>
<mml:mrow>
<mml:mo>⋯</mml:mo>
<mml:msubsup>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi></mml:mrow>
<mml:mi>n</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mtext>output</mml:mtext>
<mml:mrow>
<mml:mtext>FRBSystem</mml:mtext>
<mml:mo> </mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula></p></list-item></list></p>
<p>According to this definition, the RE parameter generates a value in the interval (0,1) that has been obtained by normalizing the SAE with the addition of FRBS 1 outputs. If at least one of these indicators is higher than its threshold of admissible value, we can infer that the KB used in system 2 may not have completeness or consistency.</p></sec>
<sec>
<label>3.2.4.</label>
<title>Transformation of the Base of Rules descriptive into approximates</title>
<p>To make the most out of approximate and descriptive FRBS advantages, this approach enables the use of descriptive and approximate KBs, while the inference engine of the embedded FRBS works as an approximate Mamdani-type.</p>
<p>If a descriptive KB composition is chosen, the human expert must specify the linguistic labels associated with each linguistic variable, the descriptive fuzzy sets defining the semantic of each label and the linguistic rules composing the RB. In this case, there is a simple transformation, in which each rule substitutes the descriptive fuzzy sets by approximate sets and is required to construct an equivalent approximate KB.</p>
<p>Therefore, in this process, each descriptive fuzzy set that points to a specific fuzzy set of a linguistic partition of the underlying linguistic variable is substituted by an approximate fuzzy set that contains the numeric definition of the membership function of the specific fuzzy set associated with each variable.</p></sec>
<sec>
<label>3.2.5.</label>
<title>Communications Protocol</title>
<p>Later, when the descriptive KB is transformed into an approximate KB, a communications protocol is used to transmit the KBs. As described in [<xref ref-type="bibr" rid="b47-sensors-11-09136">47</xref>], this application layer protocol has been implemented on Sun SPOTs [<xref ref-type="bibr" rid="b48-sensors-11-09136">48</xref>] and on a computer and it has been designed to allow the distribution of entire or partial KBs (including variables and fuzzy sets) to the sensor nodes, to provide the collection of inferred data, to manage the sensor nodes, and to integrate with other measurement applications.</p>
<p>This protocol has encouraged the versatility of its services to make sensors capable of achieving a wide range of tasks, which was one of the conclusions shown in [<xref ref-type="bibr" rid="b49-sensors-11-09136">49</xref>]. According to [<xref ref-type="bibr" rid="b50-sensors-11-09136">50</xref>], the main purpose of this protocol is to provide an Application Service Interface (ASI) to manage the problems generated with applications that access every low-level system of the device.</p>
<p>The advantages associated with the use of the wireless intelligent sensor management application protocol presented can be summarized with:
<list list-type="alpha-lower">
<list-item>
<p>A service interface that is independent of the platform.</p></list-item>
<list-item>
<p>To provide support to a complete or incremental update of KBs.</p></list-item>
<list-item>
<p>Versatility in the way in which sensor nodes notify their measurements, results or inferences.</p></list-item>
<list-item>
<p>To provide support to minimize communication and processing and to optimize battery usage.</p></list-item>
<list-item>
<p>To provide support to new types of probes, actuators or sensors due to the open data format and hierarchical labeling system used.</p></list-item></list></p></sec></sec></sec>
<sec sec-type="results">
<label>4.</label>
<title>Experimental Results</title>
<p>To illustrate the proposed methodology of rule reduction and the evaluation of performances, three experiments have been performed to model, with simple KBs, the behavior of two plagues of the olive tree: prays (<italic>Prays oleae</italic> Bern.) and repilo (<italic>Spilocaea oleagina</italic>). The life cycles of these plagues depend on the humidity, temperature and photoperiod, but they are not the same [<xref ref-type="bibr" rid="b51-sensors-11-09136">51</xref>]. The common steps of each experiment consist of the following:
<list list-type="alpha-lower">
<list-item>
<p>KB generation in the visual interface.</p></list-item>
<list-item>
<p>Rule transformations.</p></list-item>
<list-item>
<p>KB transmission.</p></list-item>
<list-item>
<p>Modeling a wide set of system states (400,000) in an FRBS.</p></list-item>
<list-item>
<p>Run the modeling process until achieving a 5% discharge in the battery, and calculating the number of necessary inferences.</p></list-item>
<list-item>
<p>Transmission of results.</p></list-item></list></p>
<p>Each experiment has a specific role. In Experiment 1, an approximate KB is composed of an RB with two groups of rules (GR) (<xref ref-type="table" rid="t1-sensors-11-09136">Tables 1</xref> and <xref ref-type="table" rid="t2-sensors-11-09136">2</xref>) and their associated specific fuzzy set (FS) definitions (<xref ref-type="fig" rid="f3-sensors-11-09136">Figures 3</xref> and <xref ref-type="fig" rid="f4-sensors-11-09136">4</xref>).</p>
<p>In Experiment 2, an approximate KB is composed of a RB with two GR (<xref ref-type="table" rid="t3-sensors-11-09136">Tables 3</xref> and <xref ref-type="table" rid="t4-sensors-11-09136">4</xref>) and the associated specific FS definitions (<xref ref-type="fig" rid="f5-sensors-11-09136">Figures 5</xref> and <xref ref-type="fig" rid="f6-sensors-11-09136">6</xref>). In this case, the rules and FS definitions have been obtained using the redundancy reduction module. As can be observed, this algorithm decreases twelve rules for prays RB and eleven rules for the repilo KB (<xref ref-type="table" rid="t3-sensors-11-09136">Tables 3</xref> and <xref ref-type="table" rid="t4-sensors-11-09136">4</xref>) and generates, by means of fusion, new FSs (six for prays and four for repilo) (<xref ref-type="fig" rid="f5-sensors-11-09136">Figures 5</xref> and <xref ref-type="fig" rid="f6-sensors-11-09136">6</xref>).</p>
<p>With the purpose of illustrating the rule reduction process, an example of reduction is shown. In the GR used to model prays (<xref ref-type="table" rid="t1-sensors-11-09136">Table 1</xref>), there is a set of three rules with the same consequent and the same second and third proposition in their antecedents:
<list list-type="simple">
<list-item>
<p>R1: If Humidity is S and Temperature is VS and Photoperiod is S Then Prays Alert is VS</p></list-item>
<list-item>
<p>R2: If Humidity is M and Temperature is VS and Photoperiod is S Then Prays Alert is VS</p></list-item>
<list-item>
<p>R3: If Humidity is L and Temperature is VS and Photoperiod is S Then Prays Alert is VS</p></list-item></list></p>
<p>Applying the proposed algorithm, these original rules can be simplified into a single rule (New R1).</p>
<p>New R1: If Humidity is S&amp;M&amp;L and Temperature is VS and Photoperiod is S Then Prays Alert is VS</p>
<p>Except for the first proposition in the antecedent, the rule “New R1” is equal to the three originals. Now, the FS associated with the “Humidity” variable is “S&amp;M&amp;L” (<xref ref-type="fig" rid="f5-sensors-11-09136">Figure 5</xref>), which has been obtained by means of composition of the three original FS (<xref ref-type="fig" rid="f3-sensors-11-09136">Figure 3</xref>).</p>
<p>In Experiment 3, a descriptive KB is composed of an RB with two GRs (<xref ref-type="table" rid="t1-sensors-11-09136">Tables 1</xref> and <xref ref-type="table" rid="t2-sensors-11-09136">2</xref>) and the definition of linguistic labels associated with each linguistic variable (<xref ref-type="fig" rid="f7-sensors-11-09136">Figure 7</xref>). In this case, the use of linguistic labels prevents specific FS definitions for each GR.</p>
<p>To evaluate the accuracy of the KBs used in the second and third experiments, we calculate the parameters AE, SAE and RE, which are explained in Section 3.2.3. In this case, the calculation of these parameters has been performed by taking into account that System 1 is an FRBS with the original approximate KB and System 2 is an FRBS with the following:
<list list-type="alpha-lower">
<list-item>
<p>A descriptive KB, if we are considering the second experiment.</p></list-item>
<list-item>
<p>A reduced approximate KB, if we are considering the third experiment.</p></list-item></list></p>
<p>To show the results of this evaluation, we have obtained the following indicators:
<list list-type="simple">
<list-item>
<p>(a) The “Sum of the Absolute Errors” (SAE) and the “Relative Error” (RE) have been calculated considering a wide set of system states (400,000) in the space of the photoperiod, temperature and humidity variables.</p></list-item></list></p>
<p>To calculate these parameters, we have used <xref ref-type="disp-formula" rid="FD2">Equations (2)</xref> and <xref ref-type="disp-formula" rid="FD3">(3)</xref>, taking into account that we now have three input variables: photoperiod, temperature and humidity and L<sub>1</sub> = 100, L<sub>2</sub> = 40, L<sub>3</sub> = 100.</p>
<p>Considering that the proposed FRBS is used to model the behavior of two plagues (prays and repilo) of the olive tree, their global SAE must be calculated as the sum of the SAEs for prays and repilo.
<disp-formula id="FD4">
<label>(4)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mtext>SAE</mml:mtext></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mtext>Global</mml:mtext></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mtext>SAE</mml:mtext></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mtext>Prays</mml:mtext></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mtext>SAE</mml:mtext></mml:mrow></mml:mrow>
<mml:mrow>
<mml:mtext>Repilo</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></disp-formula></p>
<p>In the same way, the global RE must be calculated as the average of the REs for prays and repilo.
<disp-formula id="FD5">
<label>(5)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Global</mml:mi></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Prays</mml:mi></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Repilo</mml:mi></mml:mrow></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></disp-formula></p>
<p>In <xref ref-type="table" rid="t5-sensors-11-09136">Tables 5</xref> and <xref ref-type="table" rid="t6-sensors-11-09136">6</xref>, we can see the values taken by these accuracy parameters.</p>
<p>As can be observed in <xref ref-type="table" rid="t6-sensors-11-09136">Table 6</xref>, in the case of modeling with a reduced approximate KB, the parameters RE<sub>Glogal</sub> and SAE<sub>Global</sub> take low values (relatively close to zero), mainly if they are compared with their values in the case of modeling with a descriptive KB (see <xref ref-type="table" rid="t5-sensors-11-09136">Table 5</xref>), so much so that they are more than fifty nine times greater. Therefore, the use of the reduced approximate KB entails a small decrease in the accuracy of the modeling process, while the use of the descriptive KB entails an unacceptable degradation of the accuracy.
<list list-type="simple">
<list-item>
<p>(b). In each of the second and third experiments, we calculated 400,000 values of the AE parameter. Because this number is too large to be shown in a table, to be informative about the values of this parameter, we present the following:</p></list-item></list></p>
<p>First is the evolution of the sum of the AE for each state of a wide set of values (100) in the space of the photoperiod variable:
<list list-type="order">
<list-item>
<p>In the case of modeling prays.</p></list-item>
<list-item>
<p>In the case of modeling repilo.</p></list-item></list></p>
<p>Second, for some values of the photoperiod variable, the evolution of the AE for a wide set of states (4,000) in the space of temperature and humidity variables are shown:
<list list-type="order">
<list-item>
<p>In the case of modeling prays.</p></list-item>
<list-item>
<p>In the case of modeling repilo.</p></list-item></list></p>
<p>As can be observed in the previous figures, the use of the reduced approximate KB proposed entails a small decrease in the accuracy, which is limited to small regions of the input variable space (see <xref ref-type="fig" rid="f9-sensors-11-09136">Figures 9</xref>, <xref ref-type="fig" rid="f11-sensors-11-09136">11</xref>, <xref ref-type="fig" rid="f13-sensors-11-09136">13</xref> and <xref ref-type="fig" rid="f15-sensors-11-09136">15</xref>); otherwise, the use of the descriptive KB proposed entails a highest decrease in the accuracy that is widespread on extensive regions of the input variable space (see <xref ref-type="fig" rid="f8-sensors-11-09136">Figures 8</xref>, <xref ref-type="fig" rid="f10-sensors-11-09136">10</xref>, <xref ref-type="fig" rid="f12-sensors-11-09136">12</xref> and <xref ref-type="fig" rid="f14-sensors-11-09136">14</xref>). To evaluate the effect on battery consumption, two sets of measurements have been performed over each one of the FRBS proposed in the three experiments:
<list list-type="alpha-lower">
<list-item>
<p>The run time necessary to execute 400,000 continued inferences. The results obtained (<xref ref-type="table" rid="t7-sensors-11-09136">Table 7</xref>) show that the use of the approximate reduced KB versus the original KB saves approximately 25.64% in battery consumption. These rule reductions have been obtained without an appreciable lack of accuracy in modeling (RE = 0.47%).</p></list-item>
<list-item>
<p>The number of inferences and the battery consumption necessary to obtain a 5% discharge in the battery.</p></list-item></list></p>
<p>The results obtained (<xref ref-type="table" rid="t8-sensors-11-09136">Table 8</xref>) show that the use of the approximate reduced KB versus the original KB makes it possible to have an increase of 50% in the number of inferences.</p>
<p>From the analysis of the experimental results obtained, we notice that it has been possible to compose an optimized KB, adapted to model olive plagues, which generates a decrease in the FRBS run time (an increase in the inference rate) and a decrease in battery consumption (a decrease in the time of discharge in the battery sensor), without substantially decreasing the accuracy.</p></sec>
<sec sec-type="conclusions">
<label>5.</label>
<title>Conclusions</title>
<p>This work has presented a distributed architecture proposal for collaborative FRBSs embedded in WSNs, which has been designed to optimize the implementation of IS by means of WSNs. This architecture includes the following:
<list list-type="alpha-lower">
<list-item>
<p>A design of the inference engine adapted to achieve a high level of accuracy by means of the use of an approximate KB.</p></list-item>
<list-item>
<p>A visual interface to facilitate the generation of descriptive KBs with a large degree of interpretability in the linguistic rules.</p></list-item>
<list-item>
<p>A module to decrease the redundancy and the complexity of the KB without a substantial decrease in their completeness and consistency.</p></list-item>
<list-item>
<p>A module to evaluate the accuracy of the new reduced KB that is obtained.</p></list-item>
<list-item>
<p>A module that makes possible the transformation of descriptive KBs into approximate KBs, for the purpose of achieving a high level of accuracy beginning with rules that have a high degree of interpretability.</p></list-item>
<list-item>
<p>A communications protocol for the distribution of KBs, data and measures.</p></list-item></list></p>
<p>This architecture, the proposed methodologies of rule reduction and the evaluation of performances have been applied to the problem of modeling two plagues of the olive tree: the Prays and the Repilo.</p>
<p>The results have shown the effectiveness of the proposed structure for optimizing the execution of an FRBS embedded into a sensor. In this sense, we can observe that the use of a reduced approximate KB, obtained according to the proposed architecture, entails the following:
<list list-type="alpha-lower">
<list-item>
<p>A small decrease in the accuracy of the modeling process, and this decrease is limited to small regions of the input variable space.</p></list-item>
<list-item>
<p>A substantial decrease in FRBS run time (increasing the inference rate) and in battery consumption (decreasing the time for discharge of the sensor battery).</p></list-item></list></p>
<p>These results suggest that the architecture presented in this paper allows a decrease in the consumption of the resources required (memory, CPU and battery) by an FRBS embedded in a node of a WSN, without a substantial decrease in the accuracy of the inferred values.</p></sec></body>
<back>
<ack>
<p>This work was partially supported by the University of Jaén and Caja Rural de Jaén (Spain) (Project UJA2010/14/02).</p></ack>
<ref-list>
<title>References</title>
<ref id="b1-sensors-11-09136"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>J-H</given-names></name><name><surname>Hashimoto</surname><given-names>H</given-names></name></person-group><article-title>Intelligent space-concept and contents</article-title><source>Adv. Robot</source><year>2002</year><volume>16</volume><fpage>265</fpage><lpage>280</lpage><pub-id pub-id-type="doi">10.1163/156855302760121936</pub-id></citation></ref>
<ref id="b2-sensors-11-09136"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>J-H</given-names></name><name><surname>Morioka</surname><given-names>K</given-names></name><name><surname>Ando</surname><given-names>N</given-names></name><name><surname>Hashimoto</surname><given-names>H</given-names></name></person-group><article-title>Cooperation of distributed intelligent sensors in intelligent environment</article-title><source>IEEE ASME Trans. Mechatron</source><year>2004</year><volume>9</volume><fpage>535</fpage><lpage>543</lpage><pub-id pub-id-type="doi">10.1109/TMECH.2004.834655</pub-id></citation></ref>
<ref id="b3-sensors-11-09136"><label>3.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Trivedi</surname><given-names>M</given-names></name><name><surname>Huang</surname><given-names>K</given-names></name><name><surname>Mikic</surname><given-names>I</given-names></name></person-group><article-title>Dynamic context capture and distributed video arrays for intelligent spaces</article-title><source>IEEE Trans. Syst. Man Cybern. Part A</source><year>2005</year><volume>35</volume><fpage>145</fpage><lpage>163</lpage><pub-id pub-id-type="doi">10.1109/TSMCA.2004.838480</pub-id></citation></ref>
<ref id="b4-sensors-11-09136"><label>4.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Sasaki</surname><given-names>T</given-names></name><name><surname>Brscic</surname><given-names>D</given-names></name><name><surname>Hashimoto</surname><given-names>H</given-names></name></person-group><article-title>Implementation of Distributed Sensor Network for Intelligent Space</article-title><conf-name>Procedeedings of the ICM2007 4th IEEE International Conference on Mechatronics</conf-name><conf-loc>Kumamoto, Japan</conf-loc><conf-date>8–10 May 2007</conf-date><fpage>1</fpage><lpage>6</lpage></citation></ref>
<ref id="b5-sensors-11-09136"><label>5.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Sasaki</surname><given-names>T</given-names></name><name><surname>Hashimoto</surname><given-names>H</given-names></name></person-group><article-title>Design and Implementation of Distributed Sensor Network for Intelligent Space based on Robot Technology Components</article-title><conf-name>Proceedings of the HSI ’09 2nd Conference on Human System Interactions</conf-name><conf-loc>Piscataway, NJ, USA</conf-loc><conf-date>21–23 May 2009</conf-date><fpage>400</fpage><lpage>405</lpage></citation></ref>
<ref id="b6-sensors-11-09136"><label>6.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Temelkova</surname><given-names>S</given-names></name><name><surname>Paunkoska</surname><given-names>N</given-names></name><name><surname>Pavloski</surname><given-names>M</given-names></name><name><surname>Atanasovski</surname><given-names>V</given-names></name></person-group><article-title>Sensors and RFID Enabling Smart Space</article-title><conf-name>Proceedings of the 17th Telecommunications Forum TELFOR 2009</conf-name><conf-loc>Belgrade, Serbia</conf-loc><conf-date>24–26 November 2009</conf-date></citation></ref>
<ref id="b7-sensors-11-09136"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Song</surname><given-names>BY</given-names></name><name><surname>Tian</surname><given-names>GH</given-names></name><name><surname>Liu</surname><given-names>J</given-names></name><name><surname>Zhou</surname><given-names>FY</given-names></name><name><surname>Zhang</surname><given-names>YR</given-names></name></person-group><article-title>ZigBee wireless sensor networks based detection and help system for elderly abnormal behaviors in service robot intelligent space</article-title><source>Appl Mech Mater</source><year>2011</year><volume>48–49</volume><fpage>1378</fpage><lpage>1382</lpage></citation></ref>
<ref id="b8-sensors-11-09136"><label>8.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Chowdhry</surname><given-names>BS</given-names></name><name><surname>Shardha</surname><given-names>KK</given-names></name><name><surname>Naeem</surname><given-names>U</given-names></name><name><surname>Rajput</surname><given-names>AQ</given-names></name></person-group><article-title>Development of Wireless Sensor Networks for Smart Civil Structures and Highway Safety</article-title><conf-name>Proceedings of the IEEE International Conference on Signal Processing and Communications (ICSPC 2007)</conf-name><conf-loc>Dubai, UAE</conf-loc><conf-date>24–27 November 2007</conf-date><fpage>420</fpage><lpage>423</lpage></citation></ref>
<ref id="b9-sensors-11-09136"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akyildiz</surname><given-names>IK</given-names></name><name><surname>Su</surname><given-names>W</given-names></name><name><surname>Sankarasubramaniam</surname><given-names>Y</given-names></name><name><surname>Cyirci</surname><given-names>E</given-names></name></person-group><article-title>Wireless sensor networks: A survey</article-title><source>Comput. Netw</source><year>2002</year><volume>38</volume><fpage>393</fpage><lpage>422</lpage><pub-id pub-id-type="doi">10.1016/S1389-1286(01)00302-4</pub-id></citation></ref>
<ref id="b10-sensors-11-09136"><label>10.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Karl</surname><given-names>H</given-names></name><name><surname>Willig</surname><given-names>A</given-names></name></person-group><source>Protocols and Architectures for Wireless Sensor Networks</source><publisher-name>John Wiley and Sons</publisher-name><publisher-loc>Chichester, UK</publisher-loc><year>2007</year></citation></ref>
<ref id="b11-sensors-11-09136"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Canada-Bago</surname><given-names>J</given-names></name><name><surname>Fernandez-Prieto</surname><given-names>JA</given-names></name><name><surname>Gadeo-Martos</surname><given-names>MA</given-names></name><name><surname>Velasco</surname><given-names>JR</given-names></name></person-group><article-title>A new collaborative knowledge-based approach for wireless sensor networks</article-title><source>Sensors</source><year>2010</year><volume>10</volume><fpage>6044</fpage><lpage>6062</lpage><pub-id pub-id-type="doi">10.3390/s100606044</pub-id><pub-id pub-id-type="pmid">22219701</pub-id></citation></ref>
<ref id="b12-sensors-11-09136"><label>12.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Cordón</surname><given-names>O</given-names></name><name><surname>Herrera</surname><given-names>F</given-names></name><name><surname>Hoffmann</surname><given-names>F</given-names></name><name><surname>Magdalena</surname><given-names>L</given-names></name></person-group><source>Genetic Fuzzy Systems: Evolutionary Tuning and Learning of Fuzzy Knowledge Bases</source><person-group person-group-type="editor"><name><surname>Zadeh</surname><given-names>L</given-names></name><name><surname>Hirota</surname><given-names>K</given-names></name><name><surname>Klir</surname><given-names>G</given-names></name><name><surname>Sanchez</surname><given-names>E</given-names></name><name><surname>Wang</surname><given-names>P</given-names></name><name><surname>Yager</surname><given-names>R</given-names></name></person-group><publisher-name>World Scientific Publishing</publisher-name><publisher-loc>Singapore</publisher-loc><year>2001</year><volume>19</volume></citation></ref>
<ref id="b13-sensors-11-09136"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zadeh</surname><given-names>LA</given-names></name></person-group><article-title>Fuzzy sets</article-title><source>Inf. Control</source><year>1965</year><volume>8</volume><fpage>338</fpage><lpage>353</lpage><pub-id pub-id-type="doi">10.1016/S0019-9958(65)90241-X</pub-id></citation></ref>
<ref id="b14-sensors-11-09136"><label>14.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Cook</surname><given-names>DJ</given-names></name><name><surname>Das</surname><given-names>SK</given-names></name></person-group><source>Smart Environments: Technologies, Protocols, and Applications</source><comment>Wiley Series on Parallel and Distributed Computing;</comment><publisher-name>Wiley Interscience</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>2004</year></citation></ref>
<ref id="b15-sensors-11-09136"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Johanson</surname><given-names>B</given-names></name><name><surname>Fox</surname><given-names>A</given-names></name><name><surname>Winograd</surname><given-names>T</given-names></name></person-group><article-title>The interactive workspaces project: Experiences with ubiquitous computing rooms</article-title><source>IEEE Pervasive Comput. Mag</source><year>2002</year><volume>1</volume><fpage>67</fpage><lpage>74</lpage><pub-id pub-id-type="doi">10.1109/MPRV.2002.1012339</pub-id></citation></ref>
<ref id="b16-sensors-11-09136"><label>16.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Nishida</surname><given-names>Y</given-names></name><name><surname>Hori</surname><given-names>T</given-names></name><name><surname>Suehiro</surname><given-names>T</given-names></name><name><surname>Hirai</surname><given-names>S</given-names></name></person-group><article-title>Sensorized Environment for Self-Communication Based on Observation of Daily Human Behavior</article-title><conf-name>Proceedings of the 2000 IEEE/RSJ International Conference on Intelligent Robots and Systems</conf-name><conf-loc>Takamatsu, Japan</conf-loc><conf-date>30 October–5 November 2000</conf-date><volume>2</volume><fpage>1364</fpage><lpage>1372</lpage></citation></ref>
<ref id="b17-sensors-11-09136"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mynatt</surname><given-names>ED</given-names></name><name><surname>Melenhorst</surname><given-names>A-S</given-names></name><name><surname>Fisk</surname><given-names>A-D</given-names></name><name><surname>Rogers</surname><given-names>WA</given-names></name></person-group><article-title>Aware technologies for aging in place: Understanding user needs and attitudes</article-title><source>IEEE Pervasive Comput</source><year>2004</year><volume>3</volume><fpage>36</fpage><lpage>41</lpage><pub-id pub-id-type="doi">10.1109/MPRV.2004.1316816</pub-id></citation></ref>
<ref id="b18-sensors-11-09136"><label>18.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Mori</surname><given-names>T</given-names></name><name><surname>Hayama</surname><given-names>N</given-names></name><name><surname>Noguchi</surname><given-names>H</given-names></name><name><surname>Sato</surname><given-names>T</given-names></name></person-group><article-title>Informational Support in Distributed Sensor Environment Sensing Room</article-title><conf-name>Proceedings of the 13th IEEE International Workshop on Robot and Human Interactive Communication</conf-name><conf-loc>Kurashiki, Okayama, Japan</conf-loc><conf-date>20–22 September 2004</conf-date><fpage>353</fpage><lpage>358</lpage></citation></ref>
<ref id="b19-sensors-11-09136"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Niitsuma</surname><given-names>M</given-names></name><name><surname>Hashimoto</surname><given-names>H</given-names></name></person-group><article-title>Spatial memory as an aid system for human activity in intelligent space</article-title><source>IEEE Trans. Indust. Electron</source><year>2007</year><volume>54</volume><fpage>1122</fpage><lpage>1131</lpage><pub-id pub-id-type="doi">10.1109/TIE.2007.892730</pub-id></citation></ref>
<ref id="b20-sensors-11-09136"><label>20.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gorostiza</surname><given-names>EM</given-names></name><name><surname>Lázaro Galilea</surname><given-names>JL</given-names></name><name><surname>Meca Meca</surname><given-names>FJ</given-names></name><name><surname>Salido Monzú</surname><given-names>D</given-names></name><name><surname>Espinosa Zapata</surname><given-names>F</given-names></name><name><surname>Pallarés Puerto</surname><given-names>L</given-names></name></person-group><article-title>Infrared sensor system for mobile-robot positioning in intelligent spaces</article-title><source>Sensors</source><year>2011</year><volume>11</volume><fpage>5416</fpage><lpage>5438</lpage><pub-id pub-id-type="doi">10.3390/s110505416</pub-id><pub-id pub-id-type="pmid">22163907</pub-id></citation></ref>
<ref id="b21-sensors-11-09136"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pizarro</surname><given-names>D</given-names></name><name><surname>Mazo</surname><given-names>M</given-names></name><name><surname>Santiso</surname><given-names>E</given-names></name><name><surname>Marron</surname><given-names>M</given-names></name><name><surname>Jimenez</surname><given-names>D</given-names></name><name><surname>Cobreces</surname><given-names>S</given-names></name><name><surname>Losada</surname><given-names>C</given-names></name></person-group><article-title>Localization of mobile robots using odometry and an external vision sensor</article-title><source>Sensors</source><year>2010</year><volume>10</volume><fpage>3655</fpage><lpage>3680</lpage><pub-id pub-id-type="doi">10.3390/s100403655</pub-id><pub-id pub-id-type="pmid">22319318</pub-id></citation></ref>
<ref id="b22-sensors-11-09136"><label>22.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Iniesta</surname><given-names>C</given-names></name><name><surname>Botia</surname><given-names>J</given-names></name><name><surname>Ruiz</surname><given-names>P</given-names></name></person-group><article-title>Distribution of a Reasoning Engine over Wireless Sensor Networks</article-title><source>Highlights in Practical Applications of Agents and Multiagent Systems Advances in Intelligent and Soft Computing</source><publisher-name>Springer</publisher-name><publisher-loc>Berlin/Heidelberg, Germany</publisher-loc><year>2011</year><volume>89</volume><fpage>223</fpage><lpage>231</lpage></citation></ref>
<ref id="b23-sensors-11-09136"><label>23.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>Y</given-names></name><name><surname>Wang</surname><given-names>Z</given-names></name></person-group><article-title>Design of Intelligent Residential Lighting Control System Based on ZigBee Wireless Sensor Network and Fuzzy Controller</article-title><conf-name>Proceedings of the International Conference on Machine Vision and Human-Machine Interface (MVHI)</conf-name><conf-loc>Kaifeng, China</conf-loc><conf-date>24–25 April 2010</conf-date><fpage>561</fpage><lpage>564</lpage></citation></ref>
<ref id="b24-sensors-11-09136"><label>24.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Gracanin</surname><given-names>D</given-names></name><name><surname>Adams</surname><given-names>K</given-names></name><name><surname>Eltoweissy</surname><given-names>M</given-names></name></person-group><article-title>Data Replication in Collaborative Sensor Network Systems</article-title><conf-name>Proceedings of the 25th IEEE International Performance, Computing, and Communications Conference</conf-name><conf-loc>Phoenix, AZ, USA</conf-loc><conf-date>10–12 April 2006</conf-date><fpage>389</fpage><lpage>396</lpage></citation></ref>
<ref id="b25-sensors-11-09136"><label>25.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Marron</surname><given-names>PJ</given-names></name><name><surname>Minder</surname><given-names>D</given-names></name></person-group><article-title>Cooperating Objects Roadmap and Conclusions</article-title><source>Cooperating Embedded Systems and Wireless Sensor Networks</source><edition>1st ed</edition><person-group person-group-type="editor"><name><surname>Banatre</surname><given-names>M</given-names></name><name><surname>Marron</surname><given-names>PJ</given-names></name><name><surname>Ollero</surname><given-names>A</given-names></name><name><surname>Wolisz</surname><given-names>A</given-names></name></person-group><publisher-name>John Wiley and Sons, Inc</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>2008</year><fpage>405</fpage><lpage>411</lpage></citation></ref>
<ref id="b26-sensors-11-09136"><label>26.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Ollero</surname><given-names>A</given-names></name><name><surname>Wolisz</surname><given-names>A</given-names></name><name><surname>Banatre</surname><given-names>M</given-names></name></person-group><article-title>An Introduction of the Concept of Cooperating Objects and Sensor Networks</article-title><source>Cooperating Embedded Systems and Wireless Sensor Networks</source><edition>1st ed</edition><person-group person-group-type="editor"><name><surname>Banatre</surname><given-names>M</given-names></name><name><surname>Marron</surname><given-names>PJ</given-names></name><name><surname>Ollero</surname><given-names>A</given-names></name><name><surname>Wolisz</surname><given-names>A</given-names></name></person-group><publisher-name>John Wiley and Sons, Inc</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>2008</year><fpage>13</fpage><lpage>23</lpage></citation></ref>
<ref id="b27-sensors-11-09136"><label>27.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Marin-Perianu</surname><given-names>M</given-names></name><name><surname>Havinga</surname><given-names>P</given-names></name></person-group><article-title>A Distributed Fuzzy Logic Engine for Rule-Based Wireless Sensor Networks</article-title><conf-name>Proceeding of the 4th International Symposium on Ubiquitous Computing Systems</conf-name><conf-loc>Tokio, Japan</conf-loc><conf-date>25–28 November 2007</conf-date><fpage>86</fpage><lpage>101</lpage></citation></ref>
<ref id="b28-sensors-11-09136"><label>28.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mamdani</surname><given-names>EH</given-names></name></person-group><article-title>Applications of fuzzy algorithm for control a simple dynamic plant</article-title><source>Proc. IEEE</source><year>1974</year><volume>121</volume><fpage>1585</fpage><lpage>1588</lpage></citation></ref>
<ref id="b29-sensors-11-09136"><label>29.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Bardossy</surname><given-names>A</given-names></name><name><surname>Duckstein</surname><given-names>L</given-names></name></person-group><source>Fuzzy Rule-Based Modeling with Application to Geophysical, Biological and Engineering Systems</source><publisher-name>CRC Press</publisher-name><publisher-loc>Boca Raton, FL, USA</publisher-loc><year>1995</year></citation></ref>
<ref id="b30-sensors-11-09136"><label>30.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Cordón</surname><given-names>O</given-names></name><name><surname>Herrera</surname><given-names>F</given-names></name></person-group><article-title>A General Study on Genetic Fuzzy Systems</article-title><source>Genetic Algorithms in Engineering and Computer Science</source><person-group person-group-type="editor"><name><surname>Periaux</surname><given-names>J</given-names></name><name><surname>Winter</surname><given-names>G</given-names></name><name><surname>Galán</surname><given-names>M</given-names></name><name><surname>Cuesta</surname><given-names>P</given-names></name></person-group><publisher-name>John Wiley and Sons</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>1995</year><fpage>33</fpage><lpage>57</lpage></citation></ref>
<ref id="b31-sensors-11-09136"><label>31.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Carse</surname><given-names>B</given-names></name><name><surname>Fogarty</surname><given-names>TC</given-names></name><name><surname>Munro</surname><given-names>A</given-names></name></person-group><article-title>Evolving fuzzy rule based controllers using genetic algorithms</article-title><source>Fuzzy Sets Syst</source><year>1996</year><volume>80</volume><fpage>273</fpage><lpage>294</lpage><pub-id pub-id-type="doi">10.1016/0165-0114(95)00196-4</pub-id></citation></ref>
<ref id="b32-sensors-11-09136"><label>32.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Koczy</surname><given-names>L</given-names></name></person-group><article-title>Fuzzy if … then rule models and their transformation into one other</article-title><source>IEEE Trans. Syst. Man Cybern</source><year>1996</year><volume>26</volume><fpage>621</fpage><lpage>637</lpage><pub-id pub-id-type="doi">10.1109/3468.531909</pub-id></citation></ref>
<ref id="b33-sensors-11-09136"><label>33.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Driankov</surname><given-names>D</given-names></name><name><surname>Hellendoorrn</surname><given-names>H</given-names></name><name><surname>Reinfrank</surname><given-names>M</given-names></name></person-group><source>An Introduction to Fuzzy Control</source><publisher-name>Springer-Verlag</publisher-name><publisher-loc>Berlin/Heidelberg, Germany</publisher-loc><year>1993</year></citation></ref>
<ref id="b34-sensors-11-09136"><label>34.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>CC</given-names></name></person-group><article-title>Fuzzy logic in control systems: Fuzzy logic controller—Parts I and II</article-title><source>IEEE Trans Syst Man Cybern</source><year>1990</year><volume>20</volume><fpage>404</fpage><lpage>418</lpage><pub-id pub-id-type="doi">10.1109/21.52551</pub-id></citation></ref>
<ref id="b35-sensors-11-09136"><label>35.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Pedrycz</surname><given-names>W</given-names></name></person-group><source>Fuzzy Modelling: Paradigms and Practice</source><publisher-name>Springer</publisher-name><publisher-loc>Berlin, Germany</publisher-loc><year>1996</year></citation></ref>
<ref id="b36-sensors-11-09136"><label>36.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sugeno</surname><given-names>M</given-names></name><name><surname>Yasura</surname><given-names>T</given-names></name></person-group><article-title>A fuzzy-logic-based approach to qualitative modeling</article-title><source>IEEE Trans. Fuzzy Syst</source><year>1993</year><volume>1</volume><fpage>7</fpage><lpage>31</lpage><pub-id pub-id-type="doi">10.1109/TFUZZ.1993.390281</pub-id></citation></ref>
<ref id="b37-sensors-11-09136"><label>37.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Kaymak</surname><given-names>U</given-names></name><name><surname>Babuska</surname><given-names>R</given-names></name></person-group><article-title>Compatible Cluster Merging for Fuzzy Modeling</article-title><conf-name>Proceedings of the FUZZ-IEEE/IFES’95</conf-name><conf-loc>Yokohama, Japan</conf-loc><conf-date>20–24 March 1995</conf-date><fpage>897</fpage><lpage>904</lpage></citation></ref>
<ref id="b38-sensors-11-09136"><label>38.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname><given-names>C-T</given-names></name></person-group><article-title>Rule-base structure identification in an adaptive-networkbased fuzzy inference system</article-title><source>IEEE Trans. Fuzzy Syst</source><year>1994</year><volume>2</volume><fpage>64</fpage><lpage>73</lpage><pub-id pub-id-type="doi">10.1109/91.273127</pub-id></citation></ref>
<ref id="b39-sensors-11-09136"><label>39.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Song</surname><given-names>BG</given-names></name><name><surname>Marks</surname><given-names>RJ</given-names><suffix>II</suffix></name><name><surname>Oh</surname><given-names>S</given-names></name><name><surname>Arabshahi</surname><given-names>P</given-names></name><name><surname>Caudell</surname><given-names>TP</given-names></name><name><surname>Choi</surname><given-names>JJ</given-names></name></person-group><article-title>Adaptive Membership Function Fusion and Annihilation in Fuzzy If-Then Rules</article-title><conf-name>Proceedings of Second IEEE International Conference on Fuzzy Systems</conf-name><conf-loc>San Francisco, CA, USA</conf-loc><conf-date>28 March–1 April 1993</conf-date><volume>2</volume><fpage>961</fpage><lpage>967</lpage></citation></ref>
<ref id="b40-sensors-11-09136"><label>40.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yuan</surname><given-names>Y</given-names></name><name><surname>Zhuang</surname><given-names>H</given-names></name></person-group><article-title>A genetic algorithm for generating fuzzy classification rules</article-title><source>Fuzzy Sets Syst</source><year>1996</year><volume>84</volume><fpage>1</fpage><lpage>19</lpage><pub-id pub-id-type="doi">10.1016/0165-0114(95)00302-9</pub-id></citation></ref>
<ref id="b41-sensors-11-09136"><label>41.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Venturini</surname><given-names>G</given-names></name></person-group><article-title>SIA: A Supervised Inductive Algorithm with Genetic Search for Learning Attributes based Concepts</article-title><conf-name>Proceedings of the ECML ’93 European Conference on Machine Learning</conf-name><conf-loc>Vienna, Austria</conf-loc><conf-date>5–7 April 1993</conf-date><person-group person-group-type="editor"><name><surname>Brazdil</surname><given-names>P</given-names></name></person-group><publisher-name>Springer</publisher-name><publisher-loc>London, UK</publisher-loc><year>1993</year><volume>667</volume><fpage>280</fpage><lpage>296</lpage></citation></ref>
<ref id="b42-sensors-11-09136"><label>42.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Cordón</surname><given-names>O</given-names></name><name><surname>Herrera</surname><given-names>F</given-names></name></person-group><article-title>Identification of Linguistic Fuzzy Models by Means of Genetic Algorithms</article-title><source>Fuzzy Model Identification: Selected Approaches</source><person-group person-group-type="editor"><name><surname>Driankov</surname><given-names>D</given-names></name><name><surname>Hellendoorn</surname><given-names>H</given-names></name></person-group><publisher-name>Springer Verlag</publisher-name><publisher-loc>Berlin, Germany</publisher-loc><year>1997</year><fpage>215</fpage><lpage>250</lpage></citation></ref>
<ref id="b43-sensors-11-09136"><label>43.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cordón</surname><given-names>O</given-names></name><name><surname>del Jesus</surname><given-names>MJ</given-names></name><name><surname>Herrera</surname><given-names>F</given-names></name></person-group><article-title>Genetic learning of fuzzy rule-based classification systems cooperating with fuzzy reasoning methods</article-title><source>Int. J. Intell. Syst</source><year>1998</year><volume>13</volume><fpage>1025</fpage><lpage>1053</lpage><pub-id pub-id-type="doi">10.1002/(SICI)1098-111X(199810/11)13:10/11&lt;1025::AID-INT9&gt;3.0.CO;2-N</pub-id></citation></ref>
<ref id="b44-sensors-11-09136"><label>44.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Herrera</surname><given-names>F</given-names></name><name><surname>Lozano</surname><given-names>M</given-names></name><name><surname>Verdegay</surname><given-names>JL</given-names></name></person-group><article-title>A Learning process for fuzzy control rules using genetic algorithms</article-title><source>Fuzzy Sets Syst</source><year>1998</year><volume>100</volume><fpage>143</fpage><lpage>158</lpage><pub-id pub-id-type="doi">10.1016/S0165-0114(97)00043-2</pub-id></citation></ref>
<ref id="b45-sensors-11-09136"><label>45.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ishibuchi</surname><given-names>H</given-names></name><name><surname>Nozaki</surname><given-names>K</given-names></name><name><surname>Yamamoto</surname><given-names>N</given-names></name><name><surname>Tanaka</surname><given-names>H</given-names></name></person-group><article-title>Selecting fuzzy if-then rules for classification problems using genetic algorithms</article-title><source>IEEE Trans. Fuzzy Syst</source><year>1995</year><volume>3</volume><fpage>260</fpage><lpage>270</lpage><pub-id pub-id-type="doi">10.1109/91.413232</pub-id></citation></ref>
<ref id="b46-sensors-11-09136"><label>46.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Galea</surname><given-names>M</given-names></name><name><surname>Shen</surname><given-names>Q</given-names></name><name><surname>Levine</surname><given-names>J</given-names></name></person-group><article-title>Evolutionary approaches to fuzzy modelling for classification</article-title><source>Knowl. Eng. Rev</source><year>2004</year><volume>19</volume><fpage>27</fpage><lpage>59</lpage></citation></ref>
<ref id="b47-sensors-11-09136"><label>47.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cuevas-Martinez</surname><given-names>JC</given-names></name><name><surname>Gadeo-Martos</surname><given-names>MA</given-names></name><name><surname>Fernandez-Prieto</surname><given-names>JA</given-names></name><name><surname>Canada-Bago</surname><given-names>J</given-names></name><name><surname>Yuste-Delgado</surname><given-names>AJ</given-names></name></person-group><article-title>Wireless intelligent sensors management application protocol-WISMAP</article-title><source>Sensors</source><year>2010</year><volume>10</volume><fpage>8827</fpage><lpage>8849</lpage><pub-id pub-id-type="doi">10.3390/s101008827</pub-id><pub-id pub-id-type="pmid">22163383</pub-id></citation></ref>
<ref id="b48-sensors-11-09136"><label>48.</label><citation citation-type="other"><source>Sun SPOT</source><comment>Available online: <ext-link xlink:href="https://www.sunspotworld.com/" ext-link-type="uri">https://www.sunspotworld.com/</ext-link> (accessed on 28 July 2011).</comment></citation></ref>
<ref id="b49-sensors-11-09136"><label>49.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yick</surname><given-names>J</given-names></name><name><surname>Mukherjee</surname><given-names>B</given-names></name><name><surname>Ghosal</surname><given-names>D</given-names></name></person-group><article-title>Wireless sensor network survey</article-title><source>Comput. Netw</source><year>2008</year><volume>52</volume><fpage>2292</fpage><lpage>2330</lpage><pub-id pub-id-type="doi">10.1016/j.comnet.2008.04.002</pub-id></citation></ref>
<ref id="b50-sensors-11-09136"><label>50.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Karl</surname><given-names>H</given-names></name><name><surname>Willig</surname><given-names>A</given-names></name></person-group><source>Protocols and Architectures for Wireless Sensor Networks</source><publisher-name>John Wiley and Sons</publisher-name><publisher-loc>Chichester, UK</publisher-loc><year>2007</year></citation></ref>
<ref id="b51-sensors-11-09136"><label>51.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Montiel Bueno</surname><given-names>A</given-names></name></person-group><article-title>Factores de regulación de las poblaciones de Prays oleae (Bern.)</article-title><source>Bol. Serv. Plagas</source><year>1981</year><volume>7</volume><fpage>133</fpage><lpage>140</lpage></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-11-09136" position="float">
<label>Figure 1.</label>
<caption>
<p>Modular architecture.</p></caption>
<graphic xlink:href="sensors-11-09136f1.gif"/></fig>
<fig id="f2-sensors-11-09136" position="float">
<label>Figure 2.</label>
<caption>
<p>Basic structure of a Mamdani-FBRS embedded into a sensor.</p></caption>
<graphic xlink:href="sensors-11-09136f2.gif"/></fig>
<fig id="f3-sensors-11-09136" position="float">
<label>Figure 3.</label>
<caption>
<p>Membership functions of the input and output variable fuzzy sets defined in specific approximate rules for prays modeling.</p></caption>
<graphic xlink:href="sensors-11-09136f3.gif"/></fig>
<fig id="f4-sensors-11-09136" position="float">
<label>Figure 4.</label>
<caption>
<p>Membership functions of the inputs and output variable fuzzy sets defined in specific approximate rules for repilo modeling.</p></caption>
<graphic xlink:href="sensors-11-09136f4.gif"/></fig>
<fig id="f5-sensors-11-09136" position="float">
<label>Figure 5.</label>
<caption>
<p>Input fuzzy sets for prays modeling, in reduced KB.</p></caption>
<graphic xlink:href="sensors-11-09136f5.gif"/></fig>
<fig id="f6-sensors-11-09136" position="float">
<label>Figure 6.</label>
<caption>
<p>Input fuzzy sets for repilo modeling, in reduced KB.</p></caption>
<graphic xlink:href="sensors-11-09136f6.gif"/></fig>
<fig id="f7-sensors-11-09136" position="float">
<label>Figure 7.</label>
<caption>
<p>Membership functions of the input and output variable fuzzy sets included in common descriptive KB for prays and repilo modeling.</p></caption>
<graphic xlink:href="sensors-11-09136f7.gif"/></fig>
<fig id="f8-sensors-11-09136" position="float">
<label>Figure 8.</label>
<caption>
<p>The sum of the AE for different values of the photoperiod variable, in the case of modeling prays with a descriptive KB.</p></caption>
<graphic xlink:href="sensors-11-09136f8.gif"/></fig>
<fig id="f9-sensors-11-09136" position="float">
<label>Figure 9.</label>
<caption>
<p>The sum of the AE for different values of the photoperiod variable, in the case of modeling prays with a reduced approximate KB.</p></caption>
<graphic xlink:href="sensors-11-09136f9.gif"/></fig>
<fig id="f10-sensors-11-09136" position="float">
<label>Figure 10.</label>
<caption>
<p>The sum of the AE for different values of the photoperiod variable, in the case of modeling repilo with a descriptive KB.</p></caption>
<graphic xlink:href="sensors-11-09136f10.gif"/></fig>
<fig id="f11-sensors-11-09136" position="float">
<label>Figure 11.</label>
<caption>
<p>The sum of the AE for different values of the photoperiod variable, in the case of modeling repilo with a reduced approximate KB.</p></caption>
<graphic xlink:href="sensors-11-09136f11.gif"/></fig>
<fig id="f12-sensors-11-09136" position="float">
<label>Figure 12.</label>
<caption>
<p>The AE for different values of the temperature and humidity variables (considering photoperiod = 80%), in the case of modeling prays with a descriptive KB.</p></caption>
<graphic xlink:href="sensors-11-09136f12.gif"/></fig>
<fig id="f13-sensors-11-09136" position="float">
<label>Figure 13.</label>
<caption>
<p>The AE for different values of the temperature and humidity variables (considering photoperiod = 80%), in the case of modeling prays with a reduced approximate KB.</p></caption>
<graphic xlink:href="sensors-11-09136f13.gif"/></fig>
<fig id="f14-sensors-11-09136" position="float">
<label>Figure 14.</label>
<caption>
<p>The AE for different values of the temperature and humidity variables (considering photoperiod = 80%), in the case of modeling with a descriptive KB.</p></caption>
<graphic xlink:href="sensors-11-09136f14.gif"/></fig>
<fig id="f15-sensors-11-09136" position="float">
<label>Figure 15.</label>
<caption>
<p>The AE for different values of the temperature and humidity variables (considering photoperiod = 20%), in the case of modeling with a reduced approximate KB.</p></caption>
<graphic xlink:href="sensors-11-09136f15.gif"/></fig>
<table-wrap id="t1-sensors-11-09136" position="float">
<label>Table 1.</label>
<caption>
<p>Group of rules used to model prays (in specific and common KB).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Short Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Medium Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Long Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-11-09136" position="float">
<label>Table 2.</label>
<caption>
<p>Group of rules used to model repilo (in specific and common KB).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Short Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Medium Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Long Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table></table-wrap>
<table-wrap id="t3-sensors-11-09136" position="float">
<label>Table 3.</label>
<caption>
<p>Reduced group of rules used to model prays.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Short Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" rowspan="3" content-type="background-color:#FFDB69;color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" rowspan="2" content-type="background-color:#FFFF00;color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" rowspan="2" content-type="background-color:#DCE6F2;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" rowspan="2" content-type="background-color:#E6E0EC;color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Medium Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" rowspan="3" content-type="background-color:#FFDB69;color:#7030A0"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#DCE6F2;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#EBF1DE;color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Prays” with Long Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Prays Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#FFDB69;color:#7030A0"><bold>VS</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#DCE6F2;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" rowspan="2" content-type="background-color:#F2DCDB;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table></table-wrap>
<table-wrap id="t4-sensors-11-09136" position="float">
<label>Table 4.</label>
<caption>
<p>Reduced group of rules used to model repilo.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Short Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td colspan="3" align="center" valign="middle" content-type="background-color:#FFDB69;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#DCE6F2;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#DCE6F2;color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#EBF1DE;color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td colspan="2" align="center" valign="middle" content-type="background-color:#EBF1DE;color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Medium Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td colspan="3" align="center" valign="middle" content-type="background-color:#FFDB69;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table>
<table frame="box" rules="all">
<thead>
<tr>
<th colspan="7" align="center" valign="middle"><bold><italic>Group of rules used in the model of “Repilo” with Long Photoperiod</italic></bold></th></tr>
<tr>
<th align="center" valign="middle" content-type="color:#376092"><bold><italic>Repilo Alert</italic></bold></th>
<th colspan="6" align="center" valign="middle"><bold><italic>Temperature</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="4"><bold><italic>Humidity</italic></bold></td>
<td align="center" valign="middle"/>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VS</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>VL</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td>
<td colspan="3" align="center" valign="middle" content-type="background-color:#FFDB69;color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VS</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>M</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>S</bold></td></tr>
<tr>
<td align="center" valign="middle" content-type="color:#33CC33"><bold>L</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td>
<td colspan="3" align="center" valign="middle" content-type="background-color:#E6E0EC;color:#7030A0"><bold>VL</bold></td>
<td align="center" valign="middle" content-type="color:#7030A0"><bold>M</bold></td></tr></tbody></table></table-wrap>
<table-wrap id="t5-sensors-11-09136" position="float">
<label>Table 5.</label>
<caption>
<p>Accuracy parameters in the case of modeling with a descriptive KB.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"/>
<th align="center" valign="middle" content-type="background-color:#FFFFB2"><bold>Prays</bold></th>
<th align="center" valign="middle" content-type="background-color:#FFC285"><bold>Repilo</bold></th>
<th align="center" valign="middle" content-type="background-color:#E6EED5"><bold>Global</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" content-type="background-color:#C2D69B"><bold>SAE</bold></td>
<td align="center" valign="middle" content-type="background-color:#FFFFB2">29,110.95</td>
<td align="center" valign="middle" content-type="background-color:#FFC285">34,460.26</td>
<td align="center" valign="middle" content-type="background-color:#E6EED5">63,571.21</td></tr>
<tr>
<td align="center" valign="middle" content-type="background-color:#DBE5F1"><bold>RE (%)</bold></td>
<td align="center" valign="middle" content-type="background-color:#FFFFB2">25.09</td>
<td align="center" valign="middle" content-type="background-color:#FFC285">31.11</td>
<td align="center" valign="middle" content-type="background-color:#E6EED5">28.1</td></tr></tbody></table></table-wrap>
<table-wrap id="t6-sensors-11-09136" position="float">
<label>Table 6.</label>
<caption>
<p>Accuracy parameters in the case of modeling with a reduced approximate KB.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"/>
<th align="center" valign="middle" content-type="background-color:#FFFFB2"><bold>Prays</bold></th>
<th align="center" valign="middle" content-type="background-color:#FFC285"><bold>Repilo</bold></th>
<th align="center" valign="middle" content-type="background-color:#E6EED5"><bold>Global</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" content-type="background-color:#C2D69B"><bold>SAE</bold></td>
<td align="center" valign="middle" content-type="background-color:#FFFFB2">246.97</td>
<td align="center" valign="middle" content-type="background-color:#FFC285">828.25</td>
<td align="center" valign="middle" content-type="background-color:#E6EED5">1,075.22</td></tr>
<tr>
<td align="center" valign="middle" content-type="background-color:#DBE5F1"><bold>RE (%)</bold></td>
<td align="center" valign="middle" content-type="background-color:#FFFFB2">0.2</td>
<td align="center" valign="middle" content-type="background-color:#FFC285">0.75</td>
<td align="center" valign="middle" content-type="background-color:#E6EED5">0.475</td></tr></tbody></table></table-wrap>
<table-wrap id="t7-sensors-11-09136" position="float">
<label>Table 7.</label>
<caption>
<p>Comparison of performance considering different types of embedded FRBS.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"/>
<th colspan="5" align="center" valign="bottom">Execution of 400,000 continued inferences</th></tr>
<tr>
<th align="center" valign="middle">FBRS</th>
<th align="center" valign="middle" content-type="background-color:#DBE5F1">Time (ms)</th>
<th align="center" valign="middle" content-type="background-color:#DBE5F1">Increase (%)</th>
<th align="center" valign="middle" content-type="background-color:#FFFFB2">Consumption (mA)</th>
<th align="center" valign="middle" content-type="background-color:#FFFFB2">Increase (%)</th>
<th align="center" valign="middle" content-type="background-color:#EBF1DE">RE (%)</th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom" content-type="background-color:#F2DCDB">Approximate</td>
<td align="center" valign="bottom">64,455</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">1.95</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom" content-type="background-color:#EBF1DE">Descriptive</td>
<td align="center" valign="bottom">63,376</td>
<td align="center" valign="bottom">−1.67</td>
<td align="center" valign="bottom">1.92</td>
<td align="center" valign="bottom">−1.54</td>
<td align="center" valign="bottom">28.10</td></tr>
<tr>
<td align="center" valign="bottom" content-type="background-color:#E6E0EC">Approximate Reduced</td>
<td align="center" valign="bottom">47,549</td>
<td align="center" valign="bottom">−26.23</td>
<td align="center" valign="bottom">1.45</td>
<td align="center" valign="bottom">−25.64</td>
<td align="center" valign="bottom">0.47</td></tr></tbody></table></table-wrap>
<table-wrap id="t8-sensors-11-09136" position="float">
<label>Table 8.</label>
<caption>
<p>Comparison of the number of necessary inferences to produce a 5% discharge in battery.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"/>
<th colspan="4" align="center" valign="bottom">Number of necessary inferences to produce a 5% discharge in battery</th></tr>
<tr>
<th align="center" valign="middle">FBRS</th>
<th align="center" valign="middle" content-type="background-color:#DBE5F1">Number of inferences</th>
<th align="center" valign="middle" content-type="background-color:#FFFFB2">Battery Consumption (mA)</th>
<th align="center" valign="middle" content-type="background-color:#FFFFB2">Increase in number of inferences (%)</th>
<th align="center" valign="middle" content-type="background-color:#EBF1DE">Number of rules</th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom" content-type="background-color:#F2DCDB">Approximate</td>
<td align="center" valign="bottom">7,200,000</td>
<td align="center" valign="bottom">33.69</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">90</td></tr>
<tr>
<td align="center" valign="bottom" content-type="background-color:#EBF1DE">Descriptive</td>
<td align="center" valign="bottom">8,000,000</td>
<td align="center" valign="bottom">32.20</td>
<td align="center" valign="bottom">11.1</td>
<td align="center" valign="bottom">90</td></tr>
<tr>
<td align="center" valign="bottom" content-type="background-color:#E6E0EC">Approximate Reduced</td>
<td align="center" valign="bottom">10,800,000</td>
<td align="center" valign="bottom">33.29</td>
<td align="center" valign="bottom">50</td>
<td align="center" valign="bottom">66</td></tr></tbody></table></table-wrap></sec></back></article>
