dsalglib  1.0.0
dsalglib is a ready to use data structures and algorithms library written in C++ . Object Oriented Template implementations are written.
Public Member Functions | List of all members
dsa::minheap< type > Class Template Reference

#include <heap.h>

Public Member Functions

 minheap (long long int size=0)
 
bool insert (type param)
 
type popmin ()
 
type getmin ()
 
long long int size ()
 
void traverse (void(fun)(type obj))
 
void clear ()
 

Detailed Description

template<class type>
class dsa::minheap< type >

Definition at line 110 of file heap.h.

Constructor & Destructor Documentation

template<class type >
dsa::minheap< type >::minheap ( long long int  size = 0)
inline

Definition at line 155 of file heap.h.

Member Function Documentation

template<class type >
void dsa::minheap< type >::clear ( )
inline

Definition at line 201 of file heap.h.

template<class type >
type dsa::minheap< type >::getmin ( )
inline

Definition at line 183 of file heap.h.

template<class type >
bool dsa::minheap< type >::insert ( type  param)
inline

Definition at line 161 of file heap.h.

template<class type >
type dsa::minheap< type >::popmin ( )
inline

Definition at line 169 of file heap.h.

template<class type >
long long int dsa::minheap< type >::size ( )
inline

Definition at line 189 of file heap.h.

template<class type >
void dsa::minheap< type >::traverse ( void(fun)(type obj)  )
inline

Definition at line 194 of file heap.h.


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