Minsky
|
#include <equations.h>
Public Member Functions | |
ConstantDAG (const string &value="0") | |
ConstantDAG (double value) | |
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 &o) const override |
writes LaTeX representation of this DAG to the stream More... | |
ostream & | matlab (ostream &o) 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... | |
VariableValuePtr | addEvalOps (EvalOpVector &, const VariableValuePtr &) override |
adds EvalOps to an EvalOpVector representing this node. More... | |
NodePtr | derivative (SystemOfEquations &) const override |
support for the derivative operator. 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 |
Public Attributes | |
string | value |
![]() | |
int | cachedOrder =-1 |
VariableValuePtr | result |
reference to where this node's value is stored More... | |
Definition at line 156 of file equations.h.
|
inline |
Definition at line 159 of file equations.h.
|
inline |
Definition at line 160 of file equations.h.
|
overridevirtual |
adds EvalOps to an EvalOpVector representing this node.
Implements MathDAG::Node.
Definition at line 58 of file equations.cc.
References minsky::doOneEvent(), minsky::minsky(), minsky::VariableValues::resetValue(), minsky::VariableType::tempFlow, minsky::VariableType::undefined, and minsky::Minsky::variableValues.
|
inlineoverridevirtual |
algebraic heirarchy level, used for working out whether brackets are necessary.
Implements MathDAG::Node.
Definition at line 161 of file equations.h.
|
overridevirtual |
support for the derivative operator.
Implements MathDAG::Node.
Definition at line 36 of file derivative.cc.
|
inlineoverridevirtual |
writes LaTeX representation of this DAG to the stream
Implements MathDAG::Node.
Definition at line 164 of file equations.h.
|
inlineoverridevirtual |
writes a matlab representation of this DAG to the stream
Implements MathDAG::Node.
Definition at line 165 of file equations.h.
|
inlineoverridevirtual |
returns evaluation order in sequence of variable defintions
maxOrder | is used to limit the recursion depth |
Implements MathDAG::Node.
Definition at line 162 of file equations.h.
|
overridevirtual |
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()
Implements MathDAG::Node.
Definition at line 214 of file equationDisplayRender.cc.
References minsky::latexToPango(), and MathDAG::anonymous_namespace{equationDisplayRender.cc}::print().
|
inlineoverridevirtual |
returns true if the evaluation of this involves tensor processing
visited | set to break graph cycles |
Implements MathDAG::Node.
Definition at line 163 of file equations.h.
string MathDAG::ConstantDAG::value |
Definition at line 158 of file equations.h.