实验描述:分布式数据库的算法partition的具体实现。即通过该算法找到关系数据库最优分裂点,使得结果最优。 算法思想: 1、 首先根据所输入的attribute usage matrix得到AQ( ) 2、 对CA矩阵中划分点预先设在n-1处,并将属性列分成两个集合,TA和BA,TA中的元为:{ A1 、A2 …… An-1 },BA中的元素为:{ An} 3、 确定集合TQ、BQ和OQ,其中TQ={ qj| AQ(qi) TA},BQ= TQ={ qj| AQ(qi) BA}, OQ=Q-{TQ BQ}。 4、 计算出CTQ、CBQ、COQ这些值,其中CTQ= ,CBQ= ,COQ= 5、 通过划分点的第次移动分别计算出z=CTQ*CBQ-COQ2 6、 对取到的z的最大值处标记,为分割点 7、 对CA进行调整,重复计算得到最终z的最大值点,对CA矩阵进行划分 8、 对上述算法进行修改,将得到的最大z值的分割点和次大的分割点都记录下来,得到两个分割,则将原有的属性集划分成三部分。 该算法的目的是找到独立存取的属性集合或者分别的应用集。比如说,如果可以找到两个属性A1,A2,他们只是被q1读取,而A3,A4被q2,q3读取,这样在分裂的时候可以确定。算法就是找到这些组。另外为了简单化起见,我命令refj(qi)全部等于1.
上传时间: 2015-06-04
上传用户:13160677563
实验描述:分布式数据库的算法partition的具体实现。即通过该算法找到关系数据库最优分裂点(2个),使得结果最优。 1、 首先根据所输入的attribute usage matrix得到AQ( ) 2、 对CA矩阵中划分点预先设在n-1处,并将属性列分成3个集合,TA和BA和MA, 3、 确定集合TQ、BQ,MQ和OQ,其中TQ={ qj| AQ(qi) TA},BQ= TQ={ qj| AQ(qi) BA}, MQ={ qj| AQ(qi) MA},OQ=Q-{TQ BQ}。 4、 计算出CTQ、CBQ、CMQ、COQ这些值,其中CTQ= ,CBQ= ,CMQ= ,COQ= 5、 通过划分点的第次移动分别计算出z=CTQ*CBQ*CMQ-COQ3 6、 对取到的z的最大值处标记,为分割点 7、 对CA进行调整,重复计算得到最终z的最大值点,对CA矩阵进行划分 对上述算法进行修改,将得到的最大z值的分割点和次大的分割点都记录下来,得到两个分割,则将原有的属性集划分成三部分。
上传时间: 2015-06-04
上传用户:515414293
W2kPrintDrvSample Feature ======= * Support two page directions, portrait and landscape * Support just one page size, A4 * Support two resolutions, 200 x 200 and 100 x 100 dpi * Support two color mode, color(24bpp) and monochrom * Support halftoning in monochromatic mode * Support color identifying(7 colors) * Support type identifying(3 types) ... usage ===== * 在monochromatic mode下,可以通过设置黑色的输出类型来控制输出 * 在color mode下,可以通过设置各个颜色的输出类型来控制输出,7种 颜色以外的颜色都作为黑色来识别 * 在输出多页文件时,可以分别指定每页的输出文件名,也可以使用自动 添加页号的功能 ... Known Problems ============== Developer Notes =============== * 在windows ddk 命令行环境下编译 参考步骤: 1. 将W2kPrintDrv解压至DDK安装目录 2. 执行“开始”菜单->Developement Kits->Windows 2000 DDK->Checked Build Enviroment 3. 在命令行环境输入 > cd W2kPrintDrv > build Author ====== terrificskyfox <terrificskyfox@yahoo.com.cn>
标签: W2kPrintDrvSample directions landscape portrait
上传时间: 2015-06-11
上传用户:GHF
A C++ N-grams Package 2.0 This is a simple C++ n-grams package that includes a header, the corresponding cpp file, and a sample driver program. It is a natural language processing tool for creating n-gram profiles for text documents. The details on usage is documented in the header right above each public function defined. This package is based on Dr. Vlado Keselj s Perl package Text::Ngrams which is available in CPAN.
标签: includes correspo N-grams Package
上传时间: 2015-06-12
上传用户:wfl_yy
Person-to-person realtime IP communications, like presence, VoIP and video applications, offer clear benefits for the enterprise as time- and money-savers. Unified functionality is now available, where all of the above are integrated into one streamlined application and interconnect with other networks. This creates a very important business tool and usage is increasing.
标签: Person-to-person communications applications realtime
上传时间: 2015-06-28
上传用户:维子哥哥
DTMF检测程序。定点计算,可移植到DSP上。 usage: dtmf filename
上传时间: 2015-07-02
上传用户:huql11633
This program is using Genetic Algorithm to solve the Travlling Salesman Problem. It gives the best path route within a specified time. usage: java Evolver <seconds> <city file> <config file> Author: Liu Yang
标签: Algorithm Travlling the Salesman
上传时间: 2013-12-06
上传用户:nanfeicui
人工智能中模糊逻辑算法 FuzzyLib 2.0 is a comprehensive C++ Fuzzy Logic library for constructing fuzzy logic systems with multi-controller support. It supports all commonly used shape functions and hedges, with full support for the various types of Aggregation, Correlation, Alphacut, Composition, Defuzzification methods. The latest version of the C++ Fuzzy Logic Class Library contains all the C++ source code and comes complete with a usage example for building a multi-controllers fuzzy logic model.
标签: comprehensive constructing FuzzyLib library
上传时间: 2013-12-17
上传用户:dbs012280
蓝牙协议(GAVDP)This profile defines the requirements for Bluetooth™ devices necessary to set up streaming channels used for support of audio/video distribution. The requirements are expressed in terms of services provided to applications, and by defining the features and procedures that are required for interoperability between Bluetooth devices in the Audio/Video Distribution usage model.
标签: requirements Bluetooth necessary profile
上传时间: 2014-01-04
上传用户:bcjtao
蓝牙协议This specification describes the Audio/Video Control Transport Protocol (AVCTP), which is used to transport command and response messages for controlling Audio Video features in conformant devices. This protocol enables a device to support more than one control profile at the same time each supported profile shall define its own message formatting and/or usage rules.
标签: specification describes Transport Protocol
上传时间: 2015-08-11
上传用户:大融融rr