pdt_01.cc

来自「这是一个从音频信号里提取特征参量的程序」· CC 代码 · 共 72 行

CC
72
字号
// file: $isip/class/pr/PhoneticDecisionTree/pdt_01.cc// version: $Id: pdt_01.cc,v 1.1 2002/09/05 20:52:03 parihar Exp $//// isip include files//#include "PhoneticDecisionTree.h"#include <Console.h>// method: debug//// arguments://  const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean PhoneticDecisionTree::debug(const unichar* msg_a) const {  // declare local variables  //  String output;  // output an information message  //  output.debugStr(name(), msg_a, L":");  Console::put(output);  Console::increaseIndention();  // display the algorithm choice  //  output.debugStr(name(), msg_a, L"algorithm_d",		  ALGO_MAP((long)algorithm_d));  Console::put(output);  // display the implementation name  //  output.debugStr(name(), msg_a, L"implementation_d",                  IMPL_MAP.getName((long)implementation_d));  Console::put(output);  // display the thresholds  //  String value;  value.assign(split_threshold_d);  output.debugStr(name(), msg_a, L"split_threshold_d", value);  Console::put(output);  value.assign(merge_threshold_d);  output.debugStr(name(), msg_a, L"merge_threshold_d", value);  Console::put(output);  value.assign(num_occ_threshold_d);  output.debugStr(name(), msg_a, L"num_occ_threshold_d", value);  Console::put(output);  // print the data  //  pdt_rootnode_d.debug(L"pdt_rootnode_d");      // display the base class  //  DecisionTreeBase<PhoneticDecisionTreeNode>::debug(L"DecisionTreeBase");  // decrease indention  //  Console::decreaseIndention();  // exit gracefully  //  return true;}

⌨️ 快捷键说明

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