-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvCoordinationMAS.jcm
42 lines (29 loc) · 1.11 KB
/
envCoordinationMAS.jcm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
envCoordinationMAS
---------------------------
JaCaMo Project File
This file defines the initial state of the MAS (initial agents, environment, organisation, ....)
(see jacamo/doc/jcm.html for more information about what can be defined in this file)
JaCaMo <VERSION>
<DATE>
*/
mas envCoordinationMAS {
agent bob : auctioneer.asl {
goals: start(a1,"flight_ticket(paris,athens,15/12/2015)")
start(a2,"flight_ticket(athens,paris,18/12/2015)")
}
agent alice : participant.asl
agent maria : participant.asl
agent francois: participant.asl
agent giacomo : participant.asl
workspace market_place {
agents: bob, alice, maria, francois, giacomo // these agents will join the workspace
// the artifact is now created by bob on demand (one for each start goal)
// artifact auction1 : auction_env.AuctionArtifact() {
// focused-by: bob, alice, maria, francois, giacomo
// }
}
// agent source path
asl-path: src/agt
src/agt/inc
}