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

jadex.bdi.planlib.test.Test.capability.xml Maven / Gradle / Ivy

Go to download

The Jadex applib BDI package contain ready to use functionalities for BDI agents mostly in form of modules called capabilities.

There is a newer version: 2.4
Show newest version




	
		jadex.base.test.*
	

	
		
		
			1
		

		
		
			
			20000L
		

		
		
			new Testcase($beliefbase.testcase_cnt, $beliefbase.reports)
		

		
		
			false
		

		
		
			$scope.getTime()
		

		
		
			((Number)$beliefbase.getBelief("timeout").getFact()).longValue()>0 
				&& ((Number)$beliefbase.getBelief("starttime").getFact()).longValue()
					+((Number)$beliefbase.getBelief("timeout").getFact()).longValue() <= $scope.getTime()
				&& ((Number)$beliefbase.getBelief("testcase_cnt").getFact()).intValue()
					!=$beliefbase.getBeliefSet("reports").getFacts().length
		

		
		
	

	
		
			
				$beliefbase.testcase_cnt==$beliefbase.reports.length
				
				// ?rbel_off = (belief (element_has_model ?mbel_off) (belief_has_fact false))
				// ?mbel_off = (mbelief (melement_has_name "off"))
				// ?rbel_rep = (beliefset (element_has_model ?mbel_rep) (beliefset_has_facts $?reports))
				// ?mbel_rep = (mbeliefset (melement_has_name "reports"))
				// ?rbel_cnt = (belief (element_has_model ?mbel_cnt) (belief_has_fact == (jadex.rules.rulesystem.rules.functions.Length $?reports)))
				// ?mbel_cnt = (mbelief (melement_has_name "testcase_cnt"))
					
		
		
			
				$beliefbase.timeout_failure
				
				// ?rbel_off = (belief (element_has_model ?mbel_off) (belief_has_fact false))
				// ?mbel_off = (mbelief (melement_has_name "off"))
				// ?rbel_tof = (belief (element_has_model ?mbel_tof) (belief_has_fact true))
				// ?mbel_tof = (mbelief (melement_has_name "timeout_failure"))
					
		
	

	
		
		
			
			
				
				
			
		
	

	
		
		
			
				
					true
				
			
		
	






© 2015 - 2025 Weber Informatics LLC | Privacy Policy