public class ConstantIntegerVertex extends NonProbabilisticInteger
idGenerator
Constructor and Description |
---|
ConstantIntegerVertex(java.lang.Integer constant) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getDerivedValue() |
java.lang.Integer |
lazyEval()
This causes a backwards propagating calculation of the vertex value.
|
java.lang.Integer |
sample() |
dDensityAtValue, density, isProbabilistic, observe, updateValue
abs, div, div, divideBy, divideBy, divideBy, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, times, times, unaryMinus
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, logDensity, logDensityAtValue, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public java.lang.Integer sample()
public java.lang.Integer lazyEval()
Vertex
public java.lang.Integer getDerivedValue()
getDerivedValue
in class NonProbabilisticInteger