public override void Write(System.IO.StreamWriter writer)
        {
            base.Write(writer);
            UniqueFourBehaviorCount.Write(writer);    //独立用户的统计

            CategoryFeature.Write(writer);
            TransferRateCollection.Write(writer);
        }
        public void WriteHeaders(System.IO.StreamWriter writer)
        {
            BaseFeature.WriteHeaders(writer, "i");

            #region 输出表头,浏览该商品的去重用户的数量

            string[] behaviors = new string[] { "item_unique_user_click_in_{0}_hours", "item_unique_user_store_in_{0}_hours", "item_unique_user_car_in_{0}_hours", "item_unique_user_buy_in_{0}_hours" };
            BaseFeature.WriteHeaders(writer, behaviors);

            #endregion

            CategoryFeature.WriteHeaders(writer);

            TransferRateCollection.WriteHeaders(writer, new string[] { "i_click_tranfer_{0}", "i_store_tranfer_{0}", "i_car_tranfer_{0}" });
        }
Beispiel #3
0
 public void AddCategoryFeature(CategoryFeature categoryFeature)
 {
     this.CategoryFeatureDict.Add(categoryFeature.Id, categoryFeature);
     MaxCategoryFeature.CatchMaxValue(categoryFeature);
     MinCategoryFeature.CatchMinValue(categoryFeature);
 }