Skip to main content

Edge Struct

Directed connection from one node's output port to another node's input port. More...

Declaration​

struct simaai::neat::graph::Edge { ... }

Included Headers​

#include <GraphTypes.h>

Public Member Attributes Index​

NodeIdfrom = kInvalidNode

Source node ID. More...

PortIdfrom_port = kInvalidPort

Source port index on the from node. More...

NodeIdto = kInvalidNode

Destination node ID. More...

PortIdto_port = kInvalidPort

Destination port index on the to node. More...

Description​

Directed connection from one node's output port to another node's input port.

Definition at line 41 of file GraphTypes.h.

Public Member Attributes​

from​

NodeId simaai::neat::graph::Edge::from = kInvalidNode

Source node ID.

Definition at line 42 of file GraphTypes.h.

42 NodeId from = kInvalidNode;

from_port​

PortId simaai::neat::graph::Edge::from_port = kInvalidPort

Source port index on the from node.

Definition at line 43 of file GraphTypes.h.

43 PortId from_port = kInvalidPort;

to​

NodeId simaai::neat::graph::Edge::to = kInvalidNode

Destination node ID.

Definition at line 44 of file GraphTypes.h.

44 NodeId to = kInvalidNode;

to_port​

PortId simaai::neat::graph::Edge::to_port = kInvalidPort

Destination port index on the to node.

Definition at line 45 of file GraphTypes.h.

45 PortId to_port = kInvalidPort;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.