public class UniformVertex extends ProbabilisticDouble
idGenerator
Constructor and Description |
---|
UniformVertex(double xMin,
double xMax) |
UniformVertex(double xMin,
double xMax,
java.util.Random random) |
UniformVertex(DoubleVertex xMin,
DoubleVertex xMax) |
UniformVertex(DoubleVertex xMin,
DoubleVertex xMax,
java.util.Random random) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Double> |
dDensityAtValue()
This returns the derivative of the density function with respect to
any dependent vertices.
|
double |
density(java.lang.Double value)
This is the value of the probability density at the supplied value.
|
java.lang.Double |
sample() |
getDualNumber, isProbabilistic, lazyEval, updateValue
abs, div, div, divideBy, divideBy, divideBy, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, pow, times, times, unaryMinus
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, logDensity, logDensityAtValue, observe, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public UniformVertex(DoubleVertex xMin, DoubleVertex xMax, java.util.Random random)
public UniformVertex(DoubleVertex xMin, DoubleVertex xMax)
public UniformVertex(double xMin, double xMax, java.util.Random random)
public UniformVertex(double xMin, double xMax)
public double density(java.lang.Double value)
Vertex
public java.util.Map<java.lang.String,java.lang.Double> dDensityAtValue()
Vertex
dDensityAtValue
in class Vertex<java.lang.Double>