public class ConstantDoubleVertex extends NonProbabilisticDouble implements Constant<java.lang.Double>
idGenerator
Constructor and Description |
---|
ConstantDoubleVertex(java.lang.Double constant) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getDerivedValue() |
DualNumber |
getDualNumber() |
java.lang.Double |
lazyEval()
This causes a backwards propagating calculation of the vertex value.
|
java.lang.Double |
sample() |
dDensityAtValue, density, isProbabilistic, observe, updateValue
abs, div, div, divideBy, divideBy, divideBy, 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, logDensity, logDensityAtValue, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public DualNumber getDualNumber()
getDualNumber
in class DoubleVertex
public java.lang.Double sample()
public java.lang.Double lazyEval()
Vertex
public java.lang.Double getDerivedValue()
getDerivedValue
in class NonProbabilisticDouble