Package jadex.bdi.testcases.planlib
Class CNPTestPlan
- java.lang.Object
-
- jadex.bdiv3x.runtime.Plan
-
- jadex.bdi.testcases.AbstractMultipleAgentsPlan
-
- jadex.bdi.testcases.planlib.CNPTestPlan
-
public class CNPTestPlan extends AbstractMultipleAgentsPlan
Test the cnp protocol execution.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.Plan
Plan.PlanWaitAbstraction
-
-
Constructor Summary
Constructors Constructor Description CNPTestPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
The plan body.protected void
performTest(java.lang.String name, java.lang.String description, boolean executeall, java.lang.Object cfp_info)
Test initiating a contract net interaction with given settings.-
Methods inherited from class jadex.bdi.testcases.AbstractMultipleAgentsPlan
aborted, assureTest, createAgents, createAgents, destroyAgents, failed, passed
-
Methods inherited from class jadex.bdiv3x.runtime.Plan
checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
-
-
-
-
Method Detail
-
performTest
protected void performTest(java.lang.String name, java.lang.String description, boolean executeall, java.lang.Object cfp_info)
Test initiating a contract net interaction with given settings.- Parameters:
executeall
- True, if all acceptable proposals should be executed.cfp_info
- Use given cfp info (e.g. for default plans)
-
-