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

A RePair record consisting of a hash value, a frequency, and an occurence list. More...

#include <RePair.h>

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

Public Member Functions

 Record (const uint hash=0)
 
 Record (const Record< Pair > &other)
 

Public Attributes

const uint hash
 
uint frequency
 
std::vector< Pair > occurrences
 

Friends

std::ostream & operator<< (std::ostream &os, const Record< Pair > &record)
 

Detailed Description

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

A RePair record consisting of a hash value, a frequency, and an occurence list.

Definition at line 32 of file RePair.h.

Constructor & Destructor Documentation

template<typename Pair>
SimpleRePair::Record< Pair >::Record ( const uint  hash = 0)
inline

Definition at line 33 of file RePair.h.

template<typename Pair>
SimpleRePair::Record< Pair >::Record ( const Record< Pair > &  other)
inline

Definition at line 34 of file RePair.h.

Friends And Related Function Documentation

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

Definition at line 39 of file RePair.h.

Member Data Documentation

template<typename Pair>
uint SimpleRePair::Record< Pair >::frequency

Definition at line 36 of file RePair.h.

template<typename Pair>
const uint SimpleRePair::Record< Pair >::hash

Definition at line 35 of file RePair.h.

template<typename Pair>
std::vector<Pair> SimpleRePair::Record< Pair >::occurrences

Definition at line 37 of file RePair.h.


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