Beispiel #1
0
 public CCMatrix(Options options, IRedisClient redisClient)
 {
     this.options = options;
     this.redisClient = redisClient;
     Matrix = new SparseMatrix(
             new Options
             {
                 Key = string.Format("{0}:{1}", options.Key, "ccmatrix"),
                 MaxNeighbours = options.MaxNeighbours,
                 RedisPrefix = options.RedisPrefix,
                 Weight = options.Weight
             }, redisClient);
 }
 public JaccardInputMatrix(Options options, IRedisClient redisClient)
     : base(options)
 {
     this.redisClient = redisClient;
     ccmatrix = new CCMatrix(options, redisClient);
 }