|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.AbstractPlan
jadex.runtime.Plan
jadex.planlib.CNPReceiverPlan
public class CNPReceiverPlan
Receive a contract net protocol (cnp) and answer it.
Constructor Summary | |
---|---|
CNPReceiverPlan()
|
Method Summary | |
---|---|
void |
body()
The body method is called on the instatiated plan instance from the scheduler. |
Object |
executeTask(Object proposal,
Object proposal_info)
Execute the task. |
Object[] |
makeProposal(Object task)
Make a proposal based on the task description. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CNPReceiverPlan()
Method Detail |
---|
public void body()
body
in class Plan
public Object[] makeProposal(Object task)
task
- The task to execute.
public Object executeTask(Object proposal, Object proposal_info)
proposal
- The proposal.proposal_info
- The proposal info.
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.