public class IntegerSumVertex extends IntegerUnaryOpVertex
inputVertex
ID_GENERATOR
Constructor and Description |
---|
IntegerSumVertex(IntegerVertex inputVertex)
Performs a sum across each value stored in a vertex
|
Modifier and Type | Method and Description |
---|---|
protected IntegerTensor |
op(IntegerTensor value) |
calculate, sample
abs, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, setAndCascade, setAndCascade, setValue, setValue, slice, sum, take, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, sample, setAndCascade, setLabel, setParents, setParents, setValue, unobserve
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
public IntegerSumVertex(IntegerVertex inputVertex)
inputVertex
- the vertex to have its values summedprotected IntegerTensor op(IntegerTensor value)
op
in class IntegerUnaryOpVertex