Template Class Monitor

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

template<typename scalar_type, typename index_type>
class Monitor : public GridKit::Model::VariableMonitorBase

Public Functions

template<typename ModelT>
inline void add(std::string_view device_class, ModelT &model, typename ModelT::InternalVariablesT variable)

One column per entry of internal variable variable of model, in a device of class device_class.

template<typename ModelT>
inline void add(std::string_view device_class, ModelT &model, typename ModelT::OutputsT output)

One column per entry of output output of model, in a device of class device_class.

inline void evaluateOutputs() const

Evaluate the outputs of each monitored model once, before their columns are read.

inline virtual bool empty() const override

Is there nothing to monitor?