public class MultiPhaseAuctionProtocol extends AuctionProtocol
ALLOWED_UTILITY_DEVIATION, gui_nego_time, non_gui_nego_time
domain, negoThread, sessionNr, stopNegotiation, threadFinished, totalSessions, tournamentRunner
Constructor and Description |
---|
MultiPhaseAuctionProtocol(AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
int cSR,
int tSR) |
Modifier and Type | Method and Description |
---|---|
protected static AuctionProtocol |
createSession(Tournament tournament,
ProfileRepItem profileCenter,
ProfileRepItem profileSeller1,
ProfileRepItem profileSeller2) |
java.lang.String |
getName() |
NegotiationOutcome |
getNegotiationOutcome() |
static java.util.ArrayList<Protocol> |
getTournamentSessions(Tournament tournament) |
void |
run() |
calculateTheoreticalOutcome, runNegotiationSession, runNegotiationSession
addNegotiationEventListener, fireBilateralAtomicNegotiationSessionEvent, fireLogMessage, fireNegotiationActionEvent, getAgentName, getAgentParams, getAgentRepItem, getAgentUtilitySpaces, getDomain, getNegotiationEventListeners, getNumberOfAgents, getProfileRepItems, getSessionNumber, getTotalSessions, hashCode, loadAgentsUtilitySpaces, removeNegotiationEventListener, setTournamentRunner, startSession, stopNegotiation, toString
public MultiPhaseAuctionProtocol(AgentRepItem[] agentRepItems, ProfileRepItem[] profileRepItems, java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams, int cSR, int tSR) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
getName
in class AuctionProtocol
public NegotiationOutcome getNegotiationOutcome()
getNegotiationOutcome
in class AuctionProtocol
public void run()
run
in interface java.lang.Runnable
run
in class AuctionProtocol
public static java.util.ArrayList<Protocol> getTournamentSessions(Tournament tournament) throws java.lang.Exception
java.lang.Exception
protected static AuctionProtocol createSession(Tournament tournament, ProfileRepItem profileCenter, ProfileRepItem profileSeller1, ProfileRepItem profileSeller2) throws java.lang.Exception
java.lang.Exception