jadex.bdi.examples.marsworld_classic.movement.Movement.capability.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.
jadex.bdi.examples.marsworld_classic.*
Environment.getInstance()
$beliefbase.environment.getHomebase().getLocation()
$beliefbase.my_home
$beliefbase.environment.getHomebase().getRemainingMissionTime()==0
$beliefbase.missionend
// (belief (element_has_model ?mbel) (belief_has_fact true))
// ?mbel = (mbelief (melement_has_name "missionend"))
$beliefbase.missionend
// (belief (element_has_model ?mbel) (belief_has_fact true))
// ?mbel = (mbelief (melement_has_name "missionend"))
$beliefbase.my_home
$beliefbase.missionend
&& !$beliefbase.my_location.isNear($beliefbase.my_home)
// (belief (element_has_model ?mbel_missionend) (belief_has_fact true))
// ?mbel_missionend = (mbelief (melement_has_name "missionend"))
//
// (belief (element_has_model ?mbel_myhome) (belief_has_fact ?myhome))
// ?mbel_myhome = (mbelief (melement_has_name "my_home"))
//
// (belief (element_has_model ?mbel_mylocation) (belief_has_fact ?mylocation))
// ?mbel_mylocation = (mbelief (melement_has_name "my_location"))
//
// ?mylocation = (Location (isNear(?myhome) false))