You are on page 1of 18

Introduccin a la ingeniera del

software orientada a agentes

Joaqu
Joaqun Pe
Pea (U. Sevilla),
Sevilla),
Seminario departamental

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
2

Agentes y sistemas
multiagente

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
4

Propiedades autonmicas
y autnomas

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
6

Complejidad

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
8

ISW Agentes

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
10

Resumen MaCMAS
Requirements

Macro-Level

Abst. Layer 2
traceavility

Decomp.

Abst. Layer 3

reuse

abstraction
Micro-Level

reuse

Abst. Layer 1
Comp.

Abst. Layer n-1


Abst. Layer n

Requirements

11

Resumen MaCMAS
Stage 1

Stage 2

Stage 3

TY
I
X
E
L
P
COM

Acquaintance
Organization

Carpenter

Painter

Coordinator 1-2

Verifier

Coordinator 2-3

Structural
Organization

Boss
Worker 1

Worker 2

Worker 3
Worker 1

Worker 12
3
Worker 2

Resumen MaCMAS
Goals

Goals

Layer
n
Dependencies

Dependencies

Layer
n+1

13

Resumen MaCMAS
Layer
n
Goals

Goals

Layer
n+1
Dependencies

Dependencies

14

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
15

sto funciona?

16

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
17

Software Factories

18

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
19

Software Product Lines

20

El camino













Agentes y SMAS
Auton
Autonmicos y aut
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
funciona?
SF
SPL
MDA
Pol
Polticas y MDA
Un ejemplo
Conclusiones
21

MDA

22

El camino











Agentes y SMAS
Autonmicos y
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
SF
SPL
MDA

23

Polticas y MDA
PROCEDURE

Features needed
Dependencies
between features

EXAMPLE

Model of Reusable
Autonomous and
Autonomic
Features (M-RAAF)

RM4

Policy

Role Model (RM)


dependencies:
RM1  RM4
RM2RM3
.

Policy

Agents:A1,A2,A3
A1 plays role R1
in RM1
.

RM4
RM1

Acquaintance
Organization Model (AOM)
Structural
Constraints
Agents involved

Structural
Organization Model (SOM)
Platform
dependent
constraints

RM3

New relationship
between RM1
and RM2

RM2
RM3
Policy modifiying
RM2-3

A1
Platform
dependent
constraints

PSM

RM1

RM2

RM4
A2
RM1
A3 RM2-3

Middleware code

24

El camino











Agentes y SMAS
Autonmicos y
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
SF
SPL
MDA

25

Un ejemplo??
Prospecting
Asteroid Belt

...
Avoid
Crashing

SelfProtection

Avoid run
out of power

Recover
from loss of
connection

Protect
from solar
storms

Switch
off subsytems

Escape
Orbit

Measure
(image)
Use sail
as a
shield

AUTONOMIC
PROPERTIES

...

Approach

RM orbit &
measure

Avoid loss
of
connection

RM Protect from
solar storms
Measure
solar
storms

Explore
and
Discover

Send
Earth

Orbit

Inform
Orbit

Measure
(GForce)

...
AUTONOMOUS
PROPERTIES

Adjust
Orbit

Measure

Inform
Measures

Measure
(form)

Measure
(GForce)

Measure
(image)

Measure
(X-ray)

Search
new
asteroid

Inform
asteroid

Measure
(image)

Measure (distance)
Measure (form)
Measure (GForces)

...

Evaluate

Move

Decide If
Abort

...
...

...
26

Un ejemplo??
State
measure

State
protect.

Environ. Role:
Space/Storms

mRI meassure solar storms

Role:
Self-protector from
solar storms

mRI Off subsyst.


mRI use sail as-a-shield.
27

Un ejemplo??
Prospecting
Asteroid Belt

...
Avoid
Crashing

SelfProtection

Avoid run
out of power

Recover
from loss of
connection

Protect
from solar
storms

Switch
off subsytems

Escape
Orbit

Measure
(image)
Use sail
as a
shield

AUTONOMIC
PROPERTIES

...

Approach

RM orbit &
measure

Avoid loss
of
connection

RM Protect from
solar storms
Measure
solar
storms

Explore
and
Discover

Send
Earth

Orbit

Inform
Orbit

Measure
(GForce)

...
AUTONOMOUS
PROPERTIES

Adjust
Orbit

Measure

Inform
Measures

Measure
(form)

Measure
(GForce)

Measure
(image)

Measure
(X-ray)

Search
new
asteroid

Inform
asteroid

Measure
(image)

Measure (distance)
Measure (form)
Measure (GForces)

...

Evaluate

Move

Decide If
Abort

...
...

...
28

Un ejemplo??

Env. Role:
Asteroid

Scape Orbit
Role:
orbiter
Adjust Orbit

Measure

Role:
Orbit
Modeller

Report Orbit
Report
Measures

Role:
Receiver
29

Un ejemplo


The policy:
If a spacecraft is orbiting and measuring an
Role Model
asteroid and it measures that there exists risk of a solar storm,
Interaction
the spacecraft must first escape the orbit and later
Interaction
power down subsystems and use its sail as a shield
Interaction
Interaction

This implies role models composition


30

Un ejemplo??
+




Role Composition
Plan Composition
Assign new role plans to the running agents

31

Un ejemplo
Measure
Env. Role:
Asteroid

Scape Orbit

Adjust Orbit

Role:
orbiter

Role:
Self-protector
solar storms

Report Orbit
Report
Measures
mRI measure storms
Off subSys
Sail as Shield

Role:
Orbit
Modeller
Role:
Receiver

Env. Role:
Storms
32

El camino











Agentes y SMAS
Autonmicos y
autnomos
Complejidad
ISW agentes
Resumen MaCMAS
sto funciona?
SF
SPL
MDA

33

Conclusiones

34

Introduccin a la ingeniera del


software orientada a agentes

Questions?
Thanks!!
Email:
joaquinp@us.es
Web:
www.tdg-seville.info/joaquinp
MaCMAS Web:
www.tdg-seville.info/joaquinp/MaCMAS

You might also like