public class TheNegotiatorSAS extends SharedAgentState
NAME
Constructor and Description |
---|
TheNegotiatorSAS(NegotiationSession negoSession) |
Modifier and Type | Method and Description |
---|---|
int |
calculateCurrentPhase(double time)
Returns the current phase of the negotiation.
|
void |
calculateEndPhases()
Calculates the time which should be spend on each phase based on
the distribution of the utilities of the bids.
|
void |
calculateEndPhaseThresholds() |
int |
calculateMovesLeft() |
void |
calculatePropArray()
Calculate how many possible bids are within a certain threshold interval.
|
double |
calculateThreshold(double time)
Returns the time dependent threshold which specifies how good a
bid of an opponent should be to be accepted.
|
int |
getMovesLeft() |
int |
getPhase() |
java.util.ArrayList<BidDetails> |
getPossibleBids() |
int[] |
getPropArray() |
double |
getThreshold() |
getName
public TheNegotiatorSAS(NegotiationSession negoSession)
public java.util.ArrayList<BidDetails> getPossibleBids()
public void calculateEndPhases()
public int calculateCurrentPhase(double time)
public double calculateThreshold(double time)
public int calculateMovesLeft()
public void calculateEndPhaseThresholds()
public void calculatePropArray()
public int[] getPropArray()
public int getPhase()
public double getThreshold()
public int getMovesLeft()