public Writer(int index, Naiad.Dataflow.Stage <Epoch> stage, Action <S, System.IO.BinaryWriter> action, string format) : base(index, stage) { this.format = format; this.Action = action; }
public Writer(int index, Naiad.Dataflow.Stage<Epoch> stage, Action<S, System.IO.BinaryWriter> action, string format) : base(index, stage) { var filename = String.Format(format, index); if (System.IO.File.Exists(filename)) System.IO.File.Delete(filename); this.writer = new System.IO.BinaryWriter(System.IO.File.OpenWrite(String.Format(format, index))); this.Action = action; }
public ConcatVertex(int index, Naiad.Dataflow.Stage <T> stage) : base(index, stage) { }
// the UnaryVertex base class needs to know the index and stage of the vertex. public CountVertex(int index, Naiad.Dataflow.Stage <Epoch> stage) : base(index, stage) { }