-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuery.h
More file actions
39 lines (32 loc) · 907 Bytes
/
Query.h
File metadata and controls
39 lines (32 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Query.h: interface for the CQuery class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_QUERY_H__F0DAE5F5_AF77_44CB_9BEE_3CEF3C06D2E6__INCLUDED_)
#define AFX_QUERY_H__F0DAE5F5_AF77_44CB_9BEE_3CEF3C06D2E6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SVD.h"
#include <afxtempl.h>
struct ItemList{
long nItem;
double fSim;
ItemList(){}
ItemList(long Num, float simVal){nItem = Num; fSim = simVal;}
};
class CQuery : virtual public CSVD
{
public:
void DoScaleofTerms();
ItemList* SimTermList;
ItemList* SimDocList;
mwArray Query_hh;
BOOL ProcessQuery(char* QueryValue, BOOL bSearchType);
CQuery();
virtual ~CQuery();
private:
BOOL FoldInQuery();
protected:
mwArray mwScaleofTerms;
};
#endif // !defined(AFX_QUERY_H__F0DAE5F5_AF77_44CB_9BEE_3CEF3C06D2E6__INCLUDED_)