tudocomp
– The TU Dortmund Compression Framework
tdc::esp::GrammarRules< ipd_t > Class Template Reference

#include <GrammarRules.hpp>

Public Types

using Stats = IPDStats
 

Public Member Functions

 GrammarRules (size_t counter_start)
 
size_t add (in_t v)
 
size_t rules_count () const
 
size_t initial_counter () const
 
template<typename F >
void for_all (F f) const
 
void clear ()
 
const Statsstats ()
 

Detailed Description

template<typename ipd_t>
class tdc::esp::GrammarRules< ipd_t >

Definition at line 17 of file GrammarRules.hpp.

Member Typedef Documentation

◆ Stats

template<typename ipd_t>
using tdc::esp::GrammarRules< ipd_t >::Stats = IPDStats

Definition at line 19 of file GrammarRules.hpp.

Constructor & Destructor Documentation

◆ GrammarRules()

template<typename ipd_t>
tdc::esp::GrammarRules< ipd_t >::GrammarRules ( size_t  counter_start)
inline

Definition at line 35 of file GrammarRules.hpp.

Member Function Documentation

◆ add()

template<typename ipd_t>
size_t tdc::esp::GrammarRules< ipd_t >::add ( in_t  v)
inline

Definition at line 40 of file GrammarRules.hpp.

◆ clear()

template<typename ipd_t>
void tdc::esp::GrammarRules< ipd_t >::clear ( )
inline

Definition at line 95 of file GrammarRules.hpp.

◆ for_all()

template<typename ipd_t>
template<typename F >
void tdc::esp::GrammarRules< ipd_t >::for_all ( f) const
inline

Definition at line 91 of file GrammarRules.hpp.

◆ initial_counter()

template<typename ipd_t>
size_t tdc::esp::GrammarRules< ipd_t >::initial_counter ( ) const
inline

Definition at line 86 of file GrammarRules.hpp.

◆ rules_count()

template<typename ipd_t>
size_t tdc::esp::GrammarRules< ipd_t >::rules_count ( ) const
inline

Definition at line 82 of file GrammarRules.hpp.

◆ stats()

template<typename ipd_t>
const Stats& tdc::esp::GrammarRules< ipd_t >::stats ( )
inline

Definition at line 99 of file GrammarRules.hpp.


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