Skip to main content

GraphSession Class

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

Declaration

class simaai::neat::graph::GraphSession { ... }

Included Headers

#include <GraphSession.h>

Public Constructors Index

GraphSession (Graph graph)

Wrap a runtime Graph so it can be built into a GraphRun. More...

Public Member Functions Index

GraphRunbuild (const GraphRunOptions &opt={})

Compile the wrapped graph and return a runnable GraphRun. More...

Private Member Attributes Index

Graphgraph_

Description

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

Single-use: construct with the topology, then call build() once to produce the runtime. The session retains ownership of the source graph for diagnostics.

Definition at line 33 of file GraphSession.h.

Public Constructors

GraphSession()

simaai::neat::graph::GraphSession::GraphSession (Graph graph)
explicit

Wrap a runtime Graph so it can be built into a GraphRun.

Definition at line 36 of file GraphSession.h.

Public Member Functions

build()

GraphRun simaai::neat::graph::GraphSession::build (const GraphRunOptions & opt={})

Compile the wrapped graph and return a runnable GraphRun.

Parameters
opt

Runtime tuning knobs (scheduler, queues, telemetry).

Exceptions
<a href="/reference/cppapi/classes/simaai-neat-sessionerror">SessionError</a>

on compile-time validation failures (cycles, port mismatches).

Definition at line 43 of file GraphSession.h.

Private Member Attributes

graph_

Graph simaai::neat::graph::GraphSession::graph_

Definition at line 46 of file GraphSession.h.

46 Graph graph_;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.