jadex.bdi.testcases.planlib.CNPMakeProposalPlan 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.
package jadex.bdi.testcases.planlib;
import jadex.bdi.runtime.Plan;
/**
* Make a simple proposal based on a random value.
*/
public class CNPMakeProposalPlan extends Plan
{
/**
* The plan body.
*/
public void body()
{
getLogger().info("proposal plan called");
getParameter("proposal").setValue(getBeliefbase().getBelief("offer").getFact());
}
}