
jadex.bdi.testcases.planlib.RPDecideRequestPlan 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!
package jadex.bdi.testcases.planlib;
import jadex.bdi.runtime.Plan;
/**
* Decide to agree/refuse executing a task.
*/
public class RPDecideRequestPlan extends Plan
{
/**
* The body method is called on the
* instatiated plan instance from the scheduler.
*/
public void body()
{
getParameter("accept").setValue(Boolean.TRUE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy