Ejemplo n.º 1
0
 public CountMinSketchAggState(CountMinSketchState state, CountMinSketchAgent agent)
 {
     _state     = state;
     _agent     = agent;
     _add       = new CountMinSketchAgentContextAdd(state);
     _estimate  = new CountMinSketchAgentContextEstimate(state);
     _fromBytes = new CountMinSketchAgentContextFromBytes(state);
 }
Ejemplo n.º 2
0
 public CountMinSketchAggState(
     CountMinSketchState state,
     CountMinSketchAgent agent)
 {
     this.state = state;
     this.agent = agent;
     add = new CountMinSketchAgentContextAdd(state);
     estimate = new CountMinSketchAgentContextEstimate(state);
     fromBytes = new CountMinSketchAgentContextFromBytes(state);
 }
Ejemplo n.º 3
0
 public Object FromBytes(CountMinSketchAgentContextFromBytes ctx)
 {
     return(ctx.Bytes);
 }
Ejemplo n.º 4
0
 public object FromBytes(CountMinSketchAgentContextFromBytes ctx)
 {
     return ctx.Bytes;
 }