gov.sandia.cognition.statistics.bayesian
Class RejectionSampling.ScalarEstimator.MinimizerFunction

java.lang.Object
  extended by gov.sandia.cognition.statistics.bayesian.RejectionSampling.ScalarEstimator.MinimizerFunction
All Implemented Interfaces:
Evaluator<Double,Double>
Enclosing class:
RejectionSampling.ScalarEstimator<ObservationType>

public class RejectionSampling.ScalarEstimator.MinimizerFunction
extends Object
implements Evaluator<Double,Double>

Minimization function that measures the difference between the logarithm of the sampler function minus the logarithm of the conjunctive distribution.


Field Summary
protected  ProbabilityFunction<Double> sampler
          Sampler function
 
Constructor Summary
RejectionSampling.ScalarEstimator.MinimizerFunction(ProbabilityFunction<Double> sampler)
          Creates a new instance of MinimizerFunction
 
Method Summary
 Double evaluate(Double parameter)
          Evaluates the function on the given input and returns the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sampler

protected ProbabilityFunction<Double> sampler
Sampler function

Constructor Detail

RejectionSampling.ScalarEstimator.MinimizerFunction

public RejectionSampling.ScalarEstimator.MinimizerFunction(ProbabilityFunction<Double> sampler)
Creates a new instance of MinimizerFunction

Parameters:
sampler - Sampler function
Method Detail

evaluate

public Double evaluate(Double parameter)
Description copied from interface: Evaluator
Evaluates the function on the given input and returns the output.

Specified by:
evaluate in interface Evaluator<Double,Double>
Parameters:
parameter - The input to evaluate.
Returns:
The output produced by evaluating the input.