Categories: Publications
      Date: Feb  1, 2011
     Title: A Self-Adapting Algorithm for Context Aware Systems

T. Cioara, I. Anghel, I. Salomie, M. Dinsoreanu, G. Copil, D. Moldovan – A Self-Adapting Algorithm for Context Aware Systems,  in the Proceedings of the 9th IEEE RoEduNet International Conference,  June 2010, Sibiu, Romania, pp. 374 – 379,  ISBN: 978-1-4244-7335-9 , IEEE INDEXED, Link



This paper presents a self-adapting algorithm that can automatically detect the changes in a system execution context and decide how the system should react. The self-adapting algorithm is characterized by a closed feedback loop with four phases: monitoring, analyzing, planning and execution. The monitoring phase uses the RAP (Resources, Actions, Policies) context model to represent in a programmatic manner the raw data collected about the system's self and execution environment. In the analysis phase, the context entropy concept is used to evaluate the context situation for detecting the context changes and determining the degree of respecting a predefined set of policies. The planning phase uses a reinforcement learning based technique to explore all possible system's states and select the adaptation action that should be executed by the system as a response to the context changes. The execution phase modifies the system behavior by enforcing the adaptation actions selected in the planning phase.