Struct parameter

Struct Documentation

struct parameter

parameter of the model (lattice or cluster) with its dependency

Public Functions

parameter(const string &_name, int _label, double v = 0.0)

constructor

Parameters:
  • _name – [in] name of the parameter

  • _label – [in] label (i.e. system label, or lattice if = 0)

  • v – [in] value of the parameter

void check_name(const string &str)

Checks the admissibility of the name.

Parameters:

str – [in] name of the parameter

Public Members

string name
double value
size_t label

label of the cluster on which this operator is defined (0 if a lattice operator)

double multiplier
shared_ptr<parameter> ref
set<shared_ptr<parameter>> deref

Public Static Attributes

static const char separator = '_'