/// <summary> /// Constructor for PINQStreamingAgentPartition /// </summary> /// <param name="t">Target PINQAgent</param> /// <param name="tbl">Table of (key,epsilon) pairs</param> /// <param name="k">Key associated with this agent</param> /// <param name="m">Stores a shared maximum between all peers</param> public PINQStreamingAgentPartition(PINQStreamingAgent t, Dictionary <K, double> tbl, K k, double[] m) { target = t; table = tbl; key = k; maximum = m; }
public StreamingQueryable(StreamingDataSource <T> data, PINQStreamingAgent agent) { this.data = data; this.agent = agent; this.activeAlgorithms = new List <StreamingAlgorithm <T> >(); data.EventReceived += eventReceived; toRemove = new List <StreamingAlgorithm <T> >(); }