public class PoissonVertex extends ProbabilisticInteger
idGenerator
Constructor and Description |
---|
PoissonVertex(double mu,
java.util.Random random) |
PoissonVertex(Vertex<java.lang.Double> mu,
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.Integer value)
This is the value of the probability density at the supplied value.
|
java.lang.Integer |
sample() |
isProbabilistic, lazyEval, updateValue
abs, div, div, divideBy, divideBy, divideBy, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, 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 PoissonVertex(Vertex<java.lang.Double> mu, java.util.Random random)
public PoissonVertex(double mu, java.util.Random random)
public double density(java.lang.Integer value)
Vertex
public java.util.Map<java.lang.String,java.lang.Double> dDensityAtValue()
Vertex
dDensityAtValue
in class Vertex<java.lang.Integer>