/// <summary> /// Constructs a new pointstamp from a location and int array /// </summary> /// <param name="location">dataflow graph location</param> /// <param name="indices">timestamp indices</param> internal Pointstamp(int location, int[] indices) { Location = location; Timestamp = new FakeArray(indices.Length); for (int j = 0; j < indices.Length; j++) { Timestamp[j] = indices[j]; } }
internal Pointstamp(int v, int[] i) { Location = v; Timestamp = new FakeArray(i.Length); for (int j = 0; j < i.Length; j++) { Timestamp[j] = i[j]; } }
/// <summary> /// Constructs a Pointstamp copying from another /// </summary> /// <param name="that"></param> internal Pointstamp(Pointstamp that) { this.Location = that.Location; this.Timestamp = that.Timestamp; }