public abstract class UnaryOpVertex<IN,OUT> extends NonProbabilistic<OUT>
Modifier and Type | Field and Description |
---|---|
protected Vertex<IN> |
inputVertex |
ID_GENERATOR
Constructor and Description |
---|
UnaryOpVertex(Vertex<IN> inputVertex) |
Modifier and Type | Method and Description |
---|---|
OUT |
getDerivedValue() |
protected abstract OUT |
op(IN a) |
OUT |
sample(KeanuRandom random) |
dLogProb, isProbabilistic, logProb, updateValue
addChild, addParent, addParents, dLogProbAtValue, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observe, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve
public OUT sample(KeanuRandom random)
public OUT getDerivedValue()
getDerivedValue
in class NonProbabilistic<OUT>