unbbayes.prs.hybridbn
Class CNNormalDistribution.NormalDistributionFunction
java.lang.Object
unbbayes.prs.hybridbn.CNNormalDistribution.NormalDistributionFunction
- Enclosing class:
- CNNormalDistribution
protected class CNNormalDistribution.NormalDistributionFunction
- extends Object
Follows SumOf(k[i] * CPND[i]) + N(mean, variance), for all continuous node (i).
CPND is the continuous parent node distribution.
- Author:
- Rommel Carvalho (rommel.carvalho@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constantList
protected double[] constantList
normalDistribution
protected NormalDistribution normalDistribution
CNNormalDistribution.NormalDistributionFunction
public CNNormalDistribution.NormalDistributionFunction()
setMean
public void setMean(double mean)
- Set the normal distribution mean.
- Parameters:
mean - The normal distribution mean.
getMean
public double getMean()
setVariance
public void setVariance(double variance)
- Set the normal distribution variance.
- Parameters:
variance - The normal distribution variance.
getVariance
public double getVariance()
setConstantAt
public void setConstantAt(int index,
double value)
- Set the given constant for the given value.
- Parameters:
index - The constant index.value - The new constant value.
getConstantAt
public double getConstantAt(int index)
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.