public override void AssignRegister(Shire.Register Memory) { foreach (FNode n in this._Cache) n.AssignRegister(Memory); }
public override void AssignRegister(Shire.Register Memory) { base.AssignRegister(Memory); this._Map.AssignRegister(Memory); }
public override void Extend(Shire.RecordWriter Output, DataSet Data, FNodeSet Inputs, FNodeSet OtherKeepValues, Predicate Where) { // Combine the keep variables and the expected nodes // FNodeSet nodes = FNodeSet.Union(OtherKeepValues.CloneOfMe(), this.Responses.Expected); // Open the reader // RecordReader rr = Data.OpenReader(Where); // Create a memory structure // StaticRegister mem = new StaticRegister(Data.Columns); // Assign both the input set and output set to the memory structure // nodes.AssignRegister(mem); Inputs.AssignRegister(mem); // Run through each record // while (rr.EndOfData == false) { // Assign memory // mem.Assign(rr.ReadNext()); // Get the array of doubles for the network // double[] d = Record.ToDouble(Inputs.Evaluate()); // Render each node // this._Nodes.Render(d); // Output // Record t = nodes.Evaluate(); Output.Insert(t); } }
public void AssignRegister(Shire.Register Memory) { _Node.AssignRegister(Memory); }
public void AssignRegister(Shire.Register Memory) { foreach (Aggregate agg in this._cache) agg.AssignRegister(Memory); }