pub trait InitialStateTreeExt {
// Required method
fn initial_state_tree(
&self,
initial_state: &SuBitGraph,
loop_independent: impl FnMut(EdgeIndex) -> bool,
) -> (SuBitGraph, Vec<EdgeIndex>);
}Expand description
Shared topology cleanup for threshold partitions after initial-state sewing.
Required Methods§
Sourcefn initial_state_tree(
&self,
initial_state: &SuBitGraph,
loop_independent: impl FnMut(EdgeIndex) -> bool,
) -> (SuBitGraph, Vec<EdgeIndex>)
fn initial_state_tree( &self, initial_state: &SuBitGraph, loop_independent: impl FnMut(EdgeIndex) -> bool, ) -> (SuBitGraph, Vec<EdgeIndex>)
Select the vertex crowns adjacent to loop-independent paired edges. Threshold sides are normalized during FeynKit finalization; runtime threshold queries reuse the same selection without changing those sides.
Prefer the edge’s source crown when it touches the initial cut; otherwise use its sink crown if that touches the cut. Internal bridges are retained.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".