Beispiel #1
0
 public bool updateRanking(String path)
 {
     try
     {
         IElasticSvc svc = (IElasticSvc)this.getService(typeof(IElasticSvc).Name);
         return(svc.updateRanking(path));
     }
     catch (ServiceLoadException ex)
     {
         return(false);
     }
 }
Beispiel #2
0
 public int[,] getYIndex(String jobID, String recruiteeID, String[] expressions, UserProfile[] users)
 {
     try
     {
         IElasticSvc svc = (IElasticSvc)this.getService(typeof(IElasticSvc).Name);
         return(svc.getYIndex(jobID, recruiteeID, expressions, users));
     }
     catch (ServiceLoadException ex)
     {
         return(null);
     }
 }
Beispiel #3
0
 public double[,] selectRatings(String[] expressions, UserProfile[] users)
 {
     try
     {
         IElasticSvc svc = (IElasticSvc)this.getService(typeof(IElasticSvc).Name);
         return(svc.selectRatings(expressions, users));
     }
     catch (ServiceLoadException ex)
     {
         return(null);
     }
 }
Beispiel #4
0
 public bool insertRatings(String[] expressions, UserProfile[] users, double[,] Y)
 {
     try
     {
         IElasticSvc svc = (IElasticSvc)this.getService(typeof(IElasticSvc).Name);
         return(svc.insertRatings(expressions, users, Y));
     }
     catch (ServiceLoadException ex)
     {
         return(false);
     }
 }
Beispiel #5
0
 public bool insertRecommenderJob(DataResult avgs)
 {
     try
     {
         IElasticSvc svc = (IElasticSvc)this.getService(typeof(IElasticSvc).Name);
         return(svc.insertRecommenderJob(avgs));
     }
     catch (ServiceLoadException ex)
     {
         return(false);
     }
 }