[][src]Trait neurarbor::SpatialArbor

pub trait SpatialArbor {
    fn prune_twigs(&mut self, threshold: Precision) -> HashSet<NodeId>;
fn prune_beyond_distance(&mut self, threshold: Precision) -> HashSet<NodeId>;
fn cable_length(&self) -> Precision; }

Required methods

fn prune_twigs(&mut self, threshold: Precision) -> HashSet<NodeId>

Prune up to the nearest branch point of all leaves <= threshold away from that branch point.

fn prune_beyond_distance(&mut self, threshold: Precision) -> HashSet<NodeId>

Prune all nodes whose distance from the root is >= threshold.

fn cable_length(&self) -> Precision

Total cable length present in the arbor.

Loading content...

Implementations on Foreign Types

impl<T: Debug + Location> SpatialArbor for Tree<T>[src]

Loading content...

Implementors

Loading content...