jadex.bdi.tutorial.TranslationC3.agent.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bdi Show documentation
Show all versions of jadex-applications-bdi Show documentation
The Jadex BDI applications package contain
several example applications, benchmarks and
testcases using BDI agents.
java.util.logging.*
jadex.bridge.fipa.*
jadex.commons.*
jadex.rules.rulesystem.rules.functions.*
new Tuple("milk", "Milch")
new Tuple("cow", "Kuh")
new Tuple("cat", "Katze")
new Tuple("dog", "Hund")
0
$beliefbase.transcnt>0 && $beliefbase.transcnt%10==0
SFipa.REQUEST
$content instanceof String && ((String)$content).startsWith("add english_german")
SFipa.REQUEST
$content instanceof String && ((String)$content).startsWith("translate english_german")
select one $wordpair.get(1)
from Tuple $wordpair in $beliefbase.getBeliefSet("egwords").getFacts()
where $wordpair.get(0).equals($eword)
true