awsmodel
Interface AWSStand

All Known Implementing Classes:
AWSStandImpl

public interface AWSStand

The AlbrechtWindStormModelStand interface defines the stand-level methods necessary to Albrecht et al.'s wind storm model. IMPORTANT: All methods should return -1 in case of null value.

Author:
M. Fortin and A. Albrecht - August 2010

Nested Class Summary
static class AWSStand.StandVariable
          This Enum variable defines all the stand-level variables required by this model.
 
Method Summary
 java.util.Collection<AWSTree> getAlbrechtWindStormModelTrees()
          This methods makes the trees of the stand accessible.
 java.lang.Object getAWSStandVariable(AWSStand.StandVariable standVariable)
           
 double[] getProbabilities()
          This method serves to retrieve the probabilities associated to this stand.
 java.lang.String getStandAndMonteCarloID()
          An id that is different for each Monte Carlo iteration if the stochastic mode is enabled
 void registerProbabilities(double[] probabilities)
          This method is optional.
 

Method Detail

getAWSStandVariable

java.lang.Object getAWSStandVariable(AWSStand.StandVariable standVariable)

getStandAndMonteCarloID

java.lang.String getStandAndMonteCarloID()
An id that is different for each Monte Carlo iteration if the stochastic mode is enabled

Returns:
a String id

getAlbrechtWindStormModelTrees

java.util.Collection<AWSTree> getAlbrechtWindStormModelTrees()
This methods makes the trees of the stand accessible.

Returns:
a Collection of AlbrechtWindStormModelTree objects.

registerProbabilities

void registerProbabilities(double[] probabilities)
This method is optional. It serves to save the stand-level probabilities.

Parameters:
probabilities - the three stand-level probabilities

getProbabilities

double[] getProbabilities()
This method serves to retrieve the probabilities associated to this stand. It is optional.

Returns:
the array of the probabilities