/// <summary> /// Deploys the specified report options. /// </summary> /// <param name="_reportOptions">The report options.</param> /// <param name="_signature">The signature.</param> /// <param name="_averagingMethod">The averaging method.</param> /// <param name="_rootFolder">The root folder.</param> /// <param name="_experimentDescription">The experiment description.</param> /// <param name="logger">The logger.</param> public void Deploy(aceAuthorNotation _signature, classificationMetricComputation _averagingMethod, folderNode _rootFolder, String _experimentDescription, ILogBuilder logger) { // reportOptions = _reportOptions; signature = _signature; averagingMethod = _averagingMethod; description = _experimentDescription; experimentRootFolder = _rootFolder; notes = new ToolkitExperimentNotes(experimentRootFolder, _experimentDescription); notes.log("Starting [" + runName + "]"); notes.log("[" + description + "]:[" + signature + "]"); //ToolkitExperimentNotes.[" + _experimentDescription + "]:[" + signature + "]"); imbSCI.Core.screenOutputControl.logToConsoleControl.setAsOutput(notes, "Note"); }
/// <summary> /// Creates instance of subnotes /// </summary> /// <param name="subfolder">The subfolder.</param> /// <param name="description">The description.</param> /// <returns></returns> public ToolkitExperimentNotes StartSubnotes(String subfolder, String description) { if (!SubNotes.ContainsKey(subfolder)) { lock (SubNoteLock) { if (!SubNotes.ContainsKey(subfolder)) { ToolkitExperimentNotes output = new ToolkitExperimentNotes(folder.Add(subfolder, subfolder, description), description); SubNotes.Add(subfolder, output); imbSCI.Core.screenOutputControl.logToConsoleControl.setAsOutput(output, name + "_" + subfolder); } } } return(SubNotes[subfolder]); }
///// <summary> ///// Notes attached to this fold ///// </summary> ///// <value> ///// The notes. ///// </value> //public { get; protected set; } public ToolkitExperimentNotes StartNote(ToolkitExperimentNotes _notes, String callerName = "") { ToolkitExperimentNotes notes = null; String desc = "Executing fold [" + name + "]"; if (!callerName.isNullOrEmpty()) { desc = desc + "for [" + callerName + "]"; } notes = _notes.StartSubnotes(name, desc); imbSCI.Core.screenOutputControl.logToConsoleControl.removeFromOutput(notes); // notes.logStartPhase("Fold [" + name + "]", desc); return(notes); //return subnotes; }