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 2023-06-26 at 21:36:50 +0000