亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? instance.h

?? 這是一個從音頻信號里提取特征參量的程序
?? H
字號:
// file: $isip/class/search/Instance/Instance.h// version: $Id: Instance.h,v 1.13 2003/02/15 17:08:30 alphonso Exp $//// make sure definitions are only made once//#ifndef ISIP_INSTANCE#define ISIP_INSTANCE// isip include files//#ifndef ISIP_STRING#include <String.h>#endif#ifndef ISIP_MEMORY_MANAGER#include <MemoryManager.h>#endif#ifndef ISIP_SINGLE_LINKED_LIST#include <SingleLinkedList.h>#endif#ifndef ISIP_BI_GRAPH#include <BiGraph.h>#endif#ifndef ISIP_HASH_KEY#include <HashKey.h>#endif#ifndef ISIP_HISTORY#include <History.h>#endif#ifndef ISIP_TRAIN_NODE#include <TrainNode.h>#endif// forward class definitions//class Context;class History;class TrainNode;// Instance: the fundamental place holder in a recognition system which keeps// track of the paths in the search space as well as the hypothesis scores//class Instance {  //---------------------------------------------------------------------------  //  // public constants  //  //---------------------------------------------------------------------------public:  // define the class name  //  static const String CLASS_NAME;  // define the instance mode options  //  enum INSTANCE_MODE { DECODE = 0, TRAIN, DEF_INSTANCE_MODE = DECODE };  // define the instance internal states  //  enum INSTANCE_STATE { INACTIVE = 0, PSEUDO_ACTIVE, ACTIVE,			DEF_INSTANCE_STATE = INACTIVE };      //----------------------------------------  //  // i/o related constants  //  //----------------------------------------    //----------------------------------------  //  // other important constants  //  //----------------------------------------    // define the inactive likelihood score  //      static const float INACTIVE_SCORE = -11111111111111.0f;    //----------------------------------------  //  // default values and arguments  //  //----------------------------------------    // define the default value(s) of the class data  //  static const float DEF_SCORE = 0.0;  static const ulong DEF_FRAME = 0;  static const ulong DEF_COUNT = 0;    static const ulong DEF_SKIP_LEVEL = 0;  static const ulong DEF_NSYMBOL_LENGTH = 0;      // define default arguments to methods  //  static const ulong DEF_REF_INCR = 1;  static const ulong DEF_REF_DECR = 1;    //---------------------------------------  //  // error codes  //  //---------------------------------------  //---------------------------------------------------------------------------  //  // protected data  //  //---------------------------------------------------------------------------protected:    // define a enum that determines the instance mode  //  INSTANCE_MODE instance_mode_d;  // define a enum that determines the instance internal state  //  INSTANCE_STATE instance_state_d;    // define a structure to maintain the previous n-symbols  //  Context* nsymbol_d;    // define a back pointer to the previous trace(s)  //  Instance* back_ptr_d;    // define variables to maintain the skip contexts  //  ulong skip_symbol_d;  ulong skip_level_d;      // define a structure to maintain the current location in the search space  //  History* history_d;  // define the current symbol and context at the current location  //  Context* symbol_d;  // define the history of previously generated context dependent symbols  //  History* symbol_stack_d;  // define the likelihood score for the path in the search space that this  // instance represents  //  float score_d;  // define the time stamp (frame) associaed with this instance  //  ulong frame_d;    // define a reference count that says when this instance can be deleted  //  ulong reference_count_d;  // define a reference pointer to a search node used during training  //  BiGraphVertex<TrainNode>* reference_vertex_d;  // define the static nsymbol length  //  static Ulong nsymbol_length_d;    // define a static debug level  //  static Integral::DEBUG debug_level_d;  // memory manager  //  static MemoryManager mgr_d;    //---------------------------------------------------------------------------  //  // required public methods  //  //---------------------------------------------------------------------------public:  // method: name  //  static const String& name() {    return CLASS_NAME;  }  // other static methods  //  static boolean diagnose(Integral::DEBUG debug_level);  // debug methods:  //  boolean debug(const unichar* message) const;  // method: setDebug  //  static boolean setDebug(Integral::DEBUG debug_level) {    debug_level_d = debug_level;    return true;  }    // destructor/constructor(s)  //  ~Instance();  // method: default constructor  //  Instance(float arg = DEF_SCORE) {    if (debug_level_d >= Integral::ALL) {       fprintf(stdout, "Constructor of instance: %p\n", this);      fflush(stdout);    }    nsymbol_d = (Context*)NULL;    back_ptr_d = (Instance*)NULL;    frame_d = DEF_FRAME;    skip_level_d = DEF_SKIP_LEVEL;    reference_count_d = DEF_COUNT;    instance_mode_d = DEF_INSTANCE_MODE;    instance_state_d = DEF_INSTANCE_STATE;    history_d = (History*)NULL;    symbol_d = (Context*)NULL;    symbol_stack_d = (History*)NULL;    reference_vertex_d = (BiGraphVertex<TrainNode>*)NULL;        setScore(arg);  }  // method: copy constructor  //  Instance(const Instance& arg) {    if (debug_level_d >= Integral::ALL) {       fprintf(stdout, "Constructor of instance: %p\n", this);      fflush(stdout);    }        nsymbol_d = (Context*)NULL;        back_ptr_d = (Instance*)NULL;        frame_d = DEF_FRAME;    skip_level_d = DEF_SKIP_LEVEL;        reference_count_d = DEF_COUNT;    instance_mode_d = DEF_INSTANCE_MODE;    instance_state_d = DEF_INSTANCE_STATE;        score_d = DEF_SCORE;    history_d = (History*)NULL;    symbol_d = (Context*)NULL;    symbol_stack_d = (History*)NULL;    reference_vertex_d = (BiGraphVertex<TrainNode>*)NULL;        assign(arg);  }    // assign methods  //  boolean assign(const Instance& arg);  // method: sofSize  //  long sofSize() const {    return Error::handle(name(), L"sofSize", Error::ARG, __FILE__, __LINE__);  }    // method: read  //  boolean read(Sof& sof, long tag, const String& cname = CLASS_NAME) {    return Error::handle(name(), L"read", Error::ARG, __FILE__, __LINE__);  }  // method: write  //  boolean write(Sof& sof, long tag, const String& cname = CLASS_NAME) const {    return Error::handle(name(), L"write", Error::ARG, __FILE__, __LINE__);  }  // method: readData  //  boolean readData(Sof& sof, const String& pname = String::EMPTY,		   long size = SofParser::FULL_OBJECT,		   boolean param = true,                   boolean nested = false) {    return Error::handle(name(), L"readData", Error::ARG, __FILE__, __LINE__);  }  // method: writeData  //  boolean writeData(Sof& sof, const String& pname = String::EMPTY) const {    return Error::handle(name(), L"writeData", Error::ARG, __FILE__, __LINE__);  }  // eq methods  //  boolean eq(const Instance& arg) const;  // method: lt  //  boolean lt(Instance& instance_a) const {    return (score_d < instance_a.score_d);  }  // method: gt  //  boolean gt(Instance& instance_a) const {    return (score_d > instance_a.score_d);  }      // method: match  //  boolean match(const Instance& instance_a) const {    if ((symbol_d != instance_a.symbol_d) ||	(history_d != instance_a.history_d) ||	(symbol_stack_d != instance_a.symbol_stack_d)) {      return false;    }    return true;  }    // method: new  //  static void* operator new(size_t size) {    return mgr_d.get();  }  // method: new[]  //  static void* operator new[](size_t size) {    return mgr_d.getBlock(size);  }  // method: delete  //  static void operator delete(void* ptr) {    mgr_d.release(ptr);  }  // method: delete[]  //  static void operator delete[](void* ptr) {    mgr_d.releaseBlock(ptr);  }  // method: setGrowSize  //  static boolean setGrowSize(long grow_size) {    return mgr_d.setGrow(grow_size);  }  // clear methods  //  boolean clear(Integral::CMODE cmode = Integral::DEF_CMODE);  //---------------------------------------------------------------------------  //  // class-specific public methods  //  //---------------------------------------------------------------------------  // method: setInstanceMode  //  boolean setInstanceMode(INSTANCE_MODE arg) {    instance_mode_d = arg;    return true;  }  // method: getInstanceMode  //  INSTANCE_MODE getInstanceMode() {    return instance_mode_d;  }  // method: setInstanceState  //  boolean setInstanceState(INSTANCE_STATE arg) {    instance_state_d = arg;    return true;  }  // method: getInstanceState  //  INSTANCE_STATE getInstanceState() {    return instance_state_d;  }    // method: setScore  //  boolean setScore(float score) {    score_d = score;    return true;  }  // method: getScore  //  float getScore() const {    return score_d;  }    // method: getNSymbol  //  Context*& getNSymbol() {    return (Context*&)nsymbol_d;  }  // method: setNSymbol  //  boolean setNSymbol(Context*& arg) {    return (nsymbol_d = arg);  }    // method: setSkipSymbol  //  boolean setSkipSymbol(ulong symbol) {    skip_symbol_d = symbol;    return true;  }    // method: getSkipSymbol  //  ulong getSkipSymbol() {    return skip_symbol_d;  }      // method: setSkipLevel  //  boolean setSkipLevel(ulong level) {    skip_level_d = level;    return true;  }    // method: getSkipLevel  //  ulong getSkipLevel() {    return skip_level_d;  }      // history methods  //  boolean setHistory(const History* arg);  History* getHistory() const;  // symbol methods  //  boolean setSymbol(const Context* arg);  Context* getSymbol() const;  // context dependent symbol stack methods  //    boolean setSymbolStack(const History* arg);  History* getSymbolStack() const;    // method to set the instance back pointer  //  boolean setBackPointer(Instance* back_ptr);  // method: getBackPointer  //  Instance* getBackPointer() const {    return back_ptr_d;      }    // method: hasNextLevelContext  //  boolean hasNextLevelContext() {    if (symbol_stack_d != (History*)NULL) {      return !symbol_stack_d->isEmpty();    }    return false;  }    // history manipulation methods  //  boolean printHistory(History* history);    // reference counting methods  //  ulong decrementRefCount(ulong decrement = DEF_REF_DECR);    // method: incrementRefCount  //  ulong incrementRefCount(ulong increment = DEF_REF_INCR) {    return (reference_count_d += increment);  }  // method: getReference  //  BiGraphVertex<TrainNode>* getReference() const {    return reference_vertex_d;  }  // method: setReference  //  boolean setReference(BiGraphVertex<TrainNode>* vertex) {    reference_vertex_d = vertex;    return true;  }      // method: setRefCount  //  boolean setRefCount(ulong count) {    reference_count_d = count;    return true;  }    // method: getRefCount  //  ulong getRefCount() const {    return reference_count_d;  }  // method: setFrame  //  boolean setFrame(ulong frame) {    frame_d = frame;    return true;  }  // method: getFrame  //  ulong getFrame() const {    return frame_d;  }  // instance activity methods  //  boolean setActive(boolean is_active);  // method: isActive  //  boolean isActive() const {    return (score_d != INACTIVE_SCORE);  }  // method: getNSymbolLength  //  static ulong getNSymbolLength() {    return nsymbol_length_d;  }    // method: setNSymbolLength  //  static boolean setNSymbolLength(ulong arg) {    return (nsymbol_length_d = arg);  }    // instance deletion methods  //  static boolean deleteInstance(Instance* in_instance, boolean is_recursive,	      boolean clean_search_node = false);  //---------------------------------------------------------------------------  //  // private methods  //  //---------------------------------------------------------------------------private:};// include the train node class here circumvent the circular dependency//#ifndef ISIP_CONTEXT#include <Context.h>#endif// end of include file//#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丁香天五香天堂综合| 欧美日产国产精品| 日本高清不卡一区| 日韩精品在线看片z| 国产精品美日韩| 免费欧美在线视频| 色婷婷亚洲一区二区三区| 亚洲精品一区二区三区四区高清| 亚洲一区二区三区在线播放| 美女尤物国产一区| 日本韩国一区二区| 国产精品久久午夜| 国产精品一级黄| 日韩一区二区三区视频在线| 亚洲精品乱码久久久久久久久 | 日韩av一区二| 色欧美片视频在线观看在线视频| 亚洲精品一区二区三区在线观看 | 天天亚洲美女在线视频| av亚洲精华国产精华精华| 精品免费99久久| 日韩国产精品91| 欧美久久久久久久久中文字幕| 国产精品初高中害羞小美女文 | 亚洲午夜日本在线观看| av高清不卡在线| 欧美国产日本韩| 国产一区二区三区日韩| 日韩女优av电影在线观看| 日一区二区三区| 欧美日韩卡一卡二| 亚洲一二三区视频在线观看| 色网站国产精品| 综合av第一页| 色狠狠色噜噜噜综合网| 亚洲天天做日日做天天谢日日欢 | 精品一区二区免费在线观看| 欧美一级片在线| 日韩成人免费看| 91精品国产乱| 九色综合国产一区二区三区| 欧美成人aa大片| 国产在线一区二区| 日本一二三四高清不卡| 成人性色生活片| 国产精品久久久久久亚洲伦| 99国产一区二区三精品乱码| 亚洲另类色综合网站| 欧美偷拍一区二区| 丝袜亚洲精品中文字幕一区| 欧美电视剧在线观看完整版| 成人高清免费在线播放| 国产精品久久免费看| 色婷婷狠狠综合| 首页欧美精品中文字幕| 欧美va亚洲va| 成人av电影在线播放| 亚洲欧美日本韩国| 91精品国产欧美日韩| 国产一区二区三区精品欧美日韩一区二区三区| 久久综合精品国产一区二区三区| 国产91色综合久久免费分享| 亚洲女与黑人做爰| 91精品视频网| 成人小视频在线| 亚洲一区二区精品3399| 精品动漫一区二区三区在线观看| 不卡av在线网| 日韩二区在线观看| 国产精品五月天| 欧美日韩专区在线| 国产精品12区| 亚洲第一久久影院| 欧美国产在线观看| 8x8x8国产精品| 成人精品视频一区| 日韩成人精品视频| 亚洲丝袜美腿综合| 亚洲精品一线二线三线| 色国产综合视频| 国产a久久麻豆| 天堂久久一区二区三区| 日韩一区在线看| 日韩女优视频免费观看| 色欧美88888久久久久久影院| 免费成人美女在线观看| 亚洲柠檬福利资源导航| 久久综合色8888| 欧美裸体bbwbbwbbw| www.av精品| 国产一区二区不卡在线| 亚洲成人7777| 亚洲视频中文字幕| 国产片一区二区| 日韩女同互慰一区二区| 欧美色男人天堂| 本田岬高潮一区二区三区| 久久99国产精品免费网站| 亚洲一区二区三区小说| 国产精品久久久久一区二区三区共| 欧美一区二区三级| 欧美在线观看视频一区二区| 成人视屏免费看| 国产剧情在线观看一区二区| 日韩经典一区二区| 亚洲成av人影院| 一级特黄大欧美久久久| 亚洲日本在线天堂| 日韩美女精品在线| 一色屋精品亚洲香蕉网站| 久久蜜桃av一区二区天堂| 日韩亚洲欧美一区二区三区| 欧美区一区二区三区| 欧美日韩一区在线观看| 在线这里只有精品| 99re在线视频这里只有精品| av资源站一区| 一本大道久久a久久精二百| 91浏览器在线视频| 99久久99久久精品免费看蜜桃| 成人妖精视频yjsp地址| 国产a久久麻豆| av电影在线观看一区| 91年精品国产| 欧美午夜精品理论片a级按摩| 欧美亚日韩国产aⅴ精品中极品| 色噜噜狠狠成人中文综合| 日本乱人伦一区| 精品污污网站免费看| 91麻豆精品国产91久久久| 欧美一区二区日韩| 欧美xxxx老人做受| 国产亚洲欧美激情| 国产精品久久免费看| 亚洲一二三四久久| 日韩av电影免费观看高清完整版在线观看| 五月天亚洲精品| 九九久久精品视频| 成人免费视频国产在线观看| 99久久伊人久久99| 欧美老肥妇做.爰bbww视频| 欧美丰满一区二区免费视频 | 视频在线观看91| 精品一区二区三区的国产在线播放 | 91老司机福利 在线| 欧美色综合网站| 欧美mv日韩mv亚洲| 欧美激情一区在线| 国产精品国模大尺度视频| 亚洲在线观看免费| 久久精品国产一区二区| 粉嫩av一区二区三区粉嫩| 在线看一区二区| 久久在线观看免费| 一区二区三区四区在线免费观看| 日韩av在线播放中文字幕| 国产凹凸在线观看一区二区| 在线免费视频一区二区| 久久精品欧美一区二区三区不卡| 国产精品色在线| 日本视频一区二区三区| 成人av综合在线| 欧美一区二区在线免费播放| 国产精品色婷婷久久58| 午夜精品福利在线| av在线免费不卡| www国产成人免费观看视频 深夜成人网| 国产精品久久久久精k8 | 久久精品国产999大香线蕉| 不卡的av电影在线观看| 日韩美一区二区三区| 亚洲综合视频网| 福利电影一区二区三区| 欧美一级高清大全免费观看| 亚洲欧洲av一区二区三区久久| 久久99热这里只有精品| 欧日韩精品视频| 一区视频在线播放| 精彩视频一区二区| 欧美乱妇15p| 亚洲伦理在线精品| a级高清视频欧美日韩| 久久在线观看免费| 加勒比av一区二区| 欧美久久久久免费| 亚洲一区电影777| 99免费精品视频| 中文字幕+乱码+中文字幕一区| 日韩不卡手机在线v区| 欧美日韩一区二区在线视频| 亚洲欧洲精品一区二区三区| 处破女av一区二区| 久久久久久99久久久精品网站| 美女一区二区三区| 欧美一区二区三区免费| 日韩精品欧美精品| 91精品欧美久久久久久动漫| 日韩高清中文字幕一区| 6080国产精品一区二区| 奇米精品一区二区三区在线观看一 |