
jadex.bdi.examples.hunterprey.ldahunter.potentialfield.Evaluator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bdi Show documentation
Show all versions of jadex-applications-bdi Show documentation
The Jadex BDI applications package contain
several example applications, benchmarks and
testcases using BDI agents.
The newest version!
/*
* Created on Sep 17, 2004
*/
package jadex.bdi.examples.hunterprey.ldahunter.potentialfield;
/**
*
*/
public class Evaluator
{
final double food;
final double prey;
final double hunter;
final double explore;
/**
* @param food
* @param prey
* @param hunter
* @param explore
*/
public Evaluator(final double food, final double prey, final double hunter, final double explore)
{
this.food = food;
this.prey = prey;
this.hunter = hunter;
this.explore = explore;
}
/**
* SHEEP
*/
public static final Evaluator SHEEP = new Evaluator(1.0, -0.1, -1.0, 0.1);
/**
* WOLF
*/
public static final Evaluator WOLF = new Evaluator(0.0, 1.0, 0.0, 0.2);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy