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

jadex.bdi.examples.garbagecollector_classic.GarbageCollector.agent.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




	
		
		
			Environment.getInstance(Environment.COLLECTOR, $scope.getAgentName())
 		

		
		
			
				$beliefbase.env.getPosition($scope.getAgentName())
			
 		

		
		
 			
 				// ((Environment)$beliefbase.getBelief("env").getFact()).isDirty((Position)$beliefbase.getBelief("pos").getFact())
 				$beliefbase.env.isDirty($beliefbase.pos)
 			
		
		
		
		
 			
 				$beliefbase.env.hasGarbage($scope.getAgentName())
			
		
	

	

		
		 
			
			
				$beliefbase.is_dirty && !$beliefbase.env.isBurnerPresent($beliefbase.pos)

				// // unique (?rcapa and ?mgoal are provided internally)
				// (not (and
				// 	?adopted	= (goal (element_has_model ?mgoal))
				// 	?rcapa		= (capability (capability_has_goals contains ?adopted))
				// ))
				// 
				// ?rbelief = (belief (element_has_model ?mbelief) (belief_has_fact true))
				// ?mbelief = (mbelief (melement_has_name "is_dirty"))
 				// (not (and
				// 	?rbel_pos = (belief (element_has_model ?mbel_pos) (belief_has_fact ?pos))
				// 	?mbel_pos = (mbelief (melement_has_name "pos"))
				// 	?rbel_env = (belief (element_has_model ?mbel_env) (belief_has_fact ?env))
				// 	?mbel_env = (mbelief (melement_has_name "env"))
				// 	?env	= (Environment (isBurnerPresent (?pos) true))
				// ))
			
			
				
			
		

		
		

		
		
			
		

		
		
 			
 				!$beliefbase.is_dirty && !$beliefbase.has_garbage
				
				// ?rbelief = (belief (element_has_model ?mbelief) (belief_has_fact false))
				// ?mbelief = (mbelief (melement_has_name "is_dirty"))
				// ?rbelief2 = (belief (element_has_model ?mbelief2) (belief_has_fact false))
				// ?mbelief2 = (mbelief (melement_has_name "has_garbage"))
 			
		
	

	
		
		
			
			
				
			
		

		
		
			
			
				
			
		

		
		
			
			
				
			
		

		
		
			
 				
			
			
			
				
			
		
	

	
		
		java.util.logging.Level.OFF
		false
    

	
		
			
				
							
			
		
	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy