Multiagent Systems and Agent-based Simulation
From theory to transport application
- Prof. dr. St´
ephane GALLAND
MTS 2015 Summer School – Hasselt, Belgium
IRTES-SeT, UTBM 90010 Belfort cedex, France stephane.galland@utbm.fr – http://www.multiagent.fr
Multiagent Systems and Agent-based Simulation From theory to - - PowerPoint PPT Presentation
Multiagent Systems and Agent-based Simulation From theory to transport application Prof. dr. St ephane GALLAND MTS 2015 Summer School Hasselt, Belgium IRTES-SeT, UTBM 90010 Belfort cedex, France stephane.galland@utbm.fr
IRTES-SeT, UTBM 90010 Belfort cedex, France stephane.galland@utbm.fr – http://www.multiagent.fr
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
2
1 the basics of the SARL programming language; 2 the basics of the multiagent simulation; 3 a model of social organizational environment,
4 a model of physic environment,
5 a model of based on recursive agents, the holons,
6 a cyber-physic model,
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
3
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
4
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
5
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
6
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
7
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
8
Agent
Environment Interface Agent body
Physical attributes (x,y,z), V(t) a(t)
Agent mind
Agent memory Behavior Action filter Perception filter Filtered perception Action Influence Perception
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
9
assembler procedural
actor agent level of abstraction
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
10
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
11
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
12
4 main concepts Agent Capacity Skill Space 3 main dimensions Individual:: the Agent abstraction (Agent, Capacity, Skill) Collective:: the Interaction abstraction (Space, Event, etc.) Hierarchical:: the Holon abstraction (Context) SARL: a general-purpose agent-oriented programming language. Rodriguez, S., Gaud, N., Galland, S. (2014) Presented at the The 2014 IEEE/WIC/ACM International Conference on Intelligent Agent Technology, IEEE Computer Society Press, Warsaw, Poland. [Rodriguez, 2014]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
13
Agent
Capacity1 Capacity2 Capacity3 Capacity4
Skill Container
Built-in Capacities
Space 1 Space 2
Addr1 Addr1 Addr2
Default Space
Behaviors Behavior 1 Behavior 2 Behavior n
Inner Context
agent HelloAgent { uses L i f e c y c l e , Schedules
I n i t i a l i z e { p r i n t l n (” H e l l o World ! ” ) i n (2000) [ k i l l M e ] }
Destroy { p r i n t l n (” Goodbye World ! ” ) } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
14
A specification of a transformation of a part of the designed system or its environment. Guarantees resulting properties if the system before the transformation satisfies a set of constraints. Defined in terms of pre- and post-conditions.
Specification of a collection of actions.
A possible implementation of a capacity fulfilling all the constraints
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
15 c a p a c i t y Logging { def debug ( s : S t r i n g ) def i n f o ( s : S t r i n g ) } s k i l l BasicConsoleLogging implements Logging { def debug ( s : S t r i n g ) { p r i n t l n (”DEBUG: ” + s ) } def i n f o ( s : S t r i n g ) { p r i n t l n (”INFO :” + s ) } } agent HelloAgent { uses L i f e c y c l e , Schedules , Logging
I n i t i a l i z e { s e t S k i l l ( Logging , new BasicConsoleLogging ) i n f o (” H e l l o World ! ” ) i n (2000) [ k i l l M e ] }
Destroy { i n f o (” Goodbye World ! ” ) } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
16
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
17
Default space Space 1 Space 2 Space 3
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
18
Agent
Capacity1 Capacity2 Capacity3 Capacity4
Skill Container
Built-in Capacities
Space 1 Space 2
Addr1 Addr1 Addr2
Default Space
Behaviors Behavior 1 Behavior 2 Behavior n
Inner Context
Addr-2 Addr-1 Addr-3
Other agent
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
19 event Ping { var v a l u e : I n t e g e r new ( v : I n t e g e r ) { v a l u e = v } } event Pong { var v a l u e : I n t e g e r new ( v : I n t e g e r ) { v a l u e = v } } agent PongAgent {
I n i t i a l i z e { p r i n t l n (” Waiting f o r ping ”) }
Ping { p r i n t l n (” Recv Ping : ”+o c c u r r e n c e . v a l u e ) p r i n t l n (” Send Pong : ”+o c c u r r e n c e . v a l u e ) emit ( new Pong ( o c c u r r e n c e . v a l u e ) ) } } agent PingAgent{ var count : I n t e g e r
I n i t i a l i z e { p r i n t l n (” S t a r t i n g PingAgent . . . ” ) count = 0 i n (2000) [ sendPing ] } def sendPing { i f ( d e f a u l t S p a c e . p a r t i c i p a n t s . s i z e >1) { emit ( new Ping ( count ) ) count = count + 1 } e l s e { i n (2000) [ sendPing ] } }
i n (1000) [ p r i n t l n (” Send Ping : ”+count ) emit ( new Ping ( count ) ) count = count + 1 ] } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
20
Default Space (Holonic group)
Level n Level n-1 InnerContext
Addr-1 Addr-2 Addr-3 Addr-6 Addr-7 Addr-5 Addr-4 Addr-8 Addr-9 Addr11 Addr10 Addr12 Addr13 Addr14 Addr15 Addr16 Addr17 Addr18
Other Space (Production group) Default Space Default Space
DefaultContext ExternalContext 1
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
21
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
22
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
22
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
22
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
22
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
23
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
24
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
25
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
26
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
27
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
28
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
29
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
30
Abstraction/Simplification/Focus Explanation/Optimization/Prediction Confrontation Observations Experimental results Simulation results/outputs Tuning model Simulation
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
31
Is the model valid?
Is the simulator valid?
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
32
Is the model valid?
Is the simulator valid?
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
33
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
33
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
33
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
33
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
33
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
34
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
35
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
36
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
37
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
38
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
39
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
40
Internal Agent Architecture Modeling of agent deliberation processes (agent mind)
Physical objects of the world, their structuring, environment dynamics (evaporation...)
Temporal dynamic of the system Modeling of the time progress, and of the agent scheduling
Modeling the concurrent events Modeling the results of actions and interactions at a given time
manages implies implies manages
Definitions of action, perception, and conflict resolution
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
41
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
42
if condition1 then action1 else if condition2 then action2 else . . . end if end if condition1 action1 condition2 action2 conditionn actionn ∅ inputs
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
42
− − → p − ai|
− − − − − − − → n
i=1 ai
n − p
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
42
Belief recognition Control flow Generate
Filtering Action selection Outputs Beliefs Desires Intentions Inputs
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
42
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
43
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
44
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
45
Direct interaction Behavioral component Agent mind Environment Interface Environmental Object Collection Environment's State Influence Solver
ensure valid environment state according to environment laws
Perception data structure
spatial tree, grid, graph
Physical component Agent body Environment Dynamics Engine Perception Influence Influence
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
46
State variables of the decisional component
Readable/modifiable
Environment Interface Agent body
Physical attributes (x,y,z), V(t) a(t)
Agent mind
Agent memory Behavior Action filter Perception filter Filtered perception Action Influence Perception
State variables of the physical component
Readable by the agent Modifiable by the environment
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
47
event P e r c e p t i o n { v a l
: Object v a l r e l a t i v e P o s i t i o n : Vector } c a p a c i t y E n v i r o n m e n t I n t e r a c t i o n { moveTheBody ( motion : Vector ) move ( o b j e c t : Object , motion : Vector ) executeActionOn ( o b j e c t : Object , actionName : String , parameters : Object ✯) } space PhysicEnvironment { move ( o b j e c t : Object , motion : Vector ) } s k i l l PhysicBody implements E n v i r o n m e n t I n t e r a c t i o n { v a l env : PhysicEnvironment v a l body : Object def moveTheBody ( motion : Vector ) { move ( t h i s . body , motion ) } def move ( o b j e c t : Object , motion : Vector ) { env . move ( object , motion ) } } c l a s s PhysicEnvironmentImpl implements PhysicEnvironment { p u b l i c void move ( Object
Vector motion ) { // . . . } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
48
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
49
1 the environment: the model of the road network, and the
2 the driver model: the behavior of the driver linked to a single
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
50
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
51
ENVIRONMENT Car Path planning Collision avoidance
path to follow instant acceleration new position perceived objects
JaSim model [Galland, 2009]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
52
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
53
See driver algorithm
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
54
1 Vehicles on a French highway. 2 Danger event → “an animal is crossing the highway and
3 Alert events by GSM. 4 Arrival of the security and rescue services.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
54
1 Vehicles on a French highway. 2 Danger event → “an animal is crossing the highway and
3 Alert events by GSM. 4 Arrival of the security and rescue services.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
54
1 Vehicles on a French highway. 2 Danger event → “an animal is crossing the highway and
3 Alert events by GSM. 4 Arrival of the security and rescue services.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
54
1 Vehicles on a French highway. 2 Danger event → “an animal is crossing the highway and
3 Alert events by GSM. 4 Arrival of the security and rescue services.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
55 These videos were realized on the SIMULATE tool Voxelia S.A.S
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
56
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
57
1 Movements of pedestrians at a microscopic level. 2 Force-based model for avoiding collisions.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
57
1 Movements of pedestrians at a microscopic level. 2 Force-based model for avoiding collisions.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
58
F
c) · ˆ
ˆ Si: a sliding force. ti
c: time to collision to object i.
U(t): scaling function of the time to collision. M: set objects around (including the other agents). wa: weight of the attractive force. δxg: is g if x ≤ 0, 0 otherwise.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
59
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
60
tφ − σ tmax φ
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
61 These videos were realized on the SIMULATE tool Voxelia S.A.S
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
62
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
63
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
64
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
65
Source: http://www.aspecs.org, and [Cossentino, 2010]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
66
Source: http://www.aspecs.org, and [Cossentino, 2010]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
67
Source: http://www.aspecs.org, and [Cossentino, 2010]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
68
Source: http://www.aspecs.org, and [Cossentino, 2010]
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
69
1 Client is requesting to Broker the best offer for a service. 2 Broker is contacting Providers for offer submission and select
3 Broker is giving back to Client the best offer. 4 Client and Provider are contracting.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
70
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
71 b e h a v i o r P r o v i d e r B r o k e r { uses P r o p o s a l S e l e c t i o n var p r o p o s a l s : C o l l e c t i o n <Proposal> var p r o v i d i n g : ProvidingSpace
C l i e n t R e q u e s t { p r o v i d i n g . emit ( new C a l l ( o c c u r r e n c e ) ) i n ( 1 . hours ) [ var best = s e l e c t ( p r o p o s a l s ) var r e p l y E v e n t = new C o n t r a c t i n g { r e q u e s t = > occurrence , p a r t n e r = > best . source } wake ( r e p l y E v e n t ) ] }
Proposal { p r o p o s a l s = p r o p o s a l s + o c c u r r e n c e } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
72
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
73
1 Select the best transport mode according to the individual
2 Create a motive to carpool. 3 Communicate this motive with other agents. 4 Negotiate a plan with the interested agents. 5 Execute the agreed plans. 6 Provide a feedback to all concerned agents.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
74
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
75
1 Profile similarity, 2 Path similarity, and 3 Time window similarity.
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
76
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
77
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
78
t t ⊥iA ⊤iA ⊥iB ⊤iB tis(iA, iB)
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
79
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
80
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
81
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
82
t
1 t 1 t fB fA 1 t 1 t tis fA · fB C C
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
83
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
84
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
85
Default Space (Holonic group)
Level n Level n-1 InnerContext
Addr-1 Addr-2 Addr-3 Addr-6 Addr-7 Addr-5 Addr-4 Addr-8 Addr-9
Addr11 Addr10 Addr12 Addr13 Addr14 Addr15 Addr16 Addr17 Addr18
Other Space (Production group) Default Space Default Space
DefaultContext ExternalContext 1
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
86
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
87
Addr-1 Addr-5 Addr-6 Addr-7 Addr-4 Addr-3 Addr-2 Addr-A Addr-B Addr-9 Addr-8
2-ProductOrder 5-Product 4-Product 1-ProductOrder 3-ProductOrder 6-Product
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
88 event ProductOrder { v a l q u a n t i t y : i n t v a l i d : S t r i n g new ( q : int , i : S t r i n g ) { t h i s . q u a n t i t y = q t h i s . i d = i } } event Product { v a l q u a n t i t y : i n t v a l i d : S t r i n g new ( q : int , i : S t r i n g ) { t h i s . q u a n t i t y = q t h i s . i d = i } } agent P r o v i d e r { var products : Map <String , Address>
ProductOrder { products . put (
wake (
Scopes . notAddresses ( innerSpace . a d d r e s s ) ) }
Product { var adr = products . remove (
) i f ( a !=== n u l l ) { emit (
Scopes . a d d r e s s e s ( adr ) ) } } }
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
89
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
90
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
91
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
92
1 Simulate the driver behavior. 2 Simulate the environment and the
3 Deploy the driver software in the
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
92
1 Simulate the driver behavior. 2 Simulate the environment and the
3 Deploy the driver software in the
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
92
1 Simulate the driver behavior. 2 Simulate the environment and the
3 Deploy the driver software in the
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
93
Control Sensors Sensors Control
MTS 2015 – 14/07/2015
SARL Language Multiagent Simulation Physic Environment Social Environment Holons Cyber-physical System
94
MTS 2015 – 14/07/2015
95
1 Multiagent-based simulation model is composed of three
2 Organizational approach may break down the complexity of
3 The simulator should limit/avoid the biais introducing by the
4 Multiagent-based simulation is well-adapted for
MTS 2015 – 14/07/2015
96
1 Modeling of complex systems:
2 Modeling of large-scale systems:
3 Initializing the properties of the agents and the environment:
MTS 2015 – 14/07/2015
97
MTS 2015 – 14/07/2015
IRTES-SeT, UTBM 90010 Belfort cedex, France stephane.galland@utbm.fr – http://www.multiagent.fr
i
MTS 2015 – 14/07/2015
ii
MTS 2015 – 14/07/2015
iii
MTS 2015 – 14/07/2015
iv
MTS 2015 – 14/07/2015
v
MTS 2015 – 14/07/2015
vi
MTS 2015 – 14/07/2015
vii
MTS 2015 – 14/07/2015
viii
MTS 2015 – 14/07/2015
ix
MTS 2015 – 14/07/2015
x
MTS 2015 – 14/07/2015
xi
MTS 2015 – 14/07/2015
xii
MTS 2015 – 14/07/2015
xiii
MTS 2015 – 14/07/2015
xiv
MTS 2015 – 14/07/2015
xv
MTS 2015 – 14/07/2015
xvi
MTS 2015 – 14/07/2015
xvii
MTS 2015 – 14/07/2015
xviii
Institut de Recherche sur les Transports, l’´ Energie et la Soci´ et´ e Universit´ e de Technologie de Belfort-Montb´ eliard, France
Web page: http://www.multiagent.fr/People:Galland_stephane Email: stephane.galland@utbm.fr Open-source contributions:
http://www.sarl.io http://www.janusproject.io http://www.arakhne.org
MTS 2015 – 14/07/2015
xix
MTS 2015 – 14/07/2015
xx
MTS 2015 – 14/07/2015
xxi (2008). Cyber-physical systems. Brooks, R. (1990). Elephants don’t play chess. Designing Autonomous Agents: Theory and Practice from Biology to Engineering and Back. Buisson, J., Galland, S., Gaud, N., Yasar, Gon¸ calves, M., and Koukam, A. (2013). Real-time collision avoidance for pedestrian and bicyclist simulation: a smooth and predictive approach. In the 2nd International Workshop on Agent-based Mobility, Traffic and Transportation Models, Methodologies and Applications (ABMTRANS), Halifax, Nova Scotia, Canada. Procedia Computer Science, Elsevier. Cossentino, M., Gaud, N., Hilaire, V., Galland, S., and Koukam, A. (2010). ASPECS: an agent-oriented software process for engineering complex systems - how to design agent societies under a holonic perspective. Autonomous Agents and Multi-Agent Systems, 2(2):260–304. Davidsson, P. (2000). Multi agent based simulation: Beyond social simulation. Multi Agent Based Simulation, LNCS series, 1979. Dechter, R. and Pearl, J. (1985). Generalized best-first search strategies and the optimality of a*.
MTS 2015 – 14/07/2015
xxii Delling, D., Sanders, P., Schultes, D., and Wagner, D. (2009). Engineering route planning algorithms. In Lerner, J., Wagner, D., and Zweig, K., editors, Algorithmics of Large and Complex Networks, volume 5515 of Lecture Notes in Computer Science, pages 117–139. Springer Berlin Heidelberg. Ferber, J. and Gutknecht, O. (1998). A meta-model for the analysis and design of organizations in multi-agent systems. In Demazeau, Y., Durfee, E., and Jennings, N., editors, Third International Conference on Multi-Agent Systems (ICMAS’98), pages 128–135, Paris, France. Ferber, J., Gutknecht, O., and Michel, F. (2004). From agents to organizations: an organizational view of multi-agent systems. In Agent-Oriented Software Engineering IV 4th International Workshop, volume 2935 of LNCS, pages 214–230, Melbourne, Australia. Springer Verlag. Ferber, J. and M¨ uller, J. (1996). Influences and reactions : a model of situated multiagent systems. In Second Internationnal Conference on Multi-Agent Systems (ICMAS 96), pages 72–79. Galland, S., Balbo, F., Gaud, N., Rodriguez, S., Picard, G., and Boissier, O. (2015). Contextualize agent interactions by combining social and physical dimensions in the environment. In Demazeau, Y., Decker, K., De la prieta, F., and Bajo perez, J., editors, Advances in Practical Applications of Agents, Multi-Agent Systems, and Sustainability: The PAAMS Collection. Lecture Notes in Computer Science 9086., pages 107–119. Springer International Publishing.
MTS 2015 – 14/07/2015
xxiii Galland, S., Gaud, N., Demange, J., and Koukam, A. (2009). Environment model for multiagent-based simulation of 3D urban systems. In the 7th European Workshop on Multiagent Systems (EUMAS09), Ayia Napa, Cyprus. Paper 36. Galland, S., Gaud, N., Yasar, A.-U.-H., Knapen, L., Janssens, D., and Lamotte, O. (2013). Simulation model of carpooling with the janus multiagent platform. In the 2nd International Workshop on Agent-based Mobility, Traffic and Transportation Models, Methodologies and Applications (ABMTRANS), Halifax, Nova Scotia, Canada. Procedia Computer Science, Elsevier. Gechter, F., Conter, J.-M., Galland, S., Lamotte, O., and Koukam, A. (2012). Virtual intelligent vehicle urban simulator: Application to vehicle platoon evaluation. Simulation Modelling Practice and Theory (SIMPAT), 24:103–114. Hannoun, M., Boissier, O., Sichman, J. S., and Sayettat, C. (2000). MOISE: An organizational model for multi-agent systems. In et Sichman J., M. M., editor, Advances in Artificial Intelligence, IBERAMIA-SBIA, pages 156–165, Brazil. Helbing, D. and Molnar, P. (1997). Self-organization phenomena in pedestrian crowds. Self-organization of complex structures: from individual to collective dynamics, pages 569–577. Hilaire, V., Koukam, A., Gruer, P., and M¨ uller, J.-P. (2000). Formal specification and prototyping of multi-agent systems. In Omicini, A., Tolksdorf, R., and Zambonelli, F., editors, Engineering Societies in the Agents’ World, number 1972 in Lecture Notes in Artificial Intelligence. Springer Verlag.
MTS 2015 – 14/07/2015
xxiv Hoogendoorn, S. P. and Bovy, P. H. (2001). State-of-the-art of vehicular traffic flow modelling. Special Issue on Road Traffic Modelling and Control of the Journal of Systems and Control Engineering, 215(4):283–303. H¨ ubner, J., Sichman, J., and Boissier, O. (2002). A model for the structural, functional, and deontic specification of organizations in multiagent systems. In Bittencourt, G. and Ramalho, G., editors, Advances in Artificial Intelligence: 16th Brazilian Symposium on Artificial Intelligence (SBIA), volume 2507 of LNAI, pages 118–128. Springer. Koenig, S. and Likhachev, M. (2005). Fast replanning for navigation in unknown terrain. Robotics, IEEE Transactions on, 21(3):354–363. Koestler, A. (1967). The Ghost in the Machine. Hutchinson. Michel, F. (2004). Formalism, tools and methodological elements for the modeling and simulation of multi-agents systems. PhD thesis, LIRMM, Montpellier, France. Rao, M. P. G. (1995). BDI-agents: From theory to practice. In the First International Conference on Multiagent Systems (ICMAS’95).
MTS 2015 – 14/07/2015
xxv Reynolds, C. (1999). Steering behaviors for autonomous characters. In Proceedings of the Game Developers Conference, page 763–782. Rodriguez, S., Gaud, N., and Galland, S. (2014). SARL: a general-purpose agent-oriented programming language. Warsaw, Poland. IEEE Computer Society Press. Shannon, R. E. (1977). Simulation modeling and methodology. SIGSIM Simul. Dig., 8(3):33–38. Treiber, M., Hennecke, A., and Helbing, D. (2000). Congested traffic states in empirical observations and microscopic simulations.
Weyns, D., Parunak, H. V. D., Michel, F., Holvoet, T., and Ferber, J. (2005). Environment for Multiagent Systems State-of-the-Art and Research Challenges. In Environments for Multi-Agent Systems (E4MAS), pages 1–47. Springer Berlin / Heidelberg. Wooldridge, M. and Ciancarini, P. (2001). Agent-oriented software engineering: The state of the art. In Agent-Oriented Software Engineering: First International Workshop (AOSE 2000), volume 1957 of Lecture Notes in Computer Science, page 1—28. Springer-Verlag.
MTS 2015 – 14/07/2015
xxvi Zeigler, B. P., Praehofer, H., and Kim, T. G. (2000). Theory of Modeling and Simulation. Academic Press, 2nd edition edition.
MTS 2015 – 14/07/2015