public class LeaveFunction extends Object
A function to leave a team of agents. The function is serialisable because agents participating transmit it by messages to their respective team manager.
Normally, there is no need to instantiate this function explicitly because
this is done by the LeaveInitiator
implementation. For individual
implementations, however, this is the reference that is understood by the
TeamManager
.
TeamManager
,
Serialized FormConstructor and Description |
---|
LeaveFunction(TeamDescription description)
Creates this function to leave a team of agents.
|
public LeaveFunction(TeamDescription description)
description
- the team description of the leaving agentNullPointerException
- if the team description is null
public TeamDescription getDescription()
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.