vg
tools for working with variation graphs
|
#include <funnel.hpp>
Public Member Functions | |
void | paint (size_t start, size_t length) |
Mark a range as painted. More... | |
bool | is_any_painted (size_t start, size_t length) const |
Check if any position in the given range is painted. More... | |
Public Attributes | |
std::map< size_t, size_t > | regions |
Store start position and length for all painted intervals. More... | |
Represents a flag vector over positions via a sorted interval list. Allows setting flags in a range.
bool vg::Funnel::PaintableSpace::is_any_painted | ( | size_t | start, |
size_t | length | ||
) | const |
Check if any position in the given range is painted.
void vg::Funnel::PaintableSpace::paint | ( | size_t | start, |
size_t | length | ||
) |
Mark a range as painted.
std::map<size_t, size_t> vg::Funnel::PaintableSpace::regions |
Store start position and length for all painted intervals.