|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.bdi.planlib.protocols.NegotiationRecord
public class NegotiationRecord
The negotiation record has the purpose to store all information about one negotiation round e.g. in an iterated contract net or auction protocol.
| Field Summary | |
|---|---|
protected java.lang.Object |
cfp
The cfp sent to the participants. |
protected java.lang.Object |
cfp_info
The cfp_info kept locally. |
protected long |
endtime
The end time. |
protected ParticipantProposal[] |
proposals
The participant proposals. |
protected long |
starttime
The start time. |
| Constructor Summary | |
|---|---|
NegotiationRecord(java.lang.Object cfp,
java.lang.Object cfp_info,
IComponentIdentifier[] participants,
long starttime)
Create a new negotiation record. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getCFP()
Get the call for proposal (sent to participants). |
java.lang.Object |
getCFPInfo()
Get the cfp info (i.e. local meta information). |
long |
getEndtime()
Get the end time. |
IComponentIdentifier[] |
getParticipants()
Get all participants. |
ParticipantProposal |
getProposal(IComponentIdentifier participant)
Get the proposal for the participant. |
ParticipantProposal[] |
getProposals()
Get the participant proposals. |
long |
getStarttime()
Get the start time. |
void |
setCFP(java.lang.Object cfp)
Set the call for proposal (sent to participants). |
void |
setCFPInfo(java.lang.Object cfp_info)
Set the cfp info (i.e. local meta information). |
void |
setEndtime(long endtime)
Set the end time. |
void |
setStarttime(long starttime)
Set the start time. |
java.lang.String |
toString()
Get the string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object cfp
protected java.lang.Object cfp_info
protected ParticipantProposal[] proposals
protected long starttime
protected long endtime
| Constructor Detail |
|---|
public NegotiationRecord(java.lang.Object cfp,
java.lang.Object cfp_info,
IComponentIdentifier[] participants,
long starttime)
cfp - The call for proposal object.cfp_info - The cfp info (local meta information).participants - The participants agent identifiers.| Method Detail |
|---|
public java.lang.Object getCFP()
public void setCFP(java.lang.Object cfp)
cfp - The call for proposal.public java.lang.Object getCFPInfo()
public void setCFPInfo(java.lang.Object cfp_info)
cfp_info - The cfp_info to set.public long getStarttime()
public void setStarttime(long starttime)
starttime - The start time to set.public long getEndtime()
public void setEndtime(long endtime)
endtime - The end time to set.public ParticipantProposal[] getProposals()
public IComponentIdentifier[] getParticipants()
public ParticipantProposal getProposal(IComponentIdentifier participant)
participant - The participants agent identifier.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||