sexi.util
Class SimData

java.lang.Object
  |
  +--sexi.util.SimData
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SimData
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.util.ArrayList dataList
           
(package private)  java.util.HashSet specSet
           
 
Constructor Summary
SimData()
           
 
Method Summary
 void addForestData(ForestData f)
           
 java.lang.Object clone()
           
 java.awt.geom.Point2D[] getBasalAreaData(TreeSpec spec)
          return array of population for specified species and field
 float[] getCFDistribution(int index, TreeSpec spec)
           
 float[] getCPDistribution(int index, TreeSpec spec)
           
 java.awt.geom.Point2D[] getDBHGrowth(long id)
          return dbh growth of individual tree for every iteration
 java.awt.geom.Point2D[] getEvolutionData(TreeSpec spec, int field)
          return array of evolution data for specified species and field
 ForestData getForestData(int index)
           
 java.awt.geom.Point2D[] getMortality(TreeSpec spec, float minDBH, float maxDBH)
           
 java.awt.geom.Point2D[] getMortalityRate(TreeSpec spec, float minDBH, float maxDBH)
          return array of population for specified species and field
 java.awt.geom.Point2D[] getPopAboveSizeData(TreeSpec spec, double minDBH)
          return array of evolution data for specified species and minDBH
 java.awt.geom.Point2D[] getPopulationData(TreeSpec spec)
          return array of population for specified species and field
 java.awt.geom.Point2D[] getProductData(TreeSpec spec, float minDBH)
           
 java.awt.geom.Point2D[] getRecGridCountData(TreeSpec spec)
           
 java.awt.geom.Point2D[] getRecruitment(TreeSpec spec, float minDBH, float maxDBH)
           
 java.awt.geom.Point2D[] getRecruitmentRate(TreeSpec spec, float minDBH, float maxDBH)
           
 TreeSpec[] getSpeciesList()
           
 void reset()
           
 int size()
           
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

specSet

java.util.HashSet specSet

dataList

java.util.ArrayList dataList
Constructor Detail

SimData

public SimData()
Method Detail

addForestData

public void addForestData(ForestData f)

getForestData

public ForestData getForestData(int index)

getSpeciesList

public TreeSpec[] getSpeciesList()

getDBHGrowth

public java.awt.geom.Point2D[] getDBHGrowth(long id)
return dbh growth of individual tree for every iteration

getEvolutionData

public java.awt.geom.Point2D[] getEvolutionData(TreeSpec spec,
                                                int field)
return array of evolution data for specified species and field

getPopulationData

public java.awt.geom.Point2D[] getPopulationData(TreeSpec spec)
return array of population for specified species and field

getBasalAreaData

public java.awt.geom.Point2D[] getBasalAreaData(TreeSpec spec)
return array of population for specified species and field

getCPDistribution

public float[] getCPDistribution(int index,
                                 TreeSpec spec)

getCFDistribution

public float[] getCFDistribution(int index,
                                 TreeSpec spec)

size

public int size()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getPopAboveSizeData

public java.awt.geom.Point2D[] getPopAboveSizeData(TreeSpec spec,
                                                   double minDBH)
return array of evolution data for specified species and minDBH

reset

public void reset()

getMortalityRate

public java.awt.geom.Point2D[] getMortalityRate(TreeSpec spec,
                                                float minDBH,
                                                float maxDBH)
return array of population for specified species and field

getMortality

public java.awt.geom.Point2D[] getMortality(TreeSpec spec,
                                            float minDBH,
                                            float maxDBH)

getRecruitmentRate

public java.awt.geom.Point2D[] getRecruitmentRate(TreeSpec spec,
                                                  float minDBH,
                                                  float maxDBH)

getRecruitment

public java.awt.geom.Point2D[] getRecruitment(TreeSpec spec,
                                              float minDBH,
                                              float maxDBH)

getProductData

public java.awt.geom.Point2D[] getProductData(TreeSpec spec,
                                              float minDBH)

getRecGridCountData

public java.awt.geom.Point2D[] getRecGridCountData(TreeSpec spec)