/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="RunDefinitions">The list of run definitions</param>
 /// <param name="NThreads">The number of run threads to be run at once</param>
 /// <param name="RunPerson">The name of the person doing the runs</param>
 /// <param name="AppReport">The application report object to send messages to</param>
 /// <param name="IsUnix">A boolean value indicating that Unix file paths are used</param>
 /// <param name="NoOutputExceptions">
 ///         A boolean value indicating that output errors should be reported to the console rather than as exceptions
 /// </param>
 public cBatchRunner(cBatchRun RunDefinitions, int NThreads, cAppReport AppReport, bool IsUnix, bool NoOutputExceptions)
 {
     mvarRunDefinitions       = RunDefinitions;
     mvarNThreads             = NThreads;
     mvarIsUnix               = IsUnix;
     mvarAppReport            = AppReport;
     mvarNoOutputExceptions   = NoOutputExceptions;
     this.NTrials             = null;
     this.AbortOnRabiesDieOut = null;
     this.RunLength           = null;
     this.UseRandomSeed       = null;
     this.NThreads            = 2;
     this.TabDelimitedOutput  = true;
     this.FirstTrialNumber    = 1;
     this.NoAnimalDatabases   = false;
     this.ConfirmDatasources  = true;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="RunDefinitions">The list of run definitions</param>
 /// <param name="NThreads">The number of run threads to be run at once</param>
 /// <param name="RunPerson">The name of the person doing the runs</param>
 /// <param name="AppReport">The application report object to send messages to</param>
 /// <param name="IsUnix">A boolean value indicating that Unix file paths are used</param>
 public cBatchRunner(cBatchRun RunDefinitions, int NThreads, cAppReport AppReport, bool IsUnix)
     : this(RunDefinitions, NThreads, AppReport, IsUnix, false)
 {
 }
 /// <summary>
 /// Constructor (set the file name)
 /// </summary>
 /// <param name="FileName">The name of the output file</param>
 /// <param name="TabDelimited">A boolean value that indiates whether or not the file is tab-delimited</param>
 public cFileOutput(string FileName, bool TabDelimited, bool NoOutputExceptions, cAppReport AppReport)
 {
     mvarFileName            = FileName;
     this.TabDelimited       = TabDelimited;
     this.NoOutputExceptions = NoOutputExceptions;
     this.AppReport          = AppReport;
     OpenFile(false);
 }
Beispiel #4
0
        // *************************************** Constructors *********************************************

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="Cells">The list of cells to output</param>
        /// <param name="FileName">The name of the file to output</param>
        public cCellPopulationOutput(cCellList Cells, string FileName, bool TabDelimited, bool NoOutputExceptions, cAppReport AppReport)
            : base(FileName, TabDelimited, NoOutputExceptions, AppReport)
        {
            mvarCells         = Cells;
            mvarOutputStrings = new Dictionary <string, StringBuilder>();
            WriteHeader();
        }
 // *************************************** Constructors *********************************************
    
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="FileName">The filename for the report</param>
 public cRabiesReportOutput(string FileName, bool TabDelimited, bool NoOutputExceptions, cAppReport AppReport)
     : base(FileName, TabDelimited, NoOutputExceptions, AppReport)
        {
            }
        // *************************************** Constructors *********************************************

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="FileName">The name of the output file</param>
        public cBasicInfoOutput(string FileName, bool TabDelimited, bool NoOutputExceptions, cAppReport AppReport)
            : base(FileName, TabDelimited, NoOutputExceptions, AppReport)
        {
        }