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) |
sample
abs, div, div, divideBy, divideBy, divideBy, getValue, lambda, lambda, minus, minus, minus, multiply, multiply, multiply, observe, observe, plus, plus, plus, setAndCascade, setAndCascade, setValue, setValue, slice, sum, take, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve, updateValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
observableTypeFor
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