jadex.bdiv3.runtime.IDeliberationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-bdiv3 Show documentation
Show all versions of jadex-kernel-bdiv3 Show documentation
BDIV3 Kernel that supports annotated POJOs and uses byte code manipulation for performance improvements.
package jadex.bdiv3.runtime;
import jadex.bdiv3.runtime.impl.RGoal;
import jadex.bridge.IInternalAccess;
import jadex.commons.future.IFuture;
/**
* Interface for goal deliberation strategies.
*/
public interface IDeliberationStrategy
{
/**
* Init the strategy.
* @param agent The agent.
*/
public void init(IInternalAccess agent);
/**
* Called when a goal has been adopted.
* @param goal The goal.
*/
public IFuture goalIsAdopted(RGoal goal);
/**
* Called when a goal has been dropped.
* @param goal The goal.
*/
public IFuture goalIsDropped(RGoal goal);
/**
* Called when a goal becomes an option.
* @param goal The goal.
*/
public IFuture goalIsOption(RGoal goal);
/**
* Called when a goal becomes active.
* @param goal The goal.
*/
public IFuture goalIsActive(RGoal goal);
/**
* Called when a goal is not active any longer (suspended or option).
* @param goal The goal.
*/
public IFuture goalIsNotActive(RGoal goal);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy