jadex.micro.examples.fireflies.Fireflies.application.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-micro Show documentation
Show all versions of jadex-applications-micro Show documentation
The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.
jadex.extension.envsupport.environment.space2d.action.*
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.commons.future.*
jadex.extension.envsupport.observer.gui.plugin.*
java.awt.*
10
true
1
1
10
true
$args.number
$args.strategy_delay
$args.flashes_to_reset
$args.flash_length
$args.cycle_length
$args.show_dark_flies
Math.random()*2*Math.PI
(int)(Math.random()*($space.cycle_length))
$space.flash_length
$space.strategy_delay? $space.flash_length: 0
$space.strategy_delay? -1: $space.flash_length+1
$object.clock < $object.threshold
$object.flashing? Color.YELLOW: Color.gray
new Vector3Double(0,0,$object.direction)
$object.flashing? Color.yellow: Color.gray
// the triangle must be turned upwards-down
new Vector3Double(0,0,$object.direction+Math.PI)
$space.show_dark_flies || $object.flashing
$space
100
$object.flashing
$time
$flies.size()
"flashes"
"Number of flashing flies"
"Time"
"Flashes"
500
false
"Flashes"
"time"
"number_flashes"
((AbstractChartDataConsumer)$space.getDataConsumer("flashes_chart")).getChartPanel()
500
6
3
12
$object.flashing
$time
$flies.size()
"flashes"
"Number of flashing flies"
"Time"
"Flashes"
500
false
"Flashes"
"time"
"number_flashes"
((AbstractChartDataConsumer)$space.getDataConsumer("flashes_chart")).getChartPanel()
100
200