資源簡介
ISODATA及K-means算法原理及其實現

代碼片段和文件信息
//?Cluster.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Cluster.h“
#include?“MainFrm.h“
#include?“ClusterDoc.h“
#include?“ClusterView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CClusterApp
BEGIN_MESSAGE_MAP(CClusterApp?CWinApp)
//{{AFX_MSG_MAP(CClusterApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CClusterApp?construction
CClusterApp::CClusterApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClusterApp?object
CClusterApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CClusterApp?initialization
BOOL?CClusterApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CClusterDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CClusterView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-12-19?20:32??Cluster\
?????文件???????67072??2012-07-30?00:04??Cluster\(ISODATA算法).doc
?????文件???????30680??2012-12-19?16:14??Cluster\Cluster.aps
?????文件????????4115??2012-12-19?19:12??Cluster\Cluster.clw
?????文件????????4227??2012-10-19?11:04??Cluster\Cluster.cpp
?????文件????????5013??2012-10-20?13:52??Cluster\Cluster.dsp
?????文件?????????539??2012-10-19?11:04??Cluster\Cluster.dsw
?????文件????????1367??2012-10-19?11:04??Cluster\Cluster.h
?????文件??????132096??2012-12-19?19:12??Cluster\Cluster.ncb
?????文件???????51712??2012-12-19?19:12??Cluster\Cluster.opt
?????文件????????1148??2012-12-11?11:23??Cluster\Cluster.plg
?????文件???????14143??2012-10-19?17:45??Cluster\Cluster.rc
?????文件????????1762??2012-10-19?11:04??Cluster\ClusterDoc.cpp
?????文件????????1486??2012-10-19?11:04??Cluster\ClusterDoc.h
?????文件???????18818??2012-12-11?11:23??Cluster\ClusterView.cpp
?????文件????????3945??2012-10-19?23:20??Cluster\ClusterView.h
?????文件?????????960??2012-10-19?17:21??Cluster\CMeanDlg.cpp
?????文件????????1212??2012-10-19?11:47??Cluster\CMeanDlg.h
?????目錄???????????0??2012-12-18?17:30??Cluster\Debug\
?????文件?????3941376??2012-10-19?23:22??Cluster\Debug\Cluster.bsc
?????文件??????151626??2012-10-19?23:22??Cluster\Debug\Cluster.exe
?????文件??????438508??2012-10-19?23:22??Cluster\Debug\Cluster.ilk
?????文件???????28488??2012-10-19?23:20??Cluster\Debug\Cluster.obj
?????文件?????6882896??2012-10-19?22:54??Cluster\Debug\Cluster.pch
?????文件??????590848??2012-10-19?23:22??Cluster\Debug\Cluster.pdb
?????文件????????8436??2012-10-19?22:54??Cluster\Debug\Cluster.res
?????文件???????????0??2012-10-19?23:20??Cluster\Debug\Cluster.sbr
?????文件???????14901??2012-10-19?22:54??Cluster\Debug\ClusterDoc.obj
?????文件???????????0??2012-10-19?22:54??Cluster\Debug\ClusterDoc.sbr
?????文件??????130826??2012-10-19?23:22??Cluster\Debug\ClusterView.obj
?????文件???????????0??2012-10-19?23:22??Cluster\Debug\ClusterView.sbr
............此處省略51個文件信息
- 上一篇:9s12xs128中文資料完整版
- 下一篇:經典中國象棋博弈原理——算法
評論
共有 條評論