46
X-Machines for Agent-Based Modeling: FLAME Perspectives
A t N e s t
M o v i n g
F r e e l y
L i f t i n g
F o o d
F o l l o w i n g
T r i a l
A t O b s t a c l e
s p a c e
s p a c e
n e s t
s p a c e
p h e r o m o n e
n e s t
p h e r o m o n e
p h e r o m o n e
s p a c e
f o o d
f o o d
p h e r o m o n e
o b s t a c l e
s p a c e
o b s t a c l e
o b s t a c l e
p h e r o m o n e
(a) State Machine of an Ant.
A t N e s t
M o v i n g
F r e e l y
G o i n g b a c k
t o N e s t
L o o k i n g f o r
F o o d
A t F o o d
m o v e
m o v e
f i n d _ n e s t
f i n d _ n e s t
m o v e _ t o _ f o o d
m o v e _ t o _ f o o d
m o v e _ t o _ n e s t
l i f t _ f o o d
l i f t _ f o o d
s t a y _ a t _ n e s t
i g n o r e _ f o o d
d r o p _ f o o d
f i n d _ f o o d
m o v e _ t o _ n e s t
g o t _ l o s t
(b) X-machine of an Ant.
FIGURE 3.2: State and X-machine diagrams of an ant foraging for food. cf.
[104].
X-Machines for Agent-Based Modeling: FLAME Perspectives
A t N e s t
M o v i n g
F r e e l y
L i f t i n g
F o o d
F o l l o w i n g
T r i a l
A t O b s t a c l e
s p a c e
s p a c e
n e s t
s p a c e
p h e r o m o n e
n e s t
p h e r o m o n e
p h e r o m o n e
s p a c e
f o o d
f o o d
p h e r o m o n e
o b s t a c l e
s p a c e
o b s t a c l e
o b s t a c l e
p h e r o m o n e
(a) State Machine of an Ant.
A t N e s t
M o v i n g
F r e e l y
G o i n g b a c k
t o N e s t
L o o k i n g f o r
F o o d
A t F o o d
m o v e
m o v e
f i n d _ n e s t
f i n d _ n e s t
m o v e _ t o _ f o o d
m o v e _ t o _ f o o d
m o v e _ t o _ n e s t
l i f t _ f o o d
l i f t _ f o o d
s t a y _ a t _ n e s t
i g n o r e _ f o o d
d r o p _ f o o d
f i n d _ f o o d
m o v e _ t o _ n e s t
g o t _ l o s t
(b) X-machine of an Ant.
FIGURE 3.2: State and X-machine diagrams of an ant foraging for food. cf.
[104].
