AprioriDoc.cpp
资源名称:Apriori.zip [点击查看]
上传用户:zscyanite
上传日期:2022-07-25
资源大小:4947k
文件大小:2k
源码类别:
数值算法/人工智能
开发平台:
Visual C++
- // AprioriDoc.cpp : implementation of the CAprioriDoc class
- //
- #include "stdafx.h"
- #include "Apriori.h"
- #include "AprioriSet.h"
- #include "AprioriDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CAprioriDoc
- IMPLEMENT_DYNCREATE(CAprioriDoc, CDocument)
- BEGIN_MESSAGE_MAP(CAprioriDoc, CDocument)
- //{{AFX_MSG_MAP(CAprioriDoc)
- // 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
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CAprioriDoc construction/destruction
- CAprioriDoc::CAprioriDoc()
- {
- // TODO: add one-time construction code here
- }
- CAprioriDoc::~CAprioriDoc()
- {
- }
- BOOL CAprioriDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CAprioriDoc serialization
- void CAprioriDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CAprioriDoc diagnostics
- #ifdef _DEBUG
- void CAprioriDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CAprioriDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CAprioriDoc commands
English
