public class OrBinaryVertex extends BoolBinaryOpVertex<BooleanTensor,BooleanTensor>
a, b
ID_GENERATOR
Constructor and Description |
---|
OrBinaryVertex(Vertex<BooleanTensor> a,
Vertex<BooleanTensor> b) |
Modifier and Type | Method and Description |
---|---|
protected BooleanTensor |
op(BooleanTensor a,
BooleanTensor b)
Returns true if a or b are true
|
getDerivedValue, sample
dLogPmf, isProbabilistic, logPmf, updateValue
and, dLogPmf, dLogPmf, getValue, logPmf, logPmf, not, observe, observe, or, pluck, setAndCascade, setAndCascade, setValue, setValue, slice
dLogProb, logProb
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 OrBinaryVertex(Vertex<BooleanTensor> a, Vertex<BooleanTensor> b)
protected BooleanTensor op(BooleanTensor a, BooleanTensor b)
op
in class BoolBinaryOpVertex<BooleanTensor,BooleanTensor>