gov.sandia.cognition.statistics.bayesian.conjugate
Class UnivariateGaussianMeanBayesianEstimator.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,UnivariateGaussian,UnivariateGaussian>
              extended by gov.sandia.cognition.statistics.bayesian.conjugate.UnivariateGaussianMeanBayesianEstimator.Parameter
All Implemented Interfaces:
BayesianParameter<Double,UnivariateGaussian,UnivariateGaussian>, DistributionParameter<Double,UnivariateGaussian>, CloneableSerializable, Named, NamedValue<Double>, Serializable, Cloneable
Enclosing class:
UnivariateGaussianMeanBayesianEstimator

public static class UnivariateGaussianMeanBayesianEstimator.Parameter
extends AbstractBayesianParameter<Double,UnivariateGaussian,UnivariateGaussian>

Parameter of this conjugate prior relationship.

See Also:
Serialized Form

Field Summary
static String NAME
          Name of the parameter, "mean".
 
Fields inherited from class gov.sandia.cognition.statistics.bayesian.AbstractBayesianParameter
conditionalDistribution
 
Fields inherited from class gov.sandia.cognition.util.AbstractNamed
name
 
Constructor Summary
UnivariateGaussianMeanBayesianEstimator.Parameter(UnivariateGaussian conditional, UnivariateGaussian prior)
          Creates a new instance
 
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
Name of the parameter, "mean".

See Also:
Constant Field Values
Constructor Detail

UnivariateGaussianMeanBayesianEstimator.Parameter

public UnivariateGaussianMeanBayesianEstimator.Parameter(UnivariateGaussian conditional,
                                                         UnivariateGaussian prior)
Creates a new instance

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.