public class ConstantVertex<T> extends NonProbabilistic<T> implements Constant<T>
idGenerator
Constructor and Description |
---|
ConstantVertex(T value) |
Modifier and Type | Method and Description |
---|---|
T |
getDerivedValue() |
T |
lazyEval()
This causes a backwards propagating calculation of the vertex value.
|
T |
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 ConstantVertex(T value)
public T sample()
public T lazyEval()
Vertex
public T getDerivedValue()
getDerivedValue
in class NonProbabilistic<T>