jadex.tutorial
Agent TranslationB2
- agent TranslationB2
TranslationAgent: Lesson B2.
Creating a passive plan.
Explanation
The agent has a passive plan (triggered by incoming
translation requests) for translating words from English to German.
Plan Summary |
standard plan |
egtrans()
A translation plan, from which a new instance is created
whenever a translation request is received. |
Event Summary |
messageevent |
request_translation(String performative)
Specifies a translation request being all
messages with performative request. |
egtrans
standard plan egtrans()
- A translation plan, from which a new instance is created
whenever a translation request is received.
- Plan body:
new EnglishGermanTranslationPlanB2()
- Message event trigger:
request_translation
request_translation
messageevent request_translation(String performative)
- Specifies a translation request being all
messages with performative request.
- Parameters:
- fixed parameter
performative
Default value:
SFipa.REQUEST
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- meta-level reasoning: true
- post to all: false
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.