FST  openfst-1.7.1
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)
 

Detailed Description

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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


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