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

jadex.bdiv3.runtime.IDeliberationStrategy Maven / Gradle / Ivy

Go to download

BDIV3 Kernel that supports annotated POJOs and uses byte code manipulation for performance improvements.

There is a newer version: 4.0.267
Show newest version
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