bpp-phyl3
3.0.0
|
Public Member Functions | |
ScaleFunction (std::shared_ptr< TreeLikelihoodInterface > tl) | |
ScaleFunction (const ScaleFunction &sf) | |
ScaleFunction & | operator= (const ScaleFunction &sf) |
virtual | ~ScaleFunction () |
ScaleFunction * | clone () const |
void | setParameters (const ParameterList &lambda) |
double | getValue () const |
const ParameterList & | getParameters () const |
const Parameter & | parameter (const std::string &name) const |
double | getParameterValue (const std::string &name) const |
size_t | getNumberOfParameters () const |
size_t | getNumberOfIndependentParameters () const |
virtual double | f (const ParameterList ¶meters) |
virtual bool | hasParameter (const std::string &name) const=0 |
virtual void | setAllParametersValues (const ParameterList ¶meters)=0 |
virtual void | setParameterValue (const std::string &name, double value)=0 |
virtual void | setParametersValues (const ParameterList ¶meters)=0 |
virtual bool | matchParametersValues (const ParameterList ¶meters)=0 |
virtual void | removeConstraint (const std::string &name)=0 |
virtual void | setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint)=0 |
virtual void | setNamespace (const std::string &prefix)=0 |
virtual std::string | getNamespace () const=0 |
virtual std::string | getParameterNameWithoutNamespace (const std::string &name) const=0 |
bool | hasParameter (const std::string &name) const override |
void | setAllParametersValues (const ParameterList ¶meters) override |
void | setParameterValue (const std::string &name, double value) override |
void | setParametersValues (const ParameterList ¶meters) override |
bool | matchParametersValues (const ParameterList ¶meters) override |
void | removeConstraint (const std::string &name) override |
void | setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint) override |
void | setNamespace (const std::string &prefix) override |
std::string | getNamespace () const override |
std::string | getParameterNameWithoutNamespace (const std::string &name) const override |
Protected Member Functions | |
ParameterList & | getParameters_ () |
Protected Attributes | |
ParameterList | parameters_ |
Parameter | parameter_ |
Private Attributes | |
std::shared_ptr< TreeLikelihoodInterface > | tl_ |
ParameterList | brLen_ |
ParameterList | lambda_ |
Definition at line 337 of file OptimizationTools.h.
LegacyOptimizationTools::ScaleFunction::ScaleFunction | ( | std::shared_ptr< TreeLikelihoodInterface > | tl | ) |
Definition at line 35 of file OptimizationTools.cpp.
References bpp::ParameterList::addParameter(), brLen_, bpp::ParameterList::deleteParameter(), bpp::ParameterList::hasParameter(), and lambda_.
Referenced by clone().
|
inline |
Definition at line 348 of file OptimizationTools.h.
|
virtual |
Definition at line 48 of file OptimizationTools.cpp.
|
inlinevirtual |
Implements bpp::FunctionInterface.
Definition at line 364 of file OptimizationTools.h.
References ScaleFunction().
|
inline |
Definition at line 380 of file OptimizationTools.h.
|
inlinevirtual |
Implements bpp::FunctionInterface.
Definition at line 379 of file OptimizationTools.h.
|
inlinevirtual |
Implements bpp::FunctionInterface.
Definition at line 369 of file OptimizationTools.h.
References lambda_.
|
inlineprotectedvirtual |
Implements bpp::FunctionInterface.
Definition at line 383 of file OptimizationTools.h.
References lambda_.
|
inlinevirtual |
Implements bpp::FunctionInterface.
Definition at line 375 of file OptimizationTools.h.
References bpp::Parameter::getValue(), lambda_, and bpp::ParameterList::parameter().
|
virtual |
Implements bpp::FunctionInterface.
Definition at line 57 of file OptimizationTools.cpp.
References bpp::exp(), and bpp::ParameterList::size().
|
inline |
Definition at line 354 of file OptimizationTools.h.
|
inlinevirtual |
Implements bpp::FunctionInterface.
Definition at line 370 of file OptimizationTools.h.
References lambda_.
|
virtual |
Implements bpp::FunctionInterface.
Definition at line 50 of file OptimizationTools.cpp.
References bpp::ParameterList::size().
|
mutableprivate |
Definition at line 343 of file OptimizationTools.h.
Referenced by operator=(), and ScaleFunction().
|
private |
Definition at line 343 of file OptimizationTools.h.
Referenced by getParameters(), getParameters_(), getParameterValue(), operator=(), parameter(), and ScaleFunction().
|
private |
Definition at line 342 of file OptimizationTools.h.
Referenced by operator=().