Hmm.h ( File view )

Description:...
  • By duandian 2013-10-03
  • View(s):442
  • Download(s):14
  • Point(s): 4
			// Hmm.h: interface for the CHmm class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HMM_H__4D16D802_B6C9_4F4E_BCD1_962A048D3044__INCLUDED_)
#define AFX_HMM_H__4D16D802_B6C9_4F4E_BCD1_962A048D3044__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CHmm  
{

public:
	CHmm();
	virtual ~CHmm();

	void SetHmmParam(int iDimA, int iDimB, double **pA, double **pB, double *pPI);
	double Forward(int *pInput, int iInputLen, double **pRltMatrix);
	double Backward(int *pInput, int iInputLen, double **pRltMatrix);
	double Viterbi(int *pInput, int iInputLen, int *pBestPath, double **pRltMatrix, int **plamda);

private:
	int m_iDimA;
	int m_iDimB;

	double **m_pA;
	double **m_pB;
	double *m_pPI;

	int *m_pInput;
	int m_iInputLen;

	double **m_pRltMatrix;
	int **m_plamda;

	double forward_recursion(int iIndex, int j);
	double backward_recursion(int iIndex, int j);
	double viterbi_recursion(int iIndex, int j);

};

#endif // !defined(AFX_HMM_H__4D16D802_B6C9_4F4E_BCD1_962A048D3044__INCLUDED_)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 4

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
Hmm.cpp4.95 kB21-10-06 21:35
Hmm.h1.08 kB21-10-06 21:24
hmm_1.aps19.91 kB11-09-07 11:30
hmm_1.clw928.00 B21-09-07 15:59
hmm_1.cpp2.00 kB20-10-06 09:22
hmm_1.dsp4.16 kB21-10-06 21:36
hmm_1.dsw516.00 B20-10-06 09:22
hmm_1.h1.28 kB20-10-06 09:22
hmm_1.ncb57.00 kB21-09-07 16:02
hmm_1.opt52.50 kB21-09-07 16:02
hmm_1.plg697.00 B20-08-07 09:53
hmm_1.rc4.64 kB21-10-06 21:40
hmm_1Dlg.cpp6.37 kB29-07-07 15:18
hmm_1Dlg.h1.54 kB21-10-06 21:08
ReadMe.txt3.48 kB20-10-06 09:22
hmm_1.ico1.05 kB20-10-06 09:22
hmm_1.rc2397.00 B20-10-06 09:22
Thumbs.db3.00 kB11-09-07 12:11
resource.h775.00 B21-10-06 21:09
StdAfx.cpp207.00 B20-10-06 09:22
StdAfx.h1.03 kB20-10-06 09:22
<Debug>0.00 B08-11-07 10:03
<res>0.00 B11-09-07 12:11
<hmm源码-c>0.00 B21-09-07 16:02
...
Sponsored links

Hmm.h (27.65 kB)

Need 4 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D