jadex.bdi.examples.marsworld.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.application.runtime.*
jadex.application.space.envsupport.environment.*
jadex.application.space.envsupport.environment.space2d.*
jadex.application.space.envsupport.math.*
(ContinuousSpace2D)((IApplicationExternalAccess)$scope.getParent()).getSpace("my2dspace")
$beliefbase.environment.getAvatar($scope.getComponentIdentifier(), $scope.getAgentModel().getFullName())
$beliefbase.environment.getSpaceObjectsByType("homebase")[0].getProperty("missiontime")<=$scope.getTime()
$beliefbase.missionend
// (belief (element_has_model ?mbel) (belief_has_fact true))
// ?mbel = (mbelief (melement_has_name "missionend"))
$beliefbase.environment.getSpaceObjectsByType("homebase")[0].getProperty("position")
$beliefbase.missionend
&& !$beliefbase.myself.position.equals(
$beliefbase.environment.getSpaceObjectsByType("homebase")[0].getProperty("position"))
// (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))