Information Technology Reference
In-Depth Information
Fireman-agent:
«event»
Perceive
«effector»
Move
«event»
Move
«eve nt»
Plan
«event»
Start
«sensor»
Perceive
«effector»
Plan
«event»
Water
«effector»
Water
Firebug-agent:
«event»
Wander
«event»
Start
«effector»
RandomMove
«event»
MakeFire
«effector»
MakeFire
Figure 6.7: Firespread-example: Sensor-effector-chains of fireman-agent
and firebug-agent.
decides whether to water a fire on the current cell, to move in
direction of the closest fire, or to stay at the current position. In
any case, the main loop of perceiving and planning is executed all
the time.
The firebug-agent possesses the following effectors:
RandomMove: Move randomly to a neighboring cell, duration:
1timestep
MakeFire: Ignite current cell with probability 0.1, duration: 1
time step
The firebug-agent acts in a simple loop of randomly moving to a
neighboring cell and trying to ignite the current cell. Only cells
of type forest may be ignited.
Search WWH ::




Custom Search