bpp-core
2.2.0
|
Describe the auto-correlation probabilities inside hidden states of a Hidden Markov Model. More...
#include <Bpp/Numeric/Hmm/AutoCorrelationTransitionMatrix.h>
Public Member Functions | |
AutoCorrelationTransitionMatrix (const HmmStateAlphabet *alph, const std::string &prefix="") | |
AutoCorrelationTransitionMatrix (const AutoCorrelationTransitionMatrix &hptm) | |
AutoCorrelationTransitionMatrix & | operator= (const AutoCorrelationTransitionMatrix &hptm) |
AutoCorrelationTransitionMatrix * | clone () const |
Create a copy of this object and send a pointer to it. More... | |
double | Pij (size_t i, size_t j) const |
Get the transition probability between two states. More... | |
const Matrix< double > & | getPij () const |
Get all transition probabilities as a matrix. More... | |
const std::vector< double > & | getEquilibriumFrequencies () const |
void | fireParameterChanged (const ParameterList ¶meters) |
Notify the class when one or several parameters have changed. More... | |
const HmmStateAlphabet * | getHmmStateAlphabet () const |
void | setHmmStateAlphabet (const HmmStateAlphabet *stateAlphabet) throw (HmmUnvalidAlphabetException) |
Set the new hidden state alphabet. More... | |
size_t | getNumberOfStates () const |
virtual bool | hasParameter (const std::string &name) const =0 |
Tell if there is a parameter with specified name. More... | |
virtual const ParameterList & | getParameters () const =0 |
Get all parameters available. More... | |
virtual const Parameter & | getParameter (const std::string &name) const =0 throw (ParameterNotFoundException) |
Get the parameter with specified name. More... | |
virtual double | getParameterValue (const std::string &name) const =0 throw (ParameterNotFoundException) |
Get the value for parameter of name 'name'. More... | |
virtual void | setAllParametersValues (const ParameterList ¶meters)=0 throw (ParameterNotFoundException, ConstraintException) |
Set the parameters values to be equals to those of parameters. More... | |
virtual void | setParameterValue (const std::string &name, double value)=0 throw (ParameterNotFoundException, ConstraintException) |
Set the value of parameter with name name to be equal to value. More... | |
virtual void | setParametersValues (const ParameterList ¶meters)=0 throw (ParameterNotFoundException, ConstraintException) |
Update the parameters from parameters. More... | |
virtual bool | matchParametersValues (const ParameterList ¶meters)=0 throw (ConstraintException) |
Update the parameters from parameters. More... | |
virtual size_t | getNumberOfParameters () const =0 |
Get the number of parameters. More... | |
virtual void | setNamespace (const std::string &prefix)=0 |
Set the namespace for the parameter names. More... | |
virtual std::string | getNamespace () const =0 |
virtual std::string | getParameterNameWithoutNamespace (const std::string &name) const =0 |
Resolves a parameter name according to the current namespace. More... | |
bool | hasParameter (const std::string &name) const |
Tell if there is a parameter with specified name. More... | |
const ParameterList & | getParameters () const |
Get all parameters available. More... | |
const Parameter & | getParameter (const std::string &name) const throw (ParameterNotFoundException) |
Get the parameter with specified name. More... | |
double | getParameterValue (const std::string &name) const throw (ParameterNotFoundException) |
Get the value for parameter of name 'name'. More... | |
void | setAllParametersValues (const ParameterList ¶meters) throw (ParameterNotFoundException, ConstraintException) |
Set the parameters values to be equals to those of parameters. More... | |
void | setParameterValue (const std::string &name, double value) throw (ParameterNotFoundException, ConstraintException) |
Set the value of parameter with name name to be equal to value. More... | |
void | setParametersValues (const ParameterList ¶meters) throw (ParameterNotFoundException, ConstraintException) |
Update the parameters from parameters. More... | |
bool | matchParametersValues (const ParameterList ¶meters) throw (ConstraintException) |
Update the parameters from parameters. More... | |
size_t | getNumberOfParameters () const |
Get the number of parameters. More... | |
void | setNamespace (const std::string &prefix) |
Set the namespace for the parameter names. More... | |
std::string | getNamespace () const |
std::string | getParameterNameWithoutNamespace (const std::string &name) const |
Resolves a parameter name according to the current namespace. More... | |
Protected Member Functions | |
void | addParameter_ (Parameter *parameter) |
void | addParameters_ (const ParameterList ¶meters) |
void | deleteParameter_ (size_t index) throw (IndexOutOfBoundsException) |
void | deleteParameter_ (std::string &name) |
void | deleteParameters_ (const std::vector< std::string > &names) |
void | resetParameters_ () |
Parameter & | getParameter_ (const std::string &name) throw (ParameterNotFoundException) |
Parameter & | getParameter_ (size_t index) throw (IndexOutOfBoundsException) |
const Parameter & | getParameter_ (size_t index) const throw (IndexOutOfBoundsException) |
Parameter & | getParameterWithNamespace_ (const std::string &name) throw (ParameterNotFoundException) |
const Parameter & | getParameterWithNamespace_ (const std::string &name) const throw (ParameterNotFoundException) |
ParameterList & | getParameters_ () |
Protected Attributes | |
RowMatrix< double > | pij_ |
RowMatrix< double > | tmpmat_ |
Vdouble | eqFreq_ |
bool | upToDate_ |
Private Attributes | |
std::vector< double > | vAutocorrel_ |
Describe the auto-correlation probabilities inside hidden states of a Hidden Markov Model.
This modelling behaves like a HMM in which, from a given state, all transition probabilities to the other states are equal.
The parameters are the within states transition probabilities, denoted as "lambaN"
with N the number of the state (1 is the first).
Definition at line 62 of file AutoCorrelationTransitionMatrix.h.
AutoCorrelationTransitionMatrix::AutoCorrelationTransitionMatrix | ( | const HmmStateAlphabet * | alph, |
const std::string & | prefix = "" |
||
) |
Definition at line 50 of file AutoCorrelationTransitionMatrix.cpp.
References bpp::AbstractParametrizable::addParameter_(), bpp::AbstractHmmTransitionMatrix::eqFreq_, bpp::AbstractHmmTransitionMatrix::getNumberOfStates(), bpp::Parameter::PROP_CONSTRAINT_EX, bpp::TextTools::toString(), and vAutocorrel_.
Referenced by clone().
AutoCorrelationTransitionMatrix::AutoCorrelationTransitionMatrix | ( | const AutoCorrelationTransitionMatrix & | hptm | ) |
Definition at line 68 of file AutoCorrelationTransitionMatrix.cpp.
|
inlineprotectedinherited |
Definition at line 137 of file AbstractParametrizable.h.
References bpp::ParameterList::addParameter(), and bpp::AbstractParametrizable::parameters_.
Referenced by bpp::AbstractParameterAliasable::addParameter_(), AutoCorrelationTransitionMatrix(), bpp::FullHmmTransitionMatrix::FullHmmTransitionMatrix(), and bpp::TestFunction::TestFunction().
|
inlineprotectedinherited |
Definition at line 143 of file AbstractParametrizable.h.
References bpp::ParameterList::addParameters(), and bpp::AbstractParametrizable::parameters_.
Referenced by bpp::AbstractParameterAliasable::addParameters_().
|
inlinevirtual |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Definition at line 77 of file AutoCorrelationTransitionMatrix.h.
References AutoCorrelationTransitionMatrix().
|
inlineprotectedinherited |
Definition at line 148 of file AbstractParametrizable.h.
References bpp::ParameterList::deleteParameter(), bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::size().
Referenced by bpp::AbstractParameterAliasable::deleteParameter_().
|
inlineprotectedinherited |
Definition at line 155 of file AbstractParametrizable.h.
References bpp::ParameterList::deleteParameter(), and bpp::AbstractParametrizable::parameters_.
|
inlineprotectedinherited |
Definition at line 160 of file AbstractParametrizable.h.
References bpp::ParameterList::deleteParameters(), and bpp::AbstractParametrizable::parameters_.
|
virtual |
Notify the class when one or several parameters have changed.
parameters | A ParameterList object with parameters that changed. |
Implements bpp::AbstractParametrizable.
Definition at line 103 of file AutoCorrelationTransitionMatrix.cpp.
References bpp::AbstractHmmTransitionMatrix::getNumberOfStates(), bpp::AbstractParametrizable::getParameterValue(), bpp::TextTools::toString(), bpp::AbstractHmmTransitionMatrix::upToDate_, and vAutocorrel_.
|
virtual |
Implements bpp::HmmTransitionMatrix.
Definition at line 98 of file AutoCorrelationTransitionMatrix.cpp.
References bpp::AbstractHmmTransitionMatrix::eqFreq_.
|
inlinevirtualinherited |
Implements bpp::HmmTransitionMatrix.
Definition at line 81 of file AbstractHmmTransitionMatrix.h.
References bpp::AbstractHmmTransitionMatrix::alph_.
|
inlinevirtualinherited |
Implements bpp::Parametrizable.
Definition at line 125 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::prefix_.
Referenced by bpp::MixtureOfDiscreteDistributions::MixtureOfDiscreteDistributions(), bpp::Simplex::setFrequencies(), bpp::AbstractParameterAliasable::setNamespace(), and bpp::BppODiscreteDistributionFormat::write().
|
pure virtualinherited |
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::FunctionWrapper::getNamespace().
|
inlinevirtualinherited |
Get the number of parameters.
Implements bpp::Parametrizable.
Definition at line 121 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::size().
Referenced by bpp::AbstractParameterAliasable::AbstractParameterAliasable(), bpp::SimpleDiscreteDistribution::fireParameterChanged(), bpp::AbstractParameterAliasable::operator=(), bpp::ConstantDistribution::restrictToConstraint(), and bpp::SimpleDiscreteDistribution::restrictToConstraint().
|
pure virtualinherited |
Get the number of parameters.
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, bpp::AbstractParametrizable, and bpp::DirectionFunction.
Referenced by bpp::FunctionWrapper::getNumberOfParameters(), and bpp::BppODiscreteDistributionFormat::write().
|
inlinevirtualinherited |
Implements bpp::HmmTransitionMatrix.
Definition at line 98 of file AbstractHmmTransitionMatrix.h.
References bpp::AbstractHmmTransitionMatrix::alph_, and bpp::HmmStateAlphabet::getNumberOfStates().
Referenced by AutoCorrelationTransitionMatrix(), fireParameterChanged(), bpp::FullHmmTransitionMatrix::fireParameterChanged(), bpp::FullHmmTransitionMatrix::FullHmmTransitionMatrix(), bpp::FullHmmTransitionMatrix::getEquilibriumFrequencies(), getPij(), and Pij().
|
inlinevirtualinherited |
Get the parameter with specified name.
name | The name of the parameter to look for. |
ParameterNotFoundException | if no parameter with this name is found. |
Implements bpp::Parametrizable.
Definition at line 79 of file AbstractParametrizable.h.
References bpp::ParameterList::getParameter(), bpp::AbstractParametrizable::parameters_, and bpp::AbstractParametrizable::prefix_.
Referenced by bpp::AbstractParameterAliasable::getAliasedParameters(), bpp::ReparametrizationDerivableFirstOrderWrapper::getFirstOrderDerivative(), bpp::AbstractParametrizable::getParameterValue(), bpp::AbstractParametrizable::getParameterWithNamespace_(), bpp::ReparametrizationDerivableSecondOrderWrapper::getSecondOrderDerivative(), and bpp::TestFunction::getValue().
|
pure virtualinherited |
Get the parameter with specified name.
name | The name of the parameter to look for. |
ParameterNotFoundException | if no parameter with this name is found. |
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::FunctionWrapper::getParameter().
|
inlineprotectedinherited |
name | The name of the parameter. |
ParameterNotFoundException | If no parameter with that name is found in the list. |
Definition at line 175 of file AbstractParametrizable.h.
References bpp::ParameterList::getParameter(), bpp::AbstractParametrizable::parameters_, and bpp::AbstractParametrizable::prefix_.
Referenced by bpp::AbstractParameterAliasable::deleteParameter_(), bpp::AbstractParametrizable::getParameterWithNamespace_(), bpp::ConstantDistribution::restrictToConstraint(), bpp::TruncatedExponentialDiscreteDistribution::restrictToConstraint(), bpp::SimpleDiscreteDistribution::restrictToConstraint(), and bpp::InvariantMixedDiscreteDistribution::restrictToConstraint().
|
inlineprotectedinherited |
Definition at line 199 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::size().
|
inlineprotectedinherited |
Definition at line 205 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::size().
|
virtualinherited |
Resolves a parameter name according to the current namespace.
Implements bpp::Parametrizable.
Definition at line 63 of file AbstractParametrizable.cpp.
References bpp::TextTools::startsWith().
|
pure virtualinherited |
Resolves a parameter name according to the current namespace.
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::FunctionWrapper::getParameterNameWithoutNamespace(), bpp::BppODiscreteDistributionFormat::read(), and bpp::BppOParametrizableFormat::write().
|
inlinevirtualinherited |
Get all parameters available.
Implements bpp::Parametrizable.
Definition at line 77 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_.
Referenced by bpp::AbstractParameterAliasable::aliasParameters(), bpp::AbstractParameterAliasable::fireParameterChanged(), bpp::MixtureOfDiscreteDistributions::MixtureOfDiscreteDistributions(), and bpp::ParametrizableCollection< N >::removeObject().
|
pure virtualinherited |
Get all parameters available.
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, bpp::DirectionFunction, and bpp::AbstractParametrizable.
Referenced by bpp::NewtonOneDimension::doStep(), bpp::FunctionWrapper::getParameters(), bpp::BppODiscreteDistributionFormat::read(), bpp::AbstractNumericalDerivative::setParameterValue(), bpp::AbstractOptimizer::step(), and bpp::BppOParametrizableFormat::write().
|
inlineprotectedinherited |
Definition at line 212 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_.
Referenced by bpp::AbstractParameterAliasable::AbstractParameterAliasable(), and bpp::AbstractParameterAliasable::operator=().
|
inlinevirtualinherited |
Get the value for parameter of name 'name'.
name | The name of the parameter. |
Implements bpp::Parametrizable.
Definition at line 84 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::getParameter(), and bpp::Parameter::getValue().
Referenced by bpp::DirichletDiscreteDistribution::applyParameters(), bpp::ConstantDistribution::fireParameterChanged(), bpp::GaussianDiscreteDistribution::fireParameterChanged(), bpp::ExponentialDiscreteDistribution::fireParameterChanged(), bpp::GammaDiscreteDistribution::fireParameterChanged(), bpp::BetaDiscreteDistribution::fireParameterChanged(), bpp::InvariantMixedDiscreteDistribution::fireParameterChanged(), fireParameterChanged(), bpp::TruncatedExponentialDiscreteDistribution::fireParameterChanged(), bpp::FullHmmTransitionMatrix::fireParameterChanged(), bpp::SimpleDiscreteDistribution::fireParameterChanged(), bpp::MixtureOfDiscreteDistributions::fireParameterChanged(), bpp::Simplex::fireParameterChanged(), bpp::GammaDiscreteDistribution::randC(), bpp::ExponentialDiscreteDistribution::randC(), bpp::BetaDiscreteDistribution::randC(), bpp::TruncatedExponentialDiscreteDistribution::randC(), and bpp::ConstantDistribution::restrictToConstraint().
|
pure virtualinherited |
Get the value for parameter of name 'name'.
name | The name of the parameter. |
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::FunctionWrapper::getParameterValue(), and bpp::BppODiscreteDistributionFormat::read().
|
inlineprotectedinherited |
name | The name of the parameter, including its namespace. |
ParameterNotFoundException | If no parameter with that name is found in the list. |
Definition at line 185 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::getParameter_().
|
inlineprotectedinherited |
name | The name of the parameter, including its namespace. |
ParameterNotFoundException | If no parameter with that name is found in the list. |
Definition at line 194 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::getParameter().
|
virtual |
Get all transition probabilities as a matrix.
Implements bpp::HmmTransitionMatrix.
Definition at line 85 of file AutoCorrelationTransitionMatrix.cpp.
References bpp::AbstractHmmTransitionMatrix::getNumberOfStates(), bpp::AbstractHmmTransitionMatrix::pij_, bpp::AbstractHmmTransitionMatrix::upToDate_, and vAutocorrel_.
|
pure virtualinherited |
Tell if there is a parameter with specified name.
name | The name of the parameter to look for. |
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::FunctionWrapper::hasParameter().
|
inlinevirtualinherited |
Tell if there is a parameter with specified name.
name | The name of the parameter to look for. |
Implements bpp::Parametrizable.
Definition at line 75 of file AbstractParametrizable.h.
References bpp::ParameterList::hasParameter(), bpp::AbstractParametrizable::parameters_, and bpp::AbstractParametrizable::prefix_.
|
inlinevirtualinherited |
Update the parameters from parameters.
Only common parameters with parameters will be updated.
parameters | A list of parameters. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implements bpp::Parametrizable.
Definition at line 111 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::fireParameterChanged(), bpp::ParameterList::matchParametersValues(), and bpp::AbstractParametrizable::parameters_.
Referenced by bpp::AbstractParameterAliasable::aliasParameters(), bpp::Simplex::setFrequencies(), bpp::ReparametrizationFunctionWrapper::setParameters(), bpp::TestFunction::setParameters(), and bpp::FullHmmTransitionMatrix::setTransitionProbabilities().
|
pure virtualinherited |
Update the parameters from parameters.
Only common parameters with parameters will be updated.
parameters | A list of parameters. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implemented in bpp::InfinityFunctionWrapper, bpp::FunctionWrapper, bpp::AbstractNumericalDerivative, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::InvariantMixedDiscreteDistribution::fireParameterChanged(), bpp::AbstractNumericalDerivative::matchParametersValues(), bpp::FunctionWrapper::matchParametersValues(), and bpp::InfinityFunctionWrapper::matchParametersValues().
AutoCorrelationTransitionMatrix & AutoCorrelationTransitionMatrix::operator= | ( | const AutoCorrelationTransitionMatrix & | hptm | ) |
Definition at line 75 of file AutoCorrelationTransitionMatrix.cpp.
References bpp::AbstractHmmTransitionMatrix::operator=(), and vAutocorrel_.
|
inlinevirtual |
Get the transition probability between two states.
i | initial state. |
j | final state. |
Implements bpp::HmmTransitionMatrix.
Definition at line 86 of file AutoCorrelationTransitionMatrix.h.
References bpp::AbstractHmmTransitionMatrix::getNumberOfStates(), and vAutocorrel_.
|
inlineprotectedinherited |
Definition at line 165 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::reset().
Referenced by bpp::AbstractParameterAliasable::resetParameters_().
|
inlinevirtualinherited |
Set the parameters values to be equals to those of parameters.
The list must contain exactly the same parameters (ie same names) than the parameters available.
parameters | A list with all parameters. |
ParameterNotFoundException | If a some parameter in the list is not in params. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implements bpp::Parametrizable.
Definition at line 90 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::fireParameterChanged(), bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::setAllParametersValues().
|
pure virtualinherited |
Set the parameters values to be equals to those of parameters.
The list must contain exactly the same parameters (ie same names) than the parameters available.
parameters | A list with all parameters. |
ParameterNotFoundException | If a some parameter in the list is not in params. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implemented in bpp::InfinityFunctionWrapper, bpp::FunctionWrapper, bpp::AbstractNumericalDerivative, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::AbstractNumericalDerivative::setAllParametersValues(), bpp::FunctionWrapper::setAllParametersValues(), and bpp::InfinityFunctionWrapper::setAllParametersValues().
|
virtualinherited |
Set the new hidden state alphabet.
stateAlphabet | The new state alphabet |
UnvalidStateAlphabetException | if the new alphabet is uncorrect (for instance is NULL pointer). |
Implements bpp::HmmTransitionMatrix.
Definition at line 77 of file AbstractHmmTransitionMatrix.cpp.
|
virtualinherited |
Set the namespace for the parameter names.
prefix | The 'namespace', that is a prefix to add to all parameter names. If parameter names are already prefixed, the new prefix will be used instead. |
Implements bpp::Parametrizable.
Reimplemented in bpp::MixtureOfDiscreteDistributions, and bpp::InvariantMixedDiscreteDistribution.
Definition at line 45 of file AbstractParametrizable.cpp.
References bpp::TextTools::startsWith().
Referenced by bpp::AbstractParameterAliasable::setNamespace().
|
pure virtualinherited |
Set the namespace for the parameter names.
prefix | The 'namespace', that is a prefix to add to all parameter names. If parameter names are already prefixed, the new prefix will be used instead. |
Implemented in bpp::FunctionWrapper, bpp::ParametrizableAdapter, bpp::AbstractParameterAliasable, bpp::MixtureOfDiscreteDistributions, bpp::AbstractParametrizable, and bpp::InvariantMixedDiscreteDistribution.
Referenced by bpp::InvariantMixedDiscreteDistribution::InvariantMixedDiscreteDistribution(), bpp::InvariantMixedDiscreteDistribution::setNamespace(), and bpp::FunctionWrapper::setNamespace().
|
inlinevirtualinherited |
Update the parameters from parameters.
parameters must be a subset of all parameters available.
parameters | A list containing all parameters to update. |
ParameterNotFoundException | If a some parameter in params is not in the list. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implements bpp::Parametrizable.
Definition at line 104 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::fireParameterChanged(), bpp::AbstractParametrizable::parameters_, and bpp::ParameterList::setParametersValues().
Referenced by bpp::LowMemoryRescaledHmmLikelihood::setParameters(), bpp::LogsumHmmLikelihood::setParameters(), and bpp::RescaledHmmLikelihood::setParameters().
|
pure virtualinherited |
Update the parameters from parameters.
parameters must be a subset of all parameters available.
parameters | A list containing all parameters to update. |
ParameterNotFoundException | If a some parameter in params is not in the list. |
ConstraintException | If a value in parameters does not match the constraint in the corresponding parameter in the list. |
Implemented in bpp::InfinityFunctionWrapper, bpp::FunctionWrapper, bpp::AbstractNumericalDerivative, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::AbstractNumericalDerivative::setParametersValues(), bpp::FunctionWrapper::setParametersValues(), and bpp::InfinityFunctionWrapper::setParametersValues().
|
inlinevirtualinherited |
Set the value of parameter with name name to be equal to value.
name | the name of the parameter to set. |
value | The value of the parameter. |
ParameterNotFoundException | If no parameter in the list has the name name. |
ConstraintException | If value does not match the constraint associated to parameter name. |
Implements bpp::Parametrizable.
Definition at line 97 of file AbstractParametrizable.h.
References bpp::AbstractParametrizable::fireParameterChanged(), bpp::AbstractParametrizable::parameters_, bpp::AbstractParametrizable::prefix_, bpp::ParameterList::setParameterValue(), and bpp::ParameterList::subList().
|
pure virtualinherited |
Set the value of parameter with name name to be equal to value.
name | the name of the parameter to set. |
value | The value of the parameter. |
ParameterNotFoundException | If no parameter in the list has the name name. |
ConstraintException | If value does not match the constraint associated to parameter name. |
Implemented in bpp::InfinityFunctionWrapper, bpp::FunctionWrapper, bpp::AbstractNumericalDerivative, bpp::ParametrizableAdapter, and bpp::AbstractParametrizable.
Referenced by bpp::AbstractNumericalDerivative::setParameterValue(), bpp::FunctionWrapper::setParameterValue(), and bpp::InfinityFunctionWrapper::setParameterValue().
|
mutableprotectedinherited |
Definition at line 65 of file AbstractHmmTransitionMatrix.h.
Referenced by AutoCorrelationTransitionMatrix(), getEquilibriumFrequencies(), bpp::FullHmmTransitionMatrix::getEquilibriumFrequencies(), and bpp::AbstractHmmTransitionMatrix::operator=().
|
mutableprotectedinherited |
Definition at line 63 of file AbstractHmmTransitionMatrix.h.
Referenced by bpp::FullHmmTransitionMatrix::getEquilibriumFrequencies(), getPij(), bpp::FullHmmTransitionMatrix::getPij(), and bpp::AbstractHmmTransitionMatrix::operator=().
|
mutableprotectedinherited |
Definition at line 63 of file AbstractHmmTransitionMatrix.h.
Referenced by bpp::FullHmmTransitionMatrix::getEquilibriumFrequencies(), and bpp::AbstractHmmTransitionMatrix::operator=().
|
mutableprotectedinherited |
Definition at line 67 of file AbstractHmmTransitionMatrix.h.
Referenced by fireParameterChanged(), bpp::FullHmmTransitionMatrix::fireParameterChanged(), bpp::FullHmmTransitionMatrix::getEquilibriumFrequencies(), getPij(), bpp::FullHmmTransitionMatrix::getPij(), and bpp::AbstractHmmTransitionMatrix::operator=().
|
private |
Definition at line 67 of file AutoCorrelationTransitionMatrix.h.
Referenced by AutoCorrelationTransitionMatrix(), fireParameterChanged(), getPij(), operator=(), and Pij().