Class SynchronousProtocol

java.lang.Object
All Implemented Interfaces:
Protocol
Direct Known Subclasses:
DirectGameProtocol

public class SynchronousProtocol extends RigidProtocol
This class models a synchronous protocol for multi-agent systems. This protocol asks all agents simultaneously for actions, and simultaneously executes these actions thereafter. The protocol can optionally be defined as rigid, i.e. if at any time an agent performs a "NO_OPERATION" he cannot perform any other action thereafter.
This protocol terminates when either
- an optional number of maximal steps has been required or
- every agent performs a NO_OPERATION at the same time or (if the protocol is defined to be rigid) after all agents performed one NO_OPERATION.
Author:
Matthias Thimm