@FunctionalInterface public interface AgentCreatorProvider
Modifier and Type | Method and Description |
---|---|
(UUID)=>Agent |
getAgentCreator(agentClazz : Class<? extends Agent>,
parent : UUID,
nbAgents : int,
skillProviders : ConcurrentLinkedDeque<DynamicSkillProvider>)
Build an agent creator based on the given parameters.
|
def
getAgentCreator(agentClazz : Class<? extends Agent>,
parent : UUID,
nbAgents : int,
skillProviders : ConcurrentLinkedDeque<DynamicSkillProvider>) : (UUID)=>Agent
AgentCreatorProvider
T
- the type of agent to create.agentClazz
- the type of agent to create.parent
- the identifier of the agents' parent.nbAgents
- the number of agents to create.skillProviders
- is a list of additionnal skill providers that should be considered by the created agent.Copyright © 2020 the original authors or authors.