Skip to main content

GraphSession.h File

GraphSession — builds an actor-style runtime from a graph::Graph. More...

Included Headers​

#include "graph/Compiler.h" #include "graph/Graph.h" #include "graph/GraphRun.h" #include <memory> #include <utility>

Namespaces Index​

namespacesimaai
namespaceneat
namespacegraph

Classes Index​

classGraphSession

Builder for a runtime graph — compile a Graph into a runnable GraphRun. More...

Description​

GraphSession — builds an actor-style runtime from a graph::Graph.

GraphSession is to runtime Graph what pipeline::Session is to a list of Nodes: the assembly stage that turns a topology into something runnable. It compiles the graph (validation, port wiring, scheduling decisions) and produces a GraphRun that the caller drives.

See Also

Graph, GraphRun, StageExecutor

See Also

"Runtime graph" (§73 of the design deep dive)

File Listing​

The file content with the documentation metadata removed is:

1
14#pragma once
15
16#include "graph/Compiler.h"
17#include "graph/Graph.h"
18#include "graph/GraphRun.h"
19
20#include <memory>
21#include <utility>
22
23namespace simaai::neat::graph {
24
34public:
36 explicit GraphSession(Graph graph);
37
43 GraphRun build(const GraphRunOptions& opt = {});
44
45private:
46 Graph graph_;
47};
48
49} // namespace simaai::neat::graph

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.