#include <Graph.h>
Definition at line 86 of file Graph.h.
◆ SequenceNode()
Definition at line 152 of file Graph.cxx.
153 :
156 {
157 }
const RecurrentStack * m_stack
const ISequenceNode * m_source
◆ compute()
| VectorXd lwtDev::SequenceNode::compute |
( |
const ISource & | src | ) |
const |
|
overridevirtual |
Implements lwtDev::INode.
Definition at line 161 of file Graph.cxx.
161 {
163 size_t n_cols =
mat.cols();
164
165 if (n_cols == 0) {
166 return MatrixXd::Zero(
mat.rows(), 1);
167 }
168 return mat.col(n_cols - 1);
169 }
virtual MatrixXd scan(const ISource &) const override
◆ n_outputs()
| size_t lwtDev::SequenceNode::n_outputs |
( |
| ) |
const |
|
overridevirtual |
◆ scan()
| MatrixXd lwtDev::SequenceNode::scan |
( |
const ISource & | source | ) |
const |
|
overridevirtual |
◆ m_source
◆ m_stack
The documentation for this class was generated from the following files: