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

jadex.bdi.examples.hunterprey.ldahunter.potentialfield.Evaluator Maven / Gradle / Ivy

Go to download

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