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

jadex.bdi.annotation.Belief Maven / Gradle / Ivy

package jadex.bdi.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 
 */
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Belief
{
	/**
	 *  The implementation type for collection types.
	 */
	public Class implementation() default Object.class;

	/**
	 *  A dynamic belief reevaluated on every access. 
	 */
	public boolean dynamic() default false;
	
	/**
	 *  A dynamic belief is automatically updated when other beliefs change.
	 */
	public String[] beliefs() default {};
	
	/**
	 *  The events this condition should react to.
	 */
	public RawEvent[] rawevents() default {};
	
	/**
	 *  An update rate causes the belief to be reevaluated periodically.
	 */
	public long	updaterate() default 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy