vg
tools for working with variation graphs
Public Types | Public Attributes | List of all members
vg::RebuildJob Struct Reference

#include <gbwt_helper.hpp>

Public Types

typedef std::pair< gbwt::vector_type, gbwt::vector_type > mapping_type
 Replace the first subpath with the second subpath. More...
 

Public Attributes

std::vector< mapping_typemappings
 Mappings that should be applied in this job. More...
 
size_t total_size = 0
 Total size of the graph components in nodes. More...
 

Detailed Description

A GBWT construction job in rebuild_gbwt. Each job corresponds to one or more weakly connected components in the graph. All mappings must replace subpaths in these components. When there are multiple jobs, no component may appear in more than one job and the node identifiers used in the mappings must not overlap between jobs.

Member Typedef Documentation

◆ mapping_type

typedef std::pair<gbwt::vector_type, gbwt::vector_type> vg::RebuildJob::mapping_type

Replace the first subpath with the second subpath.

Member Data Documentation

◆ mappings

std::vector<mapping_type> vg::RebuildJob::mappings

Mappings that should be applied in this job.

◆ total_size

size_t vg::RebuildJob::total_size = 0

Total size of the graph components in nodes.


The documentation for this struct was generated from the following file: