Home / Open source / Terimber 2.0
mst< T, N > Class Template Referenceminimum spanning tree
More...
#include <mst.h>
List of all members.
Detailed Description
template<class T, class N>
class mst< T, N >
minimum spanning tree
Definition at line 183 of file mst.h.
Constructor & Destructor Documentation
template<class T, class N>
constructor
- Parameters:
-
container |
container of items |
notifier |
notifier class |
all |
external data allocator |
temp |
external temporary allocator |
Definition at line 141 of file mst.hpp.
References mst< T, N >::_fr, mst< T, N >::_length, mst< T, N >::_mst, mst< T, N >::_wt, mst< T, N >::pfs(), and _vector< T, A >::resize().
Member Function Documentation
template<class T, class N>
template<class T, class N>
function actually construct MST
- Parameters:
-
s |
size |
tmp |
temporary allocator |
Definition at line 170 of file mst.hpp.
References mst< T, N >::_container, mst< T, N >::_fr, mst< T, N >::_length, mst< T, N >::_mst, mst< T, N >::_notifier, mst< T, N >::_wt, priority_queue< T >::empty(), priority_queue< T >::getmin(), priority_queue< T >::insert(), priority_queue< T >::lower(), byte_allocator::reset(), and str_template::strprint().
Referenced by mst< T, N >::mst().
Member Data Documentation
template<class T, class N>
template<class T, class N>
template<class T, class N>
template<class T, class N>
template<class T, class N>
template<class T, class N>
The documentation for this class was generated from the following files:
|
|