Declaration
struct simaai::neat::graph::StagePorts { ... }
Public Member Functions Index
Public Member Attributes Index
| std::unordered_map< std::string, PortId > | in |
|
|
|
| std::unordered_map< std::string, PortId > | out |
|
|
|
Definition at line 28 of file StageExecutor.h.
Public Member Functions
in_port()
| PortId simaai::neat::graph::StagePorts::in_port (const std::string & name) |
|
inline
|
Definition at line 32 of file StageExecutor.h.
33 auto it = in.find(name);
34 return it == in.end() ? kInvalidPort : it->second;
35 }
only_input()
| PortId simaai::neat::graph::StagePorts::only_input () |
|
inline
|
Definition at line 42 of file StageExecutor.h.
43 return in.size() == 1 ? in.begin()->second : kInvalidPort;
44 }
only_output()
| PortId simaai::neat::graph::StagePorts::only_output () |
|
inline
|
Definition at line 46 of file StageExecutor.h.
47 return out.size() == 1 ? out.begin()->second : kInvalidPort;
48 }
out_port()
| PortId simaai::neat::graph::StagePorts::out_port (const std::string & name) |
|
inline
|
Definition at line 37 of file StageExecutor.h.
38 auto it = out.find(name);
39 return it == out.end() ? kInvalidPort : it->second;
40 }
Public Member Attributes
| std::unordered_map<std::string, PortId> simaai::neat::graph::StagePorts::in |
|
out
| std::unordered_map<std::string, PortId> simaai::neat::graph::StagePorts::out |
|
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.