Package adams.data.distribution
Class Beta
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
public class Beta extends AbstractRealDistribution
Beta distribution.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
BetaDistribution
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
m_Alpha
the alpha parameter.protected double
m_Beta
the beta parameter.protected double
m_InverseCumAccuracy
the inverse cumulative accuracy.-
Fields inherited from class adams.data.distribution.AbstractRealDistribution
m_Distribution
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Beta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alphaTipText()
Returns the tip text for this property.String
betaTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.double
getAlpha()
Returns the alpha.double
getBeta()
Returns the beta.double
getInverseCumAccuracy()
Returns the inverse cumulative accuracy.org.apache.commons.math3.distribution.RealDistribution
getRealDistribution()
Returns the configured distribution.String
globalInfo()
Returns a string describing the object.String
inverseCumAccuracyTipText()
Returns the tip text for this property.void
setAlpha(double value)
Sets the alpha.void
setBeta(double value)
Sets the beta.void
setInverseCumAccuracy(double value)
Sets the inverse cumulative accuracy.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
setAlpha
public void setAlpha(double value)
Sets the alpha.- Parameters:
value
- the alpha
-
getAlpha
public double getAlpha()
Returns the alpha.- Returns:
- the alpha
-
alphaTipText
public String alphaTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setBeta
public void setBeta(double value)
Sets the beta.- Parameters:
value
- the beta
-
getBeta
public double getBeta()
Returns the beta.- Returns:
- the beta
-
betaTipText
public String betaTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setInverseCumAccuracy
public void setInverseCumAccuracy(double value)
Sets the inverse cumulative accuracy.- Parameters:
value
- the accuracy
-
getInverseCumAccuracy
public double getInverseCumAccuracy()
Returns the inverse cumulative accuracy.- Returns:
- the accuracy
-
inverseCumAccuracyTipText
public String inverseCumAccuracyTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getRealDistribution
public org.apache.commons.math3.distribution.RealDistribution getRealDistribution()
Returns the configured distribution.- Specified by:
getRealDistribution
in classAbstractRealDistribution
- Returns:
- the distribution
-
-