public class ConstantGenericVertex<T> extends NonProbabilistic<T>
ID_GENERATOR
Constructor and Description |
---|
ConstantGenericVertex(T value) |
Modifier and Type | Method and Description |
---|---|
T |
getDerivedValue() |
T |
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 ConstantGenericVertex(T value)
public T sample(KeanuRandom random)
public T getDerivedValue()
getDerivedValue
in class NonProbabilistic<T>