ANIMA
4.0
|
Class for computing marginal and profile costs and derivatives. This is not thread safe at all so be sure to intantiate one per thread. More...
#include <animaGaussianMCMCost.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef GaussianMCMCost | Self |
typedef anima::BaseMCMCost | Superclass |
Public Types inherited from anima::BaseMCMCost | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::Array2D< double > | DerivativeMatrixType |
typedef itk::Array< double > | DerivativeType |
typedef MCMType::ListType | ListType |
typedef MCMType::Pointer | MCMPointer |
typedef anima::MultiCompartmentModel | MCMType |
typedef itk::Array< double > | MeasureType |
typedef itk::OptimizerParameters< double > | ParametersType |
typedef itk::SmartPointer< Self > | Pointer |
typedef BaseMCMCost | Self |
typedef itk::LightObject | Superclass |
typedef MCMType::Vector3DType | Vector3DType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
double | GetCurrentCostValue () ITK_OVERRIDE |
For the current set of parameters, compute the cost function value, requires GetValues to be called first. More... | |
void | GetCurrentDerivative (DerivativeMatrixType &derivativeMatrix, DerivativeType &derivative) ITK_OVERRIDE |
Get cost function derivatives from a derivative matrix obtained from GetDerivativeMatrix. More... | |
void | GetDerivativeMatrix (const ParametersType ¶meters, DerivativeMatrixType &derivative) ITK_OVERRIDE |
Get residual derivatives for a given set of parameters, returns a matrix of residuals derivatives. More... | |
virtual const char * | GetNameOfClass () const |
MeasureType | GetValues (const ParametersType ¶meters) ITK_OVERRIDE |
Get residual values for a given set of parameters, returns a vector of residuals. More... | |
void | SetMarginalEstimation (bool val) |
Public Member Functions inherited from anima::BaseMCMCost | |
MCMPointer & | GetMCMStructure () |
unsigned int | GetNumberOfObservations () const |
unsigned int | GetNumberOfParameters () const |
Returns number of optimized parameters. More... | |
virtual double | GetSigmaSquare () |
void | SetBigDelta (double val) |
void | SetGradients (std::vector< Vector3DType > &value) |
void | SetGradientStrengths (ListType &value) |
void | SetMCMStructure (MCMType *model) |
void | SetObservedSignals (ListType &value) |
void | SetSmallDelta (double val) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
GaussianMCMCost () | |
virtual | ~GaussianMCMCost () |
Protected Member Functions inherited from anima::BaseMCMCost | |
BaseMCMCost () | |
virtual | ~BaseMCMCost () |
Additional Inherited Members | |
Protected Attributes inherited from anima::BaseMCMCost | |
double | m_BigDelta |
std::vector< Vector3DType > | m_Gradients |
ListType | m_GradientStrengths |
MCMPointer | m_MCMStructure |
ListType | m_ObservedSignals |
std::vector< double > | m_PredictedSignals |
double | m_SigmaSquare |
double | m_SmallDelta |
ListType | m_TestedParameters |
Class for computing marginal and profile costs and derivatives. This is not thread safe at all so be sure to intantiate one per thread.
Definition at line 18 of file animaGaussianMCMCost.h.
typedef itk::SmartPointer<const Self> anima::GaussianMCMCost::ConstPointer |
Definition at line 25 of file animaGaussianMCMCost.h.
typedef itk::SmartPointer<Self> anima::GaussianMCMCost::Pointer |
Definition at line 24 of file animaGaussianMCMCost.h.
Standard class typedefs.
Definition at line 22 of file animaGaussianMCMCost.h.
Definition at line 23 of file animaGaussianMCMCost.h.
|
inlineprotected |
Definition at line 47 of file animaGaussianMCMCost.h.
|
inlineprotectedvirtual |
Definition at line 52 of file animaGaussianMCMCost.h.
virtual::itk::LightObject::Pointer anima::GaussianMCMCost::CreateAnother | ( | void | ) | const |
|
virtual |
For the current set of parameters, compute the cost function value, requires GetValues to be called first.
Implements anima::BaseMCMCost.
Definition at line 47 of file animaGaussianMCMCost.cxx.
References anima::BaseMCMCost::m_SigmaSquare.
|
virtual |
Get cost function derivatives from a derivative matrix obtained from GetDerivativeMatrix.
Implements anima::BaseMCMCost.
Definition at line 96 of file animaGaussianMCMCost.cxx.
References anima::BaseMCMCost::m_SigmaSquare.
|
virtual |
Get residual derivatives for a given set of parameters, returns a matrix of residuals derivatives.
Implements anima::BaseMCMCost.
Definition at line 62 of file animaGaussianMCMCost.cxx.
References anima::BaseMCMCost::m_BigDelta, anima::BaseMCMCost::m_Gradients, anima::BaseMCMCost::m_GradientStrengths, anima::BaseMCMCost::m_MCMStructure, anima::BaseMCMCost::m_ObservedSignals, anima::BaseMCMCost::m_SmallDelta, and anima::BaseMCMCost::m_TestedParameters.
|
virtual |
Run-time type information (and related methods).
Reimplemented from anima::BaseMCMCost.
|
virtual |
Get residual values for a given set of parameters, returns a vector of residuals.
Implements anima::BaseMCMCost.
Definition at line 10 of file animaGaussianMCMCost.cxx.
References anima::BaseMCMCost::m_BigDelta, anima::BaseMCMCost::m_Gradients, anima::BaseMCMCost::m_GradientStrengths, anima::BaseMCMCost::m_MCMStructure, anima::BaseMCMCost::m_ObservedSignals, anima::BaseMCMCost::m_PredictedSignals, anima::BaseMCMCost::m_SigmaSquare, anima::BaseMCMCost::m_SmallDelta, and anima::BaseMCMCost::m_TestedParameters.
|
static |
|
inline |
Definition at line 44 of file animaGaussianMCMCost.h.