public class SubgroupAgentMixer extends Object implements AgentMixer, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
groupSize |
protected int |
numGroups |
protected cern.jet.random.engine.RandomEngine |
prng |
Constructor and Description |
---|
SubgroupAgentMixer(cern.jet.random.engine.RandomEngine prng) |
Modifier and Type | Method and Description |
---|---|
Collection<AgentList> |
createGroups(Population population) |
int |
getGroupSize() |
int |
getNumGroups() |
void |
invokeAgentInteractions(Population population,
SimulationController simulation)
Schedule events of type AgentArrivalEvent for each agent in the
simulation.
|
void |
setGroupSize(int groupSize) |
void |
setNumGroups(int numGroups) |
protected int groupSize
protected cern.jet.random.engine.RandomEngine prng
protected int numGroups
public SubgroupAgentMixer(cern.jet.random.engine.RandomEngine prng)
public void invokeAgentInteractions(Population population, SimulationController simulation)
AgentMixer
invokeAgentInteractions
in interface AgentMixer
public Collection<AgentList> createGroups(Population population)
public int getGroupSize()
public void setGroupSize(int groupSize)
public int getNumGroups()
public void setNumGroups(int numGroups)
Copyright © 2014. All rights reserved.