|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Überschrift: B2B-OS Beschreibung: Copyright: Copyright (c) 2001 Organisation: IIG Telematik, Albert-Ludwigs-Universitaet Freiburg
| Field Summary | |
static java.lang.String[] |
actionText
Description of the Field |
| Method Summary | |
double |
bargain(java.lang.Integer factorID,
int proposalTypeToGenerate,
double opponentsNewPrice,
double myOldPrice,
java.lang.Integer negotiationID)
This method should handle all computation related to finding a price for distributive negotiation. |
double |
getAveragePrice(java.lang.Integer factorID)
Gets the averagePrice attribute of the IPricing object |
java.lang.String |
getExecutionState()
Gets the executionState attribute of the zeroIntelligence object |
double |
getInitialPrice(java.lang.Integer factorID,
int type)
Gets the initialPrice attribute of the IPricing object, that means the price UP from which a good is BID or DOWN from which a good is ASKed. |
double |
getLimitPrice(java.lang.Integer factorID,
int type)
Gets the limitPrice attribute of the IPricing object, which means the price UP to which a good is ASKed or DOWN to which a good is BID for selling. |
Genotype |
getMyGenotype()
Gets the myGenotype attribute of the IPricing object |
NegotiationHistory |
getNegotiationHistory(java.lang.String conversationID)
Gets the negotiationHistory attribute of the IPricing object |
int |
getRecommendedAction()
Action to take recommended by the pricing strategy. |
void |
setMyGenotype(Genotype myGenotype)
Sets the myGenotype attribute of the IPricing object |
void |
setParameters(java.util.HashMap strategyHash)
Sets the parameters attribute of the IPricing object |
void |
setPrices(java.lang.Integer factorID,
double min,
double max)
Sets the prices attribute of the IPricing object |
| Field Detail |
public static final java.lang.String[] actionText
| Method Detail |
public double bargain(java.lang.Integer factorID,
int proposalTypeToGenerate,
double opponentsNewPrice,
double myOldPrice,
java.lang.Integer negotiationID)
opponentsNewPrice - actual price how opponent values one unit
of the goodmyOldPrice - last price that I valued one unit of the
goodfactorID - Description of the ParameternegotiationID - Description of the ParameterproposalTypeToGenerate - Description of the Parameter
public void setParameters(java.util.HashMap strategyHash)
strategyHash - The new parameters value
public void setPrices(java.lang.Integer factorID,
double min,
double max)
factorID - The new prices valuemin - The new prices valuemax - The new prices value
public double getLimitPrice(java.lang.Integer factorID,
int type)
factorID - Description of the Parametertype - Description of the Parameter
public NegotiationHistory getNegotiationHistory(java.lang.String conversationID)
conversationID - Description of the Parameter
public double getInitialPrice(java.lang.Integer factorID,
int type)
factorID - Description of the Parametertype - Description of the Parameter
public double getAveragePrice(java.lang.Integer factorID)
factorID - Description of the Parameter
public int getRecommendedAction()
public java.lang.String getExecutionState()
public void setMyGenotype(Genotype myGenotype)
myGenotype - The new myGenotype valuepublic Genotype getMyGenotype()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||