edu.udo.cs.yale.operator.learner
Class NormalDistribution
java.lang.Object
edu.udo.cs.yale.operator.learner.NormalDistribution
- All Implemented Interfaces:
- Distribution
public class NormalDistribution
- extends java.lang.Object
- implements Distribution
Normaldistribution is a distribution, calculating the probaility for a
given value from an gaussian normal distribution.
- Version:
- $Id$
- Author:
- Sebastian Land
|
Method Summary |
double |
getProbability(double x)
This method returns the density of the given distribution at the specified value |
java.lang.String |
toString()
Should return an textual representation of the distribution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mean
private double mean
variance
private double variance
scaleFactor
private double scaleFactor
NormalDistribution
public NormalDistribution(double mean,
double variance)
getProbability
public double getProbability(double x)
- Description copied from interface:
Distribution
- This method returns the density of the given distribution at the specified value
- Specified by:
getProbability in interface Distribution
- Parameters:
x - the value which density shall be returned
toString
public java.lang.String toString()
- Description copied from interface:
Distribution
- Should return an textual representation of the distribution.
- Specified by:
toString in interface Distribution- Overrides:
toString in class java.lang.Object
Copyright © 2001-2006