资 源 简 介
本程序是数据立方体计算中多路数据聚集算法的实现。在MultyWay文件夹下有data.txt和result.txt两个文本文件,data.txt中记录的是用于构造数据立方体的数据,其数据格式如下
location quarter item measure
假定location有5个值,分别用1至5来表示,quarter有4个值(第1、2、3、4季度),分别用1至4表示,item有10种,分别用1至10来表示。measure则为度量。目前的程序对此格式要求十分严格,各项之间用Tab键隔开,各项数据的长度一定,具体见data.txt。用户使用时可自己重写构造立方体的数据。Result.txt是对数据立方体进行多路聚集后得到的数据。
-This procedure is the calculation of data cube multi-channel data aggregation algorithm. MultyWay folder in data.txt and Result.txt under two text files, data.txt recorded data cube is used to structure the data, its data formats are as follows location quarter item measure assumes that location there are five values, respectively 1-5 to show that, quarter have four values (the first quarter 1,2,3,4), 1-4, respectively, said, item 10 species were used to express 1-10. measure for measure. At present, the procedure is very strict on this format, the Tab key to separate between the various data on the length of a certain specific see data.txt. Users can construct th