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