www.pudn.com > cluster_KM_DS.rar > D_Dbscan.cpp


// D_Dbscan.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "cluster.h" 
#include "D_Dbscan.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// D_Dbscan dialog 
 
 
D_Dbscan::D_Dbscan(CWnd* pParent /*=NULL*/) 
	: CDialog(D_Dbscan::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(D_Dbscan) 
	m_Eps = 0; 
	m_MinPts = 0; 
	//}}AFX_DATA_INIT 
} 
 
 
void D_Dbscan::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(D_Dbscan) 
	DDX_Text(pDX, IDC_EDIT1, m_Eps); 
	DDV_MinMaxInt(pDX, m_Eps, 0, 100); 
	DDX_Text(pDX, IDC_EDIT2, m_MinPts); 
	DDV_MinMaxInt(pDX, m_MinPts, 0, 100); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(D_Dbscan, CDialog) 
	//{{AFX_MSG_MAP(D_Dbscan) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// D_Dbscan message handlers