public class Acceptor
extends java.lang.Object
Constructor and Description |
---|
Acceptor(UtilitySpace utilitySpace,
BidsCollection bidsCollection)
Creates an Acceptor-object which determines which offers should be accepted
during the negotiation.
|
Modifier and Type | Method and Description |
---|---|
Action |
determineAccept(int phase,
double threshold,
double time,
int movesLeft)
Determine if it is wise to accept for a given phase on a given time.
|
public Acceptor(UtilitySpace utilitySpace, BidsCollection bidsCollection)
utilitySpace
- bidsCollection
- of all possible bids (for us) and the partner bidspublic Action determineAccept(int phase, double threshold, double time, int movesLeft)
phase
- of the negotiationminimum
- thresholdtime
- in negotiationmovesLeft
- is the estimated moves left