|
Jadex 0.941 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE |
Belief Summary | |
beliefset Tuple |
efwords
This beliefset contains the english-french dictionary as facts. |
beliefset Tuple |
egwords
This beliefset contains the english-german dictionary as facts. |
Goal Summary | |
achievegoal |
translate(String direction, String result, String word)
Specifies a translation goal type with parameters for the translation direction, the word to translate and the result. |
Plan Summary | |
standard plan |
eftrans(String result, String word)
Passive plan for translating words from English to German. |
standard plan |
egtrans(String result, String word)
Passive plan for translating words from English to German. |
standard plan |
process()
Initial plan for handling all message requests. |
Event Summary | |
messageevent |
request_translation(String performative)
Specifies a translation request being all messages with performative request. |
Expression Summary | |
expression |
query_efword
This query selects the first matching entry from the English - French dictionary, whereby the parameter $eword is compared to the first element of a belief set tuple. |
expression |
query_egword
This query selects the first matching entry from the English - German dictionary, whereby the parameter $eword is compared to the first element of a belief set tuple. |
Initial State Summary | |
default initial state |
default
|
Belief Detail |
beliefset Tuple egwords
new Tuple("milk", "Milch")
new Tuple("cow", "Kuh")
new Tuple("cat", "Katze")
new Tuple("dog", "Hund")
beliefset Tuple efwords
new Tuple("milk", "lait")
new Tuple("cow", "vache")
new Tuple("cat", "chat")
new Tuple("dog", "chien")
Goal Detail |
achievegoal translate(String direction, String result, String word)
direction
result
word
Plan Detail |
standard plan process()
new ProcessTranslationRequestPlanE1()
standard plan egtrans(String result, String word)
result
(goal mappings: translate.result)word
(goal mappings: translate.word)new EnglishGermanTranslationPlanE1()
translate
standard plan eftrans(String result, String word)
result
(goal mappings: translate.result)word
(goal mappings: translate.word)new EnglishFrenchTranslationPlanE1()
translate
Event Detail |
messageevent request_translation(String performative)
performative
Default value:
SFipa.REQUEST
Expression Detail |
expression query_egword
select one $wordpair.get(1)
from Tuple $wordpair in $beliefbase.egwords
where $wordpair.get(0).equals($eword)
expression query_efword
select one $wordpair.get(1)
from Tuple $wordpair in $beliefbase.efwords
where $wordpair.get(0).equals($eword)
Initial State Detail |
default initial state default
|
Jadex 0.941 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.