예제 #1
0
 public Graph(T root, StorageConfig config, MolapCellValuesHelper <T, U> cellValueHelper)
 {
     this.Root = new ImpNode(new KeyValuePair <T, T>[] { new KeyValuePair <T, T>(default(T), root) })
     {
         IsRootDim = true
     };
     _cellValueHelper = cellValueHelper;
     _keyHandler      = new MolapKeyHandler <T>(config.MolapConfig);
     this.Root.Key    = _keyHandler.GetKey(this.Root.Coords);
     _allKeyComparer  = new AllKeyComparer <T>();
 }
예제 #2
0
 public Graph(T root, StorageConfig config, MolapCellValuesHelper <T, U> cellValueHelper, int predicateKey) : this(root, config, cellValueHelper)
 {
     _predicateKey = predicateKey;
 }