00001 00002 #ifndef _COSTWIDTH_H_ 00003 #define _COSTWIDTH_H_ 00004 00037 00038 00039 #include "costbase_int.h" 00040 00048 class costwidth : public costbase_int 00049 { 00050 protected: 00051 int costCalc( packnode<int> *root ); 00052 public: 00053 costwidth( packnode<int> *root ) { traverse( root ); } 00054 }; 00055 00056 #endif