jadex.micro.examples.hunterprey.HunterPrey.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.*
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