public class CastDoubleVertex extends NonProbabilisticDouble
idGenerator
Constructor and Description |
---|
CastDoubleVertex(Vertex<java.lang.Double> inputVertex) |
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 CastDoubleVertex(Vertex<java.lang.Double> inputVertex)
public java.lang.Double sample()
public java.lang.Double lazyEval()
Vertex
public java.lang.Double getDerivedValue()
getDerivedValue
in class NonProbabilisticDouble
public DualNumber getDualNumber()
getDualNumber
in class DoubleVertex