Skip to main content

detector_control_nodes

Function detector_control_nodes 

Source
pub fn detector_control_nodes(graph: &CircuitGraph) -> Vec<usize>
Expand description

The nodes of every PortClass::ControlInput electrode that is fed from the output side (a BoundaryPolicy::DelayedSense sense sink) AND whose circuit contains a cross-network coupler — i.e. a true DELAYED feedback detector’s control electrode (LA-2A’s V4.grid).

Derivation: a control electrode whose node lands in passive_closure_from(out) is driven from the output (the back-edge oracle, reused verbatim). Gated on a EdgeKind::Behavioral-coupling component being present so it never fires on op-amp/tube/passive feedback. Returns an empty vec for forward-only / passive / resistive-feedback circuits.