Package adams.data.distribution
Class LogNormal
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class LogNormal extends AbstractRealDistribution
LogNormal distribution.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
LogNormalDistribution, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected doublem_InverseCumAccuracythe inverse cumulative accuracy.protected doublem_Scalethe scale parameter.protected doublem_Shapethe shape parameter.-
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 LogNormal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.doublegetInverseCumAccuracy()Returns the inverse cumulative accuracy.org.apache.commons.math3.distribution.RealDistributiongetRealDistribution()Returns the configured distribution.doublegetScale()Returns the scale.doublegetShape()Returns the shape.StringglobalInfo()Returns a string describing the object.StringinverseCumAccuracyTipText()Returns the tip text for this property.StringscaleTipText()Returns the tip text for this property.voidsetInverseCumAccuracy(double value)Sets the inverse cumulative accuracy.voidsetScale(double value)Sets the scale.voidsetShape(double value)Sets the shape.StringshapeTipText()Returns the tip text for this property.-
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:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setShape
public void setShape(double value)
Sets the shape.- Parameters:
value- the shape
-
getShape
public double getShape()
Returns the shape.- Returns:
- the shape
-
shapeTipText
public String shapeTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setScale
public void setScale(double value)
Sets the scale.- Parameters:
value- the scale
-
getScale
public double getScale()
Returns the scale.- Returns:
- the scale
-
scaleTipText
public String scaleTipText()
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:
getRealDistributionin classAbstractRealDistribution- Returns:
- the distribution
-
-