Class OutputData

java.lang.Object
  extended byOutputData
Direct Known Subclasses:
OutputDataBernoulli, OutputDataV2, ViterbiOutputData

public class OutputData
extends java.lang.Object

Represents learn_hmm_independent_deltaexp output file. Have functions to get rainfall probabilities and amounts.

Author:
Lulin Song

Method Summary
 java.lang.String[] getImportantText()
          Get important text.
 double[][] getRainfallAmount()
          Get rainfall amounts for each station and each state.
 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.

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.

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.


isValid

public boolean isValid()
Check validity.

Returns:
true if there are data, otherwise false.