vg
tools for working with variation graphs
Public Member Functions | List of all members
handlegraph::VectorizableHandleGraph Class Referenceabstract

#include <handle_graph.hpp>

Public Member Functions

virtual ~VectorizableHandleGraph ()=default
 
virtual size_t node_vector_offset (const nid_t &node_id) const =0
 
virtual nid_t node_at_vector_offset (const size_t &offset) const =0
 Return the node overlapping the given offset in the implicit node vector. More...
 
virtual size_t edge_index (const edge_t &edge) const =0
 Return a unique index among edges in the graph. More...
 

Constructor & Destructor Documentation

◆ ~VectorizableHandleGraph()

virtual handlegraph::VectorizableHandleGraph::~VectorizableHandleGraph ( )
virtualdefault

Member Function Documentation

◆ edge_index()

virtual size_t handlegraph::VectorizableHandleGraph::edge_index ( const edge_t edge) const
pure virtual

Return a unique index among edges in the graph.

◆ node_at_vector_offset()

virtual nid_t handlegraph::VectorizableHandleGraph::node_at_vector_offset ( const size_t &  offset) const
pure virtual

Return the node overlapping the given offset in the implicit node vector.

◆ node_vector_offset()

virtual size_t handlegraph::VectorizableHandleGraph::node_vector_offset ( const nid_t node_id) const
pure virtual

Return the start position of the node in a (possibly implict) sorted array constructed from the concatenation of the node sequences


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