Bio-RNA-Barriers
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Bio/RNA/Barriers/Results.pm view on Meta::CPAN
return @connected_indices;
}
# Given an ordered list of indices of all connected minima (as returned by
# RateMatrix::keep_connected()), delete all other minima and update their
# ancesters' basin size information accordingly.
# Arguments:
# ordered_connected_indices: ordered list of indices of (all???)
# connected minima.
sub update_connected {
my ($self, @ordered_connected_indices) = @_;
# Go through all mins and check whether they're next in the connected
# (==kept) index list. If not, add to removal list.
my @connected_mins = $self->get_mins(@ordered_connected_indices);
my @removed_indices;
for my $min_index (1..$self->min_count) {
unless (@ordered_connected_indices) {
# No exclusions left, add rest and stop
push @removed_indices, $min_index..$self->min_count;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 2.925 seconds using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )