pulsatrix
Loading...
Searching...
No Matches
pulsatrix::CircuitEdge Struct Reference

One directed edge of a CircuitGraph, carrying a scalar weight. More...

#include <circuit_graph.hpp>

Public Attributes

NodeId from
 Source node id.
 
NodeId to
 Destination node id.
 
float weight
 The edge's importance weight.
 

Detailed Description

One directed edge of a CircuitGraph, carrying a scalar weight.

Member Data Documentation

◆ from

NodeId pulsatrix::CircuitEdge::from

Source node id.

◆ to

NodeId pulsatrix::CircuitEdge::to

Destination node id.

◆ weight

float pulsatrix::CircuitEdge::weight

The edge's importance weight.

Note
As produced by ExplainerContext::build_circuit_graph(), this is the source node's own ablation_effect – a deliberate, documented simplification that is only correct because every ComputationGraph this codebase builds today is a single-parent linear chain, so "node i matters" and "the i -> i+1 connection matters" name the same causal quantity. A genuinely branching architecture would need per-edge causal mediation instead; see the mission notes in how/campaigns/campaign_exai_dl_library_mechanistic_interpretability/missions/ mission_circuit_graph.md.

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