public class KernelStartupOptions
extends java.lang.Object
Constructor and Description |
---|
KernelStartupOptions(Config config)
Create a KernelStartupOptions.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Agent> |
getAvailableAgents()
Get the list of available Agent components.
|
java.util.List<CommunicationModel> |
getAvailableCommunicationModels()
Get the list of available CommunicationModel implementations.
|
java.util.Collection<Component> |
getAvailableComponents()
Get the list of available components that are not simulators, viewers or agents.
|
java.util.List<Perception> |
getAvailablePerceptions()
Get the list of available Perception implementations.
|
java.util.Collection<Simulator> |
getAvailableSimulators()
Get the list of available Simulator components.
|
java.util.Collection<Viewer> |
getAvailableViewers()
Get the list of available Viewer components.
|
java.util.List<WorldModelCreator> |
getAvailableWorldModelCreators()
Get the list of available WorldModelCreator implementations.
|
CommunicationModel |
getCommunicationModel()
Get the CommunicationModel the kernel should use.
|
java.util.Collection<Pair<java.lang.String,java.lang.Integer>> |
getInlineComponents()
Get the names of all components that should be started inline.
|
int |
getInstanceCount(Component c)
Get the number of instances of a type of component to start.
|
Perception |
getPerception()
Get the Perception module the kernel should use.
|
WorldModelCreator |
getWorldModelCreator()
Get the WorldModelCreator the kernel should use.
|
void |
setCommunicationModel(CommunicationModel c)
Set the CommunicationModel the kernel should use.
|
void |
setInstanceCount(Component c,
int count)
Set the number of instances of a type of component to start.
|
void |
setPerception(Perception p)
Set the Perception module the kernel should use.
|
void |
setWorldModelCreator(WorldModelCreator creator)
Set the WorldModelCreator the kernel should use.
|
public KernelStartupOptions(Config config)
config
- The system configuration.public java.util.Collection<Pair<java.lang.String,java.lang.Integer>> getInlineComponents()
public WorldModelCreator getWorldModelCreator()
public void setWorldModelCreator(WorldModelCreator creator)
creator
- The selected WorldModelCreator.public java.util.List<WorldModelCreator> getAvailableWorldModelCreators()
public Perception getPerception()
public void setPerception(Perception p)
p
- The selected Perception.public java.util.List<Perception> getAvailablePerceptions()
public CommunicationModel getCommunicationModel()
public void setCommunicationModel(CommunicationModel c)
c
- The selected CommunicationModel.public java.util.List<CommunicationModel> getAvailableCommunicationModels()
public java.util.Collection<Simulator> getAvailableSimulators()
public java.util.Collection<Viewer> getAvailableViewers()
public java.util.Collection<Agent> getAvailableAgents()
public java.util.Collection<Component> getAvailableComponents()
public int getInstanceCount(Component c)
c
- The component type.public void setInstanceCount(Component c, int count)
c
- The component type.count
- The number of instances to start.