#include <Graph.h>
Definition at line 119 of file Graph.h.
◆ Graph() [1/3]
◆ Graph() [2/3]
Definition at line 285 of file Graph.cxx.
289 for (
size_t iii = 0; iii < nodes.size(); iii++) {
◆ Graph() [3/3]
lwtDev::Graph::Graph |
( |
Graph & |
| ) |
|
|
delete |
◆ ~Graph()
lwtDev::Graph::~Graph |
( |
| ) |
|
Definition at line 294 of file Graph.cxx.
297 node.second =
nullptr;
304 node.second =
nullptr;
308 stack.second =
nullptr;
312 stack.second =
nullptr;
◆ build_node()
Definition at line 353 of file Graph.cxx.
364 if (iii >= nodes.size()) throw_cfg(
"no node index", iii);
370 check_compute_node(
node);
371 size_t input_number =
node.sources.at(0);
375 check_compute_node(
node);
376 size_t input_number =
node.sources.at(0);
382 if (cycle_check.count(iii)) {
385 cycle_check.insert(iii);
386 for (
size_t source_node:
node.sources) {
398 std::unique_ptr<SequenceNode> seq_node(
403 m_nodes[iii] = seq_node.release();
406 std::vector<const INode*> in_nodes;
407 for (
size_t source_node:
node.sources) {
408 in_nodes.push_back(
m_nodes.at(source_node));
412 if (
node.sources.size() != 1) {
◆ compute() [1/2]
VectorXd lwtDev::Graph::compute |
( |
const ISource & |
source | ) |
const |
◆ compute() [2/2]
VectorXd lwtDev::Graph::compute |
( |
const ISource & |
source, |
|
|
size_t |
node_number |
|
) |
| const |
Definition at line 315 of file Graph.cxx.
316 if (!
m_nodes.count(node_number)) {
320 "Graph: output at " +
num +
" not feed forward");
◆ operator=()
◆ scan() [1/2]
MatrixXd lwtDev::Graph::scan |
( |
const ISource & |
source | ) |
const |
◆ scan() [2/2]
MatrixXd lwtDev::Graph::scan |
( |
const ISource & |
source, |
|
|
size_t |
node_number |
|
) |
| const |
Definition at line 332 of file Graph.cxx.
335 if (
m_nodes.count(node_number)) {
337 "Graph: output at " +
num +
" not a sequence");
◆ m_last_node
size_t lwtDev::Graph::m_last_node |
|
private |
◆ m_nodes
std::unordered_map<size_t, INode*> lwtDev::Graph::m_nodes |
|
private |
◆ m_seq_nodes
std::unordered_map<size_t, ISequenceNode*> lwtDev::Graph::m_seq_nodes |
|
private |
◆ m_seq_stacks
std::unordered_map<size_t, RecurrentStack*> lwtDev::Graph::m_seq_stacks |
|
private |
◆ m_stacks
std::unordered_map<size_t, Stack*> lwtDev::Graph::m_stacks |
|
private |
The documentation for this class was generated from the following files: