28#include <ql/utilities/null.hpp>
45 const std::pair<QuantLib::Real, QuantLib::Real>&
minMax,
46 QuantLib::Real
lowerBound = QuantLib::Null<QuantLib::Real>(),
47 QuantLib::Real
upperBound = QuantLib::Null<QuantLib::Real>());
54 QuantLib::Real
lowerBound = QuantLib::Null<QuantLib::Real>(),
55 QuantLib::Real
upperBound = QuantLib::Null<QuantLib::Real>());
68 const std::pair<QuantLib::Real, QuantLib::Real>&
minMax()
const {
return minMax_; }
84 std::pair<QuantLib::Real, QuantLib::Real>
minMax_;
QuantLib::Real initialGuess_
QuantLib::Real lowerBound_
OneDimSolverConfig()
Default constructor with everything QuantLib::Null.
OneDimSolverConfig(QuantLib::Size maxEvaluations, QuantLib::Real initialGuess, QuantLib::Real accuracy, const std::pair< QuantLib::Real, QuantLib::Real > &minMax, QuantLib::Real lowerBound=QuantLib::Null< QuantLib::Real >(), QuantLib::Real upperBound=QuantLib::Null< QuantLib::Real >())
Constructor for max min based solver configuration.
void check() const
Basic checks.
QuantLib::Real accuracy() const
void fromXML(ore::data::XMLNode *node) override
bool empty() const
Return true if default constructed and not populated i.e. no useful configuration.
QuantLib::Real upperBound() const
QuantLib::Real lowerBound() const
std::pair< QuantLib::Real, QuantLib::Real > minMax_
QuantLib::Real step() const
QuantLib::Real upperBound_
const std::pair< QuantLib::Real, QuantLib::Real > & minMax() const
ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
QuantLib::Real initialGuess() const
QuantLib::Size maxEvaluations_
QuantLib::Size maxEvaluations() const
OneDimSolverConfig(QuantLib::Size maxEvaluations, QuantLib::Real initialGuess, QuantLib::Real accuracy, QuantLib::Real step, QuantLib::Real lowerBound=QuantLib::Null< QuantLib::Real >(), QuantLib::Real upperBound=QuantLib::Null< QuantLib::Real >())
Constructor for step based solver configuration.
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.