vg
tools for working with variation graphs
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vg::MEMAccelerator Class Reference

#include <mem_accelerator.hpp>

Public Member Functions

 MEMAccelerator ()=default
 
 MEMAccelerator (const gcsa::GCSA &gcsa_index, size_t k)
 
int64_t length () const
 
gcsa::range_type memoized_LF (string::const_iterator last) const
 

Private Member Functions

int64_t encode (char c) const
 

Private Attributes

const int64_t k = 1
 
sdsl::int_vector range_table
 

Constructor & Destructor Documentation

◆ MEMAccelerator() [1/2]

vg::MEMAccelerator::MEMAccelerator ( )
default

◆ MEMAccelerator() [2/2]

vg::MEMAccelerator::MEMAccelerator ( const gcsa::GCSA &  gcsa_index,
size_t  k 
)

Member Function Documentation

◆ encode()

int64_t vg::MEMAccelerator::encode ( char  c) const
inlineprivate

◆ length()

int64_t vg::MEMAccelerator::length ( ) const
inline

◆ memoized_LF()

gcsa::range_type vg::MEMAccelerator::memoized_LF ( string::const_iterator  last) const

Member Data Documentation

◆ k

const int64_t vg::MEMAccelerator::k = 1
private

◆ range_table

sdsl::int_vector vg::MEMAccelerator::range_table
private

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