SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
Event-driven Programming for Situated MAS
with ReSpecT Tuple Centres
Stefano Mariani, Andrea Omicini
{s.mariani, andrea.omicini}@unibo.it
DISI
Alma Mater Studiorum—Universit`a di Bologna
ABC:MI 2013
Koblenz, Germany - 17 September 2013
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 1 / 34
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 2 / 34
Motivations & Goals
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 3 / 34
Motivations & Goals
Why Event-driven Programming in MAS? I
The environment has been already recognised as one of the foremost
sources of complexity in MAS [Weyns et al., 2007]
Nevertheless, accounting for it is mandatory if we are to build situated
MAS—namely, able to deal with environment ever-changing nature
So, the artefact abstraction was conceived to properly model &
engineer such environment [Omicini et al., 2008]
Motivations
But, how to reconcile agents’ pro-activeness with environment’s own
while preserving their autonomy—uncoupling in control?
And how to do so preserving also the situated nature of interactions?
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 4 / 34
Motivations & Goals
Why Event-driven Programming in MAS? II
We answer similar questions by:
Goals
providing an event model for situated MAS programming
exploiting tuple centres as the architectural solution preserving agents
as well as artefacts autonomy—thus, decoupling in control
showcasing how a coordination language adopting such event model
and executed within such tuple centres can be proficiently exploited
to program situated MAS
In order to be more practical, the ReSpecT language and ReSpecT tuple
centres [Omicini and Denti, 2001b]1 will be taken as our reference.
1
Available within the TuCSoN coordination infrastructure
[Omicini and Zambonelli, 1999].
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 5 / 34
Artefacts, Coordination & Tuple Centres within MAS
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 6 / 34
Artefacts, Coordination & Tuple Centres within MAS
Artefacts to Model MAS Environment
The Agent & Artefact (A&A) meta-model adopts artefacts as the main
abstraction for modelling and engineering general-purpose computational
MAS environments [Omicini et al., 2008].
Environment artefact to promote situatedness
There, environment (or, resource) artefacts are the fundamental
abstractions to deal with MAS situatedness, suitably dealing with
environment events.
However, as a meta-model, A&A does not directly provide neither the
required computational model nor the technology to build environment
artefacts.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 7 / 34
Artefacts, Coordination & Tuple Centres within MAS
Tuple Centres as Coordination Artefacts
Among the many available computational models for coordination
artefacts, tuple-based ones already proved their effectiveness in coping
with complex MAS engineering [Omicini and Viroli, 2011].
From tuple spaces. . .
However, the semantics of coordination policies is strictly defined by the
available coordination primitives, thus any coordination requirement not
reducible to them should be charged upon the agents—which is
unacceptable [Ciancarini et al., 2000].
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 8 / 34
Artefacts, Coordination & Tuple Centres within MAS
Tuple Centres as Events Mediators
This is the main motivation behind the definition of tuple centres as a
programmable extension of tuple spaces [Omicini and Denti, 2001b].
. . . through tuple centres. . .
Along with the communication space (the tuples exchanged by agents) a
tuple centre provides a coordination space, storing specification tuples
meant to change the behaviour of the coordination media in response to
events of any sort.
Then, if programmability is exploited to capture, model and manage any
event happening within a MAS, tuple centres can play the role of events
mediators.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 9 / 34
Artefacts, Coordination & Tuple Centres within MAS
Tuple Centres as Environment Artefacts
Given that in the A&A meta-model the only sources of events can be either
the agents or the artefacts, tuple centres can thus be able to mediate both
agent-generated events as well as environment-generated ones.
. . . to environment artefacts
So, in the very end, we are now able to leverage tuple centres from being
purely coordination artefacts to be also suitable for implementing
environment artefacts.
But: how to model unpredictable, heterogenous, situated events? Can
tuple centres offer something from the control-uncoupling standpoint?
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 10 / 34
Tuple Centres for Event-driven MAS Coordination
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 11 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 12 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Tuple Centre Events
General Event model
Event ::= OpEvent | EnvEvent | STEvent
operation events — any event whose prime cause is an agent
(coordination) operation
environment events — any event whose prime cause is a transducer
[Casadei and Omicini, 2009]—that is, a component able to
bring environment-generated events within a tuple centre
spatio-temporal events — any event whose prime cause belongs to the
space-time fabric into which the tuple centre is immersed
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 13 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Operation Events
OpEvent model
OpEvent ::= PrimeCause , DirectCause , Tuple
The distinction between prime and direct cause is due to the linkability
feature of artefacts [Omicini et al., 2008]: in the case of tuple centres, this
means they are able to invoke operations on each other2.
Prime cause
PrimeCause ::= CoordOp , AgentId , TCId
Direct cause
DirectCause ::= CoordOp | LinkOp , AgentId | TCId , TCId
2
Combined with forgeability (programmability), allows to build distributed event
chains among networked tuple centres.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 14 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Environment Events
EnvEvent model
EnvEvent ::= EnvCause , EnvCause , env(Key, Value)
Environment events are always generated by the environment in the form
of environmental property changes.
Prime and direct cause coincide
EnvCause ::= <- | -> env(Key, Value) , EnvResId , TCId
The arrow notation (<- | ->) stands respectively for getting (<-) or setting
(->) an environmental property—allowing to model both sensors and
actuators, respectively.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 15 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Space-Time Events
STEvent model
STEvent ::= STCause , STCause , SOp | TOp
Spatio-temporal events are always generated by the spatio-temporal fabric
intrinsic to any computational environment.
Again, a unique “cause”
STCause ::= SOp | TOp , time | space, TCId
Spatio-temporal awarness
SOp ::= from(Place) | to(Place) | node(Node)
TOp ::= time(Time)
Whereas from/1 and to/1 events are related to physical motion, node/1
models virtual motion—e.g., getting a new IP address.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 16 / 34
Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model
Events in the Space-Time Fabric
If tuple centres are spatio-temporally situated, then any generated event
should be spatio-temporally situated as well.
Situated events
In particular, all “cause” specifications defined above should be extended
by adding the following information:
Time , Place , Node
This event model is the one adopted by the ReSpecT language, which is
meant to program ReSpecT tuple centres.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 17 / 34
Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 18 / 34
Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT
ReSpecT Specification Tuples
In short, given a tuple centre event e, a specification tuple
reaction(E, G, B) associates a reaction Rθ to event e if
θ = mgu(E, e)—where mgu is the first-order logic most general unifier
guard Gθ holds
Semantics
Zσ(e) ::= r∈σ z(e, r), where z(e, r) ::=
e
Rθ if θ = mgu(E, e) ∧ Gθ
∅ otherwise
Triggered reactions ∈ Zσ(e) are then executed asynchronously w.r.t. both
agents and other tuple centres interactions, following a non-deterministic
order and according to an atomic, transactional semantics3.
3
The interested reader is forwarded to [Omicini and Denti, 2001a, Omicini, 2007], in
particular about function E.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 19 / 34
Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT
ReSpecT Asynchronous Computational Model
Within (and between) ReSpecT tuple centres everything happens
according to the “invocation-completion” semantics formalised in
[Omicini and Denti, 2001b].
“Invocation-Completion” semantics
Whenever any operation is issued by whoever within a MASa two distinct
events are generated:
one in the invocation phase, that is when the operation is requested
one in the completion phase, that is once the operation has been
served
a
Be it an environmental resource, an agent, or a linking tuple centre.
This allows to manage any interaction asynchronously, leading to a full
uncoupling in control between the interacting entities, thus preserving
both agents and tuple centres autonomy.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 20 / 34
Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT
ReSpecT-TuCSoN Architecture
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 21 / 34
Event-driven Programming in ReSpecT: Examples
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 22 / 34
Event-driven Programming in ReSpecT: Examples
Generative Communication, Logic & Inspectability I
Suppose to have a MAS in which some form of “causal relation”
must be enforced between (inter)actions performed by agents
e.g., insertion of some information is allowed only if other information
already exists
This amounts to verify some kind of “logical implication” between
events happening within the MAS
e.g., allowing insertion of a tuple if and only if all “precondition tuples”
have been already stored
Similar issues can be dealt with by
adopting an event model suitable for inspection of all the needed
information
exploiting an architecture promoting generative communication so as
to preserve interacting entities autonomy
programming in a language supporting all these features—e.g.,
ReSpecT
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 23 / 34
Event-driven Programming in ReSpecT: Examples
Generative Communication, Logic & Inspectability II
1 reaction(out(Tuple),
2 ( operation,completion ),
3 (
4 start_source (Src), start_target (Trg),
5 causalCheck(event(out(Tuple),from(Src),to(Trg ))) % Prolog
6 ; % ’if-then-else ’
7 in(Tuple) % Remove inconsistency
8 )
9 ).
10
11 causalCheck(event(Op,F,T )):-
12 findall(B, clause(Op,B), L), % Consult theory
13 causalCheck(F,T,L ).
14
15 causalCheck(_,_, []).
16 causalCheck(F,T,[H|Tail ]):-
17 rd(event(H,F,T )), % Check consistency
18 causalCheck(F,T,Tail ).
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 24 / 34
Event-driven Programming in ReSpecT: Examples
Situatedness & Linkability I
Suppose to have a MAS in which a swarm of agents have to
coordinate themselves so as to reach a uniform distribution in space
e.g., a swarm of robots moving in a building
e.g., an ensemble of web crawlers moving between subnets of the same
network
Suppose local communication should be used, as well as a distributed
approach to the problem
e.g., robots are busy in a rescue mission after an earthquake, thus
reliable, long-distance communications may be compromised
Similar issues can be dealt with by
adopting an event model featuring situatedness
exploiting an architecture promoting asynchronous communication and
distributed events handling
programming in a language supporting all these features—e.g.,
ReSpecT
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 25 / 34
Event-driven Programming in ReSpecT: Examples
Situatedness & Linkability II
1 reaction(out(moved(NewPos )),
2 (link_in ,completion), % Incoming link
3 (
4 in(moved(NewPos )),
5 event_source (Who), % Direct cause inspection
6 in(nbr(Who, Pos )) ,out(nbr(Who,NewPos )) ,rd_all(nbr(_, _),Nbrs),
7 computeBaricenter (Nbrs,B), % Prolog computation
8 current_node (Host), % Inspect actual host
9 steering_engine @Host<-env(’destination ’,B), % Command actuator
10 motion_engine @Host<-env(’power ’,’on’) % Command actuator
11 )
12 ).
13 reaction(from(Pos), % Motion awareness
14 (internal),
15 (
16 % Avoid obstacles, collisions, etc.
17 % Monitor arrival to destination
18 )
19 ).
20 reaction(to(NewPos), % Stillness awareness
21 (internal),
22 (
23 rd_all(nbr(_, _),Nbrs),multicast(moved(NewPos),Nbrs)
24 )
25 ).
26 multicast(_, []).
27 multicast(Info,[nbr(N,_)| Nbrs ]):-
28 N ? out(moved(Info )), % Outgoing link
29 multicast(Info,Nbrs ).
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 26 / 34
Conclusion & Ongoing Work
Outline
1 Motivations & Goals
2 Artefacts, Coordination & Tuple Centres within MAS
3 Tuple Centres for Event-driven MAS Coordination
(ReSpecT) Event Model
Events Handling in ReSpecT
4 Event-driven Programming in ReSpecT: Examples
5 Conclusion & Ongoing Work
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 27 / 34
Conclusion & Ongoing Work
What Has Been Done
The proposed event model has been implemented in TuCSoN
[Omicini and Zambonelli, 1999]4, the coordination infrastructure
featuring ReSpecT tuple centres
ReSpecT language constructs have been extended so as to deal with
situatedness-related issues
The whole thing has been brought to Android, to benefit from mobile
devices built-in hardware—e.g. GPS, accelerometer, gyroscope
4
Publicly available under LGPL license from tucson.unibo.it.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 28 / 34
Conclusion & Ongoing Work
To Do
The porting is far from being complete, mostly due to many
mobility-related issues still to be dealt with—e.g. low battery, low
memory, transient network connection
TuCSoN internal architecture needs to be improved so as to better
adapt its capabilities to the hosting device it’s running on—e.g.
automatic detection of hardware support for situatedness
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 29 / 34
Conclusion & Ongoing Work
Thanks to everybody here at ABC:MI 2013 for listening :)
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 30 / 34
References
References I
Casadei, M. and Omicini, A. (2009).
Situated tuple centres in ReSpecT.
In Shin, S. Y., Ossowski, S., Menezes, R., and Viroli, M., editors, 24th Annual
ACM Symposium on Applied Computing (SAC 2009), volume III, pages
1361–1368, Honolulu, Hawai’i, USA. ACM.
Ciancarini, P., Omicini, A., and Zambonelli, F. (2000).
Multiagent system engineering: The coordination viewpoint.
In Jennings, N. R. and Lesp´erance, Y., editors, Intelligent Agents VI. Agent
Theories, Architectures, and Languages, volume 1757 of LNAI, pages 250–259.
Springer.
Omicini, A. (2007).
Formal ReSpecT in the A&A perspective.
Electronic Notes in Theoretical Computer Science, 175(2):97–117.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 31 / 34
References
References II
Omicini, A. and Denti, E. (2001a).
Formal ReSpecT.
Electronic Notes in Theoretical Computer Science, 48:179–196.
Omicini, A. and Denti, E. (2001b).
From tuple spaces to tuple centres.
Science of Computer Programming, 41(3):277–294.
Omicini, A., Ricci, A., and Viroli, M. (2008).
Artifacts in the A&A meta-model for multi-agent systems.
Autonomous Agents and Multi-Agent Systems, 17(3):432–456.
Omicini, A. and Viroli, M. (2011).
Coordination models and languages: From parallel computing to self-organisation.
The Knowledge Engineering Review, 26(1):53–59.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 32 / 34
References
References III
Omicini, A. and Zambonelli, F. (1999).
Coordination for Internet application development.
Autonomous Agents and Multi-Agent Systems, 2(3):251–269.
Weyns, D., Omicini, A., and Odell, J. J. (2007).
Environment as a first-class abstraction in multi-agent systems.
Autonomous Agents and Multi-Agent Systems, 14(1):5–30.
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 33 / 34
Event-driven Programming for Situated MAS
with ReSpecT Tuple Centres
Stefano Mariani, Andrea Omicini
{s.mariani, andrea.omicini}@unibo.it
DISI
Alma Mater Studiorum—Universit`a di Bologna
ABC:MI 2013
Koblenz, Germany - 17 September 2013
Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 34 / 34

Más contenido relacionado

Similar a Event-driven Programming for Situated MAS with ReSpecT Tuple Centres

Coordination in Situated Systems: Engineering MAS Environment in TuCSoN
Coordination in Situated Systems: Engineering MAS Environment in TuCSoNCoordination in Situated Systems: Engineering MAS Environment in TuCSoN
Coordination in Situated Systems: Engineering MAS Environment in TuCSoNAndrea Omicini
 
Coordination for Situated MAS: Towards an Event-driven Architecture
Coordination for Situated MAS: Towards an Event-driven ArchitectureCoordination for Situated MAS: Towards an Event-driven Architecture
Coordination for Situated MAS: Towards an Event-driven ArchitectureAndrea Omicini
 
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...Andrea Omicini
 
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkEvent-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkAndrea Omicini
 
Space-aware Coordination in RespecT
Space-aware Coordination in RespecTSpace-aware Coordination in RespecT
Space-aware Coordination in RespecTAndrea Omicini
 
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsBlending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsAndrea Omicini
 
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...Andrea Omicini
 
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Stefano Mariani
 
Multi-paradigm Coordination for MAS
Multi-paradigm Coordination for MASMulti-paradigm Coordination for MAS
Multi-paradigm Coordination for MASAndrea Omicini
 
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...Danilo Pianini
 
6.1 method for system design for sustainability
6.1 method for system design for sustainability6.1 method for system design for sustainability
6.1 method for system design for sustainabilityLeNS_slide
 
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Stefano Mariani
 
6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)LeNS_slide
 
6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)Emanuela Emy
 
maria-joao-Lopes-presentation-eng
maria-joao-Lopes-presentation-engmaria-joao-Lopes-presentation-eng
maria-joao-Lopes-presentation-englucifer
 
At risk neighbourhood
At risk neighbourhoodAt risk neighbourhood
At risk neighbourhoodlucifer
 
critical suburbs
critical suburbscritical suburbs
critical suburbssaintclem
 
Nature-inspired Coordination: Current Status and Research Trends
Nature-inspired Coordination: Current Status and Research TrendsNature-inspired Coordination: Current Status and Research Trends
Nature-inspired Coordination: Current Status and Research TrendsAndrea Omicini
 

Similar a Event-driven Programming for Situated MAS with ReSpecT Tuple Centres (20)

Coordination in Situated Systems: Engineering MAS Environment in TuCSoN
Coordination in Situated Systems: Engineering MAS Environment in TuCSoNCoordination in Situated Systems: Engineering MAS Environment in TuCSoN
Coordination in Situated Systems: Engineering MAS Environment in TuCSoN
 
Coordination for Situated MAS: Towards an Event-driven Architecture
Coordination for Situated MAS: Towards an Event-driven ArchitectureCoordination for Situated MAS: Towards an Event-driven Architecture
Coordination for Situated MAS: Towards an Event-driven Architecture
 
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
 
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkEvent-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
 
Space-aware Coordination in RespecT
Space-aware Coordination in RespecTSpace-aware Coordination in RespecT
Space-aware Coordination in RespecT
 
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsBlending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
 
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework. ...
 
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
 
Multi-paradigm Coordination for MAS
Multi-paradigm Coordination for MASMulti-paradigm Coordination for MAS
Multi-paradigm Coordination for MAS
 
Community Based Adaptation Costing (SROI)
Community Based Adaptation Costing (SROI)Community Based Adaptation Costing (SROI)
Community Based Adaptation Costing (SROI)
 
Social Return on Investment (SROI)
Social Return on Investment (SROI)Social Return on Investment (SROI)
Social Return on Investment (SROI)
 
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...
Extending the Gillespie's Stochastic Simulation Algorithm for Integrating Dis...
 
6.1 method for system design for sustainability
6.1 method for system design for sustainability6.1 method for system design for sustainability
6.1 method for system design for sustainability
 
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
 
6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)
 
6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)6.1 method for system design for sustainability vezzoli 14-15 (71)
6.1 method for system design for sustainability vezzoli 14-15 (71)
 
maria-joao-Lopes-presentation-eng
maria-joao-Lopes-presentation-engmaria-joao-Lopes-presentation-eng
maria-joao-Lopes-presentation-eng
 
At risk neighbourhood
At risk neighbourhoodAt risk neighbourhood
At risk neighbourhood
 
critical suburbs
critical suburbscritical suburbs
critical suburbs
 
Nature-inspired Coordination: Current Status and Research Trends
Nature-inspired Coordination: Current Status and Research TrendsNature-inspired Coordination: Current Status and Research Trends
Nature-inspired Coordination: Current Status and Research Trends
 

Más de Stefano Mariani

Coordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesCoordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesStefano Mariani
 
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesTwenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesStefano Mariani
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...Stefano Mariani
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...Stefano Mariani
 
Programming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXProgramming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXStefano Mariani
 
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Stefano Mariani
 
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTAdvanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTStefano Mariani
 
Self-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKSelf-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKStefano Mariani
 
Stochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...Stefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Stefano Mariani
 
Probabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated SystemsProbabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated SystemsStefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...Stefano Mariani
 
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsMolecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsStefano Mariani
 
Self-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachSelf-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachStefano Mariani
 

Más de Stefano Mariani (18)

Coordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesCoordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and Opportunities
 
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesTwenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
 
Programming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXProgramming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTX
 
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
 
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTAdvanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
 
Self-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKSelf-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoK
 
Stochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & Predictability
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
 
Probabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated SystemsProbabilistic Modular Embedding for Stochastic Coordinated Systems
Probabilistic Modular Embedding for Stochastic Coordinated Systems
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
 
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsMolecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
 
Self-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachSelf-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge Approach
 

Último

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Último (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Event-driven Programming for Situated MAS with ReSpecT Tuple Centres

  • 1. Event-driven Programming for Situated MAS with ReSpecT Tuple Centres Stefano Mariani, Andrea Omicini {s.mariani, andrea.omicini}@unibo.it DISI Alma Mater Studiorum—Universit`a di Bologna ABC:MI 2013 Koblenz, Germany - 17 September 2013 Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 1 / 34
  • 2. Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 2 / 34
  • 3. Motivations & Goals Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 3 / 34
  • 4. Motivations & Goals Why Event-driven Programming in MAS? I The environment has been already recognised as one of the foremost sources of complexity in MAS [Weyns et al., 2007] Nevertheless, accounting for it is mandatory if we are to build situated MAS—namely, able to deal with environment ever-changing nature So, the artefact abstraction was conceived to properly model & engineer such environment [Omicini et al., 2008] Motivations But, how to reconcile agents’ pro-activeness with environment’s own while preserving their autonomy—uncoupling in control? And how to do so preserving also the situated nature of interactions? Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 4 / 34
  • 5. Motivations & Goals Why Event-driven Programming in MAS? II We answer similar questions by: Goals providing an event model for situated MAS programming exploiting tuple centres as the architectural solution preserving agents as well as artefacts autonomy—thus, decoupling in control showcasing how a coordination language adopting such event model and executed within such tuple centres can be proficiently exploited to program situated MAS In order to be more practical, the ReSpecT language and ReSpecT tuple centres [Omicini and Denti, 2001b]1 will be taken as our reference. 1 Available within the TuCSoN coordination infrastructure [Omicini and Zambonelli, 1999]. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 5 / 34
  • 6. Artefacts, Coordination & Tuple Centres within MAS Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 6 / 34
  • 7. Artefacts, Coordination & Tuple Centres within MAS Artefacts to Model MAS Environment The Agent & Artefact (A&A) meta-model adopts artefacts as the main abstraction for modelling and engineering general-purpose computational MAS environments [Omicini et al., 2008]. Environment artefact to promote situatedness There, environment (or, resource) artefacts are the fundamental abstractions to deal with MAS situatedness, suitably dealing with environment events. However, as a meta-model, A&A does not directly provide neither the required computational model nor the technology to build environment artefacts. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 7 / 34
  • 8. Artefacts, Coordination & Tuple Centres within MAS Tuple Centres as Coordination Artefacts Among the many available computational models for coordination artefacts, tuple-based ones already proved their effectiveness in coping with complex MAS engineering [Omicini and Viroli, 2011]. From tuple spaces. . . However, the semantics of coordination policies is strictly defined by the available coordination primitives, thus any coordination requirement not reducible to them should be charged upon the agents—which is unacceptable [Ciancarini et al., 2000]. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 8 / 34
  • 9. Artefacts, Coordination & Tuple Centres within MAS Tuple Centres as Events Mediators This is the main motivation behind the definition of tuple centres as a programmable extension of tuple spaces [Omicini and Denti, 2001b]. . . . through tuple centres. . . Along with the communication space (the tuples exchanged by agents) a tuple centre provides a coordination space, storing specification tuples meant to change the behaviour of the coordination media in response to events of any sort. Then, if programmability is exploited to capture, model and manage any event happening within a MAS, tuple centres can play the role of events mediators. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 9 / 34
  • 10. Artefacts, Coordination & Tuple Centres within MAS Tuple Centres as Environment Artefacts Given that in the A&A meta-model the only sources of events can be either the agents or the artefacts, tuple centres can thus be able to mediate both agent-generated events as well as environment-generated ones. . . . to environment artefacts So, in the very end, we are now able to leverage tuple centres from being purely coordination artefacts to be also suitable for implementing environment artefacts. But: how to model unpredictable, heterogenous, situated events? Can tuple centres offer something from the control-uncoupling standpoint? Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 10 / 34
  • 11. Tuple Centres for Event-driven MAS Coordination Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 11 / 34
  • 12. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 12 / 34
  • 13. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Tuple Centre Events General Event model Event ::= OpEvent | EnvEvent | STEvent operation events — any event whose prime cause is an agent (coordination) operation environment events — any event whose prime cause is a transducer [Casadei and Omicini, 2009]—that is, a component able to bring environment-generated events within a tuple centre spatio-temporal events — any event whose prime cause belongs to the space-time fabric into which the tuple centre is immersed Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 13 / 34
  • 14. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Operation Events OpEvent model OpEvent ::= PrimeCause , DirectCause , Tuple The distinction between prime and direct cause is due to the linkability feature of artefacts [Omicini et al., 2008]: in the case of tuple centres, this means they are able to invoke operations on each other2. Prime cause PrimeCause ::= CoordOp , AgentId , TCId Direct cause DirectCause ::= CoordOp | LinkOp , AgentId | TCId , TCId 2 Combined with forgeability (programmability), allows to build distributed event chains among networked tuple centres. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 14 / 34
  • 15. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Environment Events EnvEvent model EnvEvent ::= EnvCause , EnvCause , env(Key, Value) Environment events are always generated by the environment in the form of environmental property changes. Prime and direct cause coincide EnvCause ::= <- | -> env(Key, Value) , EnvResId , TCId The arrow notation (<- | ->) stands respectively for getting (<-) or setting (->) an environmental property—allowing to model both sensors and actuators, respectively. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 15 / 34
  • 16. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Space-Time Events STEvent model STEvent ::= STCause , STCause , SOp | TOp Spatio-temporal events are always generated by the spatio-temporal fabric intrinsic to any computational environment. Again, a unique “cause” STCause ::= SOp | TOp , time | space, TCId Spatio-temporal awarness SOp ::= from(Place) | to(Place) | node(Node) TOp ::= time(Time) Whereas from/1 and to/1 events are related to physical motion, node/1 models virtual motion—e.g., getting a new IP address. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 16 / 34
  • 17. Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events in the Space-Time Fabric If tuple centres are spatio-temporally situated, then any generated event should be spatio-temporally situated as well. Situated events In particular, all “cause” specifications defined above should be extended by adding the following information: Time , Place , Node This event model is the one adopted by the ReSpecT language, which is meant to program ReSpecT tuple centres. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 17 / 34
  • 18. Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 18 / 34
  • 19. Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT ReSpecT Specification Tuples In short, given a tuple centre event e, a specification tuple reaction(E, G, B) associates a reaction Rθ to event e if θ = mgu(E, e)—where mgu is the first-order logic most general unifier guard Gθ holds Semantics Zσ(e) ::= r∈σ z(e, r), where z(e, r) ::= e Rθ if θ = mgu(E, e) ∧ Gθ ∅ otherwise Triggered reactions ∈ Zσ(e) are then executed asynchronously w.r.t. both agents and other tuple centres interactions, following a non-deterministic order and according to an atomic, transactional semantics3. 3 The interested reader is forwarded to [Omicini and Denti, 2001a, Omicini, 2007], in particular about function E. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 19 / 34
  • 20. Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT ReSpecT Asynchronous Computational Model Within (and between) ReSpecT tuple centres everything happens according to the “invocation-completion” semantics formalised in [Omicini and Denti, 2001b]. “Invocation-Completion” semantics Whenever any operation is issued by whoever within a MASa two distinct events are generated: one in the invocation phase, that is when the operation is requested one in the completion phase, that is once the operation has been served a Be it an environmental resource, an agent, or a linking tuple centre. This allows to manage any interaction asynchronously, leading to a full uncoupling in control between the interacting entities, thus preserving both agents and tuple centres autonomy. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 20 / 34
  • 21. Tuple Centres for Event-driven MAS Coordination Events Handling in ReSpecT ReSpecT-TuCSoN Architecture Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 21 / 34
  • 22. Event-driven Programming in ReSpecT: Examples Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 22 / 34
  • 23. Event-driven Programming in ReSpecT: Examples Generative Communication, Logic & Inspectability I Suppose to have a MAS in which some form of “causal relation” must be enforced between (inter)actions performed by agents e.g., insertion of some information is allowed only if other information already exists This amounts to verify some kind of “logical implication” between events happening within the MAS e.g., allowing insertion of a tuple if and only if all “precondition tuples” have been already stored Similar issues can be dealt with by adopting an event model suitable for inspection of all the needed information exploiting an architecture promoting generative communication so as to preserve interacting entities autonomy programming in a language supporting all these features—e.g., ReSpecT Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 23 / 34
  • 24. Event-driven Programming in ReSpecT: Examples Generative Communication, Logic & Inspectability II 1 reaction(out(Tuple), 2 ( operation,completion ), 3 ( 4 start_source (Src), start_target (Trg), 5 causalCheck(event(out(Tuple),from(Src),to(Trg ))) % Prolog 6 ; % ’if-then-else ’ 7 in(Tuple) % Remove inconsistency 8 ) 9 ). 10 11 causalCheck(event(Op,F,T )):- 12 findall(B, clause(Op,B), L), % Consult theory 13 causalCheck(F,T,L ). 14 15 causalCheck(_,_, []). 16 causalCheck(F,T,[H|Tail ]):- 17 rd(event(H,F,T )), % Check consistency 18 causalCheck(F,T,Tail ). Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 24 / 34
  • 25. Event-driven Programming in ReSpecT: Examples Situatedness & Linkability I Suppose to have a MAS in which a swarm of agents have to coordinate themselves so as to reach a uniform distribution in space e.g., a swarm of robots moving in a building e.g., an ensemble of web crawlers moving between subnets of the same network Suppose local communication should be used, as well as a distributed approach to the problem e.g., robots are busy in a rescue mission after an earthquake, thus reliable, long-distance communications may be compromised Similar issues can be dealt with by adopting an event model featuring situatedness exploiting an architecture promoting asynchronous communication and distributed events handling programming in a language supporting all these features—e.g., ReSpecT Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 25 / 34
  • 26. Event-driven Programming in ReSpecT: Examples Situatedness & Linkability II 1 reaction(out(moved(NewPos )), 2 (link_in ,completion), % Incoming link 3 ( 4 in(moved(NewPos )), 5 event_source (Who), % Direct cause inspection 6 in(nbr(Who, Pos )) ,out(nbr(Who,NewPos )) ,rd_all(nbr(_, _),Nbrs), 7 computeBaricenter (Nbrs,B), % Prolog computation 8 current_node (Host), % Inspect actual host 9 steering_engine @Host<-env(’destination ’,B), % Command actuator 10 motion_engine @Host<-env(’power ’,’on’) % Command actuator 11 ) 12 ). 13 reaction(from(Pos), % Motion awareness 14 (internal), 15 ( 16 % Avoid obstacles, collisions, etc. 17 % Monitor arrival to destination 18 ) 19 ). 20 reaction(to(NewPos), % Stillness awareness 21 (internal), 22 ( 23 rd_all(nbr(_, _),Nbrs),multicast(moved(NewPos),Nbrs) 24 ) 25 ). 26 multicast(_, []). 27 multicast(Info,[nbr(N,_)| Nbrs ]):- 28 N ? out(moved(Info )), % Outgoing link 29 multicast(Info,Nbrs ). Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 26 / 34
  • 27. Conclusion & Ongoing Work Outline 1 Motivations & Goals 2 Artefacts, Coordination & Tuple Centres within MAS 3 Tuple Centres for Event-driven MAS Coordination (ReSpecT) Event Model Events Handling in ReSpecT 4 Event-driven Programming in ReSpecT: Examples 5 Conclusion & Ongoing Work Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 27 / 34
  • 28. Conclusion & Ongoing Work What Has Been Done The proposed event model has been implemented in TuCSoN [Omicini and Zambonelli, 1999]4, the coordination infrastructure featuring ReSpecT tuple centres ReSpecT language constructs have been extended so as to deal with situatedness-related issues The whole thing has been brought to Android, to benefit from mobile devices built-in hardware—e.g. GPS, accelerometer, gyroscope 4 Publicly available under LGPL license from tucson.unibo.it. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 28 / 34
  • 29. Conclusion & Ongoing Work To Do The porting is far from being complete, mostly due to many mobility-related issues still to be dealt with—e.g. low battery, low memory, transient network connection TuCSoN internal architecture needs to be improved so as to better adapt its capabilities to the hosting device it’s running on—e.g. automatic detection of hardware support for situatedness Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 29 / 34
  • 30. Conclusion & Ongoing Work Thanks to everybody here at ABC:MI 2013 for listening :) Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 30 / 34
  • 31. References References I Casadei, M. and Omicini, A. (2009). Situated tuple centres in ReSpecT. In Shin, S. Y., Ossowski, S., Menezes, R., and Viroli, M., editors, 24th Annual ACM Symposium on Applied Computing (SAC 2009), volume III, pages 1361–1368, Honolulu, Hawai’i, USA. ACM. Ciancarini, P., Omicini, A., and Zambonelli, F. (2000). Multiagent system engineering: The coordination viewpoint. In Jennings, N. R. and Lesp´erance, Y., editors, Intelligent Agents VI. Agent Theories, Architectures, and Languages, volume 1757 of LNAI, pages 250–259. Springer. Omicini, A. (2007). Formal ReSpecT in the A&A perspective. Electronic Notes in Theoretical Computer Science, 175(2):97–117. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 31 / 34
  • 32. References References II Omicini, A. and Denti, E. (2001a). Formal ReSpecT. Electronic Notes in Theoretical Computer Science, 48:179–196. Omicini, A. and Denti, E. (2001b). From tuple spaces to tuple centres. Science of Computer Programming, 41(3):277–294. Omicini, A., Ricci, A., and Viroli, M. (2008). Artifacts in the A&A meta-model for multi-agent systems. Autonomous Agents and Multi-Agent Systems, 17(3):432–456. Omicini, A. and Viroli, M. (2011). Coordination models and languages: From parallel computing to self-organisation. The Knowledge Engineering Review, 26(1):53–59. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 32 / 34
  • 33. References References III Omicini, A. and Zambonelli, F. (1999). Coordination for Internet application development. Autonomous Agents and Multi-Agent Systems, 2(3):251–269. Weyns, D., Omicini, A., and Odell, J. J. (2007). Environment as a first-class abstraction in multi-agent systems. Autonomous Agents and Multi-Agent Systems, 14(1):5–30. Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 33 / 34
  • 34. Event-driven Programming for Situated MAS with ReSpecT Tuple Centres Stefano Mariani, Andrea Omicini {s.mariani, andrea.omicini}@unibo.it DISI Alma Mater Studiorum—Universit`a di Bologna ABC:MI 2013 Koblenz, Germany - 17 September 2013 Mariani, Omicini (DISI, Alma Mater) Event-driven Situated MAS ABC:MI 2013, 17/9/2013 34 / 34