Package adams.data.distribution
Class Triangular
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class Triangular extends AbstractRealDistribution
Triangular 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 doublem_Athe a parameter.protected doublem_Bthe b parameter.protected doublem_Cthe c 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 Triangular()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaTipText()Returns the tip text for this property.StringbTipText()Returns the tip text for this property.StringcTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.doublegetA()Returns the a.doublegetB()Returns the b.doublegetC()Returns the c parameter.org.apache.commons.math3.distribution.RealDistributiongetRealDistribution()Returns the configured distribution.StringglobalInfo()Returns a string describing the object.voidsetA(double value)Sets the a.voidsetB(double value)Sets the b.voidsetC(double value)Sets the c parameter.-
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
-
setA
public void setA(double value)
Sets the a.- Parameters:
value- the a
-
getA
public double getA()
Returns the a.- Returns:
- the a
-
aTipText
public String aTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setC
public void setC(double value)
Sets the c parameter.- Parameters:
value- the c
-
getC
public double getC()
Returns the c parameter.- Returns:
- the c
-
cTipText
public String cTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setB
public void setB(double value)
Sets the b.- Parameters:
value- the b
-
getB
public double getB()
Returns the b.- Returns:
- the b
-
bTipText
public String bTipText()
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
-
-