ROL
|
#include <ROL_TruncatedMeanQuadrangle.hpp>
Public Member Functions | |
TruncatedMeanQuadrangle (Real beta) | |
TruncatedMeanQuadrangle (ROL::ParameterList &parlist) | |
Real | error (Real x, int deriv=0) |
Evaluate the scalar error function at x. More... | |
Real | regret (Real x, int deriv=0) |
Evaluate the scalar regret function at x. More... | |
void | check (void) |
Run default derivative tests for the scalar regret function. More... | |
Public Member Functions inherited from ROL::ExpectationQuad< Real > | |
virtual | ~ExpectationQuad (void) |
ExpectationQuad (void) | |
Private Member Functions | |
void | parseParameterList (ROL::ParameterList &parlist) |
void | checkInputs (void) const |
Private Attributes | |
Real | beta_ |
Definition at line 18 of file ROL_TruncatedMeanQuadrangle.hpp.
|
inline |
Definition at line 49 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::checkInputs().
|
inline |
Definition at line 54 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::checkInputs(), and ROL::TruncatedMeanQuadrangle< Real >::parseParameterList().
|
inlineprivate |
Definition at line 23 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::beta_.
Referenced by ROL::TruncatedMeanQuadrangle< Real >::TruncatedMeanQuadrangle().
|
inlineprivate |
Definition at line 41 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::beta_, and zero.
Referenced by ROL::TruncatedMeanQuadrangle< Real >::TruncatedMeanQuadrangle().
|
inlinevirtual |
Evaluate the scalar error function at x.
[in] | x | is the scalar input |
[in] | deriv | is the derivative order |
This function returns \(e(x)\) or a derivative of \(e(x)\).
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 60 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::beta_, and zero.
Referenced by ROL::TruncatedMeanQuadrangle< Real >::regret().
|
inlinevirtual |
Evaluate the scalar regret function at x.
[in] | x | is the scalar input |
[in] | deriv | is the derivative order |
This function returns \(v(x)\) or a derivative of \(v(x)\).
Implements ROL::ExpectationQuad< Real >.
Definition at line 75 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::error(), and zero.
Referenced by ROL::TruncatedMeanQuadrangle< Real >::check().
|
inlinevirtual |
Run default derivative tests for the scalar regret function.
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 82 of file ROL_TruncatedMeanQuadrangle.hpp.
References ROL::TruncatedMeanQuadrangle< Real >::beta_, ROL::ExpectationQuad< Real >::check(), ROL::TruncatedMeanQuadrangle< Real >::regret(), and zero.
|
private |