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

jadex.micro.examples.heatbugs.Heatbugs.application.xml Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version



	
	
		jadex.extension.envsupport.environment.space2d.*
		jadex.extension.envsupport.environment.*
		jadex.extension.envsupport.math.*
		jadex.extension.envsupport.dataview.*
		jadex.extension.envsupport.observer.perspective.*
		jadex.bdi.planlib.*
		jadex.extension.envsupport.evaluation.*
		jadex.commons.*
		jadex.extension.envsupport.observer.gui.plugin.*
	
	
	
		
		0.2
		
		0.03
		
		0.3
	
	
	
		
			Grid2D.NEIGHBORHOOD_MOORE
			100.0
			150.0
			
			
			5.0
			25.0
			
			
			$args.diffusion_rate
			$args.evaporation_rate
			0.2
			
			
				
					0.0
				
				
					
				    $space.min_ideal_temp + Math.random()*($space.max_ideal_temp - $space.min_ideal_temp)
					$space.min_output_heat + Math.random()*($space.max_output_heat - $space.min_output_heat)
					$space.random_move_chance
					Math.abs($object.ideal_temp - ((Number)((ISpaceObject)((Grid2D)$space).getSpaceObjectsByGridPosition($object.position, "patch").iterator().next()).getProperty("heat")).doubleValue())
				
			
			
			
				
					$space.diffusion_rate
					$space.evaporation_rate
				
			
			
			
				
			
			
			
				
			
		
			
				
			
			
			
				
					
						new java.awt.Color((int)(Math.min(255, $object.heat)),0,0)
						((int)($object.heat*10))/10.0
						
					
					
					
						new java.awt.Color(0,(int)(Math.min(255, $object.ideal_temp)),255)
						
					
				
				
				
					
						new java.awt.Color((int)(Math.min(255, $object.heat)),0,0)
						((int)($object.heat*10))/10.0
						
						
							$object.heat>0
						
					
					
					
						new java.awt.Color(0,(int)(Math.min(255, $object.ideal_temp)),255)
						
					
				
			
			
			
				$space
			
		
	
	
	
		
		
	
	
	
		
			
				
					
						
					
					
					
						
							 
							$object.unhappiness
							$tick
							$heatbug.getId()
							$heatbug.unhappiness 
							SFunction.mean($unhappinesses)
						
						
									
					
			
					
						
							
						
							"unhappiness"
							"Global and Individual Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							
							
							
							
							
							
							
							"Average unhappiness"
							"time"
							"avg_unhappiness"

									
						
						
						
							"unhappiness"
							"Global Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							30
							
							
							
							"Average unhappiness"
							0.0
							100.0
							20
							"time"
							"avg_unhappiness"
						
					
					
					
						
							
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_chart")).getChartPanel()
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_histogram")).getChartPanel()
							
						
					
				
			

			
				
				
			
		
		
		
			
				
					
						
					
					
					
						
							 
							$object.unhappiness
							$time
							$heatbug.getId()
							$heatbug.unhappiness 
							SFunction.mean($unhappinesses)
						
					
			
					
						
							"unhappiness"
							"Global and Individual Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							30
							false
							
							
							
							
							
							
							"id"
							"time"
							"unhappiness"
		
							
							"Average unhappiness"
							"time"
							"avg_unhappiness"
						
						
						
							"unhappiness"
							"Global Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							30
							
							
							
							"Average unhappiness"
							0.0
							100.0
							20
							"time"
							"avg_unhappiness"
						
					
					
					
						
							
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_chart")).getChartPanel()
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_histogram")).getChartPanel()
							
						
					
				
			

			
				
			
		
		
		
			
				
					
						
					
					
					
						
							 
							$object.unhappiness
							$time
							$heatbug.getId()
							$heatbug.unhappiness 
							SFunction.mean($unhappinesses)
						
					
			
					
						
							"unhappiness"
							"Global Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							
							
							
							
							
							
							
							"Average unhappiness"
							"time"
							"avg_unhappiness"

									
						
			
						
							"unhappiness"
							"Global Bug Unhappiness"
							"Time"
							"Unhappiness"
							"unhappy.jpg"
							30
							
							
							
							"Average unhappiness"
							0.0
							100.0
							20
							"time"
							"avg_unhappiness"
						
					
					
					
						
							
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_chart")).getChartPanel()
								((AbstractChartDataConsumer)$space.getDataConsumer("unhappiness_histogram")).getChartPanel()
							
						
					
				
			

			
				
			
		
		
		
			
				
					
						
					
					
					
						
							
						
					
				
			

			
				
			
		
		
		
			
				
					
						
					
					
					
						
							
						
					
				
			

			
				
			
		
		
		
			
				
					
						
					
					
					
						
							
						
					
				
			

			
				
			
		
	






© 2015 - 2024 Weber Informatics LLC | Privacy Policy