public class CATCompartmentManager extends java.lang.Object implements MonteCarloSimulationCompliantObject
| Modifier and Type | Field and Description |
|---|---|
protected lerfob.carbonbalancetool.CATSingleSimulationResult |
summary |
| Constructor and Description |
|---|
CATCompartmentManager(CATSettings settings)
Constructor for this class
|
| Modifier and Type | Method and Description |
|---|---|
CATSettings |
getCarbonToolSettings() |
java.util.Map<CATCompartment.CompartmentInfo,CATCompartment> |
getCompartments() |
protected int |
getDateIndexForThisTree(CATCompatibleTree tree) |
HierarchicalLevel |
getHierarchicalLevel()
This method returns the hierarchical levels of the object.
|
CATCompatibleStand |
getLastStand()
This method returns the last stand from the list of stands.
|
int |
getMonteCarloRealizationId()
This method returns the id of the Monte Carlo realization.
|
int |
getRotationLength()
This method returns the rotation length in year.
|
protected lerfob.carbonbalancetool.CATSingleSimulationResult |
getSimulationSummary()
This method returns a summary of simulation.
|
protected java.util.List<java.lang.String> |
getSpeciesList() |
protected java.util.List<CATCompatibleStand> |
getStandList() |
java.lang.String |
getSubjectId()
This method returns an object that makes it possible to identify
the subject that implements this interface.
|
CATTimeTable |
getTimeTable()
This method returns the TimeScale instance the simulation has been run with.
|
protected java.util.Map<CATCompatibleStand,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Collection<CATCompatibleTree>>>> |
getTrees(TreeStatusProvider.StatusClass statusClass) |
void |
init(java.util.List<CATCompatibleStand> stands) |
protected boolean |
isEvenAged() |
protected void |
registerTree(TreeStatusProvider.StatusClass statusClass,
CATCompatibleStand stand,
CATCompatibleTree tree) |
protected void |
registerTreeSpecies(CATCompatibleTree tree) |
void |
resetCompartmentsAndSetCarbonUnitCollections() |
protected void |
resetManager() |
protected void |
setRealization(int realizationID) |
protected void |
setSimulationValid(boolean isSimulationValid) |
protected void |
storeResults() |
public CATCompartmentManager(CATSettings settings)
settings - a CATSettings instanceprotected void registerTree(TreeStatusProvider.StatusClass statusClass, CATCompatibleStand stand, CATCompatibleTree tree)
protected int getDateIndexForThisTree(CATCompatibleTree tree)
protected java.util.Map<CATCompatibleStand,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Collection<CATCompatibleTree>>>> getTrees(TreeStatusProvider.StatusClass statusClass)
protected java.util.List<java.lang.String> getSpeciesList()
protected void registerTreeSpecies(CATCompatibleTree tree)
protected void setSimulationValid(boolean isSimulationValid)
public void init(java.util.List<CATCompatibleStand> stands)
protected void resetManager()
public CATTimeTable getTimeTable()
public CATSettings getCarbonToolSettings()
public void resetCompartmentsAndSetCarbonUnitCollections()
public java.util.Map<CATCompartment.CompartmentInfo,CATCompartment> getCompartments()
public CATCompatibleStand getLastStand()
protected java.util.List<CATCompatibleStand> getStandList()
public int getRotationLength()
protected lerfob.carbonbalancetool.CATSingleSimulationResult getSimulationSummary()
protected void storeResults()
protected boolean isEvenAged()
protected void setRealization(int realizationID)
public int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObjectgetMonteCarloRealizationId in interface MonteCarloSimulationCompliantObjectpublic java.lang.String getSubjectId()
MonteCarloSimulationCompliantObjectgetSubjectId in interface MonteCarloSimulationCompliantObjectpublic HierarchicalLevel getHierarchicalLevel()
MonteCarloSimulationCompliantObjectgetHierarchicalLevel in interface MonteCarloSimulationCompliantObject