vg
tools for working with variation graphs
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
vg::WFAPoint Struct Reference

Public Types

using key_type = std::pair< int32_t, int32_t >
 
using value_type = std::pair< uint32_t, uint32_t >
 
using map_entry_type = std::pair< key_type, value_type >
 

Public Member Functions

int32_t target_offset () const
 
int32_t alignment_score (const Aligner &aligner) const
 
int32_t alignment_score (const Aligner &aligner, uint32_t final_insertion) const
 
MatchPos pos (const MatchPos::PathList &path) const
 
bool operator< (const WFAPoint &another) const
 
key_type key () const
 
value_type value () const
 

Static Public Member Functions

static WFAPoint from_key_value (const key_type &key, const value_type &value)
 
static WFAPoint from_map_entry (const map_entry_type &entry)
 

Public Attributes

int32_t score
 
int32_t diagonal
 
uint32_t seq_offset
 
uint32_t node_offset
 

Member Typedef Documentation

◆ key_type

using vg::WFAPoint::key_type = std::pair<int32_t, int32_t>

◆ map_entry_type

◆ value_type

using vg::WFAPoint::value_type = std::pair<uint32_t, uint32_t>

Member Function Documentation

◆ alignment_score() [1/2]

int32_t vg::WFAPoint::alignment_score ( const Aligner aligner) const
inline

◆ alignment_score() [2/2]

int32_t vg::WFAPoint::alignment_score ( const Aligner aligner,
uint32_t  final_insertion 
) const
inline

◆ from_key_value()

static WFAPoint vg::WFAPoint::from_key_value ( const key_type key,
const value_type value 
)
inlinestatic

◆ from_map_entry()

static WFAPoint vg::WFAPoint::from_map_entry ( const map_entry_type entry)
inlinestatic

◆ key()

key_type vg::WFAPoint::key ( ) const
inline

◆ operator<()

bool vg::WFAPoint::operator< ( const WFAPoint another) const
inline

◆ pos()

MatchPos vg::WFAPoint::pos ( const MatchPos::PathList path) const
inline

◆ target_offset()

int32_t vg::WFAPoint::target_offset ( ) const
inline

◆ value()

value_type vg::WFAPoint::value ( ) const
inline

Member Data Documentation

◆ diagonal

int32_t vg::WFAPoint::diagonal

◆ node_offset

uint32_t vg::WFAPoint::node_offset

◆ score

int32_t vg::WFAPoint::score

◆ seq_offset

uint32_t vg::WFAPoint::seq_offset

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