예제 #1
0
 public void attach(SpeciesAttrs s)
 {
     for (int i = 0; i < maxLU; i++)
     {
         landUnits[i] = new Landunit();
         landUnits[i].attach(s);
     }
 }
예제 #2
0
 public Landunit()
 {
     name             = null;
     minShade         = 0;
     probReproduction = null;
     probReproductionOriginalBackup = null;
     speciesAttrs = null;
     ltID         = 0;
 }
예제 #3
0
 public static void Attach(SpeciesAttrs s)
 {
     speciesAttrs = s;
 }
예제 #4
0
        //public void set_probReproductionOriginalBackup(int index, float value)
        //{
        //    probReproductionOriginalBackup[index] = value;
        //}

        //public float get_probReproduction(int index)
        //{
        //    return Establishment_probability_Attributes.get_probability(speciesAttrs[index + 1].name, name, PlugIn.ModelCore.TimeSinceStart);
        //    //return probReproduction[index];
        //}

        public void attach(SpeciesAttrs s)
        {
            speciesAttrs = s;
        }