public abstract class BinaryOpVertex<A,B,C> extends NonProbabilistic<C>
Modifier and Type | Field and Description |
---|---|
protected Vertex<A> |
a |
protected Vertex<B> |
b |
ID_GENERATOR
Constructor and Description |
---|
BinaryOpVertex(Vertex<A> a,
Vertex<B> b) |
Modifier and Type | Method and Description |
---|---|
C |
getDerivedValue() |
protected abstract C |
op(A a,
B b) |
C |
sample(KeanuRandom random) |
dLogProb, isProbabilistic, logProb, updateValue
addChild, addParent, addParents, dLogProbAtValue, equals, exploreSetting, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observe, observeOwnValue, sampleUsingDefaultRandom, setAndCascade, setAndCascade, setParents, setParents, setValue, unobserve
public C sample(KeanuRandom random)
public C getDerivedValue()
getDerivedValue
in class NonProbabilistic<C>