public abstract class UnaryOpVertex<IN,OUT> extends NonProbabilistic<OUT>
Modifier and Type | Field and Description |
---|---|
protected Vertex<IN> |
inputVertex |
idGenerator
Constructor and Description |
---|
UnaryOpVertex(Vertex<IN> inputVertex) |
Modifier and Type | Method and Description |
---|---|
OUT |
getDerivedValue() |
OUT |
lazyEval()
This causes a backwards propagating calculation of the vertex value.
|
protected abstract OUT |
op(IN a) |
OUT |
sample() |
dDensityAtValue, density, isProbabilistic, updateValue
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, logDensity, logDensityAtValue, observe, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public OUT sample()
public OUT lazyEval()
Vertex
public OUT getDerivedValue()
getDerivedValue
in class NonProbabilistic<OUT>