/// <summary> /// Sets a new weight for all output connections. /// </summary> public void newOutputWeightBasic(double newWeight) { for (int i = 0; i < localOutputList.Count; ++i) { newLink auxLink = localOutputList[i]; auxLink.weight = newWeight; localOutputList[i] = auxLink; } // Returns the new values back to UImanager uiManager.GetNewOutputConnectionList(moduleId, localOutputList); // We record this action: uiManager.WriteToRecord("New weights for " + moduleId + " now: " + newWeight.ToString()); }