Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

costwidth.cpp

Go to the documentation of this file.
00001 
00034 
00035 #include "costwidth.h"
00036 #include "support.h"
00037 
00038 int 
00039 costwidth::costCalc( packnode<int> *root )
00040 {
00041   assert( root != 0 );
00042 
00043   size_t N = root->length();
00044   const int *a = root->getData();
00045 
00046   int width = support::vecWidth( a, N );
00047 
00048   return width;
00049 } // costCalc

Generated at Tue May 27 21:56:16 2003 for Wavelet compression, determinism and time series forecasting by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001