A Hybrid Autonomic Computing-Based Approach to Distributed Constraint Satisfaction Problems
<p>An example Graph G with communication and visibility edges between the sensor and mobile nodes: dashed edges represent a solution to SensorCSP (CSP, constraint satisfaction problem) in this graph (adapted from Bejar <span class="html-italic">et al</span>. [<a href="#B22-computers-04-00002" class="html-bibr">22</a>]).</p> "> Figure 2
<p>An illustration of the environment, reactive rules and entities (ERE) model used (Adapted from Liu <span class="html-italic">et al</span>. [<a href="#B10-computers-04-00002" class="html-bibr">10</a>]).</p> "> Figure 3
<p>An illustration of different moves in the ERE model.</p> "> Figure 4
<p>Flow diagram of the algorithm.</p> "> Figure 5
<p>Structure of the chromosome.</p> "> Figure 6
<p>Snapshot of the model running the ERE algorithm.</p> "> Figure 7
<p>Mobile sensor network generated: red nodes are mobiles, whereas blue nodes are sensor nodes.</p> "> Figure 8
<p>Violated constraint values <span class="html-italic">vs</span>. iterations runs.</p> "> Figure 9
<p>Comparison of unsatisfied constraints between randomly-parametrized ERE and genetically-optimized ERE.</p> "> Figure 9 Cont.
<p>Comparison of unsatisfied constraints between randomly-parametrized ERE and genetically-optimized ERE.</p> "> Figure 10
<p>Fitness value (time to run ERE) <span class="html-italic">vs</span>. generations for the genetic algorithm.</p> "> Figure 11
<p>Variation in execution time <span class="html-italic">vs</span>. probability of a <span class="html-italic">random move</span> for a distinct number of better-moves before a <span class="html-italic">least move</span>.</p> ">
Abstract
:1. Introduction
2. Related Work
2.1. Constraint Satisfaction Problem and Its Variations
2.2. SensorDSCP
2.3. Environment, Reactive Rules and Entities Algorithm
2.4. Model Construction
- (1)
- For each sensor node si, there is a tracking mobile node mj; the mobile node mj in si, where zi denotes the set of mobile nodes within the range of si.
- (2)
- Let N be the set of all sensor nodes tracking a mobile, and then, all nodes present in N must be compatible with each other.
- (3)
- Each mobile must be tracked with exactly k sensor nodes within its range. k is an input parameter to the model and may vary depending on the network.
2.5. Termination
Algorithm 1: Pseudocode of the adopted ERE algorithm [10] |
iteration=0; |
Assign the entities’, namely sensor and mobile nodes, initial positions. ; |
Assign mobile node positions and violation values pertaining to sensor position and the monitored mobile; |
DCSP Model | Sensor-Centered Approach |
---|---|
Agents | Sensors |
Variables | Mobiles |
Intra-agent | Only one mobile per sensor |
Inter-agent | k communicating sensors per mobile |
3. Material and Methods
3.1. Optimization Using Genetic Algorithm
3.1.1. Structure of a Chromosome
3.1.2. Parameters Used in the Developed Model
Parameter | Value |
---|---|
Number of Mobile Nodes (q) | 4 |
Number of Sensor Nodes (n) | 23 |
Transmission Range | 3.096 cm |
No. of Communicating Sensors Required (k) | 3 |
Parameter | Value |
---|---|
Population Size | 20 |
Mutation Probability | 0.1 |
Crossover Probability | 0.8 |
Maximum Generations | 100 |
Elitism | 1 |
4. Results and Discussion
4.1. Variation of the Constraints Violated
4.2. Implementation of the Genetic Algorithm for Parameter Optimization
Serial No. | Number of Better-Moves | Probability of Random Move | Time (s) |
---|---|---|---|
1 | 2 | 0.01211132 | 1.067 |
2 | 4 | 0.01194915 | 0.148 |
3 | 3 | 0.01227836 | 0.206 |
4 | 1 | 0.03812959 | 0.294 |
5 | 3 | 0.01582020 | 0.235 |
6 | 2 | 0.06199995 | 0.372 |
7 | 5 | 0.04419600 | 0.277 |
4.3. Comparison of the Performance of the ERE System with Genetically-Determined Parameters
Randomly-Parametrized ERE System | Genetically-Optimized ERE System | |||||
---|---|---|---|---|---|---|
Serial No. | Probability of random- moves | Number of better- moves | Maximum percentage of satisfied constraints | Probability of random- moves | Number of better- moves | Maximum percentage of satisfied constraints |
1 | 0.15496815 | 4 | 95.23 | 0.01211132 | 2 | 100 |
2 | 0.42432100 | 1 | 86.36 | 0.01194915 | 1 | 100 |
3 | 0.10984850 | 2 | 91.49 | 0.01227836 | 2 | 100 |
4 | 0.16187531 | 4 | 95.65 | 0.03812959 | 1 | 100 |
5 | 0.17335061 | 3 | 89.47 | 0.01582020 | 3 | 100 |
6 | 0.18202485 | 4 | 90.90 | 0.06199995 | 2 | 100 |
7 | 0.0441960 | 5 | 90.00 | 0.04419600 | 5 | 100 |
4.4. Average Fitness of the ERE System from each Successive Generation of the Genetic Algorithm
4.5. Variation in Execution Time Corresponding to the Probability of Random-Moves
5. Conclusions
Acknowledgments
Author Contributions
A. Appendix
A.1. Model Functioning Guidelines
Entities and State Variables
Entities | Variables/Characteristics | Description |
---|---|---|
Mobile Nodes | p-x | x coordinate of the mobile node. |
p-y | y coordinate of the mobile node. | |
sensors-in-range | All sensors within its specified range. | |
tracking-nodes-count | Current node numbers of the sensor nodes tracking it. | |
Sensor Nodes | p-x | x coordinate of the sensor node. |
p-y | y coordinate of the sensor node. | |
mobiles-in-range | All mobiles within its specified range. | |
Network | num-sensors | Number of sensor nodes in the simulated wireless network. |
num-mobiles | Number of mobile nodes in the simulated wireless network. | |
transmission-range | The transmission for the communication of nodes in the network. | |
k-communicating-sensors | Number of sensor nodes required to track a mobile node within its range. | |
ERE Algorithm | probability-random | The probability of a random move. |
number-of-better-moves | The number of better-moves before a least move. | |
overall-constraints | The number unsatisfied at the present state of the algorithm running. |
Initialization
Sub-Models
Process Overview and Scheduling
- As the sub-model executes, the sensor nodes consequently determine the mobile node to track with the system, checking whether or not all sensors are at zero positions after all sensors are allowed to move.
- The execution will terminate when a solution with no unsatisfied constraints is obtained. Otherwise, the sub-model will continue to dispatch sensors to move, updating the intermediate solution thus found.
- The plot for the variation of unsatisfied constraints presently is updated after each time step, while the execution of “step” is underway.
How to Use This Model
- Press “setup” to create the wireless sensor tracking system, thereby assigning each sensor and mobile node a randomly-generated position in accordance with the given network parameters.
- Press “initialize” to simulate the ERE environment, with sensor and mobile nodes placed along the rows, while mobiles are along the columns in the autonomous system.
- Press “step” to the start the ERE algorithm to solve the given distributed CSP for the wireless network.
- Press “network” to view the wireless tracking system with the sensor and mobile nodes at their specified positions.
- The num-sensors slider specifies the number of sensor nodes in the wireless sensor tracking system.
- The num-mobiles slider decides how many mobiles nodes will be present in the simulated network.
- The transmission-range slider is used to specify the transmission range for the communication of nodes in the network.
- The k-communicating-sensors slider represents exactly the number of sensor nodes each mobile must be tracked by within its range.
- The probability-random specifies the probability of random move in the ERE algorithm. It may be determined by the user or by using the genetic algorithm with the help of R.
- The number-of-better-moves denotes the number of better moves performed by an entity before a least move. This can be also computed optimally for the given network by using the genetic algorithm.
Conflicts of Interest
References
- Ferber, J. Multi-Agent Systems: An Introduction to Distributed Artificial Intelligence; Addison-Wesley Reading: Boston, MA, USA, 1999; Volume 1. [Google Scholar]
- Yokoo, M. Asynchronous weak-commitment search for solving distributed constraint satisfaction problems. In Principles and Practice of Constraint Programming: CP’95; Springer: Berlin, Germany, 1995; pp. 88–102. [Google Scholar]
- Yokoo, M.; Durfee, E.H.; Ishida, T.; Kuwabara, K. The distributed constraint satisfaction problem: Formalization and algorithms. IEEE Trans. Knowl. Data Eng. 1998, 10, 673–685. [Google Scholar] [CrossRef]
- Yokoo, M.; Hirayama, K. Algorithms for distributed constraint satisfaction: A review. Auton. Agents Multi-Agent Syst. 2000, 3, 185–207. [Google Scholar] [CrossRef]
- Silaghi, M.C.; Sam-Haroud, D.; Faltings, B. ABT with asynchronous reordering. In Proc. Of Intelligent Agent Technology (IAT); World Scientific Publishing: Singapore, 2001; pp. 54–63. [Google Scholar]
- Silaghi, M.C.; Sam-Haroud, D.; FALTINGS, B. Asynchronous consistency maintenance. In Proceedings of the International Conference on Intelligent Agent Technology, Maebashi TERRSA, Maebashi City, Japan, 23–26 October 2001; pp. 98–102.
- Silaghi, M.C.; Sam-haroud, D.; Faltings, B. Secure asynchronous search. In Proceedings of the International Conference on Intelligent Agent Technology (IAT’01), Maebashi TERRSA, Maebashi City, Japan, 23–26 October 2001; pp. 400–404.
- Ruttkay, Z. Constraint satisfaction-a survey. CWI Q. 1998, 11, 163–214. [Google Scholar]
- Yokoo, M.; Ishida, T.; Durfee, E.H.; Kuwabara, K. Distributed constraint satisfaction for formalizing distributed problem solving. In Proceedings of the IEEE 12th International Conference on Distributed Computing Systems, Yokohama, Japan, 9–12 June 1992; pp. 614–621.
- Liu, J.; Jin, X.; Tsui, K.C. Autonomy Oriented Computing: From Problem Solving to Complex Systems Modeling; Springer: New York, NY, USA, 2005. [Google Scholar]
- Fernàndez, C.; Béjar, R.; Krishnamachari, B.; Gomes, C. Communication and computation in distributed CSP algorithms. In Principles and Practice of Constraint Programming-CP 2002; Springer: Berlin, Germany, 2002; pp. 664–679. [Google Scholar]
- Zhao, C.; Zhong, N.; Hao, Y. AOC-by-Self-discovery Modeling and Simulation for HIV. In Life System Modeling and Simulation; Springer: Berlin, Germany, 2007; pp. 462–469. [Google Scholar]
- Sycara, K.; Roth, S.F.; Sadeh, N.; Fox, M.S. Distributed constrained heuristic search. IEEE Trans. Syst. Man Cybern. 1991, 21, 1446–1461. [Google Scholar] [CrossRef]
- Mason, C.L.; Johnson, R.R. DATMS: A framework for distributed assumption based reasoning. In Distributed Artificial Intelligence; Morgan Kaufmann Publishers Inc.: Burlington, MA, USA, 1989; Volume 2, pp. 293–317. [Google Scholar]
- Doyle, J. A truth maintenance system. Artif. Intell. 1979, 12, 231–272. [Google Scholar] [CrossRef]
- Huhns, M.N.; Bridgeland, D.M. Multiagent truth maintenance. IEEE Trans. Syst. Man Cybern. 1991, 21, 1437–1445. [Google Scholar] [CrossRef]
- Conry, S.E.; Kuwabara, K.; Lesser, V.R.; Meyer, R.A. Multistage negotiation for distributed constraint satisfaction. IEEE Trans. Syst. Man Cybern. 1991, 21, 1462–1477. [Google Scholar] [CrossRef]
- Bond, A.H.; Gasser, L. An analysis of problems and research in DAI. In Readings in DAI; Morgan Kaufmann Publishers: San Francisco, CA, USA, 1988. [Google Scholar]
- Russell, S.; Norvig, P.; Intelligence, A. A modern approach. In Artificial Intelligence; Prentice-Hall: Egnlewood Cliffs, NJ, USA, 1995; Volume 25. [Google Scholar]
- Mackworth, A.K.; Freuder, E.C. The complexity of some polynomial network consistency algorithms for constraint satisfaction problems. Artif. Intell. 1985, 25, 65–74. [Google Scholar] [CrossRef]
- Kirkpatrick, D.G.; Hell, P. On the complexity of general graph factor problems. SIAM J. Comput. 1983, 12, 601–609. [Google Scholar] [CrossRef]
- Bejar, R.; Krishnamachari, B.; Gomes, C.; Selman, B. Distributed constraint satisfaction in a wireless sensor tracking system. In Proceedings of the Workshop on Distributed Constraint Reasoning, International Joint Conference on Artificial Intelligence, Seattle, WA, USA, 4 August 2001.
- Gutowitz, H. Cellular Automata: Theory and Experiment; MIT Press: Cambridge, MA, USA, 1991; Volume 45. [Google Scholar]
- Liu, J.; Tang, Y.Y.; Cao, Y. An evolutionary autonomous agents approach to image feature extraction. IEEE Trans. Evolut. Comput. 1997, 1, 141–158. [Google Scholar] [CrossRef]
- Gu, J. Efficient local search for very large-scale satisfiability problems. ACM SIGART Bull. 1992, 3, 8–12. [Google Scholar] [CrossRef]
- Gordon, D.M. 10 What We Don’t Know about the Evolution of Cooperation. In Cooperation and Its Evolution; MIT Press: Cambridge, MA, USA, 2013; p. 195. [Google Scholar]
- Belew, R.K.; McInerney, J.; Schraudolph, N.N. Evolving networks: Using the genetic algorithm with connectionist learning. In Citeseer; Addison-Wesley: Boston, MA, USA, 1990; pp. 511–547. [Google Scholar]
- Tisue, S.; Wilensky, U. Netlogo: A simple environment for modeling complexity. In Proceedings of the International Conference on Complex Systems, Boston, MA, USA, 16–21 May 2004; pp. 16–21.
- Matsumoto, M.; Nishimura, T. Mersenne twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Trans. Model. Comput. Simul. (TOMACS) 1998, 8, 3–30. [Google Scholar] [CrossRef]
- Scrucca, L. GA: A package for genetic algorithms in R. J. Stat. Softw. 2012, 53, 1–37. [Google Scholar]
- Statistical Package, R. R: A language and environment for statistical computing. R Foundation for Statistical Computing: Vienna, Austria, 2009. [Google Scholar]
© 2015 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bhatia, A.; Singh, A.; Goyal, R. A Hybrid Autonomic Computing-Based Approach to Distributed Constraint Satisfaction Problems. Computers 2015, 4, 2-23. https://doi.org/10.3390/computers4010002
Bhatia A, Singh A, Goyal R. A Hybrid Autonomic Computing-Based Approach to Distributed Constraint Satisfaction Problems. Computers. 2015; 4(1):2-23. https://doi.org/10.3390/computers4010002
Chicago/Turabian StyleBhatia, Abhishek, Amandeep Singh, and Rinkaj Goyal. 2015. "A Hybrid Autonomic Computing-Based Approach to Distributed Constraint Satisfaction Problems" Computers 4, no. 1: 2-23. https://doi.org/10.3390/computers4010002