Interface ProtocolGenerator<T extends Protocol,​S extends Agent,​R extends MultiAgentSystem<S>>

  • Type Parameters:
    T - The actual type of the protocol.
    S - The actual type of the agents.
    R - The actual type of the multi-agent system.

    public interface ProtocolGenerator<T extends Protocol,​S extends Agent,​R extends MultiAgentSystem<S>>
    Generates protocols for simulation.
    Author:
    Matthias Thimm
    • Method Summary

      Modifier and Type Method Description
      T generate​(R mas, SimulationParameters params)
      Generates a new protocol.
    • Method Detail

      • generate

        T generate​(R mas,
                   SimulationParameters params)
        Generates a new protocol.
        Parameters:
        mas - the multi-agent system.
        params - this object can be used for sharing parameters across the generating components of a simulation.
        Returns:
        a multi-agent system.