All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bdi.examples.marsworld.movement.Movement.capability.xml Maven / Gradle / Ivy

Go to download

The Jadex BDI applications package contain several example applications, benchmarks and testcases using BDI agents.

There is a newer version: 2.4
Show newest version




	
		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))
			
		
	

	
		
		
			
 				
  				
			
			
			
				
 				
			
		

		
		
			
			
				
			
		
	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy