/// <summary> /// Create a read-only rabies model datasource from a passed cells datasource, /// a passed wintertype list and a single animal. /// </summary> /// <param name="Rnd">The random number generator used by the generated background</param> /// <param name="TheCells">The cells datasource.</param> /// <param name="TheWinters">The list of winter types.</param> public cRaccoonModelDataSource(cUniformRandom Rnd, cCellsDataSource TheCells, cWinterTypeList TheWinters) : base(Rnd, TheCells, TheWinters) { }
/// <summary> /// Initialize the background specifying numbers of years and their winter /// types in a winter type list. /// </summary> /// <param name="Rnd">The random number generator to be used by the background</param> /// <param name="Name"> /// The name to assign to this background. An ArgumentException is raised if /// Name is zero length. /// </param> /// <param name="KeepAllAnimals"> /// A flag indicating whether a record of all animals should be kept during /// a run. /// </param> /// <param name="WTList"> /// The list of winter types. An ArgumentException exception is raised if /// WTList is empty. /// </param> public cFoxBackground(cUniformRandom Rnd, string Name, bool KeepAllAnimals, cWinterTypeList WTList) : base(Rnd, Name, KeepAllAnimals, WTList) { InitValues(); }
/// <summary> /// Construct a new background object of the approriate type /// </summary> /// <param name="Rnd">The random number generator for the background</param> /// <param name="BackgroundName">The name of the background</param> /// <param name="KeepAllAnimals">A boolean value that indicates whether or not the background should retain a list of all animals</param> /// <param name="Winters">A list of winter types</param> /// <returns>A new background object ofthe approriate type</returns> protected override cBackground GetNewBackground(cUniformRandom Rnd, string BackgroundName, bool KeepAllAnimals, cWinterTypeList Winters) { return(new cRaccoonBackground(Rnd, BackgroundName, KeepAllAnimals, Winters)); }
/// <summary> /// Create a read-only rabies model datasource from a passed cells datasource, /// a passed wintertype list and a single animal. /// </summary> /// <param name="Rnd">The random number generator used by the generated background</param> /// <param name="TheCells">The cells datasource.</param> /// <param name="TheWinters">The list of winter types.</param> /// <param name="MaleMarkers"> /// The markers for the seed male animal /// </param> /// <param name="FemaleMarkers"> /// The markers for the seed female animal /// </param> public cFoxModelDataSource(cUniformRandom Rnd, cCellsDataSource TheCells, cWinterTypeList TheWinters, string MaleMarkers, string FemaleMarkers) : base(Rnd, TheCells, TheWinters, MaleMarkers, FemaleMarkers) { }