public abstract class BoolBinaryOpVertex<A,B> extends NonProbabilisticBool
Modifier and Type | Field and Description |
---|---|
protected Vertex<A> |
a |
protected Vertex<B> |
b |
FALSE, TRUE
idGenerator
Constructor and Description |
---|
BoolBinaryOpVertex(Vertex<A> a,
Vertex<B> b) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getDerivedValue() |
java.lang.Boolean |
lazyEval()
This causes a backwards propagating calculation of the vertex value.
|
protected abstract java.lang.Boolean |
op(A a,
B b) |
java.lang.Boolean |
sample() |
dDensityAtValue, density, isProbabilistic, updateValue
and, If, or
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, logDensity, logDensityAtValue, observe, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public java.lang.Boolean sample()
public java.lang.Boolean lazyEval()
Vertex
public java.lang.Boolean getDerivedValue()
getDerivedValue
in class NonProbabilisticBool