|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.planlib.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.
Constructor Summary | |
---|---|
NegotiationRecord(Object cfp,
Object cfp_info,
AgentIdentifier[] participants)
Create a new negotiation record. |
Method Summary | |
---|---|
Object |
getCFP()
Get the call for proposal (sent to participants). |
Object |
getCFPInfo()
Get the cfp info (i.e. local meta information). |
long |
getEndtime()
Get the end time. |
AgentIdentifier[] |
getParticipants()
Get all participants. |
ParticipantProposal |
getProposal(AgentIdentifier participant)
Get the proposal for the participant. |
ParticipantProposal[] |
getProposals()
Get the participant proposals. |
long |
getStarttime()
Get the start time. |
void |
setCFP(Object cfp)
Set the call for proposal (sent to participants). |
void |
setCFPInfo(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. |
String |
toString()
Get the string representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NegotiationRecord(Object cfp, Object cfp_info, AgentIdentifier[] participants)
cfp
- The call for proposal object.cfp_info
- The cfp info (local meta information).participants
- The participants agent identifiers.Method Detail |
---|
public Object getCFP()
public void setCFP(Object cfp)
cfp
- The call for proposal.public Object getCFPInfo()
public void setCFPInfo(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 AgentIdentifier[] getParticipants()
public ParticipantProposal getProposal(AgentIdentifier participant)
participant
- The participants agent identifier.
public String toString()
toString
in class Object
|
Jadex 0.96 | ||||||||
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.