Prepare data for RePair by consolidating the input symbols.
More...
#include <Prepair.h>
|
static void | prepare (std::vector< InType > &vec, std::unordered_map< InType, InType > &transformations) |
|
template<typename InType>
struct RePair::Prepair< InType >
Prepare data for RePair by consolidating the input symbols.
Definition at line 12 of file Prepair.h.
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
-
vec | the input vector (will be modified to contain the consolidated input) |
transformations | an (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: