19 #ifndef MSSOTLPOLICY5DSTIMULUS_H_ 20 #define MSSOTLPOLICY5DSTIMULUS_H_ 66 stimOffsetInDVal = defVal;
74 stimOffsetOutDVal = defVal;
78 std::string key =
getKeyPrefix() +
"_STIM_OFFSET_DISPERSION_IN";
79 return getDouble(key, stimOffsetDispersionInDVal);
82 stimOffsetDispersionInDVal = defVal;
85 std::string key =
getKeyPrefix() +
"_STIM_OFFSET_DISPERSION_OUT";
86 return getDouble(key, stimOffsetDispersionOutDVal);
89 stimOffsetDispersionOutDVal = defVal;
97 stimDivInDVal = defVal;
106 stimDivOutDVal = defVal;
110 std::string key =
getKeyPrefix() +
"_STIM_DIVISOR_DISPERSION_IN";
111 return getDouble(key, stimDivDispersionInDVal);
115 stimDivDispersionInDVal = defVal;
118 std::string key =
getKeyPrefix() +
"_STIM_DIVISOR_DISPERSION_OUT";
119 return getDouble(key, stimDivDispersionOutDVal);
123 stimDivDispersionOutDVal = defVal;
130 stimCoxExpInDVal = defVal;
134 return getDouble(key, stimCoxExpOutDVal);
137 stimCoxExpOutDVal = defVal;
141 std::string key =
getKeyPrefix() +
"_STIM_COX_EXP_DISPERSION_IN";
142 return getDouble(key, stimCoxExpDispersionInDVal);
145 stimCoxExpDispersionInDVal = defVal;
148 std::string key =
getKeyPrefix() +
"_STIM_COX_EXP_DISPERSION_OUT";
149 return getDouble(key, stimCoxExpDispersionOutDVal);
152 stimCoxExpDispersionOutDVal = defVal;
160 double vehOutMeasure);
162 virtual double computeDesirability(
double vehInMeasure,
double vehOutMeasure,
double vehInDispersionMeasure,
double vehOutDispersionMeasure);
void setStimCoxExpInDefVal(double defVal)
void setStimDivisorDispersionInDefVal(double defVal)
double stimCoxExpDispersionOutDVal
double getStimOffsetOut()
void setStimCoxExpOutDefVal(double defVal)
double getStimCoxExpDispersionIn()
double getStimDivisorDispersionIn()
void setStimOffsetDispersionOutDefVal(double defVal)
double getStimOffsetDispersionOut()
void setStimDivisorInDefVal(double defVal)
double getStimDivisorIn()
void setStimDivisorOutDefVal(double defVal)
void setStimOffsetInDefVal(double defVal)
double getStimOffsetDispersionIn()
void setStimCoxExpDispersionInDefVal(double defVal)
double stimCoxExpDispersionInDVal
void setStimOffsetDispersionInDefVal(double defVal)
void setStimCoxExpDispersionOutDefVal(double defVal)
void setStimCoxDefVal(double defVal)
double stimOffsetDispersionOutDVal
double stimDivDispersionOutDVal
std::string getKeyPrefix()
double getStimCoxExpDispersionOut()
double stimOffsetDispersionInDVal
double getDouble(const std::string &key, const double defaultValue) const
Returns the value for a given key converted to a double.
This class determines the desirability algorithm of a MSSOTLPolicy when used in combination with a hi...
void setStimOffsetOutDefVal(double defVal)
double getStimDivisorOut()
MSSOTLPolicy5DStimulus(std::string keyPrefix, const std::map< std::string, std::string > ¶meters)
double stimDivDispersionInDVal
double getStimCoxExpOut()
void setStimDivisorDispersionOutDefVal(double defVal)
virtual double computeDesirability(double vehInMeasure, double vehOutMeasure)
Computes stimulus function stimulus = cox * exp(-pow(pheroIn - offsetIn, 2)/divisor -pow(pheroOut - o...
double getStimDivisorDispersionOut()