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

jadex.micro.examples.hunterprey.HunterPrey.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.*
				jadex.extension.envsupport.environment.space2d.*
		jadex.extension.envsupport.environment.RoundBasedExecutor
		jadex.extension.envsupport.math.*
		jadex.bridge.IClockService
		jadex.extension.envsupport.dataview.*
		jadex.micro.examples.hunterprey.service.*
		jadex.micro.examples.hunterprey.service.impl.*
				jadex.extension.envsupport.observer.perspective.*
	
	
	
		
			
				
					
				
				
					
				
				
					
				
				
					
						new Vector2Double(
							Math.min(1, ($object.getProperty("clock").getTick()-
							$object.getProperty("creation_age").doubleValue())/32.0),
							Math.min(0.8, ($object.getProperty("clock").getTick()-
							$object.getProperty("creation_age").doubleValue())/40.0)
						)
					
				
			

			
				
					5
					"food"
					
						jadex.commons.SUtil.createHashMap(
							new String[]{Space2D.PROPERTY_POSITION, "creation_age", "clock"},
							new Object[]{((Grid2D)$space).getEmptyGridPosition(), new Double($clock.getTick()), $clock})
					
					
						((Grid2D)$space).getEmptyGridPosition()!=null
					
				
			

			
				
				
				
					$object
					2
				
				
					$object
					2
				
			
			
			
				
			
			
			
				
					
						
					
				
				
					
						
					
				
				
					
						
					
				
					
				
					new Vector1Int(2)
					
					
						new Object[]
						{
							new String[]{"food_seen", "appeared", "created"}, 
							new String[]{"food_out_of_sight", "disappeared"}, 
							new String[]{"food_eaten", "destroyed"}
						}
					
				
				
				
				
				
			
			
			
				
				
			

			
				
					
						
					
					
						
					
					
						
						
						
						
						
						
					
					
						
						
						
						
						
						
					
					
						
					
					
						
					
				

				
					
						
					
					
						
					
					
						
					
					
						
					
					
						
						
					
					
					
				
			
						
			
			
				$space
				new CreatureActionComparator($space)
				"lastaction"
			
		
	

	
		
	
	
	
		
			
				
					
						
					
		
					
						
							5
						
					
		
					
						
					
				
			
 			
 			
				
						
 		

		
			
				
					
						
					
	
					
						
							5
						
					
	
					
						
					
	 			
				
 		

		
			
				
					
						
					
	
					
						
							0.5
						
					
	
					
						
					
	 			
			

			
				
			
 		
 		
		
			
				
					
						
					
	
					
						
							0.2
						
					
	
					
						
					
	 			
			

			
				
			
 		
 		
	






© 2015 - 2024 Weber Informatics LLC | Privacy Policy