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

jadex.bdi.examples.hunterprey_classic.creature.actsense.Creature.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.bdi.examples.hunterprey_classic.*
		jadex.base.fipa.SFipa
		jadex.commons.SUtil
	

	
		
		
	

	
		
		

		
		
		

		
		

		
		

		
		

		
		

		
		

		
		
		
	

	
		
		
			
		

		
		
			
		

		
		
			
		

		
		
			
			
			
				$beliefbase.my_self.getLeaseticks()>10
				
				// ?rbel_myself	= (belief (element_has_model ?mbel_myself) (belief_has_fact ?myself)) 
				// ?mbel_myself	= (mbelief (melement_has_name "my_self"))
				// ?myself	= (Creature (leaseticks > 10)) 
			
		

		
			
		

		
			
		
	

	
		
		
			
				
				
			
			
			
				
				
			
		

		
		
			
 				
			
			
			
				
			
		

		
		
			
 				
			
			
			
				
			
		

		
		
			
			
				
			
		
	

	
		
			
				SFipa.INFORM
			
			
				SFipa.JADEX_XML
 			
			
				"HunterPreyOntology"
 			
 			$content instanceof CurrentVision
		

		
			
				SFipa.FAILURE
			
		
	

	
		
		
			select WorldObject $object
			from SUtil.joinArbitraryArrays(new Object[]
 				{
 					$beliefbase.preys,
 					$beliefbase.hunters,
 					$beliefbase.obstacles,
 					$beliefbase.food
				})
			where $beliefbase.my_self.isInVisionRange($object.getLocation())
		
	
	
	
		
			
				
			
 		
	







© 2015 - 2024 Weber Informatics LLC | Privacy Policy