sexi.comp
Class Forest
java.lang.Object
|
+--sexi.comp.ForestBasic
|
+--sexi.comp.Forest
- All Implemented Interfaces:
- ForestBasicStand, ForestStand, java.io.Serializable
- public class Forest
- extends ForestBasic
- implements ForestStand, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class sexi.comp.ForestBasic |
cropTrees, getArea, getCrownBottomMap, getCrownCenterMap, getCrownTopPosition, getCurrentID, getLightParameters, getNeighbourMap, getNeighbourMap, getTreeContains, getTreeContains, getTreeContains, getTreeCrownsContains, getTreeList, getTrees, getTreeSet, getTreesOnRadius, getTreesOutsideArea, resetNeighboursLink, setLightParameters, setNeighbourLink, setNeighboursLink, setTrees, size |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
treeSpecMap
TreeSpecMap treeSpecMap
forestAge
int forestAge
simData
SimData simData
growthParam
GrowthParameters growthParam
fertMap
FertilityMap fertMap
envDataMap
java.util.HashMap envDataMap
Forest
public Forest()
Forest
public Forest(TreeBasic[] t)
Forest
public Forest(DimensionArea areaSize)
addTree
public void addTree(TreeBasic t)
- Overrides:
addTree
in class ForestBasic
getFertilityMap
public FertilityMap getFertilityMap()
addTrees
public void addTrees(TreeBasic[] tArr)
- Specified by:
addTrees
in interface ForestStand
- Overrides:
addTrees
in class ForestBasic
getGroundCover
public double getGroundCover(double gridX,
double gridY)
- return rasio of ground cover by trees crown
<<< to recheck! >>>
getForestData
public ForestData getForestData()
growthTrees
public void growthTrees()
- Main loop for growth
- Specified by:
growthTrees
in interface ForestStand
processDataRetreive
public void processDataRetreive()
- Specified by:
processDataRetreive
in interface ForestStand
getLightMap
public LightMap getLightMap()
- Specified by:
getLightMap
in interface ForestStand
getTreeSpecList
public TreeSpec[] getTreeSpecList()
- Specified by:
getTreeSpecList
in interface ForestStand
containsSpecies
public boolean containsSpecies(TreeSpec ts)
setTreeSpecList
public void setTreeSpecList(TreeSpec[] ts)
getForestAge
public int getForestAge()
- Specified by:
getForestAge
in interface ForestStand
removeTree
public void removeTree(TreeBasic t)
- Specified by:
removeTree
in interface ForestStand
- Overrides:
removeTree
in class ForestBasic
removeAllTrees
public boolean removeAllTrees(TreeBasic[] tArr)
- Overrides:
removeAllTrees
in class ForestBasic
clear
public void clear()
- Overrides:
clear
in class ForestBasic
reset
public void reset()
setGrowthParameters
public void setGrowthParameters(GrowthParameters p)
getGrowthParameters
public GrowthParameters getGrowthParameters()
- return cloned GrowthParameters
- Specified by:
getGrowthParameters
in interface ForestStand
getSimulationData
public SimData getSimulationData()
- return cloned SimData
setArea
public void setArea(DimensionArea a)
- Description copied from class:
ForestBasic
- Set the area of forest
- Overrides:
setArea
in class ForestBasic
putRecGridCount
public void putRecGridCount(TreeSpec spec,
int n)
- Specified by:
putRecGridCount
in interface ForestStand
getTreeNeighboursReferences
public int getTreeNeighboursReferences()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object