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