⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdtnod_00.cc

📁 这是一个从音频信号里提取特征参量的程序
💻 CC
字号:
// file: $isip/class/pr/PhoneticDecisionTreeNode/pdtnod_00.cc// version: $Id: pdtnod_00.cc,v 1.2 2002/09/11 20:04:07 parihar Exp $//// isip include files//#include "PhoneticDecisionTreeNode.h"// method: default constructor//// arguments: none//// return: none//// this is the default constructor for the PhoneticDecisionTreeNode class//PhoneticDecisionTreeNode::PhoneticDecisionTreeNode() {  if (debug_level_d >= Integral::ALL) {     String out(L" Constructor of phonetic-decision-tree node: ");    out.concat(this);    out.concat("\n");    Console::put(out);  }      // initialize member data  //  typical_index_d = DEF_TYPICAL_INDEX;  actual_index_d = DEF_ACTUAL_INDEX;  flag_exists_d = DEF_FLAG_EXISTS;  typical_stat_model_d.setType(StatisticalModel::MIXTURE_MODEL);}// method: copy constructor//// arguments://  const PhoneticDecisionTreeNode& copy_node: (input) node to copy//// return: none//// this is the copy constructor for the PhoneticDecisionTreeNode class//PhoneticDecisionTreeNode::PhoneticDecisionTreeNode(const PhoneticDecisionTreeNode& copy_node_a) {  if (debug_level_d >= Integral::ALL) {     String out(L" Constructor of train node: ");    out.concat(this);    out.concat("\n");    Console::put(out);  }      // assign the node  //  assign(copy_node_a);}// constants: required constants such as class name//const String PhoneticDecisionTreeNode::CLASS_NAME(L"PhoneticDecisionTreeNode");// constants: i/o related constants//const String PhoneticDecisionTreeNode::DEF_PARAM(L"");const String PhoneticDecisionTreeNode::PARAM_DATAPOINTS(L"datapoints");const String PhoneticDecisionTreeNode::PARAM_BEST_ATTRIBUTE(L"best_attribute");const String PhoneticDecisionTreeNode::PARAM_TYPICAL_INDEX(L"typical_index");const String PhoneticDecisionTreeNode::PARAM_ACTUAL_INDEX(L"actual_index");const String PhoneticDecisionTreeNode::PARAM_TYPICAL_STAT_MODEL(L"typical_stat_model");const String PhoneticDecisionTreeNode::PARAM_FLAG_EXISTS(L"flag_exists");// static instantiations: memory manager and debug level//MemoryManager PhoneticDecisionTreeNode::mgr_d(sizeof(PhoneticDecisionTreeNode), name());Integral::DEBUG PhoneticDecisionTreeNode::debug_level_d = Integral::NONE;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -