//---------------------------------------------------------------------

        public IScenario GetComplete()
        {
            if (IsComplete)
            {
                return(new Scenario(duration.Actual,
                                    species.Actual,
                                    ecoregions.Actual,
                                    ecoregionsMap.Actual,
                                    cellLength == null ? (float?)null
                                                                       : cellLength.Actual,
                                    initCommunities.Actual,
                                    communitiesMap.Actual,
                                    succession.GetComplete(),
                                    disturbances.GetComplete(),
                                    disturbRandom == null ? false
                                                                          : disturbRandom.Actual,
                                    outputs.GetComplete(),
                                    seed == null ? (uint?)null
                                                                 : seed.Actual));
            }
            else
            {
                return(null);
            }
        }
Esempio n. 2
0
        //---------------------------------------------------------------------

        public Scenario GetComplete()
        {
            if (IsComplete)
            {
                return(new Scenario(startTime.Actual,
                                    endTime.Actual,
                                    species.Actual,
                                    ecoregions.Actual,
                                    ecoregionsMap.Actual,
                                    cellLength == null ? (float?)null
                                                       : cellLength.Actual,
                                    blockSize == null ? (int?)null
                                                      : blockSize.Actual,
                                    initCommunities.Actual,
                                    communitiesMap.Actual,
                                    succession.GetComplete(),
                                    disturbances.GetComplete(),
                                    disturbRandom == null ? false
                                                          : disturbRandom.Actual,
                                    otherPlugIns.GetComplete(),
                                    seed == null ? (uint?)null
                                                 : seed.Actual));
            }
            else
            {
                return(null);
            }
        }
Esempio n. 3
0
        //---------------------------------------------------------------------

        public IScenario GetComplete()
        {
            if (IsComplete)
            {
                return(new Scenario(duration.Actual,
                                    species.Actual,
                                    ecoregions.Actual,
                                    ecoregionsMap.Actual,
                                    initCommunities.Actual,
                                    communitiesMap.Actual,
                                    succession.GetComplete(),
                                    disturbances.GetComplete(),
                                    disturbRandom == null ? false
                                                                          : disturbRandom.Actual,
                                    outputs.GetComplete()));
            }
            else
            {
                return(null);
            }
        }