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

jadex.bdi.examples.marsworld.MarsWorld3d.application.xml Maven / Gradle / Ivy

Go to download

The Jadex BDI applications package contain several example applications, benchmarks and testcases using BDI agents.

The newest version!



	
	
		jadex.extension.envsupport.environment.space2d.*
		jadex.extension.envsupport.environment.DeltaTimeExecutor
		jadex.extension.envsupport.math.*
		jadex.extension.envsupport.dataview.*
		java.text.SimpleDateFormat
		java.util.Date
		jadex.extension.envsupport.observer.perspective.*
		jadex.bdi.examples.marsworld.carry.*
		jadex.bdi.examples.marsworld.producer.*
		jadex.bdi.examples.marsworld.sentry.*
		jadex.bdi.examples.marsworld.movement.*
		jadex.extension.envsupport.evaluation.*
		jadex.extension.envsupport.observer.gui.plugin.*
		jadex.commons.future.*
		jadex.bridge.service.*
		jadex.bridge.service.search.*
		jadex.bridge.service.types.clock.IClockService
	
	
	
		
			
				
					
					
					
				
			
		

		
			0.05
			Space2D.BORDER_RELAXED
		
			
				
													
						$object.getProperty("state").equals("analyzed")
						&& ($object.getProperty("ore")!=0 && $object.getProperty("capacity")!=0)
					
					0
					0
					"unknown"
				
				
					
					"drive"
					0.1
					0.05
					$space.getSpaceObjectsByType("homebase")[0].getProperty("position")
				
				
					
					"drive"
					0.05
					0.1
					$space.getSpaceObjectsByType("homebase")[0].getProperty("position")
				
				
					
					"drive"
					0.05
					0.15
					0
					20
					$space.getSpaceObjectsByType("homebase")[0].getProperty("position")
				
				
					0
					
						"Collected ore: "+$object.getProperty("ore")+" \n"+
						"Remaining time: "+new SimpleDateFormat("mm:ss").format(new Date(Math.max(0, $object.getProperty("missiontime")
							- $properties.clock.getTime())))
					
				
			
						
			
				
				
				
				
				
						
						
			
				
			
						
			
				
				
				
			
			
			
			
				
					  
					
					
					  
					
				
				
				
				
				
					new Vector3Double(0.52f,Math.sqrt(((Number)$object.getProperty("ore")).intValue()/2000.0),0.52f)
					$object.getProperty("text")

					
					
					
								
	
					
					
							
								
					
					 
					
					
									((Number)$object.getProperty("ore")).intValue()>0
						
	
				
				
				
				
				
				  	new Vector3Double(0.2,Math.sqrt(((Number)$object.getProperty("ore")).intValue()/2000.0),0.2)
				  	new Vector3Double(Math.sqrt(((Number)$object.getProperty("capacity")).intValue()/200.0),Math.sqrt(((Number)$object.getProperty("capacity")).intValue()/800.0),Math.sqrt(((Number)$object.getProperty("capacity")).intValue()/200.0))
				  	new Vector3Double(0,-0.1,0)


						
							$object.getProperty("state").equals("unknown")
						
						

						
							((Number)$object.getProperty("capacity")).intValue()>0
						
						
						
							
							
							
							$object.getProperty("state").equals("analyzed")
								&& ($object.getProperty("ore")!=0 || $object.getProperty("capacity")!=0)
							
						
						
					
						
							$object.getProperty("state").equals("analyzing")
								&& ($object.getProperty("ore")!=0 )
						
					
					
					
						
							$object.getProperty("state").equals("analyzing")
								&& ($object.getProperty("ore")==0 )
						
					
				   	
			
				

				 
					$object.getProperty("radarsize")
					 
				
					
				
					 
					
						((Number)$object.getProperty("ore")).intValue()>0
					 






				
					
				
					 
					
						$object.getProperty("status").equals("ore")
					
					
						$object.getProperty("status").equals("drive")
					
					
					
						$object.getProperty("status").equals("ore")
					
						


					

			
				

			
			
				$space
				true
			
		
	

	
		
		
		
	
	
	
		
			SServiceProvider.getService($component.getServiceProvider(), IClockService.class, RequiredServiceInfo.SCOPE_PLATFORM)
		
	

	
		
			
				
					
						
						
						
					
				
	
				
					
						
							new Vector2Double(0.3, 0.3)
							$space
							
								300000 + $properties.clock.getTime()
							
						
						
							new Vector2Double(0.1, 0.2)
							0
						
						
							new Vector2Double(0.05, 0.7)
							200
						
						
							new Vector2Double(0.5, 0.6)
						
						
							new Vector2Double(0.8, 0.1)
							50
						
						
							new Vector2Double(0.7, 0.4)
							100
						
						
							new Vector2Double(0.8, 0.8)
							25
						
					
					
					
						
							
							
							$time
							$homebase.ore
						
					
			
					
						
							"homebase_ore"
							"Ore in homebase"
							"Time"
							"Ore"
							500
							false
							
							
							"Ore"
							"time"
							"ore_amount"
						
					
					
					
						
							
								((AbstractChartDataConsumer)$space.getDataConsumer("ore_chart")).getChartPanel()
							
						
					
	 			
			
			
				
  				
				
			
 		

		
			
				
					
						
						
						
					
				
	
				
					
						
							$space
							
								3000000 + $properties.clock.getTime()
							
						
						
							Math.random()>0.2 ? (Integer)(5+Math.random()*35)*5 : 0
						
					
					
						
					
	 			
			
			
				 
  				
				
			
 		
	






© 2015 - 2025 Weber Informatics LLC | Privacy Policy