Managers of Function parameters. More...

#include <ParameterPolicy.h>

Inheritance diagram for MEAL::ParameterPolicy:
MEAL::FunctionPolicy Reference::Able Reference::HeapTracked MEAL::Composite MEAL::NoParameters MEAL::OneParameter MEAL::Parameters MEAL::Constant MEAL::CyclicParameter

Public Member Functions

virtual ParameterPolicyclone (Function *new_context) const =0
 Clone constructor.
 
virtual unsigned get_nparam () const =0
 Return the number of parameters.
 
virtual std::string get_name (unsigned index) const =0
 Return the name of the specified parameter.
 
virtual std::string get_description (unsigned index) const =0
 Return the name of the specified parameter.
 
virtual double get_param (unsigned index) const =0
 Return the value of the specified parameter.
 
virtual void set_param (unsigned index, double value)=0
 Set the value of the specified parameter.
 
virtual double get_variance (unsigned index) const =0
 Return the variance of the specified parameter.
 
virtual void set_variance (unsigned index, double value)=0
 Set the variance of the specified parameter.
 
virtual bool get_infit (unsigned index) const =0
 Return true if parameter at index is to be fitted.
 
virtual void set_infit (unsigned index, bool flag)=0
 Set flag for parameter at index to be fitted.
 
- Public Member Functions inherited from MEAL::FunctionPolicy
 FunctionPolicy (Function *context=0)
 Default constructor.
 
 ~FunctionPolicy ()
 Destructor. More...
 
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
 

Static Public Attributes

static bool auto_install = true
 Install policy upon construction. More...
 

Protected Member Functions

 ParameterPolicy (Function *context)
 Default destructor.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) 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 ()
 

Detailed Description

Managers of Function parameters.

Member Data Documentation

◆ auto_install

bool MEAL::ParameterPolicy::auto_install = true
static

Install policy upon construction.

By default, ParameterPolicy derived instances are installed in the context during construction.

Referenced by ParameterPolicy().


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

Generated using doxygen 1.8.17