|
CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|


Public Member Functions | |
| Enode (size_t index, const std::string &name="") | |
| Enode (size_t index, Enode< Base > *differentiationOf) | |
| const std::vector< Vnode< Base > * > & | variables () const |
| const std::vector< Vnode< Base > * > & | originalVariables () const |
| void | addVariable (Vnode< Base > *j) |
| Vnode< Base > * | assignmentVariable () const |
| void | setAssigmentVariable (Vnode< Base > &j) |
| Enode< Base > * | derivative () const |
| Enode< Base > * | derivativeOf () const |
| Enode< Base > * | originalEquation () |
| void | deleteNode (Vnode< Base > *j) |
| void | setDerivative (Enode< Base > *difEq) |
| virtual const std::string & | name () const |
| virtual std::string | nodeType () |
| void | color (std::ostream &out=std::cout, Verbosity verbosity=Verbosity::None) |
| void | uncolor () |
| bool | isColored () const |
| size_t | index () const |
| void | setIndex (size_t index) |
Protected Attributes | |
| std::vector< Vnode< Base > * > | vnodes_orig_ |
| std::vector< Vnode< Base > * > | vnodes_ |
| Enode< Base > * | differentiation_ |
| Enode< Base > * | differentiationOf_ |
| Vnode< Base > * | assign_ |
| std::string | name_ |
| size_t | index_ |
| bool | colored_ |
Static Protected Attributes | |
| static const std::string | TYPE = "Equation" |
Equation nodes
Definition at line 81 of file bipartite_nodes.hpp.
|
inline |
Definition at line 165 of file bipartite_nodes.hpp.
Referenced by CppAD::cg::DummyDerivatives< Base >::addDummyDerivatives(), CppAD::cg::BipartiteGraph< Base >::getStructuralIndex(), CppAD::cg::BipartiteGraph< Base >::printModel(), and CppAD::cg::BipartiteGraph< Base >::remove().
|
protected |
the differentiated equation used to produce this one (B in Pantelides algorithm)
Definition at line 98 of file bipartite_nodes.hpp.
|
protected |
Original equation which was differentiated
Definition at line 102 of file bipartite_nodes.hpp.
|
protected |
A name for the equation
Definition at line 110 of file bipartite_nodes.hpp.
|
protected |
Variables present in this equation which where not deleted. A vector is used instead of a set to ensure reproducibility.
Definition at line 93 of file bipartite_nodes.hpp.
|
protected |
Original variables present in this equation. A vector is used instead of a set to ensure reproducibility.
Definition at line 88 of file bipartite_nodes.hpp.