44 #ifndef ROL_RISKMEASUREFACTORY_HPP 45 #define ROL_RISKMEASUREFACTORY_HPP 47 #include "Teuchos_ParameterList.hpp" 110 std::string retString;
113 retString =
"CVaR";
break;
115 retString =
"Coherent Exponential Utility";
break;
117 retString =
"Exponential Utility";
break;
119 retString =
"HMCR";
break;
121 retString =
"Mean Plus Deviation From Target";
break;
123 retString =
"Mean Plus Deviation";
break;
125 retString =
"Mean Plus Variance From Target";
break;
127 retString =
"Mean Plus Variance";
break;
129 retString =
"Moreau-Yosida CVaR";
break;
131 retString =
"Generalized Moreau-Yosida CVaR";
break;
133 retString =
"Log-Exponential Quadrangle";
break;
135 retString =
"Log-Quantile Quadrangle";
break;
137 retString =
"Mean-Variance Quadrangle";
break;
139 retString =
"Mixed-Quantile Quadrangle";
break;
141 retString =
"Super Quantile Quadrangle";
break;
143 retString =
"Chebyshev-Kusuoka";
break;
145 retString =
"Spectral Risk";
break;
147 retString =
"Quantile-Based Quadrangle";
break;
149 retString =
"Quantile-Radius Quadrangle";
break;
151 retString =
"Smoothed Worst-Case Quadrangle";
break;
153 retString =
"Truncated Mean Quadrangle";
break;
155 retString =
"Chi-Squared Divergence";
break;
157 retString =
"KL Divergence";
break;
159 retString =
"Last Type (Dummy)";
break;
161 retString =
"INVALID ERiskMeasure";
break;
224 std::string risk = parlist.sublist(
"SOL").sublist(
"Risk Measure").get(
"Name",
"CVaR");
274 TEUCHOS_TEST_FOR_EXCEPTION(
true,std::invalid_argument,
275 "Invalid risk measure type " << risk <<
"!");
Provides an interface for a smoothed version of the worst-case scenario risk measure using the expect...
Provides an interface for a convex combination of the expected value and the conditional value-at-ris...
Provides an interface for the Kullback-Leibler distributionally robust expectation.
Provides an interface for the entropic risk.
Provides an interface for a convex combination of conditional value-at-risks.
Provides an interface for a convex combination of the expected value and the conditional value-at-ris...
Contains definitions of custom data types in ROL.
std::string removeStringFormat(std::string s)
Provides an interface for a smooth approximation of the conditional value-at-risk.
ERiskMeasure StringToERiskMeasure(std::string s)
Provides an interface for the entropic risk using the expectation risk quadrangle.
Provides an interface for the chi-squared-divergence distributionally robust expectation.
int isValidRiskMeasure(ERiskMeasure ed)
Provides an interface for the mean plus a sum of arbitrary order deviations from targets.
Provides an interface for the mean plus a sum of arbitrary order deviations.
Provides the interface for the coherent entropic risk measure.
std::string ERiskMeasureToString(ERiskMeasure ed)
Provides an interface for the risk measure associated with the super quantile quadrangle.
Provides an interface for the conditioanl entropic risk using the expectation risk quadrangle...
Provides an interface for spectral risk measures.
ETrustRegion & operator--(ETrustRegion &type)
Provides an interface for the mean plus variance risk measure using the expectation risk quadrangle...
Provides an interface for the mean plus a sum of arbitrary order variances from targets.
Teuchos::RCP< RiskMeasure< Real > > RiskMeasureFactory(Teuchos::ParameterList &parlist)
Provides an interface for a convex combination of the expected value and the higher moment coherent r...
ETrustRegion & operator++(ETrustRegion &type)
Provides an interface for the mean plus a sum of arbitrary order variances.
Provides an interface for the Chebyshev-Kusuoka risk measure.