========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Apriori
========================================================================
AppWizard has created this Apriori application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Apriori application.
Apriori.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Apriori.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CAprioriApp application class.
Apriori.cpp
This is the main application source file that contains the application
class CAprioriApp.
Apriori.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Apriori.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Apriori.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Apriori.rc.
res\Apriori.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in Apriori.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
AprioriDoc.h, AprioriDoc.cpp - the document
These files contain your CAprioriDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CAprioriDoc::Serialize).
AprioriView.h, AprioriView.cpp - the view of the document
These files contain your CAprioriView class.
CAprioriView objects are used to view CAprioriDoc objects.
//For an ODBC database app:
AprioriSet.h, AprioriSet.cpp - the recordset
These files define and implement the recordset class CAprioriSet,
which performs database query and collection.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Apriori.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
大型购物篮程序 大型超市“购物蓝”问题
共45个文件
h:8个
cpp:7个
obj:7个
4星 · 超过85%的资源 需积分: 21 90 下载量 183 浏览量
2009-08-19
09:02:55
上传
评论 15
收藏 2.03MB RAR 举报
温馨提示
大型超市“购物蓝”问题 作为超市的经理,经常关心的问题是顾客的购物习惯。他们想知道:“什么商品组合或集合,顾客多半会在一次购物时同时购买?”。现在假设你是超市的市场分析员,已经掌握了该超市近一个星期的所有顾客购买物品的清单和相应商品的价格,需要你给超市经理一个合理的“购物蓝”分析报告,并提供一个促销计划的初步方案。 具体的说,需要完成如下任务: 1、附件1中的表格数据显示了该超市在一个星期内的1024个顾客对999种商品的购买记录,表格中每一行代表一个顾客的购买记录,数字代表了其购买商品的超市内部编号。试建立一种数学模型,该模型能定量表达超市中多种商品间的关联关系的密切程度。 2、根据你在问题1中建立的模型,寻找一种快速有效的方法能从附件1中的购买记录中分析出那些商品是最频繁被同时购买的。超市经理希望得到尽可能多的商品被频繁同时购买的信息,所以你找到的最频繁被同时购买的商品数量越多越好。 例如:如果商品1、商品2、商品3在1024个购物记录中同时出现了200次,则可以认为这三个商品同时频繁出现了200次,商品数量是3。 3、附件2给出了这999种商品对应的利润,试根据前面建立的模型,给出一种初步的促销方案,使超市的效益进一步增大。 4、给超市经理写一个报告,分析超市的现状并对将来超市购物蓝信息的收集策略提出建议。
资源推荐
资源详情
资源评论
收起资源包目录
Apriori源代码求频繁项集.rar (45个子文件)
Apriori源代码求频繁项集
Apriori(求频繁项集)
AprioriView.h 3KB
StdAfx.cpp 209B
resource.h 960B
Apriori.dsw 539B
Apriori.cpp 4KB
SetPara.h 1KB
AprioriDoc.h 2KB
AprioriSet.h 1KB
AprioriView.cpp 12KB
SetPara.cpp 1KB
Apriori.dsp 5KB
AprioriSet.cpp 1KB
MainFrm.h 2KB
Apriori.rc 13KB
Apriori.clw 3KB
Apriori.ncb 177KB
Debug
Apriori.pdb 529KB
Apriori.pch 5.52MB
vc60.pdb 356KB
Apriori.exe 136KB
Apriori.ilk 396KB
AprioriView.obj 70KB
vc60.idb 225KB
SetPara.obj 22KB
AprioriDoc.obj 28KB
AprioriSet.obj 24KB
Apriori.res 8KB
MainFrm.obj 30KB
StdAfx.obj 105KB
Apriori.obj 33KB
ReadMe.txt 4KB
StdAfx.h 1KB
MainFrm.cpp 2KB
Apriori.plg 770B
Apriori.opt 58KB
使用说明.doc 19KB
res
Apriori.ico 1KB
AprioriDoc.ico 1KB
Apriori.rc2 399B
Thumbs.db 7KB
Toolbar.bmp 1KB
AprioriDoc.cpp 2KB
Apriori.h 1KB
transaction.mdb 196KB
Apriori.aps 31KB
共 45 条
- 1
ZHANGMULIAN
- 粉丝: 3
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页