kernel-inline.cfg 2.72 KB
Newer Older
Juon Kawakami's avatar
init  
Juon Kawakami committed
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
!include common.cfg
!include gis.cfg
!include comms.cfg
!include perception.cfg
!include score.cfg

# Also include configs for simulators and agents
!include collapse.cfg
!include clear.cfg
!include misc.cfg
!include resq-fire.cfg
!include traffic3.cfg
!include ignition.cfg
!include civilian.cfg
!include sample-agents.cfg
!include viewer.cfg

# Name of the kernel log file
kernel.logname: ../logs/rescue.log

# Number of timesteps to run
kernel.timesteps: 215

# The simulation termination conditions
kernel.termination: kernel.TimestepTerminationCondition
#kernel.termination: kernel.TimestepTerminationCondition rescuecore2.standard.kernel.CiviliansDeadOrRescuedTerminationCondition

# The amount of time (ms) agents have to send commands each timestep
kernel.agents.think-time: 1000
# Number of timesteps that agents commands are ignored
kernel.agents.ignoreuntil: 3

# List of command collectors to use
kernel.commandcollectors: kernel.TimedCommandCollector
#kernel.commandcollectors: kernel.TimedCommandCollector rescuecore2.standard.kernel.StandardCommandCollector

# List of command filters to use
kernel.commandfilters +: kernel.WrongTimeCommandFilter
kernel.commandfilters +: kernel.FrozenAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.DeadAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.BuriedAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.SingleCommandFilter

# The agent registrar
kernel.agents.registrar: rescuecore2.standard.kernel.StandardAgentRegistrar

# The amount of time agents have to start up
kernel.startup.connect-time: 300000 # 5 minute startup time
# kernel.startup.connect-time: 10000 # 10 second startup time

# Automatic choice of GIS
kernel.gis.auto: gis2.GMLWorldModelCreator

# Automatic choice of perception
kernel.perception.auto: rescuecore2.standard.kernel.LineOfSightPerception

# Automatic choice of communication model
kernel.communication.auto: rescuecore2.standard.kernel.comms.ChannelCommunicationModel

# Automatically start simulators/viewers/agents
kernel.simulators.auto +: collapse.CollapseSimulator
kernel.simulators.auto +: clear.ClearSimulator
kernel.simulators.auto +: misc.MiscSimulator
kernel.simulators.auto +: firesimulator.FireSimulatorWrapper
kernel.simulators.auto +: traffic3.simulator.TrafficSimulator
kernel.simulators.auto +: ignition.IgnitionSimulator

kernel.viewers.auto +: sample.SampleViewer

kernel.agents.auto +: sample.SampleFireBrigade*n
kernel.agents.auto +: sample.SamplePoliceForce*n
kernel.agents.auto +: sample.SampleAmbulanceTeam*n
kernel.agents.auto +: sample.SampleCentre*n
kernel.agents.auto +: sample.SampleCivilian*n

# Kernel UI components
kernel.ui.components: rescuecore2.standard.kernel.StandardWorldModelViewerComponent