utility.h File Reference

Some utility functions. More...

#include <vector>

Include dependency graph for utility.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class N>
bool gray_next (std::vector< N > &v, typename std::vector< N >::size_type &p)
 Gray code: start from all 0's, and iteratively go through all numbers.
template<class N>
bool gray_next (std::vector< N > &v)


Detailed Description

Some utility functions.

Id
utility.h 2529 2005-12-27 08:33:18Z ling

Definition in file utility.h.


Function Documentation

bool gray_next std::vector< N > &  v  ) 
 

Definition at line 40 of file utility.h.

References gray_next().

bool gray_next std::vector< N > &  v,
typename std::vector< N >::size_type &  p
 

Gray code: start from all 0's, and iteratively go through all numbers.

Definition at line 15 of file utility.h.

Referenced by gray_next(), and AdaBoost_ECOC::max_cut().


Generated on Mon Jan 9 23:44:15 2006 for LEMGA by  doxygen 1.4.6