net.sourceforge.jabm.mixing
Class FullPairwiseAgentMixer

java.lang.Object
  extended by 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
 

Field Summary
protected  int numSteps
           
 
Constructor Summary
FullPairwiseAgentMixer()
           
 
Method Summary
 void eventOccurred(SimEvent event)
           
 int getNumSteps()
           
 void invokeAgentInteractions(Population population, SimulationController simulation)
          Schedule events of type AgentArrivalEvent for each agent in the simulation.
 void invokeInteraction(AgentList group, SimulationController simulation)
           
 void invokeInteractions(AgentList agentList, SimulationController simulation)
           
 void setNumSteps(int numSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numSteps

protected int numSteps
Constructor Detail

FullPairwiseAgentMixer

public FullPairwiseAgentMixer()
Method Detail

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)