pub struct RoutingDecision {
pub active_channels: Vec<usize>,
pub firing_rates: Vec<f32>,
pub input_signals: Vec<f32>,
}Expand description
Sparse activation decision from the SNN router.
Fields§
§active_channels: Vec<usize>Indices of the channels that were activated.
firing_rates: Vec<f32>Per-channel firing rates (for diagnostics and feedback).
input_signals: Vec<f32>Raw input signals fed into the router.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingDecision
impl Clone for RoutingDecision
Source§fn clone(&self) -> RoutingDecision
fn clone(&self) -> RoutingDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoutingDecision
impl Debug for RoutingDecision
Source§impl Default for RoutingDecision
impl Default for RoutingDecision
Source§fn default() -> RoutingDecision
fn default() -> RoutingDecision
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RoutingDecision
impl RefUnwindSafe for RoutingDecision
impl Send for RoutingDecision
impl Sync for RoutingDecision
impl Unpin for RoutingDecision
impl UnsafeUnpin for RoutingDecision
impl UnwindSafe for RoutingDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more