public class AuctionOldProtocol extends Protocol
Modifier and Type | Field and Description |
---|---|
protected double |
ALLOWED_UTILITY_DEVIATION |
int |
gui_nego_time |
int |
non_gui_nego_time |
domain, negoThread, sessionNr, stopNegotiation, threadFinished, totalSessions, tournamentRunner
Constructor and Description |
---|
AuctionOldProtocol(AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
int tSR) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateTheoreticalOutcome() |
protected static AuctionOldProtocol |
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() |
protected AuctionBilateralAtomicNegoSession |
runNegotiationSession(Agent agentA,
Agent agentB,
AgentRepItem agentARepItem,
AgentRepItem agentBRepItem,
java.lang.String agentAname,
java.lang.String agentBname,
ProfileRepItem profileRepItemA,
ProfileRepItem profileRepItemB,
UtilitySpace spaceA,
UtilitySpace spaceB,
java.util.HashMap<AgentParameterVariable,AgentParamValue> agentAparams,
java.util.HashMap<AgentParameterVariable,AgentParamValue> agentBparams)
do test run of negotiation session.
|
protected AuctionBilateralAtomicNegoSession |
runNegotiationSession(AgentRepItem agentARepItem,
AgentRepItem agentBRepItem,
java.lang.String agentAname,
java.lang.String agentBname,
ProfileRepItem profileRepItemA,
ProfileRepItem profileRepItemB,
UtilitySpace spaceA,
UtilitySpace spaceB,
java.util.HashMap<AgentParameterVariable,AgentParamValue> agentAparams,
java.util.HashMap<AgentParameterVariable,AgentParamValue> agentBparams) |
addNegotiationEventListener, fireBilateralAtomicNegotiationSessionEvent, fireLogMessage, fireNegotiationActionEvent, getAgentName, getAgentParams, getAgentRepItem, getAgentUtilitySpaces, getDomain, getNegotiationEventListeners, getNumberOfAgents, getProfileRepItems, getSessionNumber, getTotalSessions, hashCode, loadAgentsUtilitySpaces, removeNegotiationEventListener, setTournamentRunner, startSession, stopNegotiation, toString
protected final double ALLOWED_UTILITY_DEVIATION
public int non_gui_nego_time
public int gui_nego_time
public AuctionOldProtocol(AgentRepItem[] agentRepItems, ProfileRepItem[] profileRepItems, java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams, int tSR) throws java.lang.Exception
java.lang.Exception
public NegotiationOutcome getNegotiationOutcome()
getNegotiationOutcome
in class Protocol
protected void calculateTheoreticalOutcome()
public void run()
public static java.util.ArrayList<Protocol> getTournamentSessions(Tournament tournament) throws java.lang.Exception
java.lang.Exception
protected static AuctionOldProtocol createSession(Tournament tournament, ProfileRepItem profileCenter, ProfileRepItem profileSeller1, ProfileRepItem profileSeller2) throws java.lang.Exception
java.lang.Exception
protected AuctionBilateralAtomicNegoSession runNegotiationSession(Agent agentA, Agent agentB, AgentRepItem agentARepItem, AgentRepItem agentBRepItem, java.lang.String agentAname, java.lang.String agentBname, ProfileRepItem profileRepItemA, ProfileRepItem profileRepItemB, UtilitySpace spaceA, UtilitySpace spaceB, java.util.HashMap<AgentParameterVariable,AgentParamValue> agentAparams, java.util.HashMap<AgentParameterVariable,AgentParamValue> agentBparams) throws java.lang.Exception
nr
- is the sessionTestNumberjava.lang.Exception
protected AuctionBilateralAtomicNegoSession runNegotiationSession(AgentRepItem agentARepItem, AgentRepItem agentBRepItem, java.lang.String agentAname, java.lang.String agentBname, ProfileRepItem profileRepItemA, ProfileRepItem profileRepItemB, UtilitySpace spaceA, UtilitySpace spaceB, java.util.HashMap<AgentParameterVariable,AgentParamValue> agentAparams, java.util.HashMap<AgentParameterVariable,AgentParamValue> agentBparams) throws java.lang.Exception
java.lang.Exception