struct Gambit::model_info

Helper struct to carry around model information.

#include <yaml_description_database.hpp>

Public Attributes

Name
strname
Model name.
std::vector< str >parameters
Parameter names.
intnparams
Number of parameters ( parameters.size() )
strparent
Parent model name.
std::vector< str >lineage
Parent and all ancestor models.
std::vector< str >descendants
All children and later descendants.
strdescription
Full description of capability.
boolhas_description
Flag to check if description is missing.

Public Attributes Documentation

variable name

str name;

Model name.

variable parameters

std::vector< str > parameters;

Parameter names.

variable nparams

int nparams;

Number of parameters ( parameters.size() )

variable parent

str parent;

Parent model name.

variable lineage

std::vector< str > lineage;

Parent and all ancestor models.

variable descendants

std::vector< str > descendants;

All children and later descendants.

variable description

str description;

Full description of capability.

variable has_description

bool has_description;

Flag to check if description is missing.


Updated on 2024-07-18 at 13:53:30 +0000