Tree Compression with Top Trees Revisited
Public Member Functions | Public Attributes | Friends | List of all members
SimpleRePair::HashMap< Pair > Struct Template Reference

Specialised hash map for RePair. More...

#include <RePair.h>

Collaboration diagram for SimpleRePair::HashMap< Pair >:
Collaboration graph
[legend]

Public Member Functions

 HashMap (Records< Pair > &records)
 
void add (uint hash, const Pair &pair)
 
void populatePQ (PriorityQueue< Pair > &queue)
 

Public Attributes

std::unordered_map< uint, uint > recordMap
 
Records< Pair > & records
 

Friends

std::ostream & operator<< (std::ostream &os, const HashMap< Pair > &hashMap)
 

Detailed Description

template<typename Pair>
struct SimpleRePair::HashMap< Pair >

Specialised hash map for RePair.

Definition at line 185 of file RePair.h.

Constructor & Destructor Documentation

template<typename Pair>
SimpleRePair::HashMap< Pair >::HashMap ( Records< Pair > &  records)
inline

Definition at line 186 of file RePair.h.

Member Function Documentation

template<typename Pair>
void SimpleRePair::HashMap< Pair >::add ( uint  hash,
const Pair &  pair 
)
inline

Definition at line 188 of file RePair.h.

template<typename Pair>
void SimpleRePair::HashMap< Pair >::populatePQ ( PriorityQueue< Pair > &  queue)
inline

Definition at line 198 of file RePair.h.

Friends And Related Function Documentation

template<typename Pair>
std::ostream& operator<< ( std::ostream &  os,
const HashMap< Pair > &  hashMap 
)
friend

Definition at line 206 of file RePair.h.

Member Data Documentation

template<typename Pair>
std::unordered_map<uint, uint> SimpleRePair::HashMap< Pair >::recordMap

Definition at line 219 of file RePair.h.

template<typename Pair>
Records<Pair>& SimpleRePair::HashMap< Pair >::records

Definition at line 220 of file RePair.h.


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