예제 #1
0
        /// Implement function DetermineExecutionNewDevelopmentProject below.
        /// With this function you can order whether to execute a new development project.
        /// The function will be called for every simulation year, for every project type that has not yet been executed until then.
        /// The following project types exist:
        ///      NewDevelopmentProjectType.StudentFlat
        ///      NewDevelopmentProjectType.ZeroEmissionHouse
        ///      NewDevelopmentProjectType.Flat
        ///      NewDevelopmentProjectType.TerracedHouse
        ///      NewDevelopmentProjectType.SemiDetachedHouse
        ///
        /// Please check the handouts for detailed information about the projects.
        ///
        /// The following variables can be useful:
        ///     Economy.CurrentYear                            The current year (counted as 1,2,3,4...)
        ///     newDevelopmentProjectType                      The project type of the supplied project. See the handouts for details per project
        ///     HousingAssociation.SolvencyRatio               The current solvency ratio of the housing association, which must remain above 0.2 (=20%)
        ///
        public override bool DetermineExecutionNewDevelopmentProject(NewDevelopmentProjectType newDevelopmentProjectType)
        {
            //if (Economy.CurrentYear == 3 && newDevelopmentProjectType == NewDevelopmentProjectType.Flat)
            //{
            //	return true;
            //}

            return(false);
        }
예제 #2
0
 public abstract bool DetermineExecutionNewDevelopmentProject(NewDevelopmentProjectType newDevelopmentProjectType);