SlideShare a Scribd company logo
QUALITY-AWARE APPROACH FOR
ENGINEERING SELF-ADAPTIVE SOFTWARE
SYSTEMS
Mohammed Abufouda
Department of Computer Science,
Technical University of Kaiserslautern, Kaiserslautern, Germany
abufouda@cs.uni-kl.de

ABSTRACT
Self-adaptivity allows software systems to autonomously adjust their behavior during run-time to reduce
the cost complexities caused by manual maintenance. In this paper, an approach for building an external
adaptation engine for self-adaptive software systems is proposed. In order to improve the quality of selfadaptive software systems, this research addresses two challenges in self-adaptive software systems. The
first challenge is managing the complexity of the adaptation space efficiently and the second is handling the
run-time uncertainty that hinders the adaptation process. This research utilizes Case-based Reasoning as
an adaptation engine along with utility functions for realizing the managed system’s requirements and
handling uncertainty.

KEYWORDS
Software Quality, Model-Driven Software, Self-adaptive Software Systems, Case-based Reasoning,
Run-time Uncertainty

1. INTRODUCTION
The majority of the existing work in the literature agrees [1][2] that self-adaptivity in software
systems is the ability of a software system to adjust its behaviour during run time to handle
software system's complexity and maintenance costs [3] while preserving the requirement of the
system. This property dictates the presence of an adaptation mechanism in order to build the logic
of self-adaptivity without human intervention. Developing a self-adaptive software system is
subjected to many challenges like handling the complexity of the adaptation space of the
managed system. This complexity is conceived when the number of the states that the managed
system can run in is relatively large. Also, this complexity manifests itself when new states are
needed to be inferred from previous one i.e. learning from past experience. Another challenge is
the uncertainty that hinders the adaption process during run-time. This paper will address these
challenges.More precisely, our framework is concerned with the following problems:
•

Adaptation responsible unit: The majority of the existing work do not provide a modular
separation between the adaptation engine and the managed system. Embedding the
adaptation logic within the managed system components increases the complexity in the
development process of a self-adaptive software system. This also limits the reusability of
the work achieved in one application to other applications or domains.

David C. Wyld et al. (Eds) : CST, ITCS, JSE, SIP, ARIA, DMS - 2014
pp. 173–181, 2014. © CS & IT-CSCP 2014

DOI : 10.5121/csit.2014.4117
174

Computer Science & Information Technology (CS & IT)

•

Run-time uncertainty handling: Uncertainty is a challenge that exists not only in selfadaptive software systems but also in the entire software engineering field on different
levels. Therefore managing uncertainty is an essential issue in constructing a selfadaptive software system as uncertainty hinders the adaptation process if it is not handled
and diminished.

•

Adaptation space: The adaptation process raises a performance challenge if the
adaptation space is relatively large, particularly when new adaptations are required to be
inferred. This challenge requires an efficient mechanism that guarantees learning new
adaptations as well as providing the adaptation with satisfactory performance. This means
that the adaptation engine's response should be provided as soon as an adaptation is
issued since late adaptations provided by the adaptation engine could be futile.

The rest of this paper is structured as follows: Section 2 lists the related work and the existing
gabs in the literature. Section 3 shows the expected contributions of our research and Section4
describesour proposed solution and its model. Section 5 and Section 6 contains the progress and
the future of our research, in particular the evaluation. This paper concludes in Section 7.

2. RELATED WORK
The body of literature in the area of self-adaptivity has provideda plethora of frameworks,
approaches and techniques to enhance self-adaptivity that is widespread in many fields.This
section contains the related work to our research. In the following sections, we will present the
related work categorized according to the mechanisms used to support self-adaptivity.

2.1 Learning based adaptation
Salehie and Tahvildari [2] proposed a framework for realizing the deciding process performed by
an external adaptation engine. They usedknowledge base to capture the managed system's
information namely domain information, goals and utility information. This is used in the
decision-making algorithm, as they name it, which is responsible for providing the adaptation
decision. In [5], Kim and Park provided a reinforcement learning-based approach for architecturebased self-managed software using both on-line and off-line learning. FUSION [6], was proposed
by Elkhodary et al. to solve the problem of foreseeing the changes in environment, which hinders
the adaptation during run time for feature-based systems using a machine learning technique. In
[7], Mohamed-Hedi et al. provided a self-healing approach to enhance the reliability of web
services.A simple experiment was used to validate their approach without empirical evidence.

2.2 Architecture & model based adaptation
RAINBOW [8] is a famous contribution in the area of self-adaptation based on architectural
infrastructures reuse. RAINBOW monitors the managed system using abstract architectural
models to detect any constraints violation. GRAF [9] was proposed for engineering self-adaptive
software systems. The communication between the managed system and GRAF framework is
carried out via interfaces. This approach has a performance overhead because GRAF reproduces a
new adaptable version of the managed system. Similar to GRAF [9] Vogel and Giese [10]
assumed that adaptation can be performed in two ways, parameter adaptation and structural
adaptation. They provided three steps to resolve structural adaptation and used a self-healing web
application as an example. Morin et al. [11] presented an architectural based approach for
realizing software adaptivity using model-driven and aspect oriented techniques. The aim of this
approach was to reduce the complexities of the system by providing architectural adaptation
based solution. They provided model-oriented architectures and aspect models for feature
Computer Science & Information Technology (CS & IT)

175

designing and selection. Khakpour et al. [12] provided PobSAM, a model-based approach that is
used to monitor, control and adapt the system behaviour using LTL to check the correctness of
adaptation. Asadollahi et al.[13] presented StarMX framework for realizing self-management for
Java-based applications. In their work they provided so called autonomic manager, which is an
adaptation engine that encapsulates the adaptation logic. Adaptation logic was implemented by
arbitrary policy-rule language. StarMX uses JMX and policy engines to enable self-management.
Policies were used to represent the adaptation behaviour. This framework is restricted to Javabased application as the definition of processes is carried out by implementing certain Java
interfaces in the policy manager. They evaluated their framework against some quality attribute.
However, their evaluation for quality attributes was not quantified quantitatively.The work in [14]
provided a new formal language for representing self-adaptivity for architecture-based selfadaptation. This language was used as an extension of the RAINBOW framework [8]. This work
explains the use of this new language using an adaptation selection example that incorporate
some stakeholders' interests in the selection process of the provided service which represents the
adaptive service.Bontchev et al. [15] provides a software engine for adaptable process controlling
and adaptable web-based delivered content. Their work reuses the functionality of the existing
component in order to realize self-adaptivity in architecture-based systems. This work contains
only the proposed solution and the implementation without experiment and evaluation.

2.3 Middleware based adaptation
In [16], a prototype for seat adaptation was provided. This prototype uses a middleware to support
an adaptive behaviour. This approach was restricted to the seat adaptation which is controlled by
a software system. Adapta framework [17] was presented as a middleware that enabled selfadaptivity for components in distributed applications. The monitoring service in Adapta
monitored both hardware and software changes.

2.4 Fuzzy control based adaptation
Yang et al. [18] proposed a fuzzy-based self-adaptive software framework. The framework has
three layers: (1) Adaptation logic layer, (2) Adaptable system layer, which is the managed system
and (3) Software Bus. The adaptation logic layer represents the adaptation engine that includes
the fuzzy rule-base, fuzzification and de-fuzzification components. This framework has a set of
design steps in order to implement the adaptation. POISED [19] introduced a probabilistic
approach for handling uncertainty in self-adaptive software systems by providing positive and
negative impacts of uncertainty. An evaluation experiment had been applied which showed that
POISED provided an accepted adaptation decision under uncertainty. The limitations of this
approach are that it handles only internal uncertainty and does not memorize and utilize previous
adaptation decisions.

2.5 Programming framework based adaptation
Narebdra et al. [20] proposed programming model and run time architecture for implementing
adaptive service oriented. It was done via a middleware that solves the problem of static binding
of services. The adaptation space in this work is limited to three situations that require adaptation
of services. MOSES approach was proposed in the work [21] to provide self-adaptivity for SOA
systems. The authors used linear programming problem for formulating and solving the adaptivity
problem as a model-based framework. MOSES aimed to improve the QoS for SOA, and the work
in [21] provides a numerical experiment to test their approach. QoSMOS [22] provided a toolsupported framework to improve the QoS for the service based systems in adaptive and predictive
manner.The work in [23] provided an implementation of architecture-based self-adaptive
software using aspect oriented programming. They used a web-based system as an experiment to
176

Computer Science & Information Technology (CS & IT)

test their implementation. Their experiment showed that the response time of the self-adaptive
implementation is better than the original implementation without a self-adaptivity mechanism.
Liu and Parashar [24] provided Accord, which is a programming framework that facilitates
realizing self-adaptivity in self-managed applications. The usage of this framework was
illustrated using forest fire management application.
Table 1, which is similar to what proposed in [4] , summarizes the related work done in this
research. The table has two aspects of comparison (1) Research aspects and (2) Self-adaptivity
aspect. The earlier aspect is important and represent an indication regarding the maturity and
creditability of the research. The later aspect is related to the topic of this paper.
Table 1: Summary of related work

3. RESEARCH CONTRIBUTION
In this research, we realize self-adaptivity in software system by providing an external adaptation
engine which reduces the changes in the managed system and subsequently in the entire selfadaptive system. Our approach utilizes Case-based Reasoning (CBR) [25] as an external
adaptation engine in order to overcome the aforementioned challenges. Specifically, this research
proposes a framework that we claim it addresses the following challenges:
•

Separating the managed system and the adaptation engine in a modular fashion in order
to overcome the drawbacks of embedding the self-adaptivity logic within the managed
system. This idea is one of the key ideas in the IBM autonomic element [26] which
suggests a modular separation between the managed system and the adaptation engine.

•

Managing the complexity of adaptation space by remembering the previously achieved
adaptations stored in a knowledge base, which improves the performance of the
Computer Science & Information Technology (CS & IT)

177

adaptation process.The remembrance supports not only the complexity of the adaptation
space, but also the performance of the adaptation engine. That is because recalling
already existing adaption is better than constructing it from scratch in terms of
performance.
•

Handling the run-time uncertainty that appears in the adaptation process due to the
managed system's environment changes or our framework's internal model. We utilize
and incorporate the probability theory and the utility functions as proposed in [27].

4. PROPOSED SOLUTION
In this section, an overview of our proposed solution will be presented. Figure 1 shows a
reference model of our solution that will be described in the following sections.

4.1. External adaptation engine
The adaptation engine containsan adaptation mediator, which is responsible for:
•

Monitoring the managed system by reading its attributes to decide whether an adaptation
is required or not. We suppose that the managed system provides a service with overall
utility U. If U is below or is approaching a predefined utility threshold i.e. "UT", then the
monitoring unit issues an adaptation process. The adaptation request is the set of the
managed system attribute values at the time of issuing the adaptation. Consequently, the
adaptation request is sent to the adaptation engine to perform the adaptation process.

•

Executing the adaptation response received by the adaptation engine. The adaptation
response is the result of the adaptation process performed by the adaptation engine, which
is the corrective state to be applied on the managed system.

In addition to the adaptation mediator, the adaptation engine embraces a Case-based reasoning
engine. Typically, CBR life cycle consists of four stages:
1. Retrieve: The CBR system retrieves the most similar case(s) from the Knowledge Base (KB)
by applying the similarity measures on the request case.
2. Reuse (Adapt): In this stage, CBR employs the information of the retrievedcases. If the
retrieved cases are not sufficient in themselves to solve the query case, the CBR engine
adapts this/these case/s to generate a new solution. Some of the common techniques for
reusing and adapting the retrieved knowledge are introduced in [28]. Our approach uses
Generative Adaptation [29], which requires some heuristics e.g. utility functions, to provide
an efficient adaptation process.
3. Revise: A revision of the new solution is important to make sure that it satisfiesthe goals of
the managed system. Revision process can be done by applying the adaptation response to
real world, evaluate it by the domain expert or by simulation approaches.
178

Computer Science & Information Technology (CS & IT)

Figure 1: Reference modle for the proposed solution

4. Retain: In this stage, the new generated cases are saved in the knowledge base. Case-Based
Learning (CBL) have been introduced in [30] to provide algorithms and approaches for the
retain process.
In our model, the case is a set of attributes that represents the attributes of the managed system.
For example, if one attribute of the managed system causes a UT break, then the adaptation
engine should alter the value of this attribute in order to provide the required utility.In our
solution we incorporate the utility functions for capturing the requirements of the managed
system. Also, utility function is used to judge the quality of the cases stored in the KB and
generated by the adaptation engine.
Algorithm 1 abstracts the adaptation process of our solution, where β is a predefined level of the
accepted similarity and QAF is the qualified adaptation frame, a set of cases that have the
potential to be used directly as an adaptation response or as basis for adaptation.Case Expediency
is a measure for the usefulness of a case, and this measure uses the similarity of the case beside its
utility.
Computer Science & Information Technology (CS & IT)

179

Algorithm 1: Adaptation process algorithm
A

4.2.Uncertainty quantification
Uncertainty
We follow the uncertainty quantification approach in [31], where uncertainty has three
inty
dimensions:
•

The Location of uncertainty: Where the uncertainty manifests in the system.

•

The Level of uncertainty: A variation between deterministic level and total ignorance.
This means that uncertainty about one attribute of the system can take a value between
one and zero.

•

The Nature of uncertainty: Whether the cause of uncertainty is variability or lack of
knowledge in the uncertainty meant attribute of the system.

Based on [32], uncertainty in self-adaptive software systems can be found in three places,
self
an
namely: System requirement, system design and architecture, and run-time. In our solution, we
,
run
focused on run-time uncertainty by quantifying it based on the aforesaid three dimensions.
dimension

5. PROGRESS AND CURRENT STATUS
A prototypical implementation of the solution has been done. This implementation includes the
integration of the CBR engine with utility functions. The implementation also includes the
generative adaptation of the adaptation responses. Moreover, uncertainty analysis and
quantification are provided in this implementation paving the way for handling uncertainty during
run-time. The three dimensions of the uncertainty [31] has been modelled and implemented.
e
180

Computer Science & Information Technology (CS & IT)

6. FUTURE DIRECTION AND EVALUATION
For future direction, firstly, we will use a case study to empirically evaluate and validate our
approach. The case study i.e. the managed system, should require the self-adaptivity mechanism
that performs well under run-time uncertainty. Secondly, we will evaluate the results of the case
study application. The evaluation will be based on software quality metrics and GQM [33]. We
expect that the experimentation of our solution will provide a positive potential results for both
handling the uncertainty and the complexity of adaptation space. However, we do not have a clue
regarding the response time of the adaptation engine, the results will reveal this issue.

7. CONCLUSION
In this paper, we have presented our research for realizing self-adaptivity in software systems. We
started by showing the gabs in the research and the expected contributions of the research. Also,
we have presented details about the solution model and the used technology, Case-based
reasoning. The progress of the work was presented along with the future directions. This paper
ended with our vision of the evaluation process of the solution.

REFERENCES
[1]
[2]

[3]
[4]

[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]

[15]
[16]

B. H. Cheng and others, “Software Engineering for Self-Adaptive Systems,” Springer-Verlag, 2009,
pp. 1-26.
M. Salehie and L. Tahvildari, “A Quality-Driven Approach to Enable Decision-Making in SelfAdaptive Software,” in Companion to the proceedings of the 29th International Conference on
Software Engineering, 2007.
M. Salehie and L. Tahvildari, “Self-adaptive software: Landscape and research challenges,” ACM
Transactions on Autonomous and Adaptive Systems (TAAS) , 2009.
D. a. I. M. U. a. S. M. a. A. J. Weyns, “Claims and Supporting Evidence for Self-adaptive Systems :
A Literature Study,” in Software Engineering for Adaptive and Self-Managing Systems, SEAMS,
2012.
D. Kim and S. Park, “Reinforcement learning-based dynamic adaptation planning method for
architecture-based self-managed software,” in SEAMS '09. ICSE Workshop on, 2009.
A. Elkhodary, N. Esfahani and S. Malek, “FUSION: a framework for engineering self-tuning selfadaptive software systems,” in Proceedings of the 18 ACM SIGSOFT international symposium, 2010.
M.-H. Karray, C. Ghedira and Z. Maamar, “Towards a Self-Healing Approach to Sustain Web
Services Reliability,” in AINA Workshops'11, 2011.
D. Garlan and others, “Rainbow: architecture-based self-adaptation with reusable infrastructure,”
Computer, pp. 46-54, 2004.
M. Derakhshanmanesh, M. Amoui, G. O'Grady, J. Ebert and L. Tahvildari, “GRAF: graph-based
runtime adaptation framework,” 2011.
T. Vogel and H. Giese, “Adaptation and abstract runtime models,” in Proceedings of the 2010 ICSE
Workshop on Software Engineering for Adaptive and Self-Managing Systems, 2010.
B. Morin, O. Barais, J.-M. Jezequel, F. Fleurey and A. Solberg, “Models@ Run.time to Support
Dynamic Adaptation,” Computer, vol. 42, no. 10, pp. 44-51, #oct# 2009.
N. Khakpour, R. Khosravi, M. Sirjani and S. Jalili, “Formal analysis of policy-based self-adaptive
systems,” 2010.
R. Asadollahi, M. Salehie and L. Tahvildari, “StarMX: A framework for developing self-managing
Java-based systems,” in SEAMS, 2009.
S.-W. Cheng, D. Garlan and B. Schmerl, “Architecture-based self-adaptation in the presence of
multiple objectives,” in Proceedings of the 2006 international workshop on Self-adaptation and selfmanaging systems, 2006.
B. Bontchev, D. Vassileva, B. Chavkova and V. Mitev, “Architectural design of a software engine for
adaptation control in the ADOPTA e-learning platform,” 2009
G. Bertolotti, A. Cristiani, R. Lombardi, M. Ribarić, N. Tomašević and M. Stanojević, “Self-Adaptive
Prototype for Seat Adaption,” in SASOW Fourth IEEE International Conference, 2010.
Computer Science & Information Technology (CS & IT)

181

[17] M. A. S. Sallem and F. J. da Silva e Silva, “Adapta: a framework for dynamic reconfiguration of
distributed applications,” in Proceedings (ARM '06), 2006.
[18] Q. Yang and others, “Toward a fuzzy control-based approach to design of self-adaptive software,” in
Proce. of the 2nd Asia-Pacific Symposium on Internetware, 2010.
[19] N. Esfahani, E. Kouroshfar and S. Malek, “Taming uncertainty in self-adaptive software,” in
Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on
Foundations of software engineering, 2011.
[20] N. C. Narendra and U. Bellur, “A middleware for adaptive service orientation in pervasive computing
environments,” 2010.
[21] V. Cardellini, E. Casalicchio, V. Grassi, F. Lo Presti and R. Mirandola, “Qos-driven runtime
adaptation of service oriented architectures,” 2009.
[22] R. Calinescu, L. Grunske, M. Kwiatkowska, R. Mirandola and G. Tamburrelli, “Dynamic QoS
Management and Optimization in Service-Based Systems,” IEEE Trans. Softw. Eng., vol. 37, no. 3,
pp. 387-409, #may# 2011.
[23] Y. Wu, Y. Wu, X. Peng and W. Zhao, “Implementing Self-Adaptive Software Architecture by
Reflective Component Model and Dynamic AOP: A Case Study,” in QSIC'10, 2010.
[24] H. Liu, M. Parashar and S. Member, “Accord: A Programming Framework for Autonomic
Applications,” IEEE Transactions on Systems, Man and Cybernetics, Special Issue on Engineering
Autonomic Systems, vol. 36, pp. 341-352, 2006.
[25] A. Aamodt and E. Plaza, “Case-based reasoning; Foundational issues, methodological variations, and
system approaches,” AI COMMUNICATIONS, vol. 7, no. 1, pp. 39-59, 1994.
[26] IBM, “An architectural blueprint for autonomic computing,” IBM Corporation, 2005.
[27] S. J. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 2 ed., Pearson Education,
2003.
[28] W. Wilke and R. Bergmann, “Techniques and Knowledge Used for Adaptation During Case-Based
Problem Solving,” 1998.
[29] E. Plaza and J. L. Arcos, “Constructive Adaptation,” in Proceedings of the 6th European Conference
on Advances in Case-Based Reasoning, 2002.
[30] D. W. Aha, “Case-Based Learning Algorithms,” 1991.
[31] W. Walker and others, “Defining uncertainty: a conceptual basis for uncertainty management in
model-based decision support,” Integrated Assessment, 2003.
[32] A. a. J. A. a. C. B. H. C. Ramirez, “A taxonomy of uncertainty for dynamically adaptive systems,”
Software Engineering for Adaptive and Self-Managing Systems (SEAMS), 2012 ICSE, pp. 99-108,
2012.
[33] R. van Solingen, V. Basili, G. Caldiera and H. D. Rombach, “Goal Question Metric (GQM)
Approach,” in Encyclopedia of Software Engineering, 2002.

AUTHOR
Mohammed Abufouda received the BSc. in Computer Engineering from Islamic University, Palestine in
2006 and the MSc. degree in computer science from Technical University of Kaiserslautern, Germany, in
2013. He is a PhD candidate at Technical University of Kaiserslautern in computer science department. His
research interests includes software engineering and complex system analysis.

More Related Content

PDF
Ijetcas14 340
PDF
Contributors to Reduce Maintainability Cost at the Software Implementation Phase
PDF
Investigation of quality and functional risk
PDF
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
PDF
Ijsea04021003
PDF
An Elite Model for COTS Component Selection Process
PDF
Experiences in shift left test approach
PDF
A Review on Quality Assurance of Component- Based Software System
Ijetcas14 340
Contributors to Reduce Maintainability Cost at the Software Implementation Phase
Investigation of quality and functional risk
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
Ijsea04021003
An Elite Model for COTS Component Selection Process
Experiences in shift left test approach
A Review on Quality Assurance of Component- Based Software System

What's hot (19)

PDF
A methodology to evaluate object oriented software systems using change requi...
PDF
Ijartes v2-i1-001Evaluation of Changeability Indicator in Component Based Sof...
PDF
STATISTICAL ANALYSIS FOR PERFORMANCE COMPARISON
PDF
IRJET- Development Operations for Continuous Delivery
PPT
Sa 006 modifiability
PDF
Integrating profiling into mde compilers
PDF
A Runtime Evaluation Methodology and Framework for Autonomic Systems
PDF
STRUCTURAL VALIDATION OF SOFTWARE PRODUCT LINE VARIANTS: A GRAPH TRANSFORMATI...
PDF
THE UNIFIED APPROACH FOR ORGANIZATIONAL NETWORK VULNERABILITY ASSESSMENT
PDF
An Investigation of Fault Tolerance Techniques in Cloud Computing
PPTX
Softwarearchitecture in practice unit1 2
PDF
Adapting Applications on the Fly
PDF
Identification & analysis of parameters for program quality improvement a ree...
PDF
A FRAMEWORK FOR ASPECTUAL REQUIREMENTS VALIDATION: AN EXPERIMENTAL STUDY
PDF
SOFTWARE REQUIREMENT CHANGE EFFORT ESTIMATION MODEL PROTOTYPE TOOL FOR SOFTWA...
PDF
PRODUCT QUALITY EVALUATION METHOD (PQEM): TO UNDERSTAND THE EVOLUTION OF QUAL...
PDF
Ijcatr04051006
PDF
Effect of refactoring on software quality
PPT
Ian Sommerville, Software Engineering, 9th EditionCh 8
A methodology to evaluate object oriented software systems using change requi...
Ijartes v2-i1-001Evaluation of Changeability Indicator in Component Based Sof...
STATISTICAL ANALYSIS FOR PERFORMANCE COMPARISON
IRJET- Development Operations for Continuous Delivery
Sa 006 modifiability
Integrating profiling into mde compilers
A Runtime Evaluation Methodology and Framework for Autonomic Systems
STRUCTURAL VALIDATION OF SOFTWARE PRODUCT LINE VARIANTS: A GRAPH TRANSFORMATI...
THE UNIFIED APPROACH FOR ORGANIZATIONAL NETWORK VULNERABILITY ASSESSMENT
An Investigation of Fault Tolerance Techniques in Cloud Computing
Softwarearchitecture in practice unit1 2
Adapting Applications on the Fly
Identification & analysis of parameters for program quality improvement a ree...
A FRAMEWORK FOR ASPECTUAL REQUIREMENTS VALIDATION: AN EXPERIMENTAL STUDY
SOFTWARE REQUIREMENT CHANGE EFFORT ESTIMATION MODEL PROTOTYPE TOOL FOR SOFTWA...
PRODUCT QUALITY EVALUATION METHOD (PQEM): TO UNDERSTAND THE EVOLUTION OF QUAL...
Ijcatr04051006
Effect of refactoring on software quality
Ian Sommerville, Software Engineering, 9th EditionCh 8
Ad

Viewers also liked (13)

PDF
krosl prelom ANG cd
PPT
4º Mónica tiene talento con su forma de ser - ceip san carlos del valle - 2...
PPTX
Camino didactico
PPTX
Igry mmo rpg
PPTX
חזון ראש העיר בפני חברי המועצה 11.12.13
PDF
Cv paulo vinicius de campos
PPTX
Club freebike
PDF
Life-long Learning: Italia lontana dagli standard europei
PPT
Happy new year 2014
PPTX
【圖書館行政實習】圖書館講座:外行人看廣告
PDF
Research on the mobile robots intelligent path planning based on ant colony a...
PDF
economic_letter_2014
krosl prelom ANG cd
4º Mónica tiene talento con su forma de ser - ceip san carlos del valle - 2...
Camino didactico
Igry mmo rpg
חזון ראש העיר בפני חברי המועצה 11.12.13
Cv paulo vinicius de campos
Club freebike
Life-long Learning: Italia lontana dagli standard europei
Happy new year 2014
【圖書館行政實習】圖書館講座:外行人看廣告
Research on the mobile robots intelligent path planning based on ant colony a...
economic_letter_2014
Ad

Similar to Quality aware approach for engineering self-adaptive software systems (20)

PDF
QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS
PDF
Adapting Software Components Dynamically for the Grid
PDF
Dynamically Adapting Software Components for the Grid
PDF
Design patterns for self adaptive systems
PDF
A model for run time software architecture adaptation
DOCX
Software requirement analysis enhancements byprioritizing re
PDF
An Adjacent Analysis of the Parallel Programming Model Perspective: A Survey
PDF
1841 1843
PDF
1841 1843
PDF
AN INVESTIGATION OF THE MONITORING ACTIVITY IN SELF ADAPTIVE SYSTEMS
PDF
Benchmarking machine learning techniques
PDF
26 7956 8212-1-rv software (edit)
PDF
26 7956 8212-1-rv software (edit)
PDF
Autonomic Computing and Self Healing Systems
PDF
I017345357
PDF
MODEL DRIVEN WEB APPLICATION DEVELOPMENT WITH AGILE PRACTICES
PDF
From the Art of Software Testing to Test-as-a-Service in Cloud Computing
PDF
FROM THE ART OF SOFTWARE TESTING TO TEST-AS-A-SERVICE IN CLOUD COMPUTING
PDF
A Defect Prediction Model for Software Product based on ANFIS
PDF
A Defect Prediction Model for Software Product based on ANFIS
QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS
Adapting Software Components Dynamically for the Grid
Dynamically Adapting Software Components for the Grid
Design patterns for self adaptive systems
A model for run time software architecture adaptation
Software requirement analysis enhancements byprioritizing re
An Adjacent Analysis of the Parallel Programming Model Perspective: A Survey
1841 1843
1841 1843
AN INVESTIGATION OF THE MONITORING ACTIVITY IN SELF ADAPTIVE SYSTEMS
Benchmarking machine learning techniques
26 7956 8212-1-rv software (edit)
26 7956 8212-1-rv software (edit)
Autonomic Computing and Self Healing Systems
I017345357
MODEL DRIVEN WEB APPLICATION DEVELOPMENT WITH AGILE PRACTICES
From the Art of Software Testing to Test-as-a-Service in Cloud Computing
FROM THE ART OF SOFTWARE TESTING TO TEST-AS-A-SERVICE IN CLOUD COMPUTING
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
KodekX | Application Modernization Development
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Electronic commerce courselecture one. Pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation theory and applications.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KodekX | Application Modernization Development
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
sap open course for s4hana steps from ECC to s4
Electronic commerce courselecture one. Pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation theory and applications.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf

Quality aware approach for engineering self-adaptive software systems

  • 1. QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS Mohammed Abufouda Department of Computer Science, Technical University of Kaiserslautern, Kaiserslautern, Germany abufouda@cs.uni-kl.de ABSTRACT Self-adaptivity allows software systems to autonomously adjust their behavior during run-time to reduce the cost complexities caused by manual maintenance. In this paper, an approach for building an external adaptation engine for self-adaptive software systems is proposed. In order to improve the quality of selfadaptive software systems, this research addresses two challenges in self-adaptive software systems. The first challenge is managing the complexity of the adaptation space efficiently and the second is handling the run-time uncertainty that hinders the adaptation process. This research utilizes Case-based Reasoning as an adaptation engine along with utility functions for realizing the managed system’s requirements and handling uncertainty. KEYWORDS Software Quality, Model-Driven Software, Self-adaptive Software Systems, Case-based Reasoning, Run-time Uncertainty 1. INTRODUCTION The majority of the existing work in the literature agrees [1][2] that self-adaptivity in software systems is the ability of a software system to adjust its behaviour during run time to handle software system's complexity and maintenance costs [3] while preserving the requirement of the system. This property dictates the presence of an adaptation mechanism in order to build the logic of self-adaptivity without human intervention. Developing a self-adaptive software system is subjected to many challenges like handling the complexity of the adaptation space of the managed system. This complexity is conceived when the number of the states that the managed system can run in is relatively large. Also, this complexity manifests itself when new states are needed to be inferred from previous one i.e. learning from past experience. Another challenge is the uncertainty that hinders the adaption process during run-time. This paper will address these challenges.More precisely, our framework is concerned with the following problems: • Adaptation responsible unit: The majority of the existing work do not provide a modular separation between the adaptation engine and the managed system. Embedding the adaptation logic within the managed system components increases the complexity in the development process of a self-adaptive software system. This also limits the reusability of the work achieved in one application to other applications or domains. David C. Wyld et al. (Eds) : CST, ITCS, JSE, SIP, ARIA, DMS - 2014 pp. 173–181, 2014. © CS & IT-CSCP 2014 DOI : 10.5121/csit.2014.4117
  • 2. 174 Computer Science & Information Technology (CS & IT) • Run-time uncertainty handling: Uncertainty is a challenge that exists not only in selfadaptive software systems but also in the entire software engineering field on different levels. Therefore managing uncertainty is an essential issue in constructing a selfadaptive software system as uncertainty hinders the adaptation process if it is not handled and diminished. • Adaptation space: The adaptation process raises a performance challenge if the adaptation space is relatively large, particularly when new adaptations are required to be inferred. This challenge requires an efficient mechanism that guarantees learning new adaptations as well as providing the adaptation with satisfactory performance. This means that the adaptation engine's response should be provided as soon as an adaptation is issued since late adaptations provided by the adaptation engine could be futile. The rest of this paper is structured as follows: Section 2 lists the related work and the existing gabs in the literature. Section 3 shows the expected contributions of our research and Section4 describesour proposed solution and its model. Section 5 and Section 6 contains the progress and the future of our research, in particular the evaluation. This paper concludes in Section 7. 2. RELATED WORK The body of literature in the area of self-adaptivity has provideda plethora of frameworks, approaches and techniques to enhance self-adaptivity that is widespread in many fields.This section contains the related work to our research. In the following sections, we will present the related work categorized according to the mechanisms used to support self-adaptivity. 2.1 Learning based adaptation Salehie and Tahvildari [2] proposed a framework for realizing the deciding process performed by an external adaptation engine. They usedknowledge base to capture the managed system's information namely domain information, goals and utility information. This is used in the decision-making algorithm, as they name it, which is responsible for providing the adaptation decision. In [5], Kim and Park provided a reinforcement learning-based approach for architecturebased self-managed software using both on-line and off-line learning. FUSION [6], was proposed by Elkhodary et al. to solve the problem of foreseeing the changes in environment, which hinders the adaptation during run time for feature-based systems using a machine learning technique. In [7], Mohamed-Hedi et al. provided a self-healing approach to enhance the reliability of web services.A simple experiment was used to validate their approach without empirical evidence. 2.2 Architecture & model based adaptation RAINBOW [8] is a famous contribution in the area of self-adaptation based on architectural infrastructures reuse. RAINBOW monitors the managed system using abstract architectural models to detect any constraints violation. GRAF [9] was proposed for engineering self-adaptive software systems. The communication between the managed system and GRAF framework is carried out via interfaces. This approach has a performance overhead because GRAF reproduces a new adaptable version of the managed system. Similar to GRAF [9] Vogel and Giese [10] assumed that adaptation can be performed in two ways, parameter adaptation and structural adaptation. They provided three steps to resolve structural adaptation and used a self-healing web application as an example. Morin et al. [11] presented an architectural based approach for realizing software adaptivity using model-driven and aspect oriented techniques. The aim of this approach was to reduce the complexities of the system by providing architectural adaptation based solution. They provided model-oriented architectures and aspect models for feature
  • 3. Computer Science & Information Technology (CS & IT) 175 designing and selection. Khakpour et al. [12] provided PobSAM, a model-based approach that is used to monitor, control and adapt the system behaviour using LTL to check the correctness of adaptation. Asadollahi et al.[13] presented StarMX framework for realizing self-management for Java-based applications. In their work they provided so called autonomic manager, which is an adaptation engine that encapsulates the adaptation logic. Adaptation logic was implemented by arbitrary policy-rule language. StarMX uses JMX and policy engines to enable self-management. Policies were used to represent the adaptation behaviour. This framework is restricted to Javabased application as the definition of processes is carried out by implementing certain Java interfaces in the policy manager. They evaluated their framework against some quality attribute. However, their evaluation for quality attributes was not quantified quantitatively.The work in [14] provided a new formal language for representing self-adaptivity for architecture-based selfadaptation. This language was used as an extension of the RAINBOW framework [8]. This work explains the use of this new language using an adaptation selection example that incorporate some stakeholders' interests in the selection process of the provided service which represents the adaptive service.Bontchev et al. [15] provides a software engine for adaptable process controlling and adaptable web-based delivered content. Their work reuses the functionality of the existing component in order to realize self-adaptivity in architecture-based systems. This work contains only the proposed solution and the implementation without experiment and evaluation. 2.3 Middleware based adaptation In [16], a prototype for seat adaptation was provided. This prototype uses a middleware to support an adaptive behaviour. This approach was restricted to the seat adaptation which is controlled by a software system. Adapta framework [17] was presented as a middleware that enabled selfadaptivity for components in distributed applications. The monitoring service in Adapta monitored both hardware and software changes. 2.4 Fuzzy control based adaptation Yang et al. [18] proposed a fuzzy-based self-adaptive software framework. The framework has three layers: (1) Adaptation logic layer, (2) Adaptable system layer, which is the managed system and (3) Software Bus. The adaptation logic layer represents the adaptation engine that includes the fuzzy rule-base, fuzzification and de-fuzzification components. This framework has a set of design steps in order to implement the adaptation. POISED [19] introduced a probabilistic approach for handling uncertainty in self-adaptive software systems by providing positive and negative impacts of uncertainty. An evaluation experiment had been applied which showed that POISED provided an accepted adaptation decision under uncertainty. The limitations of this approach are that it handles only internal uncertainty and does not memorize and utilize previous adaptation decisions. 2.5 Programming framework based adaptation Narebdra et al. [20] proposed programming model and run time architecture for implementing adaptive service oriented. It was done via a middleware that solves the problem of static binding of services. The adaptation space in this work is limited to three situations that require adaptation of services. MOSES approach was proposed in the work [21] to provide self-adaptivity for SOA systems. The authors used linear programming problem for formulating and solving the adaptivity problem as a model-based framework. MOSES aimed to improve the QoS for SOA, and the work in [21] provides a numerical experiment to test their approach. QoSMOS [22] provided a toolsupported framework to improve the QoS for the service based systems in adaptive and predictive manner.The work in [23] provided an implementation of architecture-based self-adaptive software using aspect oriented programming. They used a web-based system as an experiment to
  • 4. 176 Computer Science & Information Technology (CS & IT) test their implementation. Their experiment showed that the response time of the self-adaptive implementation is better than the original implementation without a self-adaptivity mechanism. Liu and Parashar [24] provided Accord, which is a programming framework that facilitates realizing self-adaptivity in self-managed applications. The usage of this framework was illustrated using forest fire management application. Table 1, which is similar to what proposed in [4] , summarizes the related work done in this research. The table has two aspects of comparison (1) Research aspects and (2) Self-adaptivity aspect. The earlier aspect is important and represent an indication regarding the maturity and creditability of the research. The later aspect is related to the topic of this paper. Table 1: Summary of related work 3. RESEARCH CONTRIBUTION In this research, we realize self-adaptivity in software system by providing an external adaptation engine which reduces the changes in the managed system and subsequently in the entire selfadaptive system. Our approach utilizes Case-based Reasoning (CBR) [25] as an external adaptation engine in order to overcome the aforementioned challenges. Specifically, this research proposes a framework that we claim it addresses the following challenges: • Separating the managed system and the adaptation engine in a modular fashion in order to overcome the drawbacks of embedding the self-adaptivity logic within the managed system. This idea is one of the key ideas in the IBM autonomic element [26] which suggests a modular separation between the managed system and the adaptation engine. • Managing the complexity of adaptation space by remembering the previously achieved adaptations stored in a knowledge base, which improves the performance of the
  • 5. Computer Science & Information Technology (CS & IT) 177 adaptation process.The remembrance supports not only the complexity of the adaptation space, but also the performance of the adaptation engine. That is because recalling already existing adaption is better than constructing it from scratch in terms of performance. • Handling the run-time uncertainty that appears in the adaptation process due to the managed system's environment changes or our framework's internal model. We utilize and incorporate the probability theory and the utility functions as proposed in [27]. 4. PROPOSED SOLUTION In this section, an overview of our proposed solution will be presented. Figure 1 shows a reference model of our solution that will be described in the following sections. 4.1. External adaptation engine The adaptation engine containsan adaptation mediator, which is responsible for: • Monitoring the managed system by reading its attributes to decide whether an adaptation is required or not. We suppose that the managed system provides a service with overall utility U. If U is below or is approaching a predefined utility threshold i.e. "UT", then the monitoring unit issues an adaptation process. The adaptation request is the set of the managed system attribute values at the time of issuing the adaptation. Consequently, the adaptation request is sent to the adaptation engine to perform the adaptation process. • Executing the adaptation response received by the adaptation engine. The adaptation response is the result of the adaptation process performed by the adaptation engine, which is the corrective state to be applied on the managed system. In addition to the adaptation mediator, the adaptation engine embraces a Case-based reasoning engine. Typically, CBR life cycle consists of four stages: 1. Retrieve: The CBR system retrieves the most similar case(s) from the Knowledge Base (KB) by applying the similarity measures on the request case. 2. Reuse (Adapt): In this stage, CBR employs the information of the retrievedcases. If the retrieved cases are not sufficient in themselves to solve the query case, the CBR engine adapts this/these case/s to generate a new solution. Some of the common techniques for reusing and adapting the retrieved knowledge are introduced in [28]. Our approach uses Generative Adaptation [29], which requires some heuristics e.g. utility functions, to provide an efficient adaptation process. 3. Revise: A revision of the new solution is important to make sure that it satisfiesthe goals of the managed system. Revision process can be done by applying the adaptation response to real world, evaluate it by the domain expert or by simulation approaches.
  • 6. 178 Computer Science & Information Technology (CS & IT) Figure 1: Reference modle for the proposed solution 4. Retain: In this stage, the new generated cases are saved in the knowledge base. Case-Based Learning (CBL) have been introduced in [30] to provide algorithms and approaches for the retain process. In our model, the case is a set of attributes that represents the attributes of the managed system. For example, if one attribute of the managed system causes a UT break, then the adaptation engine should alter the value of this attribute in order to provide the required utility.In our solution we incorporate the utility functions for capturing the requirements of the managed system. Also, utility function is used to judge the quality of the cases stored in the KB and generated by the adaptation engine. Algorithm 1 abstracts the adaptation process of our solution, where β is a predefined level of the accepted similarity and QAF is the qualified adaptation frame, a set of cases that have the potential to be used directly as an adaptation response or as basis for adaptation.Case Expediency is a measure for the usefulness of a case, and this measure uses the similarity of the case beside its utility.
  • 7. Computer Science & Information Technology (CS & IT) 179 Algorithm 1: Adaptation process algorithm A 4.2.Uncertainty quantification Uncertainty We follow the uncertainty quantification approach in [31], where uncertainty has three inty dimensions: • The Location of uncertainty: Where the uncertainty manifests in the system. • The Level of uncertainty: A variation between deterministic level and total ignorance. This means that uncertainty about one attribute of the system can take a value between one and zero. • The Nature of uncertainty: Whether the cause of uncertainty is variability or lack of knowledge in the uncertainty meant attribute of the system. Based on [32], uncertainty in self-adaptive software systems can be found in three places, self an namely: System requirement, system design and architecture, and run-time. In our solution, we , run focused on run-time uncertainty by quantifying it based on the aforesaid three dimensions. dimension 5. PROGRESS AND CURRENT STATUS A prototypical implementation of the solution has been done. This implementation includes the integration of the CBR engine with utility functions. The implementation also includes the generative adaptation of the adaptation responses. Moreover, uncertainty analysis and quantification are provided in this implementation paving the way for handling uncertainty during run-time. The three dimensions of the uncertainty [31] has been modelled and implemented. e
  • 8. 180 Computer Science & Information Technology (CS & IT) 6. FUTURE DIRECTION AND EVALUATION For future direction, firstly, we will use a case study to empirically evaluate and validate our approach. The case study i.e. the managed system, should require the self-adaptivity mechanism that performs well under run-time uncertainty. Secondly, we will evaluate the results of the case study application. The evaluation will be based on software quality metrics and GQM [33]. We expect that the experimentation of our solution will provide a positive potential results for both handling the uncertainty and the complexity of adaptation space. However, we do not have a clue regarding the response time of the adaptation engine, the results will reveal this issue. 7. CONCLUSION In this paper, we have presented our research for realizing self-adaptivity in software systems. We started by showing the gabs in the research and the expected contributions of the research. Also, we have presented details about the solution model and the used technology, Case-based reasoning. The progress of the work was presented along with the future directions. This paper ended with our vision of the evaluation process of the solution. REFERENCES [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] B. H. Cheng and others, “Software Engineering for Self-Adaptive Systems,” Springer-Verlag, 2009, pp. 1-26. M. Salehie and L. Tahvildari, “A Quality-Driven Approach to Enable Decision-Making in SelfAdaptive Software,” in Companion to the proceedings of the 29th International Conference on Software Engineering, 2007. M. Salehie and L. Tahvildari, “Self-adaptive software: Landscape and research challenges,” ACM Transactions on Autonomous and Adaptive Systems (TAAS) , 2009. D. a. I. M. U. a. S. M. a. A. J. Weyns, “Claims and Supporting Evidence for Self-adaptive Systems : A Literature Study,” in Software Engineering for Adaptive and Self-Managing Systems, SEAMS, 2012. D. Kim and S. Park, “Reinforcement learning-based dynamic adaptation planning method for architecture-based self-managed software,” in SEAMS '09. ICSE Workshop on, 2009. A. Elkhodary, N. Esfahani and S. Malek, “FUSION: a framework for engineering self-tuning selfadaptive software systems,” in Proceedings of the 18 ACM SIGSOFT international symposium, 2010. M.-H. Karray, C. Ghedira and Z. Maamar, “Towards a Self-Healing Approach to Sustain Web Services Reliability,” in AINA Workshops'11, 2011. D. Garlan and others, “Rainbow: architecture-based self-adaptation with reusable infrastructure,” Computer, pp. 46-54, 2004. M. Derakhshanmanesh, M. Amoui, G. O'Grady, J. Ebert and L. Tahvildari, “GRAF: graph-based runtime adaptation framework,” 2011. T. Vogel and H. Giese, “Adaptation and abstract runtime models,” in Proceedings of the 2010 ICSE Workshop on Software Engineering for Adaptive and Self-Managing Systems, 2010. B. Morin, O. Barais, J.-M. Jezequel, F. Fleurey and A. Solberg, “Models@ Run.time to Support Dynamic Adaptation,” Computer, vol. 42, no. 10, pp. 44-51, #oct# 2009. N. Khakpour, R. Khosravi, M. Sirjani and S. Jalili, “Formal analysis of policy-based self-adaptive systems,” 2010. R. Asadollahi, M. Salehie and L. Tahvildari, “StarMX: A framework for developing self-managing Java-based systems,” in SEAMS, 2009. S.-W. Cheng, D. Garlan and B. Schmerl, “Architecture-based self-adaptation in the presence of multiple objectives,” in Proceedings of the 2006 international workshop on Self-adaptation and selfmanaging systems, 2006. B. Bontchev, D. Vassileva, B. Chavkova and V. Mitev, “Architectural design of a software engine for adaptation control in the ADOPTA e-learning platform,” 2009 G. Bertolotti, A. Cristiani, R. Lombardi, M. Ribarić, N. Tomašević and M. Stanojević, “Self-Adaptive Prototype for Seat Adaption,” in SASOW Fourth IEEE International Conference, 2010.
  • 9. Computer Science & Information Technology (CS & IT) 181 [17] M. A. S. Sallem and F. J. da Silva e Silva, “Adapta: a framework for dynamic reconfiguration of distributed applications,” in Proceedings (ARM '06), 2006. [18] Q. Yang and others, “Toward a fuzzy control-based approach to design of self-adaptive software,” in Proce. of the 2nd Asia-Pacific Symposium on Internetware, 2010. [19] N. Esfahani, E. Kouroshfar and S. Malek, “Taming uncertainty in self-adaptive software,” in Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering, 2011. [20] N. C. Narendra and U. Bellur, “A middleware for adaptive service orientation in pervasive computing environments,” 2010. [21] V. Cardellini, E. Casalicchio, V. Grassi, F. Lo Presti and R. Mirandola, “Qos-driven runtime adaptation of service oriented architectures,” 2009. [22] R. Calinescu, L. Grunske, M. Kwiatkowska, R. Mirandola and G. Tamburrelli, “Dynamic QoS Management and Optimization in Service-Based Systems,” IEEE Trans. Softw. Eng., vol. 37, no. 3, pp. 387-409, #may# 2011. [23] Y. Wu, Y. Wu, X. Peng and W. Zhao, “Implementing Self-Adaptive Software Architecture by Reflective Component Model and Dynamic AOP: A Case Study,” in QSIC'10, 2010. [24] H. Liu, M. Parashar and S. Member, “Accord: A Programming Framework for Autonomic Applications,” IEEE Transactions on Systems, Man and Cybernetics, Special Issue on Engineering Autonomic Systems, vol. 36, pp. 341-352, 2006. [25] A. Aamodt and E. Plaza, “Case-based reasoning; Foundational issues, methodological variations, and system approaches,” AI COMMUNICATIONS, vol. 7, no. 1, pp. 39-59, 1994. [26] IBM, “An architectural blueprint for autonomic computing,” IBM Corporation, 2005. [27] S. J. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 2 ed., Pearson Education, 2003. [28] W. Wilke and R. Bergmann, “Techniques and Knowledge Used for Adaptation During Case-Based Problem Solving,” 1998. [29] E. Plaza and J. L. Arcos, “Constructive Adaptation,” in Proceedings of the 6th European Conference on Advances in Case-Based Reasoning, 2002. [30] D. W. Aha, “Case-Based Learning Algorithms,” 1991. [31] W. Walker and others, “Defining uncertainty: a conceptual basis for uncertainty management in model-based decision support,” Integrated Assessment, 2003. [32] A. a. J. A. a. C. B. H. C. Ramirez, “A taxonomy of uncertainty for dynamically adaptive systems,” Software Engineering for Adaptive and Self-Managing Systems (SEAMS), 2012 ICSE, pp. 99-108, 2012. [33] R. van Solingen, V. Basili, G. Caldiera and H. D. Rombach, “Goal Question Metric (GQM) Approach,” in Encyclopedia of Software Engineering, 2002. AUTHOR Mohammed Abufouda received the BSc. in Computer Engineering from Islamic University, Palestine in 2006 and the MSc. degree in computer science from Technical University of Kaiserslautern, Germany, in 2013. He is a PhD candidate at Technical University of Kaiserslautern in computer science department. His research interests includes software engineering and complex system analysis.