Class KModelDiscreteStates#

Inheritance Relationships#

Base Type#

Derived Type#

Class Documentation#

class KModelDiscreteStates : public Karana::Core::Base#

A base class for discrete model states. Derive from this and add any parameters for your model. Override the isFinalized method to check whether the discrete states are set. See the.

Discrete states section for more discussion about the KModel class.

Subclassed by Karana::Models::NoDiscreteStates

Public Functions

inline KModelDiscreteStates(std::string_view name)#

Constructor.

Parameters:

name – the discrete model states

inline virtual bool isFinalized() const override#

Checks is the params for the object have been initialized.

Returns:

True if the params have set up.