public class IntegerAdditionVertex extends IntegerBinaryOpVertex
a, b
ID_GENERATOR
Constructor and Description |
---|
IntegerAdditionVertex(IntegerVertex a,
IntegerVertex b)
Adds one vertex to another
|
Modifier and Type | Method and Description |
---|---|
protected IntegerTensor |
op(IntegerTensor a,
IntegerTensor b) |
getDerivedValue, sample
dLogPmf, isProbabilistic, logPmf, observe, updateValue
abs, div, div, divideBy, divideBy, divideBy, dLogPmf, dLogPmf, getValue, lambda, lambda, logPmf, logPmf, minus, minus, minus, multiply, multiply, multiply, observe, observe, plus, plus, plus, setAndCascade, setAndCascade, setValue, setValue, sum, times, times, unaryMinus
dLogProb, logProb
addChild, addParent, addParents, dLogProbAtValue, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve
public IntegerAdditionVertex(IntegerVertex a, IntegerVertex b)
a
- a vertex to addb
- a vertex to addprotected IntegerTensor op(IntegerTensor a, IntegerTensor b)
op
in class IntegerBinaryOpVertex