SORTIE Java Interface
1
|
Manages analysis behaviors and data. More...
Public Member Functions | |
AnalysisBehaviors (GUIManager oManager) throws ModelException | |
Constructor. More... | |
Public Member Functions inherited from sortie.data.funcgroups.BehaviorTypeBase | |
BehaviorTypeBase (GUIManager oManager, String sName) | |
Constructor. More... | |
boolean | anyBehaviorsEnabled () |
Determines if any of the child behaviors are currently enabled. More... | |
void | validateData (TreePopulation oPop) throws ModelException |
Implements data checking. More... | |
Behavior | createBehaviorFromParameterFileTag (String sParameterFileTag) throws ModelException |
Creates a new behavior from an XML parameter file name tag and inserts it into the child behaviors list. More... | |
void | sortBehaviors () |
Sorts the behaviors by list position. More... | |
boolean | canBehaviorBeDuplicated (String sParameterFileTag) throws ModelException |
Whether or not a behavior of a certain class can be duplicated in a run. More... | |
boolean | doesBehaviorNeedTrees (String sParameterFileTag) throws ModelException |
Whether or not a behavior of a certain class can be duplicated in a run. More... | |
ArrayList< BehaviorInstantiator > | getAllPossibleBehaviors () |
Gets all possible behaviors. More... | |
Behavior | getBehaviorByXMLParametersParentTag (String sXMLTag, int iPos) |
Finds a behavior by its XML parameters parent tag. More... | |
String | getDescriptor (String sParameterFileTag) |
Gets the descriptor for a behavior based on its parameter file tag. More... | |
Grid [] | getEnabledGridObjects () throws ModelException |
Gets the list of grid objects which the currently enabled behaviors would be expected to create - and thus would be available to output, etc. More... | |
ArrayList< Behavior > | getAllInstantiatedBehaviors () |
Get the list of child behaviors currently selected for the run. More... | |
void | writeBehaviorNodes (BufferedWriter out, TreePopulation oPop) throws ModelException |
Writes behavior tags to the parameter file. More... | |
ArrayList< Behavior > | getBehaviorByDisplayName (String sDescriptor) |
Convenience method for getting an instantiated behavior. More... | |
ArrayList< Behavior > | getBehaviorByParameterFileTag (String sParameterFileTag) |
Finds an instantiated behavior by its XML parameter file tag. More... | |
void | changeOfSpecies (int iOldNumSpecies, int[] p_iIndexer, String[] p_sNewSpecies) throws ModelException |
Triggered when there is a change in the species list. More... | |
void | copySpecies (int iSpeciesCopyFrom, int iSpeciesCopyTo) throws ModelException |
Copies one species to another. More... | |
void | endOfParameterFileRead () |
Allows child behaviors to do end-of-parameter-file tasks. More... | |
void | changeOfSpeciesName (String sOldSpecies, String sNewSpecies) throws ModelException |
Performs any necessary tasks associated with changing the name of a species. More... | |
GUIManager | getGUIManager () |
void | writeXML (BufferedWriter jOut, TreePopulation oPop) throws ModelException |
Writes the XML data to a parameter file for the behaviors owned by this object. More... | |
void | removeBehavior (Behavior oBeh) |
Removes a behavior from the instantiated list. More... | |
String | getName () |
Returns the user-acceptable name for this object. More... | |
void | changeOfPlotResolution (float fOldX, float fOldY, float fNewX, float fNewY) throws ModelException |
Allows instantiated behaviors to perform any tasks associated with a change of plot resolution. More... | |
void | doSetup (TreePopulation oPop) throws ModelException |
Does any needed setup once the tree population object has data. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from sortie.data.funcgroups.BehaviorTypeBase | |
static boolean [] | mergeBooleans (boolean[] p_oMergeOne, boolean[] p_oMergeTwo) |
Merges two boolean arrays and returns an array where there is a true in each array bucket where EITHER array is true. More... | |
Protected Attributes inherited from sortie.data.funcgroups.BehaviorTypeBase | |
ArrayList< Behavior > | mp_oInstantiatedBehaviors |
List of child behaviors currently selected for the run. More... | |
ArrayList< BehaviorInstantiator > | mp_oAvailableBehaviors |
List of possible behaviors that can be created. More... | |
GUIManager | m_oManager |
GUIManager object. More... | |
String | m_sName |
User-consumable name for this object. More... | |
Manages analysis behaviors and data.
Analysis behaviors are those whose only purpose is to calculate something for output; they don't change model state.
Copyright: Copyright (c) Charles D. Canham 2011 Company: Cary Institute of Ecosystem Studies
Edit history:
---------------—
December 8, 2011: Wiped the slate clean for version 7 (LEM)
sortie.data.funcgroups.AnalysisBehaviors.AnalysisBehaviors | ( | GUIManager | oManager | ) | throws ModelException |
Constructor.
oManager | GUIManager object. |
ModelException | passed through from called functions. |