public abstract class NonProbabilisticDouble extends DoubleVertex
idGenerator
Constructor and Description |
---|
NonProbabilisticDouble() |
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.
|
abstract java.lang.Double |
getDerivedValue() |
boolean |
isProbabilistic()
A probabilistic vertex is defined as a vertex that is probabilistic.
|
void |
observe(java.lang.Double value)
Observing non-probabilistic values of this type causes the probability
of the graph to flatten to 0 in all places that doesn't exactly match
the observation.
|
java.lang.Double |
updateValue()
This causes a non-probabilistic vertex to recalculate it's value based off it's
current parent values.
|
abs, div, div, divideBy, divideBy, divideBy, getDualNumber, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, pow, pow, times, times, unaryMinus
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, lazyEval, logDensity, logDensityAtValue, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public void observe(java.lang.Double value)
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>
public boolean isProbabilistic()
Vertex
isProbabilistic
in class Vertex<java.lang.Double>
public java.lang.Double updateValue()
Vertex
updateValue
in class Vertex<java.lang.Double>
public abstract java.lang.Double getDerivedValue()