Tree Compression with Top Trees Revisited
Static Public Member Functions | List of all members
RePair::Prepair< InType > Struct Template Reference

Prepare data for RePair by consolidating the input symbols. More...

#include <Prepair.h>

Static Public Member Functions

static void prepare (std::vector< InType > &vec, std::unordered_map< InType, InType > &transformations)
 

Detailed Description

template<typename InType>
struct RePair::Prepair< InType >

Prepare data for RePair by consolidating the input symbols.

Definition at line 12 of file Prepair.h.

Member Function Documentation

template<typename InType >
static void RePair::Prepair< InType >::prepare ( std::vector< InType > &  vec,
std::unordered_map< InType, InType > &  transformations 
)
inlinestatic

Consolidate input symbols in vec

Parameters
vecthe input vector (will be modified to contain the consolidated input)
transformationsan (empty) map that will contain the mapping from old to new symbols

Definition at line 16 of file Prepair.h.


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