vg
tools for working with variation graphs
Classes | Functions
std Namespace Reference

Hash functor to hash NodeSides using std::hash. More...

Classes

struct  hash< const vg::Snarl >
 hash function for Snarls More...
 
struct  hash< handlegraph::edge_t >
 
struct  hash< handlegraph::handle_t >
 
struct  hash< handlegraph::net_handle_t >
 
struct  hash< handlegraph::path_handle_t >
 
struct  hash< handlegraph::step_handle_t >
 
struct  hash< pair< A, B > >
 
struct  hash< std::tuple< TT... > >
 
struct  hash< vg::NodeSide >
 
struct  hash< vg::NodeTraversal >
 hash function for NodeTraversals More...
 
struct  iterator_traits< vg::PhasedGenome::iterator >
 

Functions

std::string to_string (const vg::WFAAlignment::Edit &edit)
 Convert a WFAAlignment Edit operation to a string. More...
 
string to_string (const vg::pos_t &pos)
 
vg::algorithms::TracedScore max (const vg::algorithms::TracedScore &a, const vg::algorithms::TracedScore &b)
 Allow maxing TracedScore. More...
 
size_t combine_hashes (const size_t &hsh1, const size_t hsh2)
 

Detailed Description

Hash functor to hash NodeSides using std::hash.

Function Documentation

◆ combine_hashes()

size_t std::combine_hashes ( const size_t &  hsh1,
const size_t  hsh2 
)
inline

◆ max()

Allow maxing TracedScore.

◆ to_string() [1/2]

string std::to_string ( const vg::pos_t pos)
inline

◆ to_string() [2/2]

std::string std::to_string ( const vg::WFAAlignment::Edit edit)

Convert a WFAAlignment Edit operation to a string.