#include <graph_caller.hpp>
GraphCaller: Use the snarl decomposition to call snarls in a graph
◆ RecurseType
Enumerator |
---|
RecurseOnFail | |
RecurseAlways | |
RecurseNever | |
◆ GraphCaller()
◆ ~GraphCaller()
vg::GraphCaller::~GraphCaller |
( |
| ) |
|
|
virtual |
◆ break_chain()
vector< Chain > vg::GraphCaller::break_chain |
( |
const HandleGraph & |
graph, |
|
|
const Chain & |
chain, |
|
|
size_t |
max_edges, |
|
|
size_t |
max_trivial |
|
) |
| |
|
protected |
Break up a chain into bits that we want to call using size heuristics.
◆ call_snarl()
virtual bool vg::GraphCaller::call_snarl |
( |
const Snarl & |
snarl | ) |
|
|
pure virtual |
◆ call_top_level_chains()
For every chain, cut it up into pieces using max_edges and max_trivial to cap the size of each piece then make a fake snarl for each chain piece and call it. If a fake snarl fails to call, It's child chains will be recursed on (if selected)_
◆ call_top_level_snarls()
Run call_snarl() on every top-level snarl in the manager. For any that return false, try the children, etc. (when recurse_on_fail true) Snarls are processed in parallel
◆ set_show_progress()
void vg::GraphCaller::set_show_progress |
( |
bool |
show_progress | ) |
|
◆ show_progress
bool vg::GraphCaller::show_progress |
|
protected |
Toggle progress messages.
◆ snarl_caller
◆ snarl_manager
The documentation for this class was generated from the following files: