net.sourceforge.jabm.mixing
Class FullPairwiseAgentMixer
java.lang.Object
net.sourceforge.jabm.mixing.FullPairwiseAgentMixer
- All Implemented Interfaces:
- java.io.Serializable, AgentMixer
- Direct Known Subclasses:
- StochasticPairwiseAgentMixer
public class FullPairwiseAgentMixer
- extends java.lang.Object
- implements AgentMixer, java.io.Serializable
Every pair of agents interacts with each other.
- See Also:
- Serialized Form
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numSteps
protected int numSteps
FullPairwiseAgentMixer
public FullPairwiseAgentMixer()
invokeInteraction
public void invokeInteraction(AgentList group,
SimulationController simulation)
invokeInteractions
public void invokeInteractions(AgentList agentList,
SimulationController simulation)
invokeAgentInteractions
public void invokeAgentInteractions(Population population,
SimulationController simulation)
- Description copied from interface:
AgentMixer
- Schedule events of type AgentArrivalEvent for each agent in the
simulation.
- Specified by:
invokeAgentInteractions
in interface AgentMixer
getNumSteps
public int getNumSteps()
setNumSteps
public void setNumSteps(int numSteps)
eventOccurred
public void eventOccurred(SimEvent event)