FST  openfst-1.8.3
OpenFst Library
Public Member Functions | List of all members
fst::UnionFind< T > Class Template Reference

#include <union-find.h>

Public Member Functions

 UnionFind (T max, T fail)
 
FindSet (T item)
 
void Union (T x, T y)
 
MakeSet (T item)
 
void MakeAllSet (T max)
 
const T & Parent (const T &x) const
 

Detailed Description

template<class T>
class fst::UnionFind< T >

Definition at line 30 of file union-find.h.

Constructor & Destructor Documentation

template<class T>
fst::UnionFind< T >::UnionFind ( max,
fail 
)
inline

Definition at line 35 of file union-find.h.

Member Function Documentation

template<class T>
T fst::UnionFind< T >::FindSet ( item)
inline

Definition at line 39 of file union-find.h.

template<class T>
void fst::UnionFind< T >::MakeAllSet ( max)
inline

Definition at line 72 of file union-find.h.

template<class T>
T fst::UnionFind< T >::MakeSet ( item)
inline

Definition at line 60 of file union-find.h.

template<class T>
const T& fst::UnionFind< T >::Parent ( const T &  x) const
inline

Definition at line 78 of file union-find.h.

template<class T>
void fst::UnionFind< T >::Union ( x,
y 
)
inline

Definition at line 56 of file union-find.h.


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