bio.core.utils.algo

Undocumented in source.

Members

Functions

all
bool all(R r)

check if all elements satisfy the condition

allDistinct
bool allDistinct(Range r)

This function is supposed to be used on a small amount of objects, typically tags of the same alignment. Therefore it runs in O(N^2) but doesn't require any memory allocations.

any
bool any(R r)

check if any element satisfies the condition

argmax
auto argmax(S set)
Undocumented in source. Be warned that the author may not have intended to support it.
nonOverlapping
NonOverlappingChunks!(R, begFunc, endFunc) nonOverlapping(R r)

begFunc and endFunc must take a reference to the object and return references to the field. FIXME: the design is ugly.

Structs

NonOverlappingChunks
struct NonOverlappingChunks(R, alias begFunc, alias endFunc)
Undocumented in source.

Meta