public class TeamAgentFilter extends AbstractAgentFilter
Constructor and Description |
---|
TeamAgentFilter(Map<Account,Object> teammap,
AgentProvider agentprovider)
Construct a new TeamAgentFilter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSuitable(UniqueSimulationAgent a,
AgentParameter p)
This method determines if an agent suits the requirements found in agent parameters p.
|
allocateAgent, freeAgent, getAgents, getBase
public TeamAgentFilter(Map<Account,Object> teammap, AgentProvider agentprovider)
teammap
- association map to useagentprovider
- agent provider to receive agents frompublic boolean isSuitable(UniqueSimulationAgent a, AgentParameter p)
AbstractAgentFilter
isSuitable
in class AbstractAgentFilter
a
- agent candidatep
- agent requirements.Copyright © 2013. All Rights Reserved.