public class ChoosingAllBids extends OfferingStrategy
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
ChoosingAllBids()
Empty constructor used for reflexion.
|
ChoosingAllBids(NegotiationSession negoSession,
OpponentModel model)
Constructor which can be used to createFrom the agent without the GUI.
|
Modifier and Type | Method and Description |
---|---|
BidDetails |
determineNextBid()
Returns the next bid in the sorted array of bids.
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
void |
init(NegotiationSession domainKnow,
OpponentModel model,
OMStrategy omStrat,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, getParameters, init
public ChoosingAllBids()
public ChoosingAllBids(NegotiationSession negoSession, OpponentModel model)
negoSession
- reference to the negotiationsession objectmodel
- reference to the opponent modelpublic void init(NegotiationSession domainKnow, OpponentModel model, OMStrategy omStrat, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategy
init
in class OfferingStrategy
domainKnow
- state of the negotiation.model
- opponent model which may be used.omStrat
- opponent model strategy which may be used.parameters
- optional parameters for the offering strategy.java.lang.Exception
- if the offering strategy fails to initialize.public BidDetails determineNextBid()
determineNextBid
in class OfferingStrategy
public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy