public class ConstantGenericVertex<T> extends Vertex<T> implements NonProbabilistic<T>
Constructor and Description |
---|
ConstantGenericVertex(T value) |
Modifier and Type | Method and Description |
---|---|
T |
calculate() |
T |
sample(KeanuRandom random) |
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getIndentation, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, labeledAs, lazyEval, observe, observeOwnValue, sample, setAndCascade, setLabel, setParents, setParents, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
public ConstantGenericVertex(T value)
public T sample(KeanuRandom random)
public T calculate()
calculate
in interface NonProbabilistic<T>