digest
Loading...
Searching...
No Matches
Public Member Functions | List of all members
digest::ds::Interface< T > Struct Template Reference

#include <data_structure.hpp>

Public Member Functions

 Interface (uint32_t)
 
virtual uint32_t min ()
 
virtual T min_hash ()
 
virtual void min_syncmer (std::vector< uint32_t > &vec)
 
virtual void min_syncmer (std::vector< std::pair< uint32_t, T > > &vec)
 

Detailed Description

template<typename T>
struct digest::ds::Interface< T >

All data_structures must follow this interface. Add the min_syncmer functions for syncmer support.

Constructor & Destructor Documentation

◆ Interface()

template<typename T >
digest::ds::Interface< T >::Interface ( uint32_t  )

constructor must accept uint32_t large_window

Member Function Documentation

◆ min()

template<typename T >
virtual uint32_t digest::ds::Interface< T >::min ( )
virtual

returns the index of the minimum hash

◆ min_hash()

template<typename T >
virtual T digest::ds::Interface< T >::min_hash ( )
virtual

returns the minimum hash

◆ min_syncmer() [1/2]

template<typename T >
virtual void digest::ds::Interface< T >::min_syncmer ( std::vector< std::pair< uint32_t, T > > &  vec)
virtual

appends (left syncmer index, right syncmer index)

◆ min_syncmer() [2/2]

template<typename T >
virtual void digest::ds::Interface< T >::min_syncmer ( std::vector< uint32_t > &  vec)
virtual

appends minimum if syncmer


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