public class IAMHaggler_Test_Offering extends OfferingStrategy
Modifier and Type | Field and Description |
---|---|
protected RandomBidCreator |
bidCreator |
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
IAMHaggler_Test_Offering() |
IAMHaggler_Test_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms) |
Modifier and Type | Method and Description |
---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
int |
getAmountOfSamples() |
Matrix |
getMeans() |
java.util.Set<BOAparameter> |
getParameters()
returns the set of available parameters of this BOA component.
|
Matrix |
getVariances() |
void |
init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, init
protected RandomBidCreator bidCreator
public IAMHaggler_Test_Offering()
public IAMHaggler_Test_Offering(NegotiationSession negoSession, OpponentModel model, OMStrategy oms) throws java.lang.Exception
java.lang.Exception
public void init(NegotiationSession negotiationSession, OpponentModel opponentModel, OMStrategy omStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategy
init
in class OfferingStrategy
negotiationSession
- state of the negotiation.opponentModel
- opponent model which may be used.omStrategy
- 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 determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid
in class OfferingStrategy
public Matrix getMeans()
public Matrix getVariances()
public int getAmountOfSamples()
public java.util.Set<BOAparameter> getParameters()
BOA
#init(...)
calls to the
components.getParameters
in class BOA