MEAL::NoParameters Class Reference

Represents a model with no parameters. More...

#include <NoParameters.h>

Inheritance diagram for MEAL::NoParameters:
MEAL::ParameterPolicy MEAL::FunctionPolicy Reference::Able Reference::HeapTracked MEAL::Constant

Public Member Functions

 NoParameters ()
 Default constructor.
NoParametersclone (Function *) const
 Clone construtor.
unsigned get_nparam () const
 Return the number of parameters.
std::string get_name (unsigned index) const
 Return the name of the specified parameter.
std::string get_description (unsigned index) const
 Return the name of the specified parameter.
double get_param (unsigned index) const
 Return the value of the specified parameter.
void set_param (unsigned index, double value)
 Set the value of the specified parameter.
double get_variance (unsigned index) const
 Return the variance of the specified parameter.
void set_variance (unsigned index, double value)
 Set the variance of the specified parameter.
bool get_infit (unsigned index) const
 Return true if parameter at index is to be fitted.
void set_infit (unsigned index, bool flag)
 Set flag for parameter at index to be fitted.
Public Member Functions inherited from MEAL::FunctionPolicy
 FunctionPolicy (Function *context=0)
 Default constructor.
 ~FunctionPolicy ()
 Destructor.
Functionget_context () const
 Return the Function for whom this policy operates.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Static Public Attributes inherited from MEAL::ParameterPolicy
static bool auto_install = true
 Install policy upon construction.
Protected Member Functions inherited from MEAL::ParameterPolicy
 ParameterPolicy (Function *context)
 Default destructor.
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Represents a model with no parameters.

Member Function Documentation

◆ clone()

NoParameters * MEAL::NoParameters::clone ( Function * ) const
inlinevirtual

Clone construtor.

Implements MEAL::ParameterPolicy.

References NoParameters().

◆ get_description()

std::string MEAL::NoParameters::get_description ( unsigned index) const
inlinevirtual

Return the name of the specified parameter.

Implements MEAL::ParameterPolicy.

◆ get_infit()

bool MEAL::NoParameters::get_infit ( unsigned index) const
inlinevirtual

Return true if parameter at index is to be fitted.

Implements MEAL::ParameterPolicy.

◆ get_name()

std::string MEAL::NoParameters::get_name ( unsigned index) const
inlinevirtual

Return the name of the specified parameter.

Implements MEAL::ParameterPolicy.

◆ get_nparam()

unsigned MEAL::NoParameters::get_nparam ( ) const
inlinevirtual

Return the number of parameters.

Implements MEAL::ParameterPolicy.

◆ get_param()

double MEAL::NoParameters::get_param ( unsigned index) const
inlinevirtual

Return the value of the specified parameter.

Implements MEAL::ParameterPolicy.

◆ get_variance()

double MEAL::NoParameters::get_variance ( unsigned index) const
inlinevirtual

Return the variance of the specified parameter.

Implements MEAL::ParameterPolicy.

◆ set_infit()

void MEAL::NoParameters::set_infit ( unsigned index,
bool flag )
inlinevirtual

Set flag for parameter at index to be fitted.

Implements MEAL::ParameterPolicy.

◆ set_param()

void MEAL::NoParameters::set_param ( unsigned index,
double value )
inlinevirtual

Set the value of the specified parameter.

Implements MEAL::ParameterPolicy.

◆ set_variance()

void MEAL::NoParameters::set_variance ( unsigned index,
double value )
inlinevirtual

Set the variance of the specified parameter.

Implements MEAL::ParameterPolicy.


The documentation for this class was generated from the following file:

Generated using doxygen 1.14.0