helpers Namespace
Definition
Functions Index
| NodeId | add_pipeline (Graph &g, simaai::neat::NodeGroup group, std::string label={}) |
|
Wrap a NodeGroup in a PipelineNode and add it to the graph. More... | |
| NodeId | add_pipeline (Graph &g, std::shared_ptr< simaai::neat::Node > node, std::string label={}) |
|
Wrap a builder-Node in a PipelineNode and add it to the graph. More... | |
| GraphRun | build (Graph g, const GraphRunOptions &opt={}) |
|
Compile a Graph into a runnable GraphRun via a transient GraphSession. More... | |
| void | chain (Graph &g, const std::vector< NodeId > &nodes) |
|
Connect a sequence of nodes end-to-end (each nodes[i-1] -> nodes[i]). More... | |
| void | chain (Graph &g, std::initializer_list< NodeId > nodes) |
|
Initializer-list overload of chain for inline node sequences. More... | |
Functions
add_pipeline()
| inline |
Wrap a NodeGroup in a PipelineNode and add it to the graph.
Definition at line 19 of file GraphHelpers.h.
add_pipeline()
| inline |
Wrap a builder-Node in a PipelineNode and add it to the graph.
Definition at line 26 of file GraphHelpers.h.
build()
| inline |
Compile a Graph into a runnable GraphRun via a transient GraphSession.
Definition at line 34 of file GraphHelpers.h.
chain()
Connect a sequence of nodes end-to-end (each nodes[i-1] -> nodes[i]).
Definition at line 40 of file GraphHelpers.h.
chain()
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.