Minsky
|
#include <equations.h>
Public Member Functions | |
std::string | key (const OperationBase &x) const |
std::string | key (const VariableBase &x) const |
std::string | key (const SwitchIcon &x) const |
std::string | key (const Lock &x) const |
std::string | key (const string &x) const |
strings refer to variable names More... | |
template<class T > | |
bool | exists (const T &x) |
template<class T > | |
NodePtr | operator[] (const T &x) const |
template<class T > | |
const NodePtr & | insert (const T &x, const NodePtr &n) |
void | insertIntegralInput (const string &name, const VariableDAGPtr &n) |
VariableDAGPtr | getIntegralInput (const string &name) const |
std::size_t | size () const |
NodePtr | reverseLookup (const Node &x) const |
returns NodePtr corresponding to object , if it exists in cache, nullptr otherwise More... | |
NodePtr | insertAnonymous (NodePtr x) |
Private Attributes | |
std::map< std::string, NodePtr > | cache |
std::map< std::string, VariableDAGPtr > | integrationInputs |
std::map< const Node *, NodePtr > | reverseLookupCache |
Definition at line 292 of file equations.h.
|
inline |
Definition at line 315 of file equations.h.
Referenced by MathDAG::SystemOfEquations::getNodeFromVar(), MathDAG::SystemOfEquations::getNodeFromWire(), and MathDAG::SystemOfEquations::makeDAG().
|
inline |
Definition at line 333 of file equations.h.
Referenced by MathDAG::SystemOfEquations::getDefFromIntVar(), MathDAG::SystemOfEquations::getNodeFromIntVar(), MathDAG::SystemOfEquations::latex(), MathDAG::SystemOfEquations::latexWrapped(), MathDAG::SystemOfEquations::matlab(), and MathDAG::SystemOfEquations::SystemOfEquations().
|
inline |
Definition at line 325 of file equations.h.
Referenced by MathDAG::SystemOfEquations::makeDAG().
Definition at line 351 of file equations.h.
Referenced by MathDAG::CachedOp< T >::CachedOp(), MathDAG::Expr::Expr(), MathDAG::Expr::newNode(), MathDAG::Expr::operator*(), MathDAG::Expr::operator+(), MathDAG::Expr::operator-(), MathDAG::Expr::operator/(), and MathDAG::SystemOfEquations::SystemOfEquations().
|
inline |
Definition at line 329 of file equations.h.
Referenced by MathDAG::SystemOfEquations::SystemOfEquations().
|
inline |
Definition at line 298 of file equations.h.
References minsky::Item::ports(), and minsky::to_string().
|
inline |
Definition at line 301 of file equations.h.
References minsky::VariableBase::valueId().
|
inline |
Definition at line 304 of file equations.h.
References minsky::Item::ports(), and minsky::to_string().
|
inline |
Definition at line 307 of file equations.h.
References minsky::Item::ports(), and minsky::to_string().
|
inline |
strings refer to variable names
Definition at line 311 of file equations.h.
|
inline |
Definition at line 317 of file equations.h.
returns NodePtr corresponding to object , if it exists in cache, nullptr otherwise
Definition at line 342 of file equations.h.
|
inline |
Definition at line 340 of file equations.h.
Referenced by MathDAG::SystemOfEquations::SystemOfEquations().
|
private |
Definition at line 294 of file equations.h.
|
private |
Definition at line 295 of file equations.h.
Definition at line 296 of file equations.h.