Compiler.h File
Hybrid graph compiler: partitions pipeline segments and propagates OutputSpec. More...
Included Headers
#include "builder/NodeGroup.h"
#include "builder/OutputSpec.h"
#include "graph/Graph.h"
#include "graph/nodes/StageNode.h"
#include <cstddef>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | graph |
Classes Index
| struct | EdgeSpec |
| struct | CompiledPipelineSegment |
| struct | CompiledStageNode |
| struct | CompiledGraph |
| class | Compiler |
Description
Hybrid graph compiler: partitions pipeline segments and propagates OutputSpec.
File Listing
The file content with the documentation metadata removed is:
10#include "graph/Graph.h"
11#include "graph/nodes/StageNode.h"
19namespace simaai::neat::graph {
26struct CompiledPipelineSegment {
27 int id = -1;
30 std::vector<std::size_t> input_edges;
31 std::vector<std::size_t> output_edges;
32 bool source_like = false;
33 OutputSpec input_spec;
34 bool input_complete = false;
35 OutputSpec output_spec;
36 bool output_complete = false;
39struct CompiledStageNode {
44struct CompiledGraph {
48 std::vector<EdgeSpec> edge_specs;
49 std::vector<std::string> port_names;
54 CompiledGraph compile(const Graph& g) const;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.