public class IntegerMaxVertex extends IntegerBinaryOpVertex
a, b
Constructor and Description |
---|
IntegerMaxVertex(IntegerVertex left,
IntegerVertex right)
Finds the maximum between two vertices
|
Modifier and Type | Method and Description |
---|---|
protected IntegerTensor |
op(IntegerTensor l,
IntegerTensor r) |
calculate, sample
abs, concat, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, max, min, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, setAndCascade, setAndCascade, setValue, setValue, slice, sum, take, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getIndentation, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, removeLabel, sample, setAndCascade, setLabel, setParents, setParents, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
public IntegerMaxVertex(IntegerVertex left, IntegerVertex right)
left
- one of the vertices to find the maximum ofright
- one of the vertices to find the maximum ofprotected IntegerTensor op(IntegerTensor l, IntegerTensor r)
op
in class IntegerBinaryOpVertex