Class OutputDataBernoulli

java.lang.Object
  extended by OutputData
      extended by OutputDataBernoulli

public class OutputDataBernoulli
extends OutputData

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

Author:
Lulin Song

Method Summary
 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 OutputData
getImportantText, getRainfallAmountDeltaExponential, getRainfallAmountDeltaGamma, isChowLiu, saveRainfallAmountData, saveRainfallProbData
 
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.

getRainfallAmount

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

Overrides:
getRainfallAmount in class OutputData
Returns:
null because it doesn't have that data.

isValid

public boolean isValid()
Check validity.

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