gov.sandia.cognition.statistics.bayesian.conjugate
Class ExponentialBayesianEstimator.Parameter

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.util.AbstractNamed
          extended by gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter<Double,ExponentialDistribution,GammaDistribution>
              extended by gov.sandia.cognition.statistics.bayesian.conjugate.ExponentialBayesianEstimator.Parameter
All Implemented Interfaces:
BayesianParameter<Double,ExponentialDistribution,GammaDistribution>, DistributionParameter<Double,ExponentialDistribution>, CloneableSerializable, Named, NamedValue<Double>, Serializable, Cloneable
Enclosing class:
ExponentialBayesianEstimator

public static class ExponentialBayesianEstimator.Parameter
extends AbstractBayesianParameter<Double,ExponentialDistribution,GammaDistribution>

Bayesian parameter describing this conjugate relationship.

See Also:
Serialized Form

Field Summary
static String NAME
          Default name of the parameter, "rate".
 
Fields inherited from class gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter
conditionalDistribution
 
Fields inherited from class gov.sandia.cognition.util.AbstractNamed
name
 
Constructor Summary
ExponentialBayesianEstimator.Parameter(ExponentialDistribution conditional, GammaDistribution prior)
          Creates a new instance of Parameter
 
Method Summary
 Double getValue()
          Gets the value stored in the name-value pair.
 void setValue(Double value)
          Sets the value of the parameter.
 
Methods inherited from class gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter
clone, getConditionalDistribution, getParameterPrior, setConditionalDistribution, setParameterPrior, updateConditionalDistribution
 
Methods inherited from class gov.sandia.cognition.util.AbstractNamed
getName, setName, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.util.Named
getName
 

Field Detail

NAME

public static final String NAME
Default name of the parameter, "rate".

See Also:
Constant Field Values
Constructor Detail

ExponentialBayesianEstimator.Parameter

public ExponentialBayesianEstimator.Parameter(ExponentialDistribution conditional,
                                              GammaDistribution prior)
Creates a new instance of Parameter

Parameters:
prior - Default conjugate prior.
conditional - Conditional distribution of the conjugate prior.
Method Detail

setValue

public void setValue(Double value)
Description copied from interface: DistributionParameter
Sets the value of the parameter.

Parameters:
value - Parameter to set.

getValue

public Double getValue()
Description copied from interface: NamedValue
Gets the value stored in the name-value pair.

Returns:
The value.