Class OutputDataV2

java.lang.Object
  extended byOutputData
      extended byOutputDataV2

public class OutputDataV2
extends OutputData

Represents mvnhmm version 2.0 output file for action type learn. Have functions to get rainfall probabilities and amounts.

Author:
Lulin Song

Method Summary
 java.lang.String[] getImportantText()
          Get important text.
 double[][] getLongFormRainfallAmount()
          Get rainfall amounts for each station and each state.
 double[][] getLongFormStationStatesProbabilites()
          Get rainfall probabilites information.
 double[][] getRainfallAmount()
          Get rainfall amounts for each station and each state.
 double[][] getShortFormRainfallAmount()
          Get rainfall amounts for each station and each state.
 double[][] getShortFormRainfallAmountForDeltaExponential()
          Get rainfall amounts for each station and each state for delta-exponential option.
 double[][] getShortFormRainfallAmountForDeltaGamma()
          Get rainfall amounts for each station and each state for delta-gamma option.
 double[][] getShortFormStationStatesProbabilites()
          Get rainfall probabilites information.
 double[][] getStationStatesProbabilites()
          Get rainfall probabilites information.
 boolean isValid()
          Check validity.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStationStatesProbabilites

public double[][] getStationStatesProbabilites()
Get rainfall probabilites information.

Overrides:
getStationStatesProbabilites in class OutputData
Returns:
two dimension array that each row represents one station's probabilities for different states.

getLongFormStationStatesProbabilites

public double[][] getLongFormStationStatesProbabilites()
Get rainfall probabilites information.

Returns:
two dimension array that each row represents one station's probabilities for different states.

getShortFormStationStatesProbabilites

public double[][] getShortFormStationStatesProbabilites()
Get rainfall probabilites information.

Returns:
two dimension array that each row represents one station's probabilities for different states.

getRainfallAmount

public double[][] getRainfallAmount()
Get rainfall amounts for each station and each state.

Overrides:
getRainfallAmount in class OutputData
Returns:
two dimension double array that each row represents one station's rainfall amount for different states.

getLongFormRainfallAmount

public double[][] getLongFormRainfallAmount()
Get rainfall amounts for each station and each state.

Returns:
two dimension double array that each row represents one station's rainfall amount for different states.

getShortFormRainfallAmount

public double[][] getShortFormRainfallAmount()
Get rainfall amounts for each station and each state.

Returns:
two dimension double array that each row represents one station's rainfall amount for different states.

getShortFormRainfallAmountForDeltaExponential

public double[][] getShortFormRainfallAmountForDeltaExponential()
Get rainfall amounts for each station and each state for delta-exponential option.

Returns:
two dimension double array that each row represents one station's rainfall amount for different states.

getShortFormRainfallAmountForDeltaGamma

public double[][] getShortFormRainfallAmountForDeltaGamma()
Get rainfall amounts for each station and each state for delta-gamma option.

Returns:
two dimension double array that each row represents one station's rainfall amount for different states.

getImportantText

public java.lang.String[] getImportantText()
Get important text.

Overrides:
getImportantText in class OutputData

isValid

public boolean isValid()
Check validity.

Overrides:
isValid in class OutputData
Returns:
true if there are data, otherwise false.