Jadex 0.941

jadex.testcases
Class BeliefIncrementPlan

java.lang.Object
  extended byjadex.runtime.AbstractPlan
      extended byjadex.runtime.Plan
          extended byjadex.testcases.BeliefIncrementPlan
All Implemented Interfaces:
Serializable

public class BeliefIncrementPlan
extends Plan

This plan increments a belief in time intervals.

See Also:
Serialized Form

Constructor Summary
BeliefIncrementPlan(String beliefname)
          Create a new plan instance.
BeliefIncrementPlan(String beliefname, int value)
          Create a new plan instance.
BeliefIncrementPlan(String beliefname, int[] values, long rate)
          Create a new plan instance.
BeliefIncrementPlan(String beliefname, int value, long rate)
          Create a new plan instance.
 
Method Summary
 void body()
          The plan body.
 
Methods inherited from class jadex.runtime.Plan
aborted, dispatchSubgoalAndWait, dispatchSubgoalAndWait, failed, getInitialEvent, passed, sendMessageAndWait, sendMessageAndWait, waitFor, waitFor, waitFor, waitForBeliefChange, waitForBeliefChange, waitForBeliefSetChange, waitForBeliefSetChange, waitForCondition, waitForCondition, waitForCondition, waitForCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForSubgoal, waitForSubgoal
 
Methods inherited from class jadex.runtime.AbstractPlan
createCondition, createCondition, createExpression, createExpression, createGoal, createInternalEvent, createInternalEvent, createMessageEvent, createMessageEventFromNative, createQuery, dispatchInternalEvent, dispatchSubgoal, dispatchTopLevelGoal, endAtomic, fail, getAgentName, getBeliefbase, getCondition, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getName, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPropertybase, getQuery, getRootGoal, getRPlan, getScope, getWaitqueue, hasParameter, hasParameterSet, isAbortedOnSuccess, killAgent, sendMessage, setException, startAtomic, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeliefIncrementPlan

public BeliefIncrementPlan(String beliefname)
Create a new plan instance.

Parameters:
beliefname - The belief name.

BeliefIncrementPlan

public BeliefIncrementPlan(String beliefname,
                           int value)
Create a new plan instance.

Parameters:
beliefname - The belief name.

BeliefIncrementPlan

public BeliefIncrementPlan(String beliefname,
                           int value,
                           long rate)
Create a new plan instance.

Parameters:
beliefname - The belief name.
value - The change value.
rate - The change rate in millis.

BeliefIncrementPlan

public BeliefIncrementPlan(String beliefname,
                           int[] values,
                           long rate)
Create a new plan instance.

Parameters:
beliefname - The belief name.
values - The change values.
rate - The change rate in millis.
Method Detail

body

public void body()
The plan body.


Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.