Class ModelManagerVars#

Inheritance Relationships#

Base Type#

Derived Type#

Class Documentation#

class ModelManagerVars : public Karana::Core::LockingBaseVars#

The Vars for the ModelManager class.

Subclassed by Karana::Dynamics::StatePropagatorVars

Public Functions

ModelManagerVars(const kc::ks_ptr<const ModelManager> &mm)#

ModelManagerVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

mm – The model manager associated with this ModelManagerVars.

~ModelManagerVars()#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this VarHolder has.

Returns:

A map of Vars, where the Var name is the key and the Var is the value.

Public Members

kc::ks_ptr<Karana::Core::Var_T<std::string>> solver_type#

solver type

kc::ks_ptr<Karana::Core::Var_T<int>> nstates#

number of states

kc::ks_ptr<Karana::Core::Var_T<int>> n_subtree_states#

number of SubTree states

kc::ks_ptr<Karana::Core::Var_T<double>> time#

current time

Public Static Functions

static kc::ks_ptr<ModelManagerVars> create(const kc::ks_ptr<const ModelManager> &mm)#

Create an instance of the ModelManagerVars.

Parameters:

mm – The model manager associated with this ModelManagerVars.

Returns:

A pointer to the newly created instance of ModelManagerVars.