public abstract class IntegerVertex extends Vertex<IntegerTensor> implements io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
ID_GENERATOR
Constructor and Description |
---|
IntegerVertex(ValueUpdater<IntegerTensor> valueUpdater) |
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, sample, sample, setAndCascade, setParents, setParents, setValue, unobserve, updateValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
observableTypeFor
public IntegerVertex(ValueUpdater<IntegerTensor> valueUpdater)
public IntegerVertex minus(IntegerVertex that)
minus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex plus(IntegerVertex that)
plus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex multiply(IntegerVertex that)
public IntegerVertex divideBy(IntegerVertex that)
public IntegerVertex minus(Vertex<IntegerTensor> that)
public IntegerVertex plus(Vertex<IntegerTensor> that)
public IntegerVertex multiply(Vertex<IntegerTensor> that)
public IntegerVertex divideBy(Vertex<IntegerTensor> that)
public IntegerVertex minus(int value)
minus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex plus(int value)
plus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex multiply(int factor)
public IntegerVertex divideBy(int divisor)
public IntegerVertex abs()
public IntegerVertex sum()
public IntegerVertex lambda(int[] shape, java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex lambda(java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex times(IntegerVertex that)
times
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex div(IntegerVertex that)
div
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex times(int that)
times
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex div(int that)
div
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex unaryMinus()
unaryMinus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex take(int... index)
public IntegerVertex slice(int dimension, int index)
public void setValue(int value)
public void setValue(int[] values)
public void setAndCascade(int value)
public void setAndCascade(int[] values)
public void observe(int value)
public void observe(int[] values)
public int getValue(int... index)