Ejemplo n.º 1
0
 public void R4(Predict_DAO_MCol dao, RecommdationSchedule schedule, double paramR4, Dictionary<string, double> UCA, List<QTY_GAP> lst)
 {
     List<Recommendation_Meta_Item> list = GetRecommendationR4(dao, paramR4, UCA);
     Normaliser(list);
     AddGAPtoListRecommends(lst, list);
     dao.InsertList(list, schedule);
 }
Ejemplo n.º 2
0
 public void R4(Predict_DAO_MCol dao, RecommdationSchedule schedule)
 {
     List<Recommendation_Meta_Item> recommendationR4 = this.GetRecommendationR4(dao, 2.0);
     this.Normaliser(recommendationR4);
     dao.InsertList(recommendationR4, schedule);
 }
Ejemplo n.º 3
0
 public void R3(Predict_DAO_MCol dao, RecommdationSchedule schedule, int nbR3, Dictionary<string, double> UCA, List<QTY_GAP> lst)
 {
     List<Recommendation_Meta_Item> list = GetRecommendationR3(dao, nbR3);
     list = GetQuantityTraditionalUsersR3(dao, list, UCA);
     dao.RemoveDuplicateR3R1();
     Normaliser(list);
     AddGAPtoListRecommends(lst, list);
     dao.InsertList(list, schedule);
 }
Ejemplo n.º 4
0
 public void R3(Predict_DAO_MCol dao, RecommdationSchedule schedule)
 {
     List<Recommendation_Meta_Item> recommendationR3 = this.GetRecommendationR3(dao);
     List<Recommendation_Meta_Item> traditionalUsersR3 = this.GetQuantityTraditionalUsersR3(dao, recommendationR3);
     this.Normaliser(traditionalUsersR3);
     dao.InsertList(traditionalUsersR3, schedule);
 }
Ejemplo n.º 5
0
 public void R1(Predict_DAO_MCol dao, RecommdationSchedule schedule)
 {
     List<Recommendation_Meta_Item> traditionalUsers1 = this.getListRecommendation_R1_TraditionalUsers(dao);
     List<Recommendation_Meta_Item> traditionalUsers2 = this.GetQuantityTraditionalUsers(dao, traditionalUsers1);
     this.Normaliser(traditionalUsers2);
     dao.InsertList(traditionalUsers2, schedule);
 }
Ejemplo n.º 6
0
 public void R1(Predict_DAO_MCol dao, RecommdationSchedule schedule, int nbR1, Dictionary<string, double> UCA, List<QTY_GAP> list)
 {
     //Get recommendations for traditional users
     List<Recommendation_Meta_Item> lrc_ForUserTra = getListRecommendation_R1_TraditionalUsers(dao, nbR1);
     lrc_ForUserTra = GetQuantityTraditionalUsers(dao, lrc_ForUserTra, UCA);
     Normaliser(lrc_ForUserTra);
     AddGAPtoListRecommends(list, lrc_ForUserTra);
     dao.InsertList(lrc_ForUserTra, schedule);
 }