MCPcopy Create free account
hub / github.com/MITK/MITK / GetNumberOfOutputs

Method GetNumberOfOutputs

Modules/ModelFit/src/Functors/mitkModelFitFunctorBase.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101};
102
103unsigned int
104mitk::ModelFitFunctorBase::GetNumberOfOutputs(const ModelBase* model) const
105{
106 if (!model)
107 {
108 itkExceptionMacro("Cannot get number of outputs. Model is not defined.");
109 }
110
111 return model->GetNumberOfParameters() + model->GetNumberOfDerivedParameters() +
112 this->GetCriterionNames().size() + m_CostFunctionMap.size()+ this->GetDebugParameterNames().size();
113};
114
115void
116mitk::ModelFitFunctorBase::ResetEvaluationParameters()

Callers 4

GenerateMethod · 0.45
StoreResultImagesFunction · 0.45
DoParameterFitMethod · 0.45
GetNumberOfOutputsFunction · 0.45

Calls 5

GetNumberOfParametersMethod · 0.45
sizeMethod · 0.45
GetCriterionNamesMethod · 0.45

Tested by

no test coverage detected