Minsky
|
represents the input of an integration operation - differs from Variable DAG in that it doesn't refer to the VariableValue More...
#include <equations.h>
Public Member Functions | |
VariableValuePtr | addEvalOps (EvalOpVector &, const VariableValuePtr &) override |
adds EvalOps to an EvalOpVector representing this node. More... | |
![]() | |
VariableDAG () | |
reference to operation if this is an integral variable More... | |
VariableDAG (const string &valueId, const string &name, Type type) | |
int | BODMASlevel () const override |
algebraic heirarchy level, used for working out whether brackets are necessary. More... | |
int | order (unsigned maxOrder) const override |
returns evaluation order in sequence of variable defintions More... | |
bool | tensorEval (std::set< const Node *> &) const override |
returns true if the evaluation of this involves tensor processing More... | |
ostream & | latex (ostream &) const override |
writes LaTeX representation of this DAG to the stream More... | |
ostream & | matlab (ostream &) const override |
writes a matlab representation of this DAG to the stream More... | |
void | render (ecolab::cairo::Surface &surf) const override |
renders a visual representation of this node to surf graphic extends right from the current pen position (which needs to be defined), and pen is moved to the right edge of the graphic. The determine bounding box, render into a recording surface, and use width()/height() More... | |
NodePtr | derivative (SystemOfEquations &) const override |
support for the derivative operator. More... | |
bool | addTensorOp (EvalOpVector &ev) |
adds a TensorEvalOp, returns true if successful More... | |
virtual bool | tensorEval (std::set< const Node * > &visited) const=0 |
returns true if the evaluation of this involves tensor processing More... | |
bool | tensorEval () |
returns true if the evaluation of this involves tensor processing More... | |
virtual ostream & | latex (ostream &) const=0 |
writes LaTeX representation of this DAG to the stream More... | |
LaTeXManip | latex () const |
used within io streaming More... | |
virtual ostream & | matlab (ostream &) const=0 |
writes a matlab representation of this DAG to the stream More... | |
MatlabManip | matlab () const |
virtual VariableValuePtr | addEvalOps (EvalOpVector &, const VariableValuePtr &result={})=0 |
adds EvalOps to an EvalOpVector representing this node. More... | |
![]() | |
virtual | ~Node () |
std::string | latexStr () const |
std::string | matlabStr () const |
bool | tensorEval () |
returns true if the evaluation of this involves tensor processing More... | |
LaTeXManip | latex () const |
used within io streaming More... | |
MatlabManip | matlab () const |
Additional Inherited Members | |
![]() | |
enum | Type { undefined, constant, parameter, flow, integral, stock, tempFlow, numVarTypes } |
![]() | |
static std::string | typeName (int t) |
![]() | |
string | valueId |
Type | type =undefined |
string | name |
string | init ="0" |
WeakNodePtr | rhs |
IntOp * | intOp =0 |
![]() | |
int | cachedOrder =-1 |
VariableValuePtr | result |
reference to where this node's value is stored More... | |
represents the input of an integration operation - differs from Variable DAG in that it doesn't refer to the VariableValue
Definition at line 212 of file equations.h.
|
overridevirtual |
adds EvalOps to an EvalOpVector representing this node.
Reimplemented from MathDAG::VariableDAG.
Definition at line 148 of file equations.cc.
References minsky::doOneEvent(), minsky::VariableType::tempFlow, and minsky::VariableType::undefined.