Download presentation
Presentation is loading. Please wait.
Published byPhillip Skinner Modified over 8 years ago
1
Supporting Self-Adaptation in Multi- Agent Systems (In Action)
2
Self-Adaptation x Feature Model Reasoning self-configuration (automatic configuration according to a specified policy) –Find Solution –Filter self-optimization –Find Optimal Solution self-healing (detecting defects and failures, and taking corrective actions) –Debug –Filter self-protection Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio
3
Working Example I - Self-healing Georisc Input Factors to be analyzed –Different data sources File Data Base Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Slope Factors FileDataBase Rain FileDataBase Vegetation FileDataBase c:\\GeoRisco\\dados\\rain.shp jdbc:mysql://localhost/olis...
4
Working Example I- Self-healing @MBehaviour(ID="Rain",agentName="GeoRiscAgent") public class Rain extends CyclicBehaviour { private GeoRiscAgent geoRiscAgent; private String dataSource =... } @MBehaviour(ID="Rain",agentName="GeoRiscAgent") public class Rain extends CyclicBehaviour { private GeoRiscAgent geoRiscAgent; private String dataSource =... } Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Analyzer Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Factors Rain FileDataBase x Factors Rain FileDataBase Feature Model Reconfiguration “file://c:\\GeoRisco\\dados\\rain.shp“; GenArch Derive a set of Tasks “db://jdbc:mysql://localhost/rain“; Failure(Rain,DataSource)
5
Approach Overview Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio IDWNNPI Interpolation Spline VegetationSlopeRain Factors GeoRisc 1 Event 2 Analyze and System Reconfiguration Feature Model Reconfiguration IDWNNPI Interpolation Spline VegetationSlopeRain Factors GeoRisc 3 Feature Model Constraint Validation Adaptation selection 4 Structural Constraint Validation 5 Derive a set of Adaptation Tasks 6 System Reconfiguration Interpolation Agent Runtime system Architectural Models
6
Approach Overview Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio IDWNNPI Interpolation Spline VegetationSlopeRain Factors GeoRisc 1 Event 2 Analyze and System Reconfiguration Feature Model Reconfiguration IDWNNPI Interpolation Spline VegetationSlopeRain Factors GeoRisc 3 Feature Model Constraint Validation Adaptation selection 4 Structural Constraint Validation 5 Derive a set of Adaptation Tasks 6 System Reconfiguration Interpolation Agent Runtime system Architectural Models
7
Event-based Feature Reconfiguration Events are associated with Features and have a context –Ev(feature,context) Events implies in a set of Feature Model Reconfiguration regulated by a set of conditions –Ev -> Ra –Ra -> S({f}) \/ Ds({f}) Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio
8
Self-healing Algorithm 1.Calculate Feature sub-tree 2. Repair Feature sub-tree 3.Check Feature Model configuration based on new sub-tree configuration 4.Derivate a set of adaptation actions Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio
9
Management Server Agent Management Interfaces –Standardized means for monitoring and manage agents –Set of Java Annotation @MAgent, @MBehaviour, @MData, @Mresource, @Observable Management Server –Container for Management Interfaces –Namespace management –Monitor Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio
10
Management Server Architecture Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Monitor Analyzer Server ServerDeploy Service FeatureModel jade.osgi.managementjade.osgi. br.pucrio.inf.les.genarch.remote OSGi Deployment GR 1 3 4 5672
11
Contributions Reconfiguration actions can be automatically derived using feature model reasoning techniques - Incomplete specification Architectural Models enables the definition of complex adaption rules and automatically derivate concrete reconfiguration actions Trace links enable deeper analysis of changes: –Impact –Soundness –Viability Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio - Filter - Best configuration - Debug - Filter - Best configuration - Debug
12
Supporting Self-Adaptation in Multi- Agent Systems
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.